@google/gemini-cli 0.65.0-preview.0 → 0.66.0-nightly.20261016.gdebf42324

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 (70) hide show
  1. package/bundle/{chunk-K7AA35SP.js → chunk-3VVLSLUB.js} +365 -230
  2. package/bundle/{chunk-K7NOVQ6G.js → chunk-4ORY5VV4.js} +376 -231
  3. package/bundle/{chunk-TP236FKO.js → chunk-4ZQK6FPV.js} +8243 -15166
  4. package/bundle/{chunk-VF5WQSOE.js → chunk-5U5H7MQT.js} +1 -1
  5. package/bundle/{chunk-H2CZXS7F.js → chunk-6CPZZAS6.js} +1 -1
  6. package/bundle/{chunk-2WVLIJA5.js → chunk-6ZNK3R6S.js} +145 -77
  7. package/bundle/{chunk-NL7ZHGCH.js → chunk-7WET2X2L.js} +1 -1
  8. package/bundle/{chunk-WTRK3NVX.js → chunk-ARZHETF7.js} +58 -27
  9. package/bundle/{chunk-HLOOE7YN.js → chunk-C6OZRRSW.js} +9 -8
  10. package/bundle/{chunk-LLE5Z636.js → chunk-CAK3GIEX.js} +58 -27
  11. package/bundle/{chunk-F6AJM4WN.js → chunk-DZK3RTN5.js} +3 -3
  12. package/bundle/{chunk-BFIV7GTA.js → chunk-EAJQUKYV.js} +2 -2
  13. package/bundle/{chunk-SN7QZKXC.js → chunk-EDXPBFMP.js} +122 -78
  14. package/bundle/{chunk-43EXRO7A.js → chunk-FMKAMURR.js} +145 -77
  15. package/bundle/{chunk-RPHDSDL6.js → chunk-GYABHSAN.js} +1 -1
  16. package/bundle/chunk-HZ3ULZA5.js +512 -0
  17. package/bundle/{chunk-V72FRESD.js → chunk-IPP4LAIJ.js} +2 -2
  18. package/bundle/{chunk-S7BCRBI4.js → chunk-L2JWNZ5I.js} +1 -1
  19. package/bundle/{chunk-4DCA4L53.js → chunk-LE7CRIQW.js} +2 -2
  20. package/bundle/{chunk-K4G5D5ZZ.js → chunk-NTMOGT2U.js} +1 -1
  21. package/bundle/{chunk-QJK54DSE.js → chunk-O7DL5A6M.js} +1 -1
  22. package/bundle/chunk-OUQNYX72.js +425 -0
  23. package/bundle/{chunk-GSQEBEGC.js → chunk-OWNTY4ZJ.js} +3 -3
  24. package/bundle/chunk-RATJW3IC.js +103284 -0
  25. package/bundle/{chunk-WGL5FJOS.js → chunk-RHS7LQYQ.js} +3 -3
  26. package/bundle/{chunk-V2R74WAG.js → chunk-T526OHX2.js} +151 -81
  27. package/bundle/chunk-TM5LN2M4.js +118 -0
  28. package/bundle/{chunk-4JGVVJGK.js → chunk-W4TOIVW2.js} +1 -1
  29. package/bundle/chunk-WWLKAUPJ.js +1571 -0
  30. package/bundle/chunk-XMMD2D57.js +154 -0
  31. package/bundle/chunk-XTRL4LHU.js +402181 -0
  32. package/bundle/chunk-YDKHD3KR.js +17603 -0
  33. package/bundle/{cleanup-HPADDONA.js → cleanup-D64VZM4F.js} +2 -2
  34. package/bundle/{cleanup-JOMSXKMP.js → cleanup-KQSUSZVK.js} +2 -2
  35. package/bundle/{cleanup-LYRJHMMO.js → cleanup-NFDCMZNM.js} +2 -2
  36. package/bundle/cleanup-PMQAGUR6.js +32 -0
  37. package/bundle/{core-NCJTYARO.js → core-AQSWLJFK.js} +13 -1
  38. package/bundle/{devtoolsService-HIZA3JGR.js → devtoolsService-4FKRWPRR.js} +2 -2
  39. package/bundle/{devtoolsService-WP2OPVPB.js → devtoolsService-HIMQQKQU.js} +2 -2
  40. package/bundle/{devtoolsService-JFJBTZ4B.js → devtoolsService-HNNM7RMB.js} +4 -3
  41. package/bundle/devtoolsService-ZFRR4BWT.js +4359 -0
  42. package/bundle/{dist-GQKLLBDW.js → dist-5ASSTNQ6.js} +13 -1
  43. package/bundle/{core-IVQAI4S6.js → dist-BLHNJM7E.js} +13 -1
  44. package/bundle/dist-KGTOLDFD.js +2280 -0
  45. package/bundle/docs/changelogs/index.md +22 -0
  46. package/bundle/docs/changelogs/latest.md +64 -54
  47. package/bundle/docs/changelogs/preview.md +91 -55
  48. package/bundle/docs/reference/configuration.md +8 -3
  49. package/bundle/{gemini-7CHJYSHM.js → gemini-5A6XE5MS.js} +14 -14
  50. package/bundle/{gemini-5TUKZVGS.js → gemini-6AUGEYTK.js} +14 -14
  51. package/bundle/{gemini-546WMAHG.js → gemini-CONRUIWA.js} +214 -198
  52. package/bundle/gemini-NNDIP5FI.js +17951 -0
  53. package/bundle/gemini.js +7 -7
  54. package/bundle/{interactiveCli-5XIAIY74.js → interactiveCli-4ASTHC7A.js} +1370 -1279
  55. package/bundle/{interactiveCli-L4PK7YY3.js → interactiveCli-A4AHHCYK.js} +1060 -988
  56. package/bundle/interactiveCli-BYRGNC52.js +35601 -0
  57. package/bundle/{interactiveCli-E3PUPYMZ.js → interactiveCli-DVYUBC7X.js} +1060 -988
  58. package/bundle/{liteRtServerManager-JCTYJBV5.js → liteRtServerManager-4YCGFHXM.js} +4 -4
  59. package/bundle/{liteRtServerManager-JERG6KYC.js → liteRtServerManager-B5VXJYB6.js} +4 -4
  60. package/bundle/{liteRtServerManager-22ISMNN2.js → liteRtServerManager-O5MQ7YAM.js} +4 -4
  61. package/bundle/liteRtServerManager-XTK5NKOU.js +65 -0
  62. package/bundle/{oauth2-provider-MKWWBW4K.js → oauth2-provider-DGDIJBPB.js} +1 -1
  63. package/bundle/{oauth2-provider-XRUER2XR.js → oauth2-provider-FL4LAMOD.js} +1 -1
  64. package/bundle/{oauth2-provider-477UJQX6.js → oauth2-provider-LJCH3JL4.js} +41 -79
  65. package/bundle/oauth2-provider-XMOANRFY.js +273 -0
  66. package/bundle/{start-MVIPJNQ5.js → start-EK5VVD43.js} +6 -6
  67. package/bundle/{start-RZWSVT55.js → start-EZBPBQGC.js} +6 -6
  68. package/bundle/{start-AGMBPY3O.js → start-TTVQ72ZW.js} +6 -6
  69. package/bundle/start-ZK46NOA3.js +18 -0
  70. package/package.json +1 -1
@@ -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-4JGVVJGK.js";
5
+ } from "./chunk-NTMOGT2U.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -63,15 +63,15 @@ import {
63
63
  stripUnsafeCharacters,
64
64
  toCodePoints,
65
65
  validateCustomTheme
66
- } from "./chunk-43EXRO7A.js";
66
+ } from "./chunk-FMKAMURR.js";
67
67
  import {
68
68
  isDevelopment
69
- } from "./chunk-V72FRESD.js";
69
+ } from "./chunk-EAJQUKYV.js";
70
70
  import {
71
71
  emptyIcon,
72
72
  mapCoreStatusToDisplayStatus,
73
73
  require_react
74
- } from "./chunk-HLOOE7YN.js";
74
+ } from "./chunk-O7DL5A6M.js";
75
75
  import {
76
76
  ALL_EDITORS,
77
77
  ApprovalMode,
@@ -177,6 +177,7 @@ import {
177
177
  isProjectSkillPatchTarget,
178
178
  isSubpath,
179
179
  isTerminalEditor,
180
+ isTmux,
180
181
  isValidEditorType,
181
182
  is_wsl_default,
182
183
  listExtensions,
@@ -241,7 +242,7 @@ import {
241
242
  uiTelemetryService,
242
243
  unescapePath,
243
244
  validateUrlDestination
244
- } from "./chunk-TP236FKO.js";
245
+ } from "./chunk-4ORY5VV4.js";
245
246
  import {
246
247
  require_src
247
248
  } from "./chunk-L6PII3GR.js";
@@ -7841,14 +7842,14 @@ var require_react_reconciler_production = __commonJS({
7841
7842
  }
7842
7843
  var exports2 = {};
7843
7844
  "use strict";
7844
- var React22 = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
7845
+ var React23 = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
7845
7846
  Symbol.for("react.scope");
7846
7847
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
7847
7848
  Symbol.for("react.legacy_hidden");
7848
7849
  Symbol.for("react.tracing_marker");
7849
7850
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
7850
7851
  Symbol.for("react.view_transition");
7851
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React22.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
7852
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React23.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
7852
7853
  $$$config.cloneMutableInstance;
7853
7854
  var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
7854
7855
  $$$config.cloneMutableTextInstance;
@@ -74600,13 +74601,14 @@ var formatDuration = (milliseconds) => {
74600
74601
  if (milliseconds <= 0) {
74601
74602
  return "0s";
74602
74603
  }
74603
- if (milliseconds < 1e3) {
74604
- return `${Math.round(milliseconds)}ms`;
74604
+ const roundedMs = Math.round(milliseconds);
74605
+ if (roundedMs < 1e3) {
74606
+ return `${roundedMs}ms`;
74605
74607
  }
74606
- const totalSeconds = milliseconds / 1e3;
74607
- if (totalSeconds < 60) {
74608
- return `${totalSeconds.toFixed(1)}s`;
74608
+ if (milliseconds < 59950) {
74609
+ return `${(milliseconds / 1e3).toFixed(1)}s`;
74609
74610
  }
74611
+ const totalSeconds = Math.round(milliseconds / 1e3);
74610
74612
  const hours = Math.floor(totalSeconds / 3600);
74611
74613
  const minutes = Math.floor(totalSeconds % 3600 / 60);
74612
74614
  const seconds = Math.floor(totalSeconds % 60);
@@ -76054,25 +76056,53 @@ function Spinner({ type = "dots" }) {
76054
76056
  var build_default = Spinner;
76055
76057
 
76056
76058
  // packages/cli/src/ui/components/CliSpinner.tsx
76059
+ var import_cli_spinners2 = __toESM(require_cli_spinners(), 1);
76057
76060
  var import_react53 = __toESM(require_react(), 1);
76058
76061
  var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
76059
- var CliSpinner = (props) => {
76060
- const settings = useSettings();
76061
- const shouldShow = settings.merged.ui?.showSpinner !== false;
76062
- (0, import_react53.useEffect)(() => {
76063
- if (shouldShow) {
76064
- debugState.debugNumAnimatedComponents++;
76062
+ var TMUX_SPINNER_INTERVAL_MS = 120;
76063
+ var TmuxSpinner = import_react53.default.memo(
76064
+ ({ type = "dots" }) => {
76065
+ const [frame, setFrame] = (0, import_react53.useState)(0);
76066
+ const spinner = import_cli_spinners2.default[type] ?? import_cli_spinners2.default.dots;
76067
+ const intervalMs = Math.max(spinner.interval, TMUX_SPINNER_INTERVAL_MS);
76068
+ (0, import_react53.useEffect)(() => {
76069
+ const timer = setInterval(() => {
76070
+ setFrame(
76071
+ (previousFrame) => previousFrame >= spinner.frames.length - 1 ? 0 : previousFrame + 1
76072
+ );
76073
+ }, intervalMs);
76065
76074
  return () => {
76066
- debugState.debugNumAnimatedComponents--;
76075
+ clearInterval(timer);
76067
76076
  };
76077
+ }, [spinner, intervalMs]);
76078
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Text, { children: spinner.frames[frame % spinner.frames.length] });
76079
+ }
76080
+ );
76081
+ TmuxSpinner.displayName = "TmuxSpinner";
76082
+ var CliSpinner = import_react53.default.memo(
76083
+ (props) => {
76084
+ const settings = useSettings();
76085
+ const shouldShow = settings.merged.ui?.showSpinner !== false;
76086
+ const inTmux2 = isTmux();
76087
+ (0, import_react53.useEffect)(() => {
76088
+ if (shouldShow) {
76089
+ debugState.debugNumAnimatedComponents++;
76090
+ return () => {
76091
+ debugState.debugNumAnimatedComponents--;
76092
+ };
76093
+ }
76094
+ return void 0;
76095
+ }, [shouldShow]);
76096
+ if (!shouldShow) {
76097
+ return null;
76068
76098
  }
76069
- return void 0;
76070
- }, [shouldShow]);
76071
- if (!shouldShow) {
76072
- return null;
76099
+ if (inTmux2) {
76100
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TmuxSpinner, { type: props.type });
76101
+ }
76102
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76073
76103
  }
76074
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76075
- };
76104
+ );
76105
+ CliSpinner.displayName = "CliSpinner";
76076
76106
 
76077
76107
  // packages/cli/src/ui/components/shared/ExpandableText.tsx
76078
76108
  var import_react54 = __toESM(require_react(), 1);
@@ -77851,7 +77881,7 @@ var authCommand = {
77851
77881
  import process29 from "node:process";
77852
77882
 
77853
77883
  // packages/cli/src/generated/git-commit.ts
77854
- var GIT_COMMIT_INFO = "204db94ae";
77884
+ var GIT_COMMIT_INFO = "debf42324";
77855
77885
 
77856
77886
  // packages/cli/src/ui/utils/historyExportUtils.ts
77857
77887
  import * as fsPromises from "node:fs/promises";
@@ -83658,7 +83688,7 @@ Use /mcp auth <server-name> to authenticate.`
83658
83688
  type: "info",
83659
83689
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
83660
83690
  });
83661
- const { MCPOAuthProvider } = await import("./core-NCJTYARO.js");
83691
+ const { MCPOAuthProvider } = await import("./core-AQSWLJFK.js");
83662
83692
  let oauthConfig = server.oauth;
83663
83693
  if (!oauthConfig) {
83664
83694
  oauthConfig = { enabled: false };
@@ -102993,6 +103023,7 @@ export {
102993
103023
  Footer,
102994
103024
  getAntigravityInstallInfo,
102995
103025
  build_default,
103026
+ TMUX_SPINNER_INTERVAL_MS,
102996
103027
  CliSpinner,
102997
103028
  MAX_WIDTH,
102998
103029
  ExpandableText,
@@ -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-H2CZXS7F.js";
5
+ } from "./chunk-6CPZZAS6.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-2WVLIJA5.js";
17
+ } from "./chunk-6ZNK3R6S.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-K7AA35SP.js";
20
+ } from "./chunk-4ZQK6FPV.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -1,13 +1,13 @@
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-S7BCRBI4.js";
4
+ } from "./chunk-GYABHSAN.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-K7NOVQ6G.js";
10
+ } from "./chunk-4ORY5VV4.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";