@google/gemini-cli 0.64.0-preview.0 → 0.64.0-preview.1
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-EDVFNWRG.js → chunk-2XMCTNPW.js} +1 -1
- package/bundle/{chunk-HN74ORTP.js → chunk-46DG3MEK.js} +15 -3
- package/bundle/{chunk-UFQDAROY.js → chunk-4TPFLAND.js} +1 -1
- package/bundle/{chunk-A4TO2DY2.js → chunk-627EICDK.js} +8258 -14927
- package/bundle/{chunk-EDYPRCAA.js → chunk-6JF3XGX6.js} +2 -2
- package/bundle/{chunk-SDWOC67Z.js → chunk-7AV6KELE.js} +1 -1
- package/bundle/{chunk-EBP6K2WG.js → chunk-7FPYEHDV.js} +25 -9
- package/bundle/{chunk-U76XPSKR.js → chunk-7OAPTXNW.js} +89 -60
- package/bundle/{chunk-EFX5XL6M.js → chunk-BONG2QK5.js} +2 -2
- package/bundle/{chunk-VBVCLWLA.js → chunk-BRVQMVD5.js} +2 -2
- package/bundle/{chunk-2NQXIWQK.js → chunk-BSE7BCTQ.js} +15 -3
- package/bundle/chunk-BYVRH4VZ.js +103137 -0
- package/bundle/{chunk-HSZIYPL6.js → chunk-EE4FVMPM.js} +3 -3
- package/bundle/{chunk-QUCRASYB.js → chunk-GWH2CDNQ.js} +1 -1
- package/bundle/{chunk-NX7TO2DU.js → chunk-H2WBGLUF.js} +1 -1
- package/bundle/{chunk-Y2HXXBXI.js → chunk-J7KGQZGT.js} +1 -1
- package/bundle/{chunk-UBGF6JU5.js → chunk-JLBO43LX.js} +1 -1
- package/bundle/{chunk-ZPLFLZQA.js → chunk-L3JNREL2.js} +21 -7
- package/bundle/{chunk-ZQW7OGUO.js → chunk-MN5WGELB.js} +426 -91
- package/bundle/{chunk-6OFXOGEG.js → chunk-NTBZBCDY.js} +456 -94
- package/bundle/{chunk-ZOHM7BPT.js → chunk-ONZZ4MZP.js} +1 -1
- package/bundle/chunk-POXVKWMH.js +17519 -0
- package/bundle/{chunk-MLSLNORV.js → chunk-R7OEYEVK.js} +3 -3
- package/bundle/{chunk-KCCVXZ52.js → chunk-RIRMXE4G.js} +25 -9
- package/bundle/{chunk-2VN53SWW.js → chunk-RQB6UOWL.js} +9 -8
- package/bundle/{chunk-VJYKQD5D.js → chunk-SQZOWFWU.js} +3 -3
- package/bundle/chunk-T7UXARRX.js +401531 -0
- package/bundle/chunk-TDYDNMXH.js +425 -0
- package/bundle/chunk-TVJ4WAFU.js +512 -0
- package/bundle/chunk-XNLASMX4.js +154 -0
- package/bundle/chunk-Y3EQFIOM.js +118 -0
- package/bundle/chunk-YKGBOB2S.js +1571 -0
- package/bundle/{cleanup-GGCB2LVD.js → cleanup-5HA3CDPH.js} +2 -2
- package/bundle/{cleanup-JRDG3OTL.js → cleanup-LXXTR2OE.js} +2 -2
- package/bundle/{cleanup-SSW6IXTR.js → cleanup-RM72YALN.js} +2 -2
- package/bundle/cleanup-TBTZ6WZD.js +32 -0
- package/bundle/{core-IUIZE6JW.js → core-NBQGNNOM.js} +11 -1
- package/bundle/{devtoolsService-3SADPKKB.js → devtoolsService-BUAVC3ZD.js} +2 -2
- package/bundle/{devtoolsService-XZCKFZP5.js → devtoolsService-DCRIOTR4.js} +2 -2
- package/bundle/{devtoolsService-MF6JKRUV.js → devtoolsService-PXS65V3Y.js} +4 -3
- package/bundle/devtoolsService-ZHFOHPIS.js +4359 -0
- package/bundle/{dist-7L3BRW6V.js → dist-24APVFHT.js} +11 -1
- package/bundle/{core-6HRWFQZW.js → dist-EOOSNLUQ.js} +11 -1
- package/bundle/dist-YP3VMVL6.js +2262 -0
- package/bundle/docs/tools/mcp-server.md +41 -12
- package/bundle/{gemini-JPMMQ3KA.js → gemini-LHZDQRUM.js} +13 -13
- package/bundle/{gemini-ZMMDUAQJ.js → gemini-Q4LI2KHU.js} +214 -198
- package/bundle/gemini-QM6PZXIH.js +17934 -0
- package/bundle/{gemini-QOQNG5VY.js → gemini-UEMV4Y7B.js} +13 -13
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-R3P4A3FC.js → interactiveCli-HMZ5ZWK4.js} +9 -20
- package/bundle/{interactiveCli-UDWGRVJL.js → interactiveCli-IQQYS4AV.js} +9 -20
- package/bundle/{interactiveCli-3I4TG5SK.js → interactiveCli-QCNSW3M7.js} +313 -305
- package/bundle/interactiveCli-QXZXFSNY.js +34968 -0
- package/bundle/{liteRtServerManager-OVPUSK2T.js → liteRtServerManager-2I4N5IEZ.js} +4 -4
- package/bundle/{liteRtServerManager-RAV63AGE.js → liteRtServerManager-3IZ2LKBD.js} +4 -4
- package/bundle/{liteRtServerManager-4MWCEVVM.js → liteRtServerManager-RABYR6TB.js} +4 -4
- package/bundle/liteRtServerManager-T3MOB7VG.js +65 -0
- package/bundle/{oauth2-provider-FVTRRJZR.js → oauth2-provider-I3CU23H3.js} +1 -1
- package/bundle/{oauth2-provider-EWOA64PR.js → oauth2-provider-INBLO6HF.js} +38 -72
- package/bundle/oauth2-provider-UZV2BJA3.js +235 -0
- package/bundle/{oauth2-provider-XFP63FGJ.js → oauth2-provider-XFPEOXNY.js} +1 -1
- package/bundle/{start-DJAIXPPY.js → start-4UWH3BI7.js} +6 -6
- package/bundle/{start-VQQ2Q5KT.js → start-CQTZWDLV.js} +6 -6
- package/bundle/{start-5O7TBK5L.js → start-D6DJS7SZ.js} +6 -6
- package/bundle/start-IXFELTCY.js +18 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
startCommand,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y3EQFIOM.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod,
|
|
48
48
|
validateContextFilePath
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RIRMXE4G.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-YKGBOB2S.js";
|
|
54
54
|
import {
|
|
55
55
|
appEvents
|
|
56
56
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
resolveGemmaConfig,
|
|
89
89
|
saveModelChange,
|
|
90
90
|
stripAnsi
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-BSE7BCTQ.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-BRVQMVD5.js";
|
|
95
|
+
import "./chunk-J7KGQZGT.js";
|
|
96
96
|
import {
|
|
97
97
|
cleanupCheckpoints,
|
|
98
98
|
registerCleanup,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
runExitCleanup,
|
|
102
102
|
runSyncCleanup,
|
|
103
103
|
setupSignalHandlers
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-7AV6KELE.js";
|
|
105
105
|
import {
|
|
106
106
|
ASK_USER_TOOL_NAME,
|
|
107
107
|
AuthType,
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
updatePolicy,
|
|
241
241
|
writeToStderr,
|
|
242
242
|
writeToStdout
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-NTBZBCDY.js";
|
|
244
244
|
import "./chunk-664ZODQF.js";
|
|
245
245
|
import "./chunk-IUUIT4SU.js";
|
|
246
246
|
import "./chunk-L6PII3GR.js";
|
|
@@ -11511,7 +11511,7 @@ async function runNonInteractive({
|
|
|
11511
11511
|
}
|
|
11512
11512
|
});
|
|
11513
11513
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11514
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11514
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVC3ZD.js");
|
|
11515
11515
|
setupInitialActivityLogger(config);
|
|
11516
11516
|
}
|
|
11517
11517
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12021,7 +12021,7 @@ async function runNonInteractive2(params) {
|
|
|
12021
12021
|
}
|
|
12022
12022
|
});
|
|
12023
12023
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12024
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12024
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVC3ZD.js");
|
|
12025
12025
|
setupInitialActivityLogger(config);
|
|
12026
12026
|
}
|
|
12027
12027
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -17402,7 +17402,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17402
17402
|
}
|
|
17403
17403
|
}
|
|
17404
17404
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17405
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17405
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HMZ5ZWK4.js");
|
|
17406
17406
|
await doStartUI(
|
|
17407
17407
|
config,
|
|
17408
17408
|
settings,
|
|
@@ -17611,7 +17611,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17611
17611
|
await config.storage.initialize();
|
|
17612
17612
|
adminControlsListner.setConfig(config);
|
|
17613
17613
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17614
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17614
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVC3ZD.js");
|
|
17615
17615
|
setupInitialActivityLogger(config);
|
|
17616
17616
|
}
|
|
17617
17617
|
registerTelemetryConfig(config);
|
|
@@ -17670,7 +17670,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17670
17670
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17671
17671
|
const initializationResult = await initializeApp(config, settings);
|
|
17672
17672
|
initAppHandle?.end();
|
|
17673
|
-
import("./liteRtServerManager-
|
|
17673
|
+
import("./liteRtServerManager-3IZ2LKBD.js").then(({ LiteRtServerManager }) => {
|
|
17674
17674
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17675
17675
|
if (!mergedGemma) return;
|
|
17676
17676
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
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-BONG2QK5.js";
|
|
8
|
+
import "./chunk-TVJ4WAFU.js";
|
|
9
|
+
import "./chunk-JLBO43LX.js";
|
|
10
|
+
import "./chunk-627EICDK.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-L6PII3GR.js";
|
|
@@ -107,9 +107,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
} else {
|
|
110
|
-
const { main } = await import("./gemini-
|
|
111
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
112
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
110
|
+
const { main } = await import("./gemini-Q4LI2KHU.js");
|
|
111
|
+
const { FatalError, writeToStderr } = await import("./dist-YP3VMVL6.js");
|
|
112
|
+
const { runExitCleanup } = await import("./cleanup-LXXTR2OE.js");
|
|
113
113
|
main().catch(async (error) => {
|
|
114
114
|
const cleanupTimeout = setTimeout(() => {
|
|
115
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-RIRMXE4G.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-YKGBOB2S.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-BSE7BCTQ.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-BRVQMVD5.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-J7KGQZGT.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-7AV6KELE.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-NTBZBCDY.js";
|
|
434
434
|
import "./chunk-664ZODQF.js";
|
|
435
435
|
import "./chunk-IUUIT4SU.js";
|
|
436
436
|
import "./chunk-L6PII3GR.js";
|
|
@@ -27080,7 +27080,6 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
27080
27080
|
const abortControllerRef = (0, import_react97.useRef)(null);
|
|
27081
27081
|
const turnCancelledRef = (0, import_react97.useRef)(false);
|
|
27082
27082
|
const activeQueryIdRef = (0, import_react97.useRef)(null);
|
|
27083
|
-
const historyLengthAfterUserPromptRef = (0, import_react97.useRef)(void 0);
|
|
27084
27083
|
const previousApprovalModeRef = (0, import_react97.useRef)(
|
|
27085
27084
|
config.getApprovalMode()
|
|
27086
27085
|
);
|
|
@@ -28193,9 +28192,6 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28193
28192
|
if (!shouldProceed || queryToSend === null) {
|
|
28194
28193
|
return;
|
|
28195
28194
|
}
|
|
28196
|
-
if (geminiClient) {
|
|
28197
|
-
historyLengthAfterUserPromptRef.current = geminiClient.getHistory().length;
|
|
28198
|
-
}
|
|
28199
28195
|
if (!options?.isContinuation) {
|
|
28200
28196
|
if (typeof queryToSend === "string") {
|
|
28201
28197
|
const promptText = queryToSend;
|
|
@@ -28499,14 +28495,7 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28499
28495
|
});
|
|
28500
28496
|
}
|
|
28501
28497
|
setIsResponding(false);
|
|
28502
|
-
|
|
28503
|
-
const targetLength = historyLengthAfterUserPromptRef.current;
|
|
28504
|
-
if (geminiClient.getHistory().length > targetLength) {
|
|
28505
|
-
geminiClient.setHistory(
|
|
28506
|
-
geminiClient.getHistory().slice(0, targetLength)
|
|
28507
|
-
);
|
|
28508
|
-
}
|
|
28509
|
-
}
|
|
28498
|
+
geminiClient?.discardTrailingUnansweredToolCallTurn();
|
|
28510
28499
|
const callIdsToMarkAsSubmitted2 = geminiTools.map(
|
|
28511
28500
|
(toolCall) => toolCall.request.callId
|
|
28512
28501
|
);
|
|
@@ -33935,7 +33924,7 @@ ${queuedText}` : queuedText;
|
|
|
33935
33924
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33936
33925
|
if (settings.merged.general.devtools) {
|
|
33937
33926
|
void (async () => {
|
|
33938
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33927
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-BUAVC3ZD.js");
|
|
33939
33928
|
await toggleDevToolsPanel(
|
|
33940
33929
|
config,
|
|
33941
33930
|
showErrorDetails,
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-7FPYEHDV.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-2XMCTNPW.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-46DG3MEK.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-TDYDNMXH.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-H2WBGLUF.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-XNLASMX4.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-MN5WGELB.js";
|
|
453
453
|
import "./chunk-664ZODQF.js";
|
|
454
454
|
import "./chunk-IUUIT4SU.js";
|
|
455
455
|
import "./chunk-L6PII3GR.js";
|
|
@@ -27099,7 +27099,6 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
27099
27099
|
const abortControllerRef = (0, import_react97.useRef)(null);
|
|
27100
27100
|
const turnCancelledRef = (0, import_react97.useRef)(false);
|
|
27101
27101
|
const activeQueryIdRef = (0, import_react97.useRef)(null);
|
|
27102
|
-
const historyLengthAfterUserPromptRef = (0, import_react97.useRef)(void 0);
|
|
27103
27102
|
const previousApprovalModeRef = (0, import_react97.useRef)(
|
|
27104
27103
|
config.getApprovalMode()
|
|
27105
27104
|
);
|
|
@@ -28212,9 +28211,6 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28212
28211
|
if (!shouldProceed || queryToSend === null) {
|
|
28213
28212
|
return;
|
|
28214
28213
|
}
|
|
28215
|
-
if (geminiClient) {
|
|
28216
|
-
historyLengthAfterUserPromptRef.current = geminiClient.getHistory().length;
|
|
28217
|
-
}
|
|
28218
28214
|
if (!options?.isContinuation) {
|
|
28219
28215
|
if (typeof queryToSend === "string") {
|
|
28220
28216
|
const promptText = queryToSend;
|
|
@@ -28518,14 +28514,7 @@ var useGeminiStream = (geminiClient, history, addItem, config, settings, onDebug
|
|
|
28518
28514
|
});
|
|
28519
28515
|
}
|
|
28520
28516
|
setIsResponding(false);
|
|
28521
|
-
|
|
28522
|
-
const targetLength = historyLengthAfterUserPromptRef.current;
|
|
28523
|
-
if (geminiClient.getHistory().length > targetLength) {
|
|
28524
|
-
geminiClient.setHistory(
|
|
28525
|
-
geminiClient.getHistory().slice(0, targetLength)
|
|
28526
|
-
);
|
|
28527
|
-
}
|
|
28528
|
-
}
|
|
28517
|
+
geminiClient?.discardTrailingUnansweredToolCallTurn();
|
|
28529
28518
|
const callIdsToMarkAsSubmitted2 = geminiTools.map(
|
|
28530
28519
|
(toolCall) => toolCall.request.callId
|
|
28531
28520
|
);
|
|
@@ -33954,7 +33943,7 @@ ${queuedText}` : queuedText;
|
|
|
33954
33943
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33955
33944
|
if (settings.merged.general.devtools) {
|
|
33956
33945
|
void (async () => {
|
|
33957
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33946
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-PXS65V3Y.js");
|
|
33958
33947
|
await toggleDevToolsPanel(
|
|
33959
33948
|
config,
|
|
33960
33949
|
showErrorDetails,
|