@google/gemini-cli 0.45.0-preview.1 → 0.45.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-6WWGBNKT.js → chunk-2ARYG3KE.js} +1 -1
- package/bundle/{chunk-2ZH72RHY.js → chunk-3TWZMAJU.js} +3 -3
- package/bundle/{chunk-BO72FGK2.js → chunk-4EBMYFID.js} +7 -7
- package/bundle/{chunk-K43EAKOP.js → chunk-4KOU3QNT.js} +5 -8
- package/bundle/{chunk-BLUAEAZN.js → chunk-53SRWMUU.js} +1 -1
- package/bundle/{chunk-5YTIYFJO.js → chunk-6T7N6JF2.js} +4 -4
- package/bundle/{chunk-OWSYSTWM.js → chunk-EORX7LYI.js} +1 -1
- package/bundle/{chunk-IGJG7DNZ.js → chunk-EUYIPFPA.js} +1 -1
- package/bundle/{chunk-3NDAYKF4.js → chunk-GVEZJIV3.js} +1 -1
- package/bundle/{chunk-E3KBY4EQ.js → chunk-HFVEWB6N.js} +1 -1
- package/bundle/{chunk-CJTRYZPP.js → chunk-IL7J46PP.js} +3 -3
- package/bundle/{chunk-4KX3ETW3.js → chunk-JLFE3KRS.js} +1 -1
- package/bundle/{chunk-JXVK53RJ.js → chunk-K6WTIGVC.js} +2 -2
- package/bundle/{chunk-JWWA32XO.js → chunk-KSNTXH4E.js} +54 -67
- package/bundle/{chunk-R52453KY.js → chunk-N6QPQL7E.js} +4 -4
- package/bundle/{chunk-Y6SLZFPD.js → chunk-PNU4GACG.js} +2 -2
- package/bundle/{chunk-FEY3T6LA.js → chunk-PXEK5ENZ.js} +8 -9
- package/bundle/{chunk-5BX5PJIE.js → chunk-SG46YSQ3.js} +7 -7
- package/bundle/{chunk-S6AQSJNU.js → chunk-THZMPVCN.js} +1 -1
- package/bundle/{chunk-WTRP3GGZ.js → chunk-TWSSMLUS.js} +1 -1
- package/bundle/{chunk-HA5VES5S.js → chunk-VL3FKVC7.js} +3 -3
- package/bundle/{chunk-DDJWQSDN.js → chunk-XV2YFH7B.js} +14033 -7525
- package/bundle/{chunk-NB2NOE4L.js → chunk-YI3KORH5.js} +2 -2
- package/bundle/{chunk-CJHCK2YW.js → chunk-Z5F25543.js} +1 -1
- package/bundle/{cleanup-2FHZMQ3Z.js → cleanup-3SMSXJJA.js} +2 -2
- package/bundle/{cleanup-F7XRM3DT.js → cleanup-FNQ3LEWG.js} +2 -2
- package/bundle/{cleanup-OZH3SJVM.js → cleanup-I56KHTTC.js} +2 -2
- package/bundle/{core-B47ZXN3Y.js → core-AQUUQTX2.js} +1 -1
- package/bundle/{dist-C6L3MGQS.js → core-KGXBOJTX.js} +1 -1
- package/bundle/{devtoolsService-L7PYKOHR.js → devtoolsService-EW3B2Y63.js} +2 -2
- package/bundle/{devtoolsService-XYSZCMQM.js → devtoolsService-F7PHNBEQ.js} +2 -2
- package/bundle/{devtoolsService-OYQJHPEW.js → devtoolsService-VFEFRDYG.js} +3 -4
- package/bundle/{dist-MOEHPHUN.js → dist-2G5KTD32.js} +1 -1
- package/bundle/{gemini-LT5MWLZQ.js → gemini-4KS2EZX6.js} +14 -14
- package/bundle/{gemini-CHS2YNJG.js → gemini-JMMBFICD.js} +196 -212
- package/bundle/{gemini-2XSNIT2N.js → gemini-ORQHD633.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-UUI7OUZK.js → interactiveCli-ESB66RW7.js} +8 -8
- package/bundle/{interactiveCli-2YFAMDR5.js → interactiveCli-XUZZOZXX.js} +8 -8
- package/bundle/{interactiveCli-6EFCVZP7.js → interactiveCli-ZJXV4DW7.js} +295 -314
- package/bundle/{liteRtServerManager-2VKZTPMY.js → liteRtServerManager-DORIWEMR.js} +4 -4
- package/bundle/{liteRtServerManager-4PZ3X7SS.js → liteRtServerManager-HELKQKOZ.js} +4 -4
- package/bundle/{liteRtServerManager-GH6VHWTU.js → liteRtServerManager-RNNHEQJI.js} +4 -4
- package/bundle/{oauth2-provider-BDX6V2YX.js → oauth2-provider-2IJNOFOO.js} +1 -1
- package/bundle/{oauth2-provider-4UIWNIX3.js → oauth2-provider-7N4OFPTL.js} +1 -1
- package/bundle/{oauth2-provider-N2ZY2DXQ.js → oauth2-provider-YYLBPESU.js} +72 -38
- package/bundle/{start-3LEQZELI.js → start-66KF6MVV.js} +6 -6
- package/bundle/{start-FH2E2VQ2.js → start-IGG6LDST.js} +6 -6
- package/bundle/{start-FPEO7KCZ.js → start-R7DTCFCN.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-565MWDPP.js +0 -394439
- package/bundle/chunk-HVWNKZSB.js +0 -154
- package/bundle/chunk-HZCAEM2F.js +0 -398
- package/bundle/chunk-NVJOR76X.js +0 -1571
- package/bundle/chunk-NYWYNF2Z.js +0 -81685
- package/bundle/chunk-OQLEYMM2.js +0 -512
- package/bundle/chunk-SKDT4PWC.js +0 -118
- package/bundle/chunk-TCAVPMJX.js +0 -17320
- package/bundle/cleanup-ZO5CVKGH.js +0 -32
- package/bundle/devtoolsService-SGV7MSUA.js +0 -856
- package/bundle/dist-WLKMTHZQ.js +0 -2134
- package/bundle/gemini-CQDPCFEE.js +0 -16406
- package/bundle/interactiveCli-HA3BASZN.js +0 -34726
- package/bundle/liteRtServerManager-OMSM6SJU.js +0 -65
- package/bundle/oauth2-provider-TRRJCE2P.js +0 -235
- package/bundle/start-J7G6YXDJ.js +0 -18
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SG46YSQ3.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-IL7J46PP.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-53SRWMUU.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-EUYIPFPA.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-K6WTIGVC.js";
|
|
93
|
+
import "./chunk-Z5F25543.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-EORX7LYI.js";
|
|
103
103
|
import {
|
|
104
104
|
ASK_USER_TOOL_NAME,
|
|
105
105
|
ApprovalMode,
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
updatePolicy,
|
|
248
248
|
writeToStderr,
|
|
249
249
|
writeToStdout
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-6T7N6JF2.js";
|
|
251
251
|
import "./chunk-6HI7VNOG.js";
|
|
252
252
|
import "./chunk-TUDYL3X4.js";
|
|
253
253
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7843
7843
|
const packageJson = await getPackageJson(__dirname3);
|
|
7844
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0
|
|
7844
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7845
7845
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7846
7846
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7847
7847
|
}
|
|
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
|
|
|
10249
10249
|
}
|
|
10250
10250
|
});
|
|
10251
10251
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10252
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10252
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.js");
|
|
10253
10253
|
setupInitialActivityLogger(config);
|
|
10254
10254
|
}
|
|
10255
10255
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
|
|
|
10720
10720
|
}
|
|
10721
10721
|
});
|
|
10722
10722
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10723
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10723
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.js");
|
|
10724
10724
|
setupInitialActivityLogger(config);
|
|
10725
10725
|
}
|
|
10726
10726
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15908,7 +15908,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15908
15908
|
}
|
|
15909
15909
|
}
|
|
15910
15910
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15911
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15911
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XUZZOZXX.js");
|
|
15912
15912
|
await doStartUI(
|
|
15913
15913
|
config,
|
|
15914
15914
|
settings,
|
|
@@ -16117,7 +16117,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16117
16117
|
await config.storage.initialize();
|
|
16118
16118
|
adminControlsListner.setConfig(config);
|
|
16119
16119
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16120
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16120
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.js");
|
|
16121
16121
|
setupInitialActivityLogger(config);
|
|
16122
16122
|
}
|
|
16123
16123
|
registerTelemetryConfig(config);
|
|
@@ -16176,7 +16176,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16176
16176
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16177
16177
|
const initializationResult = await initializeApp(config, settings);
|
|
16178
16178
|
initAppHandle?.end();
|
|
16179
|
-
import("./liteRtServerManager-
|
|
16179
|
+
import("./liteRtServerManager-DORIWEMR.js").then(({ LiteRtServerManager }) => {
|
|
16180
16180
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16181
16181
|
if (!mergedGemma) return;
|
|
16182
16182
|
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-K6WTIGVC.js";
|
|
8
|
+
import "./chunk-Z5F25543.js";
|
|
9
|
+
import "./chunk-EORX7LYI.js";
|
|
10
|
+
import "./chunk-6T7N6JF2.js";
|
|
11
11
|
import "./chunk-6HI7VNOG.js";
|
|
12
12
|
import "./chunk-TUDYL3X4.js";
|
|
13
13
|
import "./chunk-IUUIT4SU.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-ORQHD633.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-2G5KTD32.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-I56KHTTC.js");
|
|
121
121
|
main().catch(async (error) => {
|
|
122
122
|
const cleanupTimeout = setTimeout(() => {
|
|
123
123
|
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-4EBMYFID.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-JLFE3KRS.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-4KOU3QNT.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-PNU4GACG.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-PXEK5ENZ.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-THZMPVCN.js";
|
|
232
232
|
import {
|
|
233
233
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
234
234
|
AGENT_TOOL_NAME,
|
|
@@ -410,7 +410,7 @@ import {
|
|
|
410
410
|
validatePlanContent,
|
|
411
411
|
validatePlanPath,
|
|
412
412
|
writeToStdout
|
|
413
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-XV2YFH7B.js";
|
|
414
414
|
import "./chunk-6HI7VNOG.js";
|
|
415
415
|
import "./chunk-TUDYL3X4.js";
|
|
416
416
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -33702,7 +33702,7 @@ ${queuedText}` : queuedText;
|
|
|
33702
33702
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33703
33703
|
if (settings.merged.general.devtools) {
|
|
33704
33704
|
void (async () => {
|
|
33705
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33705
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-VFEFRDYG.js");
|
|
33706
33706
|
await toggleDevToolsPanel(
|
|
33707
33707
|
config,
|
|
33708
33708
|
showErrorDetails,
|
|
@@ -155,13 +155,13 @@ import {
|
|
|
155
155
|
widestLineFromStyledChars,
|
|
156
156
|
wordBreakStyledChars,
|
|
157
157
|
wrapStyledChars
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-SG46YSQ3.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-53SRWMUU.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-EUYIPFPA.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-K6WTIGVC.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-Z5F25543.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-EORX7LYI.js";
|
|
232
232
|
import {
|
|
233
233
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
234
234
|
AGENT_TOOL_NAME,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
validatePlanContent,
|
|
430
430
|
validatePlanPath,
|
|
431
431
|
writeToStdout
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-6T7N6JF2.js";
|
|
433
433
|
import "./chunk-6HI7VNOG.js";
|
|
434
434
|
import "./chunk-TUDYL3X4.js";
|
|
435
435
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -33721,7 +33721,7 @@ ${queuedText}` : queuedText;
|
|
|
33721
33721
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33722
33722
|
if (settings.merged.general.devtools) {
|
|
33723
33723
|
void (async () => {
|
|
33724
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33724
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-EW3B2Y63.js");
|
|
33725
33725
|
await toggleDevToolsPanel(
|
|
33726
33726
|
config,
|
|
33727
33727
|
showErrorDetails,
|