@google/gemini-cli 0.63.0-preview.0 → 0.64.0-nightly.20260930.g38700b4b3

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-GRSO6OI3.js → chunk-25CRZGVM.js} +7 -7
  2. package/bundle/{chunk-NWSCUKK3.js → chunk-2IX6DWAW.js} +4 -4
  3. package/bundle/{chunk-2NCBQURB.js → chunk-3NT2SKFA.js} +1 -1
  4. package/bundle/{chunk-2J6RC447.js → chunk-4HOQUY2N.js} +3 -3
  5. package/bundle/{chunk-ZDQYLJYN.js → chunk-6PPBWNDI.js} +1 -1
  6. package/bundle/{chunk-RC6VJ6FT.js → chunk-7DWXAVQF.js} +1 -1
  7. package/bundle/{chunk-Z5RCAIV5.js → chunk-A2FLYZAG.js} +7 -5
  8. package/bundle/{chunk-R6Q6D3UA.js → chunk-A57G7SIC.js} +1 -1
  9. package/bundle/{chunk-KCB54UJ5.js → chunk-AWSTJUTH.js} +7817 -14797
  10. package/bundle/{chunk-RXHIISMM.js → chunk-BGZD3BMV.js} +1 -1
  11. package/bundle/{chunk-SNGNFODQ.js → chunk-BMTBPV2S.js} +1 -1
  12. package/bundle/{chunk-EIMVJG2V.js → chunk-BXEOD3X3.js} +1 -1
  13. package/bundle/{chunk-UEOEM4H5.js → chunk-DJNZXRA7.js} +3 -3
  14. package/bundle/{chunk-2P4ETAEG.js → chunk-F6JETNEJ.js} +1 -1
  15. package/bundle/{chunk-NTWFJ2RF.js → chunk-GY7Q52OV.js} +2 -2
  16. package/bundle/{chunk-JEUVKR2X.js → chunk-HE52HL64.js} +3 -3
  17. package/bundle/{chunk-EWEUWTBB.js → chunk-HSKWGDF4.js} +71 -58
  18. package/bundle/{chunk-KPPDDNGJ.js → chunk-IAPBP6LA.js} +9 -8
  19. package/bundle/chunk-IHPUGUR4.js +1571 -0
  20. package/bundle/chunk-JOP7W7XN.js +512 -0
  21. package/bundle/{chunk-H4WLRV6U.js → chunk-MDIO6ZGG.js} +2 -2
  22. package/bundle/{chunk-B2C7BQ4Z.js → chunk-MODROUVA.js} +7 -7
  23. package/bundle/{chunk-HBZBBLAV.js → chunk-NXZ6MTBK.js} +4 -4
  24. package/bundle/{chunk-5VYF5TVF.js → chunk-P5COWVAT.js} +2 -2
  25. package/bundle/chunk-P7PQGLTC.js +425 -0
  26. package/bundle/chunk-POADB5TD.js +102951 -0
  27. package/bundle/{chunk-BVDTRESW.js → chunk-PSG2RKYK.js} +1 -1
  28. package/bundle/chunk-QBEQJSQP.js +17446 -0
  29. package/bundle/chunk-RGZWKVK6.js +400535 -0
  30. package/bundle/{chunk-CTL6DZSY.js → chunk-U35AUWCX.js} +1 -1
  31. package/bundle/chunk-XBPTRJT2.js +154 -0
  32. package/bundle/chunk-Z3W7MPKY.js +118 -0
  33. package/bundle/{cleanup-EX2L3L3E.js → cleanup-5ZAFKLQH.js} +2 -2
  34. package/bundle/{cleanup-IT7XR7KS.js → cleanup-HYZM7R5F.js} +2 -2
  35. package/bundle/{cleanup-WWLYKZIX.js → cleanup-TARZADFI.js} +2 -2
  36. package/bundle/cleanup-ZAXFNDOC.js +32 -0
  37. package/bundle/{core-GAJB2LOX.js → core-EPSHE7P6.js} +1 -1
  38. package/bundle/{devtoolsService-4YTFHHPN.js → devtoolsService-56VDVUOL.js} +2 -2
  39. package/bundle/{devtoolsService-TJPENQSW.js → devtoolsService-7XLE4P4S.js} +2 -2
  40. package/bundle/{devtoolsService-S4ZTRGJL.js → devtoolsService-AAFN6NAN.js} +4 -3
  41. package/bundle/devtoolsService-ECAXJUOF.js +4359 -0
  42. package/bundle/{dist-MTMOCTIW.js → dist-M35X4WPV.js} +1 -1
  43. package/bundle/{core-D5D4MF5H.js → dist-NIRQB25Q.js} +1 -1
  44. package/bundle/dist-O3KY6OIH.js +2250 -0
  45. package/bundle/docs/changelogs/preview.md +54 -65
  46. package/bundle/{gemini-5T5BS7L7.js → gemini-6CUIGQWZ.js} +66 -95
  47. package/bundle/{gemini-UQRS6TBE.js → gemini-7ZTG2TNC.js} +266 -279
  48. package/bundle/gemini-LUCGVSW4.js +17834 -0
  49. package/bundle/{gemini-FHORRYHM.js → gemini-XES6PNAG.js} +66 -95
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-I5K7O5Z6.js → interactiveCli-33JCR2HW.js} +26 -23
  52. package/bundle/{interactiveCli-5YNYZTMK.js → interactiveCli-BL75HVY6.js} +329 -307
  53. package/bundle/{interactiveCli-WOM6QZHM.js → interactiveCli-HKQPFDGD.js} +26 -23
  54. package/bundle/interactiveCli-QSW3W5ZD.js +34918 -0
  55. package/bundle/{liteRtServerManager-EH2L2UVH.js → liteRtServerManager-LKLAR23I.js} +4 -4
  56. package/bundle/{liteRtServerManager-ZLIHBLZP.js → liteRtServerManager-M6OUSM64.js} +4 -4
  57. package/bundle/{liteRtServerManager-3N5KI6YS.js → liteRtServerManager-SXHC2HTD.js} +4 -4
  58. package/bundle/liteRtServerManager-UKLGHLER.js +65 -0
  59. package/bundle/{oauth2-provider-TA2KRXWQ.js → oauth2-provider-7U4O6OCP.js} +1 -1
  60. package/bundle/{oauth2-provider-5GFYTXFU.js → oauth2-provider-LLJMND6R.js} +38 -72
  61. package/bundle/oauth2-provider-VTAXRE4E.js +235 -0
  62. package/bundle/{oauth2-provider-NGSH2JQK.js → oauth2-provider-XIO422NY.js} +1 -1
  63. package/bundle/{start-M3IUNCYH.js → start-5J7ZUGKX.js} +6 -6
  64. package/bundle/{start-MWDNIQUY.js → start-7FPTLILF.js} +6 -6
  65. package/bundle/{start-CWI6OP6N.js → start-QILES454.js} +6 -6
  66. package/bundle/start-RBND45VF.js +18 -0
  67. package/package.json +1 -1
@@ -171,10 +171,10 @@ import {
171
171
  widestLineFromStyledChars,
172
172
  wordBreakStyledChars,
173
173
  wrapStyledChars
174
- } from "./chunk-EWEUWTBB.js";
174
+ } from "./chunk-MODROUVA.js";
175
175
  import {
176
176
  require_source
177
- } from "./chunk-SNGNFODQ.js";
177
+ } from "./chunk-IHPUGUR4.js";
178
178
  import {
179
179
  appEvents
180
180
  } from "./chunk-5PS3AYFU.js";
@@ -227,24 +227,24 @@ import {
227
227
  stripAnsi,
228
228
  stripUnsafeCharacters,
229
229
  toCodePoints
230
- } from "./chunk-RC6VJ6FT.js";
230
+ } from "./chunk-7DWXAVQF.js";
231
231
  import {
232
232
  handleAutoUpdate,
233
233
  isDevelopment,
234
234
  relaunchApp,
235
235
  setUpdateHandler
236
- } from "./chunk-5VYF5TVF.js";
236
+ } from "./chunk-P7PQGLTC.js";
237
237
  import {
238
238
  isTodoList,
239
239
  mapCoreStatusToDisplayStatus,
240
240
  require_react
241
- } from "./chunk-ZDQYLJYN.js";
241
+ } from "./chunk-6PPBWNDI.js";
242
242
  import {
243
243
  registerCleanup,
244
244
  removeCleanup,
245
245
  runExitCleanup,
246
246
  setupTtyCheck
247
- } from "./chunk-CTL6DZSY.js";
247
+ } from "./chunk-BGZD3BMV.js";
248
248
  import {
249
249
  ACTIVATE_SKILL_TOOL_NAME,
250
250
  AGENT_TOOL_NAME,
@@ -430,7 +430,7 @@ import {
430
430
  validatePlanContent,
431
431
  validatePlanPath,
432
432
  writeToStdout
433
- } from "./chunk-KCB54UJ5.js";
433
+ } from "./chunk-NXZ6MTBK.js";
434
434
  import "./chunk-664ZODQF.js";
435
435
  import "./chunk-IUUIT4SU.js";
436
436
  import "./chunk-L6PII3GR.js";
@@ -30349,10 +30349,20 @@ var useFolderTrust = (settings, onTrustChange, addItem) => {
30349
30349
  const [discoveryResults, setDiscoveryResults] = (0, import_react103.useState)(null);
30350
30350
  const [isRestarting, setIsRestarting] = (0, import_react103.useState)(false);
30351
30351
  const startupMessageSent = (0, import_react103.useRef)(false);
30352
+ const onTrustChangeRef = (0, import_react103.useRef)(onTrustChange);
30353
+ const addItemRef = (0, import_react103.useRef)(addItem);
30354
+ const settingsRef = (0, import_react103.useRef)(settings);
30355
+ (0, import_react103.useEffect)(() => {
30356
+ onTrustChangeRef.current = onTrustChange;
30357
+ addItemRef.current = addItem;
30358
+ settingsRef.current = settings;
30359
+ }, [onTrustChange, addItem, settings]);
30352
30360
  const folderTrust = settings.merged.security.folderTrust.enabled ?? true;
30353
30361
  (0, import_react103.useEffect)(() => {
30354
30362
  let isMounted = true;
30355
- const { isTrusted: trusted } = isWorkspaceTrusted(settings.merged);
30363
+ const { isTrusted: trusted } = isWorkspaceTrusted(
30364
+ settingsRef.current.merged
30365
+ );
30356
30366
  if (trusted === void 0 || trusted === false) {
30357
30367
  void FolderTrustDiscoveryService.discover(process10.cwd()).then((results) => {
30358
30368
  if (isMounted) {
@@ -30363,7 +30373,7 @@ var useFolderTrust = (settings, onTrustChange, addItem) => {
30363
30373
  }
30364
30374
  const showUntrustedMessage = () => {
30365
30375
  if (trusted === false && !startupMessageSent.current) {
30366
- addItem(
30376
+ addItemRef.current(
30367
30377
  {
30368
30378
  type: "info" /* INFO */,
30369
30379
  text: "This folder is untrusted, project settings, hooks, MCPs, and GEMINI.md files will not be applied for this folder.\nUse the `/permissions` command to change the trust level."
@@ -30373,23 +30383,16 @@ var useFolderTrust = (settings, onTrustChange, addItem) => {
30373
30383
  startupMessageSent.current = true;
30374
30384
  }
30375
30385
  };
30376
- if (isHeadlessMode()) {
30377
- if (isMounted) {
30378
- setIsTrusted(trusted);
30379
- setIsFolderTrustDialogOpen(false);
30380
- onTrustChange(true);
30381
- showUntrustedMessage();
30382
- }
30383
- } else if (isMounted) {
30386
+ if (isMounted) {
30384
30387
  setIsTrusted(trusted);
30385
- setIsFolderTrustDialogOpen(trusted === void 0);
30386
- onTrustChange(trusted);
30388
+ setIsFolderTrustDialogOpen(!isHeadlessMode() && trusted === void 0);
30389
+ onTrustChangeRef.current(trusted);
30387
30390
  showUntrustedMessage();
30388
30391
  }
30389
30392
  return () => {
30390
30393
  isMounted = false;
30391
30394
  };
30392
- }, [folderTrust, onTrustChange, settings.merged, addItem]);
30395
+ }, [folderTrust]);
30393
30396
  const handleFolderTrustSelect = (0, import_react103.useCallback)(
30394
30397
  async (choice) => {
30395
30398
  const trustLevelMap = {
@@ -30415,7 +30418,7 @@ var useFolderTrust = (settings, onTrustChange, addItem) => {
30415
30418
  return;
30416
30419
  }
30417
30420
  const currentIsTrusted = trustLevel === "TRUST_FOLDER" /* TRUST_FOLDER */ || trustLevel === "TRUST_PARENT" /* TRUST_PARENT */;
30418
- onTrustChange(currentIsTrusted);
30421
+ onTrustChangeRef.current(currentIsTrusted);
30419
30422
  setIsTrusted(currentIsTrusted);
30420
30423
  const wasTrusted = isTrusted ?? false;
30421
30424
  if (wasTrusted !== currentIsTrusted) {
@@ -30425,7 +30428,7 @@ var useFolderTrust = (settings, onTrustChange, addItem) => {
30425
30428
  setIsFolderTrustDialogOpen(false);
30426
30429
  }
30427
30430
  },
30428
- [onTrustChange, isTrusted]
30431
+ [isTrusted]
30429
30432
  );
30430
30433
  return {
30431
30434
  isTrusted,
@@ -33869,7 +33872,7 @@ ${queuedText}` : queuedText;
33869
33872
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33870
33873
  if (settings.merged.general.devtools) {
33871
33874
  void (async () => {
33872
- const { toggleDevToolsPanel } = await import("./devtoolsService-S4ZTRGJL.js");
33875
+ const { toggleDevToolsPanel } = await import("./devtoolsService-56VDVUOL.js");
33873
33876
  await toggleDevToolsPanel(
33874
33877
  config,
33875
33878
  showErrorDetails,