@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.
Files changed (67) hide show
  1. package/bundle/{chunk-ZT5PXPGC.js → chunk-32OC6X7M.js} +2 -2
  2. package/bundle/{chunk-GWB6WHVI.js → chunk-4D6ZATMR.js} +125 -83
  3. package/bundle/{chunk-RWG2IKXK.js → chunk-4JHCXKYF.js} +3 -3
  4. package/bundle/{chunk-4FWMMTHD.js → chunk-76ONBIQT.js} +1 -1
  5. package/bundle/{chunk-25ZW2ZOF.js → chunk-7BRNIWQY.js} +1 -1
  6. package/bundle/{chunk-FFKNXGOH.js → chunk-BPCFUG3V.js} +66 -33
  7. package/bundle/{chunk-DV5H7HVO.js → chunk-C5HEG6L3.js} +1 -1
  8. package/bundle/{chunk-DR6M2CVX.js → chunk-F643LQAW.js} +2 -2
  9. package/bundle/{chunk-BG23KJOF.js → chunk-F754PAF2.js} +1 -1
  10. package/bundle/{chunk-57QJRHS6.js → chunk-FKMHT24L.js} +1 -1
  11. package/bundle/{chunk-5TAF74A7.js → chunk-FOP27KUG.js} +66 -33
  12. package/bundle/{chunk-HEBKVYVW.js → chunk-GOJGZJTT.js} +1 -1
  13. package/bundle/{chunk-GSKH763B.js → chunk-JFJQ6J4C.js} +123 -81
  14. package/bundle/{chunk-5OGSMQN5.js → chunk-KRCY6JZY.js} +5 -8
  15. package/bundle/{chunk-3P56CQDW.js → chunk-KXJA2W44.js} +113 -93
  16. package/bundle/{chunk-3BHPNRR5.js → chunk-LHJYE2I2.js} +1 -1
  17. package/bundle/{chunk-TRKBNK3S.js → chunk-MGTB4OGF.js} +3 -3
  18. package/bundle/{chunk-PD2ER6QH.js → chunk-NELP7HPM.js} +14221 -7634
  19. package/bundle/{chunk-FSFSH7N4.js → chunk-OAXLII52.js} +2 -2
  20. package/bundle/{chunk-NWC2JNOB.js → chunk-PIL3VMYY.js} +1 -1
  21. package/bundle/{chunk-RJVA7TEL.js → chunk-REQG2CDI.js} +1 -1
  22. package/bundle/{chunk-JQBYCLEO.js → chunk-WBAIIKUA.js} +3 -3
  23. package/bundle/{chunk-ERRTQLZ3.js → chunk-WLIX7UZL.js} +1 -1
  24. package/bundle/{chunk-ZACXIEK6.js → chunk-ZMBUTQOC.js} +8 -9
  25. package/bundle/{cleanup-EMSFFQXH.js → cleanup-HQASY4ZZ.js} +2 -2
  26. package/bundle/{cleanup-JUEQXYLN.js → cleanup-PIKPOR36.js} +2 -2
  27. package/bundle/{cleanup-OQN4S6N7.js → cleanup-TFU4O2QF.js} +2 -2
  28. package/bundle/{core-SBDR7NMV.js → core-2HID3ALL.js} +1 -1
  29. package/bundle/{dist-C77MM5UI.js → core-6YK2A6I7.js} +1 -1
  30. package/bundle/{devtoolsService-Q6RR5ONV.js → devtoolsService-IJQN3MM5.js} +2 -2
  31. package/bundle/{devtoolsService-6XIZFA3V.js → devtoolsService-UOC3OTQO.js} +3 -4
  32. package/bundle/{devtoolsService-4K4TUJGT.js → devtoolsService-VVO37S2U.js} +2 -2
  33. package/bundle/{dist-IZL4IUFR.js → dist-XJ5HWKG4.js} +1 -1
  34. package/bundle/docs/cli/enterprise.md +1 -1
  35. package/bundle/{gemini-22IJYAAK.js → gemini-FNT3QJRS.js} +15 -15
  36. package/bundle/{gemini-BU4XIO7C.js → gemini-K7TA557G.js} +197 -213
  37. package/bundle/{gemini-EXF7WM5I.js → gemini-KE6MEJUV.js} +14 -14
  38. package/bundle/gemini.js +7 -7
  39. package/bundle/{interactiveCli-WP4PF4B4.js → interactiveCli-42SRPV5K.js} +8 -8
  40. package/bundle/{interactiveCli-AYRCP2YE.js → interactiveCli-KHHF6YZS.js} +295 -314
  41. package/bundle/{interactiveCli-3XP7ZWTR.js → interactiveCli-LXYWEYTS.js} +8 -8
  42. package/bundle/{liteRtServerManager-BKMP23GM.js → liteRtServerManager-4P66NNGG.js} +4 -4
  43. package/bundle/{liteRtServerManager-BRKTTSTY.js → liteRtServerManager-MMZKQRWI.js} +4 -4
  44. package/bundle/{liteRtServerManager-EXA5HOJY.js → liteRtServerManager-OBHUWV37.js} +4 -4
  45. package/bundle/{oauth2-provider-R3XNUJCY.js → oauth2-provider-OJZ3YJZH.js} +1 -1
  46. package/bundle/{oauth2-provider-AOLL6E73.js → oauth2-provider-TBT32VYL.js} +1 -1
  47. package/bundle/{oauth2-provider-J7GSQ3D3.js → oauth2-provider-YIPV4CI4.js} +72 -38
  48. package/bundle/{start-FAIQQIZB.js → start-QX77TWOS.js} +6 -6
  49. package/bundle/{start-T37M4GQC.js → start-RF5733GP.js} +6 -6
  50. package/bundle/{start-UEM457EB.js → start-SYDDMBXA.js} +6 -6
  51. package/package.json +1 -1
  52. package/bundle/chunk-47O5POZQ.js +0 -394678
  53. package/bundle/chunk-GUFPYIHD.js +0 -512
  54. package/bundle/chunk-I4UV4KA4.js +0 -398
  55. package/bundle/chunk-JNJOXQYJ.js +0 -1571
  56. package/bundle/chunk-M54YU4D6.js +0 -118
  57. package/bundle/chunk-OZYTM77K.js +0 -81736
  58. package/bundle/chunk-TMB2KDVR.js +0 -154
  59. package/bundle/chunk-WEPCSQ47.js +0 -17320
  60. package/bundle/cleanup-VI4MGW6W.js +0 -32
  61. package/bundle/devtoolsService-P7V47Y6U.js +0 -856
  62. package/bundle/dist-PNS3BBFZ.js +0 -2150
  63. package/bundle/gemini-GA3BOQUA.js +0 -16409
  64. package/bundle/interactiveCli-IK5ZIGXI.js +0 -34766
  65. package/bundle/liteRtServerManager-NPAIRQRP.js +0 -65
  66. package/bundle/oauth2-provider-O3JJBAIN.js +0 -235
  67. package/bundle/start-VUNII4BV.js +0 -18
@@ -1,13 +1,13 @@
1
1
  const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
2
  import {
3
3
  runExitCleanup
4
- } from "./chunk-RJVA7TEL.js";
4
+ } from "./chunk-C5HEG6L3.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-GWB6WHVI.js";
10
+ } from "./chunk-4D6ZATMR.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -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 parse8(s2, env2, opts) {
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 parse(uuid3) {
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 = parse;
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
- parse8(serialize3(uri, options), options);
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(parse8(baseURI, schemelessOptions), parse8(relativeURI, schemelessOptions), schemelessOptions, true);
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 = parse8(serialize3(base, options), options);
30919
- relative12 = parse8(serialize3(relative12, options), options);
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 parse8(uri, opts) {
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: parse8
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 parse8;
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
- parse8.filename = filename2;
52455
- var parsed = parse8(source, self2, options), resolved2, i5 = 0;
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
- parse8 = parse_2;
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 = parse8;
53898
- parse8.filename = null;
53899
- parse8.defaults = { keepCase: false };
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 parse8(source, root, options) {
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 = parse8.defaults;
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 = parse8.filename;
53947
+ var filename = parse9.filename;
53948
53948
  if (!insideTryCatch)
53949
- parse8.filename = null;
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 = parse8.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 = parse8.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
- parse8.filename = null;
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 parse8(src, reviver, options) {
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 = parse8;
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 parse8(header) {
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 = parse8;
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 parse8 = require_parse5();
126671
+ var parse9 = require_parse5();
126672
126672
  var formats = require_formats2();
126673
126673
  module2.exports = {
126674
126674
  formats,
126675
- parse: parse8,
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 parse2(uuid3) {
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 = parse2;
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 parse8(command, args2, options) {
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 = parse8;
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 parse8 = require_parse6();
202248
+ var parse9 = require_parse6();
202249
202249
  var enoent = require_enoent();
202250
202250
  function spawn13(command, args2, options) {
202251
- const parsed = parse8(command, args2, options);
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 = parse8(command, args2, options);
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 = parse8;
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 parse8 = (version4, options, throwErrors = false) => {
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 = parse8;
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 parse8 = require_parse8();
227975
+ var parse9 = require_parse8();
227976
227976
  var valid = (version4, options) => {
227977
- const v = parse8(version4, options);
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 parse8 = require_parse8();
227988
+ var parse9 = require_parse8();
227989
227989
  var clean = (version4, options) => {
227990
- const s2 = parse8(version4.trim().replace(/^[=v]+/, ""), options);
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 parse8 = require_parse9();
228984
+ var parse9 = require_parse9();
228985
228985
  module2.exports = function(source) {
228986
- return parse8(scan(source));
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 parse8 = require_spdx_expression_parse();
228994
+ var parse9 = require_spdx_expression_parse();
228995
228995
  var spdxLicenseIds = require_spdx_license_ids();
228996
228996
  function valid(string4) {
228997
228997
  try {
228998
- parse8(string4);
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 parse8 = require_spdx_expression_parse();
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 = parse8(argument);
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 parse8 = (input, options) => {
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 = parse8(rest, { ...options, fastpaths: false }).output;
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
- parse8.fastpaths = (input, options) => {
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 = parse8;
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 parse8 = require_parse11();
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 parse8(pattern, { ...options, fastpaths: false });
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 = parse8.fastpaths(input, options);
239211
+ parsed.output = parse9.fastpaths(input, options);
239212
239212
  }
239213
239213
  if (!parsed.output) {
239214
- parsed = parse8(input, options);
239214
+ parsed = parse9(input, options);
239215
239215
  }
239216
239216
  return picomatch3.compileRe(parsed, options, returnOutput, returnState);
239217
239217
  };
@@ -251357,8 +251357,23 @@ function stripShellWrapper(command) {
251357
251357
  const match2 = command.match(pattern);
251358
251358
  if (match2) {
251359
251359
  let newCommand = command.substring(match2[0].length).trim();
251360
- if (newCommand.startsWith('"') && newCommand.endsWith('"') || newCommand.startsWith("'") && newCommand.endsWith("'")) {
251361
- newCommand = newCommand.substring(1, newCommand.length - 1);
251360
+ if (newCommand.length >= 2 && (newCommand.startsWith('"') && newCommand.endsWith('"') || newCommand.startsWith("'") && newCommand.endsWith("'"))) {
251361
+ const isPosixShell = match2[0].trim().endsWith("-c");
251362
+ if (isPosixShell && newCommand.startsWith('"')) {
251363
+ try {
251364
+ const parsed = (0, import_shell_quote.parse)(newCommand, (key) => "$" + key);
251365
+ const firstEntry = parsed[0];
251366
+ if (parsed.length === 1 && typeof firstEntry === "string") {
251367
+ newCommand = firstEntry;
251368
+ } else {
251369
+ newCommand = newCommand.substring(1, newCommand.length - 1);
251370
+ }
251371
+ } catch {
251372
+ newCommand = newCommand.substring(1, newCommand.length - 1);
251373
+ }
251374
+ } else {
251375
+ newCommand = newCommand.substring(1, newCommand.length - 1);
251376
+ }
251362
251377
  }
251363
251378
  return newCommand;
251364
251379
  }
@@ -279309,8 +279324,8 @@ function isValidToolName(name3, options = {}) {
279309
279324
  }
279310
279325
 
279311
279326
  // packages/core/dist/src/generated/git-commit.js
279312
- var GIT_COMMIT_INFO = "4e10a34be";
279313
- var CLI_VERSION = "0.48.0-nightly.20260609.g3a13b8eeb";
279327
+ var GIT_COMMIT_INFO = "4d3dcdce1";
279328
+ var CLI_VERSION = "0.48.0-preview.0";
279314
279329
 
279315
279330
  // packages/core/dist/src/ide/detect-ide.js
279316
279331
  var IDE_DEFINITIONS = {
@@ -287494,7 +287509,7 @@ __export(core_exports2, {
287494
287509
  isValidBase64URL: () => isValidBase64URL,
287495
287510
  isValidJWT: () => isValidJWT2,
287496
287511
  locales: () => locales_exports,
287497
- parse: () => parse3,
287512
+ parse: () => parse4,
287498
287513
  parseAsync: () => parseAsync,
287499
287514
  prettifyError: () => prettifyError,
287500
287515
  regexes: () => regexes_exports,
@@ -288250,7 +288265,7 @@ var _parse = (_Err) => (schema2, value, _ctx, _params) => {
288250
288265
  }
288251
288266
  return result2.value;
288252
288267
  };
288253
- var parse3 = /* @__PURE__ */ _parse($ZodRealError);
288268
+ var parse4 = /* @__PURE__ */ _parse($ZodRealError);
288254
288269
  var _parseAsync = (_Err) => async (schema2, value, _ctx, params) => {
288255
288270
  const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
288256
288271
  let result2 = schema2._zod.run({ value, issues: [] }, ctx);
@@ -296293,12 +296308,12 @@ var $ZodFunction = class {
296293
296308
  throw new Error("implement() must be called with a function");
296294
296309
  }
296295
296310
  const impl = (...args2) => {
296296
- const parsedArgs = this._def.input ? parse3(this._def.input, args2, void 0, { callee: impl }) : args2;
296311
+ const parsedArgs = this._def.input ? parse4(this._def.input, args2, void 0, { callee: impl }) : args2;
296297
296312
  if (!Array.isArray(parsedArgs)) {
296298
296313
  throw new Error("Invalid arguments schema: not an array or tuple schema.");
296299
296314
  }
296300
296315
  const output = func2(...parsedArgs);
296301
- return this._def.output ? parse3(this._def.output, output, void 0, { callee: impl }) : output;
296316
+ return this._def.output ? parse4(this._def.output, output, void 0, { callee: impl }) : output;
296302
296317
  };
296303
296318
  return impl;
296304
296319
  }
@@ -297344,7 +297359,7 @@ __export(external_exports2, {
297344
297359
  object: () => object2,
297345
297360
  optional: () => optional,
297346
297361
  overwrite: () => _overwrite,
297347
- parse: () => parse4,
297362
+ parse: () => parse5,
297348
297363
  parseAsync: () => parseAsync2,
297349
297364
  partialRecord: () => partialRecord,
297350
297365
  pipe: () => pipe,
@@ -297473,7 +297488,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
297473
297488
  });
297474
297489
 
297475
297490
  // node_modules/zod/v4/classic/parse.js
297476
- var parse4 = /* @__PURE__ */ _parse(ZodRealError);
297491
+ var parse5 = /* @__PURE__ */ _parse(ZodRealError);
297477
297492
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
297478
297493
  var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
297479
297494
  var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
@@ -297501,7 +297516,7 @@ var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
297501
297516
  reg.add(inst, meta);
297502
297517
  return inst;
297503
297518
  };
297504
- inst.parse = (data, params) => parse4(inst, data, params, { callee: inst.parse });
297519
+ inst.parse = (data, params) => parse5(inst, data, params, { callee: inst.parse });
297505
297520
  inst.safeParse = (data, params) => safeParse3(inst, data, params);
297506
297521
  inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
297507
297522
  inst.safeParseAsync = async (data, params) => safeParseAsync2(inst, data, params);
@@ -303714,7 +303729,7 @@ function getVersion() {
303714
303729
  }
303715
303730
  versionPromise = (async () => {
303716
303731
  const pkgJson = await getPackageJson(__dirname4);
303717
- return "0.48.0-nightly.20260612.g4e10a34be";
303732
+ return "0.48.0-preview.0";
303718
303733
  })();
303719
303734
  return versionPromise;
303720
303735
  }
@@ -304389,8 +304404,9 @@ function classifyValidationRequiredError(googleApiError) {
304389
304404
  function classifyGoogleError(error40) {
304390
304405
  const googleApiError = parseGoogleApiError(error40);
304391
304406
  const status2 = googleApiError?.code ?? getErrorStatus(error40);
304407
+ const errorMessage = googleApiError?.message || extractErrorMessage(error40);
304392
304408
  if (status2 === 404) {
304393
- const message = googleApiError?.message || (error40 instanceof Error ? error40.message : "Model not found");
304409
+ const message = errorMessage.trim() || "Model not found";
304394
304410
  return new ModelNotFoundError(message, status2);
304395
304411
  }
304396
304412
  if (status2 === 403 && googleApiError) {
@@ -304399,26 +304415,34 @@ function classifyGoogleError(error40) {
304399
304415
  return validationError;
304400
304416
  }
304401
304417
  }
304418
+ const lowerMessage = errorMessage.toLowerCase();
304419
+ if ((status2 === 429 || status2 === 499 || status2 === 503) && /limit:\s*0(?!\d|\.\d)/.test(lowerMessage)) {
304420
+ const cause = googleApiError ?? {
304421
+ code: status2 ?? 429,
304422
+ message: errorMessage,
304423
+ details: []
304424
+ };
304425
+ return new TerminalQuotaError(errorMessage, cause);
304426
+ }
304402
304427
  if (!googleApiError || googleApiError.code !== 429 && googleApiError.code !== 499 && googleApiError.code !== 503 || googleApiError.details.length === 0) {
304403
- const errorMessage2 = googleApiError?.message || (error40 instanceof Error ? error40.message : String(error40));
304404
- const match2 = errorMessage2.match(/Please retry in ([0-9.]+(?:ms|s))/);
304428
+ const match2 = errorMessage.match(/Please retry in ([0-9.]+(?:ms|s))/);
304405
304429
  if (match2?.[1]) {
304406
304430
  const retryDelaySeconds = parseDurationInSeconds(match2[1]);
304407
304431
  if (retryDelaySeconds !== null) {
304408
304432
  const cause = googleApiError ?? {
304409
304433
  code: status2 ?? 429,
304410
- message: errorMessage2,
304434
+ message: errorMessage,
304411
304435
  details: []
304412
304436
  };
304413
304437
  if (retryDelaySeconds > MAX_RETRYABLE_DELAY_SECONDS) {
304414
- return new TerminalQuotaError(errorMessage2, cause, retryDelaySeconds);
304438
+ return new TerminalQuotaError(errorMessage, cause, retryDelaySeconds);
304415
304439
  }
304416
- return new RetryableQuotaError(errorMessage2, cause, retryDelaySeconds);
304440
+ return new RetryableQuotaError(errorMessage, cause, retryDelaySeconds);
304417
304441
  }
304418
304442
  } else if (status2 === 429 || status2 === 499 || status2 === 503) {
304419
- return new RetryableQuotaError(errorMessage2, googleApiError ?? {
304443
+ return new RetryableQuotaError(errorMessage, googleApiError ?? {
304420
304444
  code: status2,
304421
- message: errorMessage2,
304445
+ message: errorMessage,
304422
304446
  details: []
304423
304447
  });
304424
304448
  }
@@ -304485,9 +304509,20 @@ Suggested retry after 60s.`, googleApiError, 60);
304485
304509
  Suggested retry after 60s.`, googleApiError, 60);
304486
304510
  }
304487
304511
  }
304488
- const errorMessage = googleApiError.message || (error40 instanceof Error ? error40.message : String(error40));
304489
304512
  return new RetryableQuotaError(errorMessage, googleApiError);
304490
304513
  }
304514
+ function extractErrorMessage(error40) {
304515
+ if (typeof error40 === "string") {
304516
+ return error40;
304517
+ }
304518
+ if (typeof error40 === "object" && error40 !== null && "message" in error40) {
304519
+ const msg = error40.message;
304520
+ if (typeof msg === "string") {
304521
+ return msg;
304522
+ }
304523
+ }
304524
+ return "";
304525
+ }
304491
304526
 
304492
304527
  // packages/core/dist/src/availability/errorClassification.js
304493
304528
  function classifyFailureKind(error40) {
@@ -308623,15 +308658,22 @@ async function createContentGenerator(config2, gcConfig, sessionId) {
308623
308658
  }
308624
308659
  const proxyUrl = config2.proxy?.trim();
308625
308660
  const proxyAgent = proxyUrl ? baseUrl?.startsWith("http://") ? new import_dist2.HttpProxyAgent(proxyUrl) : new import_dist.HttpsProxyAgent(proxyUrl) : void 0;
308661
+ const useVertex = config2.vertexai ?? config2.authType === AuthType2.USE_VERTEX_AI;
308626
308662
  const googleGenAI = new GoogleGenAI({
308627
308663
  apiKey: config2.authType === AuthType2.GATEWAY ? config2.apiKey : config2.apiKey === "" ? void 0 : config2.apiKey,
308628
308664
  vertexai: config2.vertexai ?? config2.authType === AuthType2.USE_VERTEX_AI,
308629
308665
  httpOptions,
308630
308666
  ...apiVersionEnv && { apiVersion: apiVersionEnv },
308631
- ...proxyAgent && {
308667
+ // Merge proxy and GDCH endpoint into googleAuthOptions if either exists
308668
+ ...(proxyAgent || useVertex && baseUrl) && {
308632
308669
  googleAuthOptions: {
308633
308670
  clientOptions: {
308634
- transporterOptions: { agent: proxyAgent }
308671
+ ...proxyAgent && {
308672
+ transporterOptions: { agent: proxyAgent }
308673
+ },
308674
+ ...useVertex && baseUrl && {
308675
+ apiEndpoint: baseUrl
308676
+ }
308635
308677
  }
308636
308678
  }
308637
308679
  }
@@ -335905,7 +335947,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
335905
335947
  return provider;
335906
335948
  }
335907
335949
  case "oauth2": {
335908
- const { OAuth2AuthProvider } = await import("./oauth2-provider-J7GSQ3D3.js");
335950
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-TBT32VYL.js");
335909
335951
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
335910
335952
  await provider.initialize();
335911
335953
  return provider;
@@ -343471,7 +343513,7 @@ var Scheduler = class {
343471
343513
  return false;
343472
343514
  }
343473
343515
  _isParallelizable(request) {
343474
- if (request.name === UPDATE_TOPIC_TOOL_NAME) {
343516
+ if (request.name === UPDATE_TOPIC_TOOL_NAME || EDIT_TOOL_NAMES.has(request.name)) {
343475
343517
  return false;
343476
343518
  }
343477
343519
  if (request.args) {
@@ -350535,7 +350577,7 @@ function parseStringResponse(result2, parsers12, texts, trim = true) {
350535
350577
  }
350536
350578
  return lines[i4 + offset];
350537
350579
  };
350538
- parsers12.some(({ parse: parse8 }) => parse8(line, result2));
350580
+ parsers12.some(({ parse: parse9 }) => parse9(line, result2));
350539
350581
  }
350540
350582
  });
350541
350583
  return result2;