codex-plugin-cc/plugins/codex
Bhuvanesh Sridharan dd335cbc76
fix: inherit process.env in app-server spawn when no explicit env is provided (#159)
`SpawnedCodexAppServerClient.initialize()` passes `this.options.env` to
`spawn()`, but no caller ever sets `env` in options. In Node.js, passing
`undefined` for `env` gives the child process **no** environment variables,
breaking any model provider that relies on env vars (e.g. DATABRICKS_TOKEN).

Fall back to `process.env` when `this.options.env` is not set, matching the
existing pattern in `broker-lifecycle.mjs` and `codex-companion.mjs`.

Co-authored-by: Isaac

Co-authored-by: Bhuvanesh Sridharan <bhuvanesh.sridharan@databricks.com>
2026-04-07 20:07:29 -07:00
..
.claude-plugin chore: bump plugin version to 1.0.2 (#74) 2026-03-31 12:59:31 -07:00
agents Initial commit 2026-03-30 09:42:33 -07:00
commands Fix /codex:rescue AskUserQuestion contract (#43) 2026-03-31 12:44:30 -07:00
hooks Initial commit 2026-03-30 09:42:33 -07:00
prompts Initial commit 2026-03-30 09:42:33 -07:00
schemas Initial commit 2026-03-30 09:42:33 -07:00
scripts fix: inherit process.env in app-server spawn when no explicit env is provided (#159) 2026-04-07 20:07:29 -07:00
skills Initial commit 2026-03-30 09:42:33 -07:00
CHANGELOG.md Initial commit 2026-03-30 09:42:33 -07:00
LICENSE Initial commit 2026-03-30 09:42:33 -07:00
NOTICE Initial commit 2026-03-30 09:42:33 -07:00