@ainative/cody-cli 0.7.17 → 0.7.18

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 (2) hide show
  1. package/dist/cli.js +310 -222
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -125384,7 +125384,7 @@ async function getAINativeProfile(baseUrl, accessToken) {
125384
125384
  },
125385
125385
  organization: {
125386
125386
  uuid: user.organizationId || crypto.randomUUID(),
125387
- name: user.organization || "AINative"
125387
+ name: user.organization || ""
125388
125388
  }
125389
125389
  };
125390
125390
  } catch (error41) {
@@ -125410,7 +125410,7 @@ async function getAINativeProfile(baseUrl, accessToken) {
125410
125410
  },
125411
125411
  organization: {
125412
125412
  uuid: user.organizationId || crypto.randomUUID(),
125413
- name: user.organization || "AINative"
125413
+ name: user.organization || ""
125414
125414
  }
125415
125415
  };
125416
125416
  } catch {
@@ -181024,7 +181024,7 @@ var init_metadata = __esm(() => {
181024
181024
  isClaudeAiAuth: isClaudeAISubscriber(),
181025
181025
  version: "0.7.15",
181026
181026
  versionBase: getVersionBase(),
181027
- buildTime: "1775422356",
181027
+ buildTime: "1775423471",
181028
181028
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
181029
181029
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
181030
181030
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -198282,21 +198282,21 @@ var init_string_width = __esm(() => {
198282
198282
  });
198283
198283
 
198284
198284
  // node_modules/wrap-ansi/index.js
198285
- function wrapAnsi(string4, columns, options) {
198285
+ function wrapAnsi(string4, columns2, options) {
198286
198286
  return String(string4).normalize().replaceAll(`\r
198287
198287
  `, `
198288
198288
  `).split(`
198289
- `).map((line) => exec2(line, columns, options)).join(`
198289
+ `).map((line) => exec2(line, columns2, options)).join(`
198290
198290
  `);
198291
198291
  }
198292
- var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC = "]", ANSI_SGR_TERMINATOR = "m", ANSI_ESCAPE_LINK, wrapAnsiCode = (code) => `${ESCAPES2.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`, wrapAnsiHyperlink = (url3) => `${ESCAPES2.values().next().value}${ANSI_ESCAPE_LINK}${url3}${ANSI_ESCAPE_BELL}`, wordLengths = (string4) => string4.split(" ").map((character) => stringWidth2(character)), wrapWord = (rows, word, columns) => {
198292
+ var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC = "]", ANSI_SGR_TERMINATOR = "m", ANSI_ESCAPE_LINK, wrapAnsiCode = (code) => `${ESCAPES2.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`, wrapAnsiHyperlink = (url3) => `${ESCAPES2.values().next().value}${ANSI_ESCAPE_LINK}${url3}${ANSI_ESCAPE_BELL}`, wordLengths = (string4) => string4.split(" ").map((character) => stringWidth2(character)), wrapWord = (rows, word, columns2) => {
198293
198293
  const characters = [...word];
198294
198294
  let isInsideEscape = false;
198295
198295
  let isInsideLinkEscape = false;
198296
198296
  let visible = stringWidth2(stripAnsi(rows.at(-1)));
198297
198297
  for (const [index, character] of characters.entries()) {
198298
198298
  const characterLength = stringWidth2(character);
198299
- if (visible + characterLength <= columns) {
198299
+ if (visible + characterLength <= columns2) {
198300
198300
  rows[rows.length - 1] += character;
198301
198301
  } else {
198302
198302
  rows.push(character);
@@ -198319,7 +198319,7 @@ var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC
198319
198319
  continue;
198320
198320
  }
198321
198321
  visible += characterLength;
198322
- if (visible === columns && index < characters.length - 1) {
198322
+ if (visible === columns2 && index < characters.length - 1) {
198323
198323
  rows.push("");
198324
198324
  visible = 0;
198325
198325
  }
@@ -198340,7 +198340,7 @@ var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC
198340
198340
  return string4;
198341
198341
  }
198342
198342
  return words.slice(0, last).join(" ") + words.slice(last).join("");
198343
- }, exec2 = (string4, columns, options = {}) => {
198343
+ }, exec2 = (string4, columns2, options = {}) => {
198344
198344
  if (options.trim !== false && string4.trim() === "") {
198345
198345
  return "";
198346
198346
  }
@@ -198355,7 +198355,7 @@ var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC
198355
198355
  }
198356
198356
  let rowLength = stringWidth2(rows.at(-1));
198357
198357
  if (index !== 0) {
198358
- if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
198358
+ if (rowLength >= columns2 && (options.wordWrap === false || options.trim === false)) {
198359
198359
  rows.push("");
198360
198360
  rowLength = 0;
198361
198361
  }
@@ -198364,25 +198364,25 @@ var ESCAPES2, END_CODE = 39, ANSI_ESCAPE_BELL = "\x07", ANSI_CSI = "[", ANSI_OSC
198364
198364
  rowLength++;
198365
198365
  }
198366
198366
  }
198367
- if (options.hard && lengths[index] > columns) {
198368
- const remainingColumns = columns - rowLength;
198369
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
198370
- const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
198367
+ if (options.hard && lengths[index] > columns2) {
198368
+ const remainingColumns = columns2 - rowLength;
198369
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns2);
198370
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns2);
198371
198371
  if (breaksStartingNextLine < breaksStartingThisLine) {
198372
198372
  rows.push("");
198373
198373
  }
198374
- wrapWord(rows, word, columns);
198374
+ wrapWord(rows, word, columns2);
198375
198375
  continue;
198376
198376
  }
198377
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
198378
- if (options.wordWrap === false && rowLength < columns) {
198379
- wrapWord(rows, word, columns);
198377
+ if (rowLength + lengths[index] > columns2 && rowLength > 0 && lengths[index] > 0) {
198378
+ if (options.wordWrap === false && rowLength < columns2) {
198379
+ wrapWord(rows, word, columns2);
198380
198380
  continue;
198381
198381
  }
198382
198382
  rows.push("");
198383
198383
  }
198384
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
198385
- wrapWord(rows, word, columns);
198384
+ if (rowLength + lengths[index] > columns2 && options.wordWrap === false) {
198385
+ wrapWord(rows, word, columns2);
198386
198386
  continue;
198387
198387
  }
198388
198388
  rows[rows.length - 1] += word;
@@ -198451,22 +198451,22 @@ function sliceFit(text, start, end) {
198451
198451
  const s = sliceAnsi(text, start, end);
198452
198452
  return stringWidth(s) > end - start ? sliceAnsi(text, start, end - 1) : s;
198453
198453
  }
198454
- function truncate2(text, columns, position) {
198455
- if (columns < 1)
198454
+ function truncate2(text, columns2, position) {
198455
+ if (columns2 < 1)
198456
198456
  return "";
198457
- if (columns === 1)
198457
+ if (columns2 === 1)
198458
198458
  return ELLIPSIS;
198459
198459
  const length = stringWidth(text);
198460
- if (length <= columns)
198460
+ if (length <= columns2)
198461
198461
  return text;
198462
198462
  if (position === "start") {
198463
- return ELLIPSIS + sliceFit(text, length - columns + 1, length);
198463
+ return ELLIPSIS + sliceFit(text, length - columns2 + 1, length);
198464
198464
  }
198465
198465
  if (position === "middle") {
198466
- const half = Math.floor(columns / 2);
198467
- return sliceFit(text, 0, half) + ELLIPSIS + sliceFit(text, length - (columns - half) + 1, length);
198466
+ const half = Math.floor(columns2 / 2);
198467
+ return sliceFit(text, 0, half) + ELLIPSIS + sliceFit(text, length - (columns2 - half) + 1, length);
198468
198468
  }
198469
- return sliceFit(text, 0, columns - 1) + ELLIPSIS;
198469
+ return sliceFit(text, 0, columns2 - 1) + ELLIPSIS;
198470
198470
  }
198471
198471
  function wrapText2(text, maxWidth, wrapType) {
198472
198472
  if (wrapType === "wrap") {
@@ -202997,10 +202997,10 @@ var init_keyboard_event = __esm(() => {
202997
202997
  });
202998
202998
 
202999
202999
  // src/ink/frame.ts
203000
- function emptyFrame(rows, columns, stylePool, charPool, hyperlinkPool) {
203000
+ function emptyFrame(rows, columns2, stylePool, charPool, hyperlinkPool) {
203001
203001
  return {
203002
203002
  screen: createScreen(0, 0, stylePool, charPool, hyperlinkPool),
203003
- viewport: { width: columns, height: rows },
203003
+ viewport: { width: columns2, height: rows },
203004
203004
  cursor: { x: 0, y: 0, visible: true }
203005
203005
  };
203006
203006
  }
@@ -270173,13 +270173,13 @@ function OutputLine(t0) {
270173
270173
  linkifyUrls
270174
270174
  } = t0;
270175
270175
  const {
270176
- columns
270176
+ columns: columns2
270177
270177
  } = useTerminalSize();
270178
270178
  const expandShellOutput = useExpandShellOutput();
270179
270179
  const inVirtualList = React16.useContext(InVirtualListContext);
270180
270180
  const shouldShowFull = verbose || expandShellOutput;
270181
270181
  let t1;
270182
- if ($3[0] !== columns || $3[1] !== content || $3[2] !== inVirtualList || $3[3] !== linkifyUrls || $3[4] !== shouldShowFull) {
270182
+ if ($3[0] !== columns2 || $3[1] !== content || $3[2] !== inVirtualList || $3[3] !== linkifyUrls || $3[4] !== shouldShowFull) {
270183
270183
  bb0: {
270184
270184
  let formatted = tryJsonFormatContent(content);
270185
270185
  if (linkifyUrls) {
@@ -270189,9 +270189,9 @@ function OutputLine(t0) {
270189
270189
  t1 = stripUnderlineAnsi(formatted);
270190
270190
  break bb0;
270191
270191
  }
270192
- t1 = stripUnderlineAnsi(renderTruncatedContent(formatted, columns, inVirtualList));
270192
+ t1 = stripUnderlineAnsi(renderTruncatedContent(formatted, columns2, inVirtualList));
270193
270193
  }
270194
- $3[0] = columns;
270194
+ $3[0] = columns2;
270195
270195
  $3[1] = content;
270196
270196
  $3[2] = inVirtualList;
270197
270197
  $3[3] = linkifyUrls;
@@ -336470,13 +336470,12 @@ async function installOAuthTokens(tokens) {
336470
336470
  });
336471
336471
  } else if (isAINative) {
336472
336472
  const { randomUUID: randomUUID10 } = await import("crypto");
336473
- const email3 = process.env.AINATIVE_USERNAME || process.env.USER_EMAIL || "admin@ainative.studio";
336474
336473
  storeOAuthAccountInfo({
336475
336474
  accountUuid: randomUUID10(),
336476
- emailAddress: email3,
336475
+ emailAddress: "",
336477
336476
  organizationUuid: undefined
336478
336477
  });
336479
- logForDebugging(`[AINative] Stored fallback account info for ${email3}`);
336478
+ logForDebugging("[AINative] Stored fallback account info (no profile available)");
336480
336479
  }
336481
336480
  const storageResult = saveOAuthTokensIfNeeded(tokens);
336482
336481
  clearOAuthTokenCache();
@@ -337691,7 +337690,7 @@ function TaskListV2({
337691
337690
  const [, forceUpdate] = React22.useState(0);
337692
337691
  const {
337693
337692
  rows,
337694
- columns
337693
+ columns: columns2
337695
337694
  } = useTerminalSize();
337696
337695
  const completionTimestampsRef = React22.useRef(new Map);
337697
337696
  const previousCompletedIdsRef = React22.useRef(null);
@@ -337824,7 +337823,7 @@ function TaskListV2({
337824
337823
  openBlockers: task_0.blockedBy.filter((id_3) => unresolvedTaskIds.has(id_3)),
337825
337824
  activity: task_0.owner ? teammateActivity[task_0.owner] : undefined,
337826
337825
  ownerActive: task_0.owner ? activeTeammates.has(task_0.owner) : false,
337827
- columns
337826
+ columns: columns2
337828
337827
  }, task_0.id, false, undefined, this)),
337829
337828
  maxDisplay > 0 && hiddenSummary && /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedText, {
337830
337829
  dimColor: true,
@@ -337905,7 +337904,7 @@ function TaskItem(t0) {
337905
337904
  openBlockers,
337906
337905
  activity,
337907
337906
  ownerActive,
337908
- columns
337907
+ columns: columns2
337909
337908
  } = t0;
337910
337909
  const isCompleted = task.status === "completed";
337911
337910
  const isInProgress = task.status === "in_progress";
@@ -337923,7 +337922,7 @@ function TaskItem(t0) {
337923
337922
  color: color2
337924
337923
  } = t1;
337925
337924
  const showActivity = isInProgress && !isBlocked && activity;
337926
- const showOwner = columns >= 60 && task.owner && ownerActive;
337925
+ const showOwner = columns2 >= 60 && task.owner && ownerActive;
337927
337926
  let t2;
337928
337927
  if ($3[2] !== showOwner || $3[3] !== task.owner) {
337929
337928
  t2 = showOwner ? stringWidth(` (@${task.owner})`) : 0;
@@ -337934,7 +337933,7 @@ function TaskItem(t0) {
337934
337933
  t2 = $3[4];
337935
337934
  }
337936
337935
  const ownerWidth = t2;
337937
- const maxSubjectWidth = Math.max(15, columns - 15 - ownerWidth);
337936
+ const maxSubjectWidth = Math.max(15, columns2 - 15 - ownerWidth);
337938
337937
  let t3;
337939
337938
  if ($3[5] !== maxSubjectWidth || $3[6] !== task.subject) {
337940
337939
  t3 = truncateToWidth(task.subject, maxSubjectWidth);
@@ -337945,7 +337944,7 @@ function TaskItem(t0) {
337945
337944
  t3 = $3[7];
337946
337945
  }
337947
337946
  const displaySubject = t3;
337948
- const maxActivityWidth = Math.max(15, columns - 15);
337947
+ const maxActivityWidth = Math.max(15, columns2 - 15);
337949
337948
  let t4;
337950
337949
  if ($3[8] !== activity || $3[9] !== maxActivityWidth) {
337951
337950
  t4 = activity ? truncateToWidth(activity, maxActivityWidth) : undefined;
@@ -338992,7 +338991,7 @@ function SpinnerAnimationRow({
338992
338991
  pauseStartTimeRef,
338993
338992
  spinnerSuffix,
338994
338993
  verbose,
338995
- columns,
338994
+ columns: columns2,
338996
338995
  hasRunningTeammates,
338997
338996
  teammateTokens,
338998
338997
  foregroundedTeammate,
@@ -339052,7 +339051,7 @@ function SpinnerAnimationRow({
339052
339051
  const sep11 = SEP_WIDTH;
339053
339052
  const wantsThinking = thinkingStatus !== null;
339054
339053
  const wantsTimerAndTokens = verbose || hasRunningTeammates || effectiveElapsedMs > SHOW_TOKENS_AFTER_MS;
339055
- const availableSpace = columns - messageWidth - 5;
339054
+ const availableSpace = columns2 - messageWidth - 5;
339056
339055
  let showThinking = wantsThinking && availableSpace > thinkingWidthValue;
339057
339056
  if (!showThinking && wantsThinking && thinkingStatus === "thinking" && effortSuffix) {
339058
339057
  if (availableSpace > THINKING_BARE_WIDTH) {
@@ -343233,7 +343232,7 @@ function TeammateSpinnerLine({
343233
343232
  const treeChar = isHighlighted ? isLast ? "╘═" : "╞═" : isLast ? "└─" : "├─";
343234
343233
  const nameColor = toInkColor(teammate.identity.color);
343235
343234
  const {
343236
- columns
343235
+ columns: columns2
343237
343236
  } = useTerminalSize();
343238
343237
  const idleStartRef = import_react57.useRef(null);
343239
343238
  const frozenDurationRef = import_react57.useRef(null);
@@ -343264,10 +343263,10 @@ function TeammateSpinnerLine({
343264
343263
  const viewHintText = " · enter to view";
343265
343264
  const viewHintWidth = stringWidth(viewHintText);
343266
343265
  const minActivityWidth = 25;
343267
- const spaceWithFullName = columns - basePrefix - fullNameWidth - 2;
343268
- const showName = columns >= 60 && spaceWithFullName >= minActivityWidth;
343266
+ const spaceWithFullName = columns2 - basePrefix - fullNameWidth - 2;
343267
+ const showName = columns2 >= 60 && spaceWithFullName >= minActivityWidth;
343269
343268
  const nameWidth = showName ? fullNameWidth + 2 : 0;
343270
- const availableForActivity = columns - basePrefix - nameWidth;
343269
+ const availableForActivity = columns2 - basePrefix - nameWidth;
343271
343270
  const showViewHint = isSelected && !isForegrounded && availableForActivity > viewHintWidth + statsWidth + minActivityWidth + 5;
343272
343271
  const showSelectHint = isHighlighted && availableForActivity > selectHintWidth + (showViewHint ? viewHintWidth : 0) + statsWidth + minActivityWidth + 5;
343273
343272
  const showStats = availableForActivity > statsWidth + minActivityWidth + 5;
@@ -343827,7 +343826,7 @@ function SpinnerWithVerbInner({
343827
343826
  tasks
343828
343827
  }) : undefined;
343829
343828
  const {
343830
- columns
343829
+ columns: columns2
343831
343830
  } = useTerminalSize();
343832
343831
  const tasksV2 = useTasksV2();
343833
343832
  const [thinkingStatus, setThinkingStatus] = import_react58.useState(null);
@@ -343982,7 +343981,7 @@ function SpinnerWithVerbInner({
343982
343981
  pauseStartTimeRef,
343983
343982
  spinnerSuffix,
343984
343983
  verbose,
343985
- columns,
343984
+ columns: columns2,
343986
343985
  hasRunningTeammates,
343987
343986
  teammateTokens,
343988
343987
  foregroundedTeammate,
@@ -344031,7 +344030,7 @@ function BriefIdleStatus() {
344031
344030
  const connStatus = useAppState(_temp73);
344032
344031
  const runningCount = useAppState(_temp82);
344033
344032
  const {
344034
- columns
344033
+ columns: columns2
344035
344034
  } = useTerminalSize();
344036
344035
  const showConnWarning = connStatus === "reconnecting" || connStatus === "disconnected";
344037
344036
  const connText = connStatus === "reconnecting" ? "Reconnecting…" : "Disconnected";
@@ -344049,7 +344048,7 @@ function BriefIdleStatus() {
344049
344048
  }
344050
344049
  return t02;
344051
344050
  }
344052
- const pad = Math.max(1, columns - 2 - stringWidth(leftText) - stringWidth(rightText));
344051
+ const pad = Math.max(1, columns2 - 2 - stringWidth(leftText) - stringWidth(rightText));
344053
344052
  let t0;
344054
344053
  if ($3[1] !== leftText) {
344055
344054
  t0 = leftText ? /* @__PURE__ */ jsx_dev_runtime70.jsxDEV(ThemedText, {
@@ -344247,6 +344246,8 @@ function ConsoleOAuthFlow({
344247
344246
  };
344248
344247
  });
344249
344248
  const [pastedCode, setPastedCode] = import_react59.useState("");
344249
+ const [apiKeyInput2, setApiKeyInput2] = import_react59.useState("");
344250
+ const [apiKeyCursorOffset2, setApiKeyCursorOffset2] = import_react59.useState(0);
344250
344251
  const [cursorOffset, setCursorOffset] = import_react59.useState(0);
344251
344252
  const [oauthService] = import_react59.useState(() => new OAuthService);
344252
344253
  const [loginWithClaudeAi, setLoginWithClaudeAi] = import_react59.useState(() => {
@@ -344549,7 +344550,7 @@ function OAuthStatusMessage(t0) {
344549
344550
  } = t0;
344550
344551
  switch (oauthStatus.state) {
344551
344552
  case "idle": {
344552
- const t1 = startingMessage ? startingMessage : "Cody CLI can be used with your AINative subscription or billed based on API usage through your AINative Console account.";
344553
+ const t1 = startingMessage ? startingMessage : "Sign in to Cody CLI with your AINative account.";
344553
344554
  let t2;
344554
344555
  if ($3[0] !== t1) {
344555
344556
  t2 = /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
@@ -344575,13 +344576,12 @@ function OAuthStatusMessage(t0) {
344575
344576
  t4 = {
344576
344577
  label: /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344577
344578
  children: [
344578
- "AINative account with subscription ·",
344579
+ "AINative OAuth login ·",
344579
344580
  " ",
344580
344581
  /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344581
344582
  dimColor: true,
344582
- children: "Pro, Team, or Enterprise"
344583
+ children: "Sign in via browser"
344583
344584
  }, undefined, false, undefined, this),
344584
- false,
344585
344585
  `
344586
344586
  `
344587
344587
  ]
@@ -344597,17 +344597,17 @@ function OAuthStatusMessage(t0) {
344597
344597
  t5 = {
344598
344598
  label: /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344599
344599
  children: [
344600
- "AINative Console account ·",
344600
+ "AINative API key ·",
344601
344601
  " ",
344602
344602
  /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344603
344603
  dimColor: true,
344604
- children: "API usage billing"
344604
+ children: "Paste your sk_ key"
344605
344605
  }, undefined, false, undefined, this),
344606
344606
  `
344607
344607
  `
344608
344608
  ]
344609
344609
  }, undefined, true, undefined, this),
344610
- value: "console"
344610
+ value: "apikey"
344611
344611
  };
344612
344612
  $3[4] = t5;
344613
344613
  } else {
@@ -344645,17 +344645,17 @@ function OAuthStatusMessage(t0) {
344645
344645
  setOAuthStatus({
344646
344646
  state: "platform_setup"
344647
344647
  });
344648
+ } else if (value_0 === "apikey") {
344649
+ logEvent("tengu_oauth_apikey_selected", {});
344650
+ setOAuthStatus({
344651
+ state: "api_key_input"
344652
+ });
344648
344653
  } else {
344649
344654
  setOAuthStatus({
344650
344655
  state: "ready_to_start"
344651
344656
  });
344652
- if (value_0 === "claudeai") {
344653
- logEvent("tengu_oauth_claudeai_selected", {});
344654
- setLoginWithClaudeAi(true);
344655
- } else {
344656
- logEvent("tengu_oauth_console_selected", {});
344657
- setLoginWithClaudeAi(false);
344658
- }
344657
+ logEvent("tengu_oauth_claudeai_selected", {});
344658
+ setLoginWithClaudeAi(true);
344659
344659
  }
344660
344660
  }
344661
344661
  }, undefined, false, undefined, this)
@@ -344818,6 +344818,93 @@ function OAuthStatusMessage(t0) {
344818
344818
  }
344819
344819
  return t8;
344820
344820
  }
344821
+ case "api_key_input": {
344822
+ const apiKeyColumns = columns - 22;
344823
+ return /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedBox_default, {
344824
+ flexDirection: "column",
344825
+ gap: 1,
344826
+ marginTop: 1,
344827
+ children: [
344828
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344829
+ bold: true,
344830
+ children: "Enter your AINative API key"
344831
+ }, undefined, false, undefined, this),
344832
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344833
+ dimColor: true,
344834
+ children: "Paste your sk_ prefixed API key below."
344835
+ }, undefined, false, undefined, this),
344836
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedBox_default, {
344837
+ children: [
344838
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344839
+ children: "API key: "
344840
+ }, undefined, false, undefined, this),
344841
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(TextInput, {
344842
+ value: apiKeyInput,
344843
+ onChange: setApiKeyInput,
344844
+ onSubmit: async (value) => {
344845
+ const key = value.trim();
344846
+ if (!key)
344847
+ return;
344848
+ if (!key.startsWith("sk_")) {
344849
+ setOAuthStatus({
344850
+ state: "error",
344851
+ message: "Invalid API key. AINative API keys start with sk_",
344852
+ toRetry: { state: "api_key_input" }
344853
+ });
344854
+ return;
344855
+ }
344856
+ const normalized = key.slice(-20);
344857
+ saveGlobalConfig((current) => {
344858
+ const approved = current.customApiKeyResponses?.approved ?? [];
344859
+ if (!approved.includes(normalized)) {
344860
+ approved.push(normalized);
344861
+ }
344862
+ return {
344863
+ ...current,
344864
+ customApiKeyResponses: {
344865
+ ...current.customApiKeyResponses,
344866
+ approved,
344867
+ rejected: (current.customApiKeyResponses?.rejected ?? []).filter((r) => r !== normalized)
344868
+ },
344869
+ ainativeSubscriptionCache: {
344870
+ planId: "api",
344871
+ planName: "API",
344872
+ status: "active",
344873
+ isActive: true,
344874
+ price: 0,
344875
+ fetchedAt: Date.now()
344876
+ },
344877
+ ainativePlanCache: "AINative API"
344878
+ };
344879
+ });
344880
+ process.env.ANTHROPIC_API_KEY = key;
344881
+ logEvent("tengu_oauth_apikey_saved", {});
344882
+ setOAuthStatus({ state: "success" });
344883
+ },
344884
+ cursorOffset: apiKeyCursorOffset,
344885
+ onChangeCursorOffset: setApiKeyCursorOffset,
344886
+ columns: apiKeyColumns,
344887
+ mask: "*"
344888
+ }, undefined, false, undefined, this)
344889
+ ]
344890
+ }, undefined, true, undefined, this),
344891
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedBox_default, {
344892
+ marginTop: 1,
344893
+ children: /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344894
+ dimColor: true,
344895
+ children: [
344896
+ "Press ",
344897
+ /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(ThemedText, {
344898
+ bold: true,
344899
+ children: "Esc"
344900
+ }, undefined, false, undefined, this),
344901
+ " to go back."
344902
+ ]
344903
+ }, undefined, true, undefined, this)
344904
+ }, undefined, false, undefined, this)
344905
+ ]
344906
+ }, undefined, true, undefined, this);
344907
+ }
344821
344908
  case "waiting_for_login": {
344822
344909
  let t1;
344823
344910
  if ($3[20] !== forcedMethodMessage) {
@@ -345054,6 +345141,7 @@ var init_ConsoleOAuthFlow = __esm(() => {
345054
345141
  init_notifier();
345055
345142
  init_oauth2();
345056
345143
  init_auth2();
345144
+ init_config2();
345057
345145
  init_log3();
345058
345146
  init_settings2();
345059
345147
  init_select();
@@ -352435,7 +352523,7 @@ function StopHookSummaryMessage(t0) {
352435
352523
  stopReason
352436
352524
  } = message;
352437
352525
  const {
352438
- columns
352526
+ columns: columns2
352439
352527
  } = useTerminalSize();
352440
352528
  let t1;
352441
352529
  if ($3[0] !== hookInfos || $3[1] !== message.totalDurationMs) {
@@ -352526,7 +352614,7 @@ function StopHookSummaryMessage(t0) {
352526
352614
  } else {
352527
352615
  t4 = $3[16];
352528
352616
  }
352529
- const t5 = columns - 10;
352617
+ const t5 = columns2 - 10;
352530
352618
  let t6;
352531
352619
  if ($3[17] !== hookCount) {
352532
352620
  t6 = /* @__PURE__ */ jsx_dev_runtime105.jsxDEV(ThemedText, {
@@ -352699,7 +352787,7 @@ function SystemTextMessageInner(t0) {
352699
352787
  dimColor
352700
352788
  } = t0;
352701
352789
  const {
352702
- columns
352790
+ columns: columns2
352703
352791
  } = useTerminalSize();
352704
352792
  const bg = useSelectedMessageBg();
352705
352793
  const t1 = addMargin ? 1 : 0;
@@ -352720,7 +352808,7 @@ function SystemTextMessageInner(t0) {
352720
352808
  } else {
352721
352809
  t2 = $3[3];
352722
352810
  }
352723
- const t3 = columns - 10;
352811
+ const t3 = columns2 - 10;
352724
352812
  let t4;
352725
352813
  if ($3[4] !== content) {
352726
352814
  t4 = content.trim();
@@ -353409,7 +353497,7 @@ function UserToolRejectMessage(t0) {
353409
353497
  isTranscriptMode
353410
353498
  } = t0;
353411
353499
  const {
353412
- columns
353500
+ columns: columns2
353413
353501
  } = useTerminalSize();
353414
353502
  const [theme] = useTheme();
353415
353503
  if (!tool || !tool.renderToolUseRejectedMessage) {
@@ -353425,7 +353513,7 @@ function UserToolRejectMessage(t0) {
353425
353513
  const t1 = tool.inputSchema;
353426
353514
  let t2;
353427
353515
  let t3;
353428
- if ($3[1] !== columns || $3[2] !== input || $3[3] !== isTranscriptMode || $3[4] !== progressMessagesForMessage || $3[5] !== style || $3[6] !== theme || $3[7] !== tool || $3[8] !== tools || $3[9] !== verbose) {
353516
+ if ($3[1] !== columns2 || $3[2] !== input || $3[3] !== isTranscriptMode || $3[4] !== progressMessagesForMessage || $3[5] !== style || $3[6] !== theme || $3[7] !== tool || $3[8] !== tools || $3[9] !== verbose) {
353429
353517
  t3 = Symbol.for("react.early_return_sentinel");
353430
353518
  bb0: {
353431
353519
  const parsedInput = t1.safeParse(input);
@@ -353441,7 +353529,7 @@ function UserToolRejectMessage(t0) {
353441
353529
  break bb0;
353442
353530
  }
353443
353531
  t2 = tool.renderToolUseRejectedMessage(parsedInput.data, {
353444
- columns,
353532
+ columns: columns2,
353445
353533
  messages: [],
353446
353534
  tools,
353447
353535
  verbose,
@@ -353451,7 +353539,7 @@ function UserToolRejectMessage(t0) {
353451
353539
  isTranscriptMode
353452
353540
  }) ?? /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(FallbackToolUseRejectedMessage, {}, undefined, false, undefined, this);
353453
353541
  }
353454
- $3[1] = columns;
353542
+ $3[1] = columns2;
353455
353543
  $3[2] = input;
353456
353544
  $3[3] = isTranscriptMode;
353457
353545
  $3[4] = progressMessagesForMessage;
@@ -354104,7 +354192,7 @@ function UserMessage(t0) {
354104
354192
  isTranscriptMode
354105
354193
  } = t0;
354106
354194
  const {
354107
- columns
354195
+ columns: columns2
354108
354196
  } = useTerminalSize();
354109
354197
  switch (param.type) {
354110
354198
  case "text": {
@@ -354147,7 +354235,7 @@ function UserMessage(t0) {
354147
354235
  return t2;
354148
354236
  }
354149
354237
  case "tool_result": {
354150
- const t1 = columns - 5;
354238
+ const t1 = columns2 - 5;
354151
354239
  let t2;
354152
354240
  if ($3[10] !== isTranscriptMode || $3[11] !== lookups || $3[12] !== message || $3[13] !== param || $3[14] !== progressMessagesForMessage || $3[15] !== style || $3[16] !== t1 || $3[17] !== tools || $3[18] !== verbose) {
354153
354241
  t2 = /* @__PURE__ */ jsx_dev_runtime114.jsxDEV(UserToolResultMessage, {
@@ -378588,7 +378676,7 @@ function FileEditToolUseRejectedMessage(t0) {
378588
378676
  verbose
378589
378677
  } = t0;
378590
378678
  const {
378591
- columns
378679
+ columns: columns2
378592
378680
  } = useTerminalSize();
378593
378681
  let t1;
378594
378682
  if ($3[0] !== operation) {
@@ -378675,7 +378763,7 @@ function FileEditToolUseRejectedMessage(t0) {
378675
378763
  }
378676
378764
  const truncatedContent = t52;
378677
378765
  const t62 = truncatedContent || "(No content)";
378678
- const t72 = columns - 12;
378766
+ const t72 = columns2 - 12;
378679
378767
  let t8;
378680
378768
  if ($3[16] !== file_path || $3[17] !== t62 || $3[18] !== t72) {
378681
378769
  t8 = /* @__PURE__ */ jsx_dev_runtime129.jsxDEV(HighlightedCode, {
@@ -378741,7 +378829,7 @@ function FileEditToolUseRejectedMessage(t0) {
378741
378829
  }
378742
378830
  return t52;
378743
378831
  }
378744
- const t5 = columns - 12;
378832
+ const t5 = columns2 - 12;
378745
378833
  let t6;
378746
378834
  if ($3[29] !== fileContent || $3[30] !== file_path || $3[31] !== firstLine || $3[32] !== patch || $3[33] !== t5) {
378747
378835
  t6 = /* @__PURE__ */ jsx_dev_runtime129.jsxDEV(StructuredDiffList, {
@@ -378805,7 +378893,7 @@ function FileEditToolUpdatedMessage(t0) {
378805
378893
  previewHint
378806
378894
  } = t0;
378807
378895
  const {
378808
- columns
378896
+ columns: columns2
378809
378897
  } = useTerminalSize();
378810
378898
  const numAdditions = structuredPatch2.reduce(_temp211, 0);
378811
378899
  const numRemovals = structuredPatch2.reduce(_temp46, 0);
@@ -378897,7 +378985,7 @@ function FileEditToolUpdatedMessage(t0) {
378897
378985
  } else {
378898
378986
  t5 = $3[12];
378899
378987
  }
378900
- const t6 = columns - 12;
378988
+ const t6 = columns2 - 12;
378901
378989
  let t7;
378902
378990
  if ($3[13] !== fileContent || $3[14] !== filePath || $3[15] !== firstLine || $3[16] !== structuredPatch2 || $3[17] !== t6) {
378903
378991
  t7 = /* @__PURE__ */ jsx_dev_runtime130.jsxDEV(StructuredDiffList, {
@@ -380176,7 +380264,7 @@ function FileWriteToolCreatedMessage(t0) {
380176
380264
  verbose
380177
380265
  } = t0;
380178
380266
  const {
380179
- columns
380267
+ columns: columns2
380180
380268
  } = useTerminalSize();
380181
380269
  const contentWithFallback = content || "(No content)";
380182
380270
  const numLines = countLines(content);
@@ -380240,7 +380328,7 @@ function FileWriteToolCreatedMessage(t0) {
380240
380328
  } else {
380241
380329
  t5 = $3[12];
380242
380330
  }
380243
- const t6 = columns - 12;
380331
+ const t6 = columns2 - 12;
380244
380332
  let t7;
380245
380333
  if ($3[13] !== filePath || $3[14] !== t5 || $3[15] !== t6) {
380246
380334
  t7 = /* @__PURE__ */ jsx_dev_runtime132.jsxDEV(ThemedBox_default, {
@@ -418908,7 +418996,7 @@ function getAnthropicEnvMetadata() {
418908
418996
  function getBuildAgeMinutes() {
418909
418997
  if (false)
418910
418998
  ;
418911
- const buildTime = new Date("1775422356").getTime();
418999
+ const buildTime = new Date("1775423471").getTime();
418912
419000
  if (isNaN(buildTime))
418913
419001
  return;
418914
419002
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -438754,8 +438842,8 @@ class Cursor {
438754
438842
  this.selection = selection;
438755
438843
  this.offset = Math.max(0, Math.min(this.text.length, offset));
438756
438844
  }
438757
- static fromText(text2, columns, offset = 0, selection = 0) {
438758
- return new Cursor(new MeasuredText(text2, columns - 1), offset, selection);
438845
+ static fromText(text2, columns2, offset = 0, selection = 0) {
438846
+ return new Cursor(new MeasuredText(text2, columns2 - 1), offset, selection);
438759
438847
  }
438760
438848
  getViewportStartLine(maxVisibleLines) {
438761
438849
  if (maxVisibleLines === undefined || maxVisibleLines <= 0)
@@ -439410,8 +439498,8 @@ class MeasuredText {
439410
439498
  text;
439411
439499
  navigationCache;
439412
439500
  graphemeBoundaries;
439413
- constructor(text2, columns) {
439414
- this.columns = columns;
439501
+ constructor(text2, columns2) {
439502
+ this.columns = columns2;
439415
439503
  this.text = text2.normalize("NFC");
439416
439504
  this.navigationCache = new Map;
439417
439505
  }
@@ -439723,7 +439811,7 @@ function useTextInput({
439723
439811
  multiline = false,
439724
439812
  cursorChar,
439725
439813
  invert,
439726
- columns,
439814
+ columns: columns2,
439727
439815
  onImagePaste: _onImagePaste,
439728
439816
  disableCursorMovementForUpDownKeys = false,
439729
439817
  disableEscapeDoublePress = false,
@@ -439739,7 +439827,7 @@ function useTextInput({
439739
439827
  }
439740
439828
  const offset = externalOffset;
439741
439829
  const setOffset = onOffsetChange;
439742
- const cursor = Cursor.fromText(originalValue, columns, offset);
439830
+ const cursor = Cursor.fromText(originalValue, columns2, offset);
439743
439831
  const { addNotification, removeNotification } = useNotifications();
439744
439832
  const handleCtrlC = useDoublePress((show) => {
439745
439833
  onExitMessage?.(show, "Ctrl-C");
@@ -439826,7 +439914,7 @@ function useTextInput({
439826
439914
  const newText = before + text2 + after;
439827
439915
  const newOffset = start + text2.length;
439828
439916
  updateYankLength(text2.length);
439829
- return Cursor.fromText(newText, columns, newOffset);
439917
+ return Cursor.fromText(newText, columns2, newOffset);
439830
439918
  }
439831
439919
  const handleCtrl = mapInput([
439832
439920
  ["a", () => cursor.startOfLine()],
@@ -440982,7 +441070,7 @@ var init_PromptInputFooterSuggestions = __esm(() => {
440982
441070
  maxColumnWidth,
440983
441071
  isSelected
440984
441072
  } = t0;
440985
- const columns = useTerminalSize().columns;
441073
+ const columns2 = useTerminalSize().columns;
440986
441074
  const isUnified = isUnifiedSuggestion(item.id);
440987
441075
  if (isUnified) {
440988
441076
  let t12;
@@ -441010,7 +441098,7 @@ var init_PromptInputFooterSuggestions = __esm(() => {
441010
441098
  t23 = $3[3];
441011
441099
  }
441012
441100
  const descReserve = t23;
441013
- const maxPathLength = columns - 2 - 4 - separatorWidth - descReserve;
441101
+ const maxPathLength = columns2 - 2 - 4 - separatorWidth - descReserve;
441014
441102
  let t32;
441015
441103
  if ($3[4] !== item.displayText || $3[5] !== maxPathLength) {
441016
441104
  t32 = truncatePathMiddle(item.displayText, maxPathLength);
@@ -441036,7 +441124,7 @@ var init_PromptInputFooterSuggestions = __esm(() => {
441036
441124
  displayText = item.displayText;
441037
441125
  }
441038
441126
  }
441039
- const availableWidth = columns - 2 - stringWidth(displayText) - separatorWidth - 4;
441127
+ const availableWidth = columns2 - 2 - stringWidth(displayText) - separatorWidth - 4;
441040
441128
  let lineContent;
441041
441129
  if (item.description) {
441042
441130
  const maxDescLength = Math.max(0, availableWidth);
@@ -441071,7 +441159,7 @@ var init_PromptInputFooterSuggestions = __esm(() => {
441071
441159
  }
441072
441160
  return t22;
441073
441161
  }
441074
- const maxNameWidth = Math.floor(columns * 0.4);
441162
+ const maxNameWidth = Math.floor(columns2 * 0.4);
441075
441163
  const displayTextWidth = Math.min(maxColumnWidth ?? stringWidth(item.displayText) + 5, maxNameWidth);
441076
441164
  const textColor_0 = item.color || (isSelected ? "suggestion" : undefined);
441077
441165
  const shouldDim = !isSelected;
@@ -441092,7 +441180,7 @@ var init_PromptInputFooterSuggestions = __esm(() => {
441092
441180
  const paddedDisplayText = displayText_0 + " ".repeat(Math.max(0, displayTextWidth - stringWidth(displayText_0)));
441093
441181
  const tagText = item.tag ? `[${item.tag}] ` : "";
441094
441182
  const tagWidth = stringWidth(tagText);
441095
- const descriptionWidth = Math.max(0, columns - displayTextWidth - tagWidth - 4);
441183
+ const descriptionWidth = Math.max(0, columns2 - displayTextWidth - tagWidth - 4);
441096
441184
  let t1;
441097
441185
  if ($3[19] !== descriptionWidth || $3[20] !== item.description) {
441098
441186
  t1 = item.description ? truncateToWidth(item.description.replace(/\s+/g, " "), descriptionWidth) : "";
@@ -446172,7 +446260,7 @@ function ThemePicker(t0) {
446172
446260
  const [theme] = useTheme();
446173
446261
  const themeSetting = useThemeSetting();
446174
446262
  const {
446175
- columns
446263
+ columns: columns2
446176
446264
  } = useTerminalSize();
446177
446265
  let t6;
446178
446266
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
@@ -446399,7 +446487,7 @@ function ThemePicker(t0) {
446399
446487
  t20 = $3[34];
446400
446488
  }
446401
446489
  let t21;
446402
- if ($3[35] !== columns) {
446490
+ if ($3[35] !== columns2) {
446403
446491
  t21 = /* @__PURE__ */ jsx_dev_runtime171.jsxDEV(ThemedBox_default, {
446404
446492
  flexDirection: "column",
446405
446493
  borderTop: true,
@@ -446413,10 +446501,10 @@ function ThemePicker(t0) {
446413
446501
  dim: false,
446414
446502
  filePath: "demo.js",
446415
446503
  firstLine: null,
446416
- width: columns
446504
+ width: columns2
446417
446505
  }, undefined, false, undefined, this)
446418
446506
  }, undefined, false, undefined, this);
446419
- $3[35] = columns;
446507
+ $3[35] = columns2;
446420
446508
  $3[36] = t21;
446421
446509
  } else {
446422
446510
  t21 = $3[36];
@@ -447901,13 +447989,13 @@ function useSearchInput({
447901
447989
  onExit: onExit2,
447902
447990
  onCancel,
447903
447991
  onExitUp,
447904
- columns,
447992
+ columns: columns2,
447905
447993
  passthroughCtrlKeys = [],
447906
447994
  initialQuery = "",
447907
447995
  backspaceExitsOnEmpty = true
447908
447996
  }) {
447909
447997
  const { columns: terminalColumns } = useTerminalSize();
447910
- const effectiveColumns = columns ?? terminalColumns;
447998
+ const effectiveColumns = columns2 ?? terminalColumns;
447911
447999
  const [query2, setQueryState] = import_react104.useState(initialQuery);
447912
448000
  const [cursorOffset, setCursorOffset] = import_react104.useState(initialQuery.length);
447913
448001
  const setQuery = import_react104.useCallback((q2) => {
@@ -450320,9 +450408,9 @@ function Usage() {
450320
450408
  const [error43, setError] = import_react107.useState(null);
450321
450409
  const [isLoading, setIsLoading] = import_react107.useState(true);
450322
450410
  const {
450323
- columns
450411
+ columns: columns2
450324
450412
  } = useTerminalSize();
450325
- const availableWidth = columns - 2;
450413
+ const availableWidth = columns2 - 2;
450326
450414
  const maxWidth = Math.min(availableWidth, 80);
450327
450415
  const loadUtilization = React53.useCallback(async () => {
450328
450416
  setIsLoading(true);
@@ -451903,12 +451991,12 @@ function extractFirstFrame(output) {
451903
451991
  return output;
451904
451992
  return output.slice(contentStart, endIndex);
451905
451993
  }
451906
- function renderToAnsiString(node, columns) {
451994
+ function renderToAnsiString(node, columns2) {
451907
451995
  return new Promise(async (resolve37) => {
451908
451996
  let output = "";
451909
451997
  const stream4 = new PassThrough3;
451910
- if (columns !== undefined) {
451911
- stream4.columns = columns;
451998
+ if (columns2 !== undefined) {
451999
+ stream4.columns = columns2;
451912
452000
  }
451913
452001
  stream4.on("data", (chunk) => {
451914
452002
  output += chunk.toString();
@@ -451923,8 +452011,8 @@ function renderToAnsiString(node, columns) {
451923
452011
  await resolve37(extractFirstFrame(output));
451924
452012
  });
451925
452013
  }
451926
- async function renderToString(node, columns) {
451927
- const output = await renderToAnsiString(node, columns);
452014
+ async function renderToString(node, columns2) {
452015
+ const output = await renderToAnsiString(node, columns2);
451928
452016
  return stripAnsi(output);
451929
452017
  }
451930
452018
  var import_compiler_runtime148, import_react109, jsx_dev_runtime186, SYNC_START = "\x1B[?2026h", SYNC_END = "\x1B[?2026l";
@@ -452443,7 +452531,7 @@ function DiffDetailView(t0) {
452443
452531
  isUntracked
452444
452532
  } = t0;
452445
452533
  const {
452446
- columns
452534
+ columns: columns2
452447
452535
  } = useTerminalSize();
452448
452536
  let t1;
452449
452537
  bb0: {
@@ -452746,7 +452834,7 @@ function DiffDetailView(t0) {
452746
452834
  t5 = $3[38];
452747
452835
  }
452748
452836
  let t6;
452749
- if ($3[39] !== columns || $3[40] !== fileContent || $3[41] !== filePath || $3[42] !== firstLine || $3[43] !== hunks) {
452837
+ if ($3[39] !== columns2 || $3[40] !== fileContent || $3[41] !== filePath || $3[42] !== firstLine || $3[43] !== hunks) {
452750
452838
  t6 = hunks.length === 0 ? /* @__PURE__ */ jsx_dev_runtime188.jsxDEV(ThemedText, {
452751
452839
  dimColor: true,
452752
452840
  children: "No diff content"
@@ -452756,9 +452844,9 @@ function DiffDetailView(t0) {
452756
452844
  firstLine,
452757
452845
  fileContent,
452758
452846
  dim: false,
452759
- width: columns - 2 - 2
452847
+ width: columns2 - 2 - 2
452760
452848
  }, index, false, undefined, this));
452761
- $3[39] = columns;
452849
+ $3[39] = columns2;
452762
452850
  $3[40] = fileContent;
452763
452851
  $3[41] = filePath;
452764
452852
  $3[42] = firstLine;
@@ -452831,7 +452919,7 @@ function DiffFileList(t0) {
452831
452919
  selectedIndex
452832
452920
  } = t0;
452833
452921
  const {
452834
- columns
452922
+ columns: columns2
452835
452923
  } = useTerminalSize();
452836
452924
  let t1;
452837
452925
  bb0: {
@@ -452893,12 +452981,12 @@ function DiffFileList(t0) {
452893
452981
  let t2;
452894
452982
  let t3;
452895
452983
  let t4;
452896
- if ($3[6] !== columns || $3[7] !== endIndex || $3[8] !== files || $3[9] !== selectedIndex || $3[10] !== startIndex) {
452984
+ if ($3[6] !== columns2 || $3[7] !== endIndex || $3[8] !== files || $3[9] !== selectedIndex || $3[10] !== startIndex) {
452897
452985
  const visibleFiles = files.slice(startIndex, endIndex);
452898
452986
  const hasMoreAbove = startIndex > 0;
452899
452987
  hasMoreBelow = endIndex < files.length;
452900
452988
  needsPagination = files.length > MAX_VISIBLE_FILES;
452901
- const maxPathWidth = Math.max(20, columns - 16 - 3 - 4);
452989
+ const maxPathWidth = Math.max(20, columns2 - 16 - 3 - 4);
452902
452990
  T0 = ThemedBox_default;
452903
452991
  t2 = "column";
452904
452992
  if ($3[17] !== hasMoreAbove || $3[18] !== needsPagination || $3[19] !== startIndex) {
@@ -452928,7 +453016,7 @@ function DiffFileList(t0) {
452928
453016
  t52 = $3[24];
452929
453017
  }
452930
453018
  t4 = visibleFiles.map(t52);
452931
- $3[6] = columns;
453019
+ $3[6] = columns2;
452932
453020
  $3[7] = endIndex;
452933
453021
  $3[8] = files;
452934
453022
  $3[9] = selectedIndex;
@@ -456762,7 +456850,7 @@ function Commands(t0) {
456762
456850
  const {
456763
456851
  commands,
456764
456852
  maxHeight,
456765
- columns,
456853
+ columns: columns2,
456766
456854
  title,
456767
456855
  onCancel,
456768
456856
  emptyMessage
@@ -456771,7 +456859,7 @@ function Commands(t0) {
456771
456859
  headerFocused,
456772
456860
  focusHeader
456773
456861
  } = useTabHeaderFocus();
456774
- const maxWidth = Math.max(1, columns - 10);
456862
+ const maxWidth = Math.max(1, columns2 - 10);
456775
456863
  const visibleCount = Math.max(1, Math.floor((maxHeight - 10) / 2));
456776
456864
  let t1;
456777
456865
  if ($3[0] !== commands || $3[1] !== maxWidth) {
@@ -457460,7 +457548,7 @@ function HelpV2(t0) {
457460
457548
  } = t0;
457461
457549
  const {
457462
457550
  rows,
457463
- columns
457551
+ columns: columns2
457464
457552
  } = useTerminalSize();
457465
457553
  const maxHeight = Math.floor(rows / 2);
457466
457554
  const insideModal = useIsInsideModal();
@@ -457523,23 +457611,23 @@ function HelpV2(t0) {
457523
457611
  t4 = $3[8];
457524
457612
  }
457525
457613
  let tabs;
457526
- if ($3[9] !== antOnlyCommands || $3[10] !== builtinCommands || $3[11] !== close || $3[12] !== columns || $3[13] !== customCommands || $3[14] !== maxHeight) {
457614
+ if ($3[9] !== antOnlyCommands || $3[10] !== builtinCommands || $3[11] !== close || $3[12] !== columns2 || $3[13] !== customCommands || $3[14] !== maxHeight) {
457527
457615
  tabs = [t4];
457528
457616
  let t52;
457529
- if ($3[16] !== builtinCommands || $3[17] !== close || $3[18] !== columns || $3[19] !== maxHeight) {
457617
+ if ($3[16] !== builtinCommands || $3[17] !== close || $3[18] !== columns2 || $3[19] !== maxHeight) {
457530
457618
  t52 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tab, {
457531
457619
  title: "commands",
457532
457620
  children: /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Commands, {
457533
457621
  commands: builtinCommands,
457534
457622
  maxHeight,
457535
- columns,
457623
+ columns: columns2,
457536
457624
  title: "Browse default commands:",
457537
457625
  onCancel: close
457538
457626
  }, undefined, false, undefined, this)
457539
457627
  }, "commands", false, undefined, this);
457540
457628
  $3[16] = builtinCommands;
457541
457629
  $3[17] = close;
457542
- $3[18] = columns;
457630
+ $3[18] = columns2;
457543
457631
  $3[19] = maxHeight;
457544
457632
  $3[20] = t52;
457545
457633
  } else {
@@ -457547,20 +457635,20 @@ function HelpV2(t0) {
457547
457635
  }
457548
457636
  tabs.push(t52);
457549
457637
  let t62;
457550
- if ($3[21] !== close || $3[22] !== columns || $3[23] !== customCommands || $3[24] !== maxHeight) {
457638
+ if ($3[21] !== close || $3[22] !== columns2 || $3[23] !== customCommands || $3[24] !== maxHeight) {
457551
457639
  t62 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tab, {
457552
457640
  title: "custom-commands",
457553
457641
  children: /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Commands, {
457554
457642
  commands: customCommands,
457555
457643
  maxHeight,
457556
- columns,
457644
+ columns: columns2,
457557
457645
  title: "Browse custom commands:",
457558
457646
  emptyMessage: "No custom commands found",
457559
457647
  onCancel: close
457560
457648
  }, undefined, false, undefined, this)
457561
457649
  }, "custom", false, undefined, this);
457562
457650
  $3[21] = close;
457563
- $3[22] = columns;
457651
+ $3[22] = columns2;
457564
457652
  $3[23] = customCommands;
457565
457653
  $3[24] = maxHeight;
457566
457654
  $3[25] = t62;
@@ -457572,7 +457660,7 @@ function HelpV2(t0) {
457572
457660
  $3[9] = antOnlyCommands;
457573
457661
  $3[10] = builtinCommands;
457574
457662
  $3[11] = close;
457575
- $3[12] = columns;
457663
+ $3[12] = columns2;
457576
457664
  $3[13] = customCommands;
457577
457665
  $3[14] = maxHeight;
457578
457666
  $3[15] = tabs;
@@ -482834,24 +482922,24 @@ var init_transcriptSearch = __esm(() => {
482834
482922
  });
482835
482923
 
482836
482924
  // src/utils/logoV2Utils.ts
482837
- function getLayoutMode(columns) {
482838
- if (columns >= 70)
482925
+ function getLayoutMode(columns2) {
482926
+ if (columns2 >= 70)
482839
482927
  return "horizontal";
482840
482928
  return "compact";
482841
482929
  }
482842
- function calculateLayoutDimensions(columns, layoutMode, optimalLeftWidth) {
482930
+ function calculateLayoutDimensions(columns2, layoutMode, optimalLeftWidth) {
482843
482931
  if (layoutMode === "horizontal") {
482844
482932
  const leftWidth = optimalLeftWidth;
482845
482933
  const usedSpace = BORDER_PADDING + CONTENT_PADDING + DIVIDER_WIDTH + leftWidth;
482846
- const availableForRight = columns - usedSpace;
482934
+ const availableForRight = columns2 - usedSpace;
482847
482935
  let rightWidth = Math.max(30, availableForRight);
482848
- const totalWidth2 = Math.min(leftWidth + rightWidth + DIVIDER_WIDTH + CONTENT_PADDING, columns - BORDER_PADDING);
482936
+ const totalWidth2 = Math.min(leftWidth + rightWidth + DIVIDER_WIDTH + CONTENT_PADDING, columns2 - BORDER_PADDING);
482849
482937
  if (totalWidth2 < leftWidth + rightWidth + DIVIDER_WIDTH + CONTENT_PADDING) {
482850
482938
  rightWidth = totalWidth2 - leftWidth - DIVIDER_WIDTH - CONTENT_PADDING;
482851
482939
  }
482852
482940
  return { leftWidth, rightWidth, totalWidth: totalWidth2 };
482853
482941
  }
482854
- const totalWidth = Math.min(columns - BORDER_PADDING, MAX_LEFT_WIDTH + 20);
482942
+ const totalWidth = Math.min(columns2 - BORDER_PADDING, MAX_LEFT_WIDTH + 20);
482855
482943
  return {
482856
482944
  leftWidth: totalWidth,
482857
482945
  rightWidth: totalWidth,
@@ -484000,7 +484088,7 @@ var init_GuestPassesUpsell = __esm(() => {
484000
484088
  function CondensedLogo() {
484001
484089
  const $3 = import_compiler_runtime200.c(29);
484002
484090
  const {
484003
- columns
484091
+ columns: columns2
484004
484092
  } = useTerminalSize();
484005
484093
  const agent = useAppState(_temp114);
484006
484094
  const effortValue = useAppState(_temp243);
@@ -484050,7 +484138,7 @@ function CondensedLogo() {
484050
484138
  t3 = $3[6];
484051
484139
  }
484052
484140
  import_react145.useEffect(t2, t3);
484053
- const textWidth = Math.max(columns - 15, 20);
484141
+ const textWidth = Math.max(columns2 - 15, 20);
484054
484142
  const truncatedVersion = truncate(version6, Math.max(textWidth - 13, 6));
484055
484143
  const effortSuffix = getEffortSuffix(model, effortValue);
484056
484144
  const {
@@ -484414,7 +484502,7 @@ function LogoV2() {
484414
484502
  const activities = getRecentActivitySync();
484415
484503
  const username = getGlobalConfig().oauthAccount?.displayName ?? "";
484416
484504
  const {
484417
- columns
484505
+ columns: columns2
484418
484506
  } = useTerminalSize();
484419
484507
  let t0;
484420
484508
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
@@ -484674,13 +484762,13 @@ function LogoV2() {
484674
484762
  }
484675
484763
  return t232;
484676
484764
  }
484677
- const layoutMode = getLayoutMode(columns);
484765
+ const layoutMode = getLayoutMode(columns2);
484678
484766
  const userTheme = resolveThemeSetting(getGlobalConfig().theme);
484679
484767
  const borderTitle = ` ${color("claude", userTheme)("Cody CLI")} ${color("inactive", userTheme)(`v${version6}`)} `;
484680
484768
  const compactBorderTitle = color("claude", userTheme)(" Cody CLI ");
484681
484769
  if (layoutMode === "compact") {
484682
484770
  let welcomeMessage = formatWelcomeMessage(username);
484683
- if (stringWidth(welcomeMessage) > columns - 4) {
484771
+ if (stringWidth(welcomeMessage) > columns2 - 4) {
484684
484772
  let t113;
484685
484773
  if ($3[31] === Symbol.for("react.memo_cache_sentinel")) {
484686
484774
  t113 = formatWelcomeMessage(null);
@@ -484690,7 +484778,7 @@ function LogoV2() {
484690
484778
  }
484691
484779
  welcomeMessage = t113;
484692
484780
  }
484693
- const cwdAvailableWidth = agentName ? columns - 4 - 1 - stringWidth(agentName) - 3 : columns - 4;
484781
+ const cwdAvailableWidth = agentName ? columns2 - 4 - 1 - stringWidth(agentName) - 3 : columns2 - 4;
484694
484782
  const truncatedCwd = truncatePath(cwd2, Math.max(cwdAvailableWidth, 10));
484695
484783
  let t112;
484696
484784
  if ($3[32] !== compactBorderTitle) {
@@ -484778,7 +484866,7 @@ function LogoV2() {
484778
484866
  paddingX: 1,
484779
484867
  paddingY: 1,
484780
484868
  alignItems: "center",
484781
- width: columns,
484869
+ width: columns2,
484782
484870
  children: [
484783
484871
  /* @__PURE__ */ jsx_dev_runtime257.jsxDEV(ThemedText, {
484784
484872
  bold: true,
@@ -484815,7 +484903,7 @@ function LogoV2() {
484815
484903
  const {
484816
484904
  leftWidth,
484817
484905
  rightWidth
484818
- } = calculateLayoutDimensions(columns, layoutMode, optimalLeftWidth);
484906
+ } = calculateLayoutDimensions(columns2, layoutMode, optimalLeftWidth);
484819
484907
  const T0 = OffscreenFreeze;
484820
484908
  const T1 = ThemedBox_default;
484821
484909
  const t11 = "column";
@@ -485353,7 +485441,7 @@ function MessageRowImpl(t0) {
485353
485441
  onOpenRateLimitOptions,
485354
485442
  lastThinkingBlockId,
485355
485443
  latestBashOutputUUID,
485356
- columns,
485444
+ columns: columns2,
485357
485445
  isLoading,
485358
485446
  lookups
485359
485447
  } = t0;
@@ -485474,7 +485562,7 @@ function MessageRowImpl(t0) {
485474
485562
  }
485475
485563
  const hasMetadata = t5;
485476
485564
  const t6 = !hasMetadata;
485477
- const t7 = hasMetadata ? undefined : columns;
485565
+ const t7 = hasMetadata ? undefined : columns2;
485478
485566
  let t8;
485479
485567
  if ($3[37] !== commands || $3[38] !== inProgressToolUseIDs || $3[39] !== isActiveCollapsedGroup || $3[40] !== isStatic || $3[41] !== isTranscriptMode || $3[42] !== isUserContinuation || $3[43] !== lastThinkingBlockId || $3[44] !== latestBashOutputUUID || $3[45] !== lookups || $3[46] !== msg || $3[47] !== onOpenRateLimitOptions || $3[48] !== progressMessagesForMessage || $3[49] !== shouldAnimate || $3[50] !== t6 || $3[51] !== t7 || $3[52] !== tools || $3[53] !== verbose) {
485480
485568
  t8 = /* @__PURE__ */ jsx_dev_runtime260.jsxDEV(Message, {
@@ -485557,10 +485645,10 @@ function MessageRowImpl(t0) {
485557
485645
  t9 = $3[59];
485558
485646
  }
485559
485647
  let t10;
485560
- if ($3[60] !== columns || $3[61] !== messageEl || $3[62] !== t9) {
485648
+ if ($3[60] !== columns2 || $3[61] !== messageEl || $3[62] !== t9) {
485561
485649
  t10 = /* @__PURE__ */ jsx_dev_runtime260.jsxDEV(OffscreenFreeze, {
485562
485650
  children: /* @__PURE__ */ jsx_dev_runtime260.jsxDEV(ThemedBox_default, {
485563
- width: columns,
485651
+ width: columns2,
485564
485652
  flexDirection: "column",
485565
485653
  children: [
485566
485654
  t9,
@@ -485568,7 +485656,7 @@ function MessageRowImpl(t0) {
485568
485656
  ]
485569
485657
  }, undefined, true, undefined, this)
485570
485658
  }, undefined, false, undefined, this);
485571
- $3[60] = columns;
485659
+ $3[60] = columns2;
485572
485660
  $3[61] = messageEl;
485573
485661
  $3[62] = t9;
485574
485662
  $3[63] = t10;
@@ -486042,7 +486130,7 @@ var init_StatusNotices = __esm(() => {
486042
486130
  });
486043
486131
 
486044
486132
  // src/hooks/useVirtualScroll.ts
486045
- function useVirtualScroll(scrollRef, itemKeys, columns) {
486133
+ function useVirtualScroll(scrollRef, itemKeys, columns2) {
486046
486134
  const heightCache = import_react152.useRef(new Map);
486047
486135
  const offsetVersionRef = import_react152.useRef(0);
486048
486136
  const lastScrollTopRef = import_react152.useRef(0);
@@ -486053,13 +486141,13 @@ function useVirtualScroll(scrollRef, itemKeys, columns) {
486053
486141
  });
486054
486142
  const itemRefs = import_react152.useRef(new Map);
486055
486143
  const refCache = import_react152.useRef(new Map);
486056
- const prevColumns = import_react152.useRef(columns);
486144
+ const prevColumns = import_react152.useRef(columns2);
486057
486145
  const skipMeasurementRef = import_react152.useRef(false);
486058
486146
  const prevRangeRef = import_react152.useRef(null);
486059
486147
  const freezeRendersRef = import_react152.useRef(0);
486060
- if (prevColumns.current !== columns) {
486061
- const ratio = prevColumns.current / columns;
486062
- prevColumns.current = columns;
486148
+ if (prevColumns.current !== columns2) {
486149
+ const ratio = prevColumns.current / columns2;
486150
+ prevColumns.current = columns2;
486063
486151
  for (const [k2, h2] of heightCache.current) {
486064
486152
  heightCache.current.set(k2, Math.max(1, Math.round(h2 * ratio)));
486065
486153
  }
@@ -486528,7 +486616,7 @@ function FullscreenLayout(t0) {
486528
486616
  const newMessageCount = t3 === undefined ? 0 : t3;
486529
486617
  const {
486530
486618
  rows: terminalRows,
486531
- columns
486619
+ columns: columns2
486532
486620
  } = useTerminalSize();
486533
486621
  const [stickyPrompt, setStickyPrompt] = import_react154.useState(null);
486534
486622
  let t4;
@@ -486709,11 +486797,11 @@ function FullscreenLayout(t0) {
486709
486797
  t17 = $3[32];
486710
486798
  }
486711
486799
  let t18;
486712
- if ($3[33] !== columns || $3[34] !== modal || $3[35] !== modalScrollRef || $3[36] !== terminalRows) {
486800
+ if ($3[33] !== columns2 || $3[34] !== modal || $3[35] !== modalScrollRef || $3[36] !== terminalRows) {
486713
486801
  t18 = modal != null && /* @__PURE__ */ jsx_dev_runtime264.jsxDEV(ModalContext, {
486714
486802
  value: {
486715
486803
  rows: terminalRows - MODAL_TRANSCRIPT_PEEK - 1,
486716
- columns: columns - 4,
486804
+ columns: columns2 - 4,
486717
486805
  scrollRef: modalScrollRef ?? null
486718
486806
  },
486719
486807
  children: /* @__PURE__ */ jsx_dev_runtime264.jsxDEV(ThemedBox_default, {
@@ -486730,7 +486818,7 @@ function FullscreenLayout(t0) {
486730
486818
  flexShrink: 0,
486731
486819
  children: /* @__PURE__ */ jsx_dev_runtime264.jsxDEV(ThemedText, {
486732
486820
  color: "permission",
486733
- children: "▔".repeat(columns)
486821
+ children: "▔".repeat(columns2)
486734
486822
  }, undefined, false, undefined, this)
486735
486823
  }, undefined, false, undefined, this),
486736
486824
  /* @__PURE__ */ jsx_dev_runtime264.jsxDEV(ThemedBox_default, {
@@ -486743,7 +486831,7 @@ function FullscreenLayout(t0) {
486743
486831
  ]
486744
486832
  }, undefined, true, undefined, this)
486745
486833
  }, undefined, false, undefined, this);
486746
- $3[33] = columns;
486834
+ $3[33] = columns2;
486747
486835
  $3[34] = modal;
486748
486836
  $3[35] = modalScrollRef;
486749
486837
  $3[36] = terminalRows;
@@ -487161,7 +487249,7 @@ function VirtualItem(t0) {
487161
487249
  function VirtualMessageList({
487162
487250
  messages,
487163
487251
  scrollRef,
487164
- columns,
487252
+ columns: columns2,
487165
487253
  itemKey,
487166
487254
  renderItem,
487167
487255
  onItemClick,
@@ -487201,7 +487289,7 @@ function VirtualMessageList({
487201
487289
  getItemElement,
487202
487290
  getItemHeight,
487203
487291
  scrollToIndex
487204
- } = useVirtualScroll(scrollRef, keys2, columns);
487292
+ } = useVirtualScroll(scrollRef, keys2, columns2);
487205
487293
  const [start, end] = range;
487206
487294
  const isVisible = import_react155.useCallback((i3) => {
487207
487295
  const h2 = getItemHeight(i3);
@@ -487930,7 +488018,7 @@ var import_compiler_runtime210, React83, import_react156, jsx_dev_runtime266, Lo
487930
488018
  renderRange
487931
488019
  }) => {
487932
488020
  const {
487933
- columns
488021
+ columns: columns2
487934
488022
  } = useTerminalSize();
487935
488023
  const toggleShowAllShortcut = useShortcutDisplay("transcript:toggleShowAll", "Transcript", "Ctrl+E");
487936
488024
  const normalizedMessages = import_react156.useMemo(() => normalizeMessages(messages).filter(isNotEmptyMessage), [messages]);
@@ -488111,7 +488199,7 @@ var import_compiler_runtime210, React83, import_react156, jsx_dev_runtime266, Lo
488111
488199
  onOpenRateLimitOptions,
488112
488200
  lastThinkingBlockId,
488113
488201
  latestBashOutputUUID,
488114
- columns,
488202
+ columns: columns2,
488115
488203
  isLoading,
488116
488204
  lookups: lookups_0
488117
488205
  }, k_0, false, undefined, this);
@@ -488124,7 +488212,7 @@ var import_compiler_runtime210, React83, import_react156, jsx_dev_runtime266, Lo
488124
488212
  marginTop: 1,
488125
488213
  children: /* @__PURE__ */ jsx_dev_runtime266.jsxDEV(Divider, {
488126
488214
  title: `${unseenDivider.count} new ${plural(unseenDivider.count, "message")}`,
488127
- width: columns,
488215
+ width: columns2,
488128
488216
  color: "inactive"
488129
488217
  }, undefined, false, undefined, this)
488130
488218
  }, "unseen-divider", false, undefined, this), wrapped];
@@ -488158,18 +488246,18 @@ var import_compiler_runtime210, React83, import_react156, jsx_dev_runtime266, Lo
488158
488246
  }, undefined, false, undefined, this),
488159
488247
  hasTruncatedMessages_0 && /* @__PURE__ */ jsx_dev_runtime266.jsxDEV(Divider, {
488160
488248
  title: `${toggleShowAllShortcut} to show ${source_default.bold(hiddenMessageCount_0)} previous messages`,
488161
- width: columns
488249
+ width: columns2
488162
488250
  }, undefined, false, undefined, this),
488163
488251
  isTranscriptMode && showAllInTranscript && hiddenMessageCount_0 > 0 && !disableRenderCap && /* @__PURE__ */ jsx_dev_runtime266.jsxDEV(Divider, {
488164
488252
  title: `${toggleShowAllShortcut} to hide ${source_default.bold(hiddenMessageCount_0)} previous messages`,
488165
- width: columns
488253
+ width: columns2
488166
488254
  }, undefined, false, undefined, this),
488167
488255
  virtualScrollRuntimeGate ? /* @__PURE__ */ jsx_dev_runtime266.jsxDEV(InVirtualListContext.Provider, {
488168
488256
  value: true,
488169
488257
  children: /* @__PURE__ */ jsx_dev_runtime266.jsxDEV(VirtualMessageList, {
488170
488258
  messages: renderableMessages,
488171
488259
  scrollRef,
488172
- columns,
488260
+ columns: columns2,
488173
488261
  itemKey: messageKey,
488174
488262
  renderItem: renderMessageRow,
488175
488263
  onItemClick,
@@ -489106,7 +489194,7 @@ function LogSelector(t0) {
489106
489194
  const maxHeight = t1 === undefined ? Infinity : t1;
489107
489195
  const showAllProjects = t2 === undefined ? false : t2;
489108
489196
  const terminalSize = useTerminalSize();
489109
- const columns = forceWidth === undefined ? terminalSize.columns : forceWidth;
489197
+ const columns2 = forceWidth === undefined ? terminalSize.columns : forceWidth;
489110
489198
  const exitState = useExitOnCtrlCDWithKeybindings(onCancel);
489111
489199
  const isTerminalFocused = useTerminalFocus();
489112
489200
  let t3;
@@ -489506,7 +489594,7 @@ function LogSelector(t0) {
489506
489594
  t28 = filteredLogs;
489507
489595
  }
489508
489596
  const displayedLogs = t28;
489509
- const maxLabelWidth = Math.max(30, columns - 4);
489597
+ const maxLabelWidth = Math.max(30, columns2 - 4);
489510
489598
  let t29;
489511
489599
  bb2: {
489512
489600
  if (!isResumeWithRenameEnabled) {
@@ -490223,11 +490311,11 @@ function LogSelector(t0) {
490223
490311
  t59 = $3[165];
490224
490312
  }
490225
490313
  let t60;
490226
- if ($3[166] !== columns || $3[167] !== displayedLogs.length || $3[168] !== effectiveTagIndex || $3[169] !== focusedIndex || $3[170] !== hasTags || $3[171] !== showAllProjects || $3[172] !== tagTabs || $3[173] !== viewMode || $3[174] !== visibleCount) {
490314
+ if ($3[166] !== columns2 || $3[167] !== displayedLogs.length || $3[168] !== effectiveTagIndex || $3[169] !== focusedIndex || $3[170] !== hasTags || $3[171] !== showAllProjects || $3[172] !== tagTabs || $3[173] !== viewMode || $3[174] !== visibleCount) {
490227
490315
  t60 = hasTags ? /* @__PURE__ */ jsx_dev_runtime270.jsxDEV(TagTabs, {
490228
490316
  tabs: tagTabs,
490229
490317
  selectedIndex: effectiveTagIndex,
490230
- availableWidth: columns,
490318
+ availableWidth: columns2,
490231
490319
  showAllProjects
490232
490320
  }, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime270.jsxDEV(ThemedBox_default, {
490233
490321
  flexShrink: 0,
@@ -490250,7 +490338,7 @@ function LogSelector(t0) {
490250
490338
  ]
490251
490339
  }, undefined, true, undefined, this)
490252
490340
  }, undefined, false, undefined, this);
490253
- $3[166] = columns;
490341
+ $3[166] = columns2;
490254
490342
  $3[167] = displayedLogs.length;
490255
490343
  $3[168] = effectiveTagIndex;
490256
490344
  $3[169] = focusedIndex;
@@ -490394,7 +490482,7 @@ function LogSelector(t0) {
490394
490482
  t69 = $3[201];
490395
490483
  }
490396
490484
  let t70;
490397
- if ($3[202] !== agenticSearchState.status || $3[203] !== branchFilterEnabled || $3[204] !== columns || $3[205] !== displayedLogs || $3[206] !== expandedGroupSessionIds || $3[207] !== flatOptions || $3[208] !== focusedLog || $3[209] !== focusedNode?.id || $3[210] !== handleFlatOptionsSelectFocus || $3[211] !== handleRenameSubmit || $3[212] !== handleTreeSelectFocus || $3[213] !== isAgenticSearchOptionFocused || $3[214] !== onCancel || $3[215] !== onSelect || $3[216] !== renameCursorOffset || $3[217] !== renameValue || $3[218] !== treeNodes || $3[219] !== viewMode || $3[220] !== visibleCount) {
490485
+ if ($3[202] !== agenticSearchState.status || $3[203] !== branchFilterEnabled || $3[204] !== columns2 || $3[205] !== displayedLogs || $3[206] !== expandedGroupSessionIds || $3[207] !== flatOptions || $3[208] !== focusedLog || $3[209] !== focusedNode?.id || $3[210] !== handleFlatOptionsSelectFocus || $3[211] !== handleRenameSubmit || $3[212] !== handleTreeSelectFocus || $3[213] !== isAgenticSearchOptionFocused || $3[214] !== onCancel || $3[215] !== onSelect || $3[216] !== renameCursorOffset || $3[217] !== renameValue || $3[218] !== treeNodes || $3[219] !== viewMode || $3[220] !== visibleCount) {
490398
490486
  t70 = agenticSearchState.status === "searching" ? null : viewMode === "rename" && focusedLog ? /* @__PURE__ */ jsx_dev_runtime270.jsxDEV(ThemedBox_default, {
490399
490487
  paddingLeft: 2,
490400
490488
  flexDirection: "column",
@@ -490410,7 +490498,7 @@ function LogSelector(t0) {
490410
490498
  onChange: setRenameValue,
490411
490499
  onSubmit: handleRenameSubmit,
490412
490500
  placeholder: getLogDisplayTitle(focusedLog, "Enter new session name"),
490413
- columns,
490501
+ columns: columns2,
490414
490502
  cursorOffset: renameCursorOffset,
490415
490503
  onChangeCursorOffset: setRenameCursorOffset,
490416
490504
  showCursor: true
@@ -490473,7 +490561,7 @@ function LogSelector(t0) {
490473
490561
  }, undefined, false, undefined, this);
490474
490562
  $3[202] = agenticSearchState.status;
490475
490563
  $3[203] = branchFilterEnabled;
490476
- $3[204] = columns;
490564
+ $3[204] = columns2;
490477
490565
  $3[205] = displayedLogs;
490478
490566
  $3[206] = expandedGroupSessionIds;
490479
490567
  $3[207] = flatOptions;
@@ -496530,7 +496618,7 @@ function ShellDetailDialog(t0) {
496530
496618
  onBack
496531
496619
  } = t0;
496532
496620
  const {
496533
- columns
496621
+ columns: columns2
496534
496622
  } = useTerminalSize();
496535
496623
  let t1;
496536
496624
  if ($3[0] !== shell) {
@@ -496818,7 +496906,7 @@ function ShellDetailDialog(t0) {
496818
496906
  t23 = $3[44];
496819
496907
  }
496820
496908
  let t24;
496821
- if ($3[45] !== columns || $3[46] !== deferredOutputPromise) {
496909
+ if ($3[45] !== columns2 || $3[46] !== deferredOutputPromise) {
496822
496910
  t24 = /* @__PURE__ */ jsx_dev_runtime286.jsxDEV(ThemedBox_default, {
496823
496911
  flexDirection: "column",
496824
496912
  children: [
@@ -496827,12 +496915,12 @@ function ShellDetailDialog(t0) {
496827
496915
  fallback: t23,
496828
496916
  children: /* @__PURE__ */ jsx_dev_runtime286.jsxDEV(ShellOutputContent, {
496829
496917
  outputPromise: deferredOutputPromise,
496830
- columns
496918
+ columns: columns2
496831
496919
  }, undefined, false, undefined, this)
496832
496920
  }, undefined, false, undefined, this)
496833
496921
  ]
496834
496922
  }, undefined, true, undefined, this);
496835
- $3[45] = columns;
496923
+ $3[45] = columns2;
496836
496924
  $3[46] = deferredOutputPromise;
496837
496925
  $3[47] = t24;
496838
496926
  } else {
@@ -496883,7 +496971,7 @@ function ShellOutputContent(t0) {
496883
496971
  const $3 = import_compiler_runtime225.c(19);
496884
496972
  const {
496885
496973
  outputPromise,
496886
- columns
496974
+ columns: columns2
496887
496975
  } = t0;
496888
496976
  const {
496889
496977
  content,
@@ -496932,7 +497020,7 @@ function ShellOutputContent(t0) {
496932
497020
  isIncomplete = $3[3];
496933
497021
  rendered = $3[4];
496934
497022
  }
496935
- const t1 = columns - 6;
497023
+ const t1 = columns2 - 6;
496936
497024
  let t2;
496937
497025
  if ($3[5] !== rendered) {
496938
497026
  t2 = rendered.map(_temp253);
@@ -497630,9 +497718,9 @@ function Item(t0) {
497630
497718
  isSelected
497631
497719
  } = t0;
497632
497720
  const {
497633
- columns
497721
+ columns: columns2
497634
497722
  } = useTerminalSize();
497635
- const maxActivityWidth = Math.max(30, columns - 26);
497723
+ const maxActivityWidth = Math.max(30, columns2 - 26);
497636
497724
  let t1;
497637
497725
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
497638
497726
  t1 = isCoordinatorMode();
@@ -499230,9 +499318,9 @@ function PermissionRuleInput(t0) {
499230
499318
  }
499231
499319
  useKeybinding("confirm:no", onCancel, t1);
499232
499320
  const {
499233
- columns
499321
+ columns: columns2
499234
499322
  } = useTerminalSize();
499235
- const textInputColumns = columns - 6;
499323
+ const textInputColumns = columns2 - 6;
499236
499324
  let t2;
499237
499325
  if ($3[1] !== onSubmit || $3[2] !== ruleBehavior) {
499238
499326
  t2 = (value) => {
@@ -512004,7 +512092,7 @@ var init_bridge_kick = __esm(() => {
512004
512092
  var call56 = async () => {
512005
512093
  return {
512006
512094
  type: "text",
512007
- value: `${"0.7.15"} (built ${"1775422356"})`
512095
+ value: `${"0.7.15"} (built ${"1775423471"})`
512008
512096
  };
512009
512097
  }, version6, version_default;
512010
512098
  var init_version = __esm(() => {
@@ -514559,7 +514647,7 @@ function ExportDialog({
514559
514647
  const [cursorOffset, setCursorOffset] = import_react189.useState(defaultFilename.length);
514560
514648
  const [showFilenameInput, setShowFilenameInput] = import_react189.useState(false);
514561
514649
  const {
514562
- columns
514650
+ columns: columns2
514563
514651
  } = useTerminalSize();
514564
514652
  const handleGoBack = import_react189.useCallback(() => {
514565
514653
  setShowFilenameInput(false);
@@ -514685,7 +514773,7 @@ function ExportDialog({
514685
514773
  onSubmit: handleFilenameSubmit,
514686
514774
  focus: true,
514687
514775
  showCursor: true,
514688
- columns,
514776
+ columns: columns2,
514689
514777
  cursorOffset,
514690
514778
  onChangeCursorOffset: setCursorOffset
514691
514779
  }, undefined, false, undefined, this)
@@ -514742,7 +514830,7 @@ function normalizedUpperBound(m2) {
514742
514830
  return Array.isArray(c6) ? c6.length : 1;
514743
514831
  }
514744
514832
  async function streamRenderedMessages(messages, tools, sink2, {
514745
- columns,
514833
+ columns: columns2,
514746
514834
  verbose = false,
514747
514835
  chunkSize = 40,
514748
514836
  onProgress
@@ -514766,7 +514854,7 @@ async function streamRenderedMessages(messages, tools, sink2, {
514766
514854
  renderRange: range
514767
514855
  }, undefined, false, undefined, this)
514768
514856
  }, undefined, false, undefined, this)
514769
- }, undefined, false, undefined, this), columns);
514857
+ }, undefined, false, undefined, this), columns2);
514770
514858
  let ceiling = chunkSize;
514771
514859
  for (const m2 of messages)
514772
514860
  ceiling += normalizedUpperBound(m2);
@@ -514778,10 +514866,10 @@ async function streamRenderedMessages(messages, tools, sink2, {
514778
514866
  onProgress?.(offset + chunkSize);
514779
514867
  }
514780
514868
  }
514781
- async function renderMessagesToPlainText(messages, tools = [], columns) {
514869
+ async function renderMessagesToPlainText(messages, tools = [], columns2) {
514782
514870
  const parts = [];
514783
514871
  await streamRenderedMessages(messages, tools, (chunk) => void parts.push(stripAnsi(chunk)), {
514784
- columns
514872
+ columns: columns2
514785
514873
  });
514786
514874
  return parts.join("");
514787
514875
  }
@@ -539306,7 +539394,7 @@ function UserMessageOption(t0) {
539306
539394
  paddingRight
539307
539395
  } = t0;
539308
539396
  const {
539309
- columns
539397
+ columns: columns2
539310
539398
  } = useTerminalSize();
539311
539399
  if (isCurrent) {
539312
539400
  let t12;
@@ -539338,7 +539426,7 @@ function UserMessageOption(t0) {
539338
539426
  let t4;
539339
539427
  let t5;
539340
539428
  let t6;
539341
- if ($3[3] !== color3 || $3[4] !== columns || $3[5] !== content || $3[6] !== dimColor || $3[7] !== lastBlock || $3[8] !== paddingRight) {
539429
+ if ($3[3] !== color3 || $3[4] !== columns2 || $3[5] !== content || $3[6] !== dimColor || $3[7] !== lastBlock || $3[8] !== paddingRight) {
539342
539430
  t6 = Symbol.for("react.early_return_sentinel");
539343
539431
  bb0: {
539344
539432
  const rawMessageText = typeof content === "string" ? content.trim() : lastBlock && isTextBlock2(lastBlock) ? lastBlock.text.trim() : "(no prompt)";
@@ -539441,12 +539529,12 @@ function UserMessageOption(t0) {
539441
539529
  T0 = ThemedText;
539442
539530
  t1 = color3;
539443
539531
  t2 = dimColor;
539444
- t3 = paddingRight ? truncate(messageText, columns - paddingRight, true) : messageText.slice(0, 500).split(`
539532
+ t3 = paddingRight ? truncate(messageText, columns2 - paddingRight, true) : messageText.slice(0, 500).split(`
539445
539533
  `).slice(0, 4).join(`
539446
539534
  `);
539447
539535
  }
539448
539536
  $3[3] = color3;
539449
- $3[4] = columns;
539537
+ $3[4] = columns2;
539450
539538
  $3[5] = content;
539451
539539
  $3[6] = dimColor;
539452
539540
  $3[7] = lastBlock;
@@ -539973,14 +540061,14 @@ function QuestionNavigationBar(t0) {
539973
540061
  } = t0;
539974
540062
  const hideSubmitTab = t1 === undefined ? false : t1;
539975
540063
  const {
539976
- columns
540064
+ columns: columns2
539977
540065
  } = useTerminalSize();
539978
540066
  let t2;
539979
- if ($3[0] !== columns || $3[1] !== currentQuestionIndex || $3[2] !== hideSubmitTab || $3[3] !== questions) {
540067
+ if ($3[0] !== columns2 || $3[1] !== currentQuestionIndex || $3[2] !== hideSubmitTab || $3[3] !== questions) {
539980
540068
  bb0: {
539981
540069
  const submitText = hideSubmitTab ? "" : ` ${figures_default.tick} Submit `;
539982
540070
  const fixedWidth = stringWidth("← ") + stringWidth(" →") + stringWidth(submitText);
539983
- const availableForTabs = columns - fixedWidth;
540071
+ const availableForTabs = columns2 - fixedWidth;
539984
540072
  if (availableForTabs <= 0) {
539985
540073
  let t33;
539986
540074
  if ($3[5] !== currentQuestionIndex || $3[6] !== questions) {
@@ -540038,7 +540126,7 @@ function QuestionNavigationBar(t0) {
540038
540126
  }
540039
540127
  t2 = tabHeaders.map(t32);
540040
540128
  }
540041
- $3[0] = columns;
540129
+ $3[0] = columns2;
540042
540130
  $3[1] = currentQuestionIndex;
540043
540131
  $3[2] = hideSubmitTab;
540044
540132
  $3[3] = questions;
@@ -540366,9 +540454,9 @@ function PreviewQuestionView({
540366
540454
  const LEFT_PANEL_WIDTH = 30;
540367
540455
  const GAP = 4;
540368
540456
  const {
540369
- columns
540457
+ columns: columns2
540370
540458
  } = useTerminalSize();
540371
- const previewMaxWidth = columns - LEFT_PANEL_WIDTH - GAP;
540459
+ const previewMaxWidth = columns2 - LEFT_PANEL_WIDTH - GAP;
540372
540460
  const PREVIEW_OVERHEAD = 11;
540373
540461
  const previewMaxLines = import_react203.useMemo(() => {
540374
540462
  return minContentHeight ? Math.max(1, minContentHeight - PREVIEW_OVERHEAD) : undefined;
@@ -544256,21 +544344,21 @@ function DiffBody(t0) {
544256
544344
  fileContent
544257
544345
  } = import_react209.use(promise3);
544258
544346
  const {
544259
- columns
544347
+ columns: columns2
544260
544348
  } = useTerminalSize();
544261
544349
  let t1;
544262
- if ($3[0] !== columns || $3[1] !== fileContent || $3[2] !== file_path || $3[3] !== firstLine || $3[4] !== patch) {
544350
+ if ($3[0] !== columns2 || $3[1] !== fileContent || $3[2] !== file_path || $3[3] !== firstLine || $3[4] !== patch) {
544263
544351
  t1 = /* @__PURE__ */ jsx_dev_runtime379.jsxDEV(DiffFrame, {
544264
544352
  children: /* @__PURE__ */ jsx_dev_runtime379.jsxDEV(StructuredDiffList, {
544265
544353
  hunks: patch,
544266
544354
  dim: false,
544267
- width: columns,
544355
+ width: columns2,
544268
544356
  filePath: file_path,
544269
544357
  firstLine,
544270
544358
  fileContent
544271
544359
  }, undefined, false, undefined, this)
544272
544360
  }, undefined, false, undefined, this);
544273
- $3[0] = columns;
544361
+ $3[0] = columns2;
544274
544362
  $3[1] = fileContent;
544275
544363
  $3[2] = file_path;
544276
544364
  $3[3] = firstLine;
@@ -548532,7 +548620,7 @@ function FileWriteToolDiff(t0) {
548532
548620
  oldContent
548533
548621
  } = t0;
548534
548622
  const {
548535
- columns
548623
+ columns: columns2
548536
548624
  } = useTerminalSize();
548537
548625
  let t1;
548538
548626
  bb0: {
@@ -548572,19 +548660,19 @@ function FileWriteToolDiff(t0) {
548572
548660
  }
548573
548661
  const firstLine = t2;
548574
548662
  let t3;
548575
- if ($3[6] !== columns || $3[7] !== content || $3[8] !== file_path || $3[9] !== firstLine || $3[10] !== hunks || $3[11] !== oldContent) {
548663
+ if ($3[6] !== columns2 || $3[7] !== content || $3[8] !== file_path || $3[9] !== firstLine || $3[10] !== hunks || $3[11] !== oldContent) {
548576
548664
  t3 = hunks ? intersperse(hunks.map((_2) => /* @__PURE__ */ jsx_dev_runtime392.jsxDEV(StructuredDiff, {
548577
548665
  patch: _2,
548578
548666
  dim: false,
548579
548667
  filePath: file_path,
548580
548668
  firstLine,
548581
548669
  fileContent: oldContent,
548582
- width: columns - 2
548670
+ width: columns2 - 2
548583
548671
  }, _2.newStart, false, undefined, this)), _temp180) : /* @__PURE__ */ jsx_dev_runtime392.jsxDEV(HighlightedCode, {
548584
548672
  code: content || "(No content)",
548585
548673
  filePath: file_path
548586
548674
  }, undefined, false, undefined, this);
548587
- $3[6] = columns;
548675
+ $3[6] = columns2;
548588
548676
  $3[7] = content;
548589
548677
  $3[8] = file_path;
548590
548678
  $3[9] = firstLine;
@@ -551195,7 +551283,7 @@ function ElicitationFormDialog({
551195
551283
  resolveAbortRef.current.clear();
551196
551284
  }, []);
551197
551285
  const {
551198
- columns,
551286
+ columns: columns2,
551199
551287
  rows
551200
551288
  } = useTerminalSize();
551201
551289
  const currentField = currentFieldIndex !== undefined ? schemaFields[currentFieldIndex] : undefined;
@@ -551868,7 +551956,7 @@ function ElicitationFormDialog({
551868
551956
  onChange: handleTextInputChange,
551869
551957
  onSubmit: handleTextInputSubmit,
551870
551958
  placeholder: `Type something…`,
551871
- columns: Math.min(columns - 20, 60),
551959
+ columns: Math.min(columns2 - 20, 60),
551872
551960
  cursorOffset: textInputCursorOffset,
551873
551961
  onChangeCursorOffset: setTextInputCursorOffset,
551874
551962
  focus: true,
@@ -561921,7 +562009,7 @@ function BackgroundTaskStatus(t0) {
561921
562009
  const isLeaderIdle = t2 === undefined ? false : t2;
561922
562010
  const setAppState = useSetAppState();
561923
562011
  const {
561924
- columns
562012
+ columns: columns2
561925
562013
  } = useTerminalSize();
561926
562014
  const tasks2 = useAppState(_temp195);
561927
562015
  const viewingAgentTaskId = useAppState(_temp281);
@@ -561997,7 +562085,7 @@ function BackgroundTaskStatus(t0) {
561997
562085
  t82 = $3[14];
561998
562086
  }
561999
562087
  const viewedIdx = t82;
562000
- const availableWidth = Math.max(20, columns - 20 - 4);
562088
+ const availableWidth = Math.max(20, columns2 - 20 - 4);
562001
562089
  const t92 = selectedIdx >= 0 ? selectedIdx : 0;
562002
562090
  let t102;
562003
562091
  if ($3[15] !== availableWidth || $3[16] !== pillWidths || $3[17] !== t92) {
@@ -562894,7 +562982,7 @@ function ModeIndicator({
562894
562982
  onOpenTasksDialog
562895
562983
  }) {
562896
562984
  const {
562897
- columns
562985
+ columns: columns2
562898
562986
  } = useTerminalSize();
562899
562987
  const modeCycleShortcut = useShortcutDisplay("chat:cycleMode", "Chat", "shift+tab");
562900
562988
  const tasks2 = useAppState((s) => s.tasks);
@@ -562942,7 +563030,7 @@ function ModeIndicator({
562942
563030
  const isViewingCompletedTeammate = isViewingTeammate && viewedTask != null && viewedTask.status !== "running";
562943
563031
  const hasBackgroundTasks = runningTaskCount > 0 || isViewingTeammate;
562944
563032
  const primaryItemCount = (isCoordinator || hasActiveMode ? 1 : 0) + (hasBackgroundTasks ? 1 : 0) + (hasTeams ? 1 : 0);
562945
- const shouldShowPrStatus = isPrStatusEnabled() && prStatus.number !== null && prStatus.reviewState !== null && prStatus.url !== null && primaryItemCount < 2 && (primaryItemCount === 0 || columns >= 80);
563033
+ const shouldShowPrStatus = isPrStatusEnabled() && prStatus.number !== null && prStatus.reviewState !== null && prStatus.url !== null && primaryItemCount < 2 && (primaryItemCount === 0 || columns2 >= 80);
562946
563034
  const shouldShowModeHint = primaryItemCount < 2;
562947
563035
  const hasInProcessTeammates = !showSpinnerTree && hasBackgroundTasks && Object.values(tasks2).some((t_1) => t_1.type === "in_process_teammate");
562948
563036
  const hasTeammatePills = hasInProcessTeammates || !showSpinnerTree && isViewingTeammate;
@@ -563226,13 +563314,13 @@ function PromptInputFooter({
563226
563314
  }) {
563227
563315
  const settings = useSettings();
563228
563316
  const {
563229
- columns,
563317
+ columns: columns2,
563230
563318
  rows
563231
563319
  } = useTerminalSize();
563232
563320
  const messagesRef = import_react255.useRef(messages);
563233
563321
  messagesRef.current = messages;
563234
563322
  const lastAssistantMessageId = import_react255.useMemo(() => getLastAssistantMessageId(messages), [messages]);
563235
- const isNarrow = columns < 80;
563323
+ const isNarrow = columns2 < 80;
563236
563324
  const isFullscreen = isFullscreenEnvEnabled();
563237
563325
  const isShort = isFullscreen && rows < 24;
563238
563326
  const coordinatorTaskCount = useCoordinatorTaskCount();
@@ -565293,10 +565381,10 @@ function PromptInput({
565293
565381
  useBuddyNotification();
565294
565382
  const companionSpeaking = false;
565295
565383
  const {
565296
- columns,
565384
+ columns: columns2,
565297
565385
  rows
565298
565386
  } = useTerminalSize();
565299
- const textInputColumns = columns - 3 - companionReservedColumns(columns, companionSpeaking);
565387
+ const textInputColumns = columns2 - 3 - companionReservedColumns(columns2, companionSpeaking);
565300
565388
  const maxVisibleLines = isFullscreenEnvEnabled() ? Math.max(MIN_INPUT_VIEWPORT_LINES, Math.floor(rows / 2) - PROMPT_FOOTER_LINES) : undefined;
565301
565389
  const handleInputClick = import_react260.useCallback((e) => {
565302
565390
  if (!input || isSearchingHistory)
@@ -565568,7 +565656,7 @@ function PromptInput({
565568
565656
  color: swarmBanner.bgColor,
565569
565657
  children: swarmBanner.text ? /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(jsx_dev_runtime436.Fragment, {
565570
565658
  children: [
565571
- "─".repeat(Math.max(0, columns - stringWidth(swarmBanner.text) - 4)),
565659
+ "─".repeat(Math.max(0, columns2 - stringWidth(swarmBanner.text) - 4)),
565572
565660
  /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedText, {
565573
565661
  backgroundColor: swarmBanner.bgColor,
565574
565662
  color: "inverseText",
@@ -565580,7 +565668,7 @@ function PromptInput({
565580
565668
  }, undefined, true, undefined, this),
565581
565669
  "──"
565582
565670
  ]
565583
- }, undefined, true, undefined, this) : "─".repeat(columns)
565671
+ }, undefined, true, undefined, this) : "─".repeat(columns2)
565584
565672
  }, undefined, false, undefined, this),
565585
565673
  /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedBox_default, {
565586
565674
  flexDirection: "row",
@@ -565602,7 +565690,7 @@ function PromptInput({
565602
565690
  }, undefined, true, undefined, this),
565603
565691
  /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedText, {
565604
565692
  color: swarmBanner.bgColor,
565605
- children: "─".repeat(columns)
565693
+ children: "─".repeat(columns2)
565606
565694
  }, undefined, false, undefined, this)
565607
565695
  ]
565608
565696
  }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedBox_default, {