@google/gemini-cli 0.54.0-nightly.20260727.g3818efbbf → 0.54.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-DJN5ASV2.js → chunk-24AZRO3S.js} +3 -3
  2. package/bundle/{chunk-DZDRGXE7.js → chunk-4GNXWN36.js} +1 -1
  3. package/bundle/{chunk-QG7OFP4D.js → chunk-5X6WKNCA.js} +1 -1
  4. package/bundle/{chunk-SUGVZSZP.js → chunk-ANCJ47GY.js} +8 -9
  5. package/bundle/{chunk-5IDNNCKI.js → chunk-BMD42WWR.js} +3 -3
  6. package/bundle/{chunk-466R4OXK.js → chunk-CPVZILP2.js} +2 -2
  7. package/bundle/{chunk-JFMN3NMH.js → chunk-CZ6IKC6W.js} +1 -1
  8. package/bundle/{chunk-RM2K5H4S.js → chunk-GMYSSSFG.js} +1 -1
  9. package/bundle/{chunk-ISVXSEBZ.js → chunk-HM6J5QFA.js} +33 -19
  10. package/bundle/{chunk-REN6UR5J.js → chunk-HYGO4QEK.js} +2 -2
  11. package/bundle/{chunk-6FGJ26XP.js → chunk-I2F6JPKA.js} +7 -7
  12. package/bundle/{chunk-NPRNIWWX.js → chunk-JKXIXUUH.js} +1 -1
  13. package/bundle/{chunk-AWEYEUHO.js → chunk-K7T2IFNS.js} +1 -1
  14. package/bundle/{chunk-NNV4Z6XR.js → chunk-KFW7GOXJ.js} +2 -2
  15. package/bundle/{chunk-HSJEGTD3.js → chunk-KU7W3PYO.js} +1 -1
  16. package/bundle/{chunk-BGQD2QOL.js → chunk-PMUWVEQP.js} +7 -7
  17. package/bundle/{chunk-KJNJ3QIT.js → chunk-QZ32DOIY.js} +5 -8
  18. package/bundle/{chunk-TQ3DG6NP.js → chunk-S2XDE4E6.js} +54 -67
  19. package/bundle/{chunk-CPK5WFFK.js → chunk-UOZMJZMA.js} +25 -15
  20. package/bundle/{chunk-UK6PXCXN.js → chunk-X7LEASVK.js} +1 -1
  21. package/bundle/{chunk-DLH2UGEO.js → chunk-XTGYOEM3.js} +1 -1
  22. package/bundle/{chunk-ECJRPVVC.js → chunk-YOK6TS2W.js} +14240 -7618
  23. package/bundle/{chunk-MGBX554B.js → chunk-YVWOOS5D.js} +3 -3
  24. package/bundle/{chunk-PHD2HIVW.js → chunk-ZJJUEIJO.js} +1 -1
  25. package/bundle/{cleanup-EMIXJXP4.js → cleanup-CI4EZBGK.js} +2 -2
  26. package/bundle/{cleanup-IA6XG6SC.js → cleanup-NW33L7BG.js} +2 -2
  27. package/bundle/{cleanup-QIBIT7JQ.js → cleanup-WCECJVAH.js} +2 -2
  28. package/bundle/{core-UHW46BQ2.js → core-JXOKFSQM.js} +1 -1
  29. package/bundle/{dist-756SYAPF.js → core-X6AKTKZS.js} +1 -1
  30. package/bundle/{devtoolsService-7KPRZCZM.js → devtoolsService-HT4GPBRA.js} +2 -2
  31. package/bundle/{devtoolsService-6SDZCTRP.js → devtoolsService-I4VSDXDZ.js} +2 -2
  32. package/bundle/{devtoolsService-F7ASQSK7.js → devtoolsService-YWDOWAQ7.js} +3 -4
  33. package/bundle/{dist-ONOKSR3P.js → dist-FM4XWKSV.js} +1 -1
  34. package/bundle/{gemini-2NIRSAT7.js → gemini-6QYTVAVR.js} +196 -212
  35. package/bundle/{gemini-DXOB6GF4.js → gemini-LAE4PTZV.js} +14 -14
  36. package/bundle/{gemini-VBI43GZ4.js → gemini-M37ESLGX.js} +14 -14
  37. package/bundle/gemini.js +7 -7
  38. package/bundle/{interactiveCli-NPEBWIDC.js → interactiveCli-353YNM5T.js} +8 -8
  39. package/bundle/{interactiveCli-7CJ3QII7.js → interactiveCli-D26FIBDY.js} +8 -8
  40. package/bundle/{interactiveCli-J27JH7NJ.js → interactiveCli-OZI3EOZ3.js} +296 -315
  41. package/bundle/{liteRtServerManager-ADM43JXF.js → liteRtServerManager-5L6ZKYIO.js} +4 -4
  42. package/bundle/{liteRtServerManager-GJ75LD6Q.js → liteRtServerManager-CHOKKKD7.js} +4 -4
  43. package/bundle/{liteRtServerManager-L72IJLSL.js → liteRtServerManager-QZER65XK.js} +4 -4
  44. package/bundle/{oauth2-provider-EJQVJV5M.js → oauth2-provider-2DMHCM63.js} +1 -1
  45. package/bundle/{oauth2-provider-3THMIWTP.js → oauth2-provider-DOSOCLE2.js} +1 -1
  46. package/bundle/{oauth2-provider-EOXEHSLW.js → oauth2-provider-RYXZZKGA.js} +72 -38
  47. package/bundle/{start-A4ZY5O7I.js → start-6KDQYY22.js} +6 -6
  48. package/bundle/{start-BCDWTEXB.js → start-GSFOK3MC.js} +6 -6
  49. package/bundle/{start-GCMULBVZ.js → start-H6TOQQTQ.js} +6 -6
  50. package/package.json +1 -1
  51. package/bundle/chunk-6FQUF3NB.js +0 -398
  52. package/bundle/chunk-JFK64ABJ.js +0 -154
  53. package/bundle/chunk-OEJGR4OM.js +0 -396934
  54. package/bundle/chunk-OFBUSMXT.js +0 -118
  55. package/bundle/chunk-ORA2PDIL.js +0 -17332
  56. package/bundle/chunk-QGDYKVWX.js +0 -1571
  57. package/bundle/chunk-VSNWZ6EN.js +0 -512
  58. package/bundle/chunk-XUMLHXHF.js +0 -102505
  59. package/bundle/cleanup-YQH2S5EG.js +0 -32
  60. package/bundle/devtoolsService-XKABGMO6.js +0 -4359
  61. package/bundle/dist-Y4VJWSZD.js +0 -2156
  62. package/bundle/gemini-VNJSIRD3.js +0 -16427
  63. package/bundle/interactiveCli-XKYOQGP5.js +0 -34816
  64. package/bundle/liteRtServerManager-NRGCTYJQ.js +0 -65
  65. package/bundle/oauth2-provider-TZOUW4Q5.js +0 -235
  66. package/bundle/start-R674O2XI.js +0 -18
@@ -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-QGDYKVWX.js";
5
+ } from "./chunk-KU7W3PYO.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-NPRNIWWX.js";
17
+ } from "./chunk-QZ32DOIY.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-ISVXSEBZ.js";
20
+ } from "./chunk-YOK6TS2W.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-OEJGR4OM.js";
34
+ } from "./chunk-UOZMJZMA.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
  checkExhaustive
4
- } from "./chunk-ISVXSEBZ.js";
4
+ } from "./chunk-HM6J5QFA.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -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-OEJGR4OM.js";
4
+ } from "./chunk-YOK6TS2W.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-PHD2HIVW.js";
5
+ } from "./chunk-K7T2IFNS.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-DZDRGXE7.js";
17
+ } from "./chunk-JKXIXUUH.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-OEJGR4OM.js";
20
+ } from "./chunk-HM6J5QFA.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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-UK6PXCXN.js";
4
+ } from "./chunk-GMYSSSFG.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-ECJRPVVC.js";
10
+ } from "./chunk-HM6J5QFA.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-CPK5WFFK.js";
5
+ } from "./chunk-UOZMJZMA.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-CPK5WFFK.js";
8
+ } from "./chunk-HM6J5QFA.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -277932,8 +277932,15 @@ var FileKeychain = class {
277932
277932
  return crypto4.scryptSync("gemini-cli-oauth", salt, 32);
277933
277933
  }
277934
277934
  encrypt(text) {
277935
- const iv = crypto4.randomBytes(16);
277936
- const cipher = crypto4.createCipheriv("aes-256-gcm", this.encryptionKey, iv);
277935
+ const iv = crypto4.randomBytes(12);
277936
+ const cipher = crypto4.createCipheriv(
277937
+ "aes-256-gcm",
277938
+ this.encryptionKey,
277939
+ iv,
277940
+ {
277941
+ authTagLength: 16
277942
+ }
277943
+ );
277937
277944
  let encrypted = cipher.update(text, "utf8", "hex");
277938
277945
  encrypted += cipher.final("hex");
277939
277946
  const authTag = cipher.getAuthTag();
@@ -277947,10 +277954,17 @@ var FileKeychain = class {
277947
277954
  const iv = Buffer.from(parts2[0], "hex");
277948
277955
  const authTag = Buffer.from(parts2[1], "hex");
277949
277956
  const encrypted = parts2[2];
277957
+ if (iv.length !== 12 && iv.length !== 16) {
277958
+ throw new Error("Invalid IV length: Must be 12 or 16 bytes");
277959
+ }
277960
+ if (authTag.length !== 16) {
277961
+ throw new Error("Invalid authentication tag length: Must be 16 bytes");
277962
+ }
277950
277963
  const decipher = crypto4.createDecipheriv(
277951
277964
  "aes-256-gcm",
277952
277965
  this.encryptionKey,
277953
- iv
277966
+ iv,
277967
+ { authTagLength: 16 }
277954
277968
  );
277955
277969
  decipher.setAuthTag(authTag);
277956
277970
  let decrypted = decipher.update(encrypted, "hex", "utf8");
@@ -277962,25 +277976,25 @@ var FileKeychain = class {
277962
277976
  await fs23.mkdir(dir, { recursive: true, mode: 448 });
277963
277977
  }
277964
277978
  async loadData() {
277979
+ let data;
277965
277980
  try {
277966
- const data = await fs23.readFile(this.tokenFilePath, "utf-8");
277967
- const decrypted = this.decrypt(data);
277968
- return JSON.parse(decrypted);
277981
+ data = await fs23.readFile(this.tokenFilePath, "utf-8");
277969
277982
  } catch (error40) {
277970
277983
  const err2 = error40;
277971
277984
  if (err2.code === "ENOENT") {
277972
277985
  return {};
277973
277986
  }
277974
- if (err2.message?.includes("Invalid encrypted data format") || err2.message?.includes(
277975
- "Unsupported state or unable to authenticate data"
277976
- )) {
277977
- throw new Error(
277978
- `Corrupted credentials file detected at: ${this.tokenFilePath}
277979
- Please delete or rename this file to resolve the issue.`
277980
- );
277981
- }
277982
277987
  throw error40;
277983
277988
  }
277989
+ try {
277990
+ const decrypted = this.decrypt(data);
277991
+ return JSON.parse(decrypted);
277992
+ } catch {
277993
+ throw new Error(
277994
+ `Corrupted credentials file detected at: ${this.tokenFilePath}
277995
+ Please delete or rename this file to resolve the issue.`
277996
+ );
277997
+ }
277984
277998
  }
277985
277999
  async saveData(data) {
277986
278000
  await this.ensureDirectoryExists();
@@ -282763,8 +282777,8 @@ function isValidToolName(name3, options = {}) {
282763
282777
  }
282764
282778
 
282765
282779
  // packages/core/src/generated/git-commit.ts
282766
- var GIT_COMMIT_INFO = "3818efbbf";
282767
- var CLI_VERSION = "0.54.0-nightly.20260722.gf743ab579";
282780
+ var GIT_COMMIT_INFO = "d29268d36";
282781
+ var CLI_VERSION = "0.54.0-nightly.20260728.gbef611950";
282768
282782
 
282769
282783
  // packages/core/src/ide/detect-ide.ts
282770
282784
  var IDE_DEFINITIONS = {
@@ -306258,7 +306272,7 @@ function getVersion() {
306258
306272
  }
306259
306273
  versionPromise = (async () => {
306260
306274
  const pkgJson = await getPackageJson(__dirname4);
306261
- return "0.54.0-nightly.20260722.gf743ab579";
306275
+ return "0.54.0-nightly.20260728.gbef611950";
306262
306276
  })();
306263
306277
  return versionPromise;
306264
306278
  }
@@ -333120,7 +333134,7 @@ var GeminiChat = class {
333120
333134
  let activeLoopStartIndex = -1;
333121
333135
  for (let i3 = requestContents.length - 1; i3 >= 0; i3--) {
333122
333136
  const content = requestContents[i3];
333123
- if (content.role === "user" && content.parts?.some((part) => part.text)) {
333137
+ if (content.role === "user" && content.parts?.some((part) => part.text) && !content.parts?.some((part) => part.functionResponse)) {
333124
333138
  activeLoopStartIndex = i3;
333125
333139
  break;
333126
333140
  }
@@ -340915,7 +340929,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
340915
340929
  return provider;
340916
340930
  }
340917
340931
  case "oauth2": {
340918
- const { OAuth2AuthProvider } = await import("./oauth2-provider-3THMIWTP.js");
340932
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-DOSOCLE2.js");
340919
340933
  const provider = new OAuth2AuthProvider(
340920
340934
  authConfig,
340921
340935
  options.agentName ?? "unknown",
@@ -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-RM2K5H4S.js";
4
+ } from "./chunk-X7LEASVK.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-CPK5WFFK.js";
10
+ } from "./chunk-UOZMJZMA.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
  exitCli,
4
4
  require_source
5
- } from "./chunk-QGDYKVWX.js";
5
+ } from "./chunk-K7T2IFNS.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-NPRNIWWX.js";
62
+ } from "./chunk-JKXIXUUH.js";
63
63
  import {
64
64
  isDevelopment
65
- } from "./chunk-NNV4Z6XR.js";
65
+ } from "./chunk-CPVZILP2.js";
66
66
  import {
67
67
  emptyIcon,
68
68
  require_react
69
- } from "./chunk-QG7OFP4D.js";
69
+ } from "./chunk-5X6WKNCA.js";
70
70
  import {
71
71
  ALL_EDITORS,
72
72
  ApprovalMode,
@@ -230,7 +230,7 @@ import {
230
230
  tokenLimit,
231
231
  uiTelemetryService,
232
232
  unescapePath
233
- } from "./chunk-ISVXSEBZ.js";
233
+ } from "./chunk-HM6J5QFA.js";
234
234
  import {
235
235
  require_src
236
236
  } from "./chunk-TUDYL3X4.js";
@@ -77163,7 +77163,7 @@ var authCommand = {
77163
77163
  import process29 from "node:process";
77164
77164
 
77165
77165
  // packages/cli/src/generated/git-commit.ts
77166
- var GIT_COMMIT_INFO = "3818efbbf";
77166
+ var GIT_COMMIT_INFO = "d29268d36";
77167
77167
 
77168
77168
  // packages/cli/src/ui/utils/historyExportUtils.ts
77169
77169
  import * as fsPromises from "node:fs/promises";
@@ -82944,7 +82944,7 @@ Use /mcp auth <server-name> to authenticate.`
82944
82944
  type: "info",
82945
82945
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
82946
82946
  });
82947
- const { MCPOAuthProvider } = await import("./core-UHW46BQ2.js");
82947
+ const { MCPOAuthProvider } = await import("./core-JXOKFSQM.js");
82948
82948
  let oauthConfig = server.oauth;
82949
82949
  if (!oauthConfig) {
82950
82950
  oauthConfig = { enabled: false };
@@ -28,7 +28,7 @@ import {
28
28
  partListUnionToString,
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart
31
- } from "./chunk-ISVXSEBZ.js";
31
+ } from "./chunk-HM6J5QFA.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __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-UK6PXCXN.js";
4
+ } from "./chunk-GMYSSSFG.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __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-JFK64ABJ.js";
4
+ } from "./chunk-XTGYOEM3.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-ISVXSEBZ.js";
10
+ } from "./chunk-YOK6TS2W.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -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-RM2K5H4S.js";
4
+ } from "./chunk-XTGYOEM3.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-HSJEGTD3.js";
5
+ } from "./chunk-ZJJUEIJO.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-KJNJ3QIT.js";
62
+ } from "./chunk-4GNXWN36.js";
63
63
  import {
64
64
  isDevelopment
65
- } from "./chunk-REN6UR5J.js";
65
+ } from "./chunk-HYGO4QEK.js";
66
66
  import {
67
67
  emptyIcon,
68
68
  require_react
69
- } from "./chunk-JFMN3NMH.js";
69
+ } from "./chunk-CZ6IKC6W.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-CPK5WFFK.js";
246
+ } from "./chunk-UOZMJZMA.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 = "3818efbbf";
77179
+ var GIT_COMMIT_INFO = "5f9c117de";
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-756SYAPF.js");
82960
+ const { MCPOAuthProvider } = await import("./dist-FM4XWKSV.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-CPK5WFFK.js";
31
+ } from "./chunk-YOK6TS2W.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)) {