@google/gemini-cli 0.46.0-preview.2 → 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-22XWYJCL.js → chunk-2GESUVEI.js} +165 -114
- package/bundle/{chunk-2K6L5FOH.js → chunk-2XKNPALS.js} +1 -1
- package/bundle/{chunk-5IDNG2OG.js → chunk-3PLUHPJV.js} +165 -114
- package/bundle/{chunk-E5QEVDYZ.js → chunk-5ND76TYS.js} +77 -12
- package/bundle/{chunk-EI75YPWJ.js → chunk-6WDE67I7.js} +63 -7
- package/bundle/{chunk-7PDJUYG7.js → chunk-7GTQ3TVY.js} +1 -1
- package/bundle/{chunk-PIZZXDDG.js → chunk-AJKD63PC.js} +1 -1
- package/bundle/{chunk-J5LPI3LE.js → chunk-AYF4WWI6.js} +3 -3
- package/bundle/{chunk-7JQYEHGG.js → chunk-CIWJFNFL.js} +1 -1
- package/bundle/{chunk-RHCHEKOW.js → chunk-CQ5T2OOT.js} +1 -1
- package/bundle/{chunk-CRQJBWDY.js → chunk-DVLOSJL6.js} +1 -1
- package/bundle/{chunk-B5F4VQB4.js → chunk-FHPHAHTC.js} +1 -1
- package/bundle/{chunk-RS7XVABE.js → chunk-IPSGP4HZ.js} +1 -1
- package/bundle/{chunk-PE7HOVW5.js → chunk-KBVSP7UV.js} +2 -2
- package/bundle/{chunk-O6PTG534.js → chunk-KK5RNP2O.js} +64 -8
- package/bundle/{chunk-QW5AOX4N.js → chunk-KOY6HFDJ.js} +1 -1
- package/bundle/{chunk-27JE2WT6.js → chunk-LFPQWI47.js} +1 -1
- package/bundle/{chunk-CWVF4ZTK.js → chunk-MKTEB4X2.js} +1 -1
- package/bundle/{chunk-IPUQ7EE3.js → chunk-PBKO4RQZ.js} +165 -114
- package/bundle/{chunk-QB7YVNGV.js → chunk-PWEKIO66.js} +165 -114
- package/bundle/{chunk-LEOT5EUQ.js → chunk-QC2XF7WU.js} +1 -1
- package/bundle/{chunk-3RBWPCUC.js → chunk-S5GUYIK7.js} +1 -1
- package/bundle/{chunk-ZXFPRK6W.js → chunk-SWSOO6PG.js} +1 -1
- package/bundle/{chunk-PRRK6JDC.js → chunk-TIFKXOWZ.js} +3 -3
- package/bundle/{chunk-SIKHBFAN.js → chunk-V5CL3DRL.js} +3 -3
- package/bundle/{chunk-UEE43LJM.js → chunk-VFBOEQYZ.js} +3 -3
- package/bundle/{chunk-R4U5N4EA.js → chunk-VON23XS2.js} +2 -2
- package/bundle/{chunk-WUZJ6YCQ.js → chunk-W7QA7FT5.js} +2 -2
- package/bundle/{chunk-UHZJ6CQN.js → chunk-XB2Y55JE.js} +1 -1
- package/bundle/{chunk-USOBCNPR.js → chunk-XMZW4ETE.js} +64 -8
- package/bundle/{chunk-NV6UIB5A.js → chunk-YQE3FF4G.js} +1 -1
- package/bundle/{chunk-R4UEOSDC.js → chunk-ZW2TA44S.js} +2 -2
- package/bundle/{cleanup-I5FUY2UQ.js → cleanup-3MDHF3OO.js} +2 -2
- package/bundle/{cleanup-OIBS4TJ5.js → cleanup-ACXEXWY2.js} +2 -2
- package/bundle/{cleanup-RODT76X7.js → cleanup-EAOW4OCO.js} +2 -2
- package/bundle/{cleanup-WY7MMPH7.js → cleanup-YRHQYKEA.js} +2 -2
- package/bundle/{dist-XLM4ONR2.js → core-HYJM5T45.js} +3 -1
- package/bundle/{devtoolsService-EJVCNXD4.js → devtoolsService-5ME5JZIQ.js} +2 -2
- package/bundle/{devtoolsService-C64GR2SQ.js → devtoolsService-6OVP6DUO.js} +2 -2
- package/bundle/{devtoolsService-U7Z6S7CA.js → devtoolsService-I4R5WQXY.js} +2 -2
- package/bundle/{devtoolsService-LQXWZBCZ.js → devtoolsService-OVSOSM56.js} +2 -2
- package/bundle/{core-DU2UPBEJ.js → dist-EMBSC4SS.js} +3 -1
- package/bundle/{dist-CEGGZCD6.js → dist-SHJ4FBPT.js} +3 -1
- package/bundle/{dist-F4ZLD67R.js → dist-XMOYSFBW.js} +3 -1
- package/bundle/{gemini-3AA27X7W.js → gemini-23GFJRSL.js} +14 -14
- package/bundle/{gemini-EEFZ4W4N.js → gemini-4SDDBM2K.js} +13 -13
- package/bundle/{gemini-TPWWVYVB.js → gemini-VIZXE6FK.js} +14 -14
- package/bundle/{gemini-D5Y26G7I.js → gemini-XWN3KUEH.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-B5QE2YQH.js → interactiveCli-P65NECXR.js} +30 -20
- package/bundle/{interactiveCli-5L4XUO4D.js → interactiveCli-R6XRMC4D.js} +30 -20
- package/bundle/{interactiveCli-S4W3W3HM.js → interactiveCli-ZHRXRBPP.js} +30 -20
- package/bundle/{interactiveCli-CFKGEXFE.js → interactiveCli-ZLTD7RPN.js} +30 -20
- package/bundle/{liteRtServerManager-2IHVDPV4.js → liteRtServerManager-6YTWQFQF.js} +4 -4
- package/bundle/{liteRtServerManager-7CA6UZB6.js → liteRtServerManager-D6LNW6CQ.js} +4 -4
- package/bundle/{liteRtServerManager-P4UUE4PT.js → liteRtServerManager-DV2CLRPW.js} +4 -4
- package/bundle/{liteRtServerManager-YN3VGMDA.js → liteRtServerManager-HNNHQ2GQ.js} +4 -4
- package/bundle/{oauth2-provider-5IAYEVTS.js → oauth2-provider-BTNIRWZ2.js} +1 -1
- package/bundle/{oauth2-provider-WD62E6UF.js → oauth2-provider-C3WLQHTS.js} +1 -1
- package/bundle/{oauth2-provider-NQK2KDLL.js → oauth2-provider-KWAZCQ6F.js} +1 -1
- package/bundle/{oauth2-provider-WGTNZKF7.js → oauth2-provider-Y4NUSLR7.js} +1 -1
- package/bundle/{start-AAWVXW3L.js → start-2YDK2M2Y.js} +6 -6
- package/bundle/{start-EHQUCJL4.js → start-DKFGI2SP.js} +6 -6
- package/bundle/{start-EJWSTD4L.js → start-KPTJV4UZ.js} +6 -6
- package/bundle/{start-LAOVDDQF.js → start-W2EDCOPO.js} +6 -6
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CIWJFNFL.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-FHPHAHTC.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-VON23XS2.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2XKNPALS.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-5ND76TYS.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -281,11 +281,11 @@ var require_signals = __commonJS({
|
|
|
281
281
|
// node_modules/ink/node_modules/signal-exit/index.js
|
|
282
282
|
var require_signal_exit = __commonJS({
|
|
283
283
|
"node_modules/ink/node_modules/signal-exit/index.js"(exports, module) {
|
|
284
|
-
var
|
|
285
|
-
var processOk = function(
|
|
286
|
-
return
|
|
284
|
+
var process36 = global.process;
|
|
285
|
+
var processOk = function(process37) {
|
|
286
|
+
return process37 && typeof process37 === "object" && typeof process37.removeListener === "function" && typeof process37.emit === "function" && typeof process37.reallyExit === "function" && typeof process37.listeners === "function" && typeof process37.kill === "function" && typeof process37.pid === "number" && typeof process37.on === "function";
|
|
287
287
|
};
|
|
288
|
-
if (!processOk(
|
|
288
|
+
if (!processOk(process36)) {
|
|
289
289
|
module.exports = function() {
|
|
290
290
|
return function() {
|
|
291
291
|
};
|
|
@@ -293,15 +293,15 @@ var require_signal_exit = __commonJS({
|
|
|
293
293
|
} else {
|
|
294
294
|
assert = __require("assert");
|
|
295
295
|
signals = require_signals();
|
|
296
|
-
isWin = /^win/i.test(
|
|
296
|
+
isWin = /^win/i.test(process36.platform);
|
|
297
297
|
EE = __require("events");
|
|
298
298
|
if (typeof EE !== "function") {
|
|
299
299
|
EE = EE.EventEmitter;
|
|
300
300
|
}
|
|
301
|
-
if (
|
|
302
|
-
emitter =
|
|
301
|
+
if (process36.__signal_exit_emitter__) {
|
|
302
|
+
emitter = process36.__signal_exit_emitter__;
|
|
303
303
|
} else {
|
|
304
|
-
emitter =
|
|
304
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
305
305
|
emitter.count = 0;
|
|
306
306
|
emitter.emitted = {};
|
|
307
307
|
}
|
|
@@ -338,12 +338,12 @@ var require_signal_exit = __commonJS({
|
|
|
338
338
|
loaded = false;
|
|
339
339
|
signals.forEach(function(sig) {
|
|
340
340
|
try {
|
|
341
|
-
|
|
341
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
342
342
|
} catch (er2) {
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
process36.emit = originalProcessEmit;
|
|
346
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
347
347
|
emitter.count -= 1;
|
|
348
348
|
};
|
|
349
349
|
module.exports.unload = unload;
|
|
@@ -360,7 +360,7 @@ var require_signal_exit = __commonJS({
|
|
|
360
360
|
if (!processOk(global.process)) {
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
|
-
var listeners =
|
|
363
|
+
var listeners = process36.listeners(sig);
|
|
364
364
|
if (listeners.length === emitter.count) {
|
|
365
365
|
unload();
|
|
366
366
|
emit("exit", null, sig);
|
|
@@ -368,7 +368,7 @@ var require_signal_exit = __commonJS({
|
|
|
368
368
|
if (isWin && sig === "SIGHUP") {
|
|
369
369
|
sig = "SIGINT";
|
|
370
370
|
}
|
|
371
|
-
|
|
371
|
+
process36.kill(process36.pid, sig);
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
374
|
});
|
|
@@ -384,36 +384,36 @@ var require_signal_exit = __commonJS({
|
|
|
384
384
|
emitter.count += 1;
|
|
385
385
|
signals = signals.filter(function(sig) {
|
|
386
386
|
try {
|
|
387
|
-
|
|
387
|
+
process36.on(sig, sigListeners[sig]);
|
|
388
388
|
return true;
|
|
389
389
|
} catch (er2) {
|
|
390
390
|
return false;
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
process36.emit = processEmit;
|
|
394
|
+
process36.reallyExit = processReallyExit;
|
|
395
395
|
};
|
|
396
396
|
module.exports.load = load;
|
|
397
|
-
originalProcessReallyExit =
|
|
397
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
398
398
|
processReallyExit = function processReallyExit2(code) {
|
|
399
399
|
if (!processOk(global.process)) {
|
|
400
400
|
return;
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
403
403
|
0;
|
|
404
|
-
emit("exit",
|
|
405
|
-
emit("afterexit",
|
|
406
|
-
originalProcessReallyExit.call(
|
|
404
|
+
emit("exit", process36.exitCode, null);
|
|
405
|
+
emit("afterexit", process36.exitCode, null);
|
|
406
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
407
407
|
};
|
|
408
|
-
originalProcessEmit =
|
|
408
|
+
originalProcessEmit = process36.emit;
|
|
409
409
|
processEmit = function processEmit2(ev, arg) {
|
|
410
410
|
if (ev === "exit" && processOk(global.process)) {
|
|
411
411
|
if (arg !== void 0) {
|
|
412
|
-
|
|
412
|
+
process36.exitCode = arg;
|
|
413
413
|
}
|
|
414
414
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
415
|
-
emit("exit",
|
|
416
|
-
emit("afterexit",
|
|
415
|
+
emit("exit", process36.exitCode, null);
|
|
416
|
+
emit("afterexit", process36.exitCode, null);
|
|
417
417
|
return ret;
|
|
418
418
|
} else {
|
|
419
419
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -8794,11 +8794,11 @@ var require_signals2 = __commonJS({
|
|
|
8794
8794
|
// node_modules/restore-cursor/node_modules/signal-exit/index.js
|
|
8795
8795
|
var require_signal_exit2 = __commonJS({
|
|
8796
8796
|
"node_modules/restore-cursor/node_modules/signal-exit/index.js"(exports, module) {
|
|
8797
|
-
var
|
|
8798
|
-
var processOk = function(
|
|
8799
|
-
return
|
|
8797
|
+
var process36 = global.process;
|
|
8798
|
+
var processOk = function(process37) {
|
|
8799
|
+
return process37 && typeof process37 === "object" && typeof process37.removeListener === "function" && typeof process37.emit === "function" && typeof process37.reallyExit === "function" && typeof process37.listeners === "function" && typeof process37.kill === "function" && typeof process37.pid === "number" && typeof process37.on === "function";
|
|
8800
8800
|
};
|
|
8801
|
-
if (!processOk(
|
|
8801
|
+
if (!processOk(process36)) {
|
|
8802
8802
|
module.exports = function() {
|
|
8803
8803
|
return function() {
|
|
8804
8804
|
};
|
|
@@ -8806,15 +8806,15 @@ var require_signal_exit2 = __commonJS({
|
|
|
8806
8806
|
} else {
|
|
8807
8807
|
assert = __require("assert");
|
|
8808
8808
|
signals = require_signals2();
|
|
8809
|
-
isWin = /^win/i.test(
|
|
8809
|
+
isWin = /^win/i.test(process36.platform);
|
|
8810
8810
|
EE = __require("events");
|
|
8811
8811
|
if (typeof EE !== "function") {
|
|
8812
8812
|
EE = EE.EventEmitter;
|
|
8813
8813
|
}
|
|
8814
|
-
if (
|
|
8815
|
-
emitter =
|
|
8814
|
+
if (process36.__signal_exit_emitter__) {
|
|
8815
|
+
emitter = process36.__signal_exit_emitter__;
|
|
8816
8816
|
} else {
|
|
8817
|
-
emitter =
|
|
8817
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
8818
8818
|
emitter.count = 0;
|
|
8819
8819
|
emitter.emitted = {};
|
|
8820
8820
|
}
|
|
@@ -8851,12 +8851,12 @@ var require_signal_exit2 = __commonJS({
|
|
|
8851
8851
|
loaded = false;
|
|
8852
8852
|
signals.forEach(function(sig) {
|
|
8853
8853
|
try {
|
|
8854
|
-
|
|
8854
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
8855
8855
|
} catch (er2) {
|
|
8856
8856
|
}
|
|
8857
8857
|
});
|
|
8858
|
-
|
|
8859
|
-
|
|
8858
|
+
process36.emit = originalProcessEmit;
|
|
8859
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
8860
8860
|
emitter.count -= 1;
|
|
8861
8861
|
};
|
|
8862
8862
|
module.exports.unload = unload;
|
|
@@ -8873,7 +8873,7 @@ var require_signal_exit2 = __commonJS({
|
|
|
8873
8873
|
if (!processOk(global.process)) {
|
|
8874
8874
|
return;
|
|
8875
8875
|
}
|
|
8876
|
-
var listeners =
|
|
8876
|
+
var listeners = process36.listeners(sig);
|
|
8877
8877
|
if (listeners.length === emitter.count) {
|
|
8878
8878
|
unload();
|
|
8879
8879
|
emit("exit", null, sig);
|
|
@@ -8881,7 +8881,7 @@ var require_signal_exit2 = __commonJS({
|
|
|
8881
8881
|
if (isWin && sig === "SIGHUP") {
|
|
8882
8882
|
sig = "SIGINT";
|
|
8883
8883
|
}
|
|
8884
|
-
|
|
8884
|
+
process36.kill(process36.pid, sig);
|
|
8885
8885
|
}
|
|
8886
8886
|
};
|
|
8887
8887
|
});
|
|
@@ -8897,36 +8897,36 @@ var require_signal_exit2 = __commonJS({
|
|
|
8897
8897
|
emitter.count += 1;
|
|
8898
8898
|
signals = signals.filter(function(sig) {
|
|
8899
8899
|
try {
|
|
8900
|
-
|
|
8900
|
+
process36.on(sig, sigListeners[sig]);
|
|
8901
8901
|
return true;
|
|
8902
8902
|
} catch (er2) {
|
|
8903
8903
|
return false;
|
|
8904
8904
|
}
|
|
8905
8905
|
});
|
|
8906
|
-
|
|
8907
|
-
|
|
8906
|
+
process36.emit = processEmit;
|
|
8907
|
+
process36.reallyExit = processReallyExit;
|
|
8908
8908
|
};
|
|
8909
8909
|
module.exports.load = load;
|
|
8910
|
-
originalProcessReallyExit =
|
|
8910
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
8911
8911
|
processReallyExit = function processReallyExit2(code) {
|
|
8912
8912
|
if (!processOk(global.process)) {
|
|
8913
8913
|
return;
|
|
8914
8914
|
}
|
|
8915
|
-
|
|
8915
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
8916
8916
|
0;
|
|
8917
|
-
emit("exit",
|
|
8918
|
-
emit("afterexit",
|
|
8919
|
-
originalProcessReallyExit.call(
|
|
8917
|
+
emit("exit", process36.exitCode, null);
|
|
8918
|
+
emit("afterexit", process36.exitCode, null);
|
|
8919
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
8920
8920
|
};
|
|
8921
|
-
originalProcessEmit =
|
|
8921
|
+
originalProcessEmit = process36.emit;
|
|
8922
8922
|
processEmit = function processEmit2(ev, arg) {
|
|
8923
8923
|
if (ev === "exit" && processOk(global.process)) {
|
|
8924
8924
|
if (arg !== void 0) {
|
|
8925
|
-
|
|
8925
|
+
process36.exitCode = arg;
|
|
8926
8926
|
}
|
|
8927
8927
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
8928
|
-
emit("exit",
|
|
8929
|
-
emit("afterexit",
|
|
8928
|
+
emit("exit", process36.exitCode, null);
|
|
8929
|
+
emit("afterexit", process36.exitCode, null);
|
|
8930
8930
|
return ret;
|
|
8931
8931
|
} else {
|
|
8932
8932
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -17638,11 +17638,11 @@ var require_signals4 = __commonJS({
|
|
|
17638
17638
|
// node_modules/run-jxa/node_modules/signal-exit/index.js
|
|
17639
17639
|
var require_signal_exit3 = __commonJS({
|
|
17640
17640
|
"node_modules/run-jxa/node_modules/signal-exit/index.js"(exports, module) {
|
|
17641
|
-
var
|
|
17642
|
-
var processOk = function(
|
|
17643
|
-
return
|
|
17641
|
+
var process36 = global.process;
|
|
17642
|
+
var processOk = function(process37) {
|
|
17643
|
+
return process37 && typeof process37 === "object" && typeof process37.removeListener === "function" && typeof process37.emit === "function" && typeof process37.reallyExit === "function" && typeof process37.listeners === "function" && typeof process37.kill === "function" && typeof process37.pid === "number" && typeof process37.on === "function";
|
|
17644
17644
|
};
|
|
17645
|
-
if (!processOk(
|
|
17645
|
+
if (!processOk(process36)) {
|
|
17646
17646
|
module.exports = function() {
|
|
17647
17647
|
return function() {
|
|
17648
17648
|
};
|
|
@@ -17650,15 +17650,15 @@ var require_signal_exit3 = __commonJS({
|
|
|
17650
17650
|
} else {
|
|
17651
17651
|
assert = __require("assert");
|
|
17652
17652
|
signals = require_signals4();
|
|
17653
|
-
isWin = /^win/i.test(
|
|
17653
|
+
isWin = /^win/i.test(process36.platform);
|
|
17654
17654
|
EE = __require("events");
|
|
17655
17655
|
if (typeof EE !== "function") {
|
|
17656
17656
|
EE = EE.EventEmitter;
|
|
17657
17657
|
}
|
|
17658
|
-
if (
|
|
17659
|
-
emitter =
|
|
17658
|
+
if (process36.__signal_exit_emitter__) {
|
|
17659
|
+
emitter = process36.__signal_exit_emitter__;
|
|
17660
17660
|
} else {
|
|
17661
|
-
emitter =
|
|
17661
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
17662
17662
|
emitter.count = 0;
|
|
17663
17663
|
emitter.emitted = {};
|
|
17664
17664
|
}
|
|
@@ -17695,12 +17695,12 @@ var require_signal_exit3 = __commonJS({
|
|
|
17695
17695
|
loaded = false;
|
|
17696
17696
|
signals.forEach(function(sig) {
|
|
17697
17697
|
try {
|
|
17698
|
-
|
|
17698
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
17699
17699
|
} catch (er2) {
|
|
17700
17700
|
}
|
|
17701
17701
|
});
|
|
17702
|
-
|
|
17703
|
-
|
|
17702
|
+
process36.emit = originalProcessEmit;
|
|
17703
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
17704
17704
|
emitter.count -= 1;
|
|
17705
17705
|
};
|
|
17706
17706
|
module.exports.unload = unload;
|
|
@@ -17717,7 +17717,7 @@ var require_signal_exit3 = __commonJS({
|
|
|
17717
17717
|
if (!processOk(global.process)) {
|
|
17718
17718
|
return;
|
|
17719
17719
|
}
|
|
17720
|
-
var listeners =
|
|
17720
|
+
var listeners = process36.listeners(sig);
|
|
17721
17721
|
if (listeners.length === emitter.count) {
|
|
17722
17722
|
unload();
|
|
17723
17723
|
emit("exit", null, sig);
|
|
@@ -17725,7 +17725,7 @@ var require_signal_exit3 = __commonJS({
|
|
|
17725
17725
|
if (isWin && sig === "SIGHUP") {
|
|
17726
17726
|
sig = "SIGINT";
|
|
17727
17727
|
}
|
|
17728
|
-
|
|
17728
|
+
process36.kill(process36.pid, sig);
|
|
17729
17729
|
}
|
|
17730
17730
|
};
|
|
17731
17731
|
});
|
|
@@ -17741,36 +17741,36 @@ var require_signal_exit3 = __commonJS({
|
|
|
17741
17741
|
emitter.count += 1;
|
|
17742
17742
|
signals = signals.filter(function(sig) {
|
|
17743
17743
|
try {
|
|
17744
|
-
|
|
17744
|
+
process36.on(sig, sigListeners[sig]);
|
|
17745
17745
|
return true;
|
|
17746
17746
|
} catch (er2) {
|
|
17747
17747
|
return false;
|
|
17748
17748
|
}
|
|
17749
17749
|
});
|
|
17750
|
-
|
|
17751
|
-
|
|
17750
|
+
process36.emit = processEmit;
|
|
17751
|
+
process36.reallyExit = processReallyExit;
|
|
17752
17752
|
};
|
|
17753
17753
|
module.exports.load = load;
|
|
17754
|
-
originalProcessReallyExit =
|
|
17754
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
17755
17755
|
processReallyExit = function processReallyExit2(code) {
|
|
17756
17756
|
if (!processOk(global.process)) {
|
|
17757
17757
|
return;
|
|
17758
17758
|
}
|
|
17759
|
-
|
|
17759
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
17760
17760
|
0;
|
|
17761
|
-
emit("exit",
|
|
17762
|
-
emit("afterexit",
|
|
17763
|
-
originalProcessReallyExit.call(
|
|
17761
|
+
emit("exit", process36.exitCode, null);
|
|
17762
|
+
emit("afterexit", process36.exitCode, null);
|
|
17763
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
17764
17764
|
};
|
|
17765
|
-
originalProcessEmit =
|
|
17765
|
+
originalProcessEmit = process36.emit;
|
|
17766
17766
|
processEmit = function processEmit2(ev, arg) {
|
|
17767
17767
|
if (ev === "exit" && processOk(global.process)) {
|
|
17768
17768
|
if (arg !== void 0) {
|
|
17769
|
-
|
|
17769
|
+
process36.exitCode = arg;
|
|
17770
17770
|
}
|
|
17771
17771
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
17772
|
-
emit("exit",
|
|
17773
|
-
emit("afterexit",
|
|
17772
|
+
emit("exit", process36.exitCode, null);
|
|
17773
|
+
emit("afterexit", process36.exitCode, null);
|
|
17774
17774
|
return ret;
|
|
17775
17775
|
} else {
|
|
17776
17776
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -54898,6 +54898,36 @@ var MultiFolderTrustDialog = ({
|
|
|
54898
54898
|
] });
|
|
54899
54899
|
};
|
|
54900
54900
|
|
|
54901
|
+
// packages/cli/src/ui/utils/antigravityUtils.ts
|
|
54902
|
+
import process26 from "node:process";
|
|
54903
|
+
var ANTIGRAVITY_SH_INSTALL = "curl -fsSL https://antigravity.google/cli/install.sh | bash";
|
|
54904
|
+
function getAntigravityInstallInfo() {
|
|
54905
|
+
if (process26.platform === "win32") {
|
|
54906
|
+
if (process26.env["PSModulePath"]) {
|
|
54907
|
+
return {
|
|
54908
|
+
platformName: "Windows (PowerShell)",
|
|
54909
|
+
installCmd: "irm https://antigravity.google/cli/install.ps1 | iex"
|
|
54910
|
+
};
|
|
54911
|
+
} else {
|
|
54912
|
+
return {
|
|
54913
|
+
platformName: "Windows (Command Prompt)",
|
|
54914
|
+
installCmd: "curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd"
|
|
54915
|
+
};
|
|
54916
|
+
}
|
|
54917
|
+
} else if (process26.platform === "darwin") {
|
|
54918
|
+
return {
|
|
54919
|
+
platformName: "macOS",
|
|
54920
|
+
installCmd: ANTIGRAVITY_SH_INSTALL
|
|
54921
|
+
};
|
|
54922
|
+
} else if (process26.platform === "linux") {
|
|
54923
|
+
return {
|
|
54924
|
+
platformName: "Linux",
|
|
54925
|
+
installCmd: ANTIGRAVITY_SH_INSTALL
|
|
54926
|
+
};
|
|
54927
|
+
}
|
|
54928
|
+
return null;
|
|
54929
|
+
}
|
|
54930
|
+
|
|
54901
54931
|
// node_modules/ink-spinner/build/index.js
|
|
54902
54932
|
var import_react52 = __toESM(require_react(), 1);
|
|
54903
54933
|
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
@@ -55019,7 +55049,7 @@ var _ExpandableText = ({
|
|
|
55019
55049
|
var ExpandableText = import_react54.default.memo(_ExpandableText);
|
|
55020
55050
|
|
|
55021
55051
|
// packages/cli/src/ui/key/keybindingUtils.ts
|
|
55022
|
-
import
|
|
55052
|
+
import process27 from "node:process";
|
|
55023
55053
|
var KEY_NAME_MAP = {
|
|
55024
55054
|
enter: "Enter",
|
|
55025
55055
|
escape: "Esc",
|
|
@@ -55063,7 +55093,7 @@ var MODIFIER_MAPS = {
|
|
|
55063
55093
|
}
|
|
55064
55094
|
};
|
|
55065
55095
|
function formatKeyBinding(binding, platform5) {
|
|
55066
|
-
const activePlatform = platform5 ?? (
|
|
55096
|
+
const activePlatform = platform5 ?? (process27.env["FORCE_GENERIC_KEYBINDING_HINTS"] ? "default" : process27.platform);
|
|
55067
55097
|
const modMap = MODIFIER_MAPS[activePlatform] || MODIFIER_MAPS["default"];
|
|
55068
55098
|
const parts = [];
|
|
55069
55099
|
if (binding.ctrl) parts.push(modMap.ctrl);
|
|
@@ -55932,7 +55962,7 @@ var useAlternateBuffer = () => {
|
|
|
55932
55962
|
};
|
|
55933
55963
|
|
|
55934
55964
|
// packages/cli/src/ui/commands/aboutCommand.ts
|
|
55935
|
-
import
|
|
55965
|
+
import process28 from "node:process";
|
|
55936
55966
|
var aboutCommand = {
|
|
55937
55967
|
name: "about",
|
|
55938
55968
|
description: "Show version info",
|
|
@@ -55940,17 +55970,17 @@ var aboutCommand = {
|
|
|
55940
55970
|
autoExecute: true,
|
|
55941
55971
|
isSafeConcurrent: true,
|
|
55942
55972
|
action: async (context) => {
|
|
55943
|
-
const osVersion =
|
|
55973
|
+
const osVersion = process28.platform;
|
|
55944
55974
|
let sandboxEnv = "no sandbox";
|
|
55945
|
-
if (
|
|
55946
|
-
sandboxEnv =
|
|
55947
|
-
} else if (
|
|
55948
|
-
sandboxEnv = `sandbox-exec (${
|
|
55975
|
+
if (process28.env["SANDBOX"] && process28.env["SANDBOX"] !== "sandbox-exec") {
|
|
55976
|
+
sandboxEnv = process28.env["SANDBOX"];
|
|
55977
|
+
} else if (process28.env["SANDBOX"] === "sandbox-exec") {
|
|
55978
|
+
sandboxEnv = `sandbox-exec (${process28.env["SEATBELT_PROFILE"] || "unknown"})`;
|
|
55949
55979
|
}
|
|
55950
55980
|
const modelVersion = context.services.agentContext?.config.getModel() || "Unknown";
|
|
55951
55981
|
const cliVersion = await getVersion();
|
|
55952
55982
|
const selectedAuthType = context.services.settings.merged.security.auth.selectedType || "";
|
|
55953
|
-
const gcpProject =
|
|
55983
|
+
const gcpProject = process28.env["GOOGLE_CLOUD_PROJECT"] || "";
|
|
55954
55984
|
const ideClient = await getIdeClientName(context);
|
|
55955
55985
|
const userAccountManager = new UserAccountManager();
|
|
55956
55986
|
const cachedAccount = userAccountManager.getCachedGoogleAccount();
|
|
@@ -56498,10 +56528,10 @@ var authCommand = {
|
|
|
56498
56528
|
};
|
|
56499
56529
|
|
|
56500
56530
|
// packages/cli/src/ui/commands/bugCommand.ts
|
|
56501
|
-
import
|
|
56531
|
+
import process29 from "node:process";
|
|
56502
56532
|
|
|
56503
56533
|
// packages/cli/src/generated/git-commit.ts
|
|
56504
|
-
var GIT_COMMIT_INFO = "
|
|
56534
|
+
var GIT_COMMIT_INFO = "5778999f1";
|
|
56505
56535
|
|
|
56506
56536
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56507
56537
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -56572,16 +56602,16 @@ var bugCommand = {
|
|
|
56572
56602
|
const bugDescription = (args || "").trim();
|
|
56573
56603
|
const agentContext = context.services.agentContext;
|
|
56574
56604
|
const config = agentContext?.config;
|
|
56575
|
-
const osVersion = `${
|
|
56605
|
+
const osVersion = `${process29.platform} ${process29.version}`;
|
|
56576
56606
|
let sandboxEnv = "no sandbox";
|
|
56577
|
-
if (
|
|
56578
|
-
sandboxEnv =
|
|
56579
|
-
} else if (
|
|
56580
|
-
sandboxEnv = `sandbox-exec (${
|
|
56607
|
+
if (process29.env["SANDBOX"] && process29.env["SANDBOX"] !== "sandbox-exec") {
|
|
56608
|
+
sandboxEnv = process29.env["SANDBOX"].replace(/^gemini-(?:code-)?/, "");
|
|
56609
|
+
} else if (process29.env["SANDBOX"] === "sandbox-exec") {
|
|
56610
|
+
sandboxEnv = `sandbox-exec (${process29.env["SEATBELT_PROFILE"] || "unknown"})`;
|
|
56581
56611
|
}
|
|
56582
56612
|
const modelVersion = config?.getModel() || "Unknown";
|
|
56583
56613
|
const cliVersion = await getVersion();
|
|
56584
|
-
const memoryUsage = formatBytes(
|
|
56614
|
+
const memoryUsage = formatBytes(process29.memoryUsage().rss);
|
|
56585
56615
|
const ideClient = await getIdeClientName2(context);
|
|
56586
56616
|
const terminalName = terminalCapabilityManager.getTerminalName() || "Unknown";
|
|
56587
56617
|
const terminalBgColor = terminalCapabilityManager.getTerminalBackgroundColor() || "Unknown";
|
|
@@ -56663,7 +56693,7 @@ ${bugReportUrl}${historyFileMessage}`
|
|
|
56663
56693
|
Date.now()
|
|
56664
56694
|
);
|
|
56665
56695
|
}
|
|
56666
|
-
const rss =
|
|
56696
|
+
const rss = process29.memoryUsage().rss;
|
|
56667
56697
|
const tempDir = config?.storage?.getProjectTempDir();
|
|
56668
56698
|
if (rss >= MEMORY_SNAPSHOT_AUTO_THRESHOLD_BYTES && tempDir) {
|
|
56669
56699
|
const snapshotPath = path24.join(
|
|
@@ -56725,7 +56755,7 @@ async function getIdeClientName2(context) {
|
|
|
56725
56755
|
// packages/cli/src/ui/commands/bugMemoryCommand.ts
|
|
56726
56756
|
import { stat as stat4 } from "node:fs/promises";
|
|
56727
56757
|
import path25 from "node:path";
|
|
56728
|
-
import
|
|
56758
|
+
import process30 from "node:process";
|
|
56729
56759
|
var bugMemoryCommand = {
|
|
56730
56760
|
name: "bug-memory",
|
|
56731
56761
|
description: "Capture a V8 heap snapshot to disk to attach to a bug report",
|
|
@@ -56747,7 +56777,7 @@ var bugMemoryCommand = {
|
|
|
56747
56777
|
tempDir,
|
|
56748
56778
|
`bug-memory-${Date.now()}.heapsnapshot`
|
|
56749
56779
|
);
|
|
56750
|
-
const rss =
|
|
56780
|
+
const rss = process30.memoryUsage().rss;
|
|
56751
56781
|
context.ui.addItem(
|
|
56752
56782
|
{
|
|
56753
56783
|
type: "info" /* INFO */,
|
|
@@ -57410,7 +57440,7 @@ var corgiCommand = {
|
|
|
57410
57440
|
};
|
|
57411
57441
|
|
|
57412
57442
|
// packages/cli/src/ui/commands/docsCommand.ts
|
|
57413
|
-
import
|
|
57443
|
+
import process31 from "node:process";
|
|
57414
57444
|
var docsCommand = {
|
|
57415
57445
|
name: "docs",
|
|
57416
57446
|
description: "Open full Gemini CLI documentation in your browser",
|
|
@@ -57418,7 +57448,7 @@ var docsCommand = {
|
|
|
57418
57448
|
autoExecute: true,
|
|
57419
57449
|
action: async (context) => {
|
|
57420
57450
|
const docsUrl = "https://goo.gle/gemini-cli-docs";
|
|
57421
|
-
if (
|
|
57451
|
+
if (process31.env["SANDBOX"] && process31.env["SANDBOX"] !== "sandbox-exec") {
|
|
57422
57452
|
context.ui.addItem(
|
|
57423
57453
|
{
|
|
57424
57454
|
type: "info" /* INFO */,
|
|
@@ -57760,7 +57790,7 @@ var editorCommand = {
|
|
|
57760
57790
|
};
|
|
57761
57791
|
|
|
57762
57792
|
// packages/cli/src/ui/commands/extensionsCommand.ts
|
|
57763
|
-
import
|
|
57793
|
+
import process32 from "node:process";
|
|
57764
57794
|
import { stat as stat6 } from "node:fs/promises";
|
|
57765
57795
|
|
|
57766
57796
|
// packages/cli/src/ui/components/ConfigExtensionDialog.tsx
|
|
@@ -59096,12 +59126,12 @@ async function exploreAction(context) {
|
|
|
59096
59126
|
}
|
|
59097
59127
|
}
|
|
59098
59128
|
const extensionsUrl = "https://geminicli.com/extensions/";
|
|
59099
|
-
if (
|
|
59129
|
+
if (process32.env["NODE_ENV"] === "test") {
|
|
59100
59130
|
context.ui.addItem({
|
|
59101
59131
|
type: "info" /* INFO */,
|
|
59102
59132
|
text: `Would open extensions page in your browser: ${extensionsUrl} (skipped in test environment)`
|
|
59103
59133
|
});
|
|
59104
|
-
} else if (
|
|
59134
|
+
} else if (process32.env["SANDBOX"] && process32.env["SANDBOX"] !== "sandbox-exec") {
|
|
59105
59135
|
context.ui.addItem({
|
|
59106
59136
|
type: "info" /* INFO */,
|
|
59107
59137
|
text: `View available extensions at ${extensionsUrl}`
|
|
@@ -59624,12 +59654,12 @@ var ConsoleSummaryDisplay = ({
|
|
|
59624
59654
|
};
|
|
59625
59655
|
|
|
59626
59656
|
// packages/cli/src/ui/components/Footer.tsx
|
|
59627
|
-
import
|
|
59657
|
+
import process34 from "node:process";
|
|
59628
59658
|
import os7 from "node:os";
|
|
59629
59659
|
|
|
59630
59660
|
// packages/cli/src/ui/components/MemoryUsageDisplay.tsx
|
|
59631
59661
|
var import_react69 = __toESM(require_react(), 1);
|
|
59632
|
-
import
|
|
59662
|
+
import process33 from "node:process";
|
|
59633
59663
|
var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
|
|
59634
59664
|
var MemoryUsageDisplay = ({ color = theme.text.primary, isActive = true }) => {
|
|
59635
59665
|
const [memoryUsage, setMemoryUsage] = (0, import_react69.useState)("");
|
|
@@ -59639,7 +59669,7 @@ var MemoryUsageDisplay = ({ color = theme.text.primary, isActive = true }) => {
|
|
|
59639
59669
|
return;
|
|
59640
59670
|
}
|
|
59641
59671
|
const updateMemory = () => {
|
|
59642
|
-
const usage =
|
|
59672
|
+
const usage = process33.memoryUsage().rss;
|
|
59643
59673
|
setMemoryUsage(formatBytes(usage));
|
|
59644
59674
|
setMemoryUsageColor(
|
|
59645
59675
|
usage >= 2 * 1024 * 1024 * 1024 ? theme.status.error : color
|
|
@@ -59899,7 +59929,7 @@ var SandboxIndicator = ({
|
|
|
59899
59929
|
if (isTrustedFolder === false) {
|
|
59900
59930
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { color: theme.status.warning, children: "untrusted" });
|
|
59901
59931
|
}
|
|
59902
|
-
const sandbox =
|
|
59932
|
+
const sandbox = process34.env["SANDBOX"];
|
|
59903
59933
|
if (sandbox) {
|
|
59904
59934
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { color: theme.status.warning, children: "current process" });
|
|
59905
59935
|
}
|
|
@@ -60074,7 +60104,7 @@ var Footer = () => {
|
|
|
60074
60104
|
}
|
|
60075
60105
|
case "sandbox": {
|
|
60076
60106
|
let str = "no sandbox";
|
|
60077
|
-
const sandbox =
|
|
60107
|
+
const sandbox = process34.env["SANDBOX"];
|
|
60078
60108
|
if (isTrustedFolder === false) str = "untrusted";
|
|
60079
60109
|
else if (sandbox) str = "current process";
|
|
60080
60110
|
else if (config.getSandboxEnabled()) str = "all tools";
|
|
@@ -60579,7 +60609,27 @@ var helpCommand = {
|
|
|
60579
60609
|
kind: "built-in" /* BUILT_IN */,
|
|
60580
60610
|
description: "For help on gemini-cli",
|
|
60581
60611
|
autoExecute: true,
|
|
60582
|
-
action: async (context) => {
|
|
60612
|
+
action: async (context, args) => {
|
|
60613
|
+
const lowerArgs = args?.toLowerCase() || "";
|
|
60614
|
+
const hasAntigravity = lowerArgs.includes("antigravity");
|
|
60615
|
+
const hasInstallOrMigrate = lowerArgs.includes("install") || lowerArgs.includes("migrate");
|
|
60616
|
+
if (hasAntigravity && hasInstallOrMigrate) {
|
|
60617
|
+
const info = getAntigravityInstallInfo();
|
|
60618
|
+
if (info) {
|
|
60619
|
+
context.ui.addItem({
|
|
60620
|
+
type: "info" /* INFO */,
|
|
60621
|
+
text: `To install the Antigravity CLI on ${info.platformName}, run the following command:
|
|
60622
|
+
|
|
60623
|
+
'${info.installCmd}'`
|
|
60624
|
+
});
|
|
60625
|
+
} else {
|
|
60626
|
+
context.ui.addItem({
|
|
60627
|
+
type: "info" /* INFO */,
|
|
60628
|
+
text: `Learn more about Antigravity CLI at https://antigravity.google/docs/cli-getting-started`
|
|
60629
|
+
});
|
|
60630
|
+
}
|
|
60631
|
+
return;
|
|
60632
|
+
}
|
|
60583
60633
|
const helpItem = {
|
|
60584
60634
|
type: "help" /* HELP */,
|
|
60585
60635
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -62262,7 +62312,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62262
62312
|
type: "info",
|
|
62263
62313
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62264
62314
|
});
|
|
62265
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
62315
|
+
const { MCPOAuthProvider } = await import("./core-HYJM5T45.js");
|
|
62266
62316
|
let oauthConfig = server.oauth;
|
|
62267
62317
|
if (!oauthConfig) {
|
|
62268
62318
|
oauthConfig = { enabled: false };
|
|
@@ -79412,7 +79462,7 @@ var oncallCommand = {
|
|
|
79412
79462
|
};
|
|
79413
79463
|
|
|
79414
79464
|
// packages/cli/src/ui/commands/permissionsCommand.ts
|
|
79415
|
-
import * as
|
|
79465
|
+
import * as process35 from "node:process";
|
|
79416
79466
|
import * as path33 from "node:path";
|
|
79417
79467
|
import * as fs34 from "node:fs";
|
|
79418
79468
|
var permissionsCommand = {
|
|
@@ -79430,7 +79480,7 @@ var permissionsCommand = {
|
|
|
79430
79480
|
const dirPath = input.trim();
|
|
79431
79481
|
let targetDirectory;
|
|
79432
79482
|
if (!dirPath) {
|
|
79433
|
-
targetDirectory =
|
|
79483
|
+
targetDirectory = process35.cwd();
|
|
79434
79484
|
} else {
|
|
79435
79485
|
targetDirectory = path33.resolve(expandHomeDir(dirPath));
|
|
79436
79486
|
}
|
|
@@ -81546,6 +81596,7 @@ export {
|
|
|
81546
81596
|
InputContext,
|
|
81547
81597
|
useInputState,
|
|
81548
81598
|
Footer,
|
|
81599
|
+
getAntigravityInstallInfo,
|
|
81549
81600
|
build_default,
|
|
81550
81601
|
CliSpinner,
|
|
81551
81602
|
MAX_WIDTH,
|