@google/gemini-cli 0.48.0-nightly.20260612.g4e10a34be → 0.48.0-preview.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-ZT5PXPGC.js → chunk-32OC6X7M.js} +2 -2
- package/bundle/{chunk-GWB6WHVI.js → chunk-4D6ZATMR.js} +125 -83
- package/bundle/{chunk-RWG2IKXK.js → chunk-4JHCXKYF.js} +3 -3
- package/bundle/{chunk-4FWMMTHD.js → chunk-76ONBIQT.js} +1 -1
- package/bundle/{chunk-25ZW2ZOF.js → chunk-7BRNIWQY.js} +1 -1
- package/bundle/{chunk-FFKNXGOH.js → chunk-BPCFUG3V.js} +66 -33
- package/bundle/{chunk-DV5H7HVO.js → chunk-C5HEG6L3.js} +1 -1
- package/bundle/{chunk-DR6M2CVX.js → chunk-F643LQAW.js} +2 -2
- package/bundle/{chunk-BG23KJOF.js → chunk-F754PAF2.js} +1 -1
- package/bundle/{chunk-57QJRHS6.js → chunk-FKMHT24L.js} +1 -1
- package/bundle/{chunk-5TAF74A7.js → chunk-FOP27KUG.js} +66 -33
- package/bundle/{chunk-HEBKVYVW.js → chunk-GOJGZJTT.js} +1 -1
- package/bundle/{chunk-GSKH763B.js → chunk-JFJQ6J4C.js} +123 -81
- package/bundle/{chunk-5OGSMQN5.js → chunk-KRCY6JZY.js} +5 -8
- package/bundle/{chunk-3P56CQDW.js → chunk-KXJA2W44.js} +113 -93
- package/bundle/{chunk-3BHPNRR5.js → chunk-LHJYE2I2.js} +1 -1
- package/bundle/{chunk-TRKBNK3S.js → chunk-MGTB4OGF.js} +3 -3
- package/bundle/{chunk-PD2ER6QH.js → chunk-NELP7HPM.js} +14221 -7634
- package/bundle/{chunk-FSFSH7N4.js → chunk-OAXLII52.js} +2 -2
- package/bundle/{chunk-NWC2JNOB.js → chunk-PIL3VMYY.js} +1 -1
- package/bundle/{chunk-RJVA7TEL.js → chunk-REQG2CDI.js} +1 -1
- package/bundle/{chunk-JQBYCLEO.js → chunk-WBAIIKUA.js} +3 -3
- package/bundle/{chunk-ERRTQLZ3.js → chunk-WLIX7UZL.js} +1 -1
- package/bundle/{chunk-ZACXIEK6.js → chunk-ZMBUTQOC.js} +8 -9
- package/bundle/{cleanup-EMSFFQXH.js → cleanup-HQASY4ZZ.js} +2 -2
- package/bundle/{cleanup-JUEQXYLN.js → cleanup-PIKPOR36.js} +2 -2
- package/bundle/{cleanup-OQN4S6N7.js → cleanup-TFU4O2QF.js} +2 -2
- package/bundle/{core-SBDR7NMV.js → core-2HID3ALL.js} +1 -1
- package/bundle/{dist-C77MM5UI.js → core-6YK2A6I7.js} +1 -1
- package/bundle/{devtoolsService-Q6RR5ONV.js → devtoolsService-IJQN3MM5.js} +2 -2
- package/bundle/{devtoolsService-6XIZFA3V.js → devtoolsService-UOC3OTQO.js} +3 -4
- package/bundle/{devtoolsService-4K4TUJGT.js → devtoolsService-VVO37S2U.js} +2 -2
- package/bundle/{dist-IZL4IUFR.js → dist-XJ5HWKG4.js} +1 -1
- package/bundle/docs/cli/enterprise.md +1 -1
- package/bundle/{gemini-22IJYAAK.js → gemini-FNT3QJRS.js} +15 -15
- package/bundle/{gemini-BU4XIO7C.js → gemini-K7TA557G.js} +197 -213
- package/bundle/{gemini-EXF7WM5I.js → gemini-KE6MEJUV.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-WP4PF4B4.js → interactiveCli-42SRPV5K.js} +8 -8
- package/bundle/{interactiveCli-AYRCP2YE.js → interactiveCli-KHHF6YZS.js} +295 -314
- package/bundle/{interactiveCli-3XP7ZWTR.js → interactiveCli-LXYWEYTS.js} +8 -8
- package/bundle/{liteRtServerManager-BKMP23GM.js → liteRtServerManager-4P66NNGG.js} +4 -4
- package/bundle/{liteRtServerManager-BRKTTSTY.js → liteRtServerManager-MMZKQRWI.js} +4 -4
- package/bundle/{liteRtServerManager-EXA5HOJY.js → liteRtServerManager-OBHUWV37.js} +4 -4
- package/bundle/{oauth2-provider-R3XNUJCY.js → oauth2-provider-OJZ3YJZH.js} +1 -1
- package/bundle/{oauth2-provider-AOLL6E73.js → oauth2-provider-TBT32VYL.js} +1 -1
- package/bundle/{oauth2-provider-J7GSQ3D3.js → oauth2-provider-YIPV4CI4.js} +72 -38
- package/bundle/{start-FAIQQIZB.js → start-QX77TWOS.js} +6 -6
- package/bundle/{start-T37M4GQC.js → start-RF5733GP.js} +6 -6
- package/bundle/{start-UEM457EB.js → start-SYDDMBXA.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-47O5POZQ.js +0 -394678
- package/bundle/chunk-GUFPYIHD.js +0 -512
- package/bundle/chunk-I4UV4KA4.js +0 -398
- package/bundle/chunk-JNJOXQYJ.js +0 -1571
- package/bundle/chunk-M54YU4D6.js +0 -118
- package/bundle/chunk-OZYTM77K.js +0 -81736
- package/bundle/chunk-TMB2KDVR.js +0 -154
- package/bundle/chunk-WEPCSQ47.js +0 -17320
- package/bundle/cleanup-VI4MGW6W.js +0 -32
- package/bundle/devtoolsService-P7V47Y6U.js +0 -856
- package/bundle/dist-PNS3BBFZ.js +0 -2150
- package/bundle/gemini-GA3BOQUA.js +0 -16409
- package/bundle/interactiveCli-IK5ZIGXI.js +0 -34766
- package/bundle/liteRtServerManager-NPAIRQRP.js +0 -65
- package/bundle/oauth2-provider-O3JJBAIN.js +0 -235
- package/bundle/start-VUNII4BV.js +0 -18
|
@@ -2223,7 +2223,7 @@ var require_parse2 = __commonJS({
|
|
|
2223
2223
|
return typeof arg === "undefined" ? prev : prev.concat(arg);
|
|
2224
2224
|
}, []);
|
|
2225
2225
|
}
|
|
2226
|
-
module2.exports = function
|
|
2226
|
+
module2.exports = function parse9(s2, env2, opts) {
|
|
2227
2227
|
var mapped = parseInternal(s2, env2, opts);
|
|
2228
2228
|
if (typeof env2 !== "function") {
|
|
2229
2229
|
return mapped;
|
|
@@ -20574,7 +20574,7 @@ var init_v1 = __esm({
|
|
|
20574
20574
|
});
|
|
20575
20575
|
|
|
20576
20576
|
// node_modules/uuid/dist/esm-node/parse.js
|
|
20577
|
-
function
|
|
20577
|
+
function parse2(uuid3) {
|
|
20578
20578
|
if (!validate_default(uuid3)) {
|
|
20579
20579
|
throw TypeError("Invalid UUID");
|
|
20580
20580
|
}
|
|
@@ -20602,7 +20602,7 @@ var parse_default;
|
|
|
20602
20602
|
var init_parse = __esm({
|
|
20603
20603
|
"node_modules/uuid/dist/esm-node/parse.js"() {
|
|
20604
20604
|
init_validate();
|
|
20605
|
-
parse_default =
|
|
20605
|
+
parse_default = parse2;
|
|
20606
20606
|
}
|
|
20607
20607
|
});
|
|
20608
20608
|
|
|
@@ -30902,21 +30902,21 @@ var require_fast_uri = __commonJS({
|
|
|
30902
30902
|
normalizeString(uri, options);
|
|
30903
30903
|
} else if (typeof uri === "object") {
|
|
30904
30904
|
uri = /** @type {T} */
|
|
30905
|
-
|
|
30905
|
+
parse9(serialize3(uri, options), options);
|
|
30906
30906
|
}
|
|
30907
30907
|
return uri;
|
|
30908
30908
|
}
|
|
30909
30909
|
function resolve29(baseURI, relativeURI, options) {
|
|
30910
30910
|
const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
|
|
30911
|
-
const resolved = resolveComponent(
|
|
30911
|
+
const resolved = resolveComponent(parse9(baseURI, schemelessOptions), parse9(relativeURI, schemelessOptions), schemelessOptions, true);
|
|
30912
30912
|
schemelessOptions.skipEscape = true;
|
|
30913
30913
|
return serialize3(resolved, schemelessOptions);
|
|
30914
30914
|
}
|
|
30915
30915
|
function resolveComponent(base, relative12, options, skipNormalization) {
|
|
30916
30916
|
const target = {};
|
|
30917
30917
|
if (!skipNormalization) {
|
|
30918
|
-
base =
|
|
30919
|
-
relative12 =
|
|
30918
|
+
base = parse9(serialize3(base, options), options);
|
|
30919
|
+
relative12 = parse9(serialize3(relative12, options), options);
|
|
30920
30920
|
}
|
|
30921
30921
|
options = options || {};
|
|
30922
30922
|
if (!options.tolerant && relative12.scheme) {
|
|
@@ -31139,7 +31139,7 @@ var require_fast_uri = __commonJS({
|
|
|
31139
31139
|
}
|
|
31140
31140
|
return { parsed, malformedAuthorityOrPort };
|
|
31141
31141
|
}
|
|
31142
|
-
function
|
|
31142
|
+
function parse9(uri, opts) {
|
|
31143
31143
|
return parseWithStatus(uri, opts).parsed;
|
|
31144
31144
|
}
|
|
31145
31145
|
function normalizeString(uri, opts) {
|
|
@@ -31168,7 +31168,7 @@ var require_fast_uri = __commonJS({
|
|
|
31168
31168
|
resolveComponent,
|
|
31169
31169
|
equal,
|
|
31170
31170
|
serialize: serialize3,
|
|
31171
|
-
parse:
|
|
31171
|
+
parse: parse9
|
|
31172
31172
|
};
|
|
31173
31173
|
module2.exports = fastUri;
|
|
31174
31174
|
module2.exports.default = fastUri;
|
|
@@ -52391,7 +52391,7 @@ var require_root = __commonJS({
|
|
|
52391
52391
|
var OneOf = require_oneof();
|
|
52392
52392
|
var util4 = require_util7();
|
|
52393
52393
|
var Type2;
|
|
52394
|
-
var
|
|
52394
|
+
var parse9;
|
|
52395
52395
|
var common3;
|
|
52396
52396
|
function Root2(options) {
|
|
52397
52397
|
Namespace.call(this, "", options);
|
|
@@ -52451,8 +52451,8 @@ var require_root = __commonJS({
|
|
|
52451
52451
|
if (!util4.isString(source))
|
|
52452
52452
|
self2.setOptions(source.options).addJSON(source.nested);
|
|
52453
52453
|
else {
|
|
52454
|
-
|
|
52455
|
-
var parsed =
|
|
52454
|
+
parse9.filename = filename2;
|
|
52455
|
+
var parsed = parse9(source, self2, options), resolved2, i5 = 0;
|
|
52456
52456
|
if (parsed.imports) {
|
|
52457
52457
|
for (; i5 < parsed.imports.length; ++i5)
|
|
52458
52458
|
if (resolved2 = getBundledFileName(parsed.imports[i5]) || self2.resolvePath(filename2, parsed.imports[i5]))
|
|
@@ -52623,7 +52623,7 @@ var require_root = __commonJS({
|
|
|
52623
52623
|
};
|
|
52624
52624
|
Root2._configure = function(Type_, parse_2, common_) {
|
|
52625
52625
|
Type2 = Type_;
|
|
52626
|
-
|
|
52626
|
+
parse9 = parse_2;
|
|
52627
52627
|
common3 = common_;
|
|
52628
52628
|
};
|
|
52629
52629
|
}
|
|
@@ -53894,9 +53894,9 @@ var require_tokenize = __commonJS({
|
|
|
53894
53894
|
var require_parse4 = __commonJS({
|
|
53895
53895
|
"node_modules/protobufjs/src/parse.js"(exports2, module2) {
|
|
53896
53896
|
"use strict";
|
|
53897
|
-
module2.exports =
|
|
53898
|
-
|
|
53899
|
-
|
|
53897
|
+
module2.exports = parse9;
|
|
53898
|
+
parse9.filename = null;
|
|
53899
|
+
parse9.defaults = { keepCase: false };
|
|
53900
53900
|
var tokenize2 = require_tokenize();
|
|
53901
53901
|
var Root2 = require_root();
|
|
53902
53902
|
var Type2 = require_type();
|
|
@@ -53918,13 +53918,13 @@ var require_parse4 = __commonJS({
|
|
|
53918
53918
|
var numberRe = util4.patterns.numberRe;
|
|
53919
53919
|
var nameRe = /^[a-zA-Z_][a-zA-Z_0-9]*$/;
|
|
53920
53920
|
var typeRefRe = util4.patterns.typeRefRe;
|
|
53921
|
-
function
|
|
53921
|
+
function parse9(source, root, options) {
|
|
53922
53922
|
if (!(root instanceof Root2)) {
|
|
53923
53923
|
options = root;
|
|
53924
53924
|
root = new Root2();
|
|
53925
53925
|
}
|
|
53926
53926
|
if (!options)
|
|
53927
|
-
options =
|
|
53927
|
+
options = parse9.defaults;
|
|
53928
53928
|
var preferTrailingComment = options.preferTrailingComment || false;
|
|
53929
53929
|
var tn = tokenize2(source, options.alternateCommentMode || false), next = tn.next, push = tn.push, peek = tn.peek, skip = tn.skip, cmnt = tn.cmnt;
|
|
53930
53930
|
var head = true, pkg2, imports, weakImports, edition = "proto2";
|
|
@@ -53944,9 +53944,9 @@ var require_parse4 = __commonJS({
|
|
|
53944
53944
|
});
|
|
53945
53945
|
}
|
|
53946
53946
|
function illegal(token3, name3, insideTryCatch) {
|
|
53947
|
-
var filename =
|
|
53947
|
+
var filename = parse9.filename;
|
|
53948
53948
|
if (!insideTryCatch)
|
|
53949
|
-
|
|
53949
|
+
parse9.filename = null;
|
|
53950
53950
|
return Error("illegal " + (name3 || "token") + " '" + token3 + "' (" + (filename ? filename + ", " : "") + "line " + tn.line + ")");
|
|
53951
53951
|
}
|
|
53952
53952
|
function readString() {
|
|
@@ -54145,7 +54145,7 @@ var require_parse4 = __commonJS({
|
|
|
54145
54145
|
if (typeof obj.comment !== "string") {
|
|
54146
54146
|
obj.comment = cmnt();
|
|
54147
54147
|
}
|
|
54148
|
-
obj.filename =
|
|
54148
|
+
obj.filename = parse9.filename;
|
|
54149
54149
|
}
|
|
54150
54150
|
if (skip("{", true)) {
|
|
54151
54151
|
var token3;
|
|
@@ -54265,7 +54265,7 @@ var require_parse4 = __commonJS({
|
|
|
54265
54265
|
var type2 = new Type2(name3);
|
|
54266
54266
|
type2.group = true;
|
|
54267
54267
|
var field = new Field(fieldName, id, name3, rule);
|
|
54268
|
-
field.filename =
|
|
54268
|
+
field.filename = parse9.filename;
|
|
54269
54269
|
ifBlock(type2, function parseGroup_block(token3) {
|
|
54270
54270
|
switch (token3) {
|
|
54271
54271
|
case "option":
|
|
@@ -54604,7 +54604,7 @@ var require_parse4 = __commonJS({
|
|
|
54604
54604
|
}
|
|
54605
54605
|
}
|
|
54606
54606
|
resolveFileFeatures();
|
|
54607
|
-
|
|
54607
|
+
parse9.filename = null;
|
|
54608
54608
|
return {
|
|
54609
54609
|
"package": pkg2,
|
|
54610
54610
|
"imports": imports,
|
|
@@ -91593,7 +91593,7 @@ var require_public_api2 = __commonJS({
|
|
|
91593
91593
|
}
|
|
91594
91594
|
return doc;
|
|
91595
91595
|
}
|
|
91596
|
-
function
|
|
91596
|
+
function parse9(src, reviver, options) {
|
|
91597
91597
|
let _reviver = void 0;
|
|
91598
91598
|
if (typeof reviver === "function") {
|
|
91599
91599
|
_reviver = reviver;
|
|
@@ -91634,7 +91634,7 @@ var require_public_api2 = __commonJS({
|
|
|
91634
91634
|
return value.toString(options);
|
|
91635
91635
|
return new Document2.Document(value, _replacer, options).toString(options);
|
|
91636
91636
|
}
|
|
91637
|
-
exports2.parse =
|
|
91637
|
+
exports2.parse = parse9;
|
|
91638
91638
|
exports2.parseAllDocuments = parseAllDocuments;
|
|
91639
91639
|
exports2.parseDocument = parseDocument2;
|
|
91640
91640
|
exports2.stringify = stringify3;
|
|
@@ -100751,7 +100751,7 @@ var require_forwarded_parse = __commonJS({
|
|
|
100751
100751
|
position
|
|
100752
100752
|
);
|
|
100753
100753
|
}
|
|
100754
|
-
function
|
|
100754
|
+
function parse9(header) {
|
|
100755
100755
|
var mustUnescape = false;
|
|
100756
100756
|
var isEscaping = false;
|
|
100757
100757
|
var inQuotes = false;
|
|
@@ -100838,7 +100838,7 @@ var require_forwarded_parse = __commonJS({
|
|
|
100838
100838
|
output.push(forwarded);
|
|
100839
100839
|
return output;
|
|
100840
100840
|
}
|
|
100841
|
-
module2.exports =
|
|
100841
|
+
module2.exports = parse9;
|
|
100842
100842
|
}
|
|
100843
100843
|
});
|
|
100844
100844
|
|
|
@@ -126668,11 +126668,11 @@ var require_lib5 = __commonJS({
|
|
|
126668
126668
|
"node_modules/qs/lib/index.js"(exports2, module2) {
|
|
126669
126669
|
"use strict";
|
|
126670
126670
|
var stringify3 = require_stringify4();
|
|
126671
|
-
var
|
|
126671
|
+
var parse9 = require_parse5();
|
|
126672
126672
|
var formats = require_formats2();
|
|
126673
126673
|
module2.exports = {
|
|
126674
126674
|
formats,
|
|
126675
|
-
parse:
|
|
126675
|
+
parse: parse9,
|
|
126676
126676
|
stringify: stringify3
|
|
126677
126677
|
};
|
|
126678
126678
|
}
|
|
@@ -166730,7 +166730,7 @@ var init_v12 = __esm({
|
|
|
166730
166730
|
});
|
|
166731
166731
|
|
|
166732
166732
|
// node_modules/eventid/node_modules/uuid/dist/esm-node/parse.js
|
|
166733
|
-
function
|
|
166733
|
+
function parse3(uuid3) {
|
|
166734
166734
|
if (!validate_default2(uuid3)) {
|
|
166735
166735
|
throw TypeError("Invalid UUID");
|
|
166736
166736
|
}
|
|
@@ -166758,7 +166758,7 @@ var parse_default2;
|
|
|
166758
166758
|
var init_parse2 = __esm({
|
|
166759
166759
|
"node_modules/eventid/node_modules/uuid/dist/esm-node/parse.js"() {
|
|
166760
166760
|
init_validate2();
|
|
166761
|
-
parse_default2 =
|
|
166761
|
+
parse_default2 = parse3;
|
|
166762
166762
|
}
|
|
166763
166763
|
});
|
|
166764
166764
|
|
|
@@ -202167,7 +202167,7 @@ var require_parse6 = __commonJS({
|
|
|
202167
202167
|
}
|
|
202168
202168
|
return parsed;
|
|
202169
202169
|
}
|
|
202170
|
-
function
|
|
202170
|
+
function parse9(command, args2, options) {
|
|
202171
202171
|
if (args2 && !Array.isArray(args2)) {
|
|
202172
202172
|
options = args2;
|
|
202173
202173
|
args2 = null;
|
|
@@ -202186,7 +202186,7 @@ var require_parse6 = __commonJS({
|
|
|
202186
202186
|
};
|
|
202187
202187
|
return options.shell ? parsed : parseNonShell(parsed);
|
|
202188
202188
|
}
|
|
202189
|
-
module2.exports =
|
|
202189
|
+
module2.exports = parse9;
|
|
202190
202190
|
}
|
|
202191
202191
|
});
|
|
202192
202192
|
|
|
@@ -202245,16 +202245,16 @@ var require_cross_spawn = __commonJS({
|
|
|
202245
202245
|
"node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
202246
202246
|
"use strict";
|
|
202247
202247
|
var cp2 = __require("child_process");
|
|
202248
|
-
var
|
|
202248
|
+
var parse9 = require_parse6();
|
|
202249
202249
|
var enoent = require_enoent();
|
|
202250
202250
|
function spawn13(command, args2, options) {
|
|
202251
|
-
const parsed =
|
|
202251
|
+
const parsed = parse9(command, args2, options);
|
|
202252
202252
|
const spawned = cp2.spawn(parsed.command, parsed.args, parsed.options);
|
|
202253
202253
|
enoent.hookChildProcess(spawned, parsed);
|
|
202254
202254
|
return spawned;
|
|
202255
202255
|
}
|
|
202256
202256
|
function spawnSync6(command, args2, options) {
|
|
202257
|
-
const parsed =
|
|
202257
|
+
const parsed = parse9(command, args2, options);
|
|
202258
202258
|
const result2 = cp2.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
202259
202259
|
result2.error = result2.error || enoent.verifyENOENTSync(result2.status, parsed);
|
|
202260
202260
|
return result2;
|
|
@@ -202262,7 +202262,7 @@ var require_cross_spawn = __commonJS({
|
|
|
202262
202262
|
module2.exports = spawn13;
|
|
202263
202263
|
module2.exports.spawn = spawn13;
|
|
202264
202264
|
module2.exports.sync = spawnSync6;
|
|
202265
|
-
module2.exports._parse =
|
|
202265
|
+
module2.exports._parse = parse9;
|
|
202266
202266
|
module2.exports._enoent = enoent;
|
|
202267
202267
|
}
|
|
202268
202268
|
});
|
|
@@ -227951,7 +227951,7 @@ var require_parse8 = __commonJS({
|
|
|
227951
227951
|
"node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
227952
227952
|
"use strict";
|
|
227953
227953
|
var SemVer = require_semver2();
|
|
227954
|
-
var
|
|
227954
|
+
var parse9 = (version4, options, throwErrors = false) => {
|
|
227955
227955
|
if (version4 instanceof SemVer) {
|
|
227956
227956
|
return version4;
|
|
227957
227957
|
}
|
|
@@ -227964,7 +227964,7 @@ var require_parse8 = __commonJS({
|
|
|
227964
227964
|
throw er;
|
|
227965
227965
|
}
|
|
227966
227966
|
};
|
|
227967
|
-
module2.exports =
|
|
227967
|
+
module2.exports = parse9;
|
|
227968
227968
|
}
|
|
227969
227969
|
});
|
|
227970
227970
|
|
|
@@ -227972,9 +227972,9 @@ var require_parse8 = __commonJS({
|
|
|
227972
227972
|
var require_valid = __commonJS({
|
|
227973
227973
|
"node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
227974
227974
|
"use strict";
|
|
227975
|
-
var
|
|
227975
|
+
var parse9 = require_parse8();
|
|
227976
227976
|
var valid = (version4, options) => {
|
|
227977
|
-
const v =
|
|
227977
|
+
const v = parse9(version4, options);
|
|
227978
227978
|
return v ? v.version : null;
|
|
227979
227979
|
};
|
|
227980
227980
|
module2.exports = valid;
|
|
@@ -227985,9 +227985,9 @@ var require_valid = __commonJS({
|
|
|
227985
227985
|
var require_clean = __commonJS({
|
|
227986
227986
|
"node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
227987
227987
|
"use strict";
|
|
227988
|
-
var
|
|
227988
|
+
var parse9 = require_parse8();
|
|
227989
227989
|
var clean = (version4, options) => {
|
|
227990
|
-
const s2 =
|
|
227990
|
+
const s2 = parse9(version4.trim().replace(/^[=v]+/, ""), options);
|
|
227991
227991
|
return s2 ? s2.version : null;
|
|
227992
227992
|
};
|
|
227993
227993
|
module2.exports = clean;
|
|
@@ -228981,9 +228981,9 @@ var require_spdx_expression_parse = __commonJS({
|
|
|
228981
228981
|
"node_modules/spdx-expression-parse/index.js"(exports2, module2) {
|
|
228982
228982
|
"use strict";
|
|
228983
228983
|
var scan = require_scan();
|
|
228984
|
-
var
|
|
228984
|
+
var parse9 = require_parse9();
|
|
228985
228985
|
module2.exports = function(source) {
|
|
228986
|
-
return
|
|
228986
|
+
return parse9(scan(source));
|
|
228987
228987
|
};
|
|
228988
228988
|
}
|
|
228989
228989
|
});
|
|
@@ -228991,11 +228991,11 @@ var require_spdx_expression_parse = __commonJS({
|
|
|
228991
228991
|
// node_modules/spdx-correct/index.js
|
|
228992
228992
|
var require_spdx_correct = __commonJS({
|
|
228993
228993
|
"node_modules/spdx-correct/index.js"(exports2, module2) {
|
|
228994
|
-
var
|
|
228994
|
+
var parse9 = require_spdx_expression_parse();
|
|
228995
228995
|
var spdxLicenseIds = require_spdx_license_ids();
|
|
228996
228996
|
function valid(string4) {
|
|
228997
228997
|
try {
|
|
228998
|
-
|
|
228998
|
+
parse9(string4);
|
|
228999
228999
|
return true;
|
|
229000
229000
|
} catch (error40) {
|
|
229001
229001
|
return false;
|
|
@@ -229324,7 +229324,7 @@ var require_spdx_correct = __commonJS({
|
|
|
229324
229324
|
// node_modules/validate-npm-package-license/index.js
|
|
229325
229325
|
var require_validate_npm_package_license = __commonJS({
|
|
229326
229326
|
"node_modules/validate-npm-package-license/index.js"(exports2, module2) {
|
|
229327
|
-
var
|
|
229327
|
+
var parse9 = require_spdx_expression_parse();
|
|
229328
229328
|
var correct = require_spdx_correct();
|
|
229329
229329
|
var genericWarning = 'license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"';
|
|
229330
229330
|
var fileReferenceRE = /^SEE LICEN[CS]E IN (.+)$/;
|
|
@@ -229342,7 +229342,7 @@ var require_validate_npm_package_license = __commonJS({
|
|
|
229342
229342
|
module2.exports = function(argument) {
|
|
229343
229343
|
var ast;
|
|
229344
229344
|
try {
|
|
229345
|
-
ast =
|
|
229345
|
+
ast = parse9(argument);
|
|
229346
229346
|
} catch (e2) {
|
|
229347
229347
|
var match2;
|
|
229348
229348
|
if (argument === "UNLICENSED" || argument === "UNLICENCED") {
|
|
@@ -238328,7 +238328,7 @@ var require_parse11 = __commonJS({
|
|
|
238328
238328
|
}
|
|
238329
238329
|
return { risky: false };
|
|
238330
238330
|
};
|
|
238331
|
-
var
|
|
238331
|
+
var parse9 = (input, options) => {
|
|
238332
238332
|
if (typeof input !== "string") {
|
|
238333
238333
|
throw new TypeError("Expected a string");
|
|
238334
238334
|
}
|
|
@@ -238498,7 +238498,7 @@ var require_parse11 = __commonJS({
|
|
|
238498
238498
|
output = token2.close = `)$))${extglobStar}`;
|
|
238499
238499
|
}
|
|
238500
238500
|
if (token2.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
238501
|
-
const expression =
|
|
238501
|
+
const expression = parse9(rest, { ...options, fastpaths: false }).output;
|
|
238502
238502
|
output = token2.close = `)${expression})${extglobStar})`;
|
|
238503
238503
|
}
|
|
238504
238504
|
if (token2.prev.type === "bos") {
|
|
@@ -239020,7 +239020,7 @@ var require_parse11 = __commonJS({
|
|
|
239020
239020
|
}
|
|
239021
239021
|
return state;
|
|
239022
239022
|
};
|
|
239023
|
-
|
|
239023
|
+
parse9.fastpaths = (input, options) => {
|
|
239024
239024
|
const opts = { ...options };
|
|
239025
239025
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
239026
239026
|
const len = input.length;
|
|
@@ -239085,7 +239085,7 @@ var require_parse11 = __commonJS({
|
|
|
239085
239085
|
}
|
|
239086
239086
|
return source;
|
|
239087
239087
|
};
|
|
239088
|
-
module2.exports =
|
|
239088
|
+
module2.exports = parse9;
|
|
239089
239089
|
}
|
|
239090
239090
|
});
|
|
239091
239091
|
|
|
@@ -239094,7 +239094,7 @@ var require_picomatch = __commonJS({
|
|
|
239094
239094
|
"packages/core/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
239095
239095
|
"use strict";
|
|
239096
239096
|
var scan = require_scan2();
|
|
239097
|
-
var
|
|
239097
|
+
var parse9 = require_parse11();
|
|
239098
239098
|
var utils = require_utils18();
|
|
239099
239099
|
var constants6 = require_constants10();
|
|
239100
239100
|
var isObject6 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -239182,7 +239182,7 @@ var require_picomatch = __commonJS({
|
|
|
239182
239182
|
picomatch3.isMatch = (str2, patterns, options) => picomatch3(patterns, options)(str2);
|
|
239183
239183
|
picomatch3.parse = (pattern, options) => {
|
|
239184
239184
|
if (Array.isArray(pattern)) return pattern.map((p2) => picomatch3.parse(p2, options));
|
|
239185
|
-
return
|
|
239185
|
+
return parse9(pattern, { ...options, fastpaths: false });
|
|
239186
239186
|
};
|
|
239187
239187
|
picomatch3.scan = (input, options) => scan(input, options);
|
|
239188
239188
|
picomatch3.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -239208,10 +239208,10 @@ var require_picomatch = __commonJS({
|
|
|
239208
239208
|
}
|
|
239209
239209
|
let parsed = { negated: false, fastpaths: true };
|
|
239210
239210
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
239211
|
-
parsed.output =
|
|
239211
|
+
parsed.output = parse9.fastpaths(input, options);
|
|
239212
239212
|
}
|
|
239213
239213
|
if (!parsed.output) {
|
|
239214
|
-
parsed =
|
|
239214
|
+
parsed = parse9(input, options);
|
|
239215
239215
|
}
|
|
239216
239216
|
return picomatch3.compileRe(parsed, options, returnOutput, returnState);
|
|
239217
239217
|
};
|
|
@@ -251454,8 +251454,23 @@ function stripShellWrapper(command) {
|
|
|
251454
251454
|
const match2 = command.match(pattern);
|
|
251455
251455
|
if (match2) {
|
|
251456
251456
|
let newCommand = command.substring(match2[0].length).trim();
|
|
251457
|
-
if (newCommand.startsWith('"') && newCommand.endsWith('"') || newCommand.startsWith("'") && newCommand.endsWith("'")) {
|
|
251458
|
-
|
|
251457
|
+
if (newCommand.length >= 2 && (newCommand.startsWith('"') && newCommand.endsWith('"') || newCommand.startsWith("'") && newCommand.endsWith("'"))) {
|
|
251458
|
+
const isPosixShell = match2[0].trim().endsWith("-c");
|
|
251459
|
+
if (isPosixShell && newCommand.startsWith('"')) {
|
|
251460
|
+
try {
|
|
251461
|
+
const parsed = (0, import_shell_quote.parse)(newCommand, (key) => "$" + key);
|
|
251462
|
+
const firstEntry = parsed[0];
|
|
251463
|
+
if (parsed.length === 1 && typeof firstEntry === "string") {
|
|
251464
|
+
newCommand = firstEntry;
|
|
251465
|
+
} else {
|
|
251466
|
+
newCommand = newCommand.substring(1, newCommand.length - 1);
|
|
251467
|
+
}
|
|
251468
|
+
} catch {
|
|
251469
|
+
newCommand = newCommand.substring(1, newCommand.length - 1);
|
|
251470
|
+
}
|
|
251471
|
+
} else {
|
|
251472
|
+
newCommand = newCommand.substring(1, newCommand.length - 1);
|
|
251473
|
+
}
|
|
251459
251474
|
}
|
|
251460
251475
|
return newCommand;
|
|
251461
251476
|
}
|
|
@@ -279571,7 +279586,7 @@ function isValidToolName(name3, options = {}) {
|
|
|
279571
279586
|
}
|
|
279572
279587
|
|
|
279573
279588
|
// packages/core/src/generated/git-commit.ts
|
|
279574
|
-
var GIT_COMMIT_INFO = "
|
|
279589
|
+
var GIT_COMMIT_INFO = "4d3dcdce1";
|
|
279575
279590
|
var CLI_VERSION = "0.48.0-nightly.20260609.g3a13b8eeb";
|
|
279576
279591
|
|
|
279577
279592
|
// packages/core/src/ide/detect-ide.ts
|
|
@@ -288034,7 +288049,7 @@ __export(core_exports2, {
|
|
|
288034
288049
|
isValidBase64URL: () => isValidBase64URL,
|
|
288035
288050
|
isValidJWT: () => isValidJWT2,
|
|
288036
288051
|
locales: () => locales_exports,
|
|
288037
|
-
parse: () =>
|
|
288052
|
+
parse: () => parse4,
|
|
288038
288053
|
parseAsync: () => parseAsync,
|
|
288039
288054
|
prettifyError: () => prettifyError,
|
|
288040
288055
|
regexes: () => regexes_exports,
|
|
@@ -288790,7 +288805,7 @@ var _parse = (_Err) => (schema2, value, _ctx, _params) => {
|
|
|
288790
288805
|
}
|
|
288791
288806
|
return result2.value;
|
|
288792
288807
|
};
|
|
288793
|
-
var
|
|
288808
|
+
var parse4 = /* @__PURE__ */ _parse($ZodRealError);
|
|
288794
288809
|
var _parseAsync = (_Err) => async (schema2, value, _ctx, params) => {
|
|
288795
288810
|
const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
|
|
288796
288811
|
let result2 = schema2._zod.run({ value, issues: [] }, ctx);
|
|
@@ -296833,12 +296848,12 @@ var $ZodFunction = class {
|
|
|
296833
296848
|
throw new Error("implement() must be called with a function");
|
|
296834
296849
|
}
|
|
296835
296850
|
const impl = (...args2) => {
|
|
296836
|
-
const parsedArgs = this._def.input ?
|
|
296851
|
+
const parsedArgs = this._def.input ? parse4(this._def.input, args2, void 0, { callee: impl }) : args2;
|
|
296837
296852
|
if (!Array.isArray(parsedArgs)) {
|
|
296838
296853
|
throw new Error("Invalid arguments schema: not an array or tuple schema.");
|
|
296839
296854
|
}
|
|
296840
296855
|
const output = func2(...parsedArgs);
|
|
296841
|
-
return this._def.output ?
|
|
296856
|
+
return this._def.output ? parse4(this._def.output, output, void 0, { callee: impl }) : output;
|
|
296842
296857
|
};
|
|
296843
296858
|
return impl;
|
|
296844
296859
|
}
|
|
@@ -297884,7 +297899,7 @@ __export(external_exports2, {
|
|
|
297884
297899
|
object: () => object2,
|
|
297885
297900
|
optional: () => optional,
|
|
297886
297901
|
overwrite: () => _overwrite,
|
|
297887
|
-
parse: () =>
|
|
297902
|
+
parse: () => parse5,
|
|
297888
297903
|
parseAsync: () => parseAsync2,
|
|
297889
297904
|
partialRecord: () => partialRecord,
|
|
297890
297905
|
pipe: () => pipe,
|
|
@@ -298013,7 +298028,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
298013
298028
|
});
|
|
298014
298029
|
|
|
298015
298030
|
// node_modules/zod/v4/classic/parse.js
|
|
298016
|
-
var
|
|
298031
|
+
var parse5 = /* @__PURE__ */ _parse(ZodRealError);
|
|
298017
298032
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
298018
298033
|
var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
298019
298034
|
var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
@@ -298041,7 +298056,7 @@ var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
298041
298056
|
reg.add(inst, meta);
|
|
298042
298057
|
return inst;
|
|
298043
298058
|
};
|
|
298044
|
-
inst.parse = (data, params) =>
|
|
298059
|
+
inst.parse = (data, params) => parse5(inst, data, params, { callee: inst.parse });
|
|
298045
298060
|
inst.safeParse = (data, params) => safeParse3(inst, data, params);
|
|
298046
298061
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
298047
298062
|
inst.safeParseAsync = async (data, params) => safeParseAsync2(inst, data, params);
|
|
@@ -305038,8 +305053,9 @@ function classifyValidationRequiredError(googleApiError) {
|
|
|
305038
305053
|
function classifyGoogleError(error40) {
|
|
305039
305054
|
const googleApiError = parseGoogleApiError(error40);
|
|
305040
305055
|
const status2 = googleApiError?.code ?? getErrorStatus(error40);
|
|
305056
|
+
const errorMessage = googleApiError?.message || extractErrorMessage(error40);
|
|
305041
305057
|
if (status2 === 404) {
|
|
305042
|
-
const message =
|
|
305058
|
+
const message = errorMessage.trim() || "Model not found";
|
|
305043
305059
|
return new ModelNotFoundError(message, status2);
|
|
305044
305060
|
}
|
|
305045
305061
|
if (status2 === 403 && googleApiError) {
|
|
@@ -305048,28 +305064,36 @@ function classifyGoogleError(error40) {
|
|
|
305048
305064
|
return validationError;
|
|
305049
305065
|
}
|
|
305050
305066
|
}
|
|
305067
|
+
const lowerMessage = errorMessage.toLowerCase();
|
|
305068
|
+
if ((status2 === 429 || status2 === 499 || status2 === 503) && /limit:\s*0(?!\d|\.\d)/.test(lowerMessage)) {
|
|
305069
|
+
const cause = googleApiError ?? {
|
|
305070
|
+
code: status2 ?? 429,
|
|
305071
|
+
message: errorMessage,
|
|
305072
|
+
details: []
|
|
305073
|
+
};
|
|
305074
|
+
return new TerminalQuotaError(errorMessage, cause);
|
|
305075
|
+
}
|
|
305051
305076
|
if (!googleApiError || googleApiError.code !== 429 && googleApiError.code !== 499 && googleApiError.code !== 503 || googleApiError.details.length === 0) {
|
|
305052
|
-
const
|
|
305053
|
-
const match2 = errorMessage2.match(/Please retry in ([0-9.]+(?:ms|s))/);
|
|
305077
|
+
const match2 = errorMessage.match(/Please retry in ([0-9.]+(?:ms|s))/);
|
|
305054
305078
|
if (match2?.[1]) {
|
|
305055
305079
|
const retryDelaySeconds = parseDurationInSeconds(match2[1]);
|
|
305056
305080
|
if (retryDelaySeconds !== null) {
|
|
305057
305081
|
const cause = googleApiError ?? {
|
|
305058
305082
|
code: status2 ?? 429,
|
|
305059
|
-
message:
|
|
305083
|
+
message: errorMessage,
|
|
305060
305084
|
details: []
|
|
305061
305085
|
};
|
|
305062
305086
|
if (retryDelaySeconds > MAX_RETRYABLE_DELAY_SECONDS) {
|
|
305063
|
-
return new TerminalQuotaError(
|
|
305087
|
+
return new TerminalQuotaError(errorMessage, cause, retryDelaySeconds);
|
|
305064
305088
|
}
|
|
305065
|
-
return new RetryableQuotaError(
|
|
305089
|
+
return new RetryableQuotaError(errorMessage, cause, retryDelaySeconds);
|
|
305066
305090
|
}
|
|
305067
305091
|
} else if (status2 === 429 || status2 === 499 || status2 === 503) {
|
|
305068
305092
|
return new RetryableQuotaError(
|
|
305069
|
-
|
|
305093
|
+
errorMessage,
|
|
305070
305094
|
googleApiError ?? {
|
|
305071
305095
|
code: status2,
|
|
305072
|
-
message:
|
|
305096
|
+
message: errorMessage,
|
|
305073
305097
|
details: []
|
|
305074
305098
|
}
|
|
305075
305099
|
);
|
|
@@ -305181,9 +305205,20 @@ Suggested retry after 60s.`,
|
|
|
305181
305205
|
);
|
|
305182
305206
|
}
|
|
305183
305207
|
}
|
|
305184
|
-
const errorMessage = googleApiError.message || (error40 instanceof Error ? error40.message : String(error40));
|
|
305185
305208
|
return new RetryableQuotaError(errorMessage, googleApiError);
|
|
305186
305209
|
}
|
|
305210
|
+
function extractErrorMessage(error40) {
|
|
305211
|
+
if (typeof error40 === "string") {
|
|
305212
|
+
return error40;
|
|
305213
|
+
}
|
|
305214
|
+
if (typeof error40 === "object" && error40 !== null && "message" in error40) {
|
|
305215
|
+
const msg = error40.message;
|
|
305216
|
+
if (typeof msg === "string") {
|
|
305217
|
+
return msg;
|
|
305218
|
+
}
|
|
305219
|
+
}
|
|
305220
|
+
return "";
|
|
305221
|
+
}
|
|
305187
305222
|
|
|
305188
305223
|
// packages/core/src/availability/errorClassification.ts
|
|
305189
305224
|
function classifyFailureKind(error40) {
|
|
@@ -310049,15 +310084,22 @@ async function createContentGenerator(config2, gcConfig, sessionId) {
|
|
|
310049
310084
|
}
|
|
310050
310085
|
const proxyUrl = config2.proxy?.trim();
|
|
310051
310086
|
const proxyAgent = proxyUrl ? baseUrl?.startsWith("http://") ? new import_dist2.HttpProxyAgent(proxyUrl) : new import_dist.HttpsProxyAgent(proxyUrl) : void 0;
|
|
310087
|
+
const useVertex = config2.vertexai ?? config2.authType === "vertex-ai" /* USE_VERTEX_AI */;
|
|
310052
310088
|
const googleGenAI = new GoogleGenAI({
|
|
310053
310089
|
apiKey: config2.authType === "gateway" /* GATEWAY */ ? config2.apiKey : config2.apiKey === "" ? void 0 : config2.apiKey,
|
|
310054
310090
|
vertexai: config2.vertexai ?? config2.authType === "vertex-ai" /* USE_VERTEX_AI */,
|
|
310055
310091
|
httpOptions,
|
|
310056
310092
|
...apiVersionEnv && { apiVersion: apiVersionEnv },
|
|
310057
|
-
|
|
310093
|
+
// Merge proxy and GDCH endpoint into googleAuthOptions if either exists
|
|
310094
|
+
...(proxyAgent || useVertex && baseUrl) && {
|
|
310058
310095
|
googleAuthOptions: {
|
|
310059
310096
|
clientOptions: {
|
|
310060
|
-
|
|
310097
|
+
...proxyAgent && {
|
|
310098
|
+
transporterOptions: { agent: proxyAgent }
|
|
310099
|
+
},
|
|
310100
|
+
...useVertex && baseUrl && {
|
|
310101
|
+
apiEndpoint: baseUrl
|
|
310102
|
+
}
|
|
310061
310103
|
}
|
|
310062
310104
|
}
|
|
310063
310105
|
}
|
|
@@ -338484,7 +338526,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338484
338526
|
return provider;
|
|
338485
338527
|
}
|
|
338486
338528
|
case "oauth2": {
|
|
338487
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338529
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-OJZ3YJZH.js");
|
|
338488
338530
|
const provider = new OAuth2AuthProvider(
|
|
338489
338531
|
authConfig,
|
|
338490
338532
|
options.agentName ?? "unknown",
|
|
@@ -347011,7 +347053,7 @@ var Scheduler = class {
|
|
|
347011
347053
|
return false;
|
|
347012
347054
|
}
|
|
347013
347055
|
_isParallelizable(request) {
|
|
347014
|
-
if (request.name === UPDATE_TOPIC_TOOL_NAME) {
|
|
347056
|
+
if (request.name === UPDATE_TOPIC_TOOL_NAME || EDIT_TOOL_NAMES.has(request.name)) {
|
|
347015
347057
|
return false;
|
|
347016
347058
|
}
|
|
347017
347059
|
if (request.args) {
|
|
@@ -354775,7 +354817,7 @@ function parseStringResponse(result2, parsers12, texts, trim = true) {
|
|
|
354775
354817
|
}
|
|
354776
354818
|
return lines[i4 + offset];
|
|
354777
354819
|
};
|
|
354778
|
-
parsers12.some(({ parse:
|
|
354820
|
+
parsers12.some(({ parse: parse9 }) => parse9(line, result2));
|
|
354779
354821
|
}
|
|
354780
354822
|
});
|
|
354781
354823
|
return result2;
|