polydev-ai 1.10.11 → 1.10.13

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 CHANGED
@@ -850,7 +850,9 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
850
850
  ...process.env,
851
851
  HOME: process.env.HOME || os.homedir(),
852
852
  // Suppress interactive prompts and update checks
853
- CI: '1',
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.
854
856
  NO_COLOR: '1',
855
857
  TERM: 'dumb',
856
858
  NONINTERACTIVE: '1',
@@ -1160,7 +1162,6 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1160
1162
  TMP: tmpDir,
1161
1163
  HOME: process.env.HOME || os.homedir(),
1162
1164
  // Suppress interactive prompts and update checks
1163
- CI: '1',
1164
1165
  NO_COLOR: '1',
1165
1166
  TERM: 'dumb',
1166
1167
  NONINTERACTIVE: '1',
@@ -1487,10 +1488,12 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1487
1488
  env: {
1488
1489
  ...process.env,
1489
1490
  HOME: process.env.HOME || os.homedir(),
1490
- CI: '1',
1491
+ // Suppress interactive prompts and update checks
1492
+ // NOTE: Do NOT set CI=1 — it forces Claude Code into API key mode (GitHub #9694, #23568)
1491
1493
  NO_COLOR: '1',
1492
1494
  TERM: 'dumb',
1493
1495
  NONINTERACTIVE: '1',
1496
+ // Prevent browser opening (OAuth, updates, etc.)
1494
1497
  NO_BROWSER: '1',
1495
1498
  BROWSER: 'echo',
1496
1499
  DISPLAY: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.10.11",
3
+ "version": "1.10.13",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },