polydev-ai 1.10.13 → 1.10.14
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.
- package/lib/cliManager.js +6 -4
- package/package.json +1 -1
package/lib/cliManager.js
CHANGED
|
@@ -849,10 +849,9 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
849
849
|
env: {
|
|
850
850
|
...process.env,
|
|
851
851
|
HOME: process.env.HOME || os.homedir(),
|
|
852
|
+
// Strip API keys that could override CLI OAuth auth
|
|
853
|
+
ANTHROPIC_API_KEY: '',
|
|
852
854
|
// Suppress interactive prompts and update checks
|
|
853
|
-
// NOTE: Do NOT set CI=1 here — it forces Claude Code into API key mode,
|
|
854
|
-
// skipping OAuth/keychain auth entirely (see GitHub issues #9694, #23568).
|
|
855
|
-
// NONINTERACTIVE + NO_BROWSER + HEADLESS + --print are sufficient.
|
|
856
855
|
NO_COLOR: '1',
|
|
857
856
|
TERM: 'dumb',
|
|
858
857
|
NONINTERACTIVE: '1',
|
|
@@ -1161,6 +1160,8 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
1161
1160
|
TEMP: tmpDir,
|
|
1162
1161
|
TMP: tmpDir,
|
|
1163
1162
|
HOME: process.env.HOME || os.homedir(),
|
|
1163
|
+
// Strip API keys that could override CLI OAuth auth
|
|
1164
|
+
ANTHROPIC_API_KEY: '',
|
|
1164
1165
|
// Suppress interactive prompts and update checks
|
|
1165
1166
|
NO_COLOR: '1',
|
|
1166
1167
|
TERM: 'dumb',
|
|
@@ -1488,8 +1489,9 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
1488
1489
|
env: {
|
|
1489
1490
|
...process.env,
|
|
1490
1491
|
HOME: process.env.HOME || os.homedir(),
|
|
1492
|
+
// Strip API keys that could override CLI OAuth auth
|
|
1493
|
+
ANTHROPIC_API_KEY: '',
|
|
1491
1494
|
// Suppress interactive prompts and update checks
|
|
1492
|
-
// NOTE: Do NOT set CI=1 — it forces Claude Code into API key mode (GitHub #9694, #23568)
|
|
1493
1495
|
NO_COLOR: '1',
|
|
1494
1496
|
TERM: 'dumb',
|
|
1495
1497
|
NONINTERACTIVE: '1',
|