diff --git a/src/main/codex/codex-app-server-client.ts b/src/main/codex/codex-app-server-client.ts index 4e58c8348..4ae3a157b 100644 --- a/src/main/codex/codex-app-server-client.ts +++ b/src/main/codex/codex-app-server-client.ts @@ -18,6 +18,9 @@ export type CodexAppServerInvocation = { args: string[] /** Overlay applied on top of the inherited environment (e.g. CODEX_HOME). */ env?: Record + /** Env keys stripped from the inherited environment before spawn (e.g. an + * inherited CODEX_HOME, so a default-home grant runs against the real ~/.codex). */ + envToDelete?: readonly string[] /** Whole-session deadline. The codex child is SIGKILLed when it lapses. */ timeoutMs: number }