@google/gemini-cli 0.59.0-nightly.20260902.g4963a4456 → 0.59.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 (68) hide show
  1. package/bundle/{chunk-Q5JIA6GT.js → chunk-5MBZBBH2.js} +1 -1
  2. package/bundle/{chunk-HLKUJQDM.js → chunk-AB5FS4AA.js} +3 -3
  3. package/bundle/{chunk-T7ZX2IIA.js → chunk-CFD5V7JP.js} +1 -1
  4. package/bundle/{chunk-CPY5OHHN.js → chunk-CUTHWG3H.js} +8 -8
  5. package/bundle/{chunk-KWV4AQUZ.js → chunk-EXIGMSNQ.js} +8 -8
  6. package/bundle/{chunk-C6ZWHKCF.js → chunk-EZCKZ4FP.js} +8 -9
  7. package/bundle/{chunk-UEJPTQC6.js → chunk-HWQPEGPU.js} +3 -3
  8. package/bundle/{chunk-IA7Q3KXH.js → chunk-LZ4UWPZ4.js} +1 -1
  9. package/bundle/{chunk-IJEAUNNQ.js → chunk-MBUPFP25.js} +1 -1
  10. package/bundle/{chunk-IWRJCZ6U.js → chunk-NBDWOAFH.js} +1 -1
  11. package/bundle/{chunk-NMQMMCVT.js → chunk-NNFB47JH.js} +1 -1
  12. package/bundle/{chunk-GSIUURFM.js → chunk-NWWZRJGH.js} +1 -1
  13. package/bundle/{chunk-JHQHEMVA.js → chunk-O4TDK2BP.js} +2 -2
  14. package/bundle/{chunk-3VZPRWHY.js → chunk-OXQLGDKV.js} +1 -1
  15. package/bundle/{chunk-KKCOXPHQ.js → chunk-PC2G646B.js} +5 -8
  16. package/bundle/{chunk-TZIBDTO2.js → chunk-QEMQJ5WC.js} +55 -68
  17. package/bundle/{chunk-V6Z4ITCV.js → chunk-QTWDMFI7.js} +2 -2
  18. package/bundle/{chunk-YUQC6NAA.js → chunk-RSFMNCZQ.js} +3 -3
  19. package/bundle/{chunk-DIOSE3BS.js → chunk-S4PJ76PA.js} +83 -232
  20. package/bundle/{chunk-IGCPJWUF.js → chunk-SM627E5R.js} +14467 -7859
  21. package/bundle/{chunk-DASQGJ7I.js → chunk-WQ6KAW5H.js} +2 -2
  22. package/bundle/{chunk-6GUIIVVA.js → chunk-YINIG2CS.js} +1 -1
  23. package/bundle/{chunk-ER2BMKIS.js → chunk-YSBB75DZ.js} +80 -208
  24. package/bundle/{chunk-7JLIYXNU.js → chunk-ZEWQGTD3.js} +1 -1
  25. package/bundle/{cleanup-25YS5RTX.js → cleanup-V6FPOSLQ.js} +2 -2
  26. package/bundle/{cleanup-6GCA4T3P.js → cleanup-XITK52PU.js} +2 -2
  27. package/bundle/{cleanup-LZUO77TQ.js → cleanup-XLXFAFOM.js} +2 -2
  28. package/bundle/{core-2TCJDOL6.js → core-3RU5PE2Y.js} +1 -9
  29. package/bundle/{dist-U5EX4CQJ.js → core-W643DPU2.js} +1 -9
  30. package/bundle/{devtoolsService-2IXJHCHW.js → devtoolsService-6HD2JXSA.js} +2 -2
  31. package/bundle/{devtoolsService-CU22AZND.js → devtoolsService-MHCZCWFY.js} +2 -2
  32. package/bundle/{devtoolsService-BJMUO2XL.js → devtoolsService-QCWLN43R.js} +3 -4
  33. package/bundle/{dist-VR7BVPAT.js → dist-LLWWE5PU.js} +1 -9
  34. package/bundle/docs/reference/tools.md +4 -4
  35. package/bundle/docs/tools/web-fetch.md +3 -7
  36. package/bundle/{gemini-636YD7YV.js → gemini-CQYKWDIK.js} +14 -14
  37. package/bundle/{gemini-K4CRJOXJ.js → gemini-LLTPU73C.js} +198 -214
  38. package/bundle/{gemini-4QZGW7SH.js → gemini-OENNDR6N.js} +14 -14
  39. package/bundle/gemini.js +7 -7
  40. package/bundle/{interactiveCli-CS35GNLK.js → interactiveCli-7H2PS7RG.js} +8 -8
  41. package/bundle/{interactiveCli-2DBA2EUZ.js → interactiveCli-HHIJH7BL.js} +8 -8
  42. package/bundle/{interactiveCli-3JQSLUI7.js → interactiveCli-RIVGDZH4.js} +296 -315
  43. package/bundle/{liteRtServerManager-3TZXC7UK.js → liteRtServerManager-3QXIGTR3.js} +4 -4
  44. package/bundle/{liteRtServerManager-ACIGCEO2.js → liteRtServerManager-ALSWB4ZD.js} +4 -4
  45. package/bundle/{liteRtServerManager-HSGAX7EP.js → liteRtServerManager-XQKFTZNQ.js} +4 -4
  46. package/bundle/{oauth2-provider-JRSE3A7L.js → oauth2-provider-JV5L5XL4.js} +1 -1
  47. package/bundle/{oauth2-provider-7VIOBXML.js → oauth2-provider-KT5RTHDD.js} +1 -1
  48. package/bundle/{oauth2-provider-PYJGQTFU.js → oauth2-provider-NJUM2T72.js} +72 -38
  49. package/bundle/{start-6Q4QBVPO.js → start-AGMWAQ3H.js} +6 -6
  50. package/bundle/{start-HU7I3QO3.js → start-EKWDEYRS.js} +6 -6
  51. package/bundle/{start-MHK6JBHQ.js → start-LY3VMFGC.js} +6 -6
  52. package/package.json +1 -1
  53. package/bundle/chunk-BOFHLQOG.js +0 -17332
  54. package/bundle/chunk-F5IP5MHL.js +0 -398
  55. package/bundle/chunk-I4Y2QIDJ.js +0 -102506
  56. package/bundle/chunk-JPE4HCHY.js +0 -398010
  57. package/bundle/chunk-OGVFULXC.js +0 -1571
  58. package/bundle/chunk-OXMZP3AS.js +0 -118
  59. package/bundle/chunk-VIH2NMBW.js +0 -512
  60. package/bundle/chunk-XIHG4K2H.js +0 -154
  61. package/bundle/cleanup-NCHJS2BY.js +0 -32
  62. package/bundle/devtoolsService-VC3YH4D2.js +0 -4359
  63. package/bundle/dist-YZRGVHWZ.js +0 -2196
  64. package/bundle/gemini-PXW4RELH.js +0 -17337
  65. package/bundle/interactiveCli-FBKOZYFH.js +0 -34983
  66. package/bundle/liteRtServerManager-IOJ5CIAG.js +0 -65
  67. package/bundle/oauth2-provider-QEEGBDTU.js +0 -235
  68. package/bundle/start-NIWCTDHI.js +0 -18
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-DIOSE3BS.js";
8
+ } from "./chunk-SM627E5R.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-7JLIYXNU.js";
5
+ } from "./chunk-MBUPFP25.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-BOFHLQOG.js";
17
+ } from "./chunk-LZ4UWPZ4.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-JPE4HCHY.js";
20
+ } from "./chunk-YSBB75DZ.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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
  checkExhaustive
4
- } from "./chunk-DIOSE3BS.js";
4
+ } from "./chunk-S4PJ76PA.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-6GUIIVVA.js";
5
+ } from "./chunk-MBUPFP25.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -59,14 +59,14 @@ import {
59
59
  stripUnsafeCharacters,
60
60
  toCodePoints,
61
61
  validateCustomTheme
62
- } from "./chunk-KKCOXPHQ.js";
62
+ } from "./chunk-LZ4UWPZ4.js";
63
63
  import {
64
64
  isDevelopment
65
- } from "./chunk-F5IP5MHL.js";
65
+ } from "./chunk-WQ6KAW5H.js";
66
66
  import {
67
67
  emptyIcon,
68
68
  require_react
69
- } from "./chunk-3VZPRWHY.js";
69
+ } from "./chunk-OXQLGDKV.js";
70
70
  import {
71
71
  ALL_EDITORS,
72
72
  ApprovalMode,
@@ -244,7 +244,7 @@ import {
244
244
  tokenLimit,
245
245
  uiTelemetryService,
246
246
  unescapePath
247
- } from "./chunk-IGCPJWUF.js";
247
+ } from "./chunk-YSBB75DZ.js";
248
248
  import {
249
249
  require_src
250
250
  } from "./chunk-TUDYL3X4.js";
@@ -77177,7 +77177,7 @@ var authCommand = {
77177
77177
  import process29 from "node:process";
77178
77178
 
77179
77179
  // packages/cli/src/generated/git-commit.ts
77180
- var GIT_COMMIT_INFO = "e2bc14487";
77180
+ var GIT_COMMIT_INFO = "fb0d535af";
77181
77181
 
77182
77182
  // packages/cli/src/ui/utils/historyExportUtils.ts
77183
77183
  import * as fsPromises from "node:fs/promises";
@@ -78990,7 +78990,7 @@ var ExtensionRegistryClient = class _ExtensionRegistryClient {
78990
78990
  _ExtensionRegistryClient.fetchPromise = (async () => {
78991
78991
  try {
78992
78992
  if (uri.startsWith("http")) {
78993
- if (await isPrivateIp(uri)) {
78993
+ if (isPrivateIp(uri)) {
78994
78994
  throw new Error(
78995
78995
  "Private IP addresses are not allowed for the extension registry."
78996
78996
  );
@@ -82958,7 +82958,7 @@ Use /mcp auth <server-name> to authenticate.`
82958
82958
  type: "info",
82959
82959
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
82960
82960
  });
82961
- const { MCPOAuthProvider } = await import("./dist-YZRGVHWZ.js");
82961
+ const { MCPOAuthProvider } = await import("./dist-LLWWE5PU.js");
82962
82962
  let oauthConfig = server.oauth;
82963
82963
  if (!oauthConfig) {
82964
82964
  oauthConfig = { enabled: false };
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-OGVFULXC.js";
5
+ } from "./chunk-ZEWQGTD3.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -59,14 +59,14 @@ import {
59
59
  stripUnsafeCharacters,
60
60
  toCodePoints,
61
61
  validateCustomTheme
62
- } from "./chunk-GSIUURFM.js";
62
+ } from "./chunk-PC2G646B.js";
63
63
  import {
64
64
  isDevelopment
65
- } from "./chunk-V6Z4ITCV.js";
65
+ } from "./chunk-QTWDMFI7.js";
66
66
  import {
67
67
  emptyIcon,
68
68
  require_react
69
- } from "./chunk-T7ZX2IIA.js";
69
+ } from "./chunk-CFD5V7JP.js";
70
70
  import {
71
71
  ALL_EDITORS,
72
72
  ApprovalMode,
@@ -231,7 +231,7 @@ import {
231
231
  tokenLimit,
232
232
  uiTelemetryService,
233
233
  unescapePath
234
- } from "./chunk-DIOSE3BS.js";
234
+ } from "./chunk-S4PJ76PA.js";
235
235
  import {
236
236
  require_src
237
237
  } from "./chunk-TUDYL3X4.js";
@@ -77164,7 +77164,7 @@ var authCommand = {
77164
77164
  import process29 from "node:process";
77165
77165
 
77166
77166
  // packages/cli/src/generated/git-commit.ts
77167
- var GIT_COMMIT_INFO = "4963a4456";
77167
+ var GIT_COMMIT_INFO = "45e486b03";
77168
77168
 
77169
77169
  // packages/cli/src/ui/utils/historyExportUtils.ts
77170
77170
  import * as fsPromises from "node:fs/promises";
@@ -78977,7 +78977,7 @@ var ExtensionRegistryClient = class _ExtensionRegistryClient {
78977
78977
  _ExtensionRegistryClient.fetchPromise = (async () => {
78978
78978
  try {
78979
78979
  if (uri.startsWith("http")) {
78980
- if (await isPrivateIp(uri)) {
78980
+ if (isPrivateIp(uri)) {
78981
78981
  throw new Error(
78982
78982
  "Private IP addresses are not allowed for the extension registry."
78983
78983
  );
@@ -82945,7 +82945,7 @@ Use /mcp auth <server-name> to authenticate.`
82945
82945
  type: "info",
82946
82946
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
82947
82947
  });
82948
- const { MCPOAuthProvider } = await import("./core-2TCJDOL6.js");
82948
+ const { MCPOAuthProvider } = await import("./core-W643DPU2.js");
82949
82949
  let oauthConfig = server.oauth;
82950
82950
  if (!oauthConfig) {
82951
82951
  oauthConfig = { enabled: false };
@@ -1,8 +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
- CoreToolCallStatus,
4
3
  checkExhaustive
5
- } from "./chunk-JPE4HCHY.js";
4
+ } from "./chunk-SM627E5R.js";
6
5
  import {
7
6
  __commonJS,
8
7
  __toESM
@@ -465,19 +464,19 @@ var require_react = __commonJS({
465
464
  var import_react = __toESM(require_react(), 1);
466
465
  function mapCoreStatusToDisplayStatus(coreStatus) {
467
466
  switch (coreStatus) {
468
- case CoreToolCallStatus.Validating:
467
+ case "validating" /* Validating */:
469
468
  return "Pending" /* Pending */;
470
- case CoreToolCallStatus.AwaitingApproval:
469
+ case "awaiting_approval" /* AwaitingApproval */:
471
470
  return "Confirming" /* Confirming */;
472
- case CoreToolCallStatus.Executing:
471
+ case "executing" /* Executing */:
473
472
  return "Executing" /* Executing */;
474
- case CoreToolCallStatus.Success:
473
+ case "success" /* Success */:
475
474
  return "Success" /* Success */;
476
- case CoreToolCallStatus.Cancelled:
475
+ case "cancelled" /* Cancelled */:
477
476
  return "Canceled" /* Canceled */;
478
- case CoreToolCallStatus.Error:
477
+ case "error" /* Error */:
479
478
  return "Error" /* Error */;
480
- case CoreToolCallStatus.Scheduled:
479
+ case "scheduled" /* Scheduled */:
481
480
  return "Pending" /* Pending */;
482
481
  default:
483
482
  return checkExhaustive(coreStatus);
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-OGVFULXC.js";
5
+ } from "./chunk-ZEWQGTD3.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-GSIUURFM.js";
17
+ } from "./chunk-PC2G646B.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-DIOSE3BS.js";
20
+ } from "./chunk-S4PJ76PA.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -31,7 +31,7 @@ import {
31
31
  partListUnionToString,
32
32
  require_strip_json_comments,
33
33
  sanitizeFilenamePart
34
- } from "./chunk-ER2BMKIS.js";
34
+ } from "./chunk-YSBB75DZ.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __require,
@@ -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-IWRJCZ6U.js";
4
+ } from "./chunk-NNFB47JH.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-ER2BMKIS.js";
8
+ } from "./chunk-S4PJ76PA.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-JPE4HCHY.js";
8
+ } from "./chunk-YSBB75DZ.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -28,7 +28,7 @@ import {
28
28
  partListUnionToString,
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart
31
- } from "./chunk-DIOSE3BS.js";
31
+ } from "./chunk-SM627E5R.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -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-NMQMMCVT.js";
4
+ } from "./chunk-5MBZBBH2.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-JPE4HCHY.js";
10
+ } from "./chunk-SM627E5R.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  CoreToolCallStatus,
4
4
  checkExhaustive
5
- } from "./chunk-IGCPJWUF.js";
5
+ } from "./chunk-YSBB75DZ.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -1,9 +1,6 @@
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
  AuthProviderType,
4
- AuthType,
5
- CoreEvent,
6
- CoreToolCallStatus,
7
4
  DEFAULT_MODEL_CONFIGS,
8
5
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
9
6
  EDITOR_OPTIONS,
@@ -31,7 +28,7 @@ import {
31
28
  partListUnionToString,
32
29
  require_strip_json_comments,
33
30
  sanitizeFilenamePart
34
- } from "./chunk-IGCPJWUF.js";
31
+ } from "./chunk-S4PJ76PA.js";
35
32
  import {
36
33
  __commonJS,
37
34
  __require,
@@ -10228,7 +10225,7 @@ function convertSessionToHistoryFormats(messages) {
10228
10225
  args: tool.args,
10229
10226
  description: tool.description || "",
10230
10227
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10231
- status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10228
+ status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10232
10229
  resultDisplay: tool.resultDisplay,
10233
10230
  confirmationDetails: void 0
10234
10231
  }))
@@ -16292,8 +16289,8 @@ var LoadedSettings = class {
16292
16289
  // React will pass a listener fn into this subscribe fn
16293
16290
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16294
16291
  subscribe(listener) {
16295
- coreEvents.on(CoreEvent.SettingsChanged, listener);
16296
- return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16292
+ coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16293
+ return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16297
16294
  }
16298
16295
  getSnapshot() {
16299
16296
  return this._snapshot;
@@ -16437,7 +16434,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
16437
16434
  }
16438
16435
  }
16439
16436
  let value = "cloudshell-gca";
16440
- if (selectedAuthType === AuthType.USE_VERTEX_AI) {
16437
+ if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
16441
16438
  value = process2.env[USER_GCP_PROJECT];
16442
16439
  }
16443
16440
  if (envFilePath && fs4.existsSync(envFilePath)) {