@google/gemini-cli 0.36.0-preview.7 → 0.36.0-preview.8

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 (28) hide show
  1. package/bundle/{chunk-VA3P26WZ.js → chunk-5JDHTAA3.js} +5 -5
  2. package/bundle/{chunk-EHC7O4TG.js → chunk-5Y6Y7SEB.js} +3 -3
  3. package/bundle/{chunk-APAYS2LE.js → chunk-642LNT3F.js} +7380 -2768
  4. package/bundle/{chunk-QTVUHTZR.js → chunk-FWCJAF6L.js} +7380 -2768
  5. package/bundle/{chunk-NYCY3Q2B.js → chunk-N22U7LIR.js} +5 -5
  6. package/bundle/{chunk-2RCLDWUX.js → chunk-QBLIM2T2.js} +7380 -2768
  7. package/bundle/{chunk-YTGZ6CSI.js → chunk-UUJ4JLTB.js} +7380 -2768
  8. package/bundle/{chunk-GDBDMLKR.js → chunk-X6CSYCBW.js} +5 -5
  9. package/bundle/{core-BHH4RB6L.js → core-N4UNRLQA.js} +1 -1
  10. package/bundle/{devtoolsService-STAWBGOY.js → devtoolsService-7D3WUF33.js} +2 -2
  11. package/bundle/{devtoolsService-4QGIZO5B.js → devtoolsService-NA7MR5UO.js} +2 -2
  12. package/bundle/{devtoolsService-GJALET3B.js → devtoolsService-VU7N6PSG.js} +2 -2
  13. package/bundle/{devtoolsService-Q6LGZKTJ.js → devtoolsService-Y53ZUB56.js} +2 -2
  14. package/bundle/{dist-SWQPYLLV.js → dist-HD2ZHBHJ.js} +1 -1
  15. package/bundle/{dist-YOBWJF52.js → dist-JYY2GAAR.js} +1 -1
  16. package/bundle/{dist-YHAAIIZP.js → dist-QEB25IFU.js} +1 -1
  17. package/bundle/docs/reference/configuration.md +1 -1
  18. package/bundle/gemini.js +6 -6
  19. package/bundle/{interactiveCli-B6Y3UISW.js → interactiveCli-2JRQPNZP.js} +16 -15
  20. package/bundle/{interactiveCli-HYY2W6AF.js → interactiveCli-A6H7VTMC.js} +16 -15
  21. package/bundle/{interactiveCli-MEBWWWE7.js → interactiveCli-LFO7EWZS.js} +16 -15
  22. package/bundle/{interactiveCli-YJFA3P4G.js → interactiveCli-R5N55BDV.js} +16 -15
  23. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  24. package/bundle/{oauth2-provider-DLPX23GY.js → oauth2-provider-2WD22PTI.js} +1 -1
  25. package/bundle/{oauth2-provider-MKUXMD5I.js → oauth2-provider-34BPLPQX.js} +1 -1
  26. package/bundle/{oauth2-provider-TIKPJAVU.js → oauth2-provider-MZAUZWUS.js} +1 -1
  27. package/bundle/{oauth2-provider-IGY3DL3D.js → oauth2-provider-QOWLZC44.js} +1 -1
  28. package/package.json +1 -1
@@ -249987,8 +249987,8 @@ var Float64Vector = import_vector.default.Float64Vector;
249987
249987
  var PointerVector = import_vector.default.PointerVector;
249988
249988
 
249989
249989
  // packages/core/dist/src/generated/git-commit.js
249990
- var GIT_COMMIT_INFO = "425d64a96";
249991
- var CLI_VERSION = "0.36.0-preview.6";
249990
+ var GIT_COMMIT_INFO = "201c74c03";
249991
+ var CLI_VERSION = "0.36.0-preview.8";
249992
249992
 
249993
249993
  // packages/core/dist/src/ide/detect-ide.js
249994
249994
  var IDE_DEFINITIONS = {
@@ -275706,7 +275706,7 @@ function getVersion() {
275706
275706
  }
275707
275707
  versionPromise = (async () => {
275708
275708
  const pkgJson = await getPackageJson(__dirname4);
275709
- return "0.36.0-preview.7";
275709
+ return "0.36.0-preview.8";
275710
275710
  })();
275711
275711
  return versionPromise;
275712
275712
  }
@@ -327128,7 +327128,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
327128
327128
  return provider;
327129
327129
  }
327130
327130
  case "oauth2": {
327131
- const { OAuth2AuthProvider } = await import("./oauth2-provider-DLPX23GY.js");
327131
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-34BPLPQX.js");
327132
327132
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
327133
327133
  await provider.initialize();
327134
327134
  return provider;
@@ -346547,7 +346547,7 @@ var Config = class {
346547
346547
  };
346548
346548
  }
346549
346549
  this.modelConfigService = new ModelConfigService(modelConfigServiceConfig ?? DEFAULT_MODEL_CONFIGS);
346550
- this.experimentalJitContext = params.experimentalJitContext ?? true;
346550
+ this.experimentalJitContext = params.experimentalJitContext ?? false;
346551
346551
  this.experimentalMemoryManager = params.experimentalMemoryManager ?? false;
346552
346552
  this.topicUpdateNarration = params.topicUpdateNarration ?? false;
346553
346553
  this.modelSteering = params.modelSteering ?? false;
@@ -705,7 +705,7 @@ import {
705
705
  wrapInAccountChooser,
706
706
  writeToStderr,
707
707
  writeToStdout
708
- } from "./chunk-NYCY3Q2B.js";
708
+ } from "./chunk-N22U7LIR.js";
709
709
  import {
710
710
  ACTIVATE_SKILL_TOOL_NAME,
711
711
  ALL_BUILTIN_TOOL_NAMES,
@@ -1,5 +1,5 @@
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
- import "./chunk-NYCY3Q2B.js";
2
+ import "./chunk-N22U7LIR.js";
3
3
  import {
4
4
  coreEvents,
5
5
  debugLogger
@@ -819,7 +819,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
819
819
  return;
820
820
  }
821
821
  try {
822
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-BHH4RB6L.js");
822
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-N4UNRLQA.js");
823
823
  const url = await startDevToolsServer(config);
824
824
  if (shouldLaunchBrowser()) {
825
825
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-EHC7O4TG.js";
2
+ import "./chunk-X6CSYCBW.js";
3
3
  import {
4
4
  CoreEvent,
5
5
  coreEvents,
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
820
820
  return;
821
821
  }
822
822
  try {
823
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-YHAAIIZP.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-HD2ZHBHJ.js");
824
824
  const url = await startDevToolsServer(config);
825
825
  if (shouldLaunchBrowser()) {
826
826
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-VA3P26WZ.js";
2
+ import "./chunk-5Y6Y7SEB.js";
3
3
  import {
4
4
  CoreEvent,
5
5
  coreEvents,
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
820
820
  return;
821
821
  }
822
822
  try {
823
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-YOBWJF52.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-JYY2GAAR.js");
824
824
  const url = await startDevToolsServer(config);
825
825
  if (shouldLaunchBrowser()) {
826
826
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-GDBDMLKR.js";
2
+ import "./chunk-5JDHTAA3.js";
3
3
  import {
4
4
  CoreEvent,
5
5
  coreEvents,
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
820
820
  return;
821
821
  }
822
822
  try {
823
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-SWQPYLLV.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-QEB25IFU.js");
824
824
  const url = await startDevToolsServer(config);
825
825
  if (shouldLaunchBrowser()) {
826
826
  try {
@@ -705,7 +705,7 @@ import {
705
705
  wrapInAccountChooser,
706
706
  writeToStderr,
707
707
  writeToStdout
708
- } from "./chunk-GDBDMLKR.js";
708
+ } from "./chunk-X6CSYCBW.js";
709
709
  import {
710
710
  ACTIVATE_SKILL_TOOL_NAME,
711
711
  ALL_BUILTIN_TOOL_NAMES,
@@ -705,7 +705,7 @@ import {
705
705
  wrapInAccountChooser,
706
706
  writeToStderr,
707
707
  writeToStdout
708
- } from "./chunk-VA3P26WZ.js";
708
+ } from "./chunk-5Y6Y7SEB.js";
709
709
  import {
710
710
  ACTIVATE_SKILL_TOOL_NAME,
711
711
  ALL_BUILTIN_TOOL_NAMES,
@@ -705,7 +705,7 @@ import {
705
705
  wrapInAccountChooser,
706
706
  writeToStderr,
707
707
  writeToStdout
708
- } from "./chunk-EHC7O4TG.js";
708
+ } from "./chunk-5JDHTAA3.js";
709
709
  import {
710
710
  ACTIVATE_SKILL_TOOL_NAME,
711
711
  ALL_BUILTIN_TOOL_NAMES,
@@ -1600,7 +1600,7 @@ their corresponding top-level category object in your `settings.json` file.
1600
1600
 
1601
1601
  - **`experimental.jitContext`** (boolean):
1602
1602
  - **Description:** Enable Just-In-Time (JIT) context loading.
1603
- - **Default:** `true`
1603
+ - **Default:** `false`
1604
1604
  - **Requires restart:** Yes
1605
1605
 
1606
1606
  - **`experimental.useOSC52Paste`** (boolean):
package/bundle/gemini.js CHANGED
@@ -67,7 +67,7 @@ import {
67
67
  updateAllUpdatableExtensions,
68
68
  updateExtension,
69
69
  validateAuthMethod
70
- } from "./chunk-QTVUHTZR.js";
70
+ } from "./chunk-FWCJAF6L.js";
71
71
  import {
72
72
  AuthType,
73
73
  ChatRecordingService,
@@ -153,7 +153,7 @@ import {
153
153
  uiTelemetryService,
154
154
  writeToStderr,
155
155
  writeToStdout
156
- } from "./chunk-EHC7O4TG.js";
156
+ } from "./chunk-X6CSYCBW.js";
157
157
  import {
158
158
  ASK_USER_TOOL_NAME,
159
159
  ApprovalMode,
@@ -7245,7 +7245,7 @@ async function loadSandboxConfig(settings, argv) {
7245
7245
  }
7246
7246
  const command2 = getSandboxCommand(sandboxValue);
7247
7247
  const packageJson = await getPackageJson(__dirname3);
7248
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.7" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7248
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.8" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7249
7249
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7250
7250
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7251
7251
  }
@@ -9521,7 +9521,7 @@ async function runNonInteractive({
9521
9521
  }
9522
9522
  });
9523
9523
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
9524
- const { setupInitialActivityLogger } = await import("./devtoolsService-4QGIZO5B.js");
9524
+ const { setupInitialActivityLogger } = await import("./devtoolsService-NA7MR5UO.js");
9525
9525
  await setupInitialActivityLogger(config);
9526
9526
  }
9527
9527
  const { stdout: workingStdout } = createWorkingStdio();
@@ -13974,7 +13974,7 @@ ${reason.stack}` : ""}`;
13974
13974
  });
13975
13975
  }
13976
13976
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
13977
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HYY2W6AF.js");
13977
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-R5N55BDV.js");
13978
13978
  await doStartUI(
13979
13979
  config,
13980
13980
  settings,
@@ -14170,7 +14170,7 @@ ${finalArgs[promptIndex + 1]}`;
14170
14170
  await config.storage.initialize();
14171
14171
  adminControlsListner.setConfig(config);
14172
14172
  if (config.isInteractive() && settings.merged.general.devtools) {
14173
- const { setupInitialActivityLogger } = await import("./devtoolsService-4QGIZO5B.js");
14173
+ const { setupInitialActivityLogger } = await import("./devtoolsService-NA7MR5UO.js");
14174
14174
  await setupInitialActivityLogger(config);
14175
14175
  }
14176
14176
  registerTelemetryConfig(config);
@@ -55,6 +55,7 @@ import {
55
55
  SettingScope,
56
56
  SettingsContext,
57
57
  Static,
58
+ StyledLine,
58
59
  TOGGLE_TYPES,
59
60
  TOOL_STATUS,
60
61
  TOOL_SUCCESS_RATE_HIGH,
@@ -181,7 +182,7 @@ import {
181
182
  widestLineFromStyledChars,
182
183
  wordBreakStyledChars,
183
184
  wrapStyledChars
184
- } from "./chunk-YTGZ6CSI.js";
185
+ } from "./chunk-642LNT3F.js";
185
186
  import {
186
187
  ApiKeyUpdatedEvent,
187
188
  AsyncFzf,
@@ -300,7 +301,7 @@ import {
300
301
  validatePlanContent,
301
302
  validatePlanPath,
302
303
  writeToStdout
303
- } from "./chunk-GDBDMLKR.js";
304
+ } from "./chunk-5Y6Y7SEB.js";
304
305
  import {
305
306
  ACTIVATE_SKILL_TOOL_NAME,
306
307
  ApprovalMode,
@@ -19858,13 +19859,13 @@ var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
19858
19859
  var MIN_COLUMN_WIDTH = 5;
19859
19860
  var COLUMN_PADDING = 2;
19860
19861
  var TABLE_MARGIN = 2;
19861
- var parseMarkdownToStyledChars = (text, defaultColor) => {
19862
+ var parseMarkdownToStyledLine = (text, defaultColor) => {
19862
19863
  const ansi = parseMarkdownToANSI(text, defaultColor);
19863
19864
  return toStyledCharacters(ansi);
19864
19865
  };
19865
- var calculateWidths = (styledChars) => {
19866
- const contentWidth = styledCharsWidth(styledChars);
19867
- const words = wordBreakStyledChars(styledChars);
19866
+ var calculateWidths = (styledLine) => {
19867
+ const contentWidth = styledCharsWidth(styledLine);
19868
+ const words = wordBreakStyledChars(styledLine);
19868
19869
  const maxWordWidth = widestLineFromStyledChars(words);
19869
19870
  return { contentWidth, maxWordWidth };
19870
19871
  };
@@ -19875,7 +19876,7 @@ var TableRenderer = ({
19875
19876
  }) => {
19876
19877
  const styledHeaders = (0, import_react7.useMemo)(
19877
19878
  () => headers.map(
19878
- (header) => parseMarkdownToStyledChars(
19879
+ (header) => parseMarkdownToStyledLine(
19879
19880
  stripUnsafeCharacters(header),
19880
19881
  theme.text.link
19881
19882
  )
@@ -19885,7 +19886,7 @@ var TableRenderer = ({
19885
19886
  const styledRows = (0, import_react7.useMemo)(
19886
19887
  () => rows.map(
19887
19888
  (row) => row.map(
19888
- (cell) => parseMarkdownToStyledChars(
19889
+ (cell) => parseMarkdownToStyledLine(
19889
19890
  stripUnsafeCharacters(cell),
19890
19891
  theme.text.primary
19891
19892
  )
@@ -19900,11 +19901,11 @@ var TableRenderer = ({
19900
19901
  );
19901
19902
  const constraints = Array.from({ length: numColumns }).map(
19902
19903
  (_, colIndex) => {
19903
- const headerStyledChars = styledHeaders[colIndex] || [];
19904
- let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledChars);
19904
+ const headerStyledLine = styledHeaders[colIndex] || StyledLine.empty(0);
19905
+ let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledLine);
19905
19906
  styledRows.forEach((row) => {
19906
- const cellStyledChars = row[colIndex] || [];
19907
- const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledChars);
19907
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19908
+ const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledLine);
19908
19909
  maxContentWidth = Math.max(maxContentWidth, cellWidth);
19909
19910
  maxWordWidth = Math.max(maxWordWidth, cellWordWidth);
19910
19911
  });
@@ -19957,11 +19958,11 @@ var TableRenderer = ({
19957
19958
  const wrapAndProcessRow = (row) => {
19958
19959
  const rowResult = [];
19959
19960
  for (let colIndex = 0; colIndex < numColumns; colIndex++) {
19960
- const cellStyledChars = row[colIndex] || [];
19961
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19961
19962
  const allocatedWidth = finalContentWidths[colIndex];
19962
19963
  const contentWidth = Math.max(1, allocatedWidth);
19963
19964
  const wrappedStyledLines = wrapStyledChars(
19964
- cellStyledChars,
19965
+ cellStyledLine,
19965
19966
  contentWidth
19966
19967
  );
19967
19968
  const maxLineWidth = widestLineFromStyledChars(wrappedStyledLines);
@@ -48368,7 +48369,7 @@ ${queuedText}` : queuedText;
48368
48369
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
48369
48370
  if (settings.merged.general.devtools) {
48370
48371
  void (async () => {
48371
- const { toggleDevToolsPanel } = await import("./devtoolsService-Q6LGZKTJ.js");
48372
+ const { toggleDevToolsPanel } = await import("./devtoolsService-VU7N6PSG.js");
48372
48373
  await toggleDevToolsPanel(
48373
48374
  config,
48374
48375
  showErrorDetails,
@@ -55,6 +55,7 @@ import {
55
55
  SettingScope,
56
56
  SettingsContext,
57
57
  Static,
58
+ StyledLine,
58
59
  TOGGLE_TYPES,
59
60
  TOOL_STATUS,
60
61
  TOOL_SUCCESS_RATE_HIGH,
@@ -181,7 +182,7 @@ import {
181
182
  widestLineFromStyledChars,
182
183
  wordBreakStyledChars,
183
184
  wrapStyledChars
184
- } from "./chunk-QTVUHTZR.js";
185
+ } from "./chunk-UUJ4JLTB.js";
185
186
  import {
186
187
  ApiKeyUpdatedEvent,
187
188
  AsyncFzf,
@@ -300,7 +301,7 @@ import {
300
301
  validatePlanContent,
301
302
  validatePlanPath,
302
303
  writeToStdout
303
- } from "./chunk-EHC7O4TG.js";
304
+ } from "./chunk-5JDHTAA3.js";
304
305
  import {
305
306
  ACTIVATE_SKILL_TOOL_NAME,
306
307
  ApprovalMode,
@@ -19858,13 +19859,13 @@ var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
19858
19859
  var MIN_COLUMN_WIDTH = 5;
19859
19860
  var COLUMN_PADDING = 2;
19860
19861
  var TABLE_MARGIN = 2;
19861
- var parseMarkdownToStyledChars = (text, defaultColor) => {
19862
+ var parseMarkdownToStyledLine = (text, defaultColor) => {
19862
19863
  const ansi = parseMarkdownToANSI(text, defaultColor);
19863
19864
  return toStyledCharacters(ansi);
19864
19865
  };
19865
- var calculateWidths = (styledChars) => {
19866
- const contentWidth = styledCharsWidth(styledChars);
19867
- const words = wordBreakStyledChars(styledChars);
19866
+ var calculateWidths = (styledLine) => {
19867
+ const contentWidth = styledCharsWidth(styledLine);
19868
+ const words = wordBreakStyledChars(styledLine);
19868
19869
  const maxWordWidth = widestLineFromStyledChars(words);
19869
19870
  return { contentWidth, maxWordWidth };
19870
19871
  };
@@ -19875,7 +19876,7 @@ var TableRenderer = ({
19875
19876
  }) => {
19876
19877
  const styledHeaders = (0, import_react7.useMemo)(
19877
19878
  () => headers.map(
19878
- (header) => parseMarkdownToStyledChars(
19879
+ (header) => parseMarkdownToStyledLine(
19879
19880
  stripUnsafeCharacters(header),
19880
19881
  theme.text.link
19881
19882
  )
@@ -19885,7 +19886,7 @@ var TableRenderer = ({
19885
19886
  const styledRows = (0, import_react7.useMemo)(
19886
19887
  () => rows.map(
19887
19888
  (row) => row.map(
19888
- (cell) => parseMarkdownToStyledChars(
19889
+ (cell) => parseMarkdownToStyledLine(
19889
19890
  stripUnsafeCharacters(cell),
19890
19891
  theme.text.primary
19891
19892
  )
@@ -19900,11 +19901,11 @@ var TableRenderer = ({
19900
19901
  );
19901
19902
  const constraints = Array.from({ length: numColumns }).map(
19902
19903
  (_, colIndex) => {
19903
- const headerStyledChars = styledHeaders[colIndex] || [];
19904
- let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledChars);
19904
+ const headerStyledLine = styledHeaders[colIndex] || StyledLine.empty(0);
19905
+ let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledLine);
19905
19906
  styledRows.forEach((row) => {
19906
- const cellStyledChars = row[colIndex] || [];
19907
- const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledChars);
19907
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19908
+ const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledLine);
19908
19909
  maxContentWidth = Math.max(maxContentWidth, cellWidth);
19909
19910
  maxWordWidth = Math.max(maxWordWidth, cellWordWidth);
19910
19911
  });
@@ -19957,11 +19958,11 @@ var TableRenderer = ({
19957
19958
  const wrapAndProcessRow = (row) => {
19958
19959
  const rowResult = [];
19959
19960
  for (let colIndex = 0; colIndex < numColumns; colIndex++) {
19960
- const cellStyledChars = row[colIndex] || [];
19961
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19961
19962
  const allocatedWidth = finalContentWidths[colIndex];
19962
19963
  const contentWidth = Math.max(1, allocatedWidth);
19963
19964
  const wrappedStyledLines = wrapStyledChars(
19964
- cellStyledChars,
19965
+ cellStyledLine,
19965
19966
  contentWidth
19966
19967
  );
19967
19968
  const maxLineWidth = widestLineFromStyledChars(wrappedStyledLines);
@@ -48368,7 +48369,7 @@ ${queuedText}` : queuedText;
48368
48369
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
48369
48370
  if (settings.merged.general.devtools) {
48370
48371
  void (async () => {
48371
- const { toggleDevToolsPanel } = await import("./devtoolsService-4QGIZO5B.js");
48372
+ const { toggleDevToolsPanel } = await import("./devtoolsService-Y53ZUB56.js");
48372
48373
  await toggleDevToolsPanel(
48373
48374
  config,
48374
48375
  showErrorDetails,
@@ -55,6 +55,7 @@ import {
55
55
  SettingScope,
56
56
  SettingsContext,
57
57
  Static,
58
+ StyledLine,
58
59
  TOGGLE_TYPES,
59
60
  TOOL_STATUS,
60
61
  TOOL_SUCCESS_RATE_HIGH,
@@ -181,7 +182,7 @@ import {
181
182
  widestLineFromStyledChars,
182
183
  wordBreakStyledChars,
183
184
  wrapStyledChars
184
- } from "./chunk-2RCLDWUX.js";
185
+ } from "./chunk-QBLIM2T2.js";
185
186
  import {
186
187
  ApiKeyUpdatedEvent,
187
188
  AsyncFzf,
@@ -290,7 +291,7 @@ import {
290
291
  validatePlanContent,
291
292
  validatePlanPath,
292
293
  writeToStdout
293
- } from "./chunk-NYCY3Q2B.js";
294
+ } from "./chunk-N22U7LIR.js";
294
295
  import {
295
296
  ACTIVATE_SKILL_TOOL_NAME,
296
297
  ChangeAuthRequestedError,
@@ -19841,13 +19842,13 @@ var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
19841
19842
  var MIN_COLUMN_WIDTH = 5;
19842
19843
  var COLUMN_PADDING = 2;
19843
19844
  var TABLE_MARGIN = 2;
19844
- var parseMarkdownToStyledChars = (text, defaultColor) => {
19845
+ var parseMarkdownToStyledLine = (text, defaultColor) => {
19845
19846
  const ansi = parseMarkdownToANSI(text, defaultColor);
19846
19847
  return toStyledCharacters(ansi);
19847
19848
  };
19848
- var calculateWidths = (styledChars) => {
19849
- const contentWidth = styledCharsWidth(styledChars);
19850
- const words = wordBreakStyledChars(styledChars);
19849
+ var calculateWidths = (styledLine) => {
19850
+ const contentWidth = styledCharsWidth(styledLine);
19851
+ const words = wordBreakStyledChars(styledLine);
19851
19852
  const maxWordWidth = widestLineFromStyledChars(words);
19852
19853
  return { contentWidth, maxWordWidth };
19853
19854
  };
@@ -19858,7 +19859,7 @@ var TableRenderer = ({
19858
19859
  }) => {
19859
19860
  const styledHeaders = (0, import_react7.useMemo)(
19860
19861
  () => headers.map(
19861
- (header) => parseMarkdownToStyledChars(
19862
+ (header) => parseMarkdownToStyledLine(
19862
19863
  stripUnsafeCharacters(header),
19863
19864
  theme.text.link
19864
19865
  )
@@ -19868,7 +19869,7 @@ var TableRenderer = ({
19868
19869
  const styledRows = (0, import_react7.useMemo)(
19869
19870
  () => rows.map(
19870
19871
  (row) => row.map(
19871
- (cell) => parseMarkdownToStyledChars(
19872
+ (cell) => parseMarkdownToStyledLine(
19872
19873
  stripUnsafeCharacters(cell),
19873
19874
  theme.text.primary
19874
19875
  )
@@ -19883,11 +19884,11 @@ var TableRenderer = ({
19883
19884
  );
19884
19885
  const constraints = Array.from({ length: numColumns }).map(
19885
19886
  (_, colIndex) => {
19886
- const headerStyledChars = styledHeaders[colIndex] || [];
19887
- let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledChars);
19887
+ const headerStyledLine = styledHeaders[colIndex] || StyledLine.empty(0);
19888
+ let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledLine);
19888
19889
  styledRows.forEach((row) => {
19889
- const cellStyledChars = row[colIndex] || [];
19890
- const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledChars);
19890
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19891
+ const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledLine);
19891
19892
  maxContentWidth = Math.max(maxContentWidth, cellWidth);
19892
19893
  maxWordWidth = Math.max(maxWordWidth, cellWordWidth);
19893
19894
  });
@@ -19940,11 +19941,11 @@ var TableRenderer = ({
19940
19941
  const wrapAndProcessRow = (row) => {
19941
19942
  const rowResult = [];
19942
19943
  for (let colIndex = 0; colIndex < numColumns; colIndex++) {
19943
- const cellStyledChars = row[colIndex] || [];
19944
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19944
19945
  const allocatedWidth = finalContentWidths[colIndex];
19945
19946
  const contentWidth = Math.max(1, allocatedWidth);
19946
19947
  const wrappedStyledLines = wrapStyledChars(
19947
- cellStyledChars,
19948
+ cellStyledLine,
19948
19949
  contentWidth
19949
19950
  );
19950
19951
  const maxLineWidth = widestLineFromStyledChars(wrappedStyledLines);
@@ -48351,7 +48352,7 @@ ${queuedText}` : queuedText;
48351
48352
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
48352
48353
  if (settings.merged.general.devtools) {
48353
48354
  void (async () => {
48354
- const { toggleDevToolsPanel } = await import("./devtoolsService-STAWBGOY.js");
48355
+ const { toggleDevToolsPanel } = await import("./devtoolsService-7D3WUF33.js");
48355
48356
  await toggleDevToolsPanel(
48356
48357
  config,
48357
48358
  showErrorDetails,
@@ -55,6 +55,7 @@ import {
55
55
  SettingScope,
56
56
  SettingsContext,
57
57
  Static,
58
+ StyledLine,
58
59
  TOGGLE_TYPES,
59
60
  TOOL_STATUS,
60
61
  TOOL_SUCCESS_RATE_HIGH,
@@ -181,7 +182,7 @@ import {
181
182
  widestLineFromStyledChars,
182
183
  wordBreakStyledChars,
183
184
  wrapStyledChars
184
- } from "./chunk-APAYS2LE.js";
185
+ } from "./chunk-FWCJAF6L.js";
185
186
  import {
186
187
  ApiKeyUpdatedEvent,
187
188
  AsyncFzf,
@@ -300,7 +301,7 @@ import {
300
301
  validatePlanContent,
301
302
  validatePlanPath,
302
303
  writeToStdout
303
- } from "./chunk-VA3P26WZ.js";
304
+ } from "./chunk-X6CSYCBW.js";
304
305
  import {
305
306
  ACTIVATE_SKILL_TOOL_NAME,
306
307
  ApprovalMode,
@@ -19858,13 +19859,13 @@ var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
19858
19859
  var MIN_COLUMN_WIDTH = 5;
19859
19860
  var COLUMN_PADDING = 2;
19860
19861
  var TABLE_MARGIN = 2;
19861
- var parseMarkdownToStyledChars = (text, defaultColor) => {
19862
+ var parseMarkdownToStyledLine = (text, defaultColor) => {
19862
19863
  const ansi = parseMarkdownToANSI(text, defaultColor);
19863
19864
  return toStyledCharacters(ansi);
19864
19865
  };
19865
- var calculateWidths = (styledChars) => {
19866
- const contentWidth = styledCharsWidth(styledChars);
19867
- const words = wordBreakStyledChars(styledChars);
19866
+ var calculateWidths = (styledLine) => {
19867
+ const contentWidth = styledCharsWidth(styledLine);
19868
+ const words = wordBreakStyledChars(styledLine);
19868
19869
  const maxWordWidth = widestLineFromStyledChars(words);
19869
19870
  return { contentWidth, maxWordWidth };
19870
19871
  };
@@ -19875,7 +19876,7 @@ var TableRenderer = ({
19875
19876
  }) => {
19876
19877
  const styledHeaders = (0, import_react7.useMemo)(
19877
19878
  () => headers.map(
19878
- (header) => parseMarkdownToStyledChars(
19879
+ (header) => parseMarkdownToStyledLine(
19879
19880
  stripUnsafeCharacters(header),
19880
19881
  theme.text.link
19881
19882
  )
@@ -19885,7 +19886,7 @@ var TableRenderer = ({
19885
19886
  const styledRows = (0, import_react7.useMemo)(
19886
19887
  () => rows.map(
19887
19888
  (row) => row.map(
19888
- (cell) => parseMarkdownToStyledChars(
19889
+ (cell) => parseMarkdownToStyledLine(
19889
19890
  stripUnsafeCharacters(cell),
19890
19891
  theme.text.primary
19891
19892
  )
@@ -19900,11 +19901,11 @@ var TableRenderer = ({
19900
19901
  );
19901
19902
  const constraints = Array.from({ length: numColumns }).map(
19902
19903
  (_, colIndex) => {
19903
- const headerStyledChars = styledHeaders[colIndex] || [];
19904
- let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledChars);
19904
+ const headerStyledLine = styledHeaders[colIndex] || StyledLine.empty(0);
19905
+ let { contentWidth: maxContentWidth, maxWordWidth } = calculateWidths(headerStyledLine);
19905
19906
  styledRows.forEach((row) => {
19906
- const cellStyledChars = row[colIndex] || [];
19907
- const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledChars);
19907
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19908
+ const { contentWidth: cellWidth, maxWordWidth: cellWordWidth } = calculateWidths(cellStyledLine);
19908
19909
  maxContentWidth = Math.max(maxContentWidth, cellWidth);
19909
19910
  maxWordWidth = Math.max(maxWordWidth, cellWordWidth);
19910
19911
  });
@@ -19957,11 +19958,11 @@ var TableRenderer = ({
19957
19958
  const wrapAndProcessRow = (row) => {
19958
19959
  const rowResult = [];
19959
19960
  for (let colIndex = 0; colIndex < numColumns; colIndex++) {
19960
- const cellStyledChars = row[colIndex] || [];
19961
+ const cellStyledLine = row[colIndex] || StyledLine.empty(0);
19961
19962
  const allocatedWidth = finalContentWidths[colIndex];
19962
19963
  const contentWidth = Math.max(1, allocatedWidth);
19963
19964
  const wrappedStyledLines = wrapStyledChars(
19964
- cellStyledChars,
19965
+ cellStyledLine,
19965
19966
  contentWidth
19966
19967
  );
19967
19968
  const maxLineWidth = widestLineFromStyledChars(wrappedStyledLines);
@@ -48368,7 +48369,7 @@ ${queuedText}` : queuedText;
48368
48369
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
48369
48370
  if (settings.merged.general.devtools) {
48370
48371
  void (async () => {
48371
- const { toggleDevToolsPanel } = await import("./devtoolsService-GJALET3B.js");
48372
+ const { toggleDevToolsPanel } = await import("./devtoolsService-NA7MR5UO.js");
48372
48373
  await toggleDevToolsPanel(
48373
48374
  config,
48374
48375
  showErrorDetails,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli-devtools",
3
- "version": "0.36.0-preview.7",
3
+ "version": "0.36.0-preview.8",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-GDBDMLKR.js";
14
+ } from "./chunk-5JDHTAA3.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-VA3P26WZ.js";
14
+ } from "./chunk-X6CSYCBW.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-EHC7O4TG.js";
14
+ } from "./chunk-5Y6Y7SEB.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-NYCY3Q2B.js";
14
+ } from "./chunk-N22U7LIR.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,