@rickgetz/codex 0.130.0-rick.6 → 0.131.0-rick.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, readFileSync } from "fs";
5
+ import { existsSync, readFileSync, realpathSync } from "fs";
6
6
  import { createRequire } from "node:module";
7
7
  import path from "path";
8
8
  import { fileURLToPath } from "url";
@@ -184,6 +184,7 @@ const packageManagerEnvVar =
184
184
  ? "CODEX_MANAGED_BY_BUN"
185
185
  : "CODEX_MANAGED_BY_NPM";
186
186
  env[packageManagerEnvVar] = "1";
187
+ env.CODEX_MANAGED_PACKAGE_ROOT = realpathSync(path.join(__dirname, ".."));
187
188
 
188
189
  const child = spawn(binaryPath, process.argv.slice(2), {
189
190
  stdio: "inherit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rickgetz/codex",
3
- "version": "0.130.0-rick.6",
3
+ "version": "0.131.0-rick.1",
4
4
  "license": "Apache-2.0",
5
5
  "bin": {
6
6
  "codex-rick": "bin/codex.js"
@@ -19,6 +19,6 @@
19
19
  },
20
20
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
21
21
  "optionalDependencies": {
22
- "@rickgetz/codex-darwin-arm64": "npm:@rickgetz/codex@0.130.0-rick.6-darwin-arm64"
22
+ "@rickgetz/codex-darwin-arm64": "npm:@rickgetz/codex@0.131.0-rick.1-darwin-arm64"
23
23
  }
24
24
  }