@just-every/code 0.6.141 → 0.6.143

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.
Files changed (2) hide show
  1. package/bin/codex.js +4 -1
  2. 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
- : "npm install -g @openai/codex@latest";
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.141",
3
+ "version": "0.6.143",
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.141",
39
- "@just-every/code-darwin-x64": "0.6.141",
40
- "@just-every/code-linux-x64-musl": "0.6.141",
41
- "@just-every/code-linux-arm64-musl": "0.6.141",
42
- "@just-every/code-win32-x64": "0.6.141"
38
+ "@just-every/code-darwin-arm64": "0.6.143",
39
+ "@just-every/code-darwin-x64": "0.6.143",
40
+ "@just-every/code-linux-x64-musl": "0.6.143",
41
+ "@just-every/code-linux-arm64-musl": "0.6.143",
42
+ "@just-every/code-win32-x64": "0.6.143"
43
43
  }
44
44
  }