@google/gemini-cli 0.63.0-nightly.20260928.g2fe7c2d3f → 0.63.0-preview.0
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/bundle/{chunk-QX7M3XMQ.js → chunk-2J6RC447.js} +3 -3
- package/bundle/{chunk-DEI3TS7C.js → chunk-2NCBQURB.js} +125 -47
- package/bundle/{chunk-C2KZGMGL.js → chunk-2P4ETAEG.js} +1 -1
- package/bundle/{chunk-QYTRARRL.js → chunk-5VYF5TVF.js} +30 -3
- package/bundle/{chunk-EATZTV2L.js → chunk-B2C7BQ4Z.js} +7 -7
- package/bundle/{chunk-2AXHER6I.js → chunk-BVDTRESW.js} +1 -1
- package/bundle/{chunk-I5ZBUXWS.js → chunk-CTL6DZSY.js} +1 -1
- package/bundle/{chunk-7ZCWMSGJ.js → chunk-EIMVJG2V.js} +1 -1
- package/bundle/{chunk-4SQTLFVK.js → chunk-EWEUWTBB.js} +58 -71
- package/bundle/{chunk-LNPKSDNP.js → chunk-GRSO6OI3.js} +7 -7
- package/bundle/{chunk-SJFSOFYJ.js → chunk-H4WLRV6U.js} +30 -3
- package/bundle/{chunk-ERMD62K5.js → chunk-HBZBBLAV.js} +14860 -7829
- package/bundle/{chunk-YZPLV23A.js → chunk-JEUVKR2X.js} +3 -3
- package/bundle/{chunk-KRI5JA76.js → chunk-KCB54UJ5.js} +73 -17
- package/bundle/{chunk-ZAM747AR.js → chunk-KPPDDNGJ.js} +1 -1
- package/bundle/{chunk-SZK5XAFL.js → chunk-NTWFJ2RF.js} +30 -3
- package/bundle/{chunk-B3EF23HT.js → chunk-NWSCUKK3.js} +70 -19
- package/bundle/{chunk-I7XQQVIO.js → chunk-R6Q6D3UA.js} +1 -1
- package/bundle/{chunk-RFR5KZGU.js → chunk-RC6VJ6FT.js} +126 -47
- package/bundle/{chunk-PGIM2K4Q.js → chunk-RXHIISMM.js} +1 -1
- package/bundle/{chunk-UOXIYBXB.js → chunk-SNGNFODQ.js} +1 -1
- package/bundle/{chunk-KSWUQTWU.js → chunk-UEOEM4H5.js} +3 -3
- package/bundle/{chunk-4PBNRKYJ.js → chunk-Z5RCAIV5.js} +129 -53
- package/bundle/{chunk-BRTA6WWG.js → chunk-ZDQYLJYN.js} +8 -9
- package/bundle/{cleanup-5PD3O5L7.js → cleanup-EX2L3L3E.js} +2 -2
- package/bundle/{cleanup-6IDD7Q3X.js → cleanup-IT7XR7KS.js} +2 -2
- package/bundle/{cleanup-7UL3PRLF.js → cleanup-WWLYKZIX.js} +2 -2
- package/bundle/{core-IIFMZU4H.js → core-D5D4MF5H.js} +3 -1
- package/bundle/{dist-5HHK4577.js → core-GAJB2LOX.js} +3 -1
- package/bundle/{devtoolsService-AK7UU2FI.js → devtoolsService-4YTFHHPN.js} +2 -2
- package/bundle/{devtoolsService-A7VWEFDQ.js → devtoolsService-S4ZTRGJL.js} +3 -4
- package/bundle/{devtoolsService-67KG4JD7.js → devtoolsService-TJPENQSW.js} +2 -2
- package/bundle/{dist-I74UZ4GA.js → dist-MTMOCTIW.js} +3 -1
- package/bundle/{gemini-OFIYPHV5.js → gemini-5T5BS7L7.js} +14 -14
- package/bundle/{gemini-PGIEQLQD.js → gemini-FHORRYHM.js} +13 -13
- package/bundle/{gemini-PLPMSDXJ.js → gemini-UQRS6TBE.js} +198 -214
- package/bundle/gemini.js +20 -11
- package/bundle/{interactiveCli-JLFFVRVY.js → interactiveCli-5YNYZTMK.js} +18 -10
- package/bundle/{interactiveCli-JF6LE6RN.js → interactiveCli-I5K7O5Z6.js} +18 -10
- package/bundle/{interactiveCli-OG4JE4CU.js → interactiveCli-WOM6QZHM.js} +302 -313
- package/bundle/{liteRtServerManager-4LVWWKUV.js → liteRtServerManager-3N5KI6YS.js} +4 -4
- package/bundle/{liteRtServerManager-DVDNFJNH.js → liteRtServerManager-EH2L2UVH.js} +4 -4
- package/bundle/{liteRtServerManager-G4WG2Q45.js → liteRtServerManager-ZLIHBLZP.js} +4 -4
- package/bundle/{oauth2-provider-KPLVYPVA.js → oauth2-provider-5GFYTXFU.js} +1 -1
- package/bundle/{oauth2-provider-IBKEWCFT.js → oauth2-provider-NGSH2JQK.js} +72 -38
- package/bundle/{oauth2-provider-CEQ4PAUC.js → oauth2-provider-TA2KRXWQ.js} +1 -1
- package/bundle/{start-2A3VVOAH.js → start-CWI6OP6N.js} +6 -6
- package/bundle/{start-6PINHVUA.js → start-M3IUNCYH.js} +6 -6
- package/bundle/{start-BZAGKSC2.js → start-MWDNIQUY.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-5G7FE6LZ.js +0 -102951
- package/bundle/chunk-EORMOPQX.js +0 -17368
- package/bundle/chunk-EYGY6SJV.js +0 -512
- package/bundle/chunk-KCZCDPS2.js +0 -398
- package/bundle/chunk-PAIQESPE.js +0 -118
- package/bundle/chunk-TXWIPUPY.js +0 -400484
- package/bundle/chunk-VAGYZO4R.js +0 -1571
- package/bundle/chunk-VNGBTT2C.js +0 -154
- package/bundle/cleanup-UTIIPF3A.js +0 -32
- package/bundle/devtoolsService-REQSIEPU.js +0 -4359
- package/bundle/dist-QMOHSH2B.js +0 -2248
- package/bundle/gemini-I47O5YI2.js +0 -17863
- package/bundle/interactiveCli-CJEDKYUL.js +0 -34907
- package/bundle/liteRtServerManager-MZO6JMNV.js +0 -65
- package/bundle/oauth2-provider-UHJTSOLD.js +0 -235
- package/bundle/start-ZRUVAD7P.js +0 -18
package/bundle/gemini.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
RELAUNCH_EXIT_CODE,
|
|
5
5
|
getScriptArgs,
|
|
6
6
|
getSpawnConfig
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-NTWFJ2RF.js";
|
|
8
|
+
import "./chunk-EIMVJG2V.js";
|
|
9
|
+
import "./chunk-RXHIISMM.js";
|
|
10
|
+
import "./chunk-NWSCUKK3.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-L6PII3GR.js";
|
|
@@ -60,14 +60,23 @@ async function run() {
|
|
|
60
60
|
stdio: ["inherit", "inherit", "inherit", "ipc"],
|
|
61
61
|
env: newEnv
|
|
62
62
|
});
|
|
63
|
+
delete process.env["GEMINI_CLI_AUTH_OVERRIDE"];
|
|
64
|
+
delete newEnv["GEMINI_CLI_AUTH_OVERRIDE"];
|
|
63
65
|
if (latestAdminSettings) {
|
|
64
66
|
child.send({ type: "admin-settings", settings: latestAdminSettings });
|
|
65
67
|
}
|
|
66
|
-
child.on(
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
child.on(
|
|
69
|
+
"message",
|
|
70
|
+
(msg) => {
|
|
71
|
+
if (msg.type === "admin-settings-update" && msg.settings) {
|
|
72
|
+
latestAdminSettings = msg.settings;
|
|
73
|
+
}
|
|
74
|
+
if (msg.type === "auth-selected-type" && msg.authType) {
|
|
75
|
+
process.env["GEMINI_CLI_AUTH_OVERRIDE"] = msg.authType;
|
|
76
|
+
newEnv["GEMINI_CLI_AUTH_OVERRIDE"] = msg.authType;
|
|
77
|
+
}
|
|
69
78
|
}
|
|
70
|
-
|
|
79
|
+
);
|
|
71
80
|
return new Promise((resolve) => {
|
|
72
81
|
child.on("error", (err) => {
|
|
73
82
|
process.stderr.write(
|
|
@@ -98,9 +107,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
98
107
|
}
|
|
99
108
|
}
|
|
100
109
|
} else {
|
|
101
|
-
const { main } = await import("./gemini-
|
|
102
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
103
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
110
|
+
const { main } = await import("./gemini-5T5BS7L7.js");
|
|
111
|
+
const { FatalError, writeToStderr } = await import("./dist-MTMOCTIW.js");
|
|
112
|
+
const { runExitCleanup } = await import("./cleanup-EX2L3L3E.js");
|
|
104
113
|
main().catch(async (error) => {
|
|
105
114
|
const cleanupTimeout = setTimeout(() => {
|
|
106
115
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-B2C7BQ4Z.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-2P4ETAEG.js";
|
|
178
178
|
import {
|
|
179
179
|
appEvents
|
|
180
180
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -227,24 +227,24 @@ import {
|
|
|
227
227
|
stripAnsi,
|
|
228
228
|
stripUnsafeCharacters,
|
|
229
229
|
toCodePoints
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-Z5RCAIV5.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-H4WLRV6U.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-KPPDDNGJ.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-BVDTRESW.js";
|
|
248
248
|
import {
|
|
249
249
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
250
250
|
AGENT_TOOL_NAME,
|
|
@@ -430,7 +430,7 @@ import {
|
|
|
430
430
|
validatePlanContent,
|
|
431
431
|
validatePlanPath,
|
|
432
432
|
writeToStdout
|
|
433
|
-
} from "./chunk-
|
|
433
|
+
} from "./chunk-HBZBBLAV.js";
|
|
434
434
|
import "./chunk-664ZODQF.js";
|
|
435
435
|
import "./chunk-IUUIT4SU.js";
|
|
436
436
|
import "./chunk-L6PII3GR.js";
|
|
@@ -14592,11 +14592,19 @@ function AuthDialog({
|
|
|
14592
14592
|
} else {
|
|
14593
14593
|
setAuthContext({});
|
|
14594
14594
|
}
|
|
14595
|
-
|
|
14595
|
+
const currentAuthType = settings.merged.security?.auth?.selectedType;
|
|
14596
|
+
if (currentAuthType && currentAuthType !== authType) {
|
|
14597
|
+
await clearCachedCredentialFile();
|
|
14598
|
+
}
|
|
14596
14599
|
settings.setValue(scope, "security.auth.selectedType", authType);
|
|
14597
14600
|
if (authType === "oauth-personal" /* LOGIN_WITH_GOOGLE */ && config.isBrowserLaunchSuppressed()) {
|
|
14598
14601
|
setExiting(true);
|
|
14599
|
-
setTimeout(
|
|
14602
|
+
setTimeout(() => {
|
|
14603
|
+
void relaunchApp({ overrideAuthType: authType }).catch((err) => {
|
|
14604
|
+
debugLogger.error("Failed to trigger supervisor relaunch:", err);
|
|
14605
|
+
process.exit(1);
|
|
14606
|
+
});
|
|
14607
|
+
}, 100);
|
|
14600
14608
|
return;
|
|
14601
14609
|
}
|
|
14602
14610
|
if (authType === "gemini-api-key" /* USE_GEMINI */) {
|
|
@@ -33861,7 +33869,7 @@ ${queuedText}` : queuedText;
|
|
|
33861
33869
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33862
33870
|
if (settings.merged.general.devtools) {
|
|
33863
33871
|
void (async () => {
|
|
33864
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33872
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-4YTFHHPN.js");
|
|
33865
33873
|
await toggleDevToolsPanel(
|
|
33866
33874
|
config,
|
|
33867
33875
|
showErrorDetails,
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-GRSO6OI3.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-R6Q6D3UA.js";
|
|
178
178
|
import {
|
|
179
179
|
appEvents
|
|
180
180
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -227,24 +227,24 @@ import {
|
|
|
227
227
|
stripAnsi,
|
|
228
228
|
stripUnsafeCharacters,
|
|
229
229
|
toCodePoints
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-2NCBQURB.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-NTWFJ2RF.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-EIMVJG2V.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-RXHIISMM.js";
|
|
248
248
|
import {
|
|
249
249
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
250
250
|
AGENT_TOOL_NAME,
|
|
@@ -449,7 +449,7 @@ import {
|
|
|
449
449
|
validatePlanContent,
|
|
450
450
|
validatePlanPath,
|
|
451
451
|
writeToStdout
|
|
452
|
-
} from "./chunk-
|
|
452
|
+
} from "./chunk-NWSCUKK3.js";
|
|
453
453
|
import "./chunk-664ZODQF.js";
|
|
454
454
|
import "./chunk-IUUIT4SU.js";
|
|
455
455
|
import "./chunk-L6PII3GR.js";
|
|
@@ -14611,11 +14611,19 @@ function AuthDialog({
|
|
|
14611
14611
|
} else {
|
|
14612
14612
|
setAuthContext({});
|
|
14613
14613
|
}
|
|
14614
|
-
|
|
14614
|
+
const currentAuthType = settings.merged.security?.auth?.selectedType;
|
|
14615
|
+
if (currentAuthType && currentAuthType !== authType) {
|
|
14616
|
+
await clearCachedCredentialFile();
|
|
14617
|
+
}
|
|
14615
14618
|
settings.setValue(scope, "security.auth.selectedType", authType);
|
|
14616
14619
|
if (authType === AuthType.LOGIN_WITH_GOOGLE && config.isBrowserLaunchSuppressed()) {
|
|
14617
14620
|
setExiting(true);
|
|
14618
|
-
setTimeout(
|
|
14621
|
+
setTimeout(() => {
|
|
14622
|
+
void relaunchApp({ overrideAuthType: authType }).catch((err) => {
|
|
14623
|
+
debugLogger.error("Failed to trigger supervisor relaunch:", err);
|
|
14624
|
+
process.exit(1);
|
|
14625
|
+
});
|
|
14626
|
+
}, 100);
|
|
14619
14627
|
return;
|
|
14620
14628
|
}
|
|
14621
14629
|
if (authType === AuthType.USE_GEMINI) {
|
|
@@ -33880,7 +33888,7 @@ ${queuedText}` : queuedText;
|
|
|
33880
33888
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33881
33889
|
if (settings.merged.general.devtools) {
|
|
33882
33890
|
void (async () => {
|
|
33883
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33891
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-TJPENQSW.js");
|
|
33884
33892
|
await toggleDevToolsPanel(
|
|
33885
33893
|
config,
|
|
33886
33894
|
showErrorDetails,
|