Skip to content

Commit b3d40c1

Browse files
add instructions on how to run from binaries
1 parent d639c35 commit b3d40c1

1 file changed

Lines changed: 32 additions & 5 deletions

File tree

readme-dev.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
### Quick start
1+
### Quick start from sources
22

3+
#### Download or install codex binary
4+
5+
Last checked version: `codex-cli 0.64.0-alpha.9`)
6+
7+
#### Adjust acp config for IDE
8+
9+
Run from sources
310
1. Install dependencies `npm install`
4-
2. Download or install codex binary
5-
3. Adjust acp config for IDE
11+
2. Adjust acp config for IDE
612
```json
713
{
814
"agent_servers": {
@@ -13,19 +19,40 @@
1319
"run",
1420
"start",
1521
"--prefix",
16-
"/home/alex/work/codexacp/codex-acp/"
22+
"/path/to/project/"
1723
],
1824
"env": {
19-
"CODEX_PATH": "/home/alex/.codex/jetbrains/codex-latest"
25+
"CODEX_PATH": "/path/to/codex"
2026
}
2127
}
2228
}
2329
}
30+
```
2431

32+
Run from binaries
33+
1. Download acp-server binary from https://github.com/JetBrains/codex-acp/tags
34+
2. Adjust acp config for IDE
35+
```json
36+
{
37+
"agent_servers": {
38+
"Codex (app-server)": {
39+
"command": "/path/to/acp-server",
40+
"env": {
41+
"CODEX_PATH": "/path/to/codex"
42+
}
43+
}
44+
}
45+
}
2546
```
2647

48+
Optionally, set a path to log directory via env variable `APP_SERVER_LOGS`.
49+
2750
### Build binaries
2851

2952
Build single executables in `dest/bin` directory:
3053

3154
`npm run bundle:all`
55+
56+
### Generate codex-specific types
57+
58+
Generate files in `src/app-server/`: `npm run generate-types`

0 commit comments

Comments
 (0)