fix(acpx): preserve codex acp auth env · openclaw/openclaw@3105ff2
steipete
·
2026-04-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,9 @@ import type { ResolvedAcpxPluginConfig } from "./config.js";
|
9 | 9 | |
10 | 10 | const CODEX_AGENT_ID = "codex"; |
11 | 11 | const DEFAULT_CODEX_AUTH_PROFILE_ID = "openai-codex:default"; |
12 | | -const CODEX_AUTH_ENV_CLEAR_KEYS = ["OPENAI_API_KEY"]; |
| 12 | +// acpx selects ACP auth methods from the OpenClaw process env before the wrapper |
| 13 | +// launches. Keep those env vars visible to the child so its auth method matches. |
| 14 | +const CODEX_AUTH_ENV_CLEAR_KEYS: string[] = []; |
13 | 15 | |
14 | 16 | type PreparedAcpxCodexAuth = { |
15 | 17 | codexHome: string; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。