@google/gemini-cli 0.54.0 → 0.54.4
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-G7VQ6O6G.js → chunk-4YSWDUQZ.js} +1 -1
- package/bundle/{chunk-IM5WJKYT.js → chunk-5NT754WV.js} +1 -1
- package/bundle/{chunk-GOQJOV4P.js → chunk-6SBXH4D5.js} +1 -1
- package/bundle/{chunk-UTXCUPDT.js → chunk-7ELLCO6U.js} +2 -2
- package/bundle/{chunk-MOGTJC2T.js → chunk-7SPI3KN6.js} +1 -1
- package/bundle/{chunk-BBNFLOXC.js → chunk-B5CTWZND.js} +1 -1
- package/bundle/{chunk-UW4NSSB6.js → chunk-BCKLMRS4.js} +3 -3
- package/bundle/{chunk-F6IU45OZ.js → chunk-BS6BSLZD.js} +98 -8
- package/bundle/{chunk-VIQEWLM4.js → chunk-D7ZXPN6G.js} +8 -5
- package/bundle/{chunk-WJKZRJIC.js → chunk-DFZESNXJ.js} +3 -3
- package/bundle/chunk-DJWQKPM3.js +1571 -0
- package/bundle/{chunk-NZ6P6XKP.js → chunk-FNQ3CHG6.js} +2 -2
- package/bundle/{chunk-OYZ2XVON.js → chunk-GHCTXZXJ.js} +3 -3
- package/bundle/{chunk-43HYOV6F.js → chunk-HX3M7TQG.js} +1 -1
- package/bundle/{chunk-5SMD2SLQ.js → chunk-IJK6RPHE.js} +2 -2
- package/bundle/{chunk-MZBH35ZS.js → chunk-IX4IHGFA.js} +1 -1
- package/bundle/{chunk-SQWRALPF.js → chunk-K6DV6ZQJ.js} +9 -8
- package/bundle/chunk-K77W7OAI.js +398 -0
- package/bundle/{chunk-SHZORH3T.js → chunk-NWWVQCEM.js} +1 -1
- package/bundle/{chunk-JPCDQXHB.js → chunk-PGCIAGXU.js} +1 -1
- package/bundle/{chunk-HS7THREL.js → chunk-QXLHAGLO.js} +104 -8
- package/bundle/{chunk-2MRUXBJ5.js → chunk-RJSQB7MD.js} +7 -7
- package/bundle/{chunk-RHINAWEP.js → chunk-TOGB2OXA.js} +67 -54
- package/bundle/chunk-TXL73KVK.js +17332 -0
- package/bundle/{chunk-YYWWE5GW.js → chunk-TYAF55F7.js} +7720 -14267
- package/bundle/chunk-UWHDOUIM.js +154 -0
- package/bundle/{chunk-TZAOURRV.js → chunk-WFY6AHA3.js} +1 -1
- package/bundle/chunk-YFMY6TMN.js +118 -0
- package/bundle/chunk-YMKYUNCI.js +397175 -0
- package/bundle/chunk-YOVSXRBK.js +512 -0
- package/bundle/{chunk-LH73BY77.js → chunk-ZJ6RWJBB.js} +7 -7
- package/bundle/chunk-ZT7DTH6P.js +102505 -0
- package/bundle/{cleanup-5UYKVLIF.js → cleanup-ID7KOVH6.js} +2 -2
- package/bundle/{cleanup-6OO5MA6W.js → cleanup-IQDM3OQH.js} +2 -2
- package/bundle/{cleanup-ODOGWYRM.js → cleanup-VC5QYANG.js} +2 -2
- package/bundle/cleanup-XKLXHTQY.js +32 -0
- package/bundle/{core-S5B3NEKC.js → core-L2IMO77B.js} +3 -1
- package/bundle/{devtoolsService-FUTPYP6V.js → devtoolsService-A4MVL3QX.js} +2 -2
- package/bundle/{devtoolsService-YWNTGRUE.js → devtoolsService-FCZAZ7OL.js} +2 -2
- package/bundle/{devtoolsService-NZQZUVCI.js → devtoolsService-MTKVT52L.js} +4 -3
- package/bundle/devtoolsService-OFTYP7HA.js +4359 -0
- package/bundle/{dist-DB6LWOKZ.js → dist-IRKAN2JJ.js} +3 -1
- package/bundle/{core-JL633Z4N.js → dist-OMDZCEPS.js} +3 -1
- package/bundle/dist-UPFVI32N.js +2172 -0
- package/bundle/{gemini-D3BRVDVJ.js → gemini-A2H7FXLW.js} +14 -14
- package/bundle/{gemini-AQASGK5V.js → gemini-ANKKRIYC.js} +214 -198
- package/bundle/{gemini-PPNY5YY6.js → gemini-RXM642S5.js} +14 -14
- package/bundle/gemini-TQ4IKPW2.js +16491 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-P7QQLIDS.js → interactiveCli-DCR23VNH.js} +21 -15
- package/bundle/{interactiveCli-CXCZMXKQ.js → interactiveCli-LU4ELYJR.js} +21 -15
- package/bundle/{interactiveCli-RU7LCVXL.js → interactiveCli-MMQJKAMI.js} +328 -303
- package/bundle/interactiveCli-XFHD4NND.js +34912 -0
- package/bundle/{liteRtServerManager-ISKYY742.js → liteRtServerManager-3XISBZSR.js} +4 -4
- package/bundle/{liteRtServerManager-MPPOFOTR.js → liteRtServerManager-AW53PI2D.js} +4 -4
- package/bundle/{liteRtServerManager-FIVLVXQJ.js → liteRtServerManager-D6QKXOSW.js} +4 -4
- package/bundle/liteRtServerManager-PKONORB7.js +65 -0
- package/bundle/{oauth2-provider-G6DF4NEU.js → oauth2-provider-7KVPKQ4C.js} +1 -1
- package/bundle/{oauth2-provider-DOIL6PEC.js → oauth2-provider-CU4P6HIT.js} +38 -72
- package/bundle/{oauth2-provider-XR5UQYQV.js → oauth2-provider-MRWRX5R2.js} +1 -1
- package/bundle/oauth2-provider-NQD4RC5Z.js +235 -0
- package/bundle/{start-S77W5RNK.js → start-7U2NBBF2.js} +6 -6
- package/bundle/{start-YWT3TSZW.js → start-HBTVIGJK.js} +6 -6
- package/bundle/{start-AJW7OVPU.js → start-JQFBJ44Q.js} +6 -6
- package/bundle/start-KLUMUSR7.js +18 -0
- package/package.json +1 -1
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-7ELLCO6U.js";
|
|
8
|
+
import "./chunk-K6DV6ZQJ.js";
|
|
9
|
+
import "./chunk-UWHDOUIM.js";
|
|
10
|
+
import "./chunk-TYAF55F7.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -115,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
} else {
|
|
118
|
-
const { main } = await import("./gemini-
|
|
119
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
120
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
118
|
+
const { main } = await import("./gemini-ANKKRIYC.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-OMDZCEPS.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-IQDM3OQH.js");
|
|
121
121
|
main().catch(async (error) => {
|
|
122
122
|
const cleanupTimeout = setTimeout(() => {
|
|
123
123
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -157,10 +157,10 @@ import {
|
|
|
157
157
|
widestLineFromStyledChars,
|
|
158
158
|
wordBreakStyledChars,
|
|
159
159
|
wrapStyledChars
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-ZJ6RWJBB.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-7SPI3KN6.js";
|
|
164
164
|
import {
|
|
165
165
|
appEvents
|
|
166
166
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -214,24 +214,24 @@ import {
|
|
|
214
214
|
stripAnsi,
|
|
215
215
|
stripUnsafeCharacters,
|
|
216
216
|
toCodePoints
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-PGCIAGXU.js";
|
|
218
218
|
import {
|
|
219
219
|
handleAutoUpdate,
|
|
220
220
|
isDevelopment,
|
|
221
221
|
relaunchApp,
|
|
222
222
|
setUpdateHandler
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-FNQ3CHG6.js";
|
|
224
224
|
import {
|
|
225
225
|
isTodoList,
|
|
226
226
|
mapCoreStatusToDisplayStatus,
|
|
227
227
|
require_react
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-WFY6AHA3.js";
|
|
229
229
|
import {
|
|
230
230
|
registerCleanup,
|
|
231
231
|
removeCleanup,
|
|
232
232
|
runExitCleanup,
|
|
233
233
|
setupTtyCheck
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-NWWVQCEM.js";
|
|
235
235
|
import {
|
|
236
236
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
237
237
|
AGENT_TOOL_NAME,
|
|
@@ -418,7 +418,7 @@ import {
|
|
|
418
418
|
validatePlanContent,
|
|
419
419
|
validatePlanPath,
|
|
420
420
|
writeToStdout
|
|
421
|
-
} from "./chunk-
|
|
421
|
+
} from "./chunk-QXLHAGLO.js";
|
|
422
422
|
import "./chunk-664ZODQF.js";
|
|
423
423
|
import "./chunk-IUUIT4SU.js";
|
|
424
424
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -28463,6 +28463,19 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28463
28463
|
const responsesToSend = geminiTools.flatMap(
|
|
28464
28464
|
(toolCall) => toolCall.response.responseParts
|
|
28465
28465
|
);
|
|
28466
|
+
const callIdsToMarkAsSubmitted = geminiTools.map(
|
|
28467
|
+
(toolCall) => toolCall.request.callId
|
|
28468
|
+
);
|
|
28469
|
+
markToolsAsSubmitted(callIdsToMarkAsSubmitted);
|
|
28470
|
+
if (modelSwitchedFromQuotaError) {
|
|
28471
|
+
if (geminiClient && responsesToSend.length > 0) {
|
|
28472
|
+
await geminiClient.addHistory({
|
|
28473
|
+
role: "user",
|
|
28474
|
+
parts: responsesToSend
|
|
28475
|
+
});
|
|
28476
|
+
}
|
|
28477
|
+
return;
|
|
28478
|
+
}
|
|
28466
28479
|
if (consumeUserHint) {
|
|
28467
28480
|
const userHint = consumeUserHint();
|
|
28468
28481
|
if (userHint && userHint.trim().length > 0) {
|
|
@@ -28472,16 +28485,9 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28472
28485
|
});
|
|
28473
28486
|
}
|
|
28474
28487
|
}
|
|
28475
|
-
const callIdsToMarkAsSubmitted = geminiTools.map(
|
|
28476
|
-
(toolCall) => toolCall.request.callId
|
|
28477
|
-
);
|
|
28478
28488
|
const prompt_ids = geminiTools.map(
|
|
28479
28489
|
(toolCall) => toolCall.request.prompt_id
|
|
28480
28490
|
);
|
|
28481
|
-
markToolsAsSubmitted(callIdsToMarkAsSubmitted);
|
|
28482
|
-
if (modelSwitchedFromQuotaError) {
|
|
28483
|
-
return;
|
|
28484
|
-
}
|
|
28485
28491
|
submitQuery(
|
|
28486
28492
|
responsesToSend,
|
|
28487
28493
|
{
|
|
@@ -33868,7 +33874,7 @@ ${queuedText}` : queuedText;
|
|
|
33868
33874
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33869
33875
|
if (settings.merged.general.devtools) {
|
|
33870
33876
|
void (async () => {
|
|
33871
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33877
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-A4MVL3QX.js");
|
|
33872
33878
|
await toggleDevToolsPanel(
|
|
33873
33879
|
config,
|
|
33874
33880
|
showErrorDetails,
|
|
@@ -157,10 +157,10 @@ import {
|
|
|
157
157
|
widestLineFromStyledChars,
|
|
158
158
|
wordBreakStyledChars,
|
|
159
159
|
wrapStyledChars
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-RJSQB7MD.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-DJWQKPM3.js";
|
|
164
164
|
import {
|
|
165
165
|
appEvents
|
|
166
166
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -214,24 +214,24 @@ import {
|
|
|
214
214
|
stripAnsi,
|
|
215
215
|
stripUnsafeCharacters,
|
|
216
216
|
toCodePoints
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-6SBXH4D5.js";
|
|
218
218
|
import {
|
|
219
219
|
handleAutoUpdate,
|
|
220
220
|
isDevelopment,
|
|
221
221
|
relaunchApp,
|
|
222
222
|
setUpdateHandler
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-7ELLCO6U.js";
|
|
224
224
|
import {
|
|
225
225
|
isTodoList,
|
|
226
226
|
mapCoreStatusToDisplayStatus,
|
|
227
227
|
require_react
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-K6DV6ZQJ.js";
|
|
229
229
|
import {
|
|
230
230
|
registerCleanup,
|
|
231
231
|
removeCleanup,
|
|
232
232
|
runExitCleanup,
|
|
233
233
|
setupTtyCheck
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-UWHDOUIM.js";
|
|
235
235
|
import {
|
|
236
236
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
237
237
|
AGENT_TOOL_NAME,
|
|
@@ -437,7 +437,7 @@ import {
|
|
|
437
437
|
validatePlanContent,
|
|
438
438
|
validatePlanPath,
|
|
439
439
|
writeToStdout
|
|
440
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-TYAF55F7.js";
|
|
441
441
|
import "./chunk-664ZODQF.js";
|
|
442
442
|
import "./chunk-IUUIT4SU.js";
|
|
443
443
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -28482,6 +28482,19 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28482
28482
|
const responsesToSend = geminiTools.flatMap(
|
|
28483
28483
|
(toolCall) => toolCall.response.responseParts
|
|
28484
28484
|
);
|
|
28485
|
+
const callIdsToMarkAsSubmitted = geminiTools.map(
|
|
28486
|
+
(toolCall) => toolCall.request.callId
|
|
28487
|
+
);
|
|
28488
|
+
markToolsAsSubmitted(callIdsToMarkAsSubmitted);
|
|
28489
|
+
if (modelSwitchedFromQuotaError) {
|
|
28490
|
+
if (geminiClient && responsesToSend.length > 0) {
|
|
28491
|
+
await geminiClient.addHistory({
|
|
28492
|
+
role: "user",
|
|
28493
|
+
parts: responsesToSend
|
|
28494
|
+
});
|
|
28495
|
+
}
|
|
28496
|
+
return;
|
|
28497
|
+
}
|
|
28485
28498
|
if (consumeUserHint) {
|
|
28486
28499
|
const userHint = consumeUserHint();
|
|
28487
28500
|
if (userHint && userHint.trim().length > 0) {
|
|
@@ -28491,16 +28504,9 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28491
28504
|
});
|
|
28492
28505
|
}
|
|
28493
28506
|
}
|
|
28494
|
-
const callIdsToMarkAsSubmitted = geminiTools.map(
|
|
28495
|
-
(toolCall) => toolCall.request.callId
|
|
28496
|
-
);
|
|
28497
28507
|
const prompt_ids = geminiTools.map(
|
|
28498
28508
|
(toolCall) => toolCall.request.prompt_id
|
|
28499
28509
|
);
|
|
28500
|
-
markToolsAsSubmitted(callIdsToMarkAsSubmitted);
|
|
28501
|
-
if (modelSwitchedFromQuotaError) {
|
|
28502
|
-
return;
|
|
28503
|
-
}
|
|
28504
28510
|
submitQuery(
|
|
28505
28511
|
responsesToSend,
|
|
28506
28512
|
{
|
|
@@ -33887,7 +33893,7 @@ ${queuedText}` : queuedText;
|
|
|
33887
33893
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33888
33894
|
if (settings.merged.general.devtools) {
|
|
33889
33895
|
void (async () => {
|
|
33890
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33896
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-MTKVT52L.js");
|
|
33891
33897
|
await toggleDevToolsPanel(
|
|
33892
33898
|
config,
|
|
33893
33899
|
showErrorDetails,
|