@google/gemini-cli 0.46.0-preview.1 → 0.46.0-preview.3
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/builtin/antigravity-support/SKILL.md +58 -0
- package/bundle/{chunk-24H54ISH.js → chunk-2GESUVEI.js} +165 -114
- package/bundle/{chunk-YINW7YTJ.js → chunk-2XKNPALS.js} +1 -1
- package/bundle/{chunk-KQ4V7ZN4.js → chunk-3PLUHPJV.js} +165 -114
- package/bundle/{chunk-QEVRJ7HY.js → chunk-5ND76TYS.js} +77 -12
- package/bundle/{chunk-ITC7TFJU.js → chunk-6WDE67I7.js} +64 -8
- package/bundle/{chunk-5CWORGE3.js → chunk-7GTQ3TVY.js} +1 -1
- package/bundle/{chunk-7Y6NU65D.js → chunk-AJKD63PC.js} +1 -1
- package/bundle/{chunk-ONUDATHO.js → chunk-AYF4WWI6.js} +3 -3
- package/bundle/{chunk-JF6RJW53.js → chunk-CIWJFNFL.js} +1 -1
- package/bundle/{chunk-UM53YDCH.js → chunk-CQ5T2OOT.js} +1 -1
- package/bundle/{chunk-QMCEWHRR.js → chunk-DVLOSJL6.js} +1 -1
- package/bundle/{chunk-4B7MDBUK.js → chunk-FHPHAHTC.js} +1 -1
- package/bundle/{chunk-VEHSYWQT.js → chunk-IPSGP4HZ.js} +1 -1
- package/bundle/{chunk-5IBYZHR7.js → chunk-KBVSP7UV.js} +2 -2
- package/bundle/{chunk-KOJR46UO.js → chunk-KK5RNP2O.js} +64 -8
- package/bundle/{chunk-EG7USKV5.js → chunk-KOY6HFDJ.js} +1 -1
- package/bundle/{chunk-GRD2P7HY.js → chunk-LFPQWI47.js} +1 -1
- package/bundle/{chunk-RXYIE5L5.js → chunk-MKTEB4X2.js} +1 -1
- package/bundle/{chunk-O3UKVEBS.js → chunk-PBKO4RQZ.js} +165 -114
- package/bundle/{chunk-YIOYXRDP.js → chunk-PWEKIO66.js} +165 -114
- package/bundle/{chunk-3WW2LTMX.js → chunk-QC2XF7WU.js} +1 -1
- package/bundle/{chunk-HQNVDCXK.js → chunk-S5GUYIK7.js} +1 -1
- package/bundle/{chunk-WRWCUHAM.js → chunk-SWSOO6PG.js} +1 -1
- package/bundle/{chunk-QFWAILKU.js → chunk-TIFKXOWZ.js} +3 -3
- package/bundle/{chunk-R4LEIQZM.js → chunk-V5CL3DRL.js} +3 -3
- package/bundle/{chunk-VOFVOS4I.js → chunk-VFBOEQYZ.js} +3 -3
- package/bundle/{chunk-3EC3ZLRQ.js → chunk-VON23XS2.js} +2 -2
- package/bundle/{chunk-EZDKSTIF.js → chunk-W7QA7FT5.js} +2 -2
- package/bundle/{chunk-ILHDA6XU.js → chunk-XB2Y55JE.js} +1 -1
- package/bundle/{chunk-XVDCGVTF.js → chunk-XMZW4ETE.js} +64 -8
- package/bundle/{chunk-VETILJQA.js → chunk-YQE3FF4G.js} +1 -1
- package/bundle/{chunk-JPYTHGMI.js → chunk-ZW2TA44S.js} +2 -2
- package/bundle/{cleanup-4ZTB4WMN.js → cleanup-3MDHF3OO.js} +2 -2
- package/bundle/{cleanup-7LLX4OFN.js → cleanup-ACXEXWY2.js} +2 -2
- package/bundle/{cleanup-GI5426XS.js → cleanup-EAOW4OCO.js} +2 -2
- package/bundle/{cleanup-ZBLVGXIK.js → cleanup-YRHQYKEA.js} +2 -2
- package/bundle/{core-3UQQYNJF.js → core-HYJM5T45.js} +3 -1
- package/bundle/{devtoolsService-GJWWZ2KK.js → devtoolsService-5ME5JZIQ.js} +2 -2
- package/bundle/{devtoolsService-ZYGDAPOV.js → devtoolsService-6OVP6DUO.js} +2 -2
- package/bundle/{devtoolsService-UNQILSWI.js → devtoolsService-I4R5WQXY.js} +2 -2
- package/bundle/{devtoolsService-Z2YXVMYF.js → devtoolsService-OVSOSM56.js} +2 -2
- package/bundle/{dist-4NVM6I2N.js → dist-EMBSC4SS.js} +3 -1
- package/bundle/{dist-LIQULVXZ.js → dist-SHJ4FBPT.js} +3 -1
- package/bundle/{dist-XPP357J7.js → dist-XMOYSFBW.js} +3 -1
- package/bundle/{gemini-RBKWBGCC.js → gemini-23GFJRSL.js} +14 -14
- package/bundle/{gemini-7GZVH4VW.js → gemini-4SDDBM2K.js} +14 -14
- package/bundle/{gemini-5WY2YO7R.js → gemini-VIZXE6FK.js} +14 -14
- package/bundle/{gemini-QDOVPRKF.js → gemini-XWN3KUEH.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-W3CMLQIM.js → interactiveCli-P65NECXR.js} +31 -21
- package/bundle/{interactiveCli-OEFOYFJU.js → interactiveCli-R6XRMC4D.js} +31 -21
- package/bundle/{interactiveCli-OGE5OTZB.js → interactiveCli-ZHRXRBPP.js} +31 -21
- package/bundle/{interactiveCli-BMKHWEH4.js → interactiveCli-ZLTD7RPN.js} +31 -21
- package/bundle/{liteRtServerManager-3QOJEGNL.js → liteRtServerManager-6YTWQFQF.js} +4 -4
- package/bundle/{liteRtServerManager-HPVNUYFX.js → liteRtServerManager-D6LNW6CQ.js} +4 -4
- package/bundle/{liteRtServerManager-Q6LTEYH4.js → liteRtServerManager-DV2CLRPW.js} +4 -4
- package/bundle/{liteRtServerManager-YL4YRHOA.js → liteRtServerManager-HNNHQ2GQ.js} +4 -4
- package/bundle/{oauth2-provider-3WXIASQA.js → oauth2-provider-BTNIRWZ2.js} +1 -1
- package/bundle/{oauth2-provider-CTPS7JLT.js → oauth2-provider-C3WLQHTS.js} +1 -1
- package/bundle/{oauth2-provider-K52EY6RG.js → oauth2-provider-KWAZCQ6F.js} +1 -1
- package/bundle/{oauth2-provider-PJJE326A.js → oauth2-provider-Y4NUSLR7.js} +1 -1
- package/bundle/{start-25W6VZG6.js → start-2YDK2M2Y.js} +6 -6
- package/bundle/{start-JBJSIKIB.js → start-DKFGI2SP.js} +6 -6
- package/bundle/{start-PK22QMBT.js → start-KPTJV4UZ.js} +6 -6
- package/bundle/{start-XAEHV6FV.js → start-W2EDCOPO.js} +6 -6
- package/package.json +1 -1
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3PLUHPJV.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-TIFKXOWZ.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DVLOSJL6.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-7GTQ3TVY.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-KBVSP7UV.js";
|
|
93
|
+
import "./chunk-SWSOO6PG.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-QC2XF7WU.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-6WDE67I7.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.46.0-preview.
|
|
7844
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.2" ?? 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-I4R5WQXY.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-I4R5WQXY.js");
|
|
10724
10724
|
setupInitialActivityLogger(config);
|
|
10725
10725
|
}
|
|
10726
10726
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15911,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
}
|
|
15913
15913
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15914
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15914
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-R6XRMC4D.js");
|
|
15915
15915
|
await doStartUI(
|
|
15916
15916
|
config,
|
|
15917
15917
|
settings,
|
|
@@ -16120,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16120
16120
|
await config.storage.initialize();
|
|
16121
16121
|
adminControlsListner.setConfig(config);
|
|
16122
16122
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16123
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16123
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-I4R5WQXY.js");
|
|
16124
16124
|
setupInitialActivityLogger(config);
|
|
16125
16125
|
}
|
|
16126
16126
|
registerTelemetryConfig(config);
|
|
@@ -16179,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16179
16179
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16180
16180
|
const initializationResult = await initializeApp(config, settings);
|
|
16181
16181
|
initAppHandle?.end();
|
|
16182
|
-
import("./liteRtServerManager-
|
|
16182
|
+
import("./liteRtServerManager-DV2CLRPW.js").then(({ LiteRtServerManager }) => {
|
|
16183
16183
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16184
16184
|
if (!mergedGemma) return;
|
|
16185
16185
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PBKO4RQZ.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-VFBOEQYZ.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-MKTEB4X2.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-KOY6HFDJ.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-ZW2TA44S.js";
|
|
93
|
+
import "./chunk-CQ5T2OOT.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-LFPQWI47.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-KK5RNP2O.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.46.0-preview.
|
|
7844
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.3" ?? 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-OVSOSM56.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-OVSOSM56.js");
|
|
10724
10724
|
setupInitialActivityLogger(config);
|
|
10725
10725
|
}
|
|
10726
10726
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15911,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
}
|
|
15913
15913
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15914
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15914
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ZHRXRBPP.js");
|
|
15915
15915
|
await doStartUI(
|
|
15916
15916
|
config,
|
|
15917
15917
|
settings,
|
|
@@ -16120,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16120
16120
|
await config.storage.initialize();
|
|
16121
16121
|
adminControlsListner.setConfig(config);
|
|
16122
16122
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16123
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16123
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-OVSOSM56.js");
|
|
16124
16124
|
setupInitialActivityLogger(config);
|
|
16125
16125
|
}
|
|
16126
16126
|
registerTelemetryConfig(config);
|
|
@@ -16179,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16179
16179
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16180
16180
|
const initializationResult = await initializeApp(config, settings);
|
|
16181
16181
|
initAppHandle?.end();
|
|
16182
|
-
import("./liteRtServerManager-
|
|
16182
|
+
import("./liteRtServerManager-6YTWQFQF.js").then(({ LiteRtServerManager }) => {
|
|
16183
16183
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16184
16184
|
if (!mergedGemma) return;
|
|
16185
16185
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PWEKIO66.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-AYF4WWI6.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-CIWJFNFL.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-FHPHAHTC.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-VON23XS2.js";
|
|
93
|
+
import "./chunk-2XKNPALS.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-S5GUYIK7.js";
|
|
103
103
|
import {
|
|
104
104
|
ASK_USER_TOOL_NAME,
|
|
105
105
|
AuthType,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
updatePolicy,
|
|
232
232
|
writeToStderr,
|
|
233
233
|
writeToStdout
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-5ND76TYS.js";
|
|
235
235
|
import "./chunk-6HI7VNOG.js";
|
|
236
236
|
import "./chunk-TUDYL3X4.js";
|
|
237
237
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -7825,7 +7825,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7825
7825
|
}
|
|
7826
7826
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7827
7827
|
const packageJson = await getPackageJson(__dirname3);
|
|
7828
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.
|
|
7828
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.2" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7829
7829
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7830
7830
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7831
7831
|
}
|
|
@@ -10233,7 +10233,7 @@ async function runNonInteractive({
|
|
|
10233
10233
|
}
|
|
10234
10234
|
});
|
|
10235
10235
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10236
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10236
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-6OVP6DUO.js");
|
|
10237
10237
|
setupInitialActivityLogger(config);
|
|
10238
10238
|
}
|
|
10239
10239
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10704,7 +10704,7 @@ async function runNonInteractive2(params) {
|
|
|
10704
10704
|
}
|
|
10705
10705
|
});
|
|
10706
10706
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10707
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10707
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-6OVP6DUO.js");
|
|
10708
10708
|
setupInitialActivityLogger(config);
|
|
10709
10709
|
}
|
|
10710
10710
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15895,7 +15895,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15895
15895
|
}
|
|
15896
15896
|
}
|
|
15897
15897
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15898
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15898
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-P65NECXR.js");
|
|
15899
15899
|
await doStartUI(
|
|
15900
15900
|
config,
|
|
15901
15901
|
settings,
|
|
@@ -16104,7 +16104,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16104
16104
|
await config.storage.initialize();
|
|
16105
16105
|
adminControlsListner.setConfig(config);
|
|
16106
16106
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16107
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16107
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-6OVP6DUO.js");
|
|
16108
16108
|
setupInitialActivityLogger(config);
|
|
16109
16109
|
}
|
|
16110
16110
|
registerTelemetryConfig(config);
|
|
@@ -16163,7 +16163,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16163
16163
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16164
16164
|
const initializationResult = await initializeApp(config, settings);
|
|
16165
16165
|
initAppHandle?.end();
|
|
16166
|
-
import("./liteRtServerManager-
|
|
16166
|
+
import("./liteRtServerManager-D6LNW6CQ.js").then(({ LiteRtServerManager }) => {
|
|
16167
16167
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16168
16168
|
if (!mergedGemma) return;
|
|
16169
16169
|
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-W7QA7FT5.js";
|
|
8
|
+
import "./chunk-IPSGP4HZ.js";
|
|
9
|
+
import "./chunk-AJKD63PC.js";
|
|
10
|
+
import "./chunk-XMZW4ETE.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-23GFJRSL.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-XMOYSFBW.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-YRHQYKEA.js");
|
|
121
121
|
main().catch(async (error) => {
|
|
122
122
|
const cleanupTimeout = setTimeout(() => {
|
|
123
123
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
formatCommand,
|
|
73
73
|
formatDuration,
|
|
74
74
|
formatResetTime,
|
|
75
|
+
getAntigravityInstallInfo,
|
|
75
76
|
getDialogRestartRequiredSettings,
|
|
76
77
|
getDialogSettingKeys,
|
|
77
78
|
getDisplayValue,
|
|
@@ -155,13 +156,13 @@ import {
|
|
|
155
156
|
widestLineFromStyledChars,
|
|
156
157
|
wordBreakStyledChars,
|
|
157
158
|
wrapStyledChars
|
|
158
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-PWEKIO66.js";
|
|
159
160
|
import {
|
|
160
161
|
appEvents
|
|
161
162
|
} from "./chunk-5PS3AYFU.js";
|
|
162
163
|
import {
|
|
163
164
|
require_source
|
|
164
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-CIWJFNFL.js";
|
|
165
166
|
import {
|
|
166
167
|
ACTIVE_SHELL_MAX_LINES,
|
|
167
168
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -211,24 +212,24 @@ import {
|
|
|
211
212
|
stringWidth,
|
|
212
213
|
stripUnsafeCharacters,
|
|
213
214
|
toCodePoints
|
|
214
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-FHPHAHTC.js";
|
|
215
216
|
import {
|
|
216
217
|
handleAutoUpdate,
|
|
217
218
|
isDevelopment,
|
|
218
219
|
relaunchApp,
|
|
219
220
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-VON23XS2.js";
|
|
221
222
|
import {
|
|
222
223
|
isTodoList,
|
|
223
224
|
mapCoreStatusToDisplayStatus,
|
|
224
225
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-2XKNPALS.js";
|
|
226
227
|
import {
|
|
227
228
|
registerCleanup,
|
|
228
229
|
removeCleanup,
|
|
229
230
|
runExitCleanup,
|
|
230
231
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-S5GUYIK7.js";
|
|
232
233
|
import {
|
|
233
234
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
234
235
|
AGENT_TOOL_NAME,
|
|
@@ -410,7 +411,7 @@ import {
|
|
|
410
411
|
validatePlanContent,
|
|
411
412
|
validatePlanPath,
|
|
412
413
|
writeToStdout
|
|
413
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-5ND76TYS.js";
|
|
414
415
|
import "./chunk-6HI7VNOG.js";
|
|
415
416
|
import "./chunk-TUDYL3X4.js";
|
|
416
417
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -505,7 +506,7 @@ var require_prop_types = __commonJS({
|
|
|
505
506
|
var require_gradient_string = __commonJS({
|
|
506
507
|
"node_modules/gradient-string/index.js"(exports, module) {
|
|
507
508
|
"use strict";
|
|
508
|
-
var
|
|
509
|
+
var chalk5 = require_source();
|
|
509
510
|
var tinygradient2 = require_tinygradient();
|
|
510
511
|
var forbiddenChars = /\s/g;
|
|
511
512
|
function InitGradient(...args) {
|
|
@@ -521,7 +522,7 @@ var require_gradient_string = __commonJS({
|
|
|
521
522
|
const colors = getColors(gradient, options, colorsCount);
|
|
522
523
|
let result = "";
|
|
523
524
|
for (const s of str) {
|
|
524
|
-
result += s.match(forbiddenChars) ? s :
|
|
525
|
+
result += s.match(forbiddenChars) ? s : chalk5.hex(colors.shift().toHex())(s);
|
|
525
526
|
}
|
|
526
527
|
return result;
|
|
527
528
|
}
|
|
@@ -535,7 +536,7 @@ var require_gradient_string = __commonJS({
|
|
|
535
536
|
const lineColors = colors.slice(0);
|
|
536
537
|
let lineResult = "";
|
|
537
538
|
for (const l of line) {
|
|
538
|
-
lineResult +=
|
|
539
|
+
lineResult += chalk5.hex(lineColors.shift().toHex())(l);
|
|
539
540
|
}
|
|
540
541
|
results.push(lineResult);
|
|
541
542
|
}
|
|
@@ -10222,6 +10223,7 @@ var Banner = ({ bannerText, isWarning, width }) => {
|
|
|
10222
10223
|
|
|
10223
10224
|
// packages/cli/src/ui/hooks/useBanner.ts
|
|
10224
10225
|
var import_react30 = __toESM(require_react(), 1);
|
|
10226
|
+
var import_chalk2 = __toESM(require_source(), 1);
|
|
10225
10227
|
import crypto from "node:crypto";
|
|
10226
10228
|
var DEFAULT_MAX_BANNER_SHOWN_COUNT = 5;
|
|
10227
10229
|
var sessionIncrementedBanners = /* @__PURE__ */ new Set();
|
|
@@ -10233,9 +10235,17 @@ function useBanner(bannerData) {
|
|
|
10233
10235
|
const activeText = warningText ? warningText : defaultText;
|
|
10234
10236
|
const hashedText = crypto.createHash("sha256").update(activeText).digest("hex");
|
|
10235
10237
|
const currentBannerCount = bannerCounts[hashedText] || 0;
|
|
10236
|
-
const showBanner = activeText !== "" && currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT;
|
|
10238
|
+
const showBanner = activeText !== "" && (currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT || activeText.includes("Antigravity"));
|
|
10237
10239
|
const rawBannerText = showBanner ? activeText : "";
|
|
10238
|
-
|
|
10240
|
+
let bannerText = rawBannerText.replace(/\\n/g, "\n");
|
|
10241
|
+
if (showBanner && activeText.includes("Antigravity")) {
|
|
10242
|
+
const info = getAntigravityInstallInfo();
|
|
10243
|
+
if (info) {
|
|
10244
|
+
bannerText += `
|
|
10245
|
+
|
|
10246
|
+
To install run "${import_chalk2.default.bold(info.installCmd)}"`;
|
|
10247
|
+
}
|
|
10248
|
+
}
|
|
10239
10249
|
(0, import_react30.useEffect)(() => {
|
|
10240
10250
|
if (showBanner && activeText) {
|
|
10241
10251
|
if (!sessionIncrementedBanners.has(activeText)) {
|
|
@@ -13556,7 +13566,7 @@ var import_react44 = __toESM(require_react(), 1);
|
|
|
13556
13566
|
|
|
13557
13567
|
// packages/cli/src/ui/components/shared/BaseSettingsDialog.tsx
|
|
13558
13568
|
var import_react43 = __toESM(require_react(), 1);
|
|
13559
|
-
var
|
|
13569
|
+
var import_chalk3 = __toESM(require_source(), 1);
|
|
13560
13570
|
|
|
13561
13571
|
// packages/cli/src/ui/hooks/useSettingsNavigation.ts
|
|
13562
13572
|
var import_react41 = __toESM(require_react(), 1);
|
|
@@ -14024,9 +14034,9 @@ function BaseSettingsDialog({
|
|
|
14024
14034
|
editCursorPos + 1
|
|
14025
14035
|
);
|
|
14026
14036
|
const afterCursor = cpSlice(editBuffer, editCursorPos + 1);
|
|
14027
|
-
displayValue = beforeCursor +
|
|
14037
|
+
displayValue = beforeCursor + import_chalk3.default.inverse(atCursor) + afterCursor;
|
|
14028
14038
|
} else if (editCursorPos >= cpLen(editBuffer)) {
|
|
14029
|
-
displayValue = editBuffer + (cursorVisible ?
|
|
14039
|
+
displayValue = editBuffer + (cursorVisible ? import_chalk3.default.inverse(" ") : " ");
|
|
14030
14040
|
} else {
|
|
14031
14041
|
displayValue = editBuffer;
|
|
14032
14042
|
}
|
|
@@ -18439,7 +18449,7 @@ var ListeningIndicator = ({
|
|
|
18439
18449
|
};
|
|
18440
18450
|
|
|
18441
18451
|
// packages/cli/src/ui/components/InputPrompt.tsx
|
|
18442
|
-
var
|
|
18452
|
+
var import_chalk4 = __toESM(require_source(), 1);
|
|
18443
18453
|
|
|
18444
18454
|
// packages/cli/src/ui/hooks/useShellHistory.ts
|
|
18445
18455
|
var import_react63 = __toESM(require_react(), 1);
|
|
@@ -22096,7 +22106,7 @@ var InputPrompt = ({
|
|
|
22096
22106
|
relCol - segStart,
|
|
22097
22107
|
relCol - segStart + 1
|
|
22098
22108
|
);
|
|
22099
|
-
const highlighted = showCursor ?
|
|
22109
|
+
const highlighted = showCursor ? import_chalk4.default.inverse(charToHighlight) : charToHighlight;
|
|
22100
22110
|
display = cpSlice(display, 0, relCol - segStart) + highlighted + cpSlice(display, relCol - segStart + 1);
|
|
22101
22111
|
}
|
|
22102
22112
|
charCount = segEnd;
|
|
@@ -22111,7 +22121,7 @@ var InputPrompt = ({
|
|
|
22111
22121
|
const currentLineGhost = isOnCursorLine ? inlineGhost : "";
|
|
22112
22122
|
if (isOnCursorLine && cursorVisualColAbsolute === cpLen(lineText) && !currentLineGhost) {
|
|
22113
22123
|
renderedLine.push(
|
|
22114
|
-
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { children: showCursor ?
|
|
22124
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { children: showCursor ? import_chalk4.default.inverse(" ") : " " }, `cursor-end-${cursorVisualColAbsolute}`)
|
|
22115
22125
|
);
|
|
22116
22126
|
}
|
|
22117
22127
|
const showCursorBeforeGhost = focus && isOnCursorLine && cursorVisualColAbsolute === cpLen(lineText) && currentLineGhost;
|
|
@@ -22125,7 +22135,7 @@ var InputPrompt = ({
|
|
|
22125
22135
|
),
|
|
22126
22136
|
children: [
|
|
22127
22137
|
renderedLine,
|
|
22128
|
-
showCursorBeforeGhost && (showCursor ?
|
|
22138
|
+
showCursorBeforeGhost && (showCursor ? import_chalk4.default.inverse(" ") : " "),
|
|
22129
22139
|
currentLineGhost && /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.text.secondary, children: currentLineGhost })
|
|
22130
22140
|
]
|
|
22131
22141
|
}
|
|
@@ -22260,7 +22270,7 @@ var InputPrompt = ({
|
|
|
22260
22270
|
terminalCursorFocus: showCursor,
|
|
22261
22271
|
terminalCursorPosition: 0,
|
|
22262
22272
|
children: [
|
|
22263
|
-
|
|
22273
|
+
import_chalk4.default.inverse(effectivePlaceholder.slice(0, 1)),
|
|
22264
22274
|
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.text.secondary, children: effectivePlaceholder.slice(1) })
|
|
22265
22275
|
]
|
|
22266
22276
|
}
|
|
@@ -33718,7 +33728,7 @@ ${queuedText}` : queuedText;
|
|
|
33718
33728
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33719
33729
|
if (settings.merged.general.devtools) {
|
|
33720
33730
|
void (async () => {
|
|
33721
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33731
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-6OVP6DUO.js");
|
|
33722
33732
|
await toggleDevToolsPanel(
|
|
33723
33733
|
config,
|
|
33724
33734
|
showErrorDetails,
|