@just-every/code 0.6.142 → 0.6.144
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/bin/codex.js +4 -1
- package/package.json +6 -6
package/bin/codex.js
CHANGED
|
@@ -11,6 +11,7 @@ import { fileURLToPath } from "url";
|
|
|
11
11
|
const __filename = fileURLToPath(import.meta.url);
|
|
12
12
|
const __dirname = path.dirname(__filename);
|
|
13
13
|
const require = createRequire(import.meta.url);
|
|
14
|
+
const codexPackageRoot = realpathSync(path.join(__dirname, ".."));
|
|
14
15
|
|
|
15
16
|
const PLATFORM_PACKAGE_BY_TARGET = {
|
|
16
17
|
"x86_64-unknown-linux-musl": "@openai/codex-linux-x64",
|
|
@@ -108,7 +109,9 @@ if (!vendorRoot) {
|
|
|
108
109
|
const updateCommand =
|
|
109
110
|
packageManager === "bun"
|
|
110
111
|
? "bun install -g @openai/codex@latest"
|
|
111
|
-
:
|
|
112
|
+
: packageManager === "pnpm"
|
|
113
|
+
? "pnpm add -g @openai/codex@latest"
|
|
114
|
+
: "npm install -g @openai/codex@latest";
|
|
112
115
|
throw new Error(
|
|
113
116
|
`Missing optional dependency ${platformPackage}. Reinstall Codex: ${updateCommand}`,
|
|
114
117
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@just-every/code",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.144",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lightweight coding agent that runs in your terminal - fork of OpenAI Codex",
|
|
6
6
|
"bin": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"prettier": "^3.3.3"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@just-every/code-darwin-arm64": "0.6.
|
|
39
|
-
"@just-every/code-darwin-x64": "0.6.
|
|
40
|
-
"@just-every/code-linux-x64-musl": "0.6.
|
|
41
|
-
"@just-every/code-linux-arm64-musl": "0.6.
|
|
42
|
-
"@just-every/code-win32-x64": "0.6.
|
|
38
|
+
"@just-every/code-darwin-arm64": "0.6.144",
|
|
39
|
+
"@just-every/code-darwin-x64": "0.6.144",
|
|
40
|
+
"@just-every/code-linux-x64-musl": "0.6.144",
|
|
41
|
+
"@just-every/code-linux-arm64-musl": "0.6.144",
|
|
42
|
+
"@just-every/code-win32-x64": "0.6.144"
|
|
43
43
|
}
|
|
44
44
|
}
|