@google/gemini-cli 0.43.0-preview.0 → 0.44.0-nightly.20260513.g5ee05c775

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 (74) hide show
  1. package/bundle/{chunk-LFGJVOVZ.js → chunk-27SPXGT2.js} +24 -17
  2. package/bundle/{chunk-UIG2IVPJ.js → chunk-2VH3SA6M.js} +11 -9
  3. package/bundle/{chunk-X26T73X6.js → chunk-3KOQHVJU.js} +3 -3
  4. package/bundle/{chunk-HQXINMBL.js → chunk-4QQ5AHZP.js} +2 -2
  5. package/bundle/{chunk-P4UQCQUB.js → chunk-5EEEHNEE.js} +3 -3
  6. package/bundle/{chunk-WQOLTO3C.js → chunk-5SMSFUPB.js} +1 -1
  7. package/bundle/{chunk-SAISHGWW.js → chunk-AC2EWTF7.js} +69 -21
  8. package/bundle/{chunk-46T44JOY.js → chunk-ATSNFRDF.js} +1 -1
  9. package/bundle/{chunk-43AGRA7S.js → chunk-BA752AEU.js} +3 -3
  10. package/bundle/{chunk-JENIU3E3.js → chunk-FGYOOMPI.js} +1 -1
  11. package/bundle/{chunk-PYLHDAUK.js → chunk-FK45PHSI.js} +3 -3
  12. package/bundle/{chunk-6XOSIMPZ.js → chunk-FTY6BJEY.js} +9 -8
  13. package/bundle/{chunk-MRHFLHPJ.js → chunk-GCWBZXBS.js} +2 -2
  14. package/bundle/chunk-I2JHD4D3.js +512 -0
  15. package/bundle/{chunk-PSWUV2OO.js → chunk-IZJOLGNO.js} +3 -3
  16. package/bundle/{chunk-LBQFRHYD.js → chunk-J4YAW3P3.js} +1 -1
  17. package/bundle/chunk-KADNKBXT.js +118 -0
  18. package/bundle/{chunk-UNAVBUTP.js → chunk-LF33N5QM.js} +7030 -13068
  19. package/bundle/{chunk-Q23X5R4A.js → chunk-LO22NRY4.js} +24 -17
  20. package/bundle/{chunk-UJ26GAE5.js → chunk-M7OUJJZ2.js} +1 -1
  21. package/bundle/{chunk-4TLQKGTR.js → chunk-MFNKZZOB.js} +1 -1
  22. package/bundle/chunk-MLPM54XD.js +357247 -0
  23. package/bundle/{chunk-N6QYTC2T.js → chunk-N22WUHJE.js} +1 -1
  24. package/bundle/{chunk-QYUN3J2L.js → chunk-OC7XGTLV.js} +84 -64
  25. package/bundle/{chunk-MXKXLNQD.js → chunk-QDEK3TQ6.js} +3 -3
  26. package/bundle/{chunk-PGJUNQPO.js → chunk-QMXQUBC4.js} +11 -9
  27. package/bundle/chunk-TBHMNRI3.js +1571 -0
  28. package/bundle/{chunk-T3SUXLQQ.js → chunk-TOOOS4HD.js} +2 -2
  29. package/bundle/{chunk-SYD5SJFT.js → chunk-UHSQLPNG.js} +18 -13
  30. package/bundle/chunk-USS2A6NQ.js +156 -0
  31. package/bundle/chunk-WMTLLWRC.js +391 -0
  32. package/bundle/chunk-XDWZDV7C.js +17250 -0
  33. package/bundle/{chunk-NBRZ4A3S.js → chunk-YBYQH75I.js} +88 -44
  34. package/bundle/chunk-ZZN56QZ3.js +81656 -0
  35. package/bundle/{cleanup-EIZJH2E3.js → cleanup-2H3SANYB.js} +3 -3
  36. package/bundle/{cleanup-MI76P55B.js → cleanup-7GY7BVC6.js} +3 -3
  37. package/bundle/{cleanup-NZBQYB7U.js → cleanup-FERREFU6.js} +3 -3
  38. package/bundle/cleanup-VIITMMDH.js +33 -0
  39. package/bundle/{core-T2TBFAYG.js → core-GS6NXK7Y.js} +2 -2
  40. package/bundle/{devtoolsService-FYTOIC37.js → devtoolsService-FKC6Y4OE.js} +3 -3
  41. package/bundle/{devtoolsService-7KZDSYEF.js → devtoolsService-K2DRCZEY.js} +5 -4
  42. package/bundle/{devtoolsService-LV5NJ2BT.js → devtoolsService-PS6RYICL.js} +3 -3
  43. package/bundle/devtoolsService-ZDXC2NPD.js +857 -0
  44. package/bundle/{dist-ETX67B7P.js → dist-S3YUNQKP.js} +2 -2
  45. package/bundle/{core-ERSGIOMQ.js → dist-TBGNMYU2.js} +2 -2
  46. package/bundle/dist-ZEW43MLQ.js +2124 -0
  47. package/bundle/docs/changelogs/index.md +16 -0
  48. package/bundle/docs/changelogs/latest.md +259 -106
  49. package/bundle/docs/changelogs/preview.md +178 -227
  50. package/bundle/{gemini-JKWQQTKP.js → gemini-6YGVETF3.js} +20 -16
  51. package/bundle/{gemini-IVKBXHDT.js → gemini-7FCGNXOV.js} +207 -189
  52. package/bundle/gemini-IXZUGRVP.js +16360 -0
  53. package/bundle/{gemini-Z77GAAR6.js → gemini-WYTY4CD5.js} +20 -16
  54. package/bundle/gemini.js +8 -8
  55. package/bundle/{interactiveCli-36WZS6KT.js → interactiveCli-A2FV6NYD.js} +26 -24
  56. package/bundle/{interactiveCli-BQ36B66Z.js → interactiveCli-DWNRHVIB.js} +332 -311
  57. package/bundle/{interactiveCli-SME5QTEN.js → interactiveCli-H7N4UXVQ.js} +26 -24
  58. package/bundle/interactiveCli-XRZEELCX.js +34754 -0
  59. package/bundle/{liteRtServerManager-ISYDOBNC.js → liteRtServerManager-5C5EONBK.js} +5 -5
  60. package/bundle/{liteRtServerManager-2QD4R3A3.js → liteRtServerManager-NQKPNCLR.js} +5 -5
  61. package/bundle/{liteRtServerManager-N6OMT6W5.js → liteRtServerManager-UJBPII3P.js} +5 -5
  62. package/bundle/liteRtServerManager-UZCAJJCS.js +66 -0
  63. package/bundle/{memoryDiscovery-SJ7P6RCN.js → memoryDiscovery-ALKMYAPP.js} +1 -1
  64. package/bundle/{memoryDiscovery-LLSKN6HL.js → memoryDiscovery-XFCKEF3F.js} +1 -1
  65. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  66. package/bundle/{oauth2-provider-TZF6EZRX.js → oauth2-provider-JNOY6NUI.js} +2 -2
  67. package/bundle/{oauth2-provider-DOSIH6VE.js → oauth2-provider-O6OA5EMU.js} +2 -2
  68. package/bundle/{oauth2-provider-VFOABWBW.js → oauth2-provider-QYCLASEA.js} +39 -73
  69. package/bundle/oauth2-provider-VWLTUFO7.js +237 -0
  70. package/bundle/{start-6NONW677.js → start-6FV3VPPH.js} +7 -7
  71. package/bundle/{start-M6MUPEJS.js → start-IWAUTCYF.js} +7 -7
  72. package/bundle/{start-3GPIRK3E.js → start-L4DAQUQM.js} +7 -7
  73. package/bundle/start-XTXUKP77.js +19 -0
  74. package/package.json +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-4TLQKGTR.js";
9
+ } from "./chunk-J4YAW3P3.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-PGJUNQPO.js";
61
+ } from "./chunk-QMXQUBC4.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-PYLHDAUK.js";
64
+ } from "./chunk-QDEK3TQ6.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-6XOSIMPZ.js";
68
+ } from "./chunk-ATSNFRDF.js";
69
69
  import {
70
70
  AsyncFzf,
71
71
  Config,
@@ -201,7 +201,7 @@ import {
201
201
  stripAnsi,
202
202
  tokenLimit,
203
203
  uiTelemetryService
204
- } from "./chunk-NBRZ4A3S.js";
204
+ } from "./chunk-YBYQH75I.js";
205
205
  import {
206
206
  ApprovalMode,
207
207
  CoreEvent,
@@ -227,7 +227,7 @@ import {
227
227
  shortenPath,
228
228
  tildeifyPath,
229
229
  unescapePath
230
- } from "./chunk-N6QYTC2T.js";
230
+ } from "./chunk-N22WUHJE.js";
231
231
  import {
232
232
  require_src
233
233
  } from "./chunk-RJTRUG2J.js";
@@ -40447,10 +40447,7 @@ function recursivelyHydrateStrings(obj, values) {
40447
40447
  }
40448
40448
  if (Array.isArray(obj)) {
40449
40449
  return obj.map(
40450
- (item) => (
40451
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
40452
- recursivelyHydrateStrings(item, values)
40453
- )
40450
+ (item) => recursivelyHydrateStrings(item, values)
40454
40451
  );
40455
40452
  }
40456
40453
  if (typeof obj === "object" && obj !== null) {
@@ -40545,7 +40542,9 @@ async function maybePromptForSettings(extensionConfig, extensionId, requestSetti
40545
40542
  settingsChanges.promptForEnv
40546
40543
  )) {
40547
40544
  const answer = await requestSetting(setting);
40548
- allSettings[setting.envVar] = answer;
40545
+ if (answer !== void 0) {
40546
+ allSettings[setting.envVar] = answer;
40547
+ }
40549
40548
  }
40550
40549
  const nonSensitiveSettings = {};
40551
40550
  for (const setting of settings) {
@@ -40596,7 +40595,7 @@ async function promptForSetting(setting) {
40596
40595
  message: `${setting.name}
40597
40596
  ${setting.description}`
40598
40597
  });
40599
- return response.value;
40598
+ return typeof response.value === "string" ? response.value : void 0;
40600
40599
  }
40601
40600
  async function getScopedEnvContents(extensionConfig, extensionId, scope, workspaceDir) {
40602
40601
  const { name: extensionName } = extensionConfig;
@@ -40655,6 +40654,9 @@ async function updateSetting(extensionConfig, extensionId, settingKey, requestSe
40655
40654
  return;
40656
40655
  }
40657
40656
  const newValue = await requestSetting(settingToUpdate);
40657
+ if (newValue === void 0) {
40658
+ return;
40659
+ }
40658
40660
  const keychain = new KeychainTokenStorage(
40659
40661
  getKeychainStorageName(extensionName, extensionId, scope, workspaceDir)
40660
40662
  );
@@ -40875,7 +40877,12 @@ var ExtensionEnablementManager = class {
40875
40877
  readConfig() {
40876
40878
  try {
40877
40879
  const content = fs12.readFileSync(this.configFilePath, "utf-8");
40878
- return JSON.parse(content);
40880
+ const parsed = JSON.parse(content);
40881
+ const schema = external_exports.record(
40882
+ external_exports.string(),
40883
+ external_exports.object({ overrides: external_exports.array(external_exports.string()) })
40884
+ );
40885
+ return schema.parse(parsed);
40879
40886
  } catch (error) {
40880
40887
  if (error instanceof Error && "code" in error && error.code === "ENOENT") {
40881
40888
  return {};
@@ -44382,7 +44389,7 @@ var defaultRequestConfirmation = async (message) => {
44382
44389
  message,
44383
44390
  initial: false
44384
44391
  });
44385
- return response.confirm;
44392
+ return typeof response.confirm === "boolean" ? response.confirm : false;
44386
44393
  };
44387
44394
  async function getExtensionManager() {
44388
44395
  const workspaceDir = process.cwd();
@@ -56443,7 +56450,7 @@ var authCommand = {
56443
56450
  import process28 from "node:process";
56444
56451
 
56445
56452
  // packages/cli/src/generated/git-commit.ts
56446
- var GIT_COMMIT_INFO = "022e8baef";
56453
+ var GIT_COMMIT_INFO = "5ee05c775";
56447
56454
 
56448
56455
  // packages/cli/src/ui/utils/historyExportUtils.ts
56449
56456
  import * as fsPromises from "node:fs/promises";
@@ -62204,7 +62211,7 @@ Use /mcp auth <server-name> to authenticate.`
62204
62211
  type: "info",
62205
62212
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62206
62213
  });
62207
- const { MCPOAuthProvider } = await import("./core-T2TBFAYG.js");
62214
+ const { MCPOAuthProvider } = await import("./core-GS6NXK7Y.js");
62208
62215
  let oauthConfig = server.oauth;
62209
62216
  if (!oauthConfig) {
62210
62217
  oauthConfig = { enabled: false };
@@ -80610,7 +80617,7 @@ var getLatestGitHubRelease = async (proxy) => {
80610
80617
  if (!releaseTag) {
80611
80618
  throw new Error(`Response did not include tag_name field`);
80612
80619
  }
80613
- return releaseTag;
80620
+ return typeof releaseTag === "string" ? releaseTag : "";
80614
80621
  } catch (error) {
80615
80622
  debugLogger.debug(
80616
80623
  `Failed to determine latest run-gemini-cli release:`,
@@ -46058,7 +46058,7 @@ var ProjectRegistry = class {
46058
46058
  if (isNodeError(error) && error.code === "ENOENT") {
46059
46059
  return { projects: {} };
46060
46060
  }
46061
- if (error instanceof SyntaxError) {
46061
+ if (error instanceof SyntaxError || error instanceof external_exports.ZodError) {
46062
46062
  debugLogger.warn("Failed to load registry (JSON corrupted), resetting to empty: ", error);
46063
46063
  return { projects: {} };
46064
46064
  }
@@ -1,7 +1,7 @@
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-MRHFLHPJ.js";
4
+ } from "./chunk-USS2A6NQ.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require