@google/gemini-cli 0.43.0-preview.0 → 0.43.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-MXKXLNQD.js → chunk-3BNJIKEP.js} +2 -2
  2. package/bundle/{chunk-UIG2IVPJ.js → chunk-4G3X2H3F.js} +1 -1
  3. package/bundle/{chunk-LFGJVOVZ.js → chunk-4SLX6GS6.js} +7 -7
  4. package/bundle/{chunk-MRHFLHPJ.js → chunk-4ZT3EIBI.js} +1 -1
  5. package/bundle/{chunk-HQXINMBL.js → chunk-6YMGRLOQ.js} +1 -1
  6. package/bundle/{chunk-43AGRA7S.js → chunk-CKPZGEE3.js} +2 -2
  7. package/bundle/{chunk-WQOLTO3C.js → chunk-CZPVSLJF.js} +1 -1
  8. package/bundle/{chunk-PSWUV2OO.js → chunk-DJCG6GWZ.js} +2 -2
  9. package/bundle/{chunk-6XOSIMPZ.js → chunk-ERQUIEOO.js} +9 -8
  10. package/bundle/{chunk-SYD5SJFT.js → chunk-EWAAFVBK.js} +9 -6
  11. package/bundle/{chunk-T3SUXLQQ.js → chunk-F7PEGIBA.js} +2 -2
  12. package/bundle/{chunk-P4UQCQUB.js → chunk-ICOPZSVB.js} +3 -3
  13. package/bundle/{chunk-PGJUNQPO.js → chunk-IF5BAOVJ.js} +1 -1
  14. package/bundle/chunk-KILFUY3Y.js +512 -0
  15. package/bundle/{chunk-JENIU3E3.js → chunk-L4LBKMR6.js} +1 -1
  16. package/bundle/{chunk-LBQFRHYD.js → chunk-LTFEPQ67.js} +1 -1
  17. package/bundle/{chunk-X26T73X6.js → chunk-LTSFEC7U.js} +2 -2
  18. package/bundle/{chunk-SAISHGWW.js → chunk-MRVZNBXY.js} +4 -4
  19. package/bundle/{chunk-QYUN3J2L.js → chunk-N3MLU4IQ.js} +68 -55
  20. package/bundle/{chunk-UNAVBUTP.js → chunk-NDSJWRFE.js} +6974 -13060
  21. package/bundle/{chunk-NBRZ4A3S.js → chunk-NG2WIKH5.js} +2 -2
  22. package/bundle/chunk-PLEERNRJ.js +156 -0
  23. package/bundle/{chunk-PYLHDAUK.js → chunk-QAQT56LH.js} +3 -3
  24. package/bundle/{chunk-4TLQKGTR.js → chunk-S36EONMM.js} +1 -1
  25. package/bundle/chunk-UB4AWMZC.js +391 -0
  26. package/bundle/{chunk-Q23X5R4A.js → chunk-UBCHSKF2.js} +7 -7
  27. package/bundle/chunk-ULCEBJMK.js +17248 -0
  28. package/bundle/chunk-UUHMEKLA.js +357199 -0
  29. package/bundle/chunk-UW3H4T6A.js +1571 -0
  30. package/bundle/{chunk-46T44JOY.js → chunk-VSTO23O2.js} +1 -1
  31. package/bundle/chunk-XKIM3BNI.js +118 -0
  32. package/bundle/chunk-YIHNW7CC.js +81649 -0
  33. package/bundle/{cleanup-MI76P55B.js → cleanup-BMLCC7SO.js} +2 -2
  34. package/bundle/{cleanup-NZBQYB7U.js → cleanup-LMJA4J5S.js} +3 -3
  35. package/bundle/cleanup-M7RSLDBR.js +33 -0
  36. package/bundle/{cleanup-EIZJH2E3.js → cleanup-NMUMRIEF.js} +2 -2
  37. package/bundle/{core-T2TBFAYG.js → core-WXTAU5UX.js} +1 -1
  38. package/bundle/{devtoolsService-LV5NJ2BT.js → devtoolsService-2L5U47ZQ.js} +2 -2
  39. package/bundle/{devtoolsService-FYTOIC37.js → devtoolsService-6THA6GNX.js} +2 -2
  40. package/bundle/{devtoolsService-7KZDSYEF.js → devtoolsService-J2AC6YXM.js} +5 -4
  41. package/bundle/devtoolsService-SRWIME2Q.js +857 -0
  42. package/bundle/{dist-ETX67B7P.js → dist-DIIMIT2U.js} +1 -1
  43. package/bundle/{core-ERSGIOMQ.js → dist-MXL7ZG46.js} +2 -2
  44. package/bundle/dist-POIHCQVM.js +2124 -0
  45. package/bundle/{gemini-IVKBXHDT.js → gemini-D32FDZXN.js} +13 -13
  46. package/bundle/{gemini-Z77GAAR6.js → gemini-DLZ2R4X7.js} +202 -188
  47. package/bundle/{gemini-JKWQQTKP.js → gemini-HYQU2RK2.js} +13 -13
  48. package/bundle/gemini-JJG7ZGWB.js +16356 -0
  49. package/bundle/gemini.js +7 -7
  50. package/bundle/{interactiveCli-36WZS6KT.js → interactiveCli-DHMPW4RS.js} +8 -8
  51. package/bundle/{interactiveCli-SME5QTEN.js → interactiveCli-K7ETWJMN.js} +315 -296
  52. package/bundle/{interactiveCli-BQ36B66Z.js → interactiveCli-NR7OUF3G.js} +8 -8
  53. package/bundle/interactiveCli-X4AUP7T7.js +34752 -0
  54. package/bundle/{liteRtServerManager-2QD4R3A3.js → liteRtServerManager-L7C3D5RL.js} +4 -4
  55. package/bundle/{liteRtServerManager-N6OMT6W5.js → liteRtServerManager-PKRLUK2P.js} +4 -4
  56. package/bundle/{liteRtServerManager-ISYDOBNC.js → liteRtServerManager-TEBDIGEN.js} +5 -5
  57. package/bundle/liteRtServerManager-UPCAT7Z2.js +66 -0
  58. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  59. package/bundle/{oauth2-provider-DOSIH6VE.js → oauth2-provider-52IJKUJI.js} +1 -1
  60. package/bundle/{oauth2-provider-VFOABWBW.js → oauth2-provider-OPOTTZ5C.js} +1 -1
  61. package/bundle/{oauth2-provider-TZF6EZRX.js → oauth2-provider-TOAKXOL7.js} +39 -73
  62. package/bundle/oauth2-provider-WN4YIDA4.js +237 -0
  63. package/bundle/{start-3GPIRK3E.js → start-6KIIUSAH.js} +6 -6
  64. package/bundle/{start-6NONW677.js → start-7ZNSGJD6.js} +7 -7
  65. package/bundle/start-EPIILWLN.js +19 -0
  66. package/bundle/{start-M6MUPEJS.js → start-TMFPUYEL.js} +6 -6
  67. package/package.json +1 -1
@@ -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-HQXINMBL.js";
4
+ } from "./chunk-F7PEGIBA.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  getChannelFromVersion,
8
8
  isGitRepository
9
- } from "./chunk-SAISHGWW.js";
9
+ } from "./chunk-MRVZNBXY.js";
10
10
  import {
11
11
  debugLogger
12
12
  } from "./chunk-UJ26GAE5.js";
@@ -22,7 +22,7 @@ import {
22
22
  require_strip_json_comments,
23
23
  sanitizeFilenamePart,
24
24
  stripAnsi
25
- } from "./chunk-SAISHGWW.js";
25
+ } from "./chunk-MRVZNBXY.js";
26
26
  import {
27
27
  CoreEvent,
28
28
  FatalConfigError,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-JENIU3E3.js";
9
+ } from "./chunk-S36EONMM.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-UIG2IVPJ.js";
61
+ } from "./chunk-4G3X2H3F.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-MXKXLNQD.js";
64
+ } from "./chunk-3BNJIKEP.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-WQOLTO3C.js";
68
+ } from "./chunk-KILFUY3Y.js";
69
69
  import {
70
70
  AsyncFzf,
71
71
  AuthType,
@@ -213,7 +213,7 @@ import {
213
213
  stripAnsi,
214
214
  tokenLimit,
215
215
  uiTelemetryService
216
- } from "./chunk-SAISHGWW.js";
216
+ } from "./chunk-MRVZNBXY.js";
217
217
  import {
218
218
  ApprovalMode,
219
219
  CoreEvent,
@@ -56456,7 +56456,7 @@ var authCommand = {
56456
56456
  import process28 from "node:process";
56457
56457
 
56458
56458
  // packages/cli/src/generated/git-commit.ts
56459
- var GIT_COMMIT_INFO = "20495d600";
56459
+ var GIT_COMMIT_INFO = "3e5490ea4";
56460
56460
 
56461
56461
  // packages/cli/src/ui/utils/historyExportUtils.ts
56462
56462
  import * as fsPromises from "node:fs/promises";
@@ -62217,7 +62217,7 @@ Use /mcp auth <server-name> to authenticate.`
62217
62217
  type: "info",
62218
62218
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62219
62219
  });
62220
- const { MCPOAuthProvider } = await import("./dist-ETX67B7P.js");
62220
+ const { MCPOAuthProvider } = await import("./dist-DIIMIT2U.js");
62221
62221
  let oauthConfig = server.oauth;
62222
62222
  if (!oauthConfig) {
62223
62223
  oauthConfig = { enabled: false };
@@ -4,7 +4,7 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-NBRZ4A3S.js";
7
+ } from "./chunk-NG2WIKH5.js";
8
8
  import {
9
9
  Storage
10
10
  } from "./chunk-N6QYTC2T.js";
@@ -4,7 +4,7 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-SAISHGWW.js";
7
+ } from "./chunk-NDSJWRFE.js";
8
8
  import {
9
9
  Storage
10
10
  } from "./chunk-UJ26GAE5.js";
@@ -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-T3SUXLQQ.js";
4
+ } from "./chunk-4ZT3EIBI.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  getChannelFromVersion,
8
8
  isGitRepository
9
- } from "./chunk-UNAVBUTP.js";
9
+ } from "./chunk-NG2WIKH5.js";
10
10
  import {
11
11
  debugLogger
12
12
  } from "./chunk-N6QYTC2T.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-SAISHGWW.js";
5
+ } from "./chunk-NDSJWRFE.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -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-JENIU3E3.js";
5
+ } from "./chunk-L4LBKMR6.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-UIG2IVPJ.js";
17
+ } from "./chunk-ULCEBJMK.js";
18
18
  import {
19
19
  debugLogger
20
20
  } from "./chunk-UJ26GAE5.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-NBRZ4A3S.js";
5
+ } from "./chunk-UUHMEKLA.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);
@@ -1,6 +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
3
  AuthProviderType,
4
+ AuthType,
5
+ CoreToolCallStatus,
4
6
  DEFAULT_MODEL_CONFIGS,
5
7
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
6
8
  SESSION_FILE_PREFIX,
@@ -20,8 +22,9 @@ import {
20
22
  require_strip_json_comments,
21
23
  sanitizeFilenamePart,
22
24
  stripAnsi
23
- } from "./chunk-UNAVBUTP.js";
25
+ } from "./chunk-NDSJWRFE.js";
24
26
  import {
27
+ CoreEvent,
25
28
  FatalConfigError,
26
29
  GEMINI_DIR,
27
30
  Storage,
@@ -30,7 +33,7 @@ import {
30
33
  external_exports,
31
34
  getErrorMessage,
32
35
  homedir
33
- } from "./chunk-N6QYTC2T.js";
36
+ } from "./chunk-UJ26GAE5.js";
34
37
  import {
35
38
  __commonJS,
36
39
  __require,
@@ -10214,7 +10217,7 @@ function convertSessionToHistoryFormats(messages) {
10214
10217
  args: tool.args,
10215
10218
  description: tool.description || "",
10216
10219
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10217
- status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10220
+ status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10218
10221
  resultDisplay: tool.resultDisplay,
10219
10222
  confirmationDetails: void 0
10220
10223
  }))
@@ -16247,8 +16250,8 @@ var LoadedSettings = class {
16247
16250
  // React will pass a listener fn into this subscribe fn
16248
16251
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16249
16252
  subscribe(listener) {
16250
- coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16251
- return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16253
+ coreEvents.on(CoreEvent.SettingsChanged, listener);
16254
+ return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16252
16255
  }
16253
16256
  getSnapshot() {
16254
16257
  return this._snapshot;
@@ -16351,7 +16354,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
16351
16354
  }
16352
16355
  }
16353
16356
  let value = "cloudshell-gca";
16354
- if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
16357
+ if (selectedAuthType === AuthType.USE_VERTEX_AI) {
16355
16358
  value = process2.env[USER_GCP_PROJECT];
16356
16359
  }
16357
16360
  if (envFilePath && fs4.existsSync(envFilePath)) {
@@ -4,10 +4,10 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-UNAVBUTP.js";
7
+ } from "./chunk-MRVZNBXY.js";
8
8
  import {
9
9
  Storage
10
- } from "./chunk-N6QYTC2T.js";
10
+ } from "./chunk-UJ26GAE5.js";
11
11
 
12
12
  // packages/cli/src/utils/cleanup.ts
13
13
  import { promises 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-LBQFRHYD.js";
5
+ } from "./chunk-LTFEPQ67.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-SYD5SJFT.js";
17
+ } from "./chunk-EWAAFVBK.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-N6QYTC2T.js";
20
+ } from "./chunk-UJ26GAE5.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -20,7 +20,7 @@ import {
20
20
  require_strip_json_comments,
21
21
  sanitizeFilenamePart,
22
22
  stripAnsi
23
- } from "./chunk-NBRZ4A3S.js";
23
+ } from "./chunk-NG2WIKH5.js";
24
24
  import {
25
25
  FatalConfigError,
26
26
  GEMINI_DIR,