@google/gemini-cli 0.65.0-preview.0 → 0.66.0-nightly.20261017.ged96faedf
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/README.md +21 -56
- package/bundle/{chunk-NL7ZHGCH.js → chunk-464WBVYM.js} +1 -1
- package/bundle/{chunk-QJK54DSE.js → chunk-5VQUE3OF.js} +1 -1
- package/bundle/{chunk-VF5WQSOE.js → chunk-7ARQMEMX.js} +1 -1
- package/bundle/{chunk-2WVLIJA5.js → chunk-BUG4N6U5.js} +145 -77
- package/bundle/{chunk-F6AJM4WN.js → chunk-DPV3ZEOC.js} +3 -3
- package/bundle/{chunk-GSQEBEGC.js → chunk-ERBSM2HU.js} +3 -3
- package/bundle/{chunk-WTRK3NVX.js → chunk-GEUFOF2X.js} +106 -1500
- package/bundle/{chunk-V2R74WAG.js → chunk-H4U2CWBQ.js} +151 -81
- package/bundle/chunk-HDP6V6JI.js +1956 -0
- package/bundle/{chunk-RPHDSDL6.js → chunk-IDCWFZU3.js} +1 -1
- package/bundle/{chunk-SN7QZKXC.js → chunk-IGOTAEJY.js} +170 -1551
- package/bundle/chunk-J5QPCO3J.js +101859 -0
- package/bundle/{chunk-H2CZXS7F.js → chunk-JY3DYBJT.js} +1 -1
- package/bundle/{chunk-HLOOE7YN.js → chunk-LDGJJCVW.js} +9 -8
- package/bundle/chunk-MH4KAY5W.js +512 -0
- package/bundle/{chunk-LLE5Z636.js → chunk-NAPT3FAL.js} +106 -1500
- package/bundle/chunk-NOSWGXRT.js +1956 -0
- package/bundle/{chunk-43EXRO7A.js → chunk-NU74STQ5.js} +145 -77
- package/bundle/{chunk-K7NOVQ6G.js → chunk-QCWGLPCO.js} +376 -231
- package/bundle/{chunk-WGL5FJOS.js → chunk-QF3ALSJN.js} +3 -3
- package/bundle/{chunk-K4G5D5ZZ.js → chunk-R4KPURFC.js} +1 -1
- package/bundle/chunk-R6XDLHLP.js +1956 -0
- package/bundle/chunk-R7UPATQC.js +1956 -0
- package/bundle/chunk-RACMC24X.js +118 -0
- package/bundle/{chunk-4JGVVJGK.js → chunk-RE4V6I3G.js} +1 -1
- package/bundle/{chunk-S7BCRBI4.js → chunk-UTTFPWGQ.js} +1 -1
- package/bundle/chunk-VXYA6LA4.js +1571 -0
- package/bundle/chunk-XY2QSBID.js +17603 -0
- package/bundle/{chunk-K7AA35SP.js → chunk-YOI4DS3V.js} +365 -230
- package/bundle/chunk-YP27UYI4.js +154 -0
- package/bundle/{chunk-TP236FKO.js → chunk-YPLMNSM4.js} +8243 -15166
- package/bundle/chunk-ZFQ347ZN.js +402181 -0
- package/bundle/{cleanup-HPADDONA.js → cleanup-6FAZDCL3.js} +2 -2
- package/bundle/{cleanup-JOMSXKMP.js → cleanup-GNZLZG55.js} +2 -2
- package/bundle/{cleanup-LYRJHMMO.js → cleanup-RX3AC5ET.js} +2 -2
- package/bundle/cleanup-WAU2KYGS.js +32 -0
- package/bundle/{core-NCJTYARO.js → core-AGGXDQOT.js} +13 -1
- package/bundle/{devtoolsService-WP2OPVPB.js → devtoolsService-6XOCGTLC.js} +2 -2
- package/bundle/{devtoolsService-JFJBTZ4B.js → devtoolsService-FBTSVQ57.js} +4 -3
- package/bundle/{devtoolsService-HIZA3JGR.js → devtoolsService-UO6ZB72B.js} +2 -2
- package/bundle/devtoolsService-W5QGZ3SW.js +4359 -0
- package/bundle/{dist-GQKLLBDW.js → dist-2ELAEESC.js} +13 -1
- package/bundle/{core-IVQAI4S6.js → dist-2R7C2WHA.js} +13 -1
- package/bundle/dist-PALH7PJS.js +2280 -0
- package/bundle/docs/changelogs/index.md +22 -0
- package/bundle/docs/changelogs/latest.md +64 -54
- package/bundle/docs/changelogs/preview.md +91 -55
- package/bundle/docs/reference/configuration.md +8 -3
- package/bundle/docs/reference/keyboard-shortcuts.md +18 -4
- package/bundle/{gemini-5TUKZVGS.js → gemini-6MH55Y7F.js} +37 -18
- package/bundle/{gemini-7CHJYSHM.js → gemini-DOXUDJDY.js} +37 -18
- package/bundle/{gemini-546WMAHG.js → gemini-OHYXI52N.js} +237 -202
- package/bundle/gemini-OUEDCH4P.js +17970 -0
- package/bundle/gemini.js +14 -15
- package/bundle/{interactiveCli-E3PUPYMZ.js → interactiveCli-7LIKGDTJ.js} +1061 -989
- package/bundle/{interactiveCli-5XIAIY74.js → interactiveCli-EGQYN3KR.js} +1371 -1280
- package/bundle/{interactiveCli-L4PK7YY3.js → interactiveCli-TG7PGV4V.js} +1061 -989
- package/bundle/interactiveCli-YEXCUIFZ.js +35601 -0
- package/bundle/{liteRtServerManager-JCTYJBV5.js → liteRtServerManager-KAPXZ3EU.js} +4 -4
- package/bundle/{liteRtServerManager-JERG6KYC.js → liteRtServerManager-MSJIWMWP.js} +4 -4
- package/bundle/{liteRtServerManager-22ISMNN2.js → liteRtServerManager-PD2N3GLD.js} +4 -4
- package/bundle/liteRtServerManager-X5SCFYXM.js +65 -0
- package/bundle/{oauth2-provider-XRUER2XR.js → oauth2-provider-IUN6Z4IO.js} +1 -1
- package/bundle/{oauth2-provider-477UJQX6.js → oauth2-provider-MKJIQNWP.js} +41 -79
- package/bundle/{oauth2-provider-MKWWBW4K.js → oauth2-provider-RMF7U2UN.js} +1 -1
- package/bundle/oauth2-provider-ZM5GWCNX.js +273 -0
- package/bundle/{start-MVIPJNQ5.js → start-5GIUIER3.js} +6 -6
- package/bundle/{start-RZWSVT55.js → start-APIVGXZ3.js} +6 -6
- package/bundle/{start-AGMBPY3O.js → start-GJ4TH4KZ.js} +6 -6
- package/bundle/start-WDS52ZNE.js +18 -0
- package/package.json +1 -1
- package/bundle/chunk-4DCA4L53.js +0 -425
- package/bundle/chunk-BFIV7GTA.js +0 -425
- package/bundle/chunk-V72FRESD.js +0 -425
package/bundle/gemini.js
CHANGED
|
@@ -3,11 +3,13 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
3
3
|
import {
|
|
4
4
|
RELAUNCH_EXIT_CODE,
|
|
5
5
|
getScriptArgs,
|
|
6
|
-
getSpawnConfig
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
getSpawnConfig,
|
|
7
|
+
handleChildProcessClose,
|
|
8
|
+
setupSignalForwarding
|
|
9
|
+
} from "./chunk-NOSWGXRT.js";
|
|
10
|
+
import "./chunk-LDGJJCVW.js";
|
|
11
|
+
import "./chunk-7ARQMEMX.js";
|
|
12
|
+
import "./chunk-YOI4DS3V.js";
|
|
11
13
|
import "./chunk-664ZODQF.js";
|
|
12
14
|
import "./chunk-IUUIT4SU.js";
|
|
13
15
|
import "./chunk-L6PII3GR.js";
|
|
@@ -50,10 +52,6 @@ async function run() {
|
|
|
50
52
|
const memoryArgs = await getMemoryNodeArgs();
|
|
51
53
|
const { spawnArgs, env: newEnv } = getSpawnConfig(memoryArgs, scriptArgs);
|
|
52
54
|
let latestAdminSettings = void 0;
|
|
53
|
-
for (const sig of ["SIGINT", "SIGTERM", "SIGHUP"]) {
|
|
54
|
-
process.on(sig, () => {
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
55
|
const runner = () => {
|
|
58
56
|
process.stdin.pause();
|
|
59
57
|
const child = spawn(process.execPath, spawnArgs, {
|
|
@@ -77,16 +75,17 @@ async function run() {
|
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
77
|
);
|
|
78
|
+
const removeForwarders = setupSignalForwarding(child);
|
|
80
79
|
return new Promise((resolve) => {
|
|
81
80
|
child.on("error", (err) => {
|
|
81
|
+
removeForwarders();
|
|
82
82
|
process.stderr.write(
|
|
83
83
|
"Error: Failed to start child process: " + err.message + "\n"
|
|
84
84
|
);
|
|
85
85
|
resolve(1);
|
|
86
86
|
});
|
|
87
|
-
child.on("close", (code) => {
|
|
88
|
-
|
|
89
|
-
resolve(code ?? 1);
|
|
87
|
+
child.on("close", (code, signal) => {
|
|
88
|
+
handleChildProcessClose(code, signal, removeForwarders, resolve);
|
|
90
89
|
});
|
|
91
90
|
});
|
|
92
91
|
};
|
|
@@ -107,9 +106,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
} else {
|
|
110
|
-
const { main } = await import("./gemini-
|
|
111
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
112
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
109
|
+
const { main } = await import("./gemini-OHYXI52N.js");
|
|
110
|
+
const { FatalError, writeToStderr } = await import("./dist-2R7C2WHA.js");
|
|
111
|
+
const { runExitCleanup } = await import("./cleanup-RX3AC5ET.js");
|
|
113
112
|
main().catch(async (error) => {
|
|
114
113
|
const cleanupTimeout = setTimeout(() => {
|
|
115
114
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|