@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-MKTEB4X2.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-KOY6HFDJ.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZW2TA44S.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CQ5T2OOT.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
tokenLimit,
|
|
244
244
|
uiTelemetryService,
|
|
245
245
|
unescapePath
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-KK5RNP2O.js";
|
|
247
247
|
import {
|
|
248
248
|
require_src
|
|
249
249
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -294,11 +294,11 @@ var require_signals = __commonJS({
|
|
|
294
294
|
// node_modules/ink/node_modules/signal-exit/index.js
|
|
295
295
|
var require_signal_exit = __commonJS({
|
|
296
296
|
"node_modules/ink/node_modules/signal-exit/index.js"(exports, module) {
|
|
297
|
-
var
|
|
298
|
-
var processOk = function(
|
|
299
|
-
return
|
|
297
|
+
var process36 = global.process;
|
|
298
|
+
var processOk = function(process37) {
|
|
299
|
+
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";
|
|
300
300
|
};
|
|
301
|
-
if (!processOk(
|
|
301
|
+
if (!processOk(process36)) {
|
|
302
302
|
module.exports = function() {
|
|
303
303
|
return function() {
|
|
304
304
|
};
|
|
@@ -306,15 +306,15 @@ var require_signal_exit = __commonJS({
|
|
|
306
306
|
} else {
|
|
307
307
|
assert = __require("assert");
|
|
308
308
|
signals = require_signals();
|
|
309
|
-
isWin = /^win/i.test(
|
|
309
|
+
isWin = /^win/i.test(process36.platform);
|
|
310
310
|
EE = __require("events");
|
|
311
311
|
if (typeof EE !== "function") {
|
|
312
312
|
EE = EE.EventEmitter;
|
|
313
313
|
}
|
|
314
|
-
if (
|
|
315
|
-
emitter =
|
|
314
|
+
if (process36.__signal_exit_emitter__) {
|
|
315
|
+
emitter = process36.__signal_exit_emitter__;
|
|
316
316
|
} else {
|
|
317
|
-
emitter =
|
|
317
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
318
318
|
emitter.count = 0;
|
|
319
319
|
emitter.emitted = {};
|
|
320
320
|
}
|
|
@@ -351,12 +351,12 @@ var require_signal_exit = __commonJS({
|
|
|
351
351
|
loaded = false;
|
|
352
352
|
signals.forEach(function(sig) {
|
|
353
353
|
try {
|
|
354
|
-
|
|
354
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
355
355
|
} catch (er2) {
|
|
356
356
|
}
|
|
357
357
|
});
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
process36.emit = originalProcessEmit;
|
|
359
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
360
360
|
emitter.count -= 1;
|
|
361
361
|
};
|
|
362
362
|
module.exports.unload = unload;
|
|
@@ -373,7 +373,7 @@ var require_signal_exit = __commonJS({
|
|
|
373
373
|
if (!processOk(global.process)) {
|
|
374
374
|
return;
|
|
375
375
|
}
|
|
376
|
-
var listeners =
|
|
376
|
+
var listeners = process36.listeners(sig);
|
|
377
377
|
if (listeners.length === emitter.count) {
|
|
378
378
|
unload();
|
|
379
379
|
emit("exit", null, sig);
|
|
@@ -381,7 +381,7 @@ var require_signal_exit = __commonJS({
|
|
|
381
381
|
if (isWin && sig === "SIGHUP") {
|
|
382
382
|
sig = "SIGINT";
|
|
383
383
|
}
|
|
384
|
-
|
|
384
|
+
process36.kill(process36.pid, sig);
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
});
|
|
@@ -397,36 +397,36 @@ var require_signal_exit = __commonJS({
|
|
|
397
397
|
emitter.count += 1;
|
|
398
398
|
signals = signals.filter(function(sig) {
|
|
399
399
|
try {
|
|
400
|
-
|
|
400
|
+
process36.on(sig, sigListeners[sig]);
|
|
401
401
|
return true;
|
|
402
402
|
} catch (er2) {
|
|
403
403
|
return false;
|
|
404
404
|
}
|
|
405
405
|
});
|
|
406
|
-
|
|
407
|
-
|
|
406
|
+
process36.emit = processEmit;
|
|
407
|
+
process36.reallyExit = processReallyExit;
|
|
408
408
|
};
|
|
409
409
|
module.exports.load = load;
|
|
410
|
-
originalProcessReallyExit =
|
|
410
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
411
411
|
processReallyExit = function processReallyExit2(code) {
|
|
412
412
|
if (!processOk(global.process)) {
|
|
413
413
|
return;
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
416
416
|
0;
|
|
417
|
-
emit("exit",
|
|
418
|
-
emit("afterexit",
|
|
419
|
-
originalProcessReallyExit.call(
|
|
417
|
+
emit("exit", process36.exitCode, null);
|
|
418
|
+
emit("afterexit", process36.exitCode, null);
|
|
419
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
420
420
|
};
|
|
421
|
-
originalProcessEmit =
|
|
421
|
+
originalProcessEmit = process36.emit;
|
|
422
422
|
processEmit = function processEmit2(ev, arg) {
|
|
423
423
|
if (ev === "exit" && processOk(global.process)) {
|
|
424
424
|
if (arg !== void 0) {
|
|
425
|
-
|
|
425
|
+
process36.exitCode = arg;
|
|
426
426
|
}
|
|
427
427
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
428
|
-
emit("exit",
|
|
429
|
-
emit("afterexit",
|
|
428
|
+
emit("exit", process36.exitCode, null);
|
|
429
|
+
emit("afterexit", process36.exitCode, null);
|
|
430
430
|
return ret;
|
|
431
431
|
} else {
|
|
432
432
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -8807,11 +8807,11 @@ var require_signals2 = __commonJS({
|
|
|
8807
8807
|
// node_modules/restore-cursor/node_modules/signal-exit/index.js
|
|
8808
8808
|
var require_signal_exit2 = __commonJS({
|
|
8809
8809
|
"node_modules/restore-cursor/node_modules/signal-exit/index.js"(exports, module) {
|
|
8810
|
-
var
|
|
8811
|
-
var processOk = function(
|
|
8812
|
-
return
|
|
8810
|
+
var process36 = global.process;
|
|
8811
|
+
var processOk = function(process37) {
|
|
8812
|
+
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";
|
|
8813
8813
|
};
|
|
8814
|
-
if (!processOk(
|
|
8814
|
+
if (!processOk(process36)) {
|
|
8815
8815
|
module.exports = function() {
|
|
8816
8816
|
return function() {
|
|
8817
8817
|
};
|
|
@@ -8819,15 +8819,15 @@ var require_signal_exit2 = __commonJS({
|
|
|
8819
8819
|
} else {
|
|
8820
8820
|
assert = __require("assert");
|
|
8821
8821
|
signals = require_signals2();
|
|
8822
|
-
isWin = /^win/i.test(
|
|
8822
|
+
isWin = /^win/i.test(process36.platform);
|
|
8823
8823
|
EE = __require("events");
|
|
8824
8824
|
if (typeof EE !== "function") {
|
|
8825
8825
|
EE = EE.EventEmitter;
|
|
8826
8826
|
}
|
|
8827
|
-
if (
|
|
8828
|
-
emitter =
|
|
8827
|
+
if (process36.__signal_exit_emitter__) {
|
|
8828
|
+
emitter = process36.__signal_exit_emitter__;
|
|
8829
8829
|
} else {
|
|
8830
|
-
emitter =
|
|
8830
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
8831
8831
|
emitter.count = 0;
|
|
8832
8832
|
emitter.emitted = {};
|
|
8833
8833
|
}
|
|
@@ -8864,12 +8864,12 @@ var require_signal_exit2 = __commonJS({
|
|
|
8864
8864
|
loaded = false;
|
|
8865
8865
|
signals.forEach(function(sig) {
|
|
8866
8866
|
try {
|
|
8867
|
-
|
|
8867
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
8868
8868
|
} catch (er2) {
|
|
8869
8869
|
}
|
|
8870
8870
|
});
|
|
8871
|
-
|
|
8872
|
-
|
|
8871
|
+
process36.emit = originalProcessEmit;
|
|
8872
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
8873
8873
|
emitter.count -= 1;
|
|
8874
8874
|
};
|
|
8875
8875
|
module.exports.unload = unload;
|
|
@@ -8886,7 +8886,7 @@ var require_signal_exit2 = __commonJS({
|
|
|
8886
8886
|
if (!processOk(global.process)) {
|
|
8887
8887
|
return;
|
|
8888
8888
|
}
|
|
8889
|
-
var listeners =
|
|
8889
|
+
var listeners = process36.listeners(sig);
|
|
8890
8890
|
if (listeners.length === emitter.count) {
|
|
8891
8891
|
unload();
|
|
8892
8892
|
emit("exit", null, sig);
|
|
@@ -8894,7 +8894,7 @@ var require_signal_exit2 = __commonJS({
|
|
|
8894
8894
|
if (isWin && sig === "SIGHUP") {
|
|
8895
8895
|
sig = "SIGINT";
|
|
8896
8896
|
}
|
|
8897
|
-
|
|
8897
|
+
process36.kill(process36.pid, sig);
|
|
8898
8898
|
}
|
|
8899
8899
|
};
|
|
8900
8900
|
});
|
|
@@ -8910,36 +8910,36 @@ var require_signal_exit2 = __commonJS({
|
|
|
8910
8910
|
emitter.count += 1;
|
|
8911
8911
|
signals = signals.filter(function(sig) {
|
|
8912
8912
|
try {
|
|
8913
|
-
|
|
8913
|
+
process36.on(sig, sigListeners[sig]);
|
|
8914
8914
|
return true;
|
|
8915
8915
|
} catch (er2) {
|
|
8916
8916
|
return false;
|
|
8917
8917
|
}
|
|
8918
8918
|
});
|
|
8919
|
-
|
|
8920
|
-
|
|
8919
|
+
process36.emit = processEmit;
|
|
8920
|
+
process36.reallyExit = processReallyExit;
|
|
8921
8921
|
};
|
|
8922
8922
|
module.exports.load = load;
|
|
8923
|
-
originalProcessReallyExit =
|
|
8923
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
8924
8924
|
processReallyExit = function processReallyExit2(code) {
|
|
8925
8925
|
if (!processOk(global.process)) {
|
|
8926
8926
|
return;
|
|
8927
8927
|
}
|
|
8928
|
-
|
|
8928
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
8929
8929
|
0;
|
|
8930
|
-
emit("exit",
|
|
8931
|
-
emit("afterexit",
|
|
8932
|
-
originalProcessReallyExit.call(
|
|
8930
|
+
emit("exit", process36.exitCode, null);
|
|
8931
|
+
emit("afterexit", process36.exitCode, null);
|
|
8932
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
8933
8933
|
};
|
|
8934
|
-
originalProcessEmit =
|
|
8934
|
+
originalProcessEmit = process36.emit;
|
|
8935
8935
|
processEmit = function processEmit2(ev, arg) {
|
|
8936
8936
|
if (ev === "exit" && processOk(global.process)) {
|
|
8937
8937
|
if (arg !== void 0) {
|
|
8938
|
-
|
|
8938
|
+
process36.exitCode = arg;
|
|
8939
8939
|
}
|
|
8940
8940
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
8941
|
-
emit("exit",
|
|
8942
|
-
emit("afterexit",
|
|
8941
|
+
emit("exit", process36.exitCode, null);
|
|
8942
|
+
emit("afterexit", process36.exitCode, null);
|
|
8943
8943
|
return ret;
|
|
8944
8944
|
} else {
|
|
8945
8945
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -17651,11 +17651,11 @@ var require_signals4 = __commonJS({
|
|
|
17651
17651
|
// node_modules/run-jxa/node_modules/signal-exit/index.js
|
|
17652
17652
|
var require_signal_exit3 = __commonJS({
|
|
17653
17653
|
"node_modules/run-jxa/node_modules/signal-exit/index.js"(exports, module) {
|
|
17654
|
-
var
|
|
17655
|
-
var processOk = function(
|
|
17656
|
-
return
|
|
17654
|
+
var process36 = global.process;
|
|
17655
|
+
var processOk = function(process37) {
|
|
17656
|
+
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";
|
|
17657
17657
|
};
|
|
17658
|
-
if (!processOk(
|
|
17658
|
+
if (!processOk(process36)) {
|
|
17659
17659
|
module.exports = function() {
|
|
17660
17660
|
return function() {
|
|
17661
17661
|
};
|
|
@@ -17663,15 +17663,15 @@ var require_signal_exit3 = __commonJS({
|
|
|
17663
17663
|
} else {
|
|
17664
17664
|
assert = __require("assert");
|
|
17665
17665
|
signals = require_signals4();
|
|
17666
|
-
isWin = /^win/i.test(
|
|
17666
|
+
isWin = /^win/i.test(process36.platform);
|
|
17667
17667
|
EE = __require("events");
|
|
17668
17668
|
if (typeof EE !== "function") {
|
|
17669
17669
|
EE = EE.EventEmitter;
|
|
17670
17670
|
}
|
|
17671
|
-
if (
|
|
17672
|
-
emitter =
|
|
17671
|
+
if (process36.__signal_exit_emitter__) {
|
|
17672
|
+
emitter = process36.__signal_exit_emitter__;
|
|
17673
17673
|
} else {
|
|
17674
|
-
emitter =
|
|
17674
|
+
emitter = process36.__signal_exit_emitter__ = new EE();
|
|
17675
17675
|
emitter.count = 0;
|
|
17676
17676
|
emitter.emitted = {};
|
|
17677
17677
|
}
|
|
@@ -17708,12 +17708,12 @@ var require_signal_exit3 = __commonJS({
|
|
|
17708
17708
|
loaded = false;
|
|
17709
17709
|
signals.forEach(function(sig) {
|
|
17710
17710
|
try {
|
|
17711
|
-
|
|
17711
|
+
process36.removeListener(sig, sigListeners[sig]);
|
|
17712
17712
|
} catch (er2) {
|
|
17713
17713
|
}
|
|
17714
17714
|
});
|
|
17715
|
-
|
|
17716
|
-
|
|
17715
|
+
process36.emit = originalProcessEmit;
|
|
17716
|
+
process36.reallyExit = originalProcessReallyExit;
|
|
17717
17717
|
emitter.count -= 1;
|
|
17718
17718
|
};
|
|
17719
17719
|
module.exports.unload = unload;
|
|
@@ -17730,7 +17730,7 @@ var require_signal_exit3 = __commonJS({
|
|
|
17730
17730
|
if (!processOk(global.process)) {
|
|
17731
17731
|
return;
|
|
17732
17732
|
}
|
|
17733
|
-
var listeners =
|
|
17733
|
+
var listeners = process36.listeners(sig);
|
|
17734
17734
|
if (listeners.length === emitter.count) {
|
|
17735
17735
|
unload();
|
|
17736
17736
|
emit("exit", null, sig);
|
|
@@ -17738,7 +17738,7 @@ var require_signal_exit3 = __commonJS({
|
|
|
17738
17738
|
if (isWin && sig === "SIGHUP") {
|
|
17739
17739
|
sig = "SIGINT";
|
|
17740
17740
|
}
|
|
17741
|
-
|
|
17741
|
+
process36.kill(process36.pid, sig);
|
|
17742
17742
|
}
|
|
17743
17743
|
};
|
|
17744
17744
|
});
|
|
@@ -17754,36 +17754,36 @@ var require_signal_exit3 = __commonJS({
|
|
|
17754
17754
|
emitter.count += 1;
|
|
17755
17755
|
signals = signals.filter(function(sig) {
|
|
17756
17756
|
try {
|
|
17757
|
-
|
|
17757
|
+
process36.on(sig, sigListeners[sig]);
|
|
17758
17758
|
return true;
|
|
17759
17759
|
} catch (er2) {
|
|
17760
17760
|
return false;
|
|
17761
17761
|
}
|
|
17762
17762
|
});
|
|
17763
|
-
|
|
17764
|
-
|
|
17763
|
+
process36.emit = processEmit;
|
|
17764
|
+
process36.reallyExit = processReallyExit;
|
|
17765
17765
|
};
|
|
17766
17766
|
module.exports.load = load;
|
|
17767
|
-
originalProcessReallyExit =
|
|
17767
|
+
originalProcessReallyExit = process36.reallyExit;
|
|
17768
17768
|
processReallyExit = function processReallyExit2(code) {
|
|
17769
17769
|
if (!processOk(global.process)) {
|
|
17770
17770
|
return;
|
|
17771
17771
|
}
|
|
17772
|
-
|
|
17772
|
+
process36.exitCode = code || /* istanbul ignore next */
|
|
17773
17773
|
0;
|
|
17774
|
-
emit("exit",
|
|
17775
|
-
emit("afterexit",
|
|
17776
|
-
originalProcessReallyExit.call(
|
|
17774
|
+
emit("exit", process36.exitCode, null);
|
|
17775
|
+
emit("afterexit", process36.exitCode, null);
|
|
17776
|
+
originalProcessReallyExit.call(process36, process36.exitCode);
|
|
17777
17777
|
};
|
|
17778
|
-
originalProcessEmit =
|
|
17778
|
+
originalProcessEmit = process36.emit;
|
|
17779
17779
|
processEmit = function processEmit2(ev, arg) {
|
|
17780
17780
|
if (ev === "exit" && processOk(global.process)) {
|
|
17781
17781
|
if (arg !== void 0) {
|
|
17782
|
-
|
|
17782
|
+
process36.exitCode = arg;
|
|
17783
17783
|
}
|
|
17784
17784
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
17785
|
-
emit("exit",
|
|
17786
|
-
emit("afterexit",
|
|
17785
|
+
emit("exit", process36.exitCode, null);
|
|
17786
|
+
emit("afterexit", process36.exitCode, null);
|
|
17787
17787
|
return ret;
|
|
17788
17788
|
} else {
|
|
17789
17789
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -54911,6 +54911,36 @@ var MultiFolderTrustDialog = ({
|
|
|
54911
54911
|
] });
|
|
54912
54912
|
};
|
|
54913
54913
|
|
|
54914
|
+
// packages/cli/src/ui/utils/antigravityUtils.ts
|
|
54915
|
+
import process26 from "node:process";
|
|
54916
|
+
var ANTIGRAVITY_SH_INSTALL = "curl -fsSL https://antigravity.google/cli/install.sh | bash";
|
|
54917
|
+
function getAntigravityInstallInfo() {
|
|
54918
|
+
if (process26.platform === "win32") {
|
|
54919
|
+
if (process26.env["PSModulePath"]) {
|
|
54920
|
+
return {
|
|
54921
|
+
platformName: "Windows (PowerShell)",
|
|
54922
|
+
installCmd: "irm https://antigravity.google/cli/install.ps1 | iex"
|
|
54923
|
+
};
|
|
54924
|
+
} else {
|
|
54925
|
+
return {
|
|
54926
|
+
platformName: "Windows (Command Prompt)",
|
|
54927
|
+
installCmd: "curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd"
|
|
54928
|
+
};
|
|
54929
|
+
}
|
|
54930
|
+
} else if (process26.platform === "darwin") {
|
|
54931
|
+
return {
|
|
54932
|
+
platformName: "macOS",
|
|
54933
|
+
installCmd: ANTIGRAVITY_SH_INSTALL
|
|
54934
|
+
};
|
|
54935
|
+
} else if (process26.platform === "linux") {
|
|
54936
|
+
return {
|
|
54937
|
+
platformName: "Linux",
|
|
54938
|
+
installCmd: ANTIGRAVITY_SH_INSTALL
|
|
54939
|
+
};
|
|
54940
|
+
}
|
|
54941
|
+
return null;
|
|
54942
|
+
}
|
|
54943
|
+
|
|
54914
54944
|
// node_modules/ink-spinner/build/index.js
|
|
54915
54945
|
var import_react52 = __toESM(require_react(), 1);
|
|
54916
54946
|
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
@@ -55032,7 +55062,7 @@ var _ExpandableText = ({
|
|
|
55032
55062
|
var ExpandableText = import_react54.default.memo(_ExpandableText);
|
|
55033
55063
|
|
|
55034
55064
|
// packages/cli/src/ui/key/keybindingUtils.ts
|
|
55035
|
-
import
|
|
55065
|
+
import process27 from "node:process";
|
|
55036
55066
|
var KEY_NAME_MAP = {
|
|
55037
55067
|
enter: "Enter",
|
|
55038
55068
|
escape: "Esc",
|
|
@@ -55076,7 +55106,7 @@ var MODIFIER_MAPS = {
|
|
|
55076
55106
|
}
|
|
55077
55107
|
};
|
|
55078
55108
|
function formatKeyBinding(binding, platform5) {
|
|
55079
|
-
const activePlatform = platform5 ?? (
|
|
55109
|
+
const activePlatform = platform5 ?? (process27.env["FORCE_GENERIC_KEYBINDING_HINTS"] ? "default" : process27.platform);
|
|
55080
55110
|
const modMap = MODIFIER_MAPS[activePlatform] || MODIFIER_MAPS["default"];
|
|
55081
55111
|
const parts = [];
|
|
55082
55112
|
if (binding.ctrl) parts.push(modMap.ctrl);
|
|
@@ -55945,7 +55975,7 @@ var useAlternateBuffer = () => {
|
|
|
55945
55975
|
};
|
|
55946
55976
|
|
|
55947
55977
|
// packages/cli/src/ui/commands/aboutCommand.ts
|
|
55948
|
-
import
|
|
55978
|
+
import process28 from "node:process";
|
|
55949
55979
|
var aboutCommand = {
|
|
55950
55980
|
name: "about",
|
|
55951
55981
|
description: "Show version info",
|
|
@@ -55953,17 +55983,17 @@ var aboutCommand = {
|
|
|
55953
55983
|
autoExecute: true,
|
|
55954
55984
|
isSafeConcurrent: true,
|
|
55955
55985
|
action: async (context) => {
|
|
55956
|
-
const osVersion =
|
|
55986
|
+
const osVersion = process28.platform;
|
|
55957
55987
|
let sandboxEnv = "no sandbox";
|
|
55958
|
-
if (
|
|
55959
|
-
sandboxEnv =
|
|
55960
|
-
} else if (
|
|
55961
|
-
sandboxEnv = `sandbox-exec (${
|
|
55988
|
+
if (process28.env["SANDBOX"] && process28.env["SANDBOX"] !== "sandbox-exec") {
|
|
55989
|
+
sandboxEnv = process28.env["SANDBOX"];
|
|
55990
|
+
} else if (process28.env["SANDBOX"] === "sandbox-exec") {
|
|
55991
|
+
sandboxEnv = `sandbox-exec (${process28.env["SEATBELT_PROFILE"] || "unknown"})`;
|
|
55962
55992
|
}
|
|
55963
55993
|
const modelVersion = context.services.agentContext?.config.getModel() || "Unknown";
|
|
55964
55994
|
const cliVersion = await getVersion();
|
|
55965
55995
|
const selectedAuthType = context.services.settings.merged.security.auth.selectedType || "";
|
|
55966
|
-
const gcpProject =
|
|
55996
|
+
const gcpProject = process28.env["GOOGLE_CLOUD_PROJECT"] || "";
|
|
55967
55997
|
const ideClient = await getIdeClientName(context);
|
|
55968
55998
|
const userAccountManager = new UserAccountManager();
|
|
55969
55999
|
const cachedAccount = userAccountManager.getCachedGoogleAccount();
|
|
@@ -56511,10 +56541,10 @@ var authCommand = {
|
|
|
56511
56541
|
};
|
|
56512
56542
|
|
|
56513
56543
|
// packages/cli/src/ui/commands/bugCommand.ts
|
|
56514
|
-
import
|
|
56544
|
+
import process29 from "node:process";
|
|
56515
56545
|
|
|
56516
56546
|
// packages/cli/src/generated/git-commit.ts
|
|
56517
|
-
var GIT_COMMIT_INFO = "
|
|
56547
|
+
var GIT_COMMIT_INFO = "5778999f1";
|
|
56518
56548
|
|
|
56519
56549
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56520
56550
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -56585,16 +56615,16 @@ var bugCommand = {
|
|
|
56585
56615
|
const bugDescription = (args || "").trim();
|
|
56586
56616
|
const agentContext = context.services.agentContext;
|
|
56587
56617
|
const config = agentContext?.config;
|
|
56588
|
-
const osVersion = `${
|
|
56618
|
+
const osVersion = `${process29.platform} ${process29.version}`;
|
|
56589
56619
|
let sandboxEnv = "no sandbox";
|
|
56590
|
-
if (
|
|
56591
|
-
sandboxEnv =
|
|
56592
|
-
} else if (
|
|
56593
|
-
sandboxEnv = `sandbox-exec (${
|
|
56620
|
+
if (process29.env["SANDBOX"] && process29.env["SANDBOX"] !== "sandbox-exec") {
|
|
56621
|
+
sandboxEnv = process29.env["SANDBOX"].replace(/^gemini-(?:code-)?/, "");
|
|
56622
|
+
} else if (process29.env["SANDBOX"] === "sandbox-exec") {
|
|
56623
|
+
sandboxEnv = `sandbox-exec (${process29.env["SEATBELT_PROFILE"] || "unknown"})`;
|
|
56594
56624
|
}
|
|
56595
56625
|
const modelVersion = config?.getModel() || "Unknown";
|
|
56596
56626
|
const cliVersion = await getVersion();
|
|
56597
|
-
const memoryUsage = formatBytes(
|
|
56627
|
+
const memoryUsage = formatBytes(process29.memoryUsage().rss);
|
|
56598
56628
|
const ideClient = await getIdeClientName2(context);
|
|
56599
56629
|
const terminalName = terminalCapabilityManager.getTerminalName() || "Unknown";
|
|
56600
56630
|
const terminalBgColor = terminalCapabilityManager.getTerminalBackgroundColor() || "Unknown";
|
|
@@ -56676,7 +56706,7 @@ ${bugReportUrl}${historyFileMessage}`
|
|
|
56676
56706
|
Date.now()
|
|
56677
56707
|
);
|
|
56678
56708
|
}
|
|
56679
|
-
const rss =
|
|
56709
|
+
const rss = process29.memoryUsage().rss;
|
|
56680
56710
|
const tempDir = config?.storage?.getProjectTempDir();
|
|
56681
56711
|
if (rss >= MEMORY_SNAPSHOT_AUTO_THRESHOLD_BYTES && tempDir) {
|
|
56682
56712
|
const snapshotPath = path24.join(
|
|
@@ -56738,7 +56768,7 @@ async function getIdeClientName2(context) {
|
|
|
56738
56768
|
// packages/cli/src/ui/commands/bugMemoryCommand.ts
|
|
56739
56769
|
import { stat as stat4 } from "node:fs/promises";
|
|
56740
56770
|
import path25 from "node:path";
|
|
56741
|
-
import
|
|
56771
|
+
import process30 from "node:process";
|
|
56742
56772
|
var bugMemoryCommand = {
|
|
56743
56773
|
name: "bug-memory",
|
|
56744
56774
|
description: "Capture a V8 heap snapshot to disk to attach to a bug report",
|
|
@@ -56760,7 +56790,7 @@ var bugMemoryCommand = {
|
|
|
56760
56790
|
tempDir,
|
|
56761
56791
|
`bug-memory-${Date.now()}.heapsnapshot`
|
|
56762
56792
|
);
|
|
56763
|
-
const rss =
|
|
56793
|
+
const rss = process30.memoryUsage().rss;
|
|
56764
56794
|
context.ui.addItem(
|
|
56765
56795
|
{
|
|
56766
56796
|
type: "info" /* INFO */,
|
|
@@ -57423,7 +57453,7 @@ var corgiCommand = {
|
|
|
57423
57453
|
};
|
|
57424
57454
|
|
|
57425
57455
|
// packages/cli/src/ui/commands/docsCommand.ts
|
|
57426
|
-
import
|
|
57456
|
+
import process31 from "node:process";
|
|
57427
57457
|
var docsCommand = {
|
|
57428
57458
|
name: "docs",
|
|
57429
57459
|
description: "Open full Gemini CLI documentation in your browser",
|
|
@@ -57431,7 +57461,7 @@ var docsCommand = {
|
|
|
57431
57461
|
autoExecute: true,
|
|
57432
57462
|
action: async (context) => {
|
|
57433
57463
|
const docsUrl = "https://goo.gle/gemini-cli-docs";
|
|
57434
|
-
if (
|
|
57464
|
+
if (process31.env["SANDBOX"] && process31.env["SANDBOX"] !== "sandbox-exec") {
|
|
57435
57465
|
context.ui.addItem(
|
|
57436
57466
|
{
|
|
57437
57467
|
type: "info" /* INFO */,
|
|
@@ -57773,7 +57803,7 @@ var editorCommand = {
|
|
|
57773
57803
|
};
|
|
57774
57804
|
|
|
57775
57805
|
// packages/cli/src/ui/commands/extensionsCommand.ts
|
|
57776
|
-
import
|
|
57806
|
+
import process32 from "node:process";
|
|
57777
57807
|
import { stat as stat6 } from "node:fs/promises";
|
|
57778
57808
|
|
|
57779
57809
|
// packages/cli/src/ui/components/ConfigExtensionDialog.tsx
|
|
@@ -59109,12 +59139,12 @@ async function exploreAction(context) {
|
|
|
59109
59139
|
}
|
|
59110
59140
|
}
|
|
59111
59141
|
const extensionsUrl = "https://geminicli.com/extensions/";
|
|
59112
|
-
if (
|
|
59142
|
+
if (process32.env["NODE_ENV"] === "test") {
|
|
59113
59143
|
context.ui.addItem({
|
|
59114
59144
|
type: "info" /* INFO */,
|
|
59115
59145
|
text: `Would open extensions page in your browser: ${extensionsUrl} (skipped in test environment)`
|
|
59116
59146
|
});
|
|
59117
|
-
} else if (
|
|
59147
|
+
} else if (process32.env["SANDBOX"] && process32.env["SANDBOX"] !== "sandbox-exec") {
|
|
59118
59148
|
context.ui.addItem({
|
|
59119
59149
|
type: "info" /* INFO */,
|
|
59120
59150
|
text: `View available extensions at ${extensionsUrl}`
|
|
@@ -59637,12 +59667,12 @@ var ConsoleSummaryDisplay = ({
|
|
|
59637
59667
|
};
|
|
59638
59668
|
|
|
59639
59669
|
// packages/cli/src/ui/components/Footer.tsx
|
|
59640
|
-
import
|
|
59670
|
+
import process34 from "node:process";
|
|
59641
59671
|
import os7 from "node:os";
|
|
59642
59672
|
|
|
59643
59673
|
// packages/cli/src/ui/components/MemoryUsageDisplay.tsx
|
|
59644
59674
|
var import_react69 = __toESM(require_react(), 1);
|
|
59645
|
-
import
|
|
59675
|
+
import process33 from "node:process";
|
|
59646
59676
|
var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
|
|
59647
59677
|
var MemoryUsageDisplay = ({ color = theme.text.primary, isActive = true }) => {
|
|
59648
59678
|
const [memoryUsage, setMemoryUsage] = (0, import_react69.useState)("");
|
|
@@ -59652,7 +59682,7 @@ var MemoryUsageDisplay = ({ color = theme.text.primary, isActive = true }) => {
|
|
|
59652
59682
|
return;
|
|
59653
59683
|
}
|
|
59654
59684
|
const updateMemory = () => {
|
|
59655
|
-
const usage =
|
|
59685
|
+
const usage = process33.memoryUsage().rss;
|
|
59656
59686
|
setMemoryUsage(formatBytes(usage));
|
|
59657
59687
|
setMemoryUsageColor(
|
|
59658
59688
|
usage >= 2 * 1024 * 1024 * 1024 ? theme.status.error : color
|
|
@@ -59912,7 +59942,7 @@ var SandboxIndicator = ({
|
|
|
59912
59942
|
if (isTrustedFolder === false) {
|
|
59913
59943
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { color: theme.status.warning, children: "untrusted" });
|
|
59914
59944
|
}
|
|
59915
|
-
const sandbox =
|
|
59945
|
+
const sandbox = process34.env["SANDBOX"];
|
|
59916
59946
|
if (sandbox) {
|
|
59917
59947
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { color: theme.status.warning, children: "current process" });
|
|
59918
59948
|
}
|
|
@@ -60087,7 +60117,7 @@ var Footer = () => {
|
|
|
60087
60117
|
}
|
|
60088
60118
|
case "sandbox": {
|
|
60089
60119
|
let str = "no sandbox";
|
|
60090
|
-
const sandbox =
|
|
60120
|
+
const sandbox = process34.env["SANDBOX"];
|
|
60091
60121
|
if (isTrustedFolder === false) str = "untrusted";
|
|
60092
60122
|
else if (sandbox) str = "current process";
|
|
60093
60123
|
else if (config.getSandboxEnabled()) str = "all tools";
|
|
@@ -60592,7 +60622,27 @@ var helpCommand = {
|
|
|
60592
60622
|
kind: "built-in" /* BUILT_IN */,
|
|
60593
60623
|
description: "For help on gemini-cli",
|
|
60594
60624
|
autoExecute: true,
|
|
60595
|
-
action: async (context) => {
|
|
60625
|
+
action: async (context, args) => {
|
|
60626
|
+
const lowerArgs = args?.toLowerCase() || "";
|
|
60627
|
+
const hasAntigravity = lowerArgs.includes("antigravity");
|
|
60628
|
+
const hasInstallOrMigrate = lowerArgs.includes("install") || lowerArgs.includes("migrate");
|
|
60629
|
+
if (hasAntigravity && hasInstallOrMigrate) {
|
|
60630
|
+
const info = getAntigravityInstallInfo();
|
|
60631
|
+
if (info) {
|
|
60632
|
+
context.ui.addItem({
|
|
60633
|
+
type: "info" /* INFO */,
|
|
60634
|
+
text: `To install the Antigravity CLI on ${info.platformName}, run the following command:
|
|
60635
|
+
|
|
60636
|
+
'${info.installCmd}'`
|
|
60637
|
+
});
|
|
60638
|
+
} else {
|
|
60639
|
+
context.ui.addItem({
|
|
60640
|
+
type: "info" /* INFO */,
|
|
60641
|
+
text: `Learn more about Antigravity CLI at https://antigravity.google/docs/cli-getting-started`
|
|
60642
|
+
});
|
|
60643
|
+
}
|
|
60644
|
+
return;
|
|
60645
|
+
}
|
|
60596
60646
|
const helpItem = {
|
|
60597
60647
|
type: "help" /* HELP */,
|
|
60598
60648
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -62275,7 +62325,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62275
62325
|
type: "info",
|
|
62276
62326
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62277
62327
|
});
|
|
62278
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
62328
|
+
const { MCPOAuthProvider } = await import("./dist-SHJ4FBPT.js");
|
|
62279
62329
|
let oauthConfig = server.oauth;
|
|
62280
62330
|
if (!oauthConfig) {
|
|
62281
62331
|
oauthConfig = { enabled: false };
|
|
@@ -79425,7 +79475,7 @@ var oncallCommand = {
|
|
|
79425
79475
|
};
|
|
79426
79476
|
|
|
79427
79477
|
// packages/cli/src/ui/commands/permissionsCommand.ts
|
|
79428
|
-
import * as
|
|
79478
|
+
import * as process35 from "node:process";
|
|
79429
79479
|
import * as path33 from "node:path";
|
|
79430
79480
|
import * as fs34 from "node:fs";
|
|
79431
79481
|
var permissionsCommand = {
|
|
@@ -79443,7 +79493,7 @@ var permissionsCommand = {
|
|
|
79443
79493
|
const dirPath = input.trim();
|
|
79444
79494
|
let targetDirectory;
|
|
79445
79495
|
if (!dirPath) {
|
|
79446
|
-
targetDirectory =
|
|
79496
|
+
targetDirectory = process35.cwd();
|
|
79447
79497
|
} else {
|
|
79448
79498
|
targetDirectory = path33.resolve(expandHomeDir(dirPath));
|
|
79449
79499
|
}
|
|
@@ -81559,6 +81609,7 @@ export {
|
|
|
81559
81609
|
InputContext,
|
|
81560
81610
|
useInputState,
|
|
81561
81611
|
Footer,
|
|
81612
|
+
getAntigravityInstallInfo,
|
|
81562
81613
|
build_default,
|
|
81563
81614
|
CliSpinner,
|
|
81564
81615
|
MAX_WIDTH,
|