@google/gemini-cli 0.40.0-preview.2 → 0.41.0-nightly.20260423.gd1c91f526

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-NO7STVVM.js → chunk-4PEADYI5.js} +4 -4
  2. package/bundle/{chunk-QK7UWGBN.js → chunk-5RWN2VOG.js} +4 -4
  3. package/bundle/{chunk-3GU3LF3I.js → chunk-BE3FMR6C.js} +6 -6
  4. package/bundle/{chunk-IMEC72NS.js → chunk-BGTQF57Z.js} +1 -1
  5. package/bundle/{chunk-EFCQXWIF.js → chunk-BM7TRCHV.js} +2 -2
  6. package/bundle/{chunk-WL5MCPV2.js → chunk-BXO2CSHU.js} +1 -1
  7. package/bundle/{chunk-PLUWJHZZ.js → chunk-CMDSUNBE.js} +64 -52
  8. package/bundle/{chunk-33ANPP4S.js → chunk-DOZGGGM3.js} +2 -2
  9. package/bundle/{chunk-TDW6FM3A.js → chunk-FLEXF7OP.js} +1 -1
  10. package/bundle/{chunk-HV36F4CL.js → chunk-HGAC7IIS.js} +1 -1
  11. package/bundle/{chunk-UBXB5AEJ.js → chunk-ILGARB2Y.js} +3 -3
  12. package/bundle/{chunk-4IJPDKI6.js → chunk-ILSUW45Y.js} +14 -12
  13. package/bundle/{chunk-MUGUV6RZ.js → chunk-JI66QA3S.js} +2 -2
  14. package/bundle/{chunk-RM43GNQQ.js → chunk-KCEU7UY3.js} +6356 -11853
  15. package/bundle/{chunk-WHIWQCI5.js → chunk-LO2U5DX7.js} +1 -1
  16. package/bundle/chunk-MJ35NORG.js +1571 -0
  17. package/bundle/chunk-MRRUSUAI.js +79847 -0
  18. package/bundle/chunk-MURNAVEF.js +350850 -0
  19. package/bundle/chunk-NF5KE423.js +17725 -0
  20. package/bundle/{chunk-IUVLJUOL.js → chunk-OKARZDAC.js} +1 -1
  21. package/bundle/chunk-RFYY2EXK.js +156 -0
  22. package/bundle/chunk-ULLQZW4G.js +118 -0
  23. package/bundle/{chunk-GXRQOXQF.js → chunk-ZRHJDW4J.js} +6 -6
  24. package/bundle/{chunk-NIVCRM5L.js → chunk-ZRZIZSCI.js} +1 -1
  25. package/bundle/{cleanup-A7WXWAMI.js → cleanup-CM5YE3PO.js} +2 -2
  26. package/bundle/{cleanup-IPLJJT5S.js → cleanup-GCC3QSXL.js} +3 -3
  27. package/bundle/{cleanup-EWPIME2M.js → cleanup-JSTWYHMS.js} +2 -2
  28. package/bundle/cleanup-WQ3P3JRW.js +33 -0
  29. package/bundle/{core-VCDK23ZC.js → core-WAVEV7SE.js} +1 -1
  30. package/bundle/{devtoolsService-B5VVZ752.js → devtoolsService-65PTC72C.js} +2 -2
  31. package/bundle/{devtoolsService-6Y6YER6T.js → devtoolsService-KHTP2AVU.js} +2 -2
  32. package/bundle/{devtoolsService-2JXSALRU.js → devtoolsService-QZON66HV.js} +5 -4
  33. package/bundle/devtoolsService-YL2DS7JV.js +852 -0
  34. package/bundle/{dist-UIXQETMC.js → dist-IJE6ZESE.js} +1 -1
  35. package/bundle/{core-BQT6T3CH.js → dist-JJVAY7EX.js} +2 -2
  36. package/bundle/dist-S3PCMM76.js +2020 -0
  37. package/bundle/{gemini-54LH6RUH.js → gemini-5Z5FJY4B.js} +12 -12
  38. package/bundle/{gemini-ID44Z5SV.js → gemini-LFI3ENEH.js} +12 -12
  39. package/bundle/{gemini-44W2QEZI.js → gemini-MAC54OQS.js} +188 -173
  40. package/bundle/gemini-UPKTLJJZ.js +16043 -0
  41. package/bundle/gemini.js +3 -3
  42. package/bundle/{interactiveCli-JFBPGMNM.js → interactiveCli-3UQTFU2M.js} +6 -6
  43. package/bundle/{interactiveCli-5B3X6RNB.js → interactiveCli-7ZE7G6ZY.js} +277 -260
  44. package/bundle/{interactiveCli-5MTJDFYC.js → interactiveCli-FZUKC563.js} +6 -6
  45. package/bundle/interactiveCli-JE4PLDY5.js +34597 -0
  46. package/bundle/{liteRtServerManager-6GJWEP5W.js → liteRtServerManager-L6OWAEH4.js} +3 -3
  47. package/bundle/{liteRtServerManager-76V63PRJ.js → liteRtServerManager-OARJ4EUZ.js} +4 -4
  48. package/bundle/{liteRtServerManager-WQMDPACQ.js → liteRtServerManager-WJT6SPLU.js} +3 -3
  49. package/bundle/liteRtServerManager-ZDS6QYLO.js +65 -0
  50. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  51. package/bundle/{oauth2-provider-EX6SQEZP.js → oauth2-provider-JPWXPXQ6.js} +1 -1
  52. package/bundle/{oauth2-provider-ZF52AWQY.js → oauth2-provider-Q4A4U7PX.js} +39 -73
  53. package/bundle/oauth2-provider-WW42PZXK.js +237 -0
  54. package/bundle/{oauth2-provider-JCKLNKRV.js → oauth2-provider-ZW2I3O4T.js} +1 -1
  55. package/bundle/{start-SHOUHW3Y.js → start-BXEBAKTI.js} +5 -5
  56. package/bundle/{start-B6EMQCH5.js → start-JFRQSQYB.js} +6 -6
  57. package/bundle/start-PMSOWXLI.js +18 -0
  58. package/bundle/{start-CYDJTOAP.js → start-XEUSMK4W.js} +5 -5
  59. package/package.json +1 -1
@@ -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-RM43GNQQ.js";
24
+ } from "./chunk-KCEU7UY3.js";
24
25
  import {
26
+ CoreEvent,
25
27
  FatalConfigError,
26
28
  GEMINI_DIR,
27
29
  Storage,
@@ -31,7 +33,7 @@ import {
31
33
  getErrorMessage,
32
34
  homedir,
33
35
  require_proper_lockfile
34
- } from "./chunk-2RHFUIH4.js";
36
+ } from "./chunk-VCGILCZV.js";
35
37
  import {
36
38
  __commonJS,
37
39
  __require,
@@ -10301,19 +10303,19 @@ function isWorkspaceTrusted(settings, workspaceDir = process.cwd(), trustConfig,
10301
10303
  var import_react = __toESM(require_react(), 1);
10302
10304
  function mapCoreStatusToDisplayStatus(coreStatus) {
10303
10305
  switch (coreStatus) {
10304
- case "validating" /* Validating */:
10306
+ case CoreToolCallStatus.Validating:
10305
10307
  return "Pending" /* Pending */;
10306
- case "awaiting_approval" /* AwaitingApproval */:
10308
+ case CoreToolCallStatus.AwaitingApproval:
10307
10309
  return "Confirming" /* Confirming */;
10308
- case "executing" /* Executing */:
10310
+ case CoreToolCallStatus.Executing:
10309
10311
  return "Executing" /* Executing */;
10310
- case "success" /* Success */:
10312
+ case CoreToolCallStatus.Success:
10311
10313
  return "Success" /* Success */;
10312
- case "cancelled" /* Cancelled */:
10314
+ case CoreToolCallStatus.Cancelled:
10313
10315
  return "Canceled" /* Canceled */;
10314
- case "error" /* Error */:
10316
+ case CoreToolCallStatus.Error:
10315
10317
  return "Error" /* Error */;
10316
- case "scheduled" /* Scheduled */:
10318
+ case CoreToolCallStatus.Scheduled:
10317
10319
  return "Pending" /* Pending */;
10318
10320
  default:
10319
10321
  return checkExhaustive(coreStatus);
@@ -10898,7 +10900,7 @@ function convertSessionToHistoryFormats(messages) {
10898
10900
  args: tool.args,
10899
10901
  description: tool.description || "",
10900
10902
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10901
- status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10903
+ status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10902
10904
  resultDisplay: tool.resultDisplay,
10903
10905
  confirmationDetails: void 0
10904
10906
  }))
@@ -16755,8 +16757,8 @@ var LoadedSettings = class {
16755
16757
  // React will pass a listener fn into this subscribe fn
16756
16758
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16757
16759
  subscribe(listener) {
16758
- coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16759
- return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16760
+ coreEvents.on(CoreEvent.SettingsChanged, listener);
16761
+ return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16760
16762
  }
16761
16763
  getSnapshot() {
16762
16764
  return this._snapshot;
@@ -4,10 +4,10 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-RM43GNQQ.js";
7
+ } from "./chunk-MURNAVEF.js";
8
8
  import {
9
9
  Storage
10
- } from "./chunk-2RHFUIH4.js";
10
+ } from "./chunk-VCGILCZV.js";
11
11
 
12
12
  // packages/cli/src/utils/cleanup.ts
13
13
  import { promises as fs } from "node:fs";