@chatcode/chatcode-cli 3.0.0 → 3.0.2

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 (25) hide show
  1. package/lib/{command-errors-BCYv4XyX.js → command-errors-CIYn1nnW.js} +12 -12
  2. package/lib/{command-trees-CwZW1MG9.js → command-trees-8o99Bws7.js} +2 -2
  3. package/lib/{component-identity-D46gUHyM.js → component-identity-CnmIKHEF.js} +3 -3
  4. package/lib/{extension-events-CBuXbK4l.js → extension-events-DciGPKJa.js} +20 -20
  5. package/lib/{host-access-BtgVRb0u.js → host-access-CmD27uhQ.js} +1 -1
  6. package/lib/{keymap-AJ-DGy9P.js → keymap-CFChEJ2W.js} +2 -2
  7. package/lib/{plugin-ByRs5LzO.js → plugin-jvd9PCVt.js} +333 -333
  8. package/lib/{scenes-C8DOzNbk.js → scenes-ai_8sHDs.js} +3 -3
  9. package/lib/{settings-sections-ByzvgqAp.js → settings-sections-QQ1-2lhL.js} +3 -3
  10. package/lib/{themes-By_OcIPQ.js → themes-DTzG_9I_.js} +12 -12
  11. package/lib/tui-compat-command-trees.js +1 -1
  12. package/lib/tui-compat-extensions.js +3 -3
  13. package/lib/tui-compat-plugin-host.js +5 -5
  14. package/lib/tui-compat-scenes.js +1 -1
  15. package/lib/tui-compat-settings-sections.js +1 -1
  16. package/lib/tui-compat-working-activity.js +1 -1
  17. package/lib/tui-compat-workspaces.js +1 -1
  18. package/lib/tui-compat.js +5 -5
  19. package/lib/{tuiDisplayPrefs-B-NDEV0N.js → tuiDisplayPrefs-BCHRRcfe.js} +1 -1
  20. package/lib/{workspaces-ZRM_mslc.js → workspaces-CznCgVHv.js} +2 -2
  21. package/package.json +25 -25
  22. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  23. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  24. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  25. package/scripts/register-embedded-runtime.mjs +27 -21
@@ -1,14 +1,14 @@
1
1
  import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./rolldown-runtime-2rV9d50f.js";
2
- import { a as getPageMarginSetting, c as normalizeScrollGutter, d as parsePageMarginSpec, f as resolvePageMargin, i as formatContextUsage, l as normalizeStatusBar, n as DEFAULT_STATUS_BAR, o as isPageMarginMode, p as subscribePageMargin, r as applyPageMargin, s as normalizePageMargin, u as normalizeToolBackground } from "./tuiDisplayPrefs-B-NDEV0N.js";
3
- import { a as draftComboConflicts, d as setKeymapOverrides, f as isMod, h as modLabel, l as parseComboDraft, m as isPlainReturnInput, n as actionMatches, o as effectiveComboString, p as isPlainReturn, t as SHORTCUT_ACTIONS } from "./keymap-AJ-DGy9P.js";
4
- import { c as withHostRootCapability } from "./host-access-BtgVRb0u.js";
5
- import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-ZRM_mslc.js";
6
- import { n as getHostCommandTrees } from "./command-trees-CwZW1MG9.js";
7
- import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-ByzvgqAp.js";
8
- import { n as getHostSceneRuntime } from "./scenes-C8DOzNbk.js";
9
- import { A as tuiEnvName, C as LEGACY_DATA_DIR, D as homeDir, E as detectLegacyEnv, J as parseManifest, M as loadSpecData, O as readTuiEnv, S as DATA_DIR, T as RENAMED_ENV, Y as projectManifest, _ as stripAnsi$1, a as normalizeCancelDecision, b as isWide, c as installDecisionGuard, d as capCells, f as cleanRenderText, g as getGraphemeSegmenter, h as stringWidth$1, i as dispatchTuiNotification, k as resolveChatCodeCliHome, m as flattenInline, p as cleanScalarText, r as dispatchTuiDecision, v as eastAsianWidth, w as PRE_DSH_TUI_DATA_DIR, x as readGrantStore, y as isFullWidth } from "./extension-events-CBuXbK4l.js";
10
- import { A as validatePlugin, D as buildHostDescriptor, O as negotiate, _ as getHostMessageObserver, a as commandOwner, k as createContractIndex, n as hasCommandErrorCode, r as mapCommandError, w as EFFECT_LEDGER_FILE } from "./command-errors-BCYv4XyX.js";
11
- import { D as getHostStatusStore, E as TuiStatusStore, M as getHostDialogStore, S as getHostShortcuts, a as listCustomThemes, b as getHostRenderers, c as THEME_NAMES, d as getTheme, f as isLightThemeActive, g as setAutoThemeBase, h as setActiveThemeName, i as isSafeThemeName, j as TuiDialogStore, l as getActiveTheme, m as registerCustomThemeResolver, n as getHostThemes, o as resolveCustomTheme, p as isThemeAvailable, r as buildTheme, s as AUTO_THEME_NAME, u as getAutoThemeBase, v as getHostToastStore } from "./themes-By_OcIPQ.js";
2
+ import { a as getPageMarginSetting, c as normalizeScrollGutter, d as parsePageMarginSpec, f as resolvePageMargin, i as formatContextUsage, l as normalizeStatusBar, n as DEFAULT_STATUS_BAR, o as isPageMarginMode, p as subscribePageMargin, r as applyPageMargin, s as normalizePageMargin, u as normalizeToolBackground } from "./tuiDisplayPrefs-BCHRRcfe.js";
3
+ import { a as draftComboConflicts, d as setKeymapOverrides, f as isMod, h as modLabel, l as parseComboDraft, m as isPlainReturnInput, n as actionMatches, o as effectiveComboString, p as isPlainReturn, t as SHORTCUT_ACTIONS } from "./keymap-CFChEJ2W.js";
4
+ import { c as withHostRootCapability } from "./host-access-CmD27uhQ.js";
5
+ import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-CznCgVHv.js";
6
+ import { n as getHostCommandTrees } from "./command-trees-8o99Bws7.js";
7
+ import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-QQ1-2lhL.js";
8
+ import { n as getHostSceneRuntime } from "./scenes-ai_8sHDs.js";
9
+ import { A as tuiEnvName, C as LEGACY_DATA_DIR, D as homeDir, E as detectLegacyEnv, J as parseManifest, M as loadSpecData, O as readTuiEnv, S as DATA_DIR, T as RENAMED_ENV, Y as projectManifest, _ as stripAnsi$1, a as normalizeCancelDecision, b as isWide, c as installDecisionGuard, d as capCells, f as cleanRenderText, g as getGraphemeSegmenter, h as stringWidth$1, i as dispatchTuiNotification, k as resolveChatCodeCliHome, m as flattenInline, p as cleanScalarText, r as dispatchTuiDecision, v as eastAsianWidth, w as PRE_DSH_TUI_DATA_DIR, x as readGrantStore, y as isFullWidth } from "./extension-events-DciGPKJa.js";
10
+ import { A as validatePlugin, D as buildHostDescriptor, O as negotiate, _ as getHostMessageObserver, a as commandOwner, k as createContractIndex, n as hasCommandErrorCode, r as mapCommandError, w as EFFECT_LEDGER_FILE } from "./command-errors-CIYn1nnW.js";
11
+ import { D as getHostStatusStore, E as TuiStatusStore, M as getHostDialogStore, S as getHostShortcuts, a as listCustomThemes, b as getHostRenderers, c as THEME_NAMES, d as getTheme, f as isLightThemeActive, g as setAutoThemeBase, h as setActiveThemeName, i as isSafeThemeName, j as TuiDialogStore, l as getActiveTheme, m as registerCustomThemeResolver, n as getHostThemes, o as resolveCustomTheme, p as isThemeAvailable, r as buildTheme, s as AUTO_THEME_NAME, u as getAutoThemeBase, v as getHostToastStore } from "./themes-DTzG_9I_.js";
12
12
  import { a as resolvePreset, i as isPresetName, n as FRAME_PRESETS, o as ActivityTracker, r as PRESET_NAMES, t as DEFAULT_PRESET } from "./frames-7PAg0Q9b.js";
13
13
  import { n as require_has_flag, t as require_supports_color } from "./supports-color-CcW-FGjr.js";
14
14
  import { createRequire } from "node:module";
@@ -1198,7 +1198,7 @@ var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1198
1198
  else module.exports = require_react_development();
1199
1199
  }));
1200
1200
  //#endregion
1201
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sideQuestion.js
1201
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sideQuestion.js
1202
1202
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
1203
1203
  /**
1204
1204
  * Side Question (`/btw`) — CC's btw.tsx/sideQuestion.ts semantics on the
@@ -1268,7 +1268,7 @@ async function runSideQuestion(params) {
1268
1268
  return { answer };
1269
1269
  }
1270
1270
  //#endregion
1271
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/recap.js
1271
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/recap.js
1272
1272
  /**
1273
1273
  * Session recap (`/recap`, pi-recap semantics): a single TOOL-LESS LLM
1274
1274
  * call that summarizes the session's RECENT activity into one line and
@@ -1381,7 +1381,7 @@ function parseRecapResponse(raw) {
1381
1381
  return { summary: raw.trim() };
1382
1382
  }
1383
1383
  //#endregion
1384
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/log.js
1384
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/log.js
1385
1385
  /**
1386
1386
  * Error logger for the ported Ink core. Always writes to stderr (an Ink
1387
1387
  * renderer failure must never pass silently).
@@ -1392,7 +1392,7 @@ function logError(error) {
1392
1392
  process.stderr.write(`[ChatCode CLI TUI] ${text}\n`);
1393
1393
  }
1394
1394
  //#endregion
1395
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/update-overflow-guard.js
1395
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/update-overflow-guard.js
1396
1396
  /**
1397
1397
  * Self-healing guard for React's nested-update overflow — Minified React
1398
1398
  * error #185 ("Maximum update depth exceeded").
@@ -1535,7 +1535,7 @@ function installNestedUpdateOverflowProcessGuard() {
1535
1535
  });
1536
1536
  }
1537
1537
  //#endregion
1538
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/sessionColors.js
1538
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/sessionColors.js
1539
1539
  /**
1540
1540
  * Session accent colors for `/color` (CC's /color semantics): a small
1541
1541
  * named palette that overrides the prompt-input border (and its session
@@ -1576,7 +1576,7 @@ function sessionColorHex(name) {
1576
1576
  return isValidSessionColor(name) ? SESSION_COLORS[name] : void 0;
1577
1577
  }
1578
1578
  //#endregion
1579
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/deepseekPricing.js
1579
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/deepseekPricing.js
1580
1580
  /**
1581
1581
  * DeepSeek 官方定价与"本会话花费"估算(人民币口径)。
1582
1582
  *
@@ -1701,7 +1701,7 @@ function estimateSessionCostCny(tokens, model) {
1701
1701
  return estimateSessionCostSplitCny(tokens, model)?.total;
1702
1702
  }
1703
1703
  //#endregion
1704
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/i18n.js
1704
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/i18n.js
1705
1705
  /**
1706
1706
  * dsh-tui localization — UI strings for Chinese (`zh`, the default) and
1707
1707
  * English (`en`).
@@ -3406,8 +3406,8 @@ const dict = {
3406
3406
  en: "The active preset does not register /plan; cannot toggle plan mode"
3407
3407
  },
3408
3408
  "logo-web-hint": {
3409
- zh: "🌐 Web:输入 /web,或在终端运行 cco web,即可启动 Web 端",
3410
- en: "🌐 Web: type /web, or run cco web in another terminal"
3409
+ zh: "🌐 输入 /web,或在终端运行 cco web,进行可视化配置",
3410
+ en: "🌐 type /web, or run cco web in another terminal"
3411
3411
  },
3412
3412
  "logo-drift-newer": {
3413
3413
  zh: "ChatCode CLI 引擎为 {{installed}},比本界面验证过的 {{validated}} 新,可能出现兼容问题;请更新本界面,或执行 npm i -g @chatcode/chatcode-cli@latest 重装 CLI。",
@@ -6517,7 +6517,7 @@ function resolveStartupLang(dir = PREFS_DIR$6, env = process.env) {
6517
6517
  return readLangPref(dir) ?? "zh";
6518
6518
  }
6519
6519
  //#endregion
6520
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/commands.js
6520
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/commands.js
6521
6521
  /**
6522
6522
  * Local slash commands for the dsh-tui TUI. Claude Code's command system is
6523
6523
  * deeply wired into its engine; dsh-tui ships a small built-in set with the
@@ -6974,7 +6974,7 @@ function matchingCompletionToken(candidate, prefix) {
6974
6974
  return candidate.aliases?.find((alias) => alias.toLowerCase().startsWith(prefix));
6975
6975
  }
6976
6976
  //#endregion
6977
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionHistory.js
6977
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionHistory.js
6978
6978
  /**
6979
6979
  * Launcher contract for `dsh-tui --resume`: the TUI writes the chosen session
6980
6980
  * id to `<CHATCODE_CLI_HOME>/tui/resume.txt`, and the launcher feeds it back as
@@ -7143,7 +7143,7 @@ function forgetAgentViewSession(sessionId) {
7143
7143
  } catch {}
7144
7144
  }
7145
7145
  //#endregion
7146
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionTags.js
7146
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionTags.js
7147
7147
  /**
7148
7148
  * One searchable local tag per persisted session.
7149
7149
  *
@@ -7293,7 +7293,7 @@ function forgetSessionTag(sessionId, dir = DATA_DIR) {
7293
7293
  return setSessionTag(sessionId, void 0, dir).ok;
7294
7294
  }
7295
7295
  //#endregion
7296
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/liveSession.js
7296
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/liveSession.js
7297
7297
  /**
7298
7298
  * Live Session compatibility facade.
7299
7299
  *
@@ -7455,7 +7455,7 @@ function liveSessionCreateOptions(request) {
7455
7455
  };
7456
7456
  }
7457
7457
  //#endregion
7458
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionLog.js
7458
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionLog.js
7459
7459
  /**
7460
7460
  * Legacy third-party session-event types the TUI vouches for as ephemeral
7461
7461
  * UI frames — safe for the strict read path to accept and skip. Exported
@@ -8169,7 +8169,7 @@ function deleteSessionLog(sessionId) {
8169
8169
  }
8170
8170
  }
8171
8171
  //#endregion
8172
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionEvent.js
8172
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionEvent.js
8173
8173
  /** Narrow an unknown/session event to the retired durable chunk envelope. */
8174
8174
  function legacyAssistantChunkOf(event) {
8175
8175
  if (event === null || typeof event !== "object") return void 0;
@@ -8183,7 +8183,7 @@ function legacyAssistantChunkOf(event) {
8183
8183
  return event;
8184
8184
  }
8185
8185
  //#endregion
8186
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessionTree.js
8186
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessionTree.js
8187
8187
  const TREE_FILTERS = [
8188
8188
  "default",
8189
8189
  "no-tools",
@@ -10339,7 +10339,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10339
10339
  module.exports = subset;
10340
10340
  }));
10341
10341
  //#endregion
10342
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/shellQuote.js
10342
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/shellQuote.js
10343
10343
  var import_semver = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
10344
10344
  const internalRe = require_re();
10345
10345
  const constants = require_constants$1();
@@ -10432,7 +10432,7 @@ function cmdEscapeArgument(arg, doubleEscapeMetaChars = false) {
10432
10432
  return out;
10433
10433
  }
10434
10434
  //#endregion
10435
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/update.js
10435
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/update.js
10436
10436
  const PACKAGE_NAME = "@chatcode/cco-tui";
10437
10437
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
10438
10438
  const GITHUB_REPO = "ccch1mneyyy/dsh-TUI";
@@ -11783,7 +11783,7 @@ async function restartTui(sessionId, options = {}) {
11783
11783
  });
11784
11784
  }
11785
11785
  //#endregion
11786
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/header.js
11786
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/header.js
11787
11787
  /** A finite number, or undefined for anything else (NaN and ±Infinity included). */
11788
11788
  function finiteNumber(value) {
11789
11789
  return typeof value === "number" && Number.isFinite(value) ? value : void 0;
@@ -11857,7 +11857,7 @@ function classify(header) {
11857
11857
  return { kind: "root" };
11858
11858
  }
11859
11859
  //#endregion
11860
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/frames.js
11860
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/frames.js
11861
11861
  /**
11862
11862
  * Bounded reads over the JSONL backend's concatenated-Zstandard session logs.
11863
11863
  *
@@ -12103,7 +12103,7 @@ function decodeTail(window) {
12103
12103
  return decodeFrames(window.buffer, window.whole ? walkFrames(window.buffer) : resyncFrames(window.buffer));
12104
12104
  }
12105
12105
  //#endregion
12106
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/digest.js
12106
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/digest.js
12107
12107
  /**
12108
12108
  * What a bounded read can learn about a session log.
12109
12109
  *
@@ -12567,7 +12567,7 @@ function previewSession(path, limit) {
12567
12567
  return entries.slice(-limit);
12568
12568
  }
12569
12569
  //#endregion
12570
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/artifact.js
12570
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/artifact.js
12571
12571
  /** Read-only artifact lookup for session summaries and previews. */
12572
12572
  /** Highest published compressed generation; temporary migration files are ignored. */
12573
12573
  function inDirectory(directory) {
@@ -12620,7 +12620,7 @@ function findSessionArtifact(sessionId, target) {
12620
12620
  }
12621
12621
  }
12622
12622
  //#endregion
12623
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/store.js
12623
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/store.js
12624
12624
  /**
12625
12625
  * The session index — a local cache keyed by the backend's own change token.
12626
12626
  *
@@ -12783,7 +12783,7 @@ function noteBranch(sessionId, branch) {
12783
12783
  writeIndex(index);
12784
12784
  }
12785
12785
  //#endregion
12786
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/list.js
12786
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/list.js
12787
12787
  /**
12788
12788
  * Building the session list.
12789
12789
  *
@@ -13055,7 +13055,7 @@ async function locateSession(source, sessionId, signal) {
13055
13055
  return match === void 0 ? void 0 : locate(source, match.raw, sessionId);
13056
13056
  }
13057
13057
  //#endregion
13058
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/agent-view.js
13058
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/agent-view.js
13059
13059
  /**
13060
13060
  * Agent view (CC `claude agents`) derivation helpers — pure functions over
13061
13061
  * session events that the channel folds into {@link AgentViewRow}s. Kept in
@@ -13285,7 +13285,7 @@ function featureOn(config, name) {
13285
13285
  return config.mode !== "minimal";
13286
13286
  }
13287
13287
  //#endregion
13288
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/activityPrefs.js
13288
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/activityPrefs.js
13289
13289
  /**
13290
13290
  * Persisted working-activity indicator preference, mirroring the pi
13291
13291
  * working-activity extension's `~/.pi/agent/working-activity.json`
@@ -13354,7 +13354,7 @@ function writeActivityFrames(name, dir = PREFS_DIR$5) {
13354
13354
  }
13355
13355
  }
13356
13356
  //#endregion
13357
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileSuggestions.js
13357
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileSuggestions.js
13358
13358
  const pathSeparators = /[\\/]/;
13359
13359
  function isPathLikeQuery(query) {
13360
13360
  return query.startsWith(".") || query.startsWith("~") || query.startsWith("/") || /^[A-Za-z]:[\\/]/.test(query) || pathSeparators.test(query);
@@ -13391,7 +13391,7 @@ function preserveSelection(previous, next, fallback = 0) {
13391
13391
  return next.length === 0 ? 0 : Math.min(Math.max(0, fallback), next.length - 1);
13392
13392
  }
13393
13393
  //#endregion
13394
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/effortPrefs.js
13394
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/effortPrefs.js
13395
13395
  /**
13396
13396
  * Persisted reasoning-effort preference (`~/.chatcode-cli/tui/effort.json`). Set via
13397
13397
  * `/effort` (slider or `/effort <id>`; `/effort status` reports the current
@@ -13433,7 +13433,7 @@ function writeEffortPref(effort, dir = PREFS_DIR$4) {
13433
13433
  }
13434
13434
  }
13435
13435
  //#endregion
13436
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelPrefs.js
13436
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelPrefs.js
13437
13437
  /**
13438
13438
  * Persisted model-route preference (`/model` picker choice), kept at
13439
13439
  * `~/.chatcode-cli/model.json` (`provider` + `model` keys) so CLI and Web share it
@@ -13516,7 +13516,7 @@ function writeModelPref(provider, model, dir = PREFS_DIR$3) {
13516
13516
  }
13517
13517
  }
13518
13518
  //#endregion
13519
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelRoute.js
13519
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelRoute.js
13520
13520
  /**
13521
13521
  * Model route resolution (issue #67). The `(provider, model)` pair is a
13522
13522
  * single value: every source either supplies the WHOLE route or is skipped,
@@ -13742,7 +13742,7 @@ function orderModelProviders(providers) {
13742
13742
  return [...providers].sort((left, right) => rank(left.id) - rank(right.id));
13743
13743
  }
13744
13744
  //#endregion
13745
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/presetPrefs.js
13745
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/presetPrefs.js
13746
13746
  /**
13747
13747
  * Persisted agent-preset preference (`/preset` picker choice), kept at
13748
13748
  * `~/.chatcode-cli/tui/agent-preset.json` (`preset` key) so the choice survives
@@ -13801,7 +13801,7 @@ function migratePresetPref(requested, resolved, dir = PREFS_DIR$2) {
13801
13801
  return requested === void 0 || resolved === void 0 || requested === resolved ? true : writePresetPref(resolved, dir);
13802
13802
  }
13803
13803
  //#endregion
13804
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/persistedSession.js
13804
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/persistedSession.js
13805
13805
  /** Undefined means the service exposes neither supported read API. */
13806
13806
  async function readPersistedSession(persistence, id) {
13807
13807
  if (persistence === null || typeof persistence !== "object") return void 0;
@@ -13821,7 +13821,7 @@ async function readPersistedSession(persistence, id) {
13821
13821
  if (typeof reader.load === "function") return reader.load(id);
13822
13822
  }
13823
13823
  //#endregion
13824
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-resolution.js
13824
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-resolution.js
13825
13825
  /**
13826
13826
  * Agent-preset resolution across upstream prerelease lines.
13827
13827
  *
@@ -13859,7 +13859,7 @@ async function resolveCompatiblePreset(presets, requested) {
13859
13859
  return presets.resolve(requested);
13860
13860
  }
13861
13861
  //#endregion
13862
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/presets.js
13862
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/presets.js
13863
13863
  /**
13864
13864
  * Agent-presets roster integration (issue #8): compose each session's
13865
13865
  * model-facing world (tools, prompt sections, projections) from one preset
@@ -14009,7 +14009,7 @@ function serviceForAgent(ctx, agent, key) {
14009
14009
  return ctx.get(key);
14010
14010
  }
14011
14011
  //#endregion
14012
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
14012
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
14013
14013
  const failureReason = (error) => error instanceof Error ? error.message : String(error);
14014
14014
  /** Read a roster-resolved composition without bypassing preset ownership. */
14015
14015
  async function readPresetComposition(presets, presetId) {
@@ -14066,7 +14066,7 @@ async function removePresetComposition(presets, presetId) {
14066
14066
  }
14067
14067
  }
14068
14068
  //#endregion
14069
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/session-organization.js
14069
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/session-organization.js
14070
14070
  /** Adapter-only readers for optional Harness session-organization services. */
14071
14071
  const STAT_KEYS = [
14072
14072
  "turns",
@@ -14127,7 +14127,7 @@ function presetCompositionRows(content, limit = 80) {
14127
14127
  };
14128
14128
  }
14129
14129
  //#endregion
14130
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/debug.js
14130
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/debug.js
14131
14131
  /**
14132
14132
  * Debug logger for the ported Ink core. Writes to stderr only when
14133
14133
  * `CHATCODE_CLI_TUI_DEBUG` (or its legacy alias) is set, so normal runs stay quiet.
@@ -14157,7 +14157,7 @@ function logMouseDebug(message, fields) {
14157
14157
  } catch {}
14158
14158
  }
14159
14159
  //#endregion
14160
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/mentions.js
14160
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/mentions.js
14161
14161
  /**
14162
14162
  * `@` file-mention parsing (issue #15).
14163
14163
  *
@@ -14303,7 +14303,7 @@ function mentionAtCaret(value, cursor) {
14303
14303
  };
14304
14304
  }
14305
14305
  //#endregion
14306
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/commonUtilityCommands.js
14306
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/commonUtilityCommands.js
14307
14307
  /** Format only the files in the authoritative loaded-context projection. */
14308
14308
  function loadedFileLines(files, copy) {
14309
14309
  if (files === void 0) return [copy.unavailable];
@@ -14418,7 +14418,7 @@ function codeRatioLines(report, copy, maxAuthors = 20) {
14418
14418
  return lines;
14419
14419
  }
14420
14420
  //#endregion
14421
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themeCatalog.js
14421
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themeCatalog.js
14422
14422
  /**
14423
14423
  * Cordis-free theme catalog shared by future pickers, commands and hosts.
14424
14424
  *
@@ -14499,7 +14499,7 @@ function listThemeCatalog(host) {
14499
14499
  return Object.freeze(entries);
14500
14500
  }
14501
14501
  //#endregion
14502
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionModes.js
14502
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionModes.js
14503
14503
  /**
14504
14504
  * Configurable Shift+Tab session modes (the `modes` dsh-tui plugin config):
14505
14505
  * each mode is a named bundle of optional DSH plane switches — plan mode
@@ -14563,7 +14563,7 @@ function modeDisplayName(spec) {
14563
14563
  return spec.id;
14564
14564
  }
14565
14565
  //#endregion
14566
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagents.js
14566
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagents.js
14567
14567
  /** Unified subagent activity domain model used by the adapter and every view. */
14568
14568
  const MAX_OUTPUT_EVENTS = 160;
14569
14569
  const MAX_OUTPUT_LINES = 160;
@@ -14941,7 +14941,7 @@ function formatJobDuration(job, now = Date.now()) {
14941
14941
  return `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, "0")}m`;
14942
14942
  }
14943
14943
  //#endregion
14944
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/minimalMode.js
14944
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/minimalMode.js
14945
14945
  /**
14946
14946
  * Minimal mode: one process-wide flag gating decorative UI (header splash,
14947
14947
  * emoji status glyphs, non-tool text colors, status-bar extras). The flag is
@@ -14960,7 +14960,7 @@ function setMinimalMode(enabled) {
14960
14960
  minimal = enabled;
14961
14961
  }
14962
14962
  //#endregion
14963
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspace.js
14963
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspace.js
14964
14964
  /**
14965
14965
  * Find or create the Workspace for `cwd`, then durably account `sessionId`.
14966
14966
  *
@@ -14976,7 +14976,7 @@ async function attachSessionToWorkspace(ctx, cwd, sessionId) {
14976
14976
  return true;
14977
14977
  }
14978
14978
  //#endregion
14979
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/contract.js
14979
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/contract.js
14980
14980
  /**
14981
14981
  * Upstream compatibility contract.
14982
14982
  *
@@ -15405,7 +15405,7 @@ function pluginsInfoLines(args, deps) {
15405
15405
  return lines;
15406
15406
  }
15407
15407
  //#endregion
15408
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/mcp-status.js
15408
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/mcp-status.js
15409
15409
  /** Loader and tool-registry projection used by the TUI's `/mcp` report. */
15410
15410
  const MCP_CLIENT_PACKAGE = "@deepseek-ai/dsh-mcp-client";
15411
15411
  const FIBER_ACTIVE = 2;
@@ -15458,7 +15458,7 @@ function collectMcpServerStatus(schemas, entries) {
15458
15458
  }));
15459
15459
  }
15460
15460
  //#endregion
15461
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/format.js
15461
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/format.js
15462
15462
  /**
15463
15463
  * Number, token-count, and duration formatters shared by the status line
15464
15464
  * and message rows.
@@ -15521,7 +15521,7 @@ function formatDuration$4(durationMs, options = {}) {
15521
15521
  return parts.join(" ");
15522
15522
  }
15523
15523
  //#endregion
15524
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/contextUsage.js
15524
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/contextUsage.js
15525
15525
  /**
15526
15526
  * Return the current context occupancy. The latest request is authoritative:
15527
15527
  * its uncached input and cache read/write tokens are all part of that request's
@@ -15905,7 +15905,7 @@ function prepareMemoryTargetFile(requested, candidates, cwd, dshHome) {
15905
15905
  }
15906
15906
  }
15907
15907
  //#endregion
15908
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/channel.js
15908
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/channel.js
15909
15909
  /** Return the step left open by a tree fork cut within one turn. */
15910
15910
  function openStepAtForkCut(events, turn) {
15911
15911
  for (let i = events.length - 1; i >= 0; i--) {
@@ -22387,7 +22387,7 @@ async function expandMentions(fs, cwd, text, attachments, stagedImages) {
22387
22387
  };
22388
22388
  }
22389
22389
  //#endregion
22390
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/childStderr.js
22390
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/childStderr.js
22391
22391
  /**
22392
22392
  * Child-process stderr guard (issue #17).
22393
22393
  *
@@ -22556,7 +22556,7 @@ function createChildStderrReporter(notify, options = {}) {
22556
22556
  };
22557
22557
  }
22558
22558
  //#endregion
22559
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions.js
22559
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions.js
22560
22560
  /**
22561
22561
  * Ask-user-question store — the UI-side half of the DSH user-interaction
22562
22562
  * seam (`ctx.userQuestions`). The harness's model-facing
@@ -22796,7 +22796,7 @@ var QuestionStore = class {
22796
22796
  }
22797
22797
  };
22798
22798
  //#endregion
22799
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerGuard.js
22799
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerGuard.js
22800
22800
  /**
22801
22801
  * Question-provider seat guard (issue #98 security follow-up).
22802
22802
  *
@@ -22908,7 +22908,7 @@ function incumbentQuestionProviderId(service) {
22908
22908
  } catch {}
22909
22909
  }
22910
22910
  //#endregion
22911
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions-answerer.js
22911
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions-answerer.js
22912
22912
  /**
22913
22913
  * User-question answerer compatibility.
22914
22914
  *
@@ -22967,7 +22967,7 @@ function prepareQuestionAnswerer(ctx, service, answerer) {
22967
22967
  }
22968
22968
  }
22969
22969
  //#endregion
22970
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/approvals.js
22970
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/approvals.js
22971
22971
  /**
22972
22972
  * Approval store — the UI-side answerer half of the DSH approval seam
22973
22973
  * (`ctx.approval`). The harness's permission layer asks
@@ -23361,7 +23361,7 @@ var ApprovalStore = class {
23361
23361
  }
23362
23362
  };
23363
23363
  //#endregion
23364
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/promptDebug.js
23364
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/promptDebug.js
23365
23365
  /**
23366
23366
  * On-demand capture of every final AgentLoop request context observed for a
23367
23367
  * live session.
@@ -23507,7 +23507,7 @@ function registerPromptDebug(ctx) {
23507
23507
  }));
23508
23508
  }
23509
23509
  //#endregion
23510
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/migrationPrefs.js
23510
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/migrationPrefs.js
23511
23511
  /**
23512
23512
  * One-time local migrations (`~/.chatcode-cli/tui/migrations.json`), keyed by stable
23513
23513
  * migration id → ISO timestamp. Named keys (not a bare flag) so later
@@ -23598,7 +23598,7 @@ async function commitFullscreenFactoryMigration(plan, options) {
23598
23598
  } catch {}
23599
23599
  }
23600
23600
  //#endregion
23601
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/retired-packaged-presets.js
23601
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/retired-packaged-presets.js
23602
23602
  const OWNER = "@chatcode/cco-tui";
23603
23603
  const MARKER = ".dsh-tui-managed.json";
23604
23604
  const RETIRED_PACKAGED_PRESETS = ["liangshen"];
@@ -23640,7 +23640,7 @@ function cleanupRetiredPackagedPresets(options = {}) {
23640
23640
  return results;
23641
23641
  }
23642
23642
  //#endregion
23643
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workspaceRoot.js
23643
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workspaceRoot.js
23644
23644
  /**
23645
23645
  * Session working-directory resolution (issue #96, bug 2).
23646
23646
  *
@@ -23677,7 +23677,7 @@ function gitWorktreeRoot(start) {
23677
23677
  }
23678
23678
  }
23679
23679
  //#endregion
23680
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/openExternal.js
23680
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/openExternal.js
23681
23681
  /**
23682
23682
  * Open URLs, files and folders with the platform's default handler, fully
23683
23683
  * detached from the TUI process (fire-and-forget: no stdio pipes, no wait,
@@ -23838,13 +23838,13 @@ function revealInFileManager(filePath) {
23838
23838
  if (existsSync(dir)) openExternal(dir);
23839
23839
  }
23840
23840
  //#endregion
23841
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeApi.js
23841
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeApi.js
23842
23842
  /** ChatCode API request capability. Credentials stay in the host adapter. */
23843
23843
  const CHATCODE_API_BASE_URL = "https://chatcode.chinaunicom.cn";
23844
23844
  /** Each mounted TUI receives its own host-authorized request function. */
23845
23845
  const ChatCodeApiContext = (0, import_react.createContext)(void 0);
23846
23846
  //#endregion
23847
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/releaseNotes.js
23847
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/releaseNotes.js
23848
23848
  const RELEASE_NOTE_PATH = join(DATA_DIR, "release-notes.json");
23849
23849
  const RELEASE_NOTE_ENDPOINT = `${CHATCODE_API_BASE_URL}/chatcode/api/v1/cli/version/release-note`;
23850
23850
  function acknowledgedVersion() {
@@ -23940,7 +23940,7 @@ var ReleaseNotesStore = class {
23940
23940
  }
23941
23941
  };
23942
23942
  //#endregion
23943
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/version.js
23943
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/version.js
23944
23944
  const MAIN_CLI_PACKAGES = new Set(["@chatcode/chatcode-cli", "@chatcode/chatcode-cli-test"]);
23945
23945
  const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u;
23946
23946
  const PRODUCT_VERSION_ENV = "CHATCODE_CLI_PRODUCT_VERSION";
@@ -23980,7 +23980,7 @@ function resolveProductVersion(options = {}) {
23980
23980
  /** Product version shown by the TUI, shared with `cco --version` and Web. */
23981
23981
  const PRODUCT_VERSION = resolveProductVersion();
23982
23982
  //#endregion
23983
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/execFileNoThrow.js
23983
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/execFileNoThrow.js
23984
23984
  const MAX_CAPTURE_BYTES = 64 * 1024;
23985
23985
  function appendBounded(chunks, chunk, total) {
23986
23986
  if (total.value >= MAX_CAPTURE_BYTES) return;
@@ -24050,7 +24050,7 @@ function execFileNoThrow(file, args = [], options) {
24050
24050
  });
24051
24051
  }
24052
24052
  //#endregion
24053
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/herdr.js
24053
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/herdr.js
24054
24054
  const REPORT_TIMEOUT_MS = 2e3;
24055
24055
  const RELEASE_TIMEOUT_MS = 500;
24056
24056
  const RETRY_DELAYS_MS = [
@@ -24438,7 +24438,7 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
24438
24438
  })();
24439
24439
  }));
24440
24440
  //#endregion
24441
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themePrefs.js
24441
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themePrefs.js
24442
24442
  var import_jsx_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
24443
24443
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
24444
24444
  else module.exports = require_react_jsx_runtime_development();
@@ -24495,7 +24495,7 @@ function writeThemePref(name, dir = PREFS_DIR) {
24495
24495
  }
24496
24496
  }
24497
24497
  //#endregion
24498
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRuntimeThemeSnapshot.js
24498
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRuntimeThemeSnapshot.js
24499
24499
  const EMPTY_THEME_SNAPSHOT = Object.freeze([]);
24500
24500
  const subscribeNoThemes = (_listener) => () => {};
24501
24501
  /**
@@ -24523,7 +24523,7 @@ function useRuntimeThemeSnapshot(themeHost) {
24523
24523
  return import_react.useSyncExternalStore(subscribeThemes, getThemeSnapshot, getThemeSnapshot);
24524
24524
  }
24525
24525
  //#endregion
24526
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event.js
24526
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event.js
24527
24527
  /**
24528
24528
  * Base class for events with immediate-propagation control.
24529
24529
  *
@@ -24547,7 +24547,7 @@ var Event = class {
24547
24547
  }
24548
24548
  };
24549
24549
  //#endregion
24550
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/emitter.js
24550
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/emitter.js
24551
24551
  /**
24552
24552
  * Node-compatible event emitter that is aware of the `Event` class, so
24553
24553
  * `emit` respects `stopImmediatePropagation()` on dispatched events.
@@ -24580,7 +24580,7 @@ var EventEmitter$1 = class extends EventEmitter {
24580
24580
  }
24581
24581
  };
24582
24582
  //#endregion
24583
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/StdinContext.js
24583
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/StdinContext.js
24584
24584
  /**
24585
24585
  * `StdinContext` is a React context, which exposes input stream.
24586
24586
  */
@@ -24594,14 +24594,14 @@ const StdinContext = (0, import_react.createContext)({
24594
24594
  });
24595
24595
  StdinContext.displayName = "InternalStdinContext";
24596
24596
  //#endregion
24597
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-stdin.js
24597
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-stdin.js
24598
24598
  /**
24599
24599
  * React hook exposing the stdin stream and raw-mode helpers from `StdinContext`.
24600
24600
  * @returns the `StdinContext` value.
24601
24601
  */
24602
24602
  const useStdin = () => (0, import_react.useContext)(StdinContext);
24603
24603
  //#endregion
24604
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/ansi.js
24604
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/ansi.js
24605
24605
  /**
24606
24606
  * ANSI Control Characters and Escape Sequence Introducers
24607
24607
  *
@@ -24675,7 +24675,7 @@ function isEscFinal(byte) {
24675
24675
  return byte >= 48 && byte <= 126;
24676
24676
  }
24677
24677
  //#endregion
24678
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/csi.js
24678
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/csi.js
24679
24679
  /**
24680
24680
  * CSI (Control Sequence Introducer) Types
24681
24681
  *
@@ -24991,7 +24991,7 @@ const ENABLE_WIN32_INPUT_MODE = csi("?9001h");
24991
24991
  */
24992
24992
  const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
24993
24993
  //#endregion
24994
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/env.js
24994
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/env.js
24995
24995
  /**
24996
24996
  * Minimal terminal-environment shim for the ported Ink core. The original
24997
24997
  * module computed a richer `env` object from the Claude Code app context; the
@@ -25000,7 +25000,7 @@ const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
25000
25000
  */
25001
25001
  const env$1 = { terminal: (process.env.TERM_PROGRAM ?? process.env.TERM ?? "unknown").toLowerCase() };
25002
25002
  //#endregion
25003
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/osc.js
25003
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/osc.js
25004
25004
  /**
25005
25005
  * OSC (Operating System Command) Types and Parser
25006
25006
  */
@@ -25396,7 +25396,7 @@ function supportsTabStatus() {
25396
25396
  return process.env.USER_TYPE === "ant";
25397
25397
  }
25398
25398
  //#endregion
25399
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-querier.js
25399
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-querier.js
25400
25400
  /**
25401
25401
  * Query the terminal and await responses without timeouts.
25402
25402
  *
@@ -25582,7 +25582,7 @@ var TerminalQuerier = class {
25582
25582
  }
25583
25583
  };
25584
25584
  //#endregion
25585
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemeProvider.js
25585
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemeProvider.js
25586
25586
  /**
25587
25587
  * Theme provider with terminal-background auto-detection. With no explicit
25588
25588
  * `theme` prop, no CHATCODE_CLI_TUI_THEME override and no persisted choice
@@ -25781,7 +25781,7 @@ function useTheme() {
25781
25781
  return [theme, setTheme];
25782
25782
  }
25783
25783
  //#endregion
25784
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsEditor.js
25784
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsEditor.js
25785
25785
  /**
25786
25786
  * React-free form model behind the `/settings` screen (issue #165), mirroring
25787
25787
  * the web front door's card-form.ts semantics: a section stages what the user
@@ -26025,7 +26025,7 @@ var SettingsForm = class {
26025
26025
  }
26026
26026
  };
26027
26027
  //#endregion
26028
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/reload.js
26028
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/reload.js
26029
26029
  /**
26030
26030
  * `/reload` planning — the pi-style soft reload: re-read the TUI's persisted
26031
26031
  * preference files (`~/.chatcode-cli/tui/{theme,lang,agent-preset,model,
@@ -26874,7 +26874,7 @@ var SignalExit = class extends SignalExitBase {
26874
26874
  const process$2 = globalThis.process;
26875
26875
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
26876
26876
  //#endregion
26877
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/enums.js
26877
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/enums.js
26878
26878
  /**
26879
26879
  * Yoga enums — ported from yoga-layout/src/generated/YGEnums.ts
26880
26880
  * Kept as `const` objects (not TS enums) per repo convention.
@@ -27006,7 +27006,7 @@ const Wrap = {
27006
27006
  WrapReverse: 2
27007
27007
  };
27008
27008
  //#endregion
27009
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/index.js
27009
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/index.js
27010
27010
  /**
27011
27011
  * Pure-TypeScript port of yoga-layout (Meta's flexbox engine).
27012
27012
  *
@@ -29457,7 +29457,7 @@ Object.defineProperties(createChalk.prototype, {
29457
29457
  const chalk = createChalk();
29458
29458
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
29459
29459
  //#endregion
29460
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/colorize.js
29460
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/colorize.js
29461
29461
  /**
29462
29462
  * xterm.js (VS Code, Cursor, code-server, Coder) has supported truecolor
29463
29463
  * since 2017, but code-server/Coder containers often don't set
@@ -29588,7 +29588,7 @@ function applyColor(text, color) {
29588
29588
  return colorize(text, color, "foreground");
29589
29589
  }
29590
29590
  //#endregion
29591
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/envUtils.js
29591
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/envUtils.js
29592
29592
  /**
29593
29593
  * Environment truthiness check for the ported Ink core. Accepts the common
29594
29594
  * shell truthy spellings (`1`, `true`, `yes`, `on`).
@@ -29606,7 +29606,7 @@ function isEnvTruthy(value) {
29606
29606
  ].includes(value.toLowerCase());
29607
29607
  }
29608
29608
  //#endregion
29609
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fullscreen.js
29609
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fullscreen.js
29610
29610
  /**
29611
29611
  * Whether mouse click handling is disabled for the ported Ink core. dsh-tui
29612
29612
  * reads its own env flag (`CHATCODE_CLI_TUI_DISABLE_MOUSE`); the original module
@@ -29617,7 +29617,7 @@ function isMouseClicksDisabled() {
29617
29617
  return isEnvTruthy(readTuiEnv("DISABLE_MOUSE"));
29618
29618
  }
29619
29619
  //#endregion
29620
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/input-suppression.js
29620
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/input-suppression.js
29621
29621
  /**
29622
29622
  * Input suppression window for terminal handoffs (issue #123): when stdin is
29623
29623
  * handed to an external TUI (full-screen editor) and back, the tty can
@@ -29644,7 +29644,7 @@ function isInputSuppressed() {
29644
29644
  return Date.now() < suppressedUntil;
29645
29645
  }
29646
29646
  //#endregion
29647
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/tokenize.js
29647
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/tokenize.js
29648
29648
  /**
29649
29649
  * Input Tokenizer - Escape sequence boundary detection
29650
29650
  *
@@ -29842,7 +29842,7 @@ function tokenize$2(input, initialState, initialBuffer, flush, x10Mouse, splitIn
29842
29842
  };
29843
29843
  }
29844
29844
  //#endregion
29845
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/parse-keypress.js
29845
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/parse-keypress.js
29846
29846
  /**
29847
29847
  * Keyboard input parser - converts terminal input to key events
29848
29848
  *
@@ -30906,7 +30906,7 @@ function createWheelKey(s, name, col, row, button) {
30906
30906
  };
30907
30907
  }
30908
30908
  //#endregion
30909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/input-event.js
30909
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/input-event.js
30910
30910
  function parseKey(keypress) {
30911
30911
  const key = {
30912
30912
  upArrow: keypress.name === "up",
@@ -30991,7 +30991,7 @@ var InputEvent = class extends Event {
30991
30991
  }
30992
30992
  };
30993
30993
  //#endregion
30994
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-focus-event.js
30994
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-focus-event.js
30995
30995
  /**
30996
30996
  * Event fired when the terminal window gains or loses focus.
30997
30997
  *
@@ -31010,7 +31010,7 @@ var TerminalFocusEvent = class extends Event {
31010
31010
  }
31011
31011
  };
31012
31012
  //#endregion
31013
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/node-cache.js
31013
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/node-cache.js
31014
31014
  /** Layout bounds cached per rendered node, used for blitting and clearing. */
31015
31015
  const nodeCache = /* @__PURE__ */ new WeakMap();
31016
31016
  /** Rects of removed children that need clearing on next render */
@@ -31048,7 +31048,7 @@ function consumeAbsoluteRemovedFlag() {
31048
31048
  return had;
31049
31049
  }
31050
31050
  //#endregion
31051
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-event.js
31051
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-event.js
31052
31052
  /**
31053
31053
  * Base class for all terminal events with DOM-style propagation.
31054
31054
  *
@@ -31177,7 +31177,7 @@ var TerminalEvent = class extends Event {
31177
31177
  _prepareForTarget(_target) {}
31178
31178
  };
31179
31179
  //#endregion
31180
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/pointer-event.js
31180
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/pointer-event.js
31181
31181
  /**
31182
31182
  * Base class for pointer-derived terminal events (click, wheel, hover).
31183
31183
  *
@@ -31238,7 +31238,7 @@ var PointerEvent = class extends TerminalEvent {
31238
31238
  }
31239
31239
  };
31240
31240
  //#endregion
31241
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/drag-event.js
31241
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/drag-event.js
31242
31242
  /**
31243
31243
  * Component-level drag event (DOM HTML5 drag semantics subset).
31244
31244
  *
@@ -47346,7 +47346,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
47346
47346
  }, module.exports.default = module.exports, Object.defineProperty(module.exports, "__esModule", { value: !0 }));
47347
47347
  }));
47348
47348
  //#endregion
47349
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/node.js
47349
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/node.js
47350
47350
  var import_react_reconciler = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
47351
47351
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
47352
47352
  else module.exports = require_react_reconciler_development();
@@ -47422,7 +47422,7 @@ const LayoutMeasureMode = {
47422
47422
  AtMost: "at-most"
47423
47423
  };
47424
47424
  //#endregion
47425
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/yoga.js
47425
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/yoga.js
47426
47426
  const EDGE_MAP = {
47427
47427
  all: Edge.All,
47428
47428
  horizontal: Edge.Horizontal,
@@ -47649,7 +47649,7 @@ function createYogaLayoutNode() {
47649
47649
  return new YogaLayoutNode(YOGA_INSTANCE.Node.create());
47650
47650
  }
47651
47651
  //#endregion
47652
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/engine.js
47652
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/engine.js
47653
47653
  /**
47654
47654
  * Create a new layout node backed by the Yoga adapter.
47655
47655
  * @returns an empty layout node with no children, styles, or measure function.
@@ -47658,7 +47658,7 @@ function createLayoutNode() {
47658
47658
  return createYogaLayoutNode();
47659
47659
  }
47660
47660
  //#endregion
47661
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/line-width-cache.js
47661
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/line-width-cache.js
47662
47662
  const cache = /* @__PURE__ */ new Map();
47663
47663
  const MAX_CACHE_SIZE = 4096;
47664
47664
  const MAX_CACHE_CHARS = 1e5;
@@ -47694,7 +47694,7 @@ function lineWidth(line) {
47694
47694
  return width;
47695
47695
  }
47696
47696
  //#endregion
47697
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-text.js
47697
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-text.js
47698
47698
  /**
47699
47699
  * Measure wrapped text dimensions in a single pass.
47700
47700
  * @param text - the text to measure.
@@ -47725,7 +47725,7 @@ function measureText(text, maxWidth) {
47725
47725
  };
47726
47726
  }
47727
47727
  //#endregion
47728
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/squash-text-nodes.js
47728
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/squash-text-nodes.js
47729
47729
  /**
47730
47730
  * Squash text nodes into styled segments, propagating styles down through the tree.
47731
47731
  * This allows structured styling without relying on ANSI string transforms.
@@ -47773,7 +47773,7 @@ function squashTextNodes(node) {
47773
47773
  return text;
47774
47774
  }
47775
47775
  //#endregion
47776
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/tabstops.js
47776
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/tabstops.js
47777
47777
  const DEFAULT_TAB_INTERVAL = 8;
47778
47778
  /**
47779
47779
  * Expand tab characters to spaces at fixed column intervals, preserving
@@ -48223,7 +48223,7 @@ function tokenize$1(str, endChar = Number.POSITIVE_INFINITY) {
48223
48223
  return ret;
48224
48224
  }
48225
48225
  //#endregion
48226
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sliceAnsi.js
48226
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sliceAnsi.js
48227
48227
  function isEndCode(code) {
48228
48228
  return code.code === code.endCode;
48229
48229
  }
@@ -48840,7 +48840,7 @@ function wrapAnsi$1(string, columns, options) {
48840
48840
  return normalizeText(String(string)).replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs$1(line), columns, options)).join("\n");
48841
48841
  }
48842
48842
  //#endregion
48843
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrapAnsi.js
48843
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrapAnsi.js
48844
48844
  const wrapAnsiBun = typeof Bun !== "undefined" && typeof Bun.wrapAnsi === "function" ? Bun.wrapAnsi : null;
48845
48845
  const SLOT_MIN_LENGTH = 2048;
48846
48846
  let slot = null;
@@ -48887,7 +48887,7 @@ function wrapAnsiNpmIncremental(input, columns, options) {
48887
48887
  */
48888
48888
  const wrapAnsi = wrapAnsiBun ?? wrapAnsiNpmIncremental;
48889
48889
  //#endregion
48890
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrap-text.js
48890
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrap-text.js
48891
48891
  const ELLIPSIS = "…";
48892
48892
  const WRAP_CACHE_MAX_ENTRIES = 2048;
48893
48893
  const WRAP_CACHE_MAX_CHARS = 2e6;
@@ -48951,7 +48951,7 @@ function wrapText$1(text, maxWidth, wrapType) {
48951
48951
  return text;
48952
48952
  }
48953
48953
  //#endregion
48954
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/dom.js
48954
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/dom.js
48955
48955
  /**
48956
48956
  * Create an element node of the given kind, allocating its yoga layout node
48957
48957
  * unless the kind renders without layout (`ink-virtual-text`, `ink-link`,
@@ -49271,7 +49271,7 @@ function findOwnerChainAtRow(root, y) {
49271
49271
  }
49272
49272
  }
49273
49273
  //#endregion
49274
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event-handlers.js
49274
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event-handlers.js
49275
49275
  /**
49276
49276
  * Reverse lookup: event type string → handler prop names.
49277
49277
  * Used by the dispatcher for O(1) handler lookup per node.
@@ -49325,7 +49325,7 @@ const EVENT_HANDLER_PROPS = new Set([
49325
49325
  "onWheel"
49326
49326
  ]);
49327
49327
  //#endregion
49328
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/dispatcher.js
49328
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/dispatcher.js
49329
49329
  function getHandler(node, eventType, capture) {
49330
49330
  const handlers = node._eventHandlers;
49331
49331
  if (!handlers) return void 0;
@@ -49493,7 +49493,7 @@ var Dispatcher = class {
49493
49493
  }
49494
49494
  };
49495
49495
  //#endregion
49496
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/focus-event.js
49496
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/focus-event.js
49497
49497
  /**
49498
49498
  * Focus event for component focus changes.
49499
49499
  *
@@ -49518,7 +49518,7 @@ var FocusEvent = class extends TerminalEvent {
49518
49518
  }
49519
49519
  };
49520
49520
  //#endregion
49521
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/focus.js
49521
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/focus.js
49522
49522
  const MAX_FOCUS_STACK = 32;
49523
49523
  /**
49524
49524
  * DOM-like focus manager for the Ink terminal UI.
@@ -49674,7 +49674,7 @@ function getFocusManager(node) {
49674
49674
  return getRootNode(node).focusManager;
49675
49675
  }
49676
49676
  //#endregion
49677
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/styles.js
49677
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/styles.js
49678
49678
  const applyPositionStyles = (node, style) => {
49679
49679
  if ("position" in style) node.setPositionType(style.position === "absolute" ? LayoutPositionType.Absolute : LayoutPositionType.Relative);
49680
49680
  if ("top" in style) applyPositionEdge(node, "top", style.top);
@@ -49809,7 +49809,7 @@ const styles = (node, style = {}, resolvedStyle) => {
49809
49809
  applyGapStyles(node, style);
49810
49810
  };
49811
49811
  //#endregion
49812
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/reconciler.js
49812
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/reconciler.js
49813
49813
  if (process.env.NODE_ENV === "development") try {
49814
49814
  import("./devtools-la_KkjCS.js");
49815
49815
  } catch (error) {
@@ -50129,7 +50129,7 @@ const reconciler = (0, import_react_reconciler.default)({
50129
50129
  });
50130
50130
  dispatcher.discreteUpdates = reconciler.discreteUpdates.bind(reconciler);
50131
50131
  //#endregion
50132
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/geometry.js
50132
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/geometry.js
50133
50133
  /**
50134
50134
  * Compute the smallest rectangle containing both input rectangles.
50135
50135
  * @param a - the first rectangle.
@@ -50161,7 +50161,7 @@ function clamp(value, min, max) {
50161
50161
  return value;
50162
50162
  }
50163
50163
  //#endregion
50164
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/warn.js
50164
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/warn.js
50165
50165
  /**
50166
50166
  * Log a warning when a value is present but not an integer.
50167
50167
  * @param value - the value to check; undefined is skipped silently.
@@ -50173,7 +50173,7 @@ function ifNotInteger(value, name) {
50173
50173
  logForDebugging(`${name} should be an integer, got ${value}`, { level: "warn" });
50174
50174
  }
50175
50175
  //#endregion
50176
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/screen.js
50176
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/screen.js
50177
50177
  /**
50178
50178
  * Pool of character strings shared across all screens.
50179
50179
  * With a shared pool, interned char IDs are valid across screens, so
@@ -51242,7 +51242,7 @@ function markNoSelectRegion(screen, x, y, width, height) {
51242
51242
  }
51243
51243
  }
51244
51244
  //#endregion
51245
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/selection.js
51245
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/selection.js
51246
51246
  /**
51247
51247
  * Text selection state for fullscreen mode.
51248
51248
  *
@@ -52208,7 +52208,7 @@ function applySelectionOverlay(screen, selection, stylePool) {
52208
52208
  }
52209
52209
  }
52210
52210
  //#endregion
52211
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/dec.js
52211
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/dec.js
52212
52212
  /**
52213
52213
  * DEC (Digital Equipment Corporation) Private Mode Sequences
52214
52214
  *
@@ -52274,7 +52274,7 @@ const ENABLE_MOUSE_TRACKING = decset(DEC.MOUSE_NORMAL) + decset(DEC.MOUSE_BUTTON
52274
52274
  /** Disable all mouse tracking modes enabled by ENABLE_MOUSE_TRACKING. */
52275
52275
  const DISABLE_MOUSE_TRACKING = decreset(DEC.MOUSE_SGR) + decreset(DEC.MOUSE_ANY) + decreset(DEC.MOUSE_BUTTON) + decreset(DEC.MOUSE_NORMAL);
52276
52276
  //#endregion
52277
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal.js
52277
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal.js
52278
52278
  /**
52279
52279
  * True when running inside a JetBrains IDE terminal (JediTerm). The IDE
52280
52280
  * injects `TERMINAL_EMULATOR=JetBrains-JediTerm` into the pty environment of
@@ -52516,7 +52516,7 @@ function writeDiffToTerminal(terminal, diff, skipSyncMarkers = false) {
52516
52516
  terminal.stdout.write(buffer);
52517
52517
  }
52518
52518
  //#endregion
52519
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-focus-state.js
52519
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-focus-state.js
52520
52520
  let focusState = "unknown";
52521
52521
  const resolvers = /* @__PURE__ */ new Set();
52522
52522
  const subscribers = /* @__PURE__ */ new Set();
@@ -52560,7 +52560,7 @@ function subscribeTerminalFocus(cb) {
52560
52560
  };
52561
52561
  }
52562
52562
  //#endregion
52563
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AppContext.js
52563
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AppContext.js
52564
52564
  /**
52565
52565
  * `AppContext` is a React context, which exposes a method to manually exit the app (unmount).
52566
52566
  */
@@ -52605,13 +52605,13 @@ var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJSMin((
52605
52605
  })();
52606
52606
  }));
52607
52607
  //#endregion
52608
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/constants.js
52608
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/constants.js
52609
52609
  var import_compiler_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
52610
52610
  if (process.env.NODE_ENV === "production") module.exports = require_react_compiler_runtime_production();
52611
52611
  else module.exports = require_react_compiler_runtime_development();
52612
52612
  })))();
52613
52613
  //#endregion
52614
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/geometry-trace.js
52614
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/geometry-trace.js
52615
52615
  /**
52616
52616
  * Geometry forensics — per-frame scroll-geometry trace (issues #421/#433).
52617
52617
  *
@@ -52691,7 +52691,7 @@ function endGeometryFrame(durationMs) {
52691
52691
  };
52692
52692
  }
52693
52693
  //#endregion
52694
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalFocusContext.js
52694
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalFocusContext.js
52695
52695
  const TerminalFocusContext = (0, import_react.createContext)({
52696
52696
  isTerminalFocused: true,
52697
52697
  terminalFocusState: "unknown"
@@ -52726,7 +52726,7 @@ function TerminalFocusProvider(t0) {
52726
52726
  return t2;
52727
52727
  }
52728
52728
  //#endregion
52729
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-focus.js
52729
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-focus.js
52730
52730
  /**
52731
52731
  * Hook to check if the terminal has focus.
52732
52732
  *
@@ -52741,7 +52741,7 @@ function useTerminalFocus() {
52741
52741
  return isTerminalFocused;
52742
52742
  }
52743
52743
  //#endregion
52744
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ClockContext.js
52744
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ClockContext.js
52745
52745
  function createClock(tickIntervalMs) {
52746
52746
  const subscribers = /* @__PURE__ */ new Map();
52747
52747
  let interval = null;
@@ -52838,7 +52838,7 @@ function _temp() {
52838
52838
  return createClock(16);
52839
52839
  }
52840
52840
  //#endregion
52841
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/CursorDeclarationContext.js
52841
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/CursorDeclarationContext.js
52842
52842
  /**
52843
52843
  * React context that provides the cursor-declaration setter to descendants.
52844
52844
  */
@@ -52878,7 +52878,7 @@ var require_escape_string_regexp = /* @__PURE__ */ __commonJSMin(((exports, modu
52878
52878
  };
52879
52879
  }));
52880
52880
  //#endregion
52881
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Box.js
52881
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Box.js
52882
52882
  var import_stack_utils = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
52883
52883
  const escapeStringRegexp = require_escape_string_regexp();
52884
52884
  const cwd = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
@@ -53246,7 +53246,7 @@ function Box(t0) {
53246
53246
  return t4;
53247
53247
  }
53248
53248
  //#endregion
53249
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Text.js
53249
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Text.js
53250
53250
  const memoizedStylesForWrap = {
53251
53251
  wrap: {
53252
53252
  flexGrow: 0,
@@ -53398,7 +53398,7 @@ function Text(t0) {
53398
53398
  return t16;
53399
53399
  }
53400
53400
  //#endregion
53401
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ErrorOverview.js
53401
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ErrorOverview.js
53402
53402
  const cleanupPath = (path) => {
53403
53403
  return path?.replace(`file://${process.cwd()}/`, "");
53404
53404
  };
@@ -53503,10 +53503,10 @@ function ErrorOverview({ error }) {
53503
53503
  });
53504
53504
  }
53505
53505
  //#endregion
53506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalSizeContext.js
53506
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalSizeContext.js
53507
53507
  const TerminalSizeContext = (0, import_react.createContext)(null);
53508
53508
  //#endregion
53509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/useTerminalNotification.js
53509
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/useTerminalNotification.js
53510
53510
  /**
53511
53511
  * React context providing a raw terminal write function. Null until a
53512
53512
  * TerminalWriteProvider is mounted.
@@ -53517,7 +53517,7 @@ const TerminalWriteContext = (0, import_react.createContext)(null);
53517
53517
  */
53518
53518
  const TerminalWriteProvider = TerminalWriteContext.Provider;
53519
53519
  //#endregion
53520
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/App.js
53520
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/App.js
53521
53521
  const SUPPORTS_SUSPEND = process.platform !== "win32";
53522
53522
  const STDIN_RESUME_GAP_MS = 5e3;
53523
53523
  const MULTI_CLICK_TIMEOUT_MS = 500;
@@ -54043,7 +54043,7 @@ function handleMouseEvent(app, m) {
54043
54043
  }
54044
54044
  }
54045
54045
  //#endregion
54046
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/keyboard-event.js
54046
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/keyboard-event.js
54047
54047
  /**
54048
54048
  * Keyboard event dispatched through the DOM tree via capture/bubble.
54049
54049
  *
@@ -54103,7 +54103,7 @@ function keyFromParsed(parsed) {
54103
54103
  return name || seq;
54104
54104
  }
54105
54105
  //#endregion
54106
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/frame.js
54106
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/frame.js
54107
54107
  /**
54108
54108
  * Create an empty frame with a zero-size screen, the given viewport, and a
54109
54109
  * visible cursor at the origin.
@@ -54129,7 +54129,7 @@ function emptyFrame(rows, columns, stylePool, charPool, hyperlinkPool) {
54129
54129
  };
54130
54130
  }
54131
54131
  //#endregion
54132
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/click-event.js
54132
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/click-event.js
54133
54133
  /**
54134
54134
  * Mouse click event. Fired on left-button release without drag, only when
54135
54135
  * mouse tracking is enabled (i.e. inside <AlternateScreen>).
@@ -54160,7 +54160,7 @@ var ClickEvent = class extends PointerEvent {
54160
54160
  }
54161
54161
  };
54162
54162
  //#endregion
54163
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/context-menu-event.js
54163
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/context-menu-event.js
54164
54164
  /**
54165
54165
  * Mouse context-menu event. Fired on right-button press (SGR button 2,
54166
54166
  * low bits of the raw button byte), mirroring the DOM `contextmenu` event
@@ -54184,7 +54184,7 @@ var ContextMenuEvent = class extends PointerEvent {
54184
54184
  }
54185
54185
  };
54186
54186
  //#endregion
54187
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/wheel-event.js
54187
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/wheel-event.js
54188
54188
  /**
54189
54189
  * Mouse wheel event dispatched to the ScrollBox under the pointer.
54190
54190
  *
@@ -54220,7 +54220,7 @@ function indentString(string, count = 1, options = {}) {
54220
54220
  return string.replace(regex, indent.repeat(count));
54221
54221
  }
54222
54222
  //#endregion
54223
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/get-max-width.js
54223
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/get-max-width.js
54224
54224
  /**
54225
54225
  * Returns the yoga node's content width (computed width minus padding and
54226
54226
  * border).
@@ -54325,7 +54325,7 @@ var cli_boxes_default = {
54325
54325
  }
54326
54326
  };
54327
54327
  //#endregion
54328
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-border.js
54328
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-border.js
54329
54329
  /** Built-in border styles beyond those provided by cli-boxes. */
54330
54330
  const CUSTOM_BORDER_STYLES = { dashed: {
54331
54331
  top: "╌",
@@ -54415,7 +54415,7 @@ const renderBorder = (x, y, node, output) => {
54415
54415
  }
54416
54416
  };
54417
54417
  //#endregion
54418
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/widest-line.js
54418
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/widest-line.js
54419
54419
  /**
54420
54420
  * Get the display width of the widest line in a string.
54421
54421
  * @param string - the text to measure, possibly containing newlines.
@@ -54434,7 +54434,7 @@ function widestLine(string) {
54434
54434
  return maxWidth;
54435
54435
  }
54436
54436
  //#endregion
54437
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-node-to-output.js
54437
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-node-to-output.js
54438
54438
  function isXtermJsHost() {
54439
54439
  return process.env.TERM_PROGRAM === "vscode" || isXtermJs();
54440
54440
  }
@@ -55250,7 +55250,7 @@ function dropSubtreeCache(node) {
55250
55250
  for (const child of node.childNodes) if (child.nodeName !== "#text") dropSubtreeCache(child);
55251
55251
  }
55252
55252
  //#endregion
55253
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hit-test.js
55253
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hit-test.js
55254
55254
  /**
55255
55255
  * Find the deepest DOM element whose rendered rect contains (col, row).
55256
55256
  *
@@ -55640,7 +55640,7 @@ function dispatchHover(root, col, row, hovered) {
55640
55640
  }
55641
55641
  }
55642
55642
  //#endregion
55643
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/flush-tick.js
55643
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/flush-tick.js
55644
55644
  /**
55645
55645
  * Monotonic terminal-flush counter for the ported Ink core.
55646
55646
  *
@@ -55673,7 +55673,7 @@ function getTerminalFlushTick() {
55673
55673
  return flushTick;
55674
55674
  }
55675
55675
  //#endregion
55676
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/instances.js
55676
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/instances.js
55677
55677
  /**
55678
55678
  * Live Ink instances keyed by their output stream, so consecutive render()
55679
55679
  * calls reuse the instance for a stream instead of creating a new one.
@@ -55682,7 +55682,7 @@ function getTerminalFlushTick() {
55682
55682
  */
55683
55683
  const instances = /* @__PURE__ */ new Map();
55684
55684
  //#endregion
55685
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/log-update.js
55685
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/log-update.js
55686
55686
  const CARRIAGE_RETURN = { type: "carriageReturn" };
55687
55687
  const NEWLINE = {
55688
55688
  type: "stdout",
@@ -56298,7 +56298,7 @@ var VirtualScreen = class {
56298
56298
  }
56299
56299
  };
56300
56300
  //#endregion
56301
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/optimizer.js
56301
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/optimizer.js
56302
56302
  /**
56303
56303
  * Optimize a diff by applying all optimization rules in a single pass.
56304
56304
  * This reduces the number of patches that need to be written to the terminal.
@@ -56363,7 +56363,7 @@ function optimize(diff) {
56363
56363
  return result;
56364
56364
  }
56365
56365
  //#endregion
56366
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/bidi.js
56366
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/bidi.js
56367
56367
  var import_bidi = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
56368
56368
  (function(global, factory) {
56369
56369
  typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, global.bidi_js = factory());
@@ -57139,7 +57139,7 @@ function hasRTLCharacters(text) {
57139
57139
  return /[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(text);
57140
57140
  }
57141
57141
  //#endregion
57142
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/output.js
57142
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/output.js
57143
57143
  /**
57144
57144
  * charCache bounds. The entry-count cap alone was not enough: a streaming
57145
57145
  * line produces a NEW cache key on every frame, and each entry's cost is
@@ -57809,7 +57809,7 @@ function writeLineToScreen(screen, line, x, y, screenWidth, stylePool, charCache
57809
57809
  return offsetX;
57810
57810
  }
57811
57811
  //#endregion
57812
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-to-screen.js
57812
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-to-screen.js
57813
57813
  const timing = {
57814
57814
  reconcile: 0,
57815
57815
  yoga: 0,
@@ -57903,7 +57903,7 @@ function applyPositionedHighlight(screen, stylePool, positions, rowOffset, curre
57903
57903
  return true;
57904
57904
  }
57905
57905
  //#endregion
57906
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/renderer.js
57906
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/renderer.js
57907
57907
  /**
57908
57908
  * Create the renderer function for a root DOM node. The returned renderer
57909
57909
  * reuses an Output across frames so its character cache persists.
@@ -57978,7 +57978,7 @@ function createRenderer(node, stylePool) {
57978
57978
  };
57979
57979
  }
57980
57980
  //#endregion
57981
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/searchHighlight.js
57981
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/searchHighlight.js
57982
57982
  /**
57983
57983
  * Highlight all visible occurrences of `query` in the screen buffer by
57984
57984
  * inverting cell styles (SGR 7). Post-render, same damage-tracking machinery
@@ -58040,7 +58040,7 @@ function applySearchHighlight(screen, query, stylePool) {
58040
58040
  return applied;
58041
58041
  }
58042
58042
  //#endregion
58043
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/ink.js
58043
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/ink.js
58044
58044
  const ALT_SCREEN_ANCHOR_CURSOR = Object.freeze({
58045
58045
  x: 0,
58046
58046
  y: 0,
@@ -59593,7 +59593,7 @@ const CONSOLE_STDERR_METHODS = [
59593
59593
  "trace"
59594
59594
  ];
59595
59595
  //#endregion
59596
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/root.js
59596
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/root.js
59597
59597
  /**
59598
59598
  * Mount a component and render the output.
59599
59599
  * @param node - the React element to render.
@@ -59676,7 +59676,7 @@ const getInstance = (stdout, createInstance) => {
59676
59676
  return instance;
59677
59677
  };
59678
59678
  //#endregion
59679
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedBox.js
59679
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedBox.js
59680
59680
  /** Resolves a color value that may be a theme key to a raw Color. */
59681
59681
  function resolveColor$1(color, theme) {
59682
59682
  if (!color) return void 0;
@@ -59701,7 +59701,7 @@ function ThemedBox({ borderColor, borderTopColor, borderBottomColor, borderLeftC
59701
59701
  });
59702
59702
  }
59703
59703
  //#endregion
59704
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedText.js
59704
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedText.js
59705
59705
  /**
59706
59706
  * Colors uncolored ThemedText in the subtree. Precedence: explicit `color` >
59707
59707
  * this > dimColor (in the Claude Code visual language, where message rows
@@ -59737,7 +59737,7 @@ function ThemedText({ color, backgroundColor, dimColor = false, bold = false, it
59737
59737
  });
59738
59738
  }
59739
59739
  //#endregion
59740
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Spacer.js
59740
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Spacer.js
59741
59741
  /**
59742
59742
  * A flexible space that expands along the major axis of its containing layout.
59743
59743
  * It's useful as a shortcut for filling all the available spaces between elements.
@@ -59752,7 +59752,7 @@ function Spacer() {
59752
59752
  return t0;
59753
59753
  }
59754
59754
  //#endregion
59755
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Newline.js
59755
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Newline.js
59756
59756
  /**
59757
59757
  * Adds one or more newline (\n) characters. Must be used within <Text> components.
59758
59758
  */
@@ -59775,7 +59775,7 @@ function Newline(t0) {
59775
59775
  return t3;
59776
59776
  }
59777
59777
  //#endregion
59778
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/NoSelect.js
59778
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/NoSelect.js
59779
59779
  /**
59780
59780
  * Marks its contents as non-selectable in fullscreen text selection.
59781
59781
  * Cells inside this box are skipped by both the selection highlight and
@@ -59826,7 +59826,7 @@ function NoSelect(t0) {
59826
59826
  return t2;
59827
59827
  }
59828
59828
  //#endregion
59829
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AlternateScreen.js
59829
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AlternateScreen.js
59830
59830
  /**
59831
59831
  * Run children in the terminal's alternate screen buffer, constrained to
59832
59832
  * the viewport height. While mounted:
@@ -59901,7 +59901,7 @@ function AlternateScreen(t0) {
59901
59901
  return t5;
59902
59902
  }
59903
59903
  //#endregion
59904
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ScrollBox.js
59904
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ScrollBox.js
59905
59905
  /**
59906
59906
  * A Box with `overflow: scroll` and an imperative scroll API.
59907
59907
  *
@@ -60079,7 +60079,7 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
60079
60079
  });
60080
60080
  }
60081
60081
  //#endregion
60082
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-input.js
60082
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-input.js
60083
60083
  /**
60084
60084
  * Keep an event listener stable while always dispatching to the latest render's
60085
60085
  * callback. Keeping this hook local is important for packaged installs: a
@@ -60145,7 +60145,7 @@ const useInput = (inputHandler, options = {}) => {
60145
60145
  }, [internal_eventEmitter, handleData]);
60146
60146
  };
60147
60147
  //#endregion
60148
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-selection.js
60148
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-selection.js
60149
60149
  /**
60150
60150
  * Access to text selection operations on the Ink instance (fullscreen only).
60151
60151
  * Returns no-op functions when fullscreen mode is disabled.
@@ -60185,7 +60185,7 @@ function useSelection() {
60185
60185
  }, [ink]);
60186
60186
  }
60187
60187
  //#endregion
60188
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-copy-on-select.js
60188
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-copy-on-select.js
60189
60189
  /**
60190
60190
  * Copy-on-select: when a drag finishes (or a double/triple click, or a
60191
60191
  * shift+arrow extension, lands a selection), copy the selected text to the
@@ -60225,14 +60225,14 @@ function useCopyOnSelect(onCopied) {
60225
60225
  ]);
60226
60226
  }
60227
60227
  //#endregion
60228
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-app.js
60228
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-app.js
60229
60229
  /**
60230
60230
  * React hook exposing the manual app-exit function from `AppContext`.
60231
60231
  * @returns the `AppContext` value, whose `exit` function unmounts the app.
60232
60232
  */
60233
60233
  const useApp = () => (0, import_react.useContext)(AppContext);
60234
60234
  //#endregion
60235
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-viewport.js
60235
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-viewport.js
60236
60236
  /**
60237
60237
  * Hook to detect if a component is within the terminal viewport.
60238
60238
  *
@@ -60286,7 +60286,7 @@ function useTerminalViewport() {
60286
60286
  return [setElement, entryRef.current];
60287
60287
  }
60288
60288
  //#endregion
60289
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-animation-frame.js
60289
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-animation-frame.js
60290
60290
  /**
60291
60291
  * Hook for synchronized animations that pause when offscreen.
60292
60292
  *
@@ -60335,7 +60335,7 @@ function useAnimationFrame(intervalMs = 16) {
60335
60335
  return [viewportRef, time];
60336
60336
  }
60337
60337
  //#endregion
60338
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-size.js
60338
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-size.js
60339
60339
  /** Terminal dimensions from the Ink app shell (from Claude Code).
60340
60340
  * @returns the current terminal dimensions.
60341
60341
  */
@@ -60345,7 +60345,7 @@ function useTerminalSize() {
60345
60345
  return size;
60346
60346
  }
60347
60347
  //#endregion
60348
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useBlink.js
60348
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useBlink.js
60349
60349
  const BLINK_INTERVAL_MS = 600;
60350
60350
  /**
60351
60351
  * Hook for synchronized blinking animations that pause when offscreen
@@ -60362,7 +60362,7 @@ function useBlink(enabled, intervalMs = BLINK_INTERVAL_MS) {
60362
60362
  return [ref, Math.floor(time / intervalMs) % 2 === 0];
60363
60363
  }
60364
60364
  //#endregion
60365
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/supports-hyperlinks.js
60365
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/supports-hyperlinks.js
60366
60366
  var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
60367
60367
  const supportsColor = require_supports_color();
60368
60368
  const hasFlag = require_has_flag();
@@ -60454,7 +60454,7 @@ function supportsHyperlinks(options) {
60454
60454
  return false;
60455
60455
  }
60456
60456
  //#endregion
60457
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Link.js
60457
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Link.js
60458
60458
  function Link(t0) {
60459
60459
  const $ = (0, import_compiler_runtime.c)(5);
60460
60460
  const { children, url, fallback } = t0;
@@ -60482,7 +60482,7 @@ function Link(t0) {
60482
60482
  return t2;
60483
60483
  }
60484
60484
  //#endregion
60485
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/esc.js
60485
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/esc.js
60486
60486
  /**
60487
60487
  * ESC Sequence Parser
60488
60488
  *
@@ -60538,7 +60538,7 @@ function parseEsc(chars) {
60538
60538
  };
60539
60539
  }
60540
60540
  //#endregion
60541
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/types.js
60541
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/types.js
60542
60542
  /**
60543
60543
  * ANSI Parser - Semantic Types
60544
60544
  *
@@ -60566,7 +60566,7 @@ function defaultStyle() {
60566
60566
  };
60567
60567
  }
60568
60568
  //#endregion
60569
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/sgr.js
60569
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/sgr.js
60570
60570
  /**
60571
60571
  * SGR (Select Graphic Rendition) Parser
60572
60572
  *
@@ -60874,7 +60874,7 @@ function applySGR(paramStr, style) {
60874
60874
  return s;
60875
60875
  }
60876
60876
  //#endregion
60877
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/parser.js
60877
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/parser.js
60878
60878
  /**
60879
60879
  * ANSI Parser - Semantic Action Generator
60880
60880
  *
@@ -61251,7 +61251,7 @@ var Parser = class {
61251
61251
  }
61252
61252
  };
61253
61253
  //#endregion
61254
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/Ansi.js
61254
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/Ansi.js
61255
61255
  /**
61256
61256
  * Component that parses ANSI escape codes and renders them using Text components.
61257
61257
  *
@@ -61502,7 +61502,7 @@ function StyledText(t0) {
61502
61502
  return t1;
61503
61503
  }
61504
61504
  //#endregion
61505
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ui.js
61505
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ui.js
61506
61506
  var ui_exports = /* @__PURE__ */ __exportAll({
61507
61507
  AlternateScreen: () => AlternateScreen,
61508
61508
  Ansi: () => Ansi,
@@ -61526,7 +61526,7 @@ var ui_exports = /* @__PURE__ */ __exportAll({
61526
61526
  useTheme: () => useTheme
61527
61527
  });
61528
61528
  //#endregion
61529
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PageMargin.js
61529
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PageMargin.js
61530
61530
  /** 嵌套安全的 inset(若未来出现嵌套 PageMargin 会累加)。 */
61531
61531
  const PageInsetContext = import_react.createContext({
61532
61532
  x: 0,
@@ -61580,7 +61580,7 @@ function PageMargin({ children }) {
61580
61580
  });
61581
61581
  }
61582
61582
  //#endregion
61583
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/figures.js
61583
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/figures.js
61584
61584
  /**
61585
61585
  * UI glyph constants used across the TUI: prompt markers, status badges,
61586
61586
  * direction arrows, media controls, reasoning-effort indicators, and
@@ -61607,7 +61607,7 @@ const THINKING_SPINNER_FRAMES = [
61607
61607
  "⠏"
61608
61608
  ];
61609
61609
  //#endregion
61610
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerWizard.js
61610
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerWizard.js
61611
61611
  /**
61612
61612
  * `/provider` wizard — interactively adds, edits, or deletes an LLM
61613
61613
  * provider route at runtime.
@@ -62333,7 +62333,7 @@ function buildProfile(input) {
62333
62333
  return profile;
62334
62334
  }
62335
62335
  //#endregion
62336
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/modelConfigWizard.js
62336
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/modelConfigWizard.js
62337
62337
  /**
62338
62338
  * `/model-config` is a compact settings-backed model editor. The landing page
62339
62339
  * keeps the managed catalog switch and selectable platform models in one
@@ -62460,7 +62460,7 @@ function markCurrent(label, current) {
62460
62460
  return current ? `${label} ${t("model-config-current-tag")}` : label;
62461
62461
  }
62462
62462
  //#endregion
62463
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-declared-cursor.js
62463
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-declared-cursor.js
62464
62464
  /**
62465
62465
  * Declares where the terminal cursor should be parked after each frame.
62466
62466
  *
@@ -62509,7 +62509,7 @@ function useDeclaredCursor(options) {
62509
62509
  return setNode;
62510
62510
  }
62511
62511
  //#endregion
62512
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-element.js
62512
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-element.js
62513
62513
  /**
62514
62514
  * Measure the rendered dimensions of a Box element.
62515
62515
  * @param node - the DOM element to measure.
@@ -62520,7 +62520,7 @@ const measureElement = (node) => ({
62520
62520
  height: node.yogaNode?.getComputedHeight() ?? 0
62521
62521
  });
62522
62522
  //#endregion
62523
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Divider.js
62523
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Divider.js
62524
62524
  const MAX_APPLIED_MEASUREMENTS = 8;
62525
62525
  /**
62526
62526
  * A horizontal divider line, optionally with a title in the middle
@@ -64231,7 +64231,7 @@ k.parseInline;
64231
64231
  T.parse;
64232
64232
  R.lex;
64233
64233
  //#endregion
64234
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxTheme.js
64234
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxTheme.js
64235
64235
  /** highlight.js token classes -> theme syntax tokens. `default` catches
64236
64236
  * every unmapped class so cli-highlight's own yellow never leaks through
64237
64237
  * (issue #250, P2-6). */
@@ -64297,7 +64297,7 @@ function buildSyntaxTheme(theme) {
64297
64297
  return out;
64298
64298
  }
64299
64299
  //#endregion
64300
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/hyperlink.js
64300
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/hyperlink.js
64301
64301
  /** OSC 8 hyperlink start sequence: `ESC ] 8 ; ;`, followed by the URL. */
64302
64302
  const OSC8_START = "\x1B]8;;";
64303
64303
  /** Schemes a rendered hyperlink may point at. Anything else degrades to
@@ -64339,7 +64339,7 @@ function createHyperlink(url, content, options) {
64339
64339
  return `${OSC8_START}${safeUrl}${(options?.style ?? ((text) => chalk.blue(text)))(displayText)}${OSC8_START}`;
64340
64340
  }
64341
64341
  //#endregion
64342
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileTarget.js
64342
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileTarget.js
64343
64343
  /**
64344
64344
  * Clickable file targets: turning path-like text in AI output into
64345
64345
  * clickable targets, and resolving those targets back to absolute paths at
@@ -64481,7 +64481,7 @@ function linkifyFilePaths(text, wrap) {
64481
64481
  });
64482
64482
  }
64483
64483
  //#endregion
64484
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/markdown.js
64484
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/markdown.js
64485
64485
  /**
64486
64486
  * Markdown-to-ANSI renderer over marked's token stream.
64487
64487
  *
@@ -64796,7 +64796,7 @@ function padAligned(content, displayWidth, targetWidth, align) {
64796
64796
  return content + " ".repeat(extra);
64797
64797
  }
64798
64798
  //#endregion
64799
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/cliHighlight.js
64799
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/cliHighlight.js
64800
64800
  let cliHighlightPromise;
64801
64801
  async function loadCliHighlight() {
64802
64802
  try {
@@ -64819,7 +64819,7 @@ function getCliHighlightPromise() {
64819
64819
  return cliHighlightPromise;
64820
64820
  }
64821
64821
  //#endregion
64822
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MarkdownTable.js
64822
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MarkdownTable.js
64823
64823
  /** Accounts for parent indentation and terminal resize races (from Claude Code). */
64824
64824
  const SAFETY_MARGIN = 4;
64825
64825
  /** Minimum column width to prevent degenerate layouts */
@@ -65006,7 +65006,7 @@ function MarkdownTable({ token, highlight, forceWidth }) {
65006
65006
  return (0, import_jsx_runtime.jsx)(Text, { children: tableLines.join("\n") });
65007
65007
  }
65008
65008
  //#endregion
65009
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Markdown.js
65009
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Markdown.js
65010
65010
  const TOKEN_CACHE_CAPACITY = 200;
65011
65011
  const TOKEN_CACHE_CHAR_BUDGET = 2e5;
65012
65012
  const TOKEN_CACHE_MAX_SOURCE_LENGTH = 2e4;
@@ -65115,7 +65115,7 @@ function MarkdownImpl({ children, dimColor = false, cacheTokens = true }) {
65115
65115
  */
65116
65116
  const Markdown = import_react.memo(MarkdownImpl, (prev, next) => prev.children === next.children && prev.dimColor === next.dimColor && prev.cacheTokens === next.cacheTokens);
65117
65117
  //#endregion
65118
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/PlanReviewPanel.js
65118
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/PlanReviewPanel.js
65119
65119
  /**
65120
65120
  * The plan-review panel — Claude Code style exit-plan-mode decision card
65121
65121
  * for the DSH user-interaction seam. plan-mode's `exit_plan_mode` tool asks
@@ -65437,7 +65437,7 @@ function PlanReviewPanel({ question, onAnswer, onCancel }) {
65437
65437
  });
65438
65438
  }
65439
65439
  //#endregion
65440
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/listWindow.js
65440
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/listWindow.js
65441
65441
  /**
65442
65442
  * 焦点居中的列表窗口:长列表只渲染焦点附近的一段,保证焦点行始终可见。
65443
65443
  * 瞬态面板走 OverlayAbove 零高度浮层后,超高部分会被 overflow 裁掉且焦点
@@ -65489,7 +65489,7 @@ function listWindow(heights, focusIndex, maxRows, gap = 0) {
65489
65489
  }
65490
65490
  }
65491
65491
  //#endregion
65492
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/AskUserQuestionPanel.js
65492
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/AskUserQuestionPanel.js
65493
65493
  /**
65494
65494
  * The questionnaire panel — Claude Code style ask-user-question UI for the
65495
65495
  * DSH user-interaction seam. One question per panel (progress header, header
@@ -66072,7 +66072,7 @@ function AskUserQuestionPanel({ question, position, total, answered, initialDraf
66072
66072
  });
66073
66073
  }
66074
66074
  //#endregion
66075
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/approvals/ApprovalPanel.js
66075
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/approvals/ApprovalPanel.js
66076
66076
  /**
66077
66077
  * The approval panel — Claude Code style permission prompt for the DSH
66078
66078
  * approval seam (`ctx.approval`). One ask per panel: a permission-colored
@@ -66197,7 +66197,7 @@ function ApprovalPanel({ approval, background = false, onDecide }) {
66197
66197
  });
66198
66198
  }
66199
66199
  //#endregion
66200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Pane.js
66200
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Pane.js
66201
66201
  /**
66202
66202
  * A pane — a region below the prompt bounded by a colored top line with a
66203
66203
  * one-row gap above and horizontal padding, mirroring Claude Code's
@@ -66219,7 +66219,7 @@ function Pane({ children, color }) {
66219
66219
  });
66220
66220
  }
66221
66221
  //#endregion
66222
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ListItem.js
66222
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ListItem.js
66223
66223
  /**
66224
66224
  * A list item for selection UIs, mirroring Claude Code's
66225
66225
  * design-system/ListItem.tsx: `❯` pointer for the focused row, `✓`
@@ -66316,7 +66316,7 @@ function flattenDeep(node) {
66316
66316
  return node;
66317
66317
  }
66318
66318
  //#endregion
66319
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/HintLine.js
66319
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/HintLine.js
66320
66320
  /**
66321
66321
  * Localized shortcut-hint line: renders a `t('hint-*')` string, with the
66322
66322
  * `**primary shortcut**` segment (the main action's key, wrapped in `**` in
@@ -66333,7 +66333,7 @@ function HintLine({ text }) {
66333
66333
  }, index) : part) });
66334
66334
  }
66335
66335
  //#endregion
66336
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ExtensionDialog.js
66336
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ExtensionDialog.js
66337
66337
  /**
66338
66338
  * The managed plugin dialog (`ctx.tuiDialogs`) — one panel rendering the
66339
66339
  * store's current snapshot in the chat chrome (the slot approval/question
@@ -66593,7 +66593,7 @@ function InputDialog({ dialog, onDecide, onCancel }) {
66593
66593
  });
66594
66594
  }
66595
66595
  //#endregion
66596
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-search-highlight.js
66596
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-search-highlight.js
66597
66597
  /**
66598
66598
  * Set the search highlight query on the Ink instance. Non-empty → all
66599
66599
  * visible occurrences are inverted on the next frame (SGR 7, screen-buffer
@@ -66625,7 +66625,7 @@ function useSearchHighlight() {
66625
66625
  }, [ink]);
66626
66626
  }
66627
66627
  //#endregion
66628
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-title.js
66628
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-title.js
66629
66629
  /**
66630
66630
  * Declaratively set the terminal tab/window title.
66631
66631
  *
@@ -66648,7 +66648,7 @@ function useTerminalTitle(title) {
66648
66648
  }, [title, writeRaw]);
66649
66649
  }
66650
66650
  //#endregion
66651
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/format.js
66651
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/format.js
66652
66652
  /**
66653
66653
  * Session browser formatting.
66654
66654
  *
@@ -66897,7 +66897,7 @@ function projectName(cwd) {
66897
66897
  return normalized.split("/").filter(Boolean).at(-1) ?? normalized;
66898
66898
  }
66899
66899
  //#endregion
66900
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
66900
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
66901
66901
  /**
66902
66902
  * Tooltip hover system — the terminal equivalent of the HTML `title`
66903
66903
  * attribute. Attach {@link useTooltip} props to any Box whose visible text
@@ -67105,7 +67105,7 @@ function wrapTooltipContent(text, width) {
67105
67105
  return rows;
67106
67106
  }
67107
67107
  //#endregion
67108
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/UserPromptMessage.js
67108
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/UserPromptMessage.js
67109
67109
  /** User prompt row in the legacy CLI treatment: a full-width gray strip. */
67110
67110
  function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
67111
67111
  const { columns } = useTerminalSize();
@@ -67134,7 +67134,7 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
67134
67134
  });
67135
67135
  }
67136
67136
  //#endregion
67137
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantTextMessage.js
67137
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantTextMessage.js
67138
67138
  /**
67139
67139
  * Assistant text message: bullet + markdown body (mirroring Claude Code's default branch).
67140
67140
  *
@@ -67167,7 +67167,7 @@ function AssistantTextMessage({ text, addMargin, isSelected = false, isExpanded
67167
67167
  });
67168
67168
  }
67169
67169
  //#endregion
67170
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/StreamingMarkdown.js
67170
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/StreamingMarkdown.js
67171
67171
  /**
67172
67172
  * Renders markdown during streaming by splitting at the last top-level block
67173
67173
  * boundary: everything before is stable (memoized, never re-parsed), only the
@@ -67357,7 +67357,7 @@ function StreamingMarkdown({ children, dimColor = false }) {
67357
67357
  });
67358
67358
  }
67359
67359
  //#endregion
67360
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/spinnerUtils.js
67360
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/spinnerUtils.js
67361
67361
  /**
67362
67362
  * Spinner 动画的通用工具集:平台相关的帧字符选择、RGB 颜色插值、
67363
67363
  * HSL 色相转 RGB,以及 `rgb(...)` 颜色字符串的解析与记忆化。
@@ -67437,7 +67437,7 @@ function parseRGB(colorStr) {
67437
67437
  return parsed;
67438
67438
  }
67439
67439
  //#endregion
67440
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/shimmer.js
67440
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/shimmer.js
67441
67441
  /** Header blue-white ladder: brand → ice → pale → soft ice flash.
67442
67442
  * FLASH stays visibly blue (never pure white) — the highlight reads as a
67443
67443
  * mist-brightened crest, not a white strobe. */
@@ -67453,7 +67453,7 @@ const ICE = {
67453
67453
  b: 255
67454
67454
  };
67455
67455
  //#endregion
67456
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantThinkingMessage.js
67456
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantThinkingMessage.js
67457
67457
  /** Preview body rows — a FIXED row count (kimicode-style constant-height
67458
67458
  * ticker). Ink's truncate slices the whole string across newlines as one
67459
67459
  * logical line, so a single joined Text collapses to 1-2 rows whenever
@@ -67566,7 +67566,7 @@ function AssistantThinkingMessage({ thinking, textFull, addMargin, verbose, stre
67566
67566
  });
67567
67567
  }
67568
67568
  //#endregion
67569
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ToolUseLoader.js
67569
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ToolUseLoader.js
67570
67570
  const CATEGORY_BY_TOOL = {
67571
67571
  bash: "exec",
67572
67572
  powershell: "exec",
@@ -68147,7 +68147,7 @@ var ArrayDiff = class extends Diff {
68147
68147
  };
68148
68148
  new ArrayDiff();
68149
68149
  //#endregion
68150
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxRuns.js
68150
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxRuns.js
68151
68151
  const ANSI16 = {
68152
68152
  30: "rgb(0,0,0)",
68153
68153
  31: "rgb(128,0,0)",
@@ -68232,7 +68232,7 @@ function syntaxThemeSignature(theme) {
68232
68232
  return Object.values(SYNTAX_CLASS_TO_TOKEN).map((key) => palette[key] ?? "").join("|");
68233
68233
  }
68234
68234
  //#endregion
68235
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/smoothReveal.js
68235
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/smoothReveal.js
68236
68236
  /**
68237
68237
  * Smooth streaming reveal — decouples "text the provider has delivered" from
68238
68238
  * "text the screen is showing" (the oh-my-pi `display.smoothStreaming` idea,
@@ -68478,7 +68478,7 @@ function revealLinesOf(key, total, options) {
68478
68478
  return Math.min(existing.revealed, total);
68479
68479
  }
68480
68480
  //#endregion
68481
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SplitDiffView.js
68481
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SplitDiffView.js
68482
68482
  /** Replace tabs so width math and alignment hold (pi convention). */
68483
68483
  const expandTabs = (text) => text.replaceAll(" ", " ");
68484
68484
  /**
@@ -68787,7 +68787,7 @@ function SplitDiffView({ diffs, width, maxRows, verbose, toolBackground = "none"
68787
68787
  });
68788
68788
  }
68789
68789
  //#endregion
68790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SyntaxText.js
68790
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SyntaxText.js
68791
68791
  /** Async nested Text renderer. Lexes the complete payload before splitting. */
68792
68792
  function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, dimColor }) {
68793
68793
  const [highlighter, setHighlighter] = import_react.useState(null);
@@ -68831,7 +68831,7 @@ function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, d
68831
68831
  }, index)) });
68832
68832
  }
68833
68833
  //#endregion
68834
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/format.js
68834
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/format.js
68835
68835
  /**
68836
68836
  * Trajectory formatting — durations, clocks, badges and heat.
68837
68837
  *
@@ -69033,7 +69033,7 @@ function ledgerLayout(columns) {
69033
69033
  };
69034
69034
  }
69035
69035
  //#endregion
69036
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRevealVersion.js
69036
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRevealVersion.js
69037
69037
  /**
69038
69038
  * Reveal-frame wakeup as a React hook — bumps once per advancing ~30fps
69039
69039
  * scheduler tick so consumers re-run their render-phase cursor reads
@@ -69063,7 +69063,7 @@ function useRevealVersion(enabled = true) {
69063
69063
  return version;
69064
69064
  }
69065
69065
  //#endregion
69066
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantToolUseMessage.js
69066
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantToolUseMessage.js
69067
69067
  /** Tool display names: DSH emits lowercase tool ids (`bash`); Claude Code
69068
69068
  * shows capitalized names (`Bash`). Map the common ones, fall back to the
69069
69069
  * id with its first letter uppercased. */
@@ -69599,7 +69599,7 @@ function AssistantToolUseMessage({ tool, addMargin, verbose, isSelected = false,
69599
69599
  });
69600
69600
  }
69601
69601
  //#endregion
69602
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/SubagentMessage.js
69602
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/SubagentMessage.js
69603
69603
  /** The waterfall window is a Kimi Code style constant-height region. */
69604
69604
  const WATERFALL_ROWS = 3;
69605
69605
  /** Card left padding + the `│ ` gutter prefix. */
@@ -69807,7 +69807,7 @@ function SubagentMessage({ subagent, addMargin, activityFrames, onClick }) {
69807
69807
  });
69808
69808
  }
69809
69809
  //#endregion
69810
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/JobCard.js
69810
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/JobCard.js
69811
69811
  /** Card left padding + the `│ ` gutter prefix. */
69812
69812
  const WATERFALL_GUTTER = 4;
69813
69813
  /** Static status marker — deliberately NOT the animated activity-indicator
@@ -69960,7 +69960,7 @@ function JobCard({ job, addMargin, onClick }) {
69960
69960
  });
69961
69961
  }
69962
69962
  //#endregion
69963
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/InterruptedByUser.js
69963
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/InterruptedByUser.js
69964
69964
  /**
69965
69965
  * The dim "interrupted" row shown when the user stops a turn, mirroring
69966
69966
  * Claude Code's `InterruptedByUser.tsx`.
@@ -69975,7 +69975,7 @@ function InterruptedByUser() {
69975
69975
  })] });
69976
69976
  }
69977
69977
  //#endregion
69978
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/gitCommitStats.js
69978
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/gitCommitStats.js
69979
69979
  /**
69980
69980
  * 当月 AI 代码生成占比统计(移植自 chatcode-cli 的同名服务)。
69981
69981
  *
@@ -70143,7 +70143,7 @@ function computeAiRatioPercent(records) {
70143
70143
  return clampPercent(aiAdoptedTotal / addedTotal * 100);
70144
70144
  }
70145
70145
  //#endregion
70146
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useAiRatio.js
70146
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useAiRatio.js
70147
70147
  /**
70148
70148
  * 「AI代码生成占比」数据源 Hook(移植自 chatcode-cli 的同名 Hook)。
70149
70149
  *
@@ -70187,7 +70187,7 @@ function useAiRatio(enabled = true) {
70187
70187
  };
70188
70188
  }
70189
70189
  //#endregion
70190
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/truncateToWidth.js
70190
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/truncateToWidth.js
70191
70191
  /**
70192
70192
  * Slice a string to at most `maxWidth` terminal cells, walking by code
70193
70193
  * point so CJK wide characters never split mid-glyph. Assumes no ANSI in
@@ -70205,7 +70205,7 @@ function truncateToWidth(text, maxWidth) {
70205
70205
  return out;
70206
70206
  }
70207
70207
  //#endregion
70208
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LogoV2.js
70208
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LogoV2.js
70209
70209
  /** Main ChatCode CLI package version shown in the startup information panel. */
70210
70210
  const VERSION = PRODUCT_VERSION;
70211
70211
  const PRODUCT_LABEL = "chatcode-cli";
@@ -70441,7 +70441,7 @@ function LogoV2({ model, effort, cwd, whale = true, aiRatio, drift }) {
70441
70441
  });
70442
70442
  }
70443
70443
  //#endregion
70444
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/MessageMetadata.js
70444
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/MessageMetadata.js
70445
70445
  /**
70446
70446
  * Transcript-mode metadata row: `HH:MM · model`, right-aligned above the
70447
70447
  * assistant text, mirroring Claude Code's MessageTimestamp + MessageModel,
@@ -70463,7 +70463,7 @@ function MessageMetadata({ timestamp, model }) {
70463
70463
  });
70464
70464
  }
70465
70465
  //#endregion
70466
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/narration.js
70466
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/narration.js
70467
70467
  /**
70468
70468
  * Strip the `⏵` self-narration line from assistant text. The
70469
70469
  * dsh-working-activity narrate contract puts exactly one `⏵` line at the
@@ -70579,7 +70579,7 @@ function ellipsize(line, maxWidth) {
70579
70579
  return `${out}…`;
70580
70580
  }
70581
70581
  //#endregion
70582
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MessageList.js
70582
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MessageList.js
70583
70583
  /**
70584
70584
  * Transcript rows rendered in the Claude Code visual language: user prompts
70585
70585
  * on a grey bubble with a `❯` pointer, assistant text with a `●` bullet and
@@ -71392,7 +71392,7 @@ function LogoHeader({ model, effort, cwd, whale = true, skipIntro = false }) {
71392
71392
  });
71393
71393
  }
71394
71394
  //#endregion
71395
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TimelineRail.js
71395
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TimelineRail.js
71396
71396
  /** ▴ / ▾ (U+25B4 / U+25BE — the small triangles; CP437-safe on ConHost too). */
71397
71397
  const CHEVRON_UP = " ▴";
71398
71398
  const CHEVRON_DOWN = " ▾";
@@ -71586,7 +71586,7 @@ function TimelineRail({ handle, turns, activeId, upId, downId, terminalWidth, ho
71586
71586
  }) });
71587
71587
  }
71588
71588
  //#endregion
71589
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ScrollbarGutter.js
71589
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ScrollbarGutter.js
71590
71590
  /** Thumb glyph across the 2-col gutter: solid, clearly positional —
71591
71591
  * deliberately distinct from the timeline's ━━ active tick. */
71592
71592
  const THUMB = "██";
@@ -71702,7 +71702,7 @@ function ScrollbarGutter({ handle, terminalWidth }) {
71702
71702
  }) });
71703
71703
  }
71704
71704
  //#endregion
71705
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/OverlayAbove.js
71705
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/OverlayAbove.js
71706
71706
  /**
71707
71707
  * 瞬态面板的浮层容器:absolute 定位 + bottom:'100%' 把面板底边钉在锚点
71708
71708
  * (父元素)顶边,向上覆盖转录尾部行,自身**不占布局高度**。
@@ -71735,7 +71735,7 @@ function OverlayAbove({ children, maxHeight }) {
71735
71735
  });
71736
71736
  }
71737
71737
  //#endregion
71738
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/motion.js
71738
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/motion.js
71739
71739
  /**
71740
71740
  * Trajectory motion — five verbs, one shared clock, one hard rule.
71741
71741
  *
@@ -71860,7 +71860,7 @@ function alert(tick, startTick) {
71860
71860
  return Math.floor(age / 2) % 2 === 0 ? 1 : 0;
71861
71861
  }
71862
71862
  //#endregion
71863
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/effortIgnition.js
71863
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/effortIgnition.js
71864
71864
  /** 三幕时间轴(ms):扫光全长、字样启动(波至中段)、字样渐亮、渐隐起止。边框扫光与输入行字样徽标共用。 */
71865
71865
  const IGNITION_TIMELINE = {
71866
71866
  sweepMs: 1e3,
@@ -72008,7 +72008,7 @@ function ignitionLineColors(options) {
72008
72008
  return colors;
72009
72009
  }
72010
72010
  //#endregion
72011
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortChargeGlyph.js
72011
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortChargeGlyph.js
72012
72012
  /**
72013
72013
  * EffortChargeGlyph — 输入提示前缀 `❯ ` 的最高档强调与充能。
72014
72014
  *
@@ -72064,7 +72064,7 @@ function EffortChargeGlyph({ effort, levels, working }) {
72064
72064
  });
72065
72065
  }
72066
72066
  //#endregion
72067
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortInputBorder.js
72067
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortInputBorder.js
72068
72068
  /**
72069
72069
  * EffortInputBorder — 输入框层上的三幕点焰叠加(对齐 Codex 的完整
72070
72070
  * 语义:光扫过、档位字样浮现、整体渐隐)。
@@ -72199,7 +72199,7 @@ function EffortInputBorder({ effort, levels, columns, onLight, idleColor, topRig
72199
72199
  });
72200
72200
  }
72201
72201
  //#endregion
72202
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortTierBadge.js
72202
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortTierBadge.js
72203
72203
  /**
72204
72204
  * EffortTierBadge — 输入行尾的档位字样徽标:三幕点焰的第二幕载体
72205
72205
  * (与 EffortInputBorder 的双框扫光同一时间轴、同一触发),切到最高
@@ -72282,7 +72282,7 @@ function EffortTierBadge({ effort, levels, onLight, columns, leadingColumns }) {
72282
72282
  });
72283
72283
  }
72284
72284
  //#endregion
72285
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/clipboard.js
72285
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/clipboard.js
72286
72286
  /**
72287
72287
  * Cross-platform clipboard access for Ctrl+V paste. The TUI runs in raw
72288
72288
  * mode, so the terminal never performs its own paste for Ctrl+V — the key
@@ -72796,7 +72796,7 @@ function formatClipboardInsert(content) {
72796
72796
  return content.text.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
72797
72797
  }
72798
72798
  //#endregion
72799
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/externalEditor.js
72799
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/externalEditor.js
72800
72800
  /**
72801
72801
  * External editor round-trip for the prompt input (issue #123): Ctrl+G dumps
72802
72802
  * the current draft into a temp file, hands the terminal to `$VISUAL` /
@@ -73074,7 +73074,7 @@ async function editInExternalEditor(draft) {
73074
73074
  }
73075
73075
  }
73076
73076
  //#endregion
73077
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptEditor.js
73077
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptEditor.js
73078
73078
  let editorNode = null;
73079
73079
  const listeners = /* @__PURE__ */ new Set();
73080
73080
  /** Publish (or withdraw, with null) the fullscreen editor subtree. */
@@ -73150,7 +73150,7 @@ function EditorButton({ label, hint, onClick, primary, accent }) {
73150
73150
  });
73151
73151
  }
73152
73152
  //#endregion
73153
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/history.js
73153
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/history.js
73154
73154
  const HISTORY_DIR = DATA_DIR;
73155
73155
  const HISTORY_FILE = join(HISTORY_DIR, "history.jsonl");
73156
73156
  const HISTORY_LOCK = `${HISTORY_FILE}.lock`;
@@ -73284,7 +73284,7 @@ function historyEntryId(entry, index = 0) {
73284
73284
  return createHash("sha1").update(`${entry.text}\0${entry.ts}\0${index}`).digest("hex").slice(0, 12);
73285
73285
  }
73286
73286
  //#endregion
73287
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SuggestionCard.js
73287
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SuggestionCard.js
73288
73288
  /**
73289
73289
  * `/` 命令菜单与 `@` 文件菜单共用的圆角卡片外壳(与输入框 EffortInputBorder
73290
73290
  * 同款 ╭╮╰╯ 视觉语言):
@@ -73416,7 +73416,7 @@ function splitQueryMatch(name, query) {
73416
73416
  return startsWith(0) ?? (lastSpace >= 0 ? startsWith(lastSpace + 1) : null) ?? startsWith(name.lastIndexOf("/") + 1);
73417
73417
  }
73418
73418
  //#endregion
73419
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/CommandSuggestions.js
73419
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/CommandSuggestions.js
73420
73420
  /**
73421
73421
  * The slash-command suggestion overlay, mirroring Claude Code's
73422
73422
  * `PromptInputFooterSuggestions.tsx` (command layout only) wrapped in the
@@ -73496,7 +73496,7 @@ function CommandSuggestions({ commands, selectedIndex, columns, query = "", acce
73496
73496
  });
73497
73497
  }
73498
73498
  //#endregion
73499
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/FileSuggestions.js
73499
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/FileSuggestions.js
73500
73500
  /**
73501
73501
  * The `@` file-completion overlay in CC's suggestion style, wrapped in the
73502
73502
  * shared rounded `SuggestionCard` (与 `/` 命令菜单同一视觉语言):
@@ -73595,7 +73595,7 @@ function FileSuggestions({ files, selectedIndex, columns, query = "", accent, on
73595
73595
  });
73596
73596
  }
73597
73597
  //#endregion
73598
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HelpMenu.js
73598
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HelpMenu.js
73599
73599
  /**
73600
73600
  * The `?` help menu, mirroring Claude Code's `PromptInputHelpMenu.tsx`
73601
73601
  * (three-column shortcut layout, trimmed to the keys dsh-tui actually binds).
@@ -73786,7 +73786,7 @@ function HelpCommandRow({ command, onPick }) {
73786
73786
  });
73787
73787
  }
73788
73788
  //#endregion
73789
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptInput.js
73789
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptInput.js
73790
73790
  const HISTORY_LIMIT = 50;
73791
73791
  /**
73792
73792
  * Paste fold (CC-style collapse with a visible preview, no black box):
@@ -76066,7 +76066,7 @@ function wordSelectionAt(text, offset, lo, hi) {
76066
76066
  };
76067
76067
  }
76068
76068
  //#endregion
76069
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/GoalTodoPanel.js
76069
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/GoalTodoPanel.js
76070
76070
  /** Maximum todo rows shown before the overflow line. */
76071
76071
  const MAX_TODOS = 8;
76072
76072
  const PHASE_LABEL = {
@@ -76312,7 +76312,7 @@ function GoalTodoPanel({ channel, collapsed = false, onToggle }) {
76312
76312
  });
76313
76313
  }
76314
76314
  //#endregion
76315
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/AutoRecapRow.js
76315
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/AutoRecapRow.js
76316
76316
  /**
76317
76317
  * Auto-recap row (`dsh-tui.recapOnOpen` setting): a quiet, dim recap shown
76318
76318
  * at the bottom of the transcript after an automatic summary on session
@@ -76392,7 +76392,7 @@ function summarizeLoadedContext(context) {
76392
76392
  return parts.join(" · ");
76393
76393
  }
76394
76394
  //#endregion
76395
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LoadedContextPanel.js
76395
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LoadedContextPanel.js
76396
76396
  /** One named entry (section or dynamic context) with its full text. */
76397
76397
  function Entry({ entry }) {
76398
76398
  return (0, import_jsx_runtime.jsxs)(ThemedBox, {
@@ -76529,7 +76529,7 @@ function LoadedContextPanel({ context, open, onToggle }) {
76529
76529
  });
76530
76530
  }
76531
76531
  //#endregion
76532
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MoonPhaseSpinner.js
76532
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MoonPhaseSpinner.js
76533
76533
  /**
76534
76534
  * Terminal-safe construction cycle derived from the supplied China Unicom
76535
76535
  * knot mark. Every frame is one display cell, unlike emoji on mixed terminals.
@@ -76561,7 +76561,7 @@ function UnicomKnotSpinner({ time }) {
76561
76561
  });
76562
76562
  }
76563
76563
  //#endregion
76564
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityLine.js
76564
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityLine.js
76565
76565
  /**
76566
76566
  * Context-pressure percentage (0–100) from the last usage snapshot, or
76567
76567
  * undefined when unknown — shared by the spinner-line and status-line
@@ -76633,7 +76633,7 @@ function ActivityLine({ activity, activityFrames, warnPct, warnDanger, suffix })
76633
76633
  });
76634
76634
  }
76635
76635
  //#endregion
76636
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/guards.js
76636
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/guards.js
76637
76637
  /**
76638
76638
  * Structural guards for the session events the trajectory projection reads.
76639
76639
  *
@@ -76857,7 +76857,7 @@ function readTodos(data) {
76857
76857
  };
76858
76858
  }
76859
76859
  //#endregion
76860
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/types.js
76860
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/types.js
76861
76861
  /**
76862
76862
  * Trajectory projection — the data contract shared by the adapter-side fold
76863
76863
  * and the UI-side scene (issue #80 evolution).
@@ -76924,7 +76924,7 @@ function previewText(raw, limit) {
76924
76924
  return `${flat.slice(0, limit)}…`;
76925
76925
  }
76926
76926
  //#endregion
76927
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/projection.js
76927
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/projection.js
76928
76928
  /**
76929
76929
  * Trajectory projection — folding the session event log into ledger nodes.
76930
76930
  *
@@ -77503,7 +77503,7 @@ function extendTrajectory(previous, events) {
77503
77503
  };
77504
77504
  }
77505
77505
  //#endregion
77506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/aggregate.js
77506
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/aggregate.js
77507
77507
  /**
77508
77508
  * Trajectory aggregate — the hotspot view's data and the session totals.
77509
77509
  *
@@ -77724,7 +77724,7 @@ function modelTiming(timing) {
77724
77724
  };
77725
77725
  }
77726
77726
  //#endregion
77727
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/inspect.js
77727
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/inspect.js
77728
77728
  /**
77729
77729
  * Inspector detail — full content, resolved on demand.
77730
77730
  *
@@ -77884,7 +77884,7 @@ function inspectNode(node, events) {
77884
77884
  };
77885
77885
  }
77886
77886
  //#endregion
77887
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/wave.js
77887
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/wave.js
77888
77888
  /**
77889
77889
  * Wave band projection — the whole session compressed onto one row of glyphs.
77890
77890
  *
@@ -78057,7 +78057,7 @@ function columnOfIndex(band, ledgerIndex) {
78057
78057
  return 0;
78058
78058
  }
78059
78059
  //#endregion
78060
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/MiniWake.js
78060
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/MiniWake.js
78061
78061
  /**
78062
78062
  * The mini wake — the whole session as a dozen glyphs in the status line.
78063
78063
  *
@@ -78160,7 +78160,7 @@ function toHex$1(colour) {
78160
78160
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
78161
78161
  }
78162
78162
  //#endregion
78163
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusMetrics.js
78163
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusMetrics.js
78164
78164
  /**
78165
78165
  * Status-line metric renderers, ported from two pi extensions:
78166
78166
  * - `pi-nano-context`: segmented context progress bar (morandi pastel
@@ -78436,7 +78436,7 @@ function tpsStats(samples, nowMs) {
78436
78436
  };
78437
78437
  }
78438
78438
  //#endregion
78439
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ContextBarView.js
78439
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ContextBarView.js
78440
78440
  /** Free-segment colors, mirroring StatusMetrics' dark-theme defaults. */
78441
78441
  const FREE_FILL = "#E8E8E8";
78442
78442
  const FREE_TEXT = "#4A4A4A";
@@ -78503,7 +78503,7 @@ function ContextBarView({ segments, usedTokens, contextWindow, width, colors, on
78503
78503
  });
78504
78504
  }
78505
78505
  //#endregion
78506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeTokenTrend.js
78506
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeTokenTrend.js
78507
78507
  /**
78508
78508
  * ChatCode 今日总 Token 消耗量查询(移植自 chatcode-cli 的 chatCodeTokenTrend)。
78509
78509
  *
@@ -78578,7 +78578,7 @@ async function fetchTodayTotalTokens(post, signal) {
78578
78578
  }
78579
78579
  }
78580
78580
  //#endregion
78581
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useTodayTotalTokens.js
78581
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useTodayTotalTokens.js
78582
78582
  /**
78583
78583
  * 「今日总Token消耗」数据源 Hook(移植自 chatcode-cli 的 useTokenDashboard)。
78584
78584
  *
@@ -78610,7 +78610,7 @@ function useTodayTotalTokens(enabled = true) {
78610
78610
  return { totalTokens };
78611
78611
  }
78612
78612
  //#endregion
78613
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TokenDashboard.js
78613
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TokenDashboard.js
78614
78614
  const BAR_WIDTH = 14;
78615
78615
  /** Yuanjing-compatible percentage label centered inside a fixed-width bar. */
78616
78616
  function LabeledBar({ ratio, percent }) {
@@ -78686,7 +78686,7 @@ function TokenDashboard({ todayTokens, usedTokens, contextWindow, compact = fals
78686
78686
  });
78687
78687
  }
78688
78688
  //#endregion
78689
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusLine.js
78689
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusLine.js
78690
78690
  /** Stable fallback for stubbed channels: verify/repro harnesses render the
78691
78691
  * real Chat with partial channel literals that predate the jobs field. */
78692
78692
  const NO_BACKGROUND_JOBS = [];
@@ -79597,7 +79597,7 @@ const fallbackSymbols = {
79597
79597
  const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
79598
79598
  Object.entries(specialMainSymbols);
79599
79599
  //#endregion
79600
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Byline.js
79600
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Byline.js
79601
79601
  /**
79602
79602
  * Joins children with a middot separator (" · ") for inline metadata display
79603
79603
  * (in the Claude Code visual language). Automatically filters out
@@ -79613,7 +79613,7 @@ function Byline({ children }) {
79613
79613
  }), child] }, (0, import_react.isValidElement)(child) ? child.key ?? index : index)) });
79614
79614
  }
79615
79615
  //#endregion
79616
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/GlimmerMessage.js
79616
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/GlimmerMessage.js
79617
79617
  const ERROR_RED$1 = {
79618
79618
  r: 171,
79619
79619
  g: 43,
@@ -79703,7 +79703,7 @@ function GlimmerMessage({ message, mode, messageColor, glimmerIndex, flashOpacit
79703
79703
  })] });
79704
79704
  }
79705
79705
  //#endregion
79706
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerGlyph.js
79706
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerGlyph.js
79707
79707
  const DEFAULT_CHARACTERS = getDefaultCharacters();
79708
79708
  const SPINNER_FRAMES$1 = [...DEFAULT_CHARACTERS, ...[...DEFAULT_CHARACTERS].reverse()];
79709
79709
  const REDUCED_MOTION_DOT = "●";
@@ -79764,7 +79764,7 @@ function SpinnerGlyph({ frame, messageColor, stalledIntensity = 0, reducedMotion
79764
79764
  });
79765
79765
  }
79766
79766
  //#endregion
79767
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/useStalledAnimation.js
79767
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/useStalledAnimation.js
79768
79768
  /**
79769
79769
  * Tracks the transition to red when tokens stop flowing (mirroring Claude Code's `Spinner/useStalledAnimation.ts`). Driven by the parent's animation
79770
79770
  * clock time instead of independent intervals, so it slows down when the
@@ -79821,7 +79821,7 @@ function useStalledAnimation(time, currentResponseLength, hasActiveTools = false
79821
79821
  };
79822
79822
  }
79823
79823
  //#endregion
79824
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerAnimationRow.js
79824
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerAnimationRow.js
79825
79825
  const SEP_WIDTH = stringWidth$1(" · ");
79826
79826
  const THINKING_BARE_WIDTH = stringWidth$1("thinking");
79827
79827
  const SHOW_TOKENS_AFTER_MS = 3e4;
@@ -79988,7 +79988,7 @@ function SpinnerModeGlyph({ mode }) {
79988
79988
  }
79989
79989
  }
79990
79990
  //#endregion
79991
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkingSpinner.js
79991
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkingSpinner.js
79992
79992
  /**
79993
79993
  * The working spinner block shown between the transcript and the prompt
79994
79994
  * input while a turn is in flight. Mirrors Claude Code's `Spinner.tsx`
@@ -80058,7 +80058,7 @@ function useThinkingStatus(isThinking) {
80058
80058
  return thinkingStatus;
80059
80059
  }
80060
80060
  //#endregion
80061
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ModelPicker.js
80061
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ModelPicker.js
80062
80062
  /**
80063
80063
  * Model picker in the CC ModelPicker style: a permission-colored Pane with
80064
80064
  * the rows as Select entries (❯ focus pointer, ✓ on the active row,
@@ -80118,7 +80118,7 @@ function ModelPicker(props) {
80118
80118
  });
80119
80119
  }
80120
80120
  //#endregion
80121
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PluginSceneBoundary.js
80121
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PluginSceneBoundary.js
80122
80122
  /**
80123
80123
  * Error boundary for plugin scenes (dsh-tui-scenes). A scene component is
80124
80124
  * third-party code rendered inside Chat's tree: without a boundary a render
@@ -80144,7 +80144,7 @@ var PluginSceneBoundary = class extends import_react.Component {
80144
80144
  }
80145
80145
  };
80146
80146
  //#endregion
80147
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/LoadingState.js
80147
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/LoadingState.js
80148
80148
  const SPINNER_FRAMES = [...getDefaultCharacters(), ...[...getDefaultCharacters()].reverse()];
80149
80149
  /**
80150
80150
  * A spinner with a loading message for async operations, mirroring Claude Code's design-system/LoadingState.tsx (using the small animated glyph).
@@ -80175,7 +80175,7 @@ function LoadingState({ message, bold = false, dimColor = false, subtitle }) {
80175
80175
  });
80176
80176
  }
80177
80177
  //#endregion
80178
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SkillsPicker.js
80178
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SkillsPicker.js
80179
80179
  /** 来源桶 → 本地化标签(未知桶原样显示,SkillSource 对自定义桶开放)。 */
80180
80180
  function sourceLabel(source) {
80181
80181
  switch (source) {
@@ -80253,7 +80253,7 @@ function SkillsPickerLoading() {
80253
80253
  });
80254
80254
  }
80255
80255
  //#endregion
80256
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SearchBox.js
80256
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SearchBox.js
80257
80257
  /**
80258
80258
  * Window a single-line query around the caret so the visible slice fits
80259
80259
  * `avail` display cells (CJK display width, code-point safe — `[...s]`
@@ -80391,7 +80391,7 @@ function SearchBox({ query, placeholder = "Search…", isFocused, isTerminalFocu
80391
80391
  });
80392
80392
  }
80393
80393
  //#endregion
80394
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionListRow.js
80394
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionListRow.js
80395
80395
  /**
80396
80396
  * One session in the browser's list: a title line and a metadata line.
80397
80397
  *
@@ -80472,7 +80472,7 @@ function SessionListRow({ session, width, depth, focused, pinned, now, onClick,
80472
80472
  });
80473
80473
  }
80474
80474
  //#endregion
80475
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionPreview.js
80475
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionPreview.js
80476
80476
  /** Role marker and colour for a preview entry. */
80477
80477
  const ROLE = {
80478
80478
  user: {
@@ -80563,7 +80563,7 @@ function SessionPreview({ session, entries, loading, width, height, home, now })
80563
80563
  });
80564
80564
  }
80565
80565
  //#endregion
80566
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/WorkspaceListRow.js
80566
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/WorkspaceListRow.js
80567
80567
  /** One two-line working-directory choice in the /resume browser. */
80568
80568
  function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width, focused, selected, home, now, onClick }) {
80569
80569
  const [hovered, setHovered] = (0, import_react.useState)(false);
@@ -80608,7 +80608,7 @@ function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width,
80608
80608
  });
80609
80609
  }
80610
80610
  //#endregion
80611
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/view.js
80611
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/view.js
80612
80612
  /** The browser's default view: this project, conversations only. */
80613
80613
  const DEFAULT_FILTERS = {
80614
80614
  query: "",
@@ -80897,7 +80897,7 @@ function windowEnd(rows, top, budget) {
80897
80897
  return at;
80898
80898
  }
80899
80899
  //#endregion
80900
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionPins.js
80900
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionPins.js
80901
80901
  /**
80902
80902
  * Pinned sessions for the `/resume` browser, kept at
80903
80903
  * `~/.chatcode-cli/tui/session-pins.json` (a JSON array of session ids) so the pins
@@ -81046,7 +81046,7 @@ function setSessionPinned(id, pinned, dir = DATA_DIR) {
81046
81046
  }
81047
81047
  }
81048
81048
  //#endregion
81049
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionBrowser.js
81049
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionBrowser.js
81050
81050
  /**
81051
81051
  * Rows the layout cannot do without: the header, the four-row scope/search
81052
81052
  * card, the notice slot, and the hints. Everything else yields before these.
@@ -81932,7 +81932,7 @@ function SessionBrowser({ channel, home, sameProject, onClose }) {
81932
81932
  });
81933
81933
  }
81934
81934
  //#endregion
81935
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionTree.js
81935
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionTree.js
81936
81936
  /** Local HH:MM (or MM/DD HH:MM when older than this year). */
81937
81937
  function formatTime(at, now) {
81938
81938
  const date = new Date(at);
@@ -82688,7 +82688,7 @@ function PreviewPane({ entry, meta, width, height, liveSessionId, now, compact }
82688
82688
  });
82689
82689
  }
82690
82690
  //#endregion
82691
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Settings.js
82691
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Settings.js
82692
82692
  /** Pick the provider-owned translation for the active language. */
82693
82693
  function pick(text, descriptions) {
82694
82694
  return descriptions?.[getLang()] ?? text;
@@ -83432,7 +83432,7 @@ function Settings({ channel, onClose, initialGroup }) {
83432
83432
  });
83433
83433
  }
83434
83434
  //#endregion
83435
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspacePicker.js
83435
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspacePicker.js
83436
83436
  const WINDOW$1 = 8;
83437
83437
  /** `/workspace` target picker contributed by local and optional providers. */
83438
83438
  function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
@@ -83470,7 +83470,7 @@ function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
83470
83470
  });
83471
83471
  }
83472
83472
  //#endregion
83473
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Select.js
83473
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Select.js
83474
83474
  /**
83475
83475
  * A single-choice select list in the CC CustomSelect style (ported visual:
83476
83476
  * ListItem rows with ❯ focus pointer, ✓ selected checkmark, descriptions,
@@ -83497,7 +83497,7 @@ function Select({ options, focusIndex, selectedValue, visibleOptionCount = 5, on
83497
83497
  });
83498
83498
  }
83499
83499
  //#endregion
83500
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceMenuPicker.js
83500
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceMenuPicker.js
83501
83501
  /**
83502
83502
  * Bare `/workspace` action menu: the built-in subcommands (resume / rename /
83503
83503
  * open) plus any dynamically registered workspace extensions. Enter runs the
@@ -83538,7 +83538,7 @@ function WorkspaceMenuPicker({ options, focusIndex, onPick }) {
83538
83538
  });
83539
83539
  }
83540
83540
  //#endregion
83541
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceFlowPicker.js
83541
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceFlowPicker.js
83542
83542
  const WINDOW = 8;
83543
83543
  /** Generic nested choice surface returned by a workspace provider command. */
83544
83544
  function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input = null, onPick }) {
@@ -83596,7 +83596,7 @@ function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input =
83596
83596
  });
83597
83597
  }
83598
83598
  //#endregion
83599
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityPicker.js
83599
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityPicker.js
83600
83600
  /**
83601
83601
  * Working-activity indicator picker in the CC ModelPicker style (ported
83602
83602
  * from the pi extension's `/activity` interactive select): a
@@ -83638,7 +83638,7 @@ function ActivityPicker({ focusIndex, currentPreset, onPick }) {
83638
83638
  });
83639
83639
  }
83640
83640
  //#endregion
83641
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ColorPicker.js
83641
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ColorPicker.js
83642
83642
  /**
83643
83643
  * Session accent color picker (bare `/color`): a permission-colored Pane
83644
83644
  * listing the whole palette with a colored swatch per row, `❯` focus
@@ -83682,7 +83682,7 @@ function ColorPicker({ focusIndex, currentColor, onPick }) {
83682
83682
  });
83683
83683
  }
83684
83684
  //#endregion
83685
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortSlider.js
83685
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortSlider.js
83686
83686
  /**
83687
83687
  * Reasoning-effort slider (`/effort`): a rheostat row of the live route's
83688
83688
  * adapter-owned levels in adapter order, ←/→ moving focus (each move applies
@@ -83741,7 +83741,7 @@ function EffortSlider({ options, focusIndex, currentId, onPick }) {
83741
83741
  });
83742
83742
  }
83743
83743
  //#endregion
83744
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PresetPicker.js
83744
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PresetPicker.js
83745
83745
  /**
83746
83746
  * Agent-preset picker (issue #8) in the CC ModelPicker style — same chrome
83747
83747
  * as the ActivityPicker: a permission-colored Pane listing every roster
@@ -83785,7 +83785,7 @@ function PresetPicker({ presets, focusIndex, currentPreset, onPick }) {
83785
83785
  });
83786
83786
  }
83787
83787
  //#endregion
83788
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PermissionsPicker.js
83788
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PermissionsPicker.js
83789
83789
  /**
83790
83790
  * `/permission` sandbox-preset picker. The command itself is registered by
83791
83791
  * the harness side (dsh-sandbox-policy / dsh-base permission-presets row);
@@ -83832,7 +83832,7 @@ function PermissionsPicker({ options, focusIndex, currentValue, cwd, onPick }) {
83832
83832
  });
83833
83833
  }
83834
83834
  //#endregion
83835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PlanPicker.js
83835
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PlanPicker.js
83836
83836
  /**
83837
83837
  * `/plan` on/off picker. The command itself is registered by dsh-plan-mode
83838
83838
  * on the harness side; bare `/plan` opens this picker (with the current
@@ -83877,7 +83877,7 @@ function PlanPicker({ focusIndex, currentOn, onPick }) {
83877
83877
  });
83878
83878
  }
83879
83879
  //#endregion
83880
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LangPicker.js
83880
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LangPicker.js
83881
83881
  /**
83882
83882
  * `/lang` en/zh picker: bare `/lang` opens this picker (the current language
83883
83883
  * marked) and Enter applies the choice through the same path as `/lang <id>`.
@@ -83916,7 +83916,7 @@ function LangPicker({ focusIndex, currentLang, onPick }) {
83916
83916
  });
83917
83917
  }
83918
83918
  //#endregion
83919
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThemePicker.js
83919
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThemePicker.js
83920
83920
  /** One double-block swatch character per preview key, in a row. */
83921
83921
  const SWATCH = "██";
83922
83922
  /** Theme keys previewed in the picker, chosen for visual contrast. */
@@ -84002,7 +84002,7 @@ function ThemePicker({ focusIndex, currentTheme, themeHost, onPick }) {
84002
84002
  });
84003
84003
  }
84004
84004
  //#endregion
84005
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThinkingToggle.js
84005
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThinkingToggle.js
84006
84006
  /**
84007
84007
  * The `/thinking` display dialog: a permission-colored Pane with a bold
84008
84008
  * title, the Shown/Hidden select, and the Enter/Esc hint line.
@@ -84051,7 +84051,7 @@ function ThinkingToggle({ currentValue, focusIndex, onPick }) {
84051
84051
  });
84052
84052
  }
84053
84053
  //#endregion
84054
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HistorySearchDialog.js
84054
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HistorySearchDialog.js
84055
84055
  /**
84056
84056
  * The ctrl+r history search dialog, in the shape of Claude Code's
84057
84057
  * HistorySearchDialog/FuzzyPicker: a permission-colored Pane with a bold
@@ -84114,7 +84114,7 @@ function formatRelativeAge(ts) {
84114
84114
  return t("time-days-ago", { n: Math.floor(elapsed / 864e5) });
84115
84115
  }
84116
84116
  //#endregion
84117
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RewindPicker.js
84117
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RewindPicker.js
84118
84118
  /**
84119
84119
  * Double-Esc rewind picker (CC's "Double-tap esc to rewind the code and/or
84120
84120
  * conversation to a previous point in time"): lists the user's past messages
@@ -84251,7 +84251,7 @@ function preview(text) {
84251
84251
  return flat.length <= 80 ? flat : `${flat.slice(0, 80)}…`;
84252
84252
  }
84253
84253
  //#endregion
84254
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/BtwPanel.js
84254
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/BtwPanel.js
84255
84255
  /**
84256
84256
  * /btw side-question panel (CC's btw.tsx, inline-pane form like the local
84257
84257
  * pickers): title line with the question, a scrollable answer body (error /
@@ -84335,7 +84335,7 @@ function BtwPanel({ question, answer, error, streaming, onClose, onCopy }) {
84335
84335
  });
84336
84336
  }
84337
84337
  //#endregion
84338
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ReleaseNotesPanel.js
84338
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ReleaseNotesPanel.js
84339
84339
  function ReleaseNotesPanel({ release, onClose }) {
84340
84340
  const scrollRef = import_react.useRef(null);
84341
84341
  const { rows } = useTerminalSize();
@@ -84380,7 +84380,7 @@ function ReleaseNotesPanel({ release, onClose }) {
84380
84380
  });
84381
84381
  }
84382
84382
  //#endregion
84383
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RecapPanel.js
84383
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RecapPanel.js
84384
84384
  /**
84385
84385
  * `/recap` panel (pi-recap semantics), in the picker/dialog visual
84386
84386
  * language: a permission-colored Pane with a title bar (会话回顾), a
@@ -84501,7 +84501,7 @@ function RecapPanel({ summary, title, error, streaming, titleApplied, onClose, o
84501
84501
  });
84502
84502
  }
84503
84503
  //#endregion
84504
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tips.js
84504
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tips.js
84505
84505
  /**
84506
84506
  * 精简 Tips 池 —— 启动首屏轮换(LogoV2)与 `/tips` 命令面板共用。
84507
84507
  *
@@ -85215,7 +85215,7 @@ const TIPS = [
85215
85215
  }
85216
85216
  ];
85217
85217
  //#endregion
85218
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TipsPanel.js
85218
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TipsPanel.js
85219
85219
  const GROUP_ORDER = [
85220
85220
  "keys",
85221
85221
  "commands",
@@ -85294,7 +85294,7 @@ function TipsPanel({ onClose }) {
85294
85294
  });
85295
85295
  }
85296
85296
  //#endregion
85297
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentCard.js
85297
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentCard.js
85298
85298
  function formatDuration$1(ms) {
85299
85299
  const seconds = Math.floor(ms / 1e3);
85300
85300
  return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m${seconds % 60}s`;
@@ -85349,7 +85349,7 @@ function SubagentCard({ subagent, focused, onClick }) {
85349
85349
  });
85350
85350
  }
85351
85351
  //#endregion
85352
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDashboard.js
85352
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDashboard.js
85353
85353
  /** 可点击 ✕ 退出按钮:整屏/浮层场景的鼠标退出通道(Esc 等价)。 */
85354
85354
  function ExitButton({ onClick }) {
85355
85355
  const [hovered, setHovered] = import_react.useState(false);
@@ -85497,7 +85497,7 @@ function SubagentDashboard({ subagents, onClose, onSelect }) {
85497
85497
  });
85498
85498
  }
85499
85499
  //#endregion
85500
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/JobsPanel.js
85500
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/JobsPanel.js
85501
85501
  function statusInfo(status) {
85502
85502
  const minimal = isMinimalMode();
85503
85503
  switch (status) {
@@ -85785,7 +85785,7 @@ function JobsPanel({ jobs, onClose, onKill }) {
85785
85785
  });
85786
85786
  }
85787
85787
  //#endregion
85788
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDetailScene.js
85788
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDetailScene.js
85789
85789
  function formatDuration(ms) {
85790
85790
  if (ms < 1e3) return `${ms}ms`;
85791
85791
  if (ms < 6e4) return `${(ms / 1e3).toFixed(1)}s`;
@@ -86243,7 +86243,7 @@ function FileActionsPanel({ path, isDir, focusIndex, onPick }) {
86243
86243
  });
86244
86244
  }
86245
86245
  //#endregion
86246
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ProductivityPickers.js
86246
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ProductivityPickers.js
86247
86247
  function oneLine(text, max = 70) {
86248
86248
  const compact = text.replace(/\s+/gu, " ").trim();
86249
86249
  return compact.length > max ? `${compact.slice(0, max - 1)}…` : compact;
@@ -86335,7 +86335,7 @@ function DiffLoading() {
86335
86335
  });
86336
86336
  }
86337
86337
  //#endregion
86338
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/productivityCommands.js
86338
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/productivityCommands.js
86339
86339
  /** `/copy` argument is a one-based reply age; omission selects the latest. */
86340
86340
  function parseCopyIndex(raw, count) {
86341
86341
  const value = raw.trim();
@@ -86388,7 +86388,7 @@ function gitDiffLines(report, labels) {
86388
86388
  ];
86389
86389
  }
86390
86390
  //#endregion
86391
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sessionOrganizationCommands.js
86391
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sessionOrganizationCommands.js
86392
86392
  /** Compact duration suitable for a terminal report row. */
86393
86393
  function formatStatsDuration(ms) {
86394
86394
  if (ms < 1e3) return `${Math.round(ms)} ms`;
@@ -86434,7 +86434,7 @@ function parsePresetManagement(input) {
86434
86434
  return { kind: "invalid" };
86435
86435
  }
86436
86436
  //#endregion
86437
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workflowCommands.js
86437
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workflowCommands.js
86438
86438
  const ALIASES = {
86439
86439
  map: "inspect",
86440
86440
  fixit: "repair",
@@ -86489,7 +86489,7 @@ function buildWorkflowCommand(name, rawInput = "") {
86489
86489
  };
86490
86490
  }
86491
86491
  //#endregion
86492
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/urlGuard.js
86492
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/urlGuard.js
86493
86493
  const EXTERNAL_SCHEME = /^https?:\/\//i;
86494
86494
  /**
86495
86495
  * Classify a clicked link target. Mirrors the previous handleOpenTarget
@@ -86514,7 +86514,7 @@ function classifyOpenTarget(url) {
86514
86514
  return { kind: "rejected" };
86515
86515
  }
86516
86516
  //#endregion
86517
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useExternalVersion.js
86517
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useExternalVersion.js
86518
86518
  /**
86519
86519
  * Subscribe to an external store's version counter at DEFAULT lane.
86520
86520
  *
@@ -86563,7 +86563,7 @@ function useExternalVersion(subscribe, getVersion, enabled = true) {
86563
86563
  return version;
86564
86564
  }
86565
86565
  //#endregion
86566
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/WaveBand.js
86566
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/WaveBand.js
86567
86567
  /**
86568
86568
  * The wake — the whole session drawn as one row of glyphs.
86569
86569
  *
@@ -86700,7 +86700,7 @@ function toHex(colour) {
86700
86700
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
86701
86701
  }
86702
86702
  //#endregion
86703
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Ledger.js
86703
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Ledger.js
86704
86704
  /**
86705
86705
  * The ledger — one line per event, columns aligned across every row.
86706
86706
  *
@@ -86946,7 +86946,7 @@ function Ledger({ rows, start, height, cursor, width, tick, arrivalTick, arrival
86946
86946
  });
86947
86947
  }
86948
86948
  //#endregion
86949
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Inspector.js
86949
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Inspector.js
86950
86950
  /**
86951
86951
  * The inspector — full detail for the focused row, in a fixed-height slot.
86952
86952
  *
@@ -87052,7 +87052,7 @@ function Inspector({ node, detail, height, width, expanded, scroll }) {
87052
87052
  });
87053
87053
  }
87054
87054
  //#endregion
87055
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/HotspotView.js
87055
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/HotspotView.js
87056
87056
  /**
87057
87057
  * The hotspot view — the session ranked by cost instead of ordered by time.
87058
87058
  *
@@ -87215,7 +87215,7 @@ function HotspotView({ agg, sort, width, height, cursor, tick, switchTick, onRow
87215
87215
  });
87216
87216
  }
87217
87217
  //#endregion
87218
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/query.js
87218
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/query.js
87219
87219
  /**
87220
87220
  * Trajectory query — whole-session structured filtering.
87221
87221
  *
@@ -87411,7 +87411,7 @@ function applyQuery(nodes, query) {
87411
87411
  };
87412
87412
  }
87413
87413
  //#endregion
87414
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/TrajectoryScene.js
87414
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/TrajectoryScene.js
87415
87415
  /**
87416
87416
  * The trajectory scene — the session's own screen.
87417
87417
  *
@@ -87899,7 +87899,7 @@ function TrajectoryScene({ channel, build, onClose }) {
87899
87899
  });
87900
87900
  }
87901
87901
  //#endregion
87902
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/LoadedContextScene.js
87902
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/LoadedContextScene.js
87903
87903
  /** Build the non-empty pages shown by the loaded-context inspector. */
87904
87904
  function contextPages(context) {
87905
87905
  const pages = [];
@@ -88083,7 +88083,7 @@ function LoadedContextScene({ context, onClose }) {
88083
88083
  });
88084
88084
  }
88085
88085
  //#endregion
88086
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/AgentView.js
88086
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/AgentView.js
88087
88087
  /** Rows the layout cannot do without: header, model/cwd line, dispatch
88088
88088
  * input, hints. */
88089
88089
  const MANDATORY_LINES = 4;
@@ -88687,7 +88687,7 @@ function AgentView({ channel, home, approval, onApprove, returnSessionId, onClos
88687
88687
  });
88688
88688
  }
88689
88689
  //#endregion
88690
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectoryPrefs.js
88690
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectoryPrefs.js
88691
88691
  /**
88692
88692
  * Persisted "the user has seen the trajectory" flag, at
88693
88693
  * `~/.chatcode-cli/tui/trajectory.json`.
@@ -88747,7 +88747,7 @@ function writeTrajectorySeen(dir = DATA_DIR) {
88747
88747
  }
88748
88748
  }
88749
88749
  //#endregion
88750
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/chatOverlay.js
88750
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/chatOverlay.js
88751
88751
  const NO_OVERLAY = { kind: "none" };
88752
88752
  /**
88753
88753
  * One-step wrap-around cursor move — the single source of the wrapping rule
@@ -88857,7 +88857,7 @@ function dialogOverlayVisible(overlay, gates) {
88857
88857
  }
88858
88858
  }
88859
88859
  //#endregion
88860
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Chat.js
88860
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Chat.js
88861
88861
  const LOGOUT_EXIT_DELAY_MS = 200;
88862
88862
  /** Shared empty snapshot for hosts whose channel has no event log. */
88863
88863
  const NO_EVENTS = [];
@@ -92653,7 +92653,7 @@ function ModelPickerLoading() {
92653
92653
  });
92654
92654
  }
92655
92655
  //#endregion
92656
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/webLauncher.js
92656
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/webLauncher.js
92657
92657
  const MAIN_CLI_PACKAGE = "@chatcode/chatcode-cli";
92658
92658
  function asError(value) {
92659
92659
  return value instanceof Error ? value : new Error(String(value));
@@ -92774,7 +92774,7 @@ function launchWebFrontend(cwd, options = {}) {
92774
92774
  }
92775
92775
  }
92776
92776
  //#endregion
92777
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/inject-channel.js
92777
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/inject-channel.js
92778
92778
  /**
92779
92779
  * External injection channel — lets an out-of-process editor integration
92780
92780
  * (e.g. the `dsh.nvim` Neovim plugin) push text into the running TUI's
@@ -92969,7 +92969,7 @@ function openInjectChannel(sessionId, cwd, handlers, onError) {
92969
92969
  };
92970
92970
  }
92971
92971
  //#endregion
92972
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-auth.js
92972
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-auth.js
92973
92973
  const CHATCODE_CLI_OAUTH_TOKEN = "CHATCODE_CLI_OAUTH_TOKEN";
92974
92974
  function authService(ctx) {
92975
92975
  return ctx.get("chatcodeAuth");
@@ -93146,7 +93146,7 @@ async function requireChatCodeStartupLogin(ctx, options) {
93146
93146
  return "ready";
93147
93147
  }
93148
93148
  //#endregion
93149
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-api.js
93149
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-api.js
93150
93150
  /** Bind authenticated statistics requests to one TUI lifetime. */
93151
93151
  function createChatCodeAuthorizedPost(ctx) {
93152
93152
  const lifetime = new AbortController();
@@ -93185,7 +93185,7 @@ function createChatCodeAuthorizedPost(ctx) {
93185
93185
  };
93186
93186
  }
93187
93187
  //#endregion
93188
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.8_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin.js
93188
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin.js
93189
93189
  /**
93190
93190
  * Interactive TUI front door for ChatCode CLI agents.
93191
93191
  *