acp-extension-codex 0.0.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/codex-acp.js +8 -7
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -38,11 +38,11 @@ Read the docs on [External Agent](https://zed.dev/docs/ai/external-agents) suppo
|
|
|
38
38
|
|
|
39
39
|
### Other clients
|
|
40
40
|
|
|
41
|
-
[Submit a PR](https://github.com/
|
|
41
|
+
[Submit a PR](https://github.com/Leeeon233/acp-extension/pulls) to add yours!
|
|
42
42
|
|
|
43
43
|
#### Installation
|
|
44
44
|
|
|
45
|
-
Install the adapter from the latest release for your architecture and OS: https://github.com/
|
|
45
|
+
Install the adapter from the latest release for your architecture and OS: https://github.com/Leeeon233/acp-extension/releases
|
|
46
46
|
|
|
47
47
|
You can then use `codex-acp` as a regular ACP agent:
|
|
48
48
|
|
|
@@ -53,7 +53,7 @@ OPENAI_API_KEY=sk-... codex-acp
|
|
|
53
53
|
Or via npm:
|
|
54
54
|
|
|
55
55
|
```
|
|
56
|
-
npx
|
|
56
|
+
npx acp-extension-codex
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
## License
|
package/bin/codex-acp.js
CHANGED
|
@@ -8,19 +8,20 @@ import { fileURLToPath } from "node:url";
|
|
|
8
8
|
function getPlatformPackage() {
|
|
9
9
|
const platform = process.platform;
|
|
10
10
|
const arch = process.arch;
|
|
11
|
+
const baseName = "acp-extension-codex";
|
|
11
12
|
|
|
12
13
|
const platformMap = {
|
|
13
14
|
darwin: {
|
|
14
|
-
arm64:
|
|
15
|
-
x64:
|
|
15
|
+
arm64: `${baseName}-darwin-arm64`,
|
|
16
|
+
x64: `${baseName}-darwin-x64`,
|
|
16
17
|
},
|
|
17
18
|
linux: {
|
|
18
|
-
arm64:
|
|
19
|
-
x64:
|
|
19
|
+
arm64: `${baseName}-linux-arm64`,
|
|
20
|
+
x64: `${baseName}-linux-x64`,
|
|
20
21
|
},
|
|
21
22
|
win32: {
|
|
22
|
-
arm64:
|
|
23
|
-
x64:
|
|
23
|
+
arm64: `${baseName}-win32-arm64`,
|
|
24
|
+
x64: `${baseName}-win32-x64`,
|
|
24
25
|
},
|
|
25
26
|
};
|
|
26
27
|
|
|
@@ -36,7 +37,7 @@ function getPlatformPackage() {
|
|
|
36
37
|
process.exit(1);
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
return
|
|
40
|
+
return packageName;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
// Locate the binary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acp-extension-codex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "An ACP-compatible coding agent powered by Codex",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"bin"
|
|
29
29
|
],
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
31
|
+
"acp-extension-codex-darwin-arm64": "0.8.3",
|
|
32
|
+
"acp-extension-codex-darwin-x64": "0.8.3",
|
|
33
|
+
"acp-extension-codex-linux-arm64": "0.8.3",
|
|
34
|
+
"acp-extension-codex-linux-x64": "0.8.3",
|
|
35
|
+
"acp-extension-codex-win32-arm64": "0.8.3",
|
|
36
|
+
"acp-extension-codex-win32-x64": "0.8.3"
|
|
37
37
|
}
|
|
38
|
-
}
|
|
38
|
+
}
|