Inject CODEX_THREAD_ID into the terminal environment when applicable

This commit is contained in:
Max Johnson
2026-01-28 09:42:13 -08:00
parent 231406bd04
commit 338e90a836
7 changed files with 121 additions and 32 deletions

View File

@@ -1258,7 +1258,7 @@ impl CodexMessageProcessor {
}
let cwd = params.cwd.unwrap_or_else(|| self.config.cwd.clone());
let env = create_env(&self.config.shell_environment_policy);
let env = create_env(&self.config.shell_environment_policy, None);
let timeout_ms = params
.timeout_ms
.and_then(|timeout_ms| u64::try_from(timeout_ms).ok());