@google/gemini-cli 0.42.0-preview.0 → 0.42.0-preview.1

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 (67) hide show
  1. package/bundle/{chunk-GFPE65Z3.js → chunk-47QC6PWE.js} +7 -7
  2. package/bundle/{chunk-CBWESCDG.js → chunk-5AFGMGVT.js} +7 -7
  3. package/bundle/{chunk-NOEPPT4R.js → chunk-5MQ5VMQK.js} +1 -1
  4. package/bundle/{chunk-6KCFSK2J.js → chunk-66C7JVNE.js} +2 -2
  5. package/bundle/{chunk-EW6BCPVC.js → chunk-6K3EFSDX.js} +1 -1
  6. package/bundle/{chunk-J3JE6HQX.js → chunk-7H3CQGS6.js} +1 -1
  7. package/bundle/{chunk-F7B6HX6S.js → chunk-7LOMS5HP.js} +2 -2
  8. package/bundle/{chunk-KILMJEVY.js → chunk-A3GDBSEI.js} +9 -8
  9. package/bundle/{chunk-NQ7WZMXX.js → chunk-A564QXJJ.js} +4 -5
  10. package/bundle/{chunk-M4GY7DCE.js → chunk-ARLWCFGI.js} +6834 -12733
  11. package/bundle/{chunk-VUENLVGO.js → chunk-AS4E6DX7.js} +3 -3
  12. package/bundle/{chunk-4LCWAZQL.js → chunk-BI5ZICGL.js} +1 -1
  13. package/bundle/{chunk-6QYD32J3.js → chunk-BUJZOWQ7.js} +9 -6
  14. package/bundle/chunk-BZZHETT5.js +512 -0
  15. package/bundle/{chunk-Y2QKRHXR.js → chunk-GZ4FSF4B.js} +2 -2
  16. package/bundle/{chunk-J6LCLN2Y.js → chunk-I5JMJ2LU.js} +1 -1
  17. package/bundle/chunk-IBIKJW2L.js +17230 -0
  18. package/bundle/{chunk-HSZC7H6N.js → chunk-KSNNZBTV.js} +2 -2
  19. package/bundle/{chunk-6BMBSK77.js → chunk-L6GBKGQX.js} +3 -3
  20. package/bundle/chunk-L7GACEVA.js +118 -0
  21. package/bundle/chunk-LCB7VVYS.js +356008 -0
  22. package/bundle/{chunk-WSLK3AUT.js → chunk-LK7LIPO6.js} +1 -1
  23. package/bundle/{chunk-CLT3IJGB.js → chunk-NHDN46IK.js} +1 -1
  24. package/bundle/chunk-OGZGOFAJ.js +1571 -0
  25. package/bundle/{chunk-N3W3RYXN.js → chunk-PBD26LJQ.js} +68 -55
  26. package/bundle/{chunk-IGYW5IPQ.js → chunk-QZ2JZRLK.js} +3 -4
  27. package/bundle/chunk-UKCYYERR.js +391 -0
  28. package/bundle/{chunk-ETRUTVTR.js → chunk-UVBJHP26.js} +1 -1
  29. package/bundle/{chunk-UO7OO22U.js → chunk-UZZVXATH.js} +1 -1
  30. package/bundle/chunk-VERP26KN.js +81544 -0
  31. package/bundle/{chunk-QMK75Y7E.js → chunk-WX6CHISQ.js} +2 -2
  32. package/bundle/chunk-YDSDSLSO.js +156 -0
  33. package/bundle/{cleanup-T2HYKF7I.js → cleanup-6PVHIK4C.js} +2 -2
  34. package/bundle/{cleanup-LH7RU457.js → cleanup-FRS7FPOS.js} +2 -2
  35. package/bundle/{cleanup-ZBHF7PUC.js → cleanup-NDTUQVOW.js} +3 -3
  36. package/bundle/cleanup-O4IDJYU2.js +33 -0
  37. package/bundle/{core-QH4PNJQ3.js → core-RZFMBCSX.js} +1 -1
  38. package/bundle/{devtoolsService-NXXQULSB.js → devtoolsService-6D355RSX.js} +2 -2
  39. package/bundle/{devtoolsService-NIEGPNPT.js → devtoolsService-7SBW23VD.js} +5 -4
  40. package/bundle/devtoolsService-SPV43SGI.js +857 -0
  41. package/bundle/{devtoolsService-USWJ4OCC.js → devtoolsService-WER5PRLG.js} +2 -2
  42. package/bundle/{dist-P6VZ5KI4.js → dist-7BJPFNU7.js} +1 -1
  43. package/bundle/{core-IIB5TH4W.js → dist-DTPIOJ3P.js} +2 -2
  44. package/bundle/dist-ZZ5HEQGP.js +2096 -0
  45. package/bundle/{gemini-H26TLDOV.js → gemini-3NXWUDHV.js} +13 -13
  46. package/bundle/{gemini-NFPXCHZM.js → gemini-GLORNPU2.js} +200 -186
  47. package/bundle/gemini-HCJBP42A.js +16256 -0
  48. package/bundle/{gemini-U45ZMNQE.js → gemini-KMMF6AK3.js} +13 -13
  49. package/bundle/gemini.js +7 -7
  50. package/bundle/{interactiveCli-AT7D6KM5.js → interactiveCli-5UVCH7FM.js} +8 -8
  51. package/bundle/{interactiveCli-MMM7Z6CJ.js → interactiveCli-BNDKNCVJ.js} +294 -276
  52. package/bundle/{interactiveCli-O6EFASZD.js → interactiveCli-HBRMSAIT.js} +8 -8
  53. package/bundle/interactiveCli-TWDP2H52.js +34505 -0
  54. package/bundle/{liteRtServerManager-G5EHBOWM.js → liteRtServerManager-3YA2HL46.js} +4 -4
  55. package/bundle/{liteRtServerManager-QB74ZF32.js → liteRtServerManager-BYQVAM6Y.js} +4 -4
  56. package/bundle/{liteRtServerManager-JCITNPUM.js → liteRtServerManager-IQHHDTUM.js} +5 -5
  57. package/bundle/liteRtServerManager-RTBP2SLV.js +66 -0
  58. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  59. package/bundle/{oauth2-provider-V6ROFUMU.js → oauth2-provider-C66JRVDQ.js} +1 -1
  60. package/bundle/{oauth2-provider-K5IZHYDJ.js → oauth2-provider-OAXWX3Z3.js} +39 -73
  61. package/bundle/{oauth2-provider-ZKX2USIN.js → oauth2-provider-TUVQXNLY.js} +1 -1
  62. package/bundle/oauth2-provider-ZPJOR5SG.js +237 -0
  63. package/bundle/{start-WILIWWLN.js → start-ELTWFVNO.js} +6 -6
  64. package/bundle/{start-B4GKBYKT.js → start-HHZI73VV.js} +7 -7
  65. package/bundle/start-NCMR7HOQ.js +19 -0
  66. package/bundle/{start-SW3EMEQ2.js → start-S3TEO5BN.js} +6 -6
  67. package/package.json +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-4LCWAZQL.js";
9
+ } from "./chunk-I5JMJ2LU.js";
10
10
  import {
11
11
  DEFAULT_BACKGROUND_OPACITY,
12
12
  DEFAULT_BORDER_OPACITY,
@@ -57,14 +57,14 @@ import {
57
57
  stripUnsafeCharacters,
58
58
  toCodePoints,
59
59
  validateCustomTheme
60
- } from "./chunk-CLT3IJGB.js";
60
+ } from "./chunk-NHDN46IK.js";
61
61
  import {
62
62
  isDevelopment
63
- } from "./chunk-VUENLVGO.js";
63
+ } from "./chunk-7LOMS5HP.js";
64
64
  import {
65
65
  emptyIcon,
66
66
  require_react
67
- } from "./chunk-KILMJEVY.js";
67
+ } from "./chunk-UZZVXATH.js";
68
68
  import {
69
69
  AsyncFzf,
70
70
  Config,
@@ -200,7 +200,7 @@ import {
200
200
  stripAnsi,
201
201
  tokenLimit,
202
202
  uiTelemetryService
203
- } from "./chunk-IGYW5IPQ.js";
203
+ } from "./chunk-QZ2JZRLK.js";
204
204
  import {
205
205
  ApprovalMode,
206
206
  CoreEvent,
@@ -56441,7 +56441,7 @@ var authCommand = {
56441
56441
  import process28 from "node:process";
56442
56442
 
56443
56443
  // packages/cli/src/generated/git-commit.ts
56444
- var GIT_COMMIT_INFO = "0803007c8";
56444
+ var GIT_COMMIT_INFO = "246f98459";
56445
56445
 
56446
56446
  // packages/cli/src/ui/utils/historyExportUtils.ts
56447
56447
  import * as fsPromises from "node:fs/promises";
@@ -62109,7 +62109,7 @@ Use /mcp auth <server-name> to authenticate.`
62109
62109
  type: "info",
62110
62110
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62111
62111
  });
62112
- const { MCPOAuthProvider } = await import("./core-QH4PNJQ3.js");
62112
+ const { MCPOAuthProvider } = await import("./core-RZFMBCSX.js");
62113
62113
  let oauthConfig = server.oauth;
62114
62114
  if (!oauthConfig) {
62115
62115
  oauthConfig = { enabled: false };
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-J6LCLN2Y.js";
9
+ } from "./chunk-OGZGOFAJ.js";
10
10
  import {
11
11
  DEFAULT_BACKGROUND_OPACITY,
12
12
  DEFAULT_BORDER_OPACITY,
@@ -57,14 +57,14 @@ import {
57
57
  stripUnsafeCharacters,
58
58
  toCodePoints,
59
59
  validateCustomTheme
60
- } from "./chunk-NOEPPT4R.js";
60
+ } from "./chunk-IBIKJW2L.js";
61
61
  import {
62
62
  isDevelopment
63
- } from "./chunk-6KCFSK2J.js";
63
+ } from "./chunk-UKCYYERR.js";
64
64
  import {
65
65
  emptyIcon,
66
66
  require_react
67
- } from "./chunk-J3JE6HQX.js";
67
+ } from "./chunk-A3GDBSEI.js";
68
68
  import {
69
69
  AsyncFzf,
70
70
  AuthType,
@@ -212,7 +212,7 @@ import {
212
212
  stripAnsi,
213
213
  tokenLimit,
214
214
  uiTelemetryService
215
- } from "./chunk-NQ7WZMXX.js";
215
+ } from "./chunk-LCB7VVYS.js";
216
216
  import {
217
217
  ApprovalMode,
218
218
  CoreEvent,
@@ -56454,7 +56454,7 @@ var authCommand = {
56454
56454
  import process28 from "node:process";
56455
56455
 
56456
56456
  // packages/cli/src/generated/git-commit.ts
56457
- var GIT_COMMIT_INFO = "3c1206540";
56457
+ var GIT_COMMIT_INFO = "246f98459";
56458
56458
 
56459
56459
  // packages/cli/src/ui/utils/historyExportUtils.ts
56460
56460
  import * as fsPromises from "node:fs/promises";
@@ -62122,7 +62122,7 @@ Use /mcp auth <server-name> to authenticate.`
62122
62122
  type: "info",
62123
62123
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62124
62124
  });
62125
- const { MCPOAuthProvider } = await import("./dist-P6VZ5KI4.js");
62125
+ const { MCPOAuthProvider } = await import("./dist-DTPIOJ3P.js");
62126
62126
  let oauthConfig = server.oauth;
62127
62127
  if (!oauthConfig) {
62128
62128
  oauthConfig = { enabled: false };
@@ -22,7 +22,7 @@ import {
22
22
  require_strip_json_comments,
23
23
  sanitizeFilenamePart,
24
24
  stripAnsi
25
- } from "./chunk-NQ7WZMXX.js";
25
+ } from "./chunk-A564QXJJ.js";
26
26
  import {
27
27
  CoreEvent,
28
28
  FatalConfigError,
@@ -1,12 +1,12 @@
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-ETRUTVTR.js";
4
+ } from "./chunk-UVBJHP26.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  getChannelFromVersion,
8
8
  isGitRepository
9
- } from "./chunk-NQ7WZMXX.js";
9
+ } from "./chunk-ARLWCFGI.js";
10
10
  import {
11
11
  debugLogger
12
12
  } from "./chunk-JEW7ZIWE.js";
@@ -4,7 +4,7 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-IGYW5IPQ.js";
7
+ } from "./chunk-QZ2JZRLK.js";
8
8
  import {
9
9
  Storage
10
10
  } from "./chunk-ECNYAST2.js";
@@ -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-NQ7WZMXX.js";
5
+ } from "./chunk-A564QXJJ.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -1,12 +1,12 @@
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-QMK75Y7E.js";
4
+ } from "./chunk-6K3EFSDX.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  getChannelFromVersion,
8
8
  isGitRepository
9
- } from "./chunk-M4GY7DCE.js";
9
+ } from "./chunk-QZ2JZRLK.js";
10
10
  import {
11
11
  debugLogger
12
12
  } from "./chunk-ECNYAST2.js";
@@ -1,7 +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
+ CoreToolCallStatus,
3
4
  checkExhaustive
4
- } from "./chunk-IGYW5IPQ.js";
5
+ } from "./chunk-LCB7VVYS.js";
5
6
  import {
6
7
  __commonJS,
7
8
  __toESM
@@ -464,19 +465,19 @@ var require_react = __commonJS({
464
465
  var import_react = __toESM(require_react(), 1);
465
466
  function mapCoreStatusToDisplayStatus(coreStatus) {
466
467
  switch (coreStatus) {
467
- case "validating" /* Validating */:
468
+ case CoreToolCallStatus.Validating:
468
469
  return "Pending" /* Pending */;
469
- case "awaiting_approval" /* AwaitingApproval */:
470
+ case CoreToolCallStatus.AwaitingApproval:
470
471
  return "Confirming" /* Confirming */;
471
- case "executing" /* Executing */:
472
+ case CoreToolCallStatus.Executing:
472
473
  return "Executing" /* Executing */;
473
- case "success" /* Success */:
474
+ case CoreToolCallStatus.Success:
474
475
  return "Success" /* Success */;
475
- case "cancelled" /* Cancelled */:
476
+ case CoreToolCallStatus.Cancelled:
476
477
  return "Canceled" /* Canceled */;
477
- case "error" /* Error */:
478
+ case CoreToolCallStatus.Error:
478
479
  return "Error" /* Error */;
479
- case "scheduled" /* Scheduled */:
480
+ case CoreToolCallStatus.Scheduled:
480
481
  return "Pending" /* Pending */;
481
482
  default:
482
483
  return checkExhaustive(coreStatus);
@@ -246273,7 +246273,7 @@ var EventMetadataKey;
246273
246273
  })(EventMetadataKey || (EventMetadataKey = {}));
246274
246274
 
246275
246275
  // packages/core/dist/src/generated/git-commit.js
246276
- var GIT_COMMIT_INFO = "0803007c8";
246276
+ var GIT_COMMIT_INFO = "246f98459";
246277
246277
  var CLI_VERSION = "0.42.0-preview.0";
246278
246278
 
246279
246279
  // packages/core/dist/src/ide/detect-ide.js
@@ -269321,7 +269321,7 @@ function getVersion() {
269321
269321
  }
269322
269322
  versionPromise = (async () => {
269323
269323
  const pkgJson = await getPackageJson(__dirname4);
269324
- return "0.42.0-preview.0";
269324
+ return "0.42.0-preview.1";
269325
269325
  })();
269326
269326
  return versionPromise;
269327
269327
  }
@@ -300957,7 +300957,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
300957
300957
  return provider;
300958
300958
  }
300959
300959
  case "oauth2": {
300960
- const { OAuth2AuthProvider } = await import("./oauth2-provider-V6ROFUMU.js");
300960
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-ZPJOR5SG.js");
300961
300961
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
300962
300962
  await provider.initialize();
300963
300963
  return provider;
@@ -320170,8 +320170,7 @@ var PolicyEngine = class {
320170
320170
  return false;
320171
320171
  if (!hasRedirection(command))
320172
320172
  return false;
320173
- const sandboxEnabled = !(this.sandboxManager instanceof NoopSandboxManager);
320174
- if (sandboxEnabled && (this.approvalMode === ApprovalMode.AUTO_EDIT || this.approvalMode === ApprovalMode.YOLO)) {
320173
+ if (this.approvalMode === ApprovalMode.AUTO_EDIT || this.approvalMode === ApprovalMode.YOLO) {
320175
320174
  return false;
320176
320175
  }
320177
320176
  return true;