@leonw24/open-codex 0.130.13 → 0.131.1

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 +2 -1
  2. package/package.json +2 -2
package/bin/codex.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Unified entry point for the Codex CLI.
3
3
 
4
4
  import { spawn } from "node:child_process";
5
- import { existsSync } from "fs";
5
+ import { existsSync, realpathSync } from "fs";
6
6
  import { createRequire } from "node:module";
7
7
  import path from "path";
8
8
  import { fileURLToPath } from "url";
@@ -172,6 +172,7 @@ const packageManagerEnvVar =
172
172
  : "CODEX_MANAGED_BY_NPM";
173
173
  env[packageManagerEnvVar] = "1";
174
174
  env.CODEX_RESUME_COMMAND_NAME = "open-codex";
175
+ env.CODEX_MANAGED_PACKAGE_ROOT = realpathSync(path.join(__dirname, ".."));
175
176
 
176
177
  const child = spawn(binaryPath, process.argv.slice(2), {
177
178
  stdio: "inherit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leonw24/open-codex",
3
- "version": "0.130.13",
3
+ "version": "0.131.1",
4
4
  "license": "Apache-2.0",
5
5
  "bin": {
6
6
  "open-codex": "bin/codex.js"
@@ -19,6 +19,6 @@
19
19
  },
20
20
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
21
21
  "dependencies": {
22
- "@leonw24/open-codex-linux-x64": "npm:@leonw24/open-codex@0.130.13-linux-x64"
22
+ "@leonw24/open-codex-linux-x64": "npm:@leonw24/open-codex@0.131.1-linux-x64"
23
23
  }
24
24
  }