@google/gemini-cli 0.59.0-nightly.20260902.g4963a4456 → 0.59.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-Q5JIA6GT.js → chunk-5MBZBBH2.js} +1 -1
- package/bundle/{chunk-HLKUJQDM.js → chunk-AB5FS4AA.js} +3 -3
- package/bundle/{chunk-T7ZX2IIA.js → chunk-CFD5V7JP.js} +1 -1
- package/bundle/{chunk-CPY5OHHN.js → chunk-CUTHWG3H.js} +8 -8
- package/bundle/{chunk-KWV4AQUZ.js → chunk-EXIGMSNQ.js} +8 -8
- package/bundle/{chunk-C6ZWHKCF.js → chunk-EZCKZ4FP.js} +8 -9
- package/bundle/{chunk-UEJPTQC6.js → chunk-HWQPEGPU.js} +3 -3
- package/bundle/{chunk-IA7Q3KXH.js → chunk-LZ4UWPZ4.js} +1 -1
- package/bundle/{chunk-IJEAUNNQ.js → chunk-MBUPFP25.js} +1 -1
- package/bundle/{chunk-IWRJCZ6U.js → chunk-NBDWOAFH.js} +1 -1
- package/bundle/{chunk-NMQMMCVT.js → chunk-NNFB47JH.js} +1 -1
- package/bundle/{chunk-GSIUURFM.js → chunk-NWWZRJGH.js} +1 -1
- package/bundle/{chunk-JHQHEMVA.js → chunk-O4TDK2BP.js} +2 -2
- package/bundle/{chunk-3VZPRWHY.js → chunk-OXQLGDKV.js} +1 -1
- package/bundle/{chunk-KKCOXPHQ.js → chunk-PC2G646B.js} +5 -8
- package/bundle/{chunk-TZIBDTO2.js → chunk-QEMQJ5WC.js} +55 -68
- package/bundle/{chunk-V6Z4ITCV.js → chunk-QTWDMFI7.js} +2 -2
- package/bundle/{chunk-YUQC6NAA.js → chunk-RSFMNCZQ.js} +3 -3
- package/bundle/{chunk-DIOSE3BS.js → chunk-S4PJ76PA.js} +83 -232
- package/bundle/{chunk-IGCPJWUF.js → chunk-SM627E5R.js} +14467 -7859
- package/bundle/{chunk-DASQGJ7I.js → chunk-WQ6KAW5H.js} +2 -2
- package/bundle/{chunk-6GUIIVVA.js → chunk-YINIG2CS.js} +1 -1
- package/bundle/{chunk-ER2BMKIS.js → chunk-YSBB75DZ.js} +80 -208
- package/bundle/{chunk-7JLIYXNU.js → chunk-ZEWQGTD3.js} +1 -1
- package/bundle/{cleanup-25YS5RTX.js → cleanup-V6FPOSLQ.js} +2 -2
- package/bundle/{cleanup-6GCA4T3P.js → cleanup-XITK52PU.js} +2 -2
- package/bundle/{cleanup-LZUO77TQ.js → cleanup-XLXFAFOM.js} +2 -2
- package/bundle/{core-2TCJDOL6.js → core-3RU5PE2Y.js} +1 -9
- package/bundle/{dist-U5EX4CQJ.js → core-W643DPU2.js} +1 -9
- package/bundle/{devtoolsService-2IXJHCHW.js → devtoolsService-6HD2JXSA.js} +2 -2
- package/bundle/{devtoolsService-CU22AZND.js → devtoolsService-MHCZCWFY.js} +2 -2
- package/bundle/{devtoolsService-BJMUO2XL.js → devtoolsService-QCWLN43R.js} +3 -4
- package/bundle/{dist-VR7BVPAT.js → dist-LLWWE5PU.js} +1 -9
- package/bundle/docs/reference/tools.md +4 -4
- package/bundle/docs/tools/web-fetch.md +3 -7
- package/bundle/{gemini-636YD7YV.js → gemini-CQYKWDIK.js} +14 -14
- package/bundle/{gemini-K4CRJOXJ.js → gemini-LLTPU73C.js} +198 -214
- package/bundle/{gemini-4QZGW7SH.js → gemini-OENNDR6N.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-CS35GNLK.js → interactiveCli-7H2PS7RG.js} +8 -8
- package/bundle/{interactiveCli-2DBA2EUZ.js → interactiveCli-HHIJH7BL.js} +8 -8
- package/bundle/{interactiveCli-3JQSLUI7.js → interactiveCli-RIVGDZH4.js} +296 -315
- package/bundle/{liteRtServerManager-3TZXC7UK.js → liteRtServerManager-3QXIGTR3.js} +4 -4
- package/bundle/{liteRtServerManager-ACIGCEO2.js → liteRtServerManager-ALSWB4ZD.js} +4 -4
- package/bundle/{liteRtServerManager-HSGAX7EP.js → liteRtServerManager-XQKFTZNQ.js} +4 -4
- package/bundle/{oauth2-provider-JRSE3A7L.js → oauth2-provider-JV5L5XL4.js} +1 -1
- package/bundle/{oauth2-provider-7VIOBXML.js → oauth2-provider-KT5RTHDD.js} +1 -1
- package/bundle/{oauth2-provider-PYJGQTFU.js → oauth2-provider-NJUM2T72.js} +72 -38
- package/bundle/{start-6Q4QBVPO.js → start-AGMWAQ3H.js} +6 -6
- package/bundle/{start-HU7I3QO3.js → start-EKWDEYRS.js} +6 -6
- package/bundle/{start-MHK6JBHQ.js → start-LY3VMFGC.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-BOFHLQOG.js +0 -17332
- package/bundle/chunk-F5IP5MHL.js +0 -398
- package/bundle/chunk-I4Y2QIDJ.js +0 -102506
- package/bundle/chunk-JPE4HCHY.js +0 -398010
- package/bundle/chunk-OGVFULXC.js +0 -1571
- package/bundle/chunk-OXMZP3AS.js +0 -118
- package/bundle/chunk-VIH2NMBW.js +0 -512
- package/bundle/chunk-XIHG4K2H.js +0 -154
- package/bundle/cleanup-NCHJS2BY.js +0 -32
- package/bundle/devtoolsService-VC3YH4D2.js +0 -4359
- package/bundle/dist-YZRGVHWZ.js +0 -2196
- package/bundle/gemini-PXW4RELH.js +0 -17337
- package/bundle/interactiveCli-FBKOZYFH.js +0 -34983
- package/bundle/liteRtServerManager-IOJ5CIAG.js +0 -65
- package/bundle/oauth2-provider-QEEGBDTU.js +0 -235
- package/bundle/start-NIWCTDHI.js +0 -18
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NBDWOAFH.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5MBZBBH2.js";
|
|
15
|
+
import "./chunk-SM627E5R.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NNFB47JH.js";
|
|
15
|
+
import "./chunk-YSBB75DZ.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NBDWOAFH.js";
|
|
15
|
+
import "./chunk-S4PJ76PA.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -590,8 +590,6 @@ import {
|
|
|
590
590
|
createHookOutput,
|
|
591
591
|
createPolicyEngineConfig,
|
|
592
592
|
createPolicyUpdater,
|
|
593
|
-
createSafeAgent,
|
|
594
|
-
createSafeConnector,
|
|
595
593
|
createSafeProxyAgent,
|
|
596
594
|
createSandboxManager,
|
|
597
595
|
createSessionId,
|
|
@@ -1018,7 +1016,6 @@ import {
|
|
|
1018
1016
|
runInDevTraceSpan,
|
|
1019
1017
|
safeJsonToMarkdown,
|
|
1020
1018
|
safeLiteralReplace,
|
|
1021
|
-
safeLookup,
|
|
1022
1019
|
safeTemplateReplace,
|
|
1023
1020
|
sanitizeAdminSettings,
|
|
1024
1021
|
sanitizeFilenamePart,
|
|
@@ -1086,12 +1083,11 @@ import {
|
|
|
1086
1083
|
validatePath,
|
|
1087
1084
|
validatePlanContent,
|
|
1088
1085
|
validatePlanPath,
|
|
1089
|
-
validateUrlDestination,
|
|
1090
1086
|
wrapInAccountChooser,
|
|
1091
1087
|
wrapUntrusted,
|
|
1092
1088
|
writeToStderr,
|
|
1093
1089
|
writeToStdout
|
|
1094
|
-
} from "./chunk-
|
|
1090
|
+
} from "./chunk-SM627E5R.js";
|
|
1095
1091
|
import "./chunk-664ZODQF.js";
|
|
1096
1092
|
import {
|
|
1097
1093
|
SpanStatusCode,
|
|
@@ -1692,8 +1688,6 @@ export {
|
|
|
1692
1688
|
createHookOutput,
|
|
1693
1689
|
createPolicyEngineConfig,
|
|
1694
1690
|
createPolicyUpdater,
|
|
1695
|
-
createSafeAgent,
|
|
1696
|
-
createSafeConnector,
|
|
1697
1691
|
createSafeProxyAgent,
|
|
1698
1692
|
createSandboxManager,
|
|
1699
1693
|
createSessionId,
|
|
@@ -2120,7 +2114,6 @@ export {
|
|
|
2120
2114
|
runInDevTraceSpan,
|
|
2121
2115
|
safeJsonToMarkdown,
|
|
2122
2116
|
safeLiteralReplace,
|
|
2123
|
-
safeLookup,
|
|
2124
2117
|
safeTemplateReplace,
|
|
2125
2118
|
sanitizeAdminSettings,
|
|
2126
2119
|
sanitizeFilenamePart,
|
|
@@ -2188,7 +2181,6 @@ export {
|
|
|
2188
2181
|
validatePath,
|
|
2189
2182
|
validatePlanContent,
|
|
2190
2183
|
validatePlanPath,
|
|
2191
|
-
validateUrlDestination,
|
|
2192
2184
|
wrapInAccountChooser,
|
|
2193
2185
|
wrapUntrusted,
|
|
2194
2186
|
writeToStderr,
|
|
@@ -590,8 +590,6 @@ import {
|
|
|
590
590
|
createHookOutput,
|
|
591
591
|
createPolicyEngineConfig,
|
|
592
592
|
createPolicyUpdater,
|
|
593
|
-
createSafeAgent,
|
|
594
|
-
createSafeConnector,
|
|
595
593
|
createSafeProxyAgent,
|
|
596
594
|
createSandboxManager,
|
|
597
595
|
createSessionId,
|
|
@@ -1018,7 +1016,6 @@ import {
|
|
|
1018
1016
|
runInDevTraceSpan,
|
|
1019
1017
|
safeJsonToMarkdown,
|
|
1020
1018
|
safeLiteralReplace,
|
|
1021
|
-
safeLookup,
|
|
1022
1019
|
safeTemplateReplace,
|
|
1023
1020
|
sanitizeAdminSettings,
|
|
1024
1021
|
sanitizeFilenamePart,
|
|
@@ -1086,12 +1083,11 @@ import {
|
|
|
1086
1083
|
validatePath,
|
|
1087
1084
|
validatePlanContent,
|
|
1088
1085
|
validatePlanPath,
|
|
1089
|
-
validateUrlDestination,
|
|
1090
1086
|
wrapInAccountChooser,
|
|
1091
1087
|
wrapUntrusted,
|
|
1092
1088
|
writeToStderr,
|
|
1093
1089
|
writeToStdout
|
|
1094
|
-
} from "./chunk-
|
|
1090
|
+
} from "./chunk-S4PJ76PA.js";
|
|
1095
1091
|
import "./chunk-664ZODQF.js";
|
|
1096
1092
|
import {
|
|
1097
1093
|
SpanStatusCode,
|
|
@@ -1692,8 +1688,6 @@ export {
|
|
|
1692
1688
|
createHookOutput,
|
|
1693
1689
|
createPolicyEngineConfig,
|
|
1694
1690
|
createPolicyUpdater,
|
|
1695
|
-
createSafeAgent,
|
|
1696
|
-
createSafeConnector,
|
|
1697
1691
|
createSafeProxyAgent,
|
|
1698
1692
|
createSandboxManager,
|
|
1699
1693
|
createSessionId,
|
|
@@ -2120,7 +2114,6 @@ export {
|
|
|
2120
2114
|
runInDevTraceSpan,
|
|
2121
2115
|
safeJsonToMarkdown,
|
|
2122
2116
|
safeLiteralReplace,
|
|
2123
|
-
safeLookup,
|
|
2124
2117
|
safeTemplateReplace,
|
|
2125
2118
|
sanitizeAdminSettings,
|
|
2126
2119
|
sanitizeFilenamePart,
|
|
@@ -2188,7 +2181,6 @@ export {
|
|
|
2188
2181
|
validatePath,
|
|
2189
2182
|
validatePlanContent,
|
|
2190
2183
|
validatePlanPath,
|
|
2191
|
-
validateUrlDestination,
|
|
2192
2184
|
wrapInAccountChooser,
|
|
2193
2185
|
wrapUntrusted,
|
|
2194
2186
|
writeToStderr,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YSBB75DZ.js";
|
|
7
7
|
import "./chunk-664ZODQF.js";
|
|
8
8
|
import "./chunk-IUUIT4SU.js";
|
|
9
9
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4325,7 +4325,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4325
4325
|
return;
|
|
4326
4326
|
}
|
|
4327
4327
|
try {
|
|
4328
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
4328
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-LLWWE5PU.js");
|
|
4329
4329
|
const url = await startDevToolsServer(config);
|
|
4330
4330
|
if (shouldLaunchBrowser()) {
|
|
4331
4331
|
try {
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
coreEvents,
|
|
4
4
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S4PJ76PA.js";
|
|
6
6
|
import "./chunk-664ZODQF.js";
|
|
7
7
|
import "./chunk-IUUIT4SU.js";
|
|
8
8
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4324,7 +4324,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4324
4324
|
return;
|
|
4325
4325
|
}
|
|
4326
4326
|
try {
|
|
4327
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
4327
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-W643DPU2.js");
|
|
4328
4328
|
const url = await startDevToolsServer(config);
|
|
4329
4329
|
if (shouldLaunchBrowser()) {
|
|
4330
4330
|
try {
|
|
@@ -1,9 +1,8 @@
|
|
|
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
2
|
import {
|
|
3
|
-
CoreEvent,
|
|
4
3
|
coreEvents,
|
|
5
4
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SM627E5R.js";
|
|
7
6
|
import "./chunk-664ZODQF.js";
|
|
8
7
|
import "./chunk-IUUIT4SU.js";
|
|
9
8
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4174,7 +4173,7 @@ var bridgeAttached = false;
|
|
|
4174
4173
|
function bridgeCoreEvents(capture) {
|
|
4175
4174
|
if (bridgeAttached) return;
|
|
4176
4175
|
bridgeAttached = true;
|
|
4177
|
-
coreEvents.on(
|
|
4176
|
+
coreEvents.on("console-log" /* ConsoleLog */, (payload) => {
|
|
4178
4177
|
capture.logConsole(payload);
|
|
4179
4178
|
});
|
|
4180
4179
|
}
|
|
@@ -4325,7 +4324,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4325
4324
|
return;
|
|
4326
4325
|
}
|
|
4327
4326
|
try {
|
|
4328
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./
|
|
4327
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-3RU5PE2Y.js");
|
|
4329
4328
|
const url = await startDevToolsServer(config);
|
|
4330
4329
|
if (shouldLaunchBrowser()) {
|
|
4331
4330
|
try {
|
|
@@ -590,8 +590,6 @@ import {
|
|
|
590
590
|
createHookOutput,
|
|
591
591
|
createPolicyEngineConfig,
|
|
592
592
|
createPolicyUpdater,
|
|
593
|
-
createSafeAgent,
|
|
594
|
-
createSafeConnector,
|
|
595
593
|
createSafeProxyAgent,
|
|
596
594
|
createSandboxManager,
|
|
597
595
|
createSessionId,
|
|
@@ -1018,7 +1016,6 @@ import {
|
|
|
1018
1016
|
runInDevTraceSpan,
|
|
1019
1017
|
safeJsonToMarkdown,
|
|
1020
1018
|
safeLiteralReplace,
|
|
1021
|
-
safeLookup,
|
|
1022
1019
|
safeTemplateReplace,
|
|
1023
1020
|
sanitizeAdminSettings,
|
|
1024
1021
|
sanitizeFilenamePart,
|
|
@@ -1086,12 +1083,11 @@ import {
|
|
|
1086
1083
|
validatePath,
|
|
1087
1084
|
validatePlanContent,
|
|
1088
1085
|
validatePlanPath,
|
|
1089
|
-
validateUrlDestination,
|
|
1090
1086
|
wrapInAccountChooser,
|
|
1091
1087
|
wrapUntrusted,
|
|
1092
1088
|
writeToStderr,
|
|
1093
1089
|
writeToStdout
|
|
1094
|
-
} from "./chunk-
|
|
1090
|
+
} from "./chunk-YSBB75DZ.js";
|
|
1095
1091
|
import "./chunk-664ZODQF.js";
|
|
1096
1092
|
import {
|
|
1097
1093
|
SpanStatusCode,
|
|
@@ -1692,8 +1688,6 @@ export {
|
|
|
1692
1688
|
createHookOutput,
|
|
1693
1689
|
createPolicyEngineConfig,
|
|
1694
1690
|
createPolicyUpdater,
|
|
1695
|
-
createSafeAgent,
|
|
1696
|
-
createSafeConnector,
|
|
1697
1691
|
createSafeProxyAgent,
|
|
1698
1692
|
createSandboxManager,
|
|
1699
1693
|
createSessionId,
|
|
@@ -2120,7 +2114,6 @@ export {
|
|
|
2120
2114
|
runInDevTraceSpan,
|
|
2121
2115
|
safeJsonToMarkdown,
|
|
2122
2116
|
safeLiteralReplace,
|
|
2123
|
-
safeLookup,
|
|
2124
2117
|
safeTemplateReplace,
|
|
2125
2118
|
sanitizeAdminSettings,
|
|
2126
2119
|
sanitizeFilenamePart,
|
|
@@ -2188,7 +2181,6 @@ export {
|
|
|
2188
2181
|
validatePath,
|
|
2189
2182
|
validatePlanContent,
|
|
2190
2183
|
validatePlanPath,
|
|
2191
|
-
validateUrlDestination,
|
|
2192
2184
|
wrapInAccountChooser,
|
|
2193
2185
|
wrapUntrusted,
|
|
2194
2186
|
writeToStderr,
|
|
@@ -148,10 +148,10 @@ each tool.
|
|
|
148
148
|
|
|
149
149
|
### Web
|
|
150
150
|
|
|
151
|
-
| Tool | Kind | Description
|
|
152
|
-
| :-------------------------------------------- | :------- |
|
|
153
|
-
| [`google_web_search`](../tools/web-search.md) | `Search` | Performs a Google Search to find up-to-date information.
|
|
154
|
-
| [`web_fetch`](../tools/web-fetch.md) | `Fetch` | Retrieves and processes content from specific URLs.
|
|
151
|
+
| Tool | Kind | Description |
|
|
152
|
+
| :-------------------------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
153
|
+
| [`google_web_search`](../tools/web-search.md) | `Search` | Performs a Google Search to find up-to-date information. |
|
|
154
|
+
| [`web_fetch`](../tools/web-fetch.md) | `Fetch` | Retrieves and processes content from specific URLs. **Warning:** This tool can access local and private network addresses (for example, localhost), which may pose a security risk if used with untrusted prompts. In Plan Mode, this tool requires explicit user confirmation. |
|
|
155
155
|
|
|
156
156
|
### Tool argument keys
|
|
157
157
|
|
|
@@ -16,17 +16,13 @@ specific operations like summarization or extraction.
|
|
|
16
16
|
|
|
17
17
|
## Technical behavior
|
|
18
18
|
|
|
19
|
-
- **Network access:** Destination URLs and resolved IP addresses are validated
|
|
20
|
-
to restrict access to private, reserved, loopback, and internal networks
|
|
21
|
-
(e.g., RFC 1918 addresses and internal domains). Transport connections are
|
|
22
|
-
pinned to the resolved destination IP address.
|
|
23
19
|
- **Confirmation:** Triggers a confirmation dialog showing the converted URLs.
|
|
24
20
|
- **Plan Mode:** In [Plan Mode](../cli/plan-mode.md), `web_fetch` is available
|
|
25
|
-
but always requires explicit user confirmation (`ask_user`)
|
|
21
|
+
but always requires explicit user confirmation (`ask_user`) due to security
|
|
22
|
+
implications of accessing external or private network addresses.
|
|
26
23
|
- **Processing:** Uses the Gemini API's `urlContext` for retrieval.
|
|
27
24
|
- **Fallback:** If API access fails, the tool attempts to fetch raw content
|
|
28
|
-
directly from your local machine
|
|
29
|
-
connection pinning applied).
|
|
25
|
+
directly from your local machine.
|
|
30
26
|
- **Formatting:** Returns a synthesized response with source attribution.
|
|
31
27
|
|
|
32
28
|
## Use cases
|
|
@@ -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-RSFMNCZQ.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
updateAllUpdatableExtensions,
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QEMQJ5WC.js";
|
|
49
49
|
import {
|
|
50
50
|
exitCli,
|
|
51
51
|
require_source
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YINIG2CS.js";
|
|
53
53
|
import {
|
|
54
54
|
appEvents
|
|
55
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange,
|
|
89
89
|
stripAnsi
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-NWWZRJGH.js";
|
|
91
91
|
import {
|
|
92
92
|
RELAUNCH_EXIT_CODE
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-O4TDK2BP.js";
|
|
94
|
+
import "./chunk-EZCKZ4FP.js";
|
|
95
95
|
import {
|
|
96
96
|
cleanupCheckpoints,
|
|
97
97
|
registerCleanup,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runExitCleanup,
|
|
101
101
|
runSyncCleanup,
|
|
102
102
|
setupSignalHandlers
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-5MBZBBH2.js";
|
|
104
104
|
import {
|
|
105
105
|
ASK_USER_TOOL_NAME,
|
|
106
106
|
AuthType,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
updatePolicy,
|
|
239
239
|
writeToStderr,
|
|
240
240
|
writeToStdout
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-SM627E5R.js";
|
|
242
242
|
import "./chunk-664ZODQF.js";
|
|
243
243
|
import "./chunk-IUUIT4SU.js";
|
|
244
244
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -7832,7 +7832,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7832
7832
|
}
|
|
7833
7833
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7834
7834
|
const packageJson = await getPackageJson(__dirname3);
|
|
7835
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.59.0-
|
|
7835
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.59.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7836
7836
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7837
7837
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7838
7838
|
}
|
|
@@ -11085,7 +11085,7 @@ async function runNonInteractive({
|
|
|
11085
11085
|
}
|
|
11086
11086
|
});
|
|
11087
11087
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11088
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11088
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QCWLN43R.js");
|
|
11089
11089
|
setupInitialActivityLogger(config);
|
|
11090
11090
|
}
|
|
11091
11091
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -11595,7 +11595,7 @@ async function runNonInteractive2(params) {
|
|
|
11595
11595
|
}
|
|
11596
11596
|
});
|
|
11597
11597
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11598
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11598
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QCWLN43R.js");
|
|
11599
11599
|
setupInitialActivityLogger(config);
|
|
11600
11600
|
}
|
|
11601
11601
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -16805,7 +16805,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
16805
16805
|
}
|
|
16806
16806
|
}
|
|
16807
16807
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
16808
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
16808
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-7H2PS7RG.js");
|
|
16809
16809
|
await doStartUI(
|
|
16810
16810
|
config,
|
|
16811
16811
|
settings,
|
|
@@ -17014,7 +17014,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17014
17014
|
await config.storage.initialize();
|
|
17015
17015
|
adminControlsListner.setConfig(config);
|
|
17016
17016
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17017
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17017
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QCWLN43R.js");
|
|
17018
17018
|
setupInitialActivityLogger(config);
|
|
17019
17019
|
}
|
|
17020
17020
|
registerTelemetryConfig(config);
|
|
@@ -17073,7 +17073,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17073
17073
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17074
17074
|
const initializationResult = await initializeApp(config, settings);
|
|
17075
17075
|
initAppHandle?.end();
|
|
17076
|
-
import("./liteRtServerManager-
|
|
17076
|
+
import("./liteRtServerManager-3QXIGTR3.js").then(({ LiteRtServerManager }) => {
|
|
17077
17077
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17078
17078
|
if (!mergedGemma) return;
|
|
17079
17079
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|