@google/gemini-cli 0.42.0-preview.2 → 0.42.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-6QBZKEWW.js → chunk-3IS7GD6D.js} +2 -2
- package/bundle/{chunk-OFOKTVUH.js → chunk-4SLGT6YD.js} +1 -1
- package/bundle/{chunk-OP6THN3K.js → chunk-7C6GGDK6.js} +2 -2
- package/bundle/{chunk-77HSANAH.js → chunk-7VVHSNDQ.js} +4 -4
- package/bundle/{chunk-S3WIE72K.js → chunk-BCYBA52D.js} +1 -1
- package/bundle/{chunk-2KRAWFEQ.js → chunk-CHERUG6W.js} +7 -7
- package/bundle/{chunk-AAU5XCLJ.js → chunk-COKAF5GM.js} +1 -1
- package/bundle/{chunk-SJ6AOVZF.js → chunk-COQP2M4D.js} +54 -67
- package/bundle/{chunk-QM234EIA.js → chunk-CYEIWMZJ.js} +1 -1
- package/bundle/{chunk-WOGMVEEF.js → chunk-DMWX7UP6.js} +4 -4
- package/bundle/{chunk-E54WEGH3.js → chunk-DN4XSYRG.js} +12729 -6831
- package/bundle/{chunk-BLNG7CSO.js → chunk-EDKX67D6.js} +1 -1
- package/bundle/{chunk-LHVIO4J4.js → chunk-FCAODPNO.js} +7 -7
- package/bundle/{chunk-LYMYMKWM.js → chunk-G2VTSEZ6.js} +1 -1
- package/bundle/{chunk-M6ZQAQKH.js → chunk-GA527JB7.js} +1 -1
- package/bundle/{chunk-4NXNVHPO.js → chunk-I7AME6VC.js} +8 -9
- package/bundle/{chunk-Q24MYLMP.js → chunk-KVEAHIIV.js} +3 -3
- package/bundle/{chunk-DEKZKOVU.js → chunk-LATVEETM.js} +1 -1
- package/bundle/{chunk-JW36FWGZ.js → chunk-NTOPH4WG.js} +2 -2
- package/bundle/{chunk-THNM4JU6.js → chunk-PUDLNWHE.js} +2 -2
- package/bundle/{chunk-FIIOJPLW.js → chunk-QOZSZYL7.js} +2 -2
- package/bundle/{chunk-R7BHIYZD.js → chunk-WIXUKOZA.js} +1 -1
- package/bundle/{chunk-I6IY72IP.js → chunk-XUMRUXOT.js} +6 -9
- package/bundle/{chunk-ODIOD5TJ.js → chunk-ZNMQA242.js} +3 -3
- package/bundle/{cleanup-G7DNOS4V.js → cleanup-3RILFNVM.js} +2 -2
- package/bundle/{cleanup-GZM5KIZA.js → cleanup-SVRKYBR6.js} +3 -3
- package/bundle/{cleanup-5FPOUEHR.js → cleanup-XFVHHDVO.js} +2 -2
- package/bundle/{core-IYSSLWMM.js → core-B5S6HZJT.js} +1 -1
- package/bundle/{dist-GF2RNVWZ.js → core-FRVSDP2C.js} +2 -2
- package/bundle/{devtoolsService-UADEEKOH.js → devtoolsService-RUEO5PGP.js} +2 -2
- package/bundle/{devtoolsService-7ZN7CSSO.js → devtoolsService-TRDGMQLJ.js} +4 -5
- package/bundle/{devtoolsService-3XOQOECV.js → devtoolsService-VM2WTHBX.js} +2 -2
- package/bundle/{dist-D7FZVGG3.js → dist-6BN2CJPN.js} +1 -1
- package/bundle/{gemini-IRKIMLB4.js → gemini-GHUELHBF.js} +14 -14
- package/bundle/{gemini-IMX43TZ4.js → gemini-NQPVX5JC.js} +186 -200
- package/bundle/{gemini-MWN2MSYV.js → gemini-QSTQ2DBG.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-752P4PTI.js → interactiveCli-453M2IVE.js} +8 -8
- package/bundle/{interactiveCli-37SKHAKX.js → interactiveCli-AG2YWL2O.js} +8 -8
- package/bundle/{interactiveCli-VX6GBWOV.js → interactiveCli-MZFG35NB.js} +276 -294
- package/bundle/{liteRtServerManager-OWPZ35U6.js → liteRtServerManager-BXQ6VVWP.js} +4 -4
- package/bundle/{liteRtServerManager-FPYU5KEK.js → liteRtServerManager-G4Q7OVBX.js} +4 -4
- package/bundle/{liteRtServerManager-CDLVKT7N.js → liteRtServerManager-S7WL25VD.js} +5 -5
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-RQNNLGWV.js → oauth2-provider-5UF5WEE2.js} +1 -1
- package/bundle/{oauth2-provider-6W4IY3LC.js → oauth2-provider-H7G6RSFW.js} +1 -1
- package/bundle/{oauth2-provider-446FDCUW.js → oauth2-provider-VR4DL6AL.js} +73 -39
- package/bundle/{start-KUNHDGRA.js → start-2SKRN43X.js} +6 -6
- package/bundle/{start-TZXEJLTH.js → start-CQBSKFYB.js} +7 -7
- package/bundle/{start-6U3XBAVH.js → start-NIMXQJYB.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-76KOJPMV.js +0 -391
- package/bundle/chunk-RO2XVFEU.js +0 -512
- package/bundle/chunk-WFKT4UTI.js +0 -118
- package/bundle/chunk-WLPWIJ3Y.js +0 -81544
- package/bundle/chunk-WRDVEMWE.js +0 -1571
- package/bundle/chunk-YDC4M26X.js +0 -156
- package/bundle/chunk-ZDP2ZWKG.js +0 -17230
- package/bundle/chunk-ZFOGBX2H.js +0 -356008
- package/bundle/cleanup-J6AUEKWI.js +0 -33
- package/bundle/devtoolsService-KTUMQHXG.js +0 -857
- package/bundle/dist-HBMVDPXB.js +0 -2096
- package/bundle/gemini-SYFUC6XO.js +0 -16256
- package/bundle/interactiveCli-SAMKYHUU.js +0 -34505
- package/bundle/liteRtServerManager-OWTQEYE6.js +0 -66
- package/bundle/oauth2-provider-TITPL3DN.js +0 -237
- package/bundle/start-TTLMBKNX.js +0 -19
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FCAODPNO.js";
|
|
45
45
|
import {
|
|
46
46
|
appEvents
|
|
47
47
|
} from "./chunk-5PS3AYFU.js";
|
|
48
48
|
import {
|
|
49
49
|
startCommand,
|
|
50
50
|
startServer
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PUDLNWHE.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4SLGT6YD.js";
|
|
56
56
|
import {
|
|
57
57
|
DEFAULT_PORT,
|
|
58
58
|
GEMMA_MODEL_NAME,
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
readServerProcessInfo,
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-EDKX67D6.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-QOZSZYL7.js";
|
|
93
|
+
import "./chunk-G2VTSEZ6.js";
|
|
94
94
|
import {
|
|
95
95
|
cleanupCheckpoints,
|
|
96
96
|
registerCleanup,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
runExitCleanup,
|
|
100
100
|
runSyncCleanup,
|
|
101
101
|
setupSignalHandlers
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-COKAF5GM.js";
|
|
103
103
|
import {
|
|
104
104
|
AuthType,
|
|
105
105
|
ChatRecordingService,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
updatePolicy,
|
|
200
200
|
writeToStderr,
|
|
201
201
|
writeToStdout
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-7VVHSNDQ.js";
|
|
203
203
|
import {
|
|
204
204
|
ASK_USER_TOOL_NAME,
|
|
205
205
|
ApprovalMode,
|
|
@@ -7826,7 +7826,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7826
7826
|
}
|
|
7827
7827
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7828
7828
|
const packageJson = await getPackageJson(__dirname3);
|
|
7829
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.42.0
|
|
7829
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.42.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7830
7830
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7831
7831
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7832
7832
|
}
|
|
@@ -10229,7 +10229,7 @@ async function runNonInteractive({
|
|
|
10229
10229
|
}
|
|
10230
10230
|
});
|
|
10231
10231
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10232
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10232
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-VM2WTHBX.js");
|
|
10233
10233
|
setupInitialActivityLogger(config);
|
|
10234
10234
|
}
|
|
10235
10235
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10697,7 +10697,7 @@ async function runNonInteractive2(params) {
|
|
|
10697
10697
|
}
|
|
10698
10698
|
});
|
|
10699
10699
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10700
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10700
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-VM2WTHBX.js");
|
|
10701
10701
|
setupInitialActivityLogger(config);
|
|
10702
10702
|
}
|
|
10703
10703
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15760,7 +15760,7 @@ async function resolveSessionId(resumeArg, sessionIdArg) {
|
|
|
15760
15760
|
}
|
|
15761
15761
|
}
|
|
15762
15762
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15763
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15763
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-AG2YWL2O.js");
|
|
15764
15764
|
await doStartUI(
|
|
15765
15765
|
config,
|
|
15766
15766
|
settings,
|
|
@@ -15967,7 +15967,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15967
15967
|
await config.storage.initialize();
|
|
15968
15968
|
adminControlsListner.setConfig(config);
|
|
15969
15969
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15970
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15970
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-VM2WTHBX.js");
|
|
15971
15971
|
setupInitialActivityLogger(config);
|
|
15972
15972
|
}
|
|
15973
15973
|
registerTelemetryConfig(config);
|
|
@@ -16026,7 +16026,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16026
16026
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16027
16027
|
const initializationResult = await initializeApp(config, settings);
|
|
16028
16028
|
initAppHandle?.end();
|
|
16029
|
-
import("./liteRtServerManager-
|
|
16029
|
+
import("./liteRtServerManager-BXQ6VVWP.js").then(({ LiteRtServerManager }) => {
|
|
16030
16030
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16031
16031
|
if (!mergedGemma) return;
|
|
16032
16032
|
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-QOZSZYL7.js";
|
|
8
|
+
import "./chunk-G2VTSEZ6.js";
|
|
9
|
+
import "./chunk-COKAF5GM.js";
|
|
10
|
+
import "./chunk-7VVHSNDQ.js";
|
|
11
11
|
import "./chunk-JEW7ZIWE.js";
|
|
12
12
|
import "./chunk-664ZODQF.js";
|
|
13
13
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -110,9 +110,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
} else {
|
|
113
|
-
const { main } = await import("./gemini-
|
|
114
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
115
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
113
|
+
const { main } = await import("./gemini-QSTQ2DBG.js");
|
|
114
|
+
const { FatalError, writeToStderr } = await import("./dist-6BN2CJPN.js");
|
|
115
|
+
const { runExitCleanup } = await import("./cleanup-XFVHHDVO.js");
|
|
116
116
|
main().catch(async (error) => {
|
|
117
117
|
const cleanupTimeout = setTimeout(() => {
|
|
118
118
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -155,13 +155,13 @@ import {
|
|
|
155
155
|
widestLineFromStyledChars,
|
|
156
156
|
wordBreakStyledChars,
|
|
157
157
|
wrapStyledChars
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-COQP2M4D.js";
|
|
159
159
|
import {
|
|
160
160
|
appEvents
|
|
161
161
|
} from "./chunk-5PS3AYFU.js";
|
|
162
162
|
import {
|
|
163
163
|
require_source
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-WIXUKOZA.js";
|
|
165
165
|
import {
|
|
166
166
|
ACTIVE_SHELL_MAX_LINES,
|
|
167
167
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -211,24 +211,24 @@ import {
|
|
|
211
211
|
stringWidth,
|
|
212
212
|
stripUnsafeCharacters,
|
|
213
213
|
toCodePoints
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-XUMRUXOT.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-3IS7GD6D.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-GA527JB7.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-LATVEETM.js";
|
|
232
232
|
import {
|
|
233
233
|
ApiKeyUpdatedEvent,
|
|
234
234
|
AsyncFzf,
|
|
@@ -352,7 +352,7 @@ import {
|
|
|
352
352
|
validatePlanContent,
|
|
353
353
|
validatePlanPath,
|
|
354
354
|
writeToStdout
|
|
355
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-DN4XSYRG.js";
|
|
356
356
|
import {
|
|
357
357
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
358
358
|
AGENT_TOOL_NAME,
|
|
@@ -33482,7 +33482,7 @@ ${queuedText}` : queuedText;
|
|
|
33482
33482
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33483
33483
|
if (settings.merged.general.devtools) {
|
|
33484
33484
|
void (async () => {
|
|
33485
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33485
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-RUEO5PGP.js");
|
|
33486
33486
|
await toggleDevToolsPanel(
|
|
33487
33487
|
config,
|
|
33488
33488
|
showErrorDetails,
|
|
@@ -155,13 +155,13 @@ import {
|
|
|
155
155
|
widestLineFromStyledChars,
|
|
156
156
|
wordBreakStyledChars,
|
|
157
157
|
wrapStyledChars
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-FCAODPNO.js";
|
|
159
159
|
import {
|
|
160
160
|
appEvents
|
|
161
161
|
} from "./chunk-5PS3AYFU.js";
|
|
162
162
|
import {
|
|
163
163
|
require_source
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-4SLGT6YD.js";
|
|
165
165
|
import {
|
|
166
166
|
ACTIVE_SHELL_MAX_LINES,
|
|
167
167
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -211,24 +211,24 @@ import {
|
|
|
211
211
|
stringWidth,
|
|
212
212
|
stripUnsafeCharacters,
|
|
213
213
|
toCodePoints
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-EDKX67D6.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-QOZSZYL7.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-G2VTSEZ6.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-COKAF5GM.js";
|
|
232
232
|
import {
|
|
233
233
|
ApiKeyUpdatedEvent,
|
|
234
234
|
AsyncFzf,
|
|
@@ -363,7 +363,7 @@ import {
|
|
|
363
363
|
validatePlanContent,
|
|
364
364
|
validatePlanPath,
|
|
365
365
|
writeToStdout
|
|
366
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-7VVHSNDQ.js";
|
|
367
367
|
import {
|
|
368
368
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
369
369
|
AGENT_TOOL_NAME,
|
|
@@ -33500,7 +33500,7 @@ ${queuedText}` : queuedText;
|
|
|
33500
33500
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33501
33501
|
if (settings.merged.general.devtools) {
|
|
33502
33502
|
void (async () => {
|
|
33503
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33503
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-VM2WTHBX.js");
|
|
33504
33504
|
await toggleDevToolsPanel(
|
|
33505
33505
|
config,
|
|
33506
33506
|
showErrorDetails,
|