@google/gemini-cli 0.41.0 → 0.41.2

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 (59) hide show
  1. package/bundle/{chunk-CZW4D4RQ.js → chunk-3XMY3M3U.js} +1 -1
  2. package/bundle/{chunk-KMY2ICHB.js → chunk-5A3LI34G.js} +1 -1
  3. package/bundle/{chunk-CSDNDSTO.js → chunk-6DSAZLFF.js} +5 -6
  4. package/bundle/{chunk-V7GQYOIO.js → chunk-A5XEAQRF.js} +14 -12
  5. package/bundle/{chunk-4CB5QYON.js → chunk-DGEXHKWC.js} +1 -1
  6. package/bundle/{chunk-KHDD5ZQT.js → chunk-EQMEWFGY.js} +1 -1
  7. package/bundle/{chunk-B2LNN6KY.js → chunk-FWECAYR3.js} +5 -6
  8. package/bundle/{chunk-7LNZOOC7.js → chunk-H322INXK.js} +6 -6
  9. package/bundle/{chunk-5ZVQP4WN.js → chunk-HHIX2NPU.js} +1 -1
  10. package/bundle/{chunk-J7E7PI4S.js → chunk-IGU7XWDJ.js} +2 -2
  11. package/bundle/chunk-KVVLAZ7O.js +1571 -0
  12. package/bundle/{chunk-KYES7RJ6.js → chunk-NESFKEQ4.js} +67 -54
  13. package/bundle/{chunk-RVECIZP6.js → chunk-NGAZWQE3.js} +1 -1
  14. package/bundle/{chunk-F6MNV4SZ.js → chunk-O74AH4OC.js} +6 -6
  15. package/bundle/chunk-OHL3EGQM.js +80034 -0
  16. package/bundle/{chunk-GLO32GZ3.js → chunk-PBNB5XZ6.js} +6676 -12457
  17. package/bundle/{chunk-5ECQHX5C.js → chunk-PNIHJ6SR.js} +2 -2
  18. package/bundle/{chunk-G2G5UOIR.js → chunk-QKV7TI5G.js} +2 -2
  19. package/bundle/chunk-RHAB4HIH.js +156 -0
  20. package/bundle/chunk-VI4YCW3B.js +17656 -0
  21. package/bundle/{chunk-TOU7GDCS.js → chunk-VP4F7DFB.js} +3 -3
  22. package/bundle/{chunk-CWJ5KY34.js → chunk-VXFAPNQG.js} +1 -1
  23. package/bundle/chunk-VY2Y7E5C.js +118 -0
  24. package/bundle/chunk-Z7C7OBI2.js +354495 -0
  25. package/bundle/{cleanup-OJM7LXCH.js → cleanup-G53UAF2E.js} +2 -2
  26. package/bundle/{cleanup-PMJYRELA.js → cleanup-HSTC4BHW.js} +3 -3
  27. package/bundle/{cleanup-KMEBTV6K.js → cleanup-VEGZIAEB.js} +2 -2
  28. package/bundle/cleanup-WNO7PXGF.js +33 -0
  29. package/bundle/{core-MMHOAGLI.js → core-FAHEZMWD.js} +1 -1
  30. package/bundle/{devtoolsService-BDOWEGHR.js → devtoolsService-3DCQVMG7.js} +2 -2
  31. package/bundle/{devtoolsService-YPN2GRY7.js → devtoolsService-EF5A66R5.js} +2 -2
  32. package/bundle/{devtoolsService-ARI22QWG.js → devtoolsService-Q6P2EINA.js} +5 -4
  33. package/bundle/devtoolsService-UCDJAJDM.js +857 -0
  34. package/bundle/{dist-V6XXY2AS.js → dist-C5QEWXCO.js} +1 -1
  35. package/bundle/{core-4PBU56P6.js → dist-LHSDNCFX.js} +2 -2
  36. package/bundle/dist-R4YI2OV5.js +2068 -0
  37. package/bundle/{gemini-LDARUG77.js → gemini-6HP33HCP.js} +12 -12
  38. package/bundle/{gemini-GSCVWK7Y.js → gemini-KXTGCWBT.js} +12 -12
  39. package/bundle/{gemini-RGSMPB6F.js → gemini-U6FSFXFH.js} +191 -175
  40. package/bundle/gemini-YGEJOHCP.js +15988 -0
  41. package/bundle/gemini.js +3 -3
  42. package/bundle/{interactiveCli-5JCJD3F5.js → interactiveCli-3SJC5IBR.js} +6 -6
  43. package/bundle/{interactiveCli-ZNAMZNEE.js → interactiveCli-IAAL6CAC.js} +290 -272
  44. package/bundle/interactiveCli-OIS5P6QW.js +35052 -0
  45. package/bundle/{interactiveCli-KSSJ4M5C.js → interactiveCli-WWICCK5B.js} +6 -6
  46. package/bundle/{liteRtServerManager-PG57YSDR.js → liteRtServerManager-2HQSNMDR.js} +3 -3
  47. package/bundle/{liteRtServerManager-I6PXKOCJ.js → liteRtServerManager-47W7GVEU.js} +3 -3
  48. package/bundle/{liteRtServerManager-QZCLWSIV.js → liteRtServerManager-EZVOQWVK.js} +4 -4
  49. package/bundle/liteRtServerManager-MKWXQBW3.js +65 -0
  50. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  51. package/bundle/{oauth2-provider-356MTA5N.js → oauth2-provider-74J3UWWZ.js} +1 -1
  52. package/bundle/{oauth2-provider-SWABWSBH.js → oauth2-provider-7ZV6GN7U.js} +39 -73
  53. package/bundle/{oauth2-provider-MV6Q65XJ.js → oauth2-provider-KQ7GYJ2H.js} +1 -1
  54. package/bundle/oauth2-provider-XKL4B53M.js +237 -0
  55. package/bundle/{start-MWJKRZPA.js → start-D6DB2QV5.js} +5 -5
  56. package/bundle/{start-S2GPZKGW.js → start-ORQBVQEF.js} +5 -5
  57. package/bundle/{start-FWXRAXKY.js → start-T4GGC7GT.js} +6 -6
  58. package/bundle/start-TXRISO3K.js +18 -0
  59. package/package.json +1 -1
@@ -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-CWJ5KY34.js";
4
+ } from "./chunk-QKV7TI5G.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -21,7 +21,7 @@ import {
21
21
  require_strip_json_comments,
22
22
  sanitizeFilenamePart,
23
23
  stripAnsi
24
- } from "./chunk-CSDNDSTO.js";
24
+ } from "./chunk-Z7C7OBI2.js";
25
25
  import {
26
26
  CoreEvent,
27
27
  FatalConfigError,
@@ -246273,8 +246273,8 @@ var EventMetadataKey;
246273
246273
  })(EventMetadataKey || (EventMetadataKey = {}));
246274
246274
 
246275
246275
  // packages/core/dist/src/generated/git-commit.js
246276
- var GIT_COMMIT_INFO = "6339fd95f";
246277
- var CLI_VERSION = "0.41.0";
246276
+ var GIT_COMMIT_INFO = "0da6569b6";
246277
+ var CLI_VERSION = "0.41.2";
246278
246278
 
246279
246279
  // packages/core/dist/src/ide/detect-ide.js
246280
246280
  var IDE_DEFINITIONS = {
@@ -269216,7 +269216,7 @@ function getVersion() {
269216
269216
  }
269217
269217
  versionPromise = (async () => {
269218
269218
  const pkgJson = await getPackageJson(__dirname4);
269219
- return "0.41.0";
269219
+ return "0.41.2";
269220
269220
  })();
269221
269221
  return versionPromise;
269222
269222
  }
@@ -300406,7 +300406,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
300406
300406
  return provider;
300407
300407
  }
300408
300408
  case "oauth2": {
300409
- const { OAuth2AuthProvider } = await import("./oauth2-provider-356MTA5N.js");
300409
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-XKL4B53M.js");
300410
300410
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
300411
300411
  await provider.initialize();
300412
300412
  return provider;
@@ -319498,8 +319498,7 @@ var PolicyEngine = class {
319498
319498
  return false;
319499
319499
  if (!hasRedirection(command))
319500
319500
  return false;
319501
- const sandboxEnabled = !(this.sandboxManager instanceof NoopSandboxManager);
319502
- if (sandboxEnabled && (this.approvalMode === ApprovalMode.AUTO_EDIT || this.approvalMode === ApprovalMode.YOLO)) {
319501
+ if (this.approvalMode === ApprovalMode.AUTO_EDIT || this.approvalMode === ApprovalMode.YOLO) {
319503
319502
  return false;
319504
319503
  }
319505
319504
  return true;
@@ -1,6 +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
  AuthProviderType,
4
+ CoreToolCallStatus,
4
5
  DEFAULT_MODEL_CONFIGS,
5
6
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
6
7
  SESSION_FILE_PREFIX,
@@ -20,8 +21,9 @@ import {
20
21
  require_strip_json_comments,
21
22
  sanitizeFilenamePart,
22
23
  stripAnsi
23
- } from "./chunk-GLO32GZ3.js";
24
+ } from "./chunk-6DSAZLFF.js";
24
25
  import {
26
+ CoreEvent,
25
27
  FatalConfigError,
26
28
  GEMINI_DIR,
27
29
  Storage,
@@ -30,7 +32,7 @@ import {
30
32
  external_exports,
31
33
  getErrorMessage,
32
34
  homedir
33
- } from "./chunk-XRLFHCHC.js";
35
+ } from "./chunk-SAJ72M2G.js";
34
36
  import {
35
37
  __commonJS,
36
38
  __require,
@@ -10064,19 +10066,19 @@ function isWorkspaceTrusted(settings, workspaceDir = process.cwd(), headlessOpti
10064
10066
  var import_react = __toESM(require_react(), 1);
10065
10067
  function mapCoreStatusToDisplayStatus(coreStatus) {
10066
10068
  switch (coreStatus) {
10067
- case "validating" /* Validating */:
10069
+ case CoreToolCallStatus.Validating:
10068
10070
  return "Pending" /* Pending */;
10069
- case "awaiting_approval" /* AwaitingApproval */:
10071
+ case CoreToolCallStatus.AwaitingApproval:
10070
10072
  return "Confirming" /* Confirming */;
10071
- case "executing" /* Executing */:
10073
+ case CoreToolCallStatus.Executing:
10072
10074
  return "Executing" /* Executing */;
10073
- case "success" /* Success */:
10075
+ case CoreToolCallStatus.Success:
10074
10076
  return "Success" /* Success */;
10075
- case "cancelled" /* Cancelled */:
10077
+ case CoreToolCallStatus.Cancelled:
10076
10078
  return "Canceled" /* Canceled */;
10077
- case "error" /* Error */:
10079
+ case CoreToolCallStatus.Error:
10078
10080
  return "Error" /* Error */;
10079
- case "scheduled" /* Scheduled */:
10081
+ case CoreToolCallStatus.Scheduled:
10080
10082
  return "Pending" /* Pending */;
10081
10083
  default:
10082
10084
  return checkExhaustive(coreStatus);
@@ -10683,7 +10685,7 @@ function convertSessionToHistoryFormats(messages) {
10683
10685
  args: tool.args,
10684
10686
  description: tool.description || "",
10685
10687
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10686
- status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10688
+ status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10687
10689
  resultDisplay: tool.resultDisplay,
10688
10690
  confirmationDetails: void 0
10689
10691
  }))
@@ -16664,8 +16666,8 @@ var LoadedSettings = class {
16664
16666
  // React will pass a listener fn into this subscribe fn
16665
16667
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16666
16668
  subscribe(listener) {
16667
- coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16668
- return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16669
+ coreEvents.on(CoreEvent.SettingsChanged, listener);
16670
+ return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16669
16671
  }
16670
16672
  getSnapshot() {
16671
16673
  return this._snapshot;
@@ -4,7 +4,7 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-CSDNDSTO.js";
7
+ } from "./chunk-PBNB5XZ6.js";
8
8
  import {
9
9
  Storage
10
10
  } from "./chunk-SAJ72M2G.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
  runExitCleanup
4
- } from "./chunk-G2G5UOIR.js";
4
+ } from "./chunk-DGEXHKWC.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -246396,8 +246396,8 @@ import { createHash } from "node:crypto";
246396
246396
  import * as os12 from "node:os";
246397
246397
 
246398
246398
  // packages/core/src/generated/git-commit.ts
246399
- var GIT_COMMIT_INFO = "6339fd95f";
246400
- var CLI_VERSION = "0.41.0-preview.3";
246399
+ var GIT_COMMIT_INFO = "0da6569b6";
246400
+ var CLI_VERSION = "0.41.1";
246401
246401
 
246402
246402
  // packages/core/src/ide/detect-ide.ts
246403
246403
  var IDE_DEFINITIONS = {
@@ -269596,7 +269596,7 @@ function getVersion() {
269596
269596
  }
269597
269597
  versionPromise = (async () => {
269598
269598
  const pkgJson = await getPackageJson(__dirname4);
269599
- return "0.41.0-preview.3";
269599
+ return "0.41.1";
269600
269600
  })();
269601
269601
  return versionPromise;
269602
269602
  }
@@ -302694,7 +302694,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
302694
302694
  return provider;
302695
302695
  }
302696
302696
  case "oauth2": {
302697
- const { OAuth2AuthProvider } = await import("./oauth2-provider-MV6Q65XJ.js");
302697
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-KQ7GYJ2H.js");
302698
302698
  const provider = new OAuth2AuthProvider(
302699
302699
  authConfig,
302700
302700
  options.agentName ?? "unknown",
@@ -323536,8 +323536,7 @@ var PolicyEngine = class {
323536
323536
  shouldDowngradeForRedirection(command, allowRedirection) {
323537
323537
  if (allowRedirection) return false;
323538
323538
  if (!hasRedirection(command)) return false;
323539
- const sandboxEnabled = !(this.sandboxManager instanceof NoopSandboxManager);
323540
- if (sandboxEnabled && (this.approvalMode === "autoEdit" /* AUTO_EDIT */ || this.approvalMode === "yolo" /* YOLO */)) {
323539
+ if (this.approvalMode === "autoEdit" /* AUTO_EDIT */ || this.approvalMode === "yolo" /* YOLO */) {
323541
323540
  return false;
323542
323541
  }
323543
323542
  return true;
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-5ZVQP4WN.js";
9
+ } from "./chunk-HHIX2NPU.js";
10
10
  import {
11
11
  DEFAULT_BACKGROUND_OPACITY,
12
12
  DEFAULT_BORDER_OPACITY,
@@ -59,10 +59,10 @@ import {
59
59
  stripUnsafeCharacters,
60
60
  toCodePoints,
61
61
  validateCustomTheme
62
- } from "./chunk-KMY2ICHB.js";
62
+ } from "./chunk-A5XEAQRF.js";
63
63
  import {
64
64
  runExitCleanup
65
- } from "./chunk-4CB5QYON.js";
65
+ } from "./chunk-RHAB4HIH.js";
66
66
  import {
67
67
  AsyncFzf,
68
68
  AuthType,
@@ -208,7 +208,7 @@ import {
208
208
  stripAnsi,
209
209
  tokenLimit,
210
210
  uiTelemetryService
211
- } from "./chunk-CSDNDSTO.js";
211
+ } from "./chunk-6DSAZLFF.js";
212
212
  import {
213
213
  ApprovalMode,
214
214
  CoreEvent,
@@ -55003,7 +55003,7 @@ var authCommand = {
55003
55003
  import process29 from "node:process";
55004
55004
 
55005
55005
  // packages/cli/src/generated/git-commit.ts
55006
- var GIT_COMMIT_INFO = "03fd454b3";
55006
+ var GIT_COMMIT_INFO = "b0c7a1722";
55007
55007
 
55008
55008
  // packages/cli/src/ui/utils/historyExportUtils.ts
55009
55009
  import * as fsPromises from "node:fs/promises";
@@ -60488,7 +60488,7 @@ Use /mcp auth <server-name> to authenticate.`
60488
60488
  type: "info",
60489
60489
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
60490
60490
  });
60491
- const { MCPOAuthProvider } = await import("./dist-V6XXY2AS.js");
60491
+ const { MCPOAuthProvider } = await import("./dist-LHSDNCFX.js");
60492
60492
  let oauthConfig = server.oauth;
60493
60493
  if (!oauthConfig) {
60494
60494
  oauthConfig = { enabled: false };
@@ -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-4CB5QYON.js";
4
+ } from "./chunk-RHAB4HIH.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-5ZVQP4WN.js";
5
+ } from "./chunk-HHIX2NPU.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,7 +14,7 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-KMY2ICHB.js";
17
+ } from "./chunk-A5XEAQRF.js";
18
18
  import {
19
19
  debugLogger
20
20
  } from "./chunk-SAJ72M2G.js";