@google/gemini-cli 0.64.0-preview.0 → 0.64.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-EDYPRCAA.js → chunk-5XKZL6EB.js} +2 -2
- package/bundle/{chunk-EDVFNWRG.js → chunk-7H3F2KUX.js} +1 -1
- package/bundle/{chunk-EFX5XL6M.js → chunk-DPNFVVVC.js} +2 -2
- package/bundle/{chunk-QUCRASYB.js → chunk-ENBP32XB.js} +1 -1
- package/bundle/{chunk-UFQDAROY.js → chunk-EV5MQULH.js} +1 -1
- package/bundle/{chunk-HSZIYPL6.js → chunk-FCPMU3HO.js} +3 -3
- package/bundle/{chunk-MLSLNORV.js → chunk-FJUB4QHG.js} +3 -3
- package/bundle/{chunk-HN74ORTP.js → chunk-FLKY6NH5.js} +15 -3
- package/bundle/{chunk-SDWOC67Z.js → chunk-HHALNKOO.js} +1 -1
- package/bundle/{chunk-NX7TO2DU.js → chunk-IESQO4NS.js} +1 -1
- package/bundle/{chunk-6OFXOGEG.js → chunk-J7SXW2FI.js} +458 -96
- package/bundle/{chunk-KCCVXZ52.js → chunk-KJWA3D3G.js} +25 -9
- package/bundle/{chunk-EBP6K2WG.js → chunk-MA35JFUP.js} +25 -9
- package/bundle/{chunk-ZQW7OGUO.js → chunk-NR7L3FXV.js} +427 -92
- package/bundle/{chunk-ZOHM7BPT.js → chunk-OQYJODOA.js} +1 -1
- package/bundle/{chunk-VBVCLWLA.js → chunk-P7ZJXXPR.js} +2 -2
- package/bundle/{chunk-2NQXIWQK.js → chunk-PS4UL4AP.js} +15 -3
- package/bundle/{chunk-A4TO2DY2.js → chunk-PZ4GDG24.js} +458 -96
- package/bundle/{chunk-ZPLFLZQA.js → chunk-QCHFD56F.js} +15 -3
- package/bundle/{chunk-Y2HXXBXI.js → chunk-QLNDNLK5.js} +1 -1
- package/bundle/{chunk-2VN53SWW.js → chunk-QSLJVHXU.js} +1 -1
- package/bundle/{chunk-U76XPSKR.js → chunk-V7G7CIBW.js} +25 -9
- package/bundle/{chunk-UBGF6JU5.js → chunk-VOLZQW4I.js} +1 -1
- package/bundle/{chunk-VJYKQD5D.js → chunk-WLZT2COY.js} +3 -3
- package/bundle/{cleanup-GGCB2LVD.js → cleanup-K7PKM5O3.js} +2 -2
- package/bundle/{cleanup-JRDG3OTL.js → cleanup-NAOD2SQV.js} +2 -2
- package/bundle/{cleanup-SSW6IXTR.js → cleanup-QRBWTWKF.js} +2 -2
- package/bundle/{core-IUIZE6JW.js → core-4P3HPH34.js} +11 -1
- package/bundle/{dist-7L3BRW6V.js → core-ICFDSJL3.js} +11 -1
- package/bundle/{devtoolsService-3SADPKKB.js → devtoolsService-4MGN7S5K.js} +2 -2
- package/bundle/{devtoolsService-MF6JKRUV.js → devtoolsService-7CS2YIL6.js} +2 -2
- package/bundle/{devtoolsService-XZCKFZP5.js → devtoolsService-LKOU7QN7.js} +2 -2
- package/bundle/{core-6HRWFQZW.js → dist-YMXCTNJD.js} +11 -1
- package/bundle/docs/tools/mcp-server.md +41 -12
- package/bundle/{gemini-QOQNG5VY.js → gemini-6ESINPDZ.js} +14 -14
- package/bundle/{gemini-ZMMDUAQJ.js → gemini-IPXWMEB5.js} +14 -14
- package/bundle/{gemini-JPMMQ3KA.js → gemini-Q2GRYIAK.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-R3P4A3FC.js → interactiveCli-2T27ZS4G.js} +9 -20
- package/bundle/{interactiveCli-UDWGRVJL.js → interactiveCli-66E5CZDR.js} +9 -20
- package/bundle/{interactiveCli-3I4TG5SK.js → interactiveCli-IX4FVS6G.js} +9 -20
- package/bundle/{liteRtServerManager-OVPUSK2T.js → liteRtServerManager-BFSWF4GA.js} +4 -4
- package/bundle/{liteRtServerManager-RAV63AGE.js → liteRtServerManager-CU5D7FDE.js} +4 -4
- package/bundle/{liteRtServerManager-4MWCEVVM.js → liteRtServerManager-JJZYMP2G.js} +4 -4
- package/bundle/{oauth2-provider-XFP63FGJ.js → oauth2-provider-65ILSORU.js} +1 -1
- package/bundle/{oauth2-provider-FVTRRJZR.js → oauth2-provider-CHSEPLKC.js} +1 -1
- package/bundle/{oauth2-provider-EWOA64PR.js → oauth2-provider-N73PS5ZT.js} +1 -1
- package/bundle/{start-DJAIXPPY.js → start-6JMUZJ7T.js} +6 -6
- package/bundle/{start-VQQ2Q5KT.js → start-6KYN7M6S.js} +6 -6
- package/bundle/{start-5O7TBK5L.js → start-YI7IUIYU.js} +6 -6
- 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-WLZT2COY.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-KJWA3D3G.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ENBP32XB.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-PS4UL4AP.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-P7ZJXXPR.js";
|
|
95
|
+
import "./chunk-QLNDNLK5.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-EV5MQULH.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-J7SXW2FI.js";
|
|
244
244
|
import "./chunk-664ZODQF.js";
|
|
245
245
|
import "./chunk-IUUIT4SU.js";
|
|
246
246
|
import "./chunk-L6PII3GR.js";
|
|
@@ -7840,7 +7840,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7840
7840
|
}
|
|
7841
7841
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7842
7842
|
const packageJson = await getPackageJson(__dirname3);
|
|
7843
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0-preview.
|
|
7843
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7844
7844
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7845
7845
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7846
7846
|
}
|
|
@@ -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-4MGN7S5K.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-4MGN7S5K.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-IX4FVS6G.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-4MGN7S5K.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-CU5D7FDE.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;
|
|
@@ -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-FJUB4QHG.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-V7G7CIBW.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OQYJODOA.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-QCHFD56F.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-5XKZL6EB.js";
|
|
95
|
+
import "./chunk-QSLJVHXU.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-HHALNKOO.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-PZ4GDG24.js";
|
|
244
244
|
import "./chunk-664ZODQF.js";
|
|
245
245
|
import "./chunk-IUUIT4SU.js";
|
|
246
246
|
import "./chunk-L6PII3GR.js";
|
|
@@ -7840,7 +7840,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7840
7840
|
}
|
|
7841
7841
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7842
7842
|
const packageJson = await getPackageJson(__dirname3);
|
|
7843
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0
|
|
7843
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7844
7844
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7845
7845
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7846
7846
|
}
|
|
@@ -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-7CS2YIL6.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-7CS2YIL6.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-2T27ZS4G.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-7CS2YIL6.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-JJZYMP2G.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;
|
|
@@ -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-FCPMU3HO.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-MA35JFUP.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7H3F2KUX.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-FLKY6NH5.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-DPNFVVVC.js";
|
|
95
|
+
import "./chunk-IESQO4NS.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-VOLZQW4I.js";
|
|
105
105
|
import {
|
|
106
106
|
ASK_USER_TOOL_NAME,
|
|
107
107
|
ApprovalMode,
|
|
@@ -256,7 +256,7 @@ import {
|
|
|
256
256
|
updatePolicy,
|
|
257
257
|
writeToStderr,
|
|
258
258
|
writeToStdout
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-NR7L3FXV.js";
|
|
260
260
|
import "./chunk-664ZODQF.js";
|
|
261
261
|
import "./chunk-IUUIT4SU.js";
|
|
262
262
|
import "./chunk-L6PII3GR.js";
|
|
@@ -7856,7 +7856,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7856
7856
|
}
|
|
7857
7857
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7858
7858
|
const packageJson = await getPackageJson(__dirname3);
|
|
7859
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0
|
|
7859
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.64.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7860
7860
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7861
7861
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7862
7862
|
}
|
|
@@ -11527,7 +11527,7 @@ async function runNonInteractive({
|
|
|
11527
11527
|
}
|
|
11528
11528
|
});
|
|
11529
11529
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11530
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11530
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LKOU7QN7.js");
|
|
11531
11531
|
setupInitialActivityLogger(config);
|
|
11532
11532
|
}
|
|
11533
11533
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12037,7 +12037,7 @@ async function runNonInteractive2(params) {
|
|
|
12037
12037
|
}
|
|
12038
12038
|
});
|
|
12039
12039
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12040
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12040
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LKOU7QN7.js");
|
|
12041
12041
|
setupInitialActivityLogger(config);
|
|
12042
12042
|
}
|
|
12043
12043
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -17418,7 +17418,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17418
17418
|
}
|
|
17419
17419
|
}
|
|
17420
17420
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17421
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17421
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-66E5CZDR.js");
|
|
17422
17422
|
await doStartUI(
|
|
17423
17423
|
config,
|
|
17424
17424
|
settings,
|
|
@@ -17627,7 +17627,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17627
17627
|
await config.storage.initialize();
|
|
17628
17628
|
adminControlsListner.setConfig(config);
|
|
17629
17629
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17630
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17630
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LKOU7QN7.js");
|
|
17631
17631
|
setupInitialActivityLogger(config);
|
|
17632
17632
|
}
|
|
17633
17633
|
registerTelemetryConfig(config);
|
|
@@ -17686,7 +17686,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17686
17686
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17687
17687
|
const initializationResult = await initializeApp(config, settings);
|
|
17688
17688
|
initAppHandle?.end();
|
|
17689
|
-
import("./liteRtServerManager-
|
|
17689
|
+
import("./liteRtServerManager-BFSWF4GA.js").then(({ LiteRtServerManager }) => {
|
|
17690
17690
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17691
17691
|
if (!mergedGemma) return;
|
|
17692
17692
|
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-DPNFVVVC.js";
|
|
8
|
+
import "./chunk-IESQO4NS.js";
|
|
9
|
+
import "./chunk-VOLZQW4I.js";
|
|
10
|
+
import "./chunk-NR7L3FXV.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-Q2GRYIAK.js");
|
|
111
|
+
const { FatalError, writeToStderr } = await import("./dist-YMXCTNJD.js");
|
|
112
|
+
const { runExitCleanup } = await import("./cleanup-NAOD2SQV.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-V7G7CIBW.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-OQYJODOA.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-QCHFD56F.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-5XKZL6EB.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-QSLJVHXU.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-HHALNKOO.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-PZ4GDG24.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-7CS2YIL6.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-MA35JFUP.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-7H3F2KUX.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-FLKY6NH5.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-DPNFVVVC.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-IESQO4NS.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-VOLZQW4I.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-NR7L3FXV.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-LKOU7QN7.js");
|
|
33958
33947
|
await toggleDevToolsPanel(
|
|
33959
33948
|
config,
|
|
33960
33949
|
showErrorDetails,
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-KJWA3D3G.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-ENBP32XB.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-PS4UL4AP.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-P7ZJXXPR.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-QLNDNLK5.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-EV5MQULH.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-J7SXW2FI.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-4MGN7S5K.js");
|
|
33939
33928
|
await toggleDevToolsPanel(
|
|
33940
33929
|
config,
|
|
33941
33930
|
showErrorDetails,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
DEFAULT_PORT,
|
|
4
4
|
getBinaryPath,
|
|
5
5
|
isServerRunning
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-FLKY6NH5.js";
|
|
7
|
+
import "./chunk-IESQO4NS.js";
|
|
8
8
|
import {
|
|
9
9
|
debugLogger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NR7L3FXV.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-L6PII3GR.js";
|
|
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
|
|
|
41
41
|
`[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
|
|
42
42
|
);
|
|
43
43
|
try {
|
|
44
|
-
const { startServer } = await import("./start-
|
|
44
|
+
const { startServer } = await import("./start-6KYN7M6S.js");
|
|
45
45
|
const started = await startServer(binaryPath, port);
|
|
46
46
|
if (started) {
|
|
47
47
|
debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
|