@google/gemini-cli 0.51.0-nightly.20260708.gc988cbb1e → 0.51.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 (66) hide show
  1. package/bundle/{chunk-7D3ADWYE.js → chunk-4NX72DYK.js} +3 -9
  2. package/bundle/{chunk-5ROOHRPU.js → chunk-4ZTDUVGF.js} +3 -3
  3. package/bundle/{chunk-MC7OL7L5.js → chunk-CCS4FZN3.js} +1 -1
  4. package/bundle/{chunk-YBDM2ODU.js → chunk-CR7DJZQQ.js} +1 -1
  5. package/bundle/{chunk-2QHXXANZ.js → chunk-DO2TG64U.js} +7 -7
  6. package/bundle/{chunk-QJNCOYUJ.js → chunk-DY72VNA7.js} +2 -2
  7. package/bundle/{chunk-4KR7HBX4.js → chunk-FIVDQWYP.js} +1 -1
  8. package/bundle/{chunk-DP5SFKWT.js → chunk-FPNPAIJS.js} +3 -3
  9. package/bundle/{chunk-RYFK65YQ.js → chunk-G6N5TBIV.js} +2 -2
  10. package/bundle/{chunk-FFNA4K6Q.js → chunk-IT3MCILF.js} +8 -9
  11. package/bundle/{chunk-NFXURVSG.js → chunk-JYUWXRQN.js} +1 -1
  12. package/bundle/{chunk-5WUHO5LJ.js → chunk-KKH6C2EN.js} +14191 -7605
  13. package/bundle/{chunk-TJBXGMNA.js → chunk-KKZMWOPL.js} +1 -1
  14. package/bundle/{chunk-4IU75RRO.js → chunk-MTJEEJK4.js} +5 -11
  15. package/bundle/{chunk-2JDZFYC3.js → chunk-NZPKN6HX.js} +1 -1
  16. package/bundle/{chunk-SWXBIZTJ.js → chunk-PUQ6F6LT.js} +1 -1
  17. package/bundle/{chunk-VAD47FH3.js → chunk-SN3AWJMJ.js} +1 -1
  18. package/bundle/{chunk-FRH7RQYQ.js → chunk-TTSEXUPD.js} +3 -3
  19. package/bundle/{chunk-IXKAG66M.js → chunk-Y6OKNB2O.js} +1 -1
  20. package/bundle/{chunk-KPOGDQAW.js → chunk-YCMQYVOL.js} +7 -7
  21. package/bundle/{chunk-QY634ECV.js → chunk-YITANI4H.js} +5 -8
  22. package/bundle/{chunk-WRD6EKKS.js → chunk-Z6DCMYAX.js} +2 -2
  23. package/bundle/{chunk-KTR2AROX.js → chunk-ZCZJ3EHG.js} +54 -67
  24. package/bundle/{chunk-FQK7DMV3.js → chunk-ZLW5C5RW.js} +1 -1
  25. package/bundle/{cleanup-F346RWAB.js → cleanup-FQDKYMP7.js} +2 -2
  26. package/bundle/{cleanup-HK7WSOZ4.js → cleanup-KYHKAOAV.js} +2 -2
  27. package/bundle/{cleanup-QDOGZ6LD.js → cleanup-RKALUUIS.js} +2 -2
  28. package/bundle/{core-OE2FN6H4.js → core-YY6I7TM7.js} +1 -1
  29. package/bundle/{dist-GOVFKZUP.js → core-ZPLCY7CF.js} +1 -1
  30. package/bundle/{devtoolsService-LUX2QI2P.js → devtoolsService-JKRU3MYU.js} +2 -2
  31. package/bundle/{devtoolsService-CUFYN7RR.js → devtoolsService-MDNGNUVW.js} +2 -2
  32. package/bundle/{devtoolsService-OFIHV2E2.js → devtoolsService-XZY2NAWE.js} +3 -4
  33. package/bundle/{dist-SYV2MKKT.js → dist-KYS2OS5Q.js} +1 -1
  34. package/bundle/{gemini-OIHKLMRS.js → gemini-6JOWJJRI.js} +13 -13
  35. package/bundle/{gemini-J2WVD3HI.js → gemini-DFLM6FZF.js} +196 -212
  36. package/bundle/{gemini-NMU6HI2V.js → gemini-ZFN5ZWKT.js} +14 -14
  37. package/bundle/gemini.js +7 -7
  38. package/bundle/{interactiveCli-ZSCRTNFT.js → interactiveCli-642BSKOD.js} +8 -8
  39. package/bundle/{interactiveCli-JXJWMPVK.js → interactiveCli-OIN4AGBD.js} +296 -315
  40. package/bundle/{interactiveCli-JPNG4XNZ.js → interactiveCli-U33KFJYX.js} +8 -8
  41. package/bundle/{liteRtServerManager-CGFM7N3B.js → liteRtServerManager-2KULLNCR.js} +4 -4
  42. package/bundle/{liteRtServerManager-IOUCER7S.js → liteRtServerManager-6B6QVC3X.js} +4 -4
  43. package/bundle/{liteRtServerManager-JY2MURMO.js → liteRtServerManager-6DL4RPYQ.js} +4 -4
  44. package/bundle/{oauth2-provider-423KYCCV.js → oauth2-provider-7MN7TDIH.js} +1 -1
  45. package/bundle/{oauth2-provider-5EW734HE.js → oauth2-provider-XRJ2KE2Y.js} +1 -1
  46. package/bundle/{oauth2-provider-D7AYLO4B.js → oauth2-provider-YYHCEEAO.js} +72 -38
  47. package/bundle/{start-HEAF5AYN.js → start-EKMJOLSQ.js} +6 -6
  48. package/bundle/{start-LR7NW5AT.js → start-HPGDHGIK.js} +6 -6
  49. package/bundle/{start-WPNOCPM6.js → start-N7GSPBDS.js} +6 -6
  50. package/package.json +1 -1
  51. package/bundle/chunk-3RAOFZWC.js +0 -512
  52. package/bundle/chunk-46LUTSJ4.js +0 -17332
  53. package/bundle/chunk-G63UEXXU.js +0 -154
  54. package/bundle/chunk-L7HQQFTI.js +0 -398
  55. package/bundle/chunk-LKCMWW54.js +0 -388057
  56. package/bundle/chunk-SHMPMIKB.js +0 -118
  57. package/bundle/chunk-SUZMHKOU.js +0 -102505
  58. package/bundle/chunk-VJQWDQHT.js +0 -1571
  59. package/bundle/cleanup-XGIZ3M66.js +0 -32
  60. package/bundle/devtoolsService-PZBPSAKB.js +0 -4359
  61. package/bundle/dist-VRX3PYGK.js +0 -2152
  62. package/bundle/gemini-TSF7456F.js +0 -29270
  63. package/bundle/interactiveCli-SFIYURNH.js +0 -34776
  64. package/bundle/liteRtServerManager-ZOUYJ3HK.js +0 -65
  65. package/bundle/oauth2-provider-XSTJLVJW.js +0 -235
  66. package/bundle/start-YQNS7733.js +0 -18
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-4IU75RRO.js";
8
+ } from "./chunk-MTJEEJK4.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -273732,8 +273732,8 @@ function isValidToolName(name3, options = {}) {
273732
273732
  }
273733
273733
 
273734
273734
  // packages/core/dist/src/generated/git-commit.js
273735
- var GIT_COMMIT_INFO = "c988cbb1e";
273736
- var CLI_VERSION = "0.51.0-nightly.20260625.g3fbf93e26";
273735
+ var GIT_COMMIT_INFO = "27a3da3e8";
273736
+ var CLI_VERSION = "0.51.0-preview.0";
273737
273737
 
273738
273738
  // packages/core/dist/src/ide/detect-ide.js
273739
273739
  var IDE_DEFINITIONS = {
@@ -296910,7 +296910,7 @@ function getVersion() {
296910
296910
  }
296911
296911
  versionPromise = (async () => {
296912
296912
  const pkgJson = await getPackageJson(__dirname4);
296913
- return "0.51.0-nightly.20260708.gc988cbb1e";
296913
+ return "0.51.0-preview.0";
296914
296914
  })();
296915
296915
  return versionPromise;
296916
296916
  }
@@ -329417,7 +329417,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
329417
329417
  return provider;
329418
329418
  }
329419
329419
  case "oauth2": {
329420
- const { OAuth2AuthProvider } = await import("./oauth2-provider-423KYCCV.js");
329420
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-7MN7TDIH.js");
329421
329421
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
329422
329422
  await provider.initialize();
329423
329423
  return provider;
@@ -337578,13 +337578,7 @@ var WorkspaceContext = class {
337578
337578
  const segments = relative12.split(path70.sep);
337579
337579
  const hasBlockedSegment = segments.some((segment) => {
337580
337580
  const clean = trimTrailingSpacesAndDots(segment.split(":")[0]).toLowerCase();
337581
- if (clean === ".git" || clean === ".env" || clean === "node_modules") {
337582
- return true;
337583
- }
337584
- if (clean.startsWith("gha-creds-") && clean.endsWith(".json")) {
337585
- return true;
337586
- }
337587
- return false;
337581
+ return clean === ".git" || clean === ".env" || clean === "node_modules";
337588
337582
  });
337589
337583
  if (hasBlockedSegment) {
337590
337584
  return false;
@@ -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-4IU75RRO.js";
5
+ } from "./chunk-MTJEEJK4.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -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-G63UEXXU.js";
4
+ } from "./chunk-CCS4FZN3.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __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-NFXURVSG.js";
4
+ } from "./chunk-KKZMWOPL.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -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-VJQWDQHT.js";
5
+ } from "./chunk-PUQ6F6LT.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-QY634ECV.js";
17
+ } from "./chunk-Y6OKNB2O.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-LKCMWW54.js";
20
+ } from "./chunk-KKH6C2EN.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -28,7 +28,7 @@ import {
28
28
  partListUnionToString,
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart
31
- } from "./chunk-7D3ADWYE.js";
31
+ } from "./chunk-KKH6C2EN.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-VAD47FH3.js";
9
+ } from "./chunk-SN3AWJMJ.js";
10
10
  import {
11
11
  DEFAULT_BACKGROUND_OPACITY,
12
12
  DEFAULT_BORDER_OPACITY,
@@ -59,14 +59,14 @@ import {
59
59
  stripUnsafeCharacters,
60
60
  toCodePoints,
61
61
  validateCustomTheme
62
- } from "./chunk-46LUTSJ4.js";
62
+ } from "./chunk-ZLW5C5RW.js";
63
63
  import {
64
64
  isDevelopment
65
- } from "./chunk-L7HQQFTI.js";
65
+ } from "./chunk-G6N5TBIV.js";
66
66
  import {
67
67
  emptyIcon,
68
68
  require_react
69
- } from "./chunk-FFNA4K6Q.js";
69
+ } from "./chunk-NZPKN6HX.js";
70
70
  import {
71
71
  ALL_EDITORS,
72
72
  ApprovalMode,
@@ -243,7 +243,7 @@ import {
243
243
  tokenLimit,
244
244
  uiTelemetryService,
245
245
  unescapePath
246
- } from "./chunk-5WUHO5LJ.js";
246
+ } from "./chunk-MTJEEJK4.js";
247
247
  import {
248
248
  require_src
249
249
  } from "./chunk-TUDYL3X4.js";
@@ -77176,7 +77176,7 @@ var authCommand = {
77176
77176
  import process29 from "node:process";
77177
77177
 
77178
77178
  // packages/cli/src/generated/git-commit.ts
77179
- var GIT_COMMIT_INFO = "c988cbb1e";
77179
+ var GIT_COMMIT_INFO = "d1e1b00b8";
77180
77180
 
77181
77181
  // packages/cli/src/ui/utils/historyExportUtils.ts
77182
77182
  import * as fsPromises from "node:fs/promises";
@@ -82957,7 +82957,7 @@ Use /mcp auth <server-name> to authenticate.`
82957
82957
  type: "info",
82958
82958
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
82959
82959
  });
82960
- const { MCPOAuthProvider } = await import("./dist-VRX3PYGK.js");
82960
+ const { MCPOAuthProvider } = await import("./dist-KYS2OS5Q.js");
82961
82961
  let oauthConfig = server.oauth;
82962
82962
  if (!oauthConfig) {
82963
82963
  oauthConfig = { enabled: false };
@@ -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-LKCMWW54.js";
31
+ } from "./chunk-4NX72DYK.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)) {
@@ -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-MC7OL7L5.js";
4
+ } from "./chunk-JYUWXRQN.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-LKCMWW54.js";
10
+ } from "./chunk-4NX72DYK.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";