@google/gemini-cli 0.46.0-preview.3 → 0.46.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-AJKD63PC.js → chunk-46UNR4SE.js} +1 -1
  2. package/bundle/{chunk-5ND76TYS.js → chunk-6ZHP2EJW.js} +4 -4
  3. package/bundle/{chunk-VON23XS2.js → chunk-7EBO46BD.js} +2 -2
  4. package/bundle/{chunk-2XKNPALS.js → chunk-BM5TFZWV.js} +1 -1
  5. package/bundle/{chunk-ZW2TA44S.js → chunk-CSKXYL76.js} +2 -2
  6. package/bundle/{chunk-IPSGP4HZ.js → chunk-EMVR5JTF.js} +8 -9
  7. package/bundle/{chunk-S5GUYIK7.js → chunk-FC67CGD5.js} +1 -1
  8. package/bundle/{chunk-KK5RNP2O.js → chunk-G33JEOEV.js} +14077 -7533
  9. package/bundle/{chunk-TIFKXOWZ.js → chunk-GPDO3T5B.js} +3 -3
  10. package/bundle/{chunk-CIWJFNFL.js → chunk-I4F637TN.js} +1 -1
  11. package/bundle/{chunk-LFPQWI47.js → chunk-IZGZZO6A.js} +1 -1
  12. package/bundle/{chunk-DVLOSJL6.js → chunk-IZZGJPR3.js} +1 -1
  13. package/bundle/{chunk-AYF4WWI6.js → chunk-JOFGDFVN.js} +3 -3
  14. package/bundle/{chunk-FHPHAHTC.js → chunk-MKQJU6N7.js} +1 -1
  15. package/bundle/{chunk-MKTEB4X2.js → chunk-O3ZM34A3.js} +1 -1
  16. package/bundle/{chunk-6WDE67I7.js → chunk-RCJSF5RP.js} +4 -4
  17. package/bundle/{chunk-V5CL3DRL.js → chunk-S5WKKTEF.js} +3 -3
  18. package/bundle/{chunk-PWEKIO66.js → chunk-SCXTH56Q.js} +7 -7
  19. package/bundle/{chunk-PBKO4RQZ.js → chunk-T55FPMGN.js} +54 -67
  20. package/bundle/{chunk-KOY6HFDJ.js → chunk-V2OCZBTI.js} +5 -8
  21. package/bundle/{chunk-W7QA7FT5.js → chunk-VFPQ45DS.js} +2 -2
  22. package/bundle/{chunk-2GESUVEI.js → chunk-XWSJWBAL.js} +7 -7
  23. package/bundle/{chunk-CQ5T2OOT.js → chunk-YIJWUMMP.js} +1 -1
  24. package/bundle/{chunk-7GTQ3TVY.js → chunk-YIKH5LDT.js} +1 -1
  25. package/bundle/{cleanup-3MDHF3OO.js → cleanup-HCSVNXSL.js} +2 -2
  26. package/bundle/{cleanup-ACXEXWY2.js → cleanup-KA5YYXS3.js} +2 -2
  27. package/bundle/{cleanup-EAOW4OCO.js → cleanup-SBGWM3G7.js} +2 -2
  28. package/bundle/{core-HYJM5T45.js → core-K77SYAQL.js} +1 -1
  29. package/bundle/{dist-EMBSC4SS.js → core-LVRAYGT3.js} +1 -1
  30. package/bundle/{devtoolsService-6OVP6DUO.js → devtoolsService-ADGLR4UM.js} +2 -2
  31. package/bundle/{devtoolsService-OVSOSM56.js → devtoolsService-ORERBA72.js} +3 -4
  32. package/bundle/{devtoolsService-5ME5JZIQ.js → devtoolsService-WRHZUKOW.js} +2 -2
  33. package/bundle/{dist-SHJ4FBPT.js → dist-6R4J6OFH.js} +1 -1
  34. package/bundle/{gemini-23GFJRSL.js → gemini-LOO67E54.js} +196 -212
  35. package/bundle/{gemini-XWN3KUEH.js → gemini-STIONCRJ.js} +14 -14
  36. package/bundle/{gemini-4SDDBM2K.js → gemini-YXO2QQ66.js} +14 -14
  37. package/bundle/gemini.js +7 -7
  38. package/bundle/{interactiveCli-P65NECXR.js → interactiveCli-F337IDVS.js} +8 -8
  39. package/bundle/{interactiveCli-R6XRMC4D.js → interactiveCli-NKTBHB7O.js} +8 -8
  40. package/bundle/{interactiveCli-ZHRXRBPP.js → interactiveCli-OYDA765S.js} +295 -314
  41. package/bundle/{liteRtServerManager-6YTWQFQF.js → liteRtServerManager-6CQ3NBHQ.js} +4 -4
  42. package/bundle/{liteRtServerManager-D6LNW6CQ.js → liteRtServerManager-N7CBKKD6.js} +4 -4
  43. package/bundle/{liteRtServerManager-DV2CLRPW.js → liteRtServerManager-YBJANX3B.js} +4 -4
  44. package/bundle/{oauth2-provider-C3WLQHTS.js → oauth2-provider-AAJFAFW6.js} +1 -1
  45. package/bundle/{oauth2-provider-BTNIRWZ2.js → oauth2-provider-CYIU4X4W.js} +1 -1
  46. package/bundle/{oauth2-provider-KWAZCQ6F.js → oauth2-provider-YNWUFCNW.js} +72 -38
  47. package/bundle/{start-2YDK2M2Y.js → start-CNBBYSNI.js} +6 -6
  48. package/bundle/{start-DKFGI2SP.js → start-DEWQ46DT.js} +6 -6
  49. package/bundle/{start-KPTJV4UZ.js → start-H7TCWGQL.js} +6 -6
  50. package/package.json +1 -1
  51. package/bundle/chunk-3PLUHPJV.js +0 -81736
  52. package/bundle/chunk-KBVSP7UV.js +0 -398
  53. package/bundle/chunk-QC2XF7WU.js +0 -154
  54. package/bundle/chunk-SWSOO6PG.js +0 -512
  55. package/bundle/chunk-VFBOEQYZ.js +0 -118
  56. package/bundle/chunk-XB2Y55JE.js +0 -17320
  57. package/bundle/chunk-XMZW4ETE.js +0 -394601
  58. package/bundle/chunk-YQE3FF4G.js +0 -1571
  59. package/bundle/cleanup-YRHQYKEA.js +0 -32
  60. package/bundle/devtoolsService-I4R5WQXY.js +0 -856
  61. package/bundle/dist-XMOYSFBW.js +0 -2142
  62. package/bundle/gemini-VIZXE6FK.js +0 -16409
  63. package/bundle/interactiveCli-ZLTD7RPN.js +0 -34752
  64. package/bundle/liteRtServerManager-HNNHQ2GQ.js +0 -65
  65. package/bundle/oauth2-provider-Y4NUSLR7.js +0 -235
  66. package/bundle/start-W2EDCOPO.js +0 -18
@@ -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,
@@ -32,7 +29,7 @@ import {
32
29
  require_strip_json_comments,
33
30
  sanitizeFilenamePart,
34
31
  stripAnsi
35
- } from "./chunk-KK5RNP2O.js";
32
+ } from "./chunk-6ZHP2EJW.js";
36
33
  import {
37
34
  __commonJS,
38
35
  __require,
@@ -10220,7 +10217,7 @@ function convertSessionToHistoryFormats(messages) {
10220
10217
  args: tool.args,
10221
10218
  description: tool.description || "",
10222
10219
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10223
- status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10220
+ status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10224
10221
  resultDisplay: tool.resultDisplay,
10225
10222
  confirmationDetails: void 0
10226
10223
  }))
@@ -16281,8 +16278,8 @@ var LoadedSettings = class {
16281
16278
  // React will pass a listener fn into this subscribe fn
16282
16279
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16283
16280
  subscribe(listener) {
16284
- coreEvents.on(CoreEvent.SettingsChanged, listener);
16285
- return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16281
+ coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16282
+ return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16286
16283
  }
16287
16284
  getSnapshot() {
16288
16285
  return this._snapshot;
@@ -16426,7 +16423,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
16426
16423
  }
16427
16424
  }
16428
16425
  let value = "cloudshell-gca";
16429
- if (selectedAuthType === AuthType.USE_VERTEX_AI) {
16426
+ if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
16430
16427
  value = process2.env[USER_GCP_PROJECT];
16431
16428
  }
16432
16429
  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-AJKD63PC.js";
4
+ } from "./chunk-IZGZZO6A.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-XMZW4ETE.js";
10
+ } from "./chunk-G33JEOEV.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-YQE3FF4G.js";
9
+ } from "./chunk-O3ZM34A3.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-XB2Y55JE.js";
61
+ } from "./chunk-YIKH5LDT.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-W7QA7FT5.js";
64
+ } from "./chunk-CSKXYL76.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-IPSGP4HZ.js";
68
+ } from "./chunk-YIJWUMMP.js";
69
69
  import {
70
70
  ALL_EDITORS,
71
71
  ApprovalMode,
@@ -243,7 +243,7 @@ import {
243
243
  tokenLimit,
244
244
  uiTelemetryService,
245
245
  unescapePath
246
- } from "./chunk-XMZW4ETE.js";
246
+ } from "./chunk-RCJSF5RP.js";
247
247
  import {
248
248
  require_src
249
249
  } from "./chunk-TUDYL3X4.js";
@@ -56544,7 +56544,7 @@ var authCommand = {
56544
56544
  import process29 from "node:process";
56545
56545
 
56546
56546
  // packages/cli/src/generated/git-commit.ts
56547
- var GIT_COMMIT_INFO = "cf709c0e0";
56547
+ var GIT_COMMIT_INFO = "85b0c55c1";
56548
56548
 
56549
56549
  // packages/cli/src/ui/utils/historyExportUtils.ts
56550
56550
  import * as fsPromises from "node:fs/promises";
@@ -62325,7 +62325,7 @@ Use /mcp auth <server-name> to authenticate.`
62325
62325
  type: "info",
62326
62326
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62327
62327
  });
62328
- const { MCPOAuthProvider } = await import("./dist-XMOYSFBW.js");
62328
+ const { MCPOAuthProvider } = await import("./dist-6R4J6OFH.js");
62329
62329
  let oauthConfig = server.oauth;
62330
62330
  if (!oauthConfig) {
62331
62331
  oauthConfig = { enabled: 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-KK5RNP2O.js";
5
+ } from "./chunk-RCJSF5RP.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -32,7 +32,7 @@ import {
32
32
  require_strip_json_comments,
33
33
  sanitizeFilenamePart,
34
34
  stripAnsi
35
- } from "./chunk-6WDE67I7.js";
35
+ } from "./chunk-RCJSF5RP.js";
36
36
  import {
37
37
  __commonJS,
38
38
  __require,
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-QC2XF7WU.js";
15
- import "./chunk-6WDE67I7.js";
14
+ } from "./chunk-IZGZZO6A.js";
15
+ import "./chunk-G33JEOEV.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-S5GUYIK7.js";
15
- import "./chunk-5ND76TYS.js";
14
+ } from "./chunk-46UNR4SE.js";
15
+ import "./chunk-6ZHP2EJW.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-LFPQWI47.js";
15
- import "./chunk-KK5RNP2O.js";
14
+ } from "./chunk-FC67CGD5.js";
15
+ import "./chunk-RCJSF5RP.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -1064,7 +1064,7 @@ import {
1064
1064
  wrapInAccountChooser,
1065
1065
  writeToStderr,
1066
1066
  writeToStdout
1067
- } from "./chunk-5ND76TYS.js";
1067
+ } from "./chunk-G33JEOEV.js";
1068
1068
  import "./chunk-6HI7VNOG.js";
1069
1069
  import "./chunk-TUDYL3X4.js";
1070
1070
  import {
@@ -1064,7 +1064,7 @@ import {
1064
1064
  wrapInAccountChooser,
1065
1065
  writeToStderr,
1066
1066
  writeToStdout
1067
- } from "./chunk-6WDE67I7.js";
1067
+ } from "./chunk-6ZHP2EJW.js";
1068
1068
  import "./chunk-6HI7VNOG.js";
1069
1069
  import "./chunk-TUDYL3X4.js";
1070
1070
  import {
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  coreEvents,
4
4
  debugLogger
5
- } from "./chunk-5ND76TYS.js";
5
+ } from "./chunk-6ZHP2EJW.js";
6
6
  import {
7
7
  wrapper_default
8
8
  } from "./chunk-6HI7VNOG.js";
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-HYJM5T45.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LVRAYGT3.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1,9 +1,8 @@
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
- CoreEvent,
4
3
  coreEvents,
5
4
  debugLogger
6
- } from "./chunk-KK5RNP2O.js";
5
+ } from "./chunk-G33JEOEV.js";
7
6
  import {
8
7
  wrapper_default
9
8
  } from "./chunk-6HI7VNOG.js";
@@ -671,7 +670,7 @@ var bridgeAttached = false;
671
670
  function bridgeCoreEvents(capture) {
672
671
  if (bridgeAttached) return;
673
672
  bridgeAttached = true;
674
- coreEvents.on(CoreEvent.ConsoleLog, (payload) => {
673
+ coreEvents.on("console-log" /* ConsoleLog */, (payload) => {
675
674
  capture.logConsole(payload);
676
675
  });
677
676
  }
@@ -822,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
822
821
  return;
823
822
  }
824
823
  try {
825
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-SHJ4FBPT.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-K77SYAQL.js");
826
825
  const url = await startDevToolsServer(config);
827
826
  if (shouldLaunchBrowser()) {
828
827
  try {
@@ -3,7 +3,7 @@ import {
3
3
  CoreEvent,
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-XMZW4ETE.js";
6
+ } from "./chunk-RCJSF5RP.js";
7
7
  import {
8
8
  wrapper_default
9
9
  } from "./chunk-6HI7VNOG.js";
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
822
822
  return;
823
823
  }
824
824
  try {
825
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-XMOYSFBW.js");
825
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-6R4J6OFH.js");
826
826
  const url = await startDevToolsServer(config);
827
827
  if (shouldLaunchBrowser()) {
828
828
  try {
@@ -1064,7 +1064,7 @@ import {
1064
1064
  wrapInAccountChooser,
1065
1065
  writeToStderr,
1066
1066
  writeToStdout
1067
- } from "./chunk-KK5RNP2O.js";
1067
+ } from "./chunk-RCJSF5RP.js";
1068
1068
  import "./chunk-6HI7VNOG.js";
1069
1069
  import "./chunk-TUDYL3X4.js";
1070
1070
  import {