@google/gemini-cli 0.40.0-preview.5 → 0.40.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-FVKIOUK2.js → chunk-3F3SMPJP.js} +6 -6
- package/bundle/{chunk-PSFOLETP.js → chunk-3OSQ5US4.js} +4 -4
- package/bundle/{chunk-RZLEHIPO.js → chunk-BSQN7W2F.js} +1 -1
- package/bundle/{chunk-LZ3EBZC7.js → chunk-DYY5TRG5.js} +1 -1
- package/bundle/{chunk-2ZVZANM2.js → chunk-EITHKKXC.js} +2 -2
- package/bundle/{chunk-4QJ7BLYU.js → chunk-FRSESBS3.js} +11904 -6382
- package/bundle/{chunk-JMNFQX6P.js → chunk-G6ODSHKI.js} +1 -1
- package/bundle/{chunk-OFQ5ZK6W.js → chunk-HMR2JSPA.js} +1 -1
- package/bundle/{chunk-UOPSSTRT.js → chunk-J76QO4KN.js} +6 -6
- package/bundle/{chunk-M67MTWAA.js → chunk-MBLCGSJW.js} +1 -1
- package/bundle/{chunk-BXEIZYPT.js → chunk-ML7VG4QG.js} +2 -2
- package/bundle/{chunk-HGZ3O2PQ.js → chunk-O7SPQTAS.js} +2 -2
- package/bundle/{chunk-PPI7V737.js → chunk-OE2ZUR66.js} +12 -14
- package/bundle/{chunk-S2RMF5OF.js → chunk-OEIRJHU4.js} +53 -66
- package/bundle/{chunk-PUYH6WLU.js → chunk-P7LA6IIC.js} +1 -1
- package/bundle/{chunk-WKLZQYVS.js → chunk-RUHTTGS7.js} +3 -3
- package/bundle/{chunk-JEEOZX7K.js → chunk-SZYCJREE.js} +4 -4
- package/bundle/{chunk-KH7Y2E2B.js → chunk-URTDU3HF.js} +1 -1
- package/bundle/{cleanup-LU6VH5LF.js → cleanup-6MKBWA6V.js} +2 -2
- package/bundle/{cleanup-7NMCYTRU.js → cleanup-AJ7G3WEE.js} +2 -2
- package/bundle/{cleanup-CC4DZYSL.js → cleanup-SOJQVOTG.js} +3 -3
- package/bundle/{core-J5EG27YJ.js → core-KELRGMHQ.js} +1 -1
- package/bundle/{dist-BDCT3HTY.js → core-O5TD6NYP.js} +2 -2
- package/bundle/{devtoolsService-L4UM23JP.js → devtoolsService-AR5HWQA7.js} +2 -2
- package/bundle/{devtoolsService-DVFBLZLE.js → devtoolsService-CCXHJEUM.js} +2 -2
- package/bundle/{devtoolsService-F5VVJOGU.js → devtoolsService-GQF7V6FB.js} +4 -5
- package/bundle/{dist-3PE52RNR.js → dist-LZ5ASNAL.js} +1 -1
- package/bundle/{gemini-43M45BZJ.js → gemini-LSLMD4HG.js} +12 -12
- package/bundle/{gemini-A2RKH6S6.js → gemini-TKPXJBGX.js} +175 -191
- package/bundle/{gemini-TUKIRRHO.js → gemini-YJTI2WQP.js} +12 -12
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-UEQVG6ZN.js → interactiveCli-5YSP2IQI.js} +6 -6
- package/bundle/{interactiveCli-5KEHC4M6.js → interactiveCli-I56L63GE.js} +272 -290
- package/bundle/{interactiveCli-3ZFYCJ5T.js → interactiveCli-O3UYJUNT.js} +6 -6
- package/bundle/{liteRtServerManager-G54ML27L.js → liteRtServerManager-6INPACOA.js} +3 -3
- package/bundle/{liteRtServerManager-YKGSBN3S.js → liteRtServerManager-CIC7DD4U.js} +3 -3
- package/bundle/{liteRtServerManager-OMCP3UEP.js → liteRtServerManager-XI56E5P3.js} +4 -4
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-R3XULSB6.js → oauth2-provider-HDKVDC2Q.js} +1 -1
- package/bundle/{oauth2-provider-2Q7SY72N.js → oauth2-provider-HUMYTY6K.js} +1 -1
- package/bundle/{oauth2-provider-LO4KVOIV.js → oauth2-provider-VGGNG5XI.js} +73 -39
- package/bundle/{start-M46TTTBT.js → start-25VD33TV.js} +5 -5
- package/bundle/{start-G4HKE6RC.js → start-U4YQCY2A.js} +6 -6
- package/bundle/{start-O5R43BH5.js → start-VHURPYN7.js} +5 -5
- package/package.json +1 -1
- package/bundle/chunk-CTIVBV4R.js +0 -17505
- package/bundle/chunk-JTHK45BC.js +0 -118
- package/bundle/chunk-KAUTKFXF.js +0 -80012
- package/bundle/chunk-O5W5VNIB.js +0 -156
- package/bundle/chunk-WZUAJ737.js +0 -1571
- package/bundle/chunk-YQJLBMKU.js +0 -351149
- package/bundle/cleanup-QDR2CCLD.js +0 -33
- package/bundle/devtoolsService-LAXMLGUQ.js +0 -852
- package/bundle/dist-SXIB7Y3D.js +0 -2046
- package/bundle/gemini-5JHX3PCD.js +0 -16087
- package/bundle/interactiveCli-SQE667CT.js +0 -34448
- package/bundle/liteRtServerManager-ROQMRMW3.js +0 -65
- package/bundle/oauth2-provider-PTW7EGZX.js +0 -237
- package/bundle/start-VMKLEM5K.js +0 -18
|
@@ -246075,8 +246075,8 @@ var EventMetadataKey;
|
|
|
246075
246075
|
})(EventMetadataKey || (EventMetadataKey = {}));
|
|
246076
246076
|
|
|
246077
246077
|
// packages/core/dist/src/generated/git-commit.js
|
|
246078
|
-
var GIT_COMMIT_INFO = "
|
|
246079
|
-
var CLI_VERSION = "0.40.0
|
|
246078
|
+
var GIT_COMMIT_INFO = "cefbd08f7";
|
|
246079
|
+
var CLI_VERSION = "0.40.0";
|
|
246080
246080
|
|
|
246081
246081
|
// packages/core/dist/src/ide/detect-ide.js
|
|
246082
246082
|
var IDE_DEFINITIONS = {
|
|
@@ -268999,7 +268999,7 @@ function getVersion() {
|
|
|
268999
268999
|
}
|
|
269000
269000
|
versionPromise = (async () => {
|
|
269001
269001
|
const pkgJson = await getPackageJson(__dirname4);
|
|
269002
|
-
return "0.40.0
|
|
269002
|
+
return "0.40.0";
|
|
269003
269003
|
})();
|
|
269004
269004
|
return versionPromise;
|
|
269005
269005
|
}
|
|
@@ -300105,7 +300105,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
300105
300105
|
return provider;
|
|
300106
300106
|
}
|
|
300107
300107
|
case "oauth2": {
|
|
300108
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
300108
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-HUMYTY6K.js");
|
|
300109
300109
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
300110
300110
|
await provider.initialize();
|
|
300111
300111
|
return provider;
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-BSQN7W2F.js";
|
|
15
|
+
import "./chunk-FRSESBS3.js";
|
|
16
16
|
import "./chunk-UHHRGNIO.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-URTDU3HF.js";
|
|
15
|
+
import "./chunk-SZYCJREE.js";
|
|
16
16
|
import "./chunk-F73F75XM.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-ML7VG4QG.js";
|
|
15
|
+
import "./chunk-3OSQ5US4.js";
|
|
16
|
+
import "./chunk-UHHRGNIO.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
19
19
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -764,7 +764,7 @@ import {
|
|
|
764
764
|
wrapInAccountChooser,
|
|
765
765
|
writeToStderr,
|
|
766
766
|
writeToStdout
|
|
767
|
-
} from "./chunk-
|
|
767
|
+
} from "./chunk-3OSQ5US4.js";
|
|
768
768
|
import {
|
|
769
769
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
770
770
|
AGENT_TOOL_NAME,
|
|
@@ -1017,7 +1017,7 @@ import {
|
|
|
1017
1017
|
toFriendlyError,
|
|
1018
1018
|
toPathKey,
|
|
1019
1019
|
unescapePath
|
|
1020
|
-
} from "./chunk-
|
|
1020
|
+
} from "./chunk-UHHRGNIO.js";
|
|
1021
1021
|
import "./chunk-664ZODQF.js";
|
|
1022
1022
|
import "./chunk-RJTRUG2J.js";
|
|
1023
1023
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-3OSQ5US4.js";
|
|
3
3
|
import {
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
@@ -817,7 +817,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
817
817
|
return;
|
|
818
818
|
}
|
|
819
819
|
try {
|
|
820
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
820
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-O5TD6NYP.js");
|
|
821
821
|
const url = await startDevToolsServer(config);
|
|
822
822
|
if (shouldLaunchBrowser()) {
|
|
823
823
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-SZYCJREE.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -818,7 +818,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
818
818
|
return;
|
|
819
819
|
}
|
|
820
820
|
try {
|
|
821
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
821
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-LZ5ASNAL.js");
|
|
822
822
|
const url = await startDevToolsServer(config);
|
|
823
823
|
if (shouldLaunchBrowser()) {
|
|
824
824
|
try {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-FRSESBS3.js";
|
|
3
3
|
import {
|
|
4
|
-
CoreEvent,
|
|
5
4
|
coreEvents,
|
|
6
5
|
debugLogger
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UHHRGNIO.js";
|
|
8
7
|
import {
|
|
9
8
|
wrapper_default
|
|
10
9
|
} from "./chunk-664ZODQF.js";
|
|
@@ -667,7 +666,7 @@ var bridgeAttached = false;
|
|
|
667
666
|
function bridgeCoreEvents(capture) {
|
|
668
667
|
if (bridgeAttached) return;
|
|
669
668
|
bridgeAttached = true;
|
|
670
|
-
coreEvents.on(
|
|
669
|
+
coreEvents.on("console-log" /* ConsoleLog */, (payload) => {
|
|
671
670
|
capture.logConsole(payload);
|
|
672
671
|
});
|
|
673
672
|
}
|
|
@@ -818,7 +817,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
818
817
|
return;
|
|
819
818
|
}
|
|
820
819
|
try {
|
|
821
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./
|
|
820
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-KELRGMHQ.js");
|
|
822
821
|
const url = await startDevToolsServer(config);
|
|
823
822
|
if (shouldLaunchBrowser()) {
|
|
824
823
|
try {
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
updateAllUpdatableExtensions,
|
|
44
44
|
updateExtension,
|
|
45
45
|
validateAuthMethod
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3F3SMPJP.js";
|
|
47
47
|
import {
|
|
48
48
|
appEvents
|
|
49
49
|
} from "./chunk-5PS3AYFU.js";
|
|
50
50
|
import {
|
|
51
51
|
startCommand,
|
|
52
52
|
startServer
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-O7SPQTAS.js";
|
|
54
54
|
import {
|
|
55
55
|
exitCli,
|
|
56
56
|
require_source
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-G6ODSHKI.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_PORT,
|
|
60
60
|
GEMMA_MODEL_NAME,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
readServerProcessInfo,
|
|
89
89
|
resolveGemmaConfig,
|
|
90
90
|
saveModelChange
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MBLCGSJW.js";
|
|
92
92
|
import {
|
|
93
93
|
cleanupCheckpoints,
|
|
94
94
|
registerCleanup,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
runExitCleanup,
|
|
98
98
|
runSyncCleanup,
|
|
99
99
|
setupSignalHandlers
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-URTDU3HF.js";
|
|
101
101
|
import {
|
|
102
102
|
AuthType,
|
|
103
103
|
ChatRecordingService,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
updatePolicy,
|
|
197
197
|
writeToStderr,
|
|
198
198
|
writeToStdout
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-SZYCJREE.js";
|
|
200
200
|
import {
|
|
201
201
|
ASK_USER_TOOL_NAME,
|
|
202
202
|
ApprovalMode,
|
|
@@ -7970,7 +7970,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7970
7970
|
}
|
|
7971
7971
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7972
7972
|
const packageJson = await getPackageJson(__dirname3);
|
|
7973
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0
|
|
7973
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7974
7974
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7975
7975
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7976
7976
|
}
|
|
@@ -10311,7 +10311,7 @@ async function runNonInteractive({
|
|
|
10311
10311
|
}
|
|
10312
10312
|
});
|
|
10313
10313
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10314
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10314
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-CCXHJEUM.js");
|
|
10315
10315
|
setupInitialActivityLogger(config);
|
|
10316
10316
|
}
|
|
10317
10317
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10762,7 +10762,7 @@ async function runNonInteractive2(params) {
|
|
|
10762
10762
|
}
|
|
10763
10763
|
});
|
|
10764
10764
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10765
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10765
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-CCXHJEUM.js");
|
|
10766
10766
|
setupInitialActivityLogger(config);
|
|
10767
10767
|
}
|
|
10768
10768
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15611,7 +15611,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
15611
15611
|
}
|
|
15612
15612
|
}
|
|
15613
15613
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15614
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15614
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-O3UYJUNT.js");
|
|
15615
15615
|
await doStartUI(
|
|
15616
15616
|
config,
|
|
15617
15617
|
settings,
|
|
@@ -15813,7 +15813,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15813
15813
|
await config.storage.initialize();
|
|
15814
15814
|
adminControlsListner.setConfig(config);
|
|
15815
15815
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15816
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15816
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-CCXHJEUM.js");
|
|
15817
15817
|
setupInitialActivityLogger(config);
|
|
15818
15818
|
}
|
|
15819
15819
|
registerTelemetryConfig(config);
|
|
@@ -15869,7 +15869,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15869
15869
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
15870
15870
|
const initializationResult = await initializeApp(config, settings);
|
|
15871
15871
|
initAppHandle?.end();
|
|
15872
|
-
import("./liteRtServerManager-
|
|
15872
|
+
import("./liteRtServerManager-6INPACOA.js").then(({ LiteRtServerManager }) => {
|
|
15873
15873
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
15874
15874
|
if (!mergedGemma) return;
|
|
15875
15875
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|