@chatcode/chatcode-cli 3.0.5-rc.4 → 3.0.5-rc.5

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 (24) hide show
  1. package/lib/{command-errors-Dy38dE7J.js → command-errors-DGyKMxEq.js} +12 -12
  2. package/lib/{command-trees-CyZU9OgJ.js → command-trees-Bh2WKUZ3.js} +2 -2
  3. package/lib/{component-identity-DXrrXp1z.js → component-identity-B7wyM-aN.js} +3 -3
  4. package/lib/{extension-events-DGLD0QXk.js → extension-events-JX8c4mnR.js} +20 -20
  5. package/lib/{host-access-DXxSOjq9.js → host-access-ClndygbX.js} +1 -1
  6. package/lib/{keymap-BfegLkpv.js → keymap-nfqAZoFE.js} +2 -2
  7. package/lib/{plugin-BOeJiplQ.js → plugin-C9yd07Wb.js} +546 -420
  8. package/lib/{scenes-CMbv2mIB.js → scenes-C5_xUR61.js} +3 -3
  9. package/lib/{settings-sections-iiyY7jD8.js → settings-sections-CRhTUEBm.js} +3 -3
  10. package/lib/{statusBarSettings-BSQLLAKO.js → statusBarSettings-ChS8Z4Jf.js} +3 -3
  11. package/lib/{themes-DwpCTrf5.js → themes-bFi516uK.js} +12 -12
  12. package/lib/tui-compat-command-trees.js +1 -1
  13. package/lib/tui-compat-extensions.js +3 -3
  14. package/lib/tui-compat-plugin-host.js +5 -5
  15. package/lib/tui-compat-scenes.js +1 -1
  16. package/lib/tui-compat-settings-sections.js +1 -1
  17. package/lib/tui-compat-working-activity.js +1 -1
  18. package/lib/tui-compat-workspaces.js +1 -1
  19. package/lib/tui-compat.js +5 -5
  20. package/lib/{workspaces-D1_eegCv.js → workspaces-ous4jIwo.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
@@ -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 { _ as settingsValue, a as formatContextUsage, c as normalizePageMargin, d as normalizeToolBackground, f as parsePageMarginSpec, h as displaySettingsScope, i as applyPageMargin, l as normalizeScrollGutter, m as subscribePageMargin, n as createStatusBarSchema, o as getPageMarginSetting, p as resolvePageMargin, s as isPageMarginMode, t as STATUS_BAR_FIELDS, u as normalizeStatusBar } from "./statusBarSettings-BSQLLAKO.js";
3
- import { a as draftComboConflict, 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-BfegLkpv.js";
4
- import { c as withHostRootCapability } from "./host-access-DXxSOjq9.js";
5
- import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-D1_eegCv.js";
6
- import { n as getHostCommandTrees } from "./command-trees-CyZU9OgJ.js";
7
- import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-iiyY7jD8.js";
8
- import { n as getHostSceneRuntime } from "./scenes-CMbv2mIB.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-DGLD0QXk.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-Dy38dE7J.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-DwpCTrf5.js";
2
+ import { _ as settingsValue, a as formatContextUsage, c as normalizePageMargin, d as normalizeToolBackground, f as parsePageMarginSpec, h as displaySettingsScope, i as applyPageMargin, l as normalizeScrollGutter, m as subscribePageMargin, n as createStatusBarSchema, o as getPageMarginSetting, p as resolvePageMargin, s as isPageMarginMode, t as STATUS_BAR_FIELDS, u as normalizeStatusBar } from "./statusBarSettings-ChS8Z4Jf.js";
3
+ import { a as draftComboConflict, 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-nfqAZoFE.js";
4
+ import { c as withHostRootCapability } from "./host-access-ClndygbX.js";
5
+ import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-ous4jIwo.js";
6
+ import { n as getHostCommandTrees } from "./command-trees-Bh2WKUZ3.js";
7
+ import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-CRhTUEBm.js";
8
+ import { n as getHostSceneRuntime } from "./scenes-C5_xUR61.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-JX8c4mnR.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-DGyKMxEq.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-bFi516uK.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-B89znn_0.js";
13
13
  import { n as require_has_flag, t as require_supports_color } from "./supports-color-CcW-FGjr.js";
14
14
  import { createRequire, findPackageJSON } 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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sideQuestion.js
1201
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/recap.js
1271
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/log.js
1384
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/update-overflow-guard.js
1395
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/sessionColors.js
1538
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_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.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/deepseekPricing.js
1579
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/deepseekPricing.js
1580
1580
  /**
1581
1581
  * 是否处于高峰计费时段:北京时间周一至周五 9:00-12:00、14:00-18:00。
1582
1582
  * 北京时间为 UTC+8 固定偏移(无夏令时),用 UTC 时刻加偏移换算。
@@ -1595,7 +1595,7 @@ Object.freeze({
1595
1595
  cacheWrite: 0
1596
1596
  });
1597
1597
  //#endregion
1598
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/i18n.js
1598
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/i18n.js
1599
1599
  /**
1600
1600
  * dsh-tui localization — UI strings for Chinese (`zh`, the default) and
1601
1601
  * English (`en`).
@@ -1734,8 +1734,8 @@ const dict = {
1734
1734
  en: "No MCP servers configured."
1735
1735
  },
1736
1736
  "mcp-insert-hint": {
1737
- zh: "在当前 profile 补丁层(默认 ~/.chatcode-cli/profiles/cli/cordis.patch.yml)insert 一行即可,例:",
1738
- en: "Insert one line in the active profile patch layer (default: ~/.chatcode-cli/profiles/cli/cordis.patch.yml), e.g.:"
1737
+ zh: "在用户目录的 .mcp.json 或当前项目的 .mcp.json 中配置,重启 CLI 后加载。例如:",
1738
+ en: "Configure .mcp.json in the user home or current project, then restart the CLI. Example:"
1739
1739
  },
1740
1740
  "mcp-readme-hint": {
1741
1741
  zh: "详见仓库 README 的 MCP 章节。",
@@ -1749,6 +1749,14 @@ const dict = {
1749
1749
  zh: "{{server}}(已配置,正在连接并同步工具)",
1750
1750
  en: "{{server}} (configured; connecting and syncing tools)"
1751
1751
  },
1752
+ "mcp-server-configured": {
1753
+ zh: "{{server}}(已发现配置,尚无已加载的工具;配置修改后请重启)",
1754
+ en: "{{server}} (configuration found; no loaded tools observed; restart after changes)"
1755
+ },
1756
+ "mcp-config-source": {
1757
+ zh: "{{server}} 配置来源:{{configPath}}",
1758
+ en: "{{server}} configuration source: {{configPath}}"
1759
+ },
1752
1760
  "mcp-server-unavailable": {
1753
1761
  zh: "{{server}}(已配置,当前无可用工具;连接失败或正在重连)",
1754
1762
  en: "{{server}} (configured; no tools available, connection failed or is reconnecting)"
@@ -1924,9 +1932,9 @@ const dict = {
1924
1932
  zh: "运行中的子代理:",
1925
1933
  en: "Running subagents:"
1926
1934
  },
1927
- "agents-configured-heading": {
1928
- zh: "已配置的 Agent:",
1929
- en: "Configured agents:"
1935
+ "agents-configured-source": {
1936
+ zh: "已配置的 Agent(来源:{{configPath}}):",
1937
+ en: "Configured agents (from: {{configPath}}):"
1930
1938
  },
1931
1939
  "subagent-tools": {
1932
1940
  zh: "工具",
@@ -2860,12 +2868,16 @@ const dict = {
2860
2868
  en: "Exit plan mode, back to normal execution"
2861
2869
  },
2862
2870
  "hooks-mounted": {
2863
- zh: "Hooks 已加载(来源:{{configPath}})",
2864
- en: "Hooks loaded (from: {{configPath}})"
2871
+ zh: "Hooks 配置(来源:{{configPath}};修改后重启加载)",
2872
+ en: "Hooks configuration (from: {{configPath}}; restart after changes)"
2865
2873
  },
2866
2874
  "hooks-mounted-empty": {
2867
- zh: "Hooks 插件已挂载,但 {{configPath}} 中未配置任何 hook。",
2868
- en: "Hooks plugin mounted, but no hooks configured in {{configPath}}."
2875
+ zh: "用户与当前项目未配置 hook。已检查:{{configPath}}",
2876
+ en: "No hooks configured for the user or current project. Checked: {{configPath}}"
2877
+ },
2878
+ "hooks-config-invalid": {
2879
+ zh: "Hooks 配置读取或解析失败:{{configPath}}",
2880
+ en: "Could not read or parse hooks configuration: {{configPath}}"
2869
2881
  },
2870
2882
  "hooks-event": {
2871
2883
  zh: " 事件 {{event}}({{count}} 个 hook)",
@@ -6552,7 +6564,7 @@ function resolveStartupLang(dir = PREFS_DIR$6, env = process.env) {
6552
6564
  return readLangPref(dir) ?? "zh";
6553
6565
  }
6554
6566
  //#endregion
6555
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/commands.js
6567
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/commands.js
6556
6568
  /**
6557
6569
  * Local slash commands for the dsh-tui TUI. Claude Code's command system is
6558
6570
  * deeply wired into its engine; dsh-tui ships a small built-in set with the
@@ -7026,7 +7038,7 @@ function matchingCompletionToken(candidate, prefix) {
7026
7038
  return candidate.aliases?.find((alias) => alias.toLowerCase().startsWith(prefix));
7027
7039
  }
7028
7040
  //#endregion
7029
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessionHistory.js
7041
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionHistory.js
7030
7042
  /**
7031
7043
  * Launcher contract for `dsh-tui --resume`: the TUI writes the chosen session
7032
7044
  * id to `<CHATCODE_CLI_HOME>/tui/resume.txt`, and the launcher feeds it back as
@@ -7193,7 +7205,7 @@ function forgetAgentViewSession(sessionId) {
7193
7205
  } catch {}
7194
7206
  }
7195
7207
  //#endregion
7196
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessionTags.js
7208
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionTags.js
7197
7209
  /**
7198
7210
  * One searchable local tag per persisted session.
7199
7211
  *
@@ -7343,7 +7355,7 @@ function forgetSessionTag(sessionId, dir = DATA_DIR) {
7343
7355
  return setSessionTag(sessionId, void 0, dir).ok;
7344
7356
  }
7345
7357
  //#endregion
7346
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/liveSession.js
7358
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/liveSession.js
7347
7359
  /**
7348
7360
  * Live Session compatibility facade.
7349
7361
  *
@@ -7505,7 +7517,7 @@ function liveSessionCreateOptions(request) {
7505
7517
  };
7506
7518
  }
7507
7519
  //#endregion
7508
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionLog.js
7520
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionLog.js
7509
7521
  /**
7510
7522
  * Legacy third-party session-event types the TUI vouches for as ephemeral
7511
7523
  * UI frames — safe for the strict read path to accept and skip. Exported
@@ -8197,7 +8209,7 @@ function appendSessionTitle(sessionId, title) {
8197
8209
  }
8198
8210
  }
8199
8211
  //#endregion
8200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionEvent.js
8212
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionEvent.js
8201
8213
  /** Narrow an unknown/session event to the retired durable chunk envelope. */
8202
8214
  function legacyAssistantChunkOf(event) {
8203
8215
  if (event === null || typeof event !== "object") return void 0;
@@ -8211,7 +8223,7 @@ function legacyAssistantChunkOf(event) {
8211
8223
  return event;
8212
8224
  }
8213
8225
  //#endregion
8214
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compaction.js
8226
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compaction.js
8215
8227
  /**
8216
8228
  * Recognize both the current checkpoint source and the legacy plugin marker.
8217
8229
  * Harness session format v4 migrated `plugin/compact` to the dedicated
@@ -8222,7 +8234,7 @@ function isCompactionCheckpointSource(source) {
8222
8234
  return source.kind === "compact-checkpoint" || source.kind === "plugin" && source.plugin === "compact";
8223
8235
  }
8224
8236
  //#endregion
8225
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessionTree.js
8237
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessionTree.js
8226
8238
  const TREE_FILTERS = [
8227
8239
  "default",
8228
8240
  "no-tools",
@@ -10378,7 +10390,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10378
10390
  module.exports = subset;
10379
10391
  }));
10380
10392
  //#endregion
10381
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/shellQuote.js
10393
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/shellQuote.js
10382
10394
  var import_semver = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
10383
10395
  const internalRe = require_re();
10384
10396
  const constants = require_constants$1();
@@ -10471,7 +10483,7 @@ function cmdEscapeArgument(arg, doubleEscapeMetaChars = false) {
10471
10483
  return out;
10472
10484
  }
10473
10485
  //#endregion
10474
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/update.js
10486
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/update.js
10475
10487
  const PACKAGE_NAME = "@chatcode/cco-tui";
10476
10488
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
10477
10489
  const GITHUB_REPO = "ccch1mneyyy/dsh-TUI";
@@ -11822,7 +11834,7 @@ async function restartTui(sessionId, options = {}) {
11822
11834
  });
11823
11835
  }
11824
11836
  //#endregion
11825
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/header.js
11837
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/header.js
11826
11838
  /** A finite number, or undefined for anything else (NaN and ±Infinity included). */
11827
11839
  function finiteNumber(value) {
11828
11840
  return typeof value === "number" && Number.isFinite(value) ? value : void 0;
@@ -11896,7 +11908,7 @@ function classify(header) {
11896
11908
  return { kind: "root" };
11897
11909
  }
11898
11910
  //#endregion
11899
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/frames.js
11911
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/frames.js
11900
11912
  /**
11901
11913
  * Bounded reads over the JSONL backend's concatenated-Zstandard session logs.
11902
11914
  *
@@ -12142,7 +12154,7 @@ function decodeTail(window) {
12142
12154
  return decodeFrames(window.buffer, window.whole ? walkFrames(window.buffer) : resyncFrames(window.buffer));
12143
12155
  }
12144
12156
  //#endregion
12145
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/digest.js
12157
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/digest.js
12146
12158
  /**
12147
12159
  * What a bounded read can learn about a session log.
12148
12160
  *
@@ -12625,7 +12637,7 @@ function previewSession(path, limit) {
12625
12637
  return entries.slice(-limit);
12626
12638
  }
12627
12639
  //#endregion
12628
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/artifact.js
12640
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/artifact.js
12629
12641
  /** Read-only artifact lookup for session summaries and previews. */
12630
12642
  /** Highest published compressed generation; temporary migration files are ignored. */
12631
12643
  function inDirectory(directory) {
@@ -12678,7 +12690,7 @@ function findSessionArtifact(sessionId, target) {
12678
12690
  }
12679
12691
  }
12680
12692
  //#endregion
12681
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/store.js
12693
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/store.js
12682
12694
  /**
12683
12695
  * The session index — a local cache keyed by the backend's own change token.
12684
12696
  *
@@ -12842,7 +12854,7 @@ function noteBranch(sessionId, branch) {
12842
12854
  writeIndex(index);
12843
12855
  }
12844
12856
  //#endregion
12845
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/list.js
12857
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/list.js
12846
12858
  /**
12847
12859
  * Building the session list.
12848
12860
  *
@@ -13123,7 +13135,7 @@ async function locateSession(source, sessionId, signal) {
13123
13135
  return match === void 0 ? void 0 : locate$1(source, match.raw, sessionId);
13124
13136
  }
13125
13137
  //#endregion
13126
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/agent-view.js
13138
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/agent-view.js
13127
13139
  /**
13128
13140
  * Agent view (CC `claude agents`) derivation helpers — pure functions over
13129
13141
  * session events that the channel folds into {@link AgentViewRow}s. Kept in
@@ -13353,7 +13365,7 @@ function featureOn(config, name) {
13353
13365
  return config.mode !== "minimal";
13354
13366
  }
13355
13367
  //#endregion
13356
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/activityPrefs.js
13368
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/activityPrefs.js
13357
13369
  /**
13358
13370
  * Persisted working-activity indicator preference, mirroring the pi
13359
13371
  * working-activity extension's `~/.pi/agent/working-activity.json`
@@ -13422,7 +13434,7 @@ function writeActivityFrames(name, dir = PREFS_DIR$5) {
13422
13434
  }
13423
13435
  }
13424
13436
  //#endregion
13425
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/fileSuggestions.js
13437
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileSuggestions.js
13426
13438
  const pathSeparators = /[\\/]/;
13427
13439
  function isPathLikeQuery(query) {
13428
13440
  return query.startsWith(".") || query.startsWith("~") || query.startsWith("/") || /^[A-Za-z]:[\\/]/.test(query) || pathSeparators.test(query);
@@ -13445,7 +13457,7 @@ function rankFileCandidates(candidates, query, topK) {
13445
13457
  return topK === void 0 ? ranked : ranked.slice(0, Math.max(0, topK));
13446
13458
  }
13447
13459
  //#endregion
13448
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/effortPrefs.js
13460
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/effortPrefs.js
13449
13461
  /**
13450
13462
  * Persisted reasoning-effort preference (`~/.chatcode-cli/tui/effort.json`). Set via
13451
13463
  * `/effort` (slider or `/effort <id>`; `/effort status` reports the current
@@ -13487,7 +13499,7 @@ function writeEffortPref(effort, dir = PREFS_DIR$4) {
13487
13499
  }
13488
13500
  }
13489
13501
  //#endregion
13490
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/modelPrefs.js
13502
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelPrefs.js
13491
13503
  /**
13492
13504
  * Persisted model-route preference (`/model` picker choice), kept at
13493
13505
  * `~/.chatcode-cli/model.json` (`provider` + `model` keys) so CLI and Web share it
@@ -13570,7 +13582,7 @@ function writeModelPref(provider, model, dir = PREFS_DIR$3) {
13570
13582
  }
13571
13583
  }
13572
13584
  //#endregion
13573
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/modelRoute.js
13585
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelRoute.js
13574
13586
  /**
13575
13587
  * Model route resolution (issue #67). The `(provider, model)` pair is a
13576
13588
  * single value: every source either supplies the WHOLE route or is skipped,
@@ -13805,7 +13817,7 @@ function orderModelProviders(providers) {
13805
13817
  return [...providers].sort((left, right) => rank(left.id) - rank(right.id));
13806
13818
  }
13807
13819
  //#endregion
13808
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelSettings.js
13820
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelSettings.js
13809
13821
  /** Custom-model forms over the same settings and credential services used by Web. */
13810
13822
  function record(value) {
13811
13823
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -14007,7 +14019,7 @@ function createCustomModelSettingsStore(path, host) {
14007
14019
  };
14008
14020
  }
14009
14021
  //#endregion
14010
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelTest.js
14022
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelTest.js
14011
14023
  /** Direct, one-shot generation used by `/model-config` before a model is registered. */
14012
14024
  function requestEndpoint(baseURL, api) {
14013
14025
  const url = new URL(baseURL);
@@ -14096,7 +14108,7 @@ async function testCustomModelConnection(request, fetchImpl = fetch) {
14096
14108
  }
14097
14109
  }
14098
14110
  //#endregion
14099
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/catalogDefaults.js
14111
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/catalogDefaults.js
14100
14112
  /** Read display defaults from the host adapter's own installed pi-ai catalog. */
14101
14113
  const catalogs = /* @__PURE__ */ new Map();
14102
14114
  async function installedCatalog(anchor) {
@@ -14143,7 +14155,7 @@ async function catalogProviderDefaults(provider, model, anchor = import.meta.url
14143
14155
  };
14144
14156
  }
14145
14157
  //#endregion
14146
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/presetPrefs.js
14158
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/presetPrefs.js
14147
14159
  /**
14148
14160
  * Persisted agent-preset preference (`/preset` picker choice), kept at
14149
14161
  * `~/.chatcode-cli/tui/agent-preset.json` (`preset` key) so the choice survives
@@ -14202,7 +14214,7 @@ function migratePresetPref(requested, resolved, dir = PREFS_DIR$2) {
14202
14214
  return requested === void 0 || resolved === void 0 || requested === resolved ? true : writePresetPref(resolved, dir);
14203
14215
  }
14204
14216
  //#endregion
14205
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/persistedSession.js
14217
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/persistedSession.js
14206
14218
  /** Undefined means the service exposes neither supported read API. */
14207
14219
  async function readPersistedSession(persistence, id) {
14208
14220
  if (persistence === null || typeof persistence !== "object") return void 0;
@@ -14222,7 +14234,7 @@ async function readPersistedSession(persistence, id) {
14222
14234
  if (typeof reader.load === "function") return reader.load(id);
14223
14235
  }
14224
14236
  //#endregion
14225
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-resolution.js
14237
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-resolution.js
14226
14238
  /**
14227
14239
  * Agent-preset resolution across upstream prerelease lines.
14228
14240
  *
@@ -14260,7 +14272,7 @@ async function resolveCompatiblePreset(presets, requested) {
14260
14272
  return presets.resolve(requested);
14261
14273
  }
14262
14274
  //#endregion
14263
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/presets.js
14275
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/presets.js
14264
14276
  /**
14265
14277
  * Agent-presets roster integration (issue #8): compose each session's
14266
14278
  * model-facing world (tools, prompt sections, projections) from one preset
@@ -14410,7 +14422,7 @@ function serviceForAgent(ctx, agent, key) {
14410
14422
  return ctx.get(key);
14411
14423
  }
14412
14424
  //#endregion
14413
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagent-control.js
14425
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagent-control.js
14414
14426
  /**
14415
14427
  * Interrupt a child visible to the current parent without disposing its session.
14416
14428
  * One-shot local agents use their cancellation method; continuable agents use
@@ -14450,7 +14462,7 @@ function interruptSubagent(ctx, parent, id) {
14450
14462
  }
14451
14463
  }
14452
14464
  //#endregion
14453
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
14465
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
14454
14466
  const failureReason = (error) => error instanceof Error ? error.message : String(error);
14455
14467
  /** Read a roster-resolved composition without bypassing preset ownership. */
14456
14468
  async function readPresetComposition(presets, presetId) {
@@ -14507,7 +14519,7 @@ async function removePresetComposition(presets, presetId) {
14507
14519
  }
14508
14520
  }
14509
14521
  //#endregion
14510
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/session-organization.js
14522
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/session-organization.js
14511
14523
  /** Adapter-only readers for optional Harness session-organization services. */
14512
14524
  const STAT_KEYS = [
14513
14525
  "turns",
@@ -14568,7 +14580,7 @@ function presetCompositionRows(content, limit = 80) {
14568
14580
  };
14569
14581
  }
14570
14582
  //#endregion
14571
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/debug.js
14583
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/debug.js
14572
14584
  /**
14573
14585
  * Debug logger for the ported Ink core. Writes to stderr only when
14574
14586
  * `CHATCODE_CLI_TUI_DEBUG` (or its legacy alias) is set, so normal runs stay quiet.
@@ -14598,7 +14610,7 @@ function logMouseDebug(message, fields) {
14598
14610
  } catch {}
14599
14611
  }
14600
14612
  //#endregion
14601
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/mentions.js
14613
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/mentions.js
14602
14614
  /**
14603
14615
  * `@` file-mention parsing (issue #15).
14604
14616
  *
@@ -14744,7 +14756,7 @@ function mentionAtCaret(value, cursor) {
14744
14756
  };
14745
14757
  }
14746
14758
  //#endregion
14747
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/commonUtilityCommands.js
14759
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/commonUtilityCommands.js
14748
14760
  /** Format only the files in the authoritative loaded-context projection. */
14749
14761
  function loadedFileLines(files, copy) {
14750
14762
  if (files === void 0) return [copy.unavailable];
@@ -14859,7 +14871,7 @@ function codeRatioLines(report, copy, maxAuthors = 20) {
14859
14871
  return lines;
14860
14872
  }
14861
14873
  //#endregion
14862
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/themeCatalog.js
14874
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themeCatalog.js
14863
14875
  /**
14864
14876
  * Cordis-free theme catalog shared by future pickers, commands and hosts.
14865
14877
  *
@@ -14940,7 +14952,7 @@ function listThemeCatalog(host) {
14940
14952
  return Object.freeze(entries);
14941
14953
  }
14942
14954
  //#endregion
14943
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessionModes.js
14955
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionModes.js
14944
14956
  /**
14945
14957
  * Configurable Shift+Tab session modes (the `modes` dsh-tui plugin config):
14946
14958
  * each mode is a named bundle of optional DSH plane switches — plan mode
@@ -15004,7 +15016,7 @@ function modeDisplayName(spec) {
15004
15016
  return spec.id;
15005
15017
  }
15006
15018
  //#endregion
15007
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagents.js
15019
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagents.js
15008
15020
  /** Unified subagent activity domain model used by the adapter and every view. */
15009
15021
  const MAX_OUTPUT_EVENTS = 160;
15010
15022
  const MAX_OUTPUT_LINES = 160;
@@ -15382,7 +15394,7 @@ function formatJobDuration(job, now = Date.now()) {
15382
15394
  return `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, "0")}m`;
15383
15395
  }
15384
15396
  //#endregion
15385
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/minimalMode.js
15397
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/minimalMode.js
15386
15398
  /**
15387
15399
  * Minimal mode: one process-wide flag gating decorative UI (header splash,
15388
15400
  * emoji status glyphs and non-tool text colors). Footer field choices remain
@@ -15402,7 +15414,7 @@ function setMinimalMode(enabled) {
15402
15414
  minimal = enabled;
15403
15415
  }
15404
15416
  //#endregion
15405
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspace.js
15417
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspace.js
15406
15418
  function registryOf(ctx) {
15407
15419
  const registry = ctx.get("workspaceRegistry");
15408
15420
  if (registry === void 0 || typeof registry.pinSession !== "function" || typeof registry.unpinSession !== "function") return void 0;
@@ -15477,7 +15489,7 @@ async function unarchiveWorkspaceSession(ctx, id) {
15477
15489
  return true;
15478
15490
  }
15479
15491
  //#endregion
15480
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/contract.js
15492
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/contract.js
15481
15493
  /**
15482
15494
  * Upstream compatibility contract.
15483
15495
  *
@@ -15906,7 +15918,7 @@ function pluginsInfoLines(args, deps) {
15906
15918
  return lines;
15907
15919
  }
15908
15920
  //#endregion
15909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/mcp-status.js
15921
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/mcp-status.js
15910
15922
  /** Loader and tool-registry projection used by the TUI's `/mcp` report. */
15911
15923
  const MCP_CLIENT_PACKAGE = "@deepseek-ai/dsh-mcp-client";
15912
15924
  const FIBER_ACTIVE = 2;
@@ -15931,9 +15943,14 @@ function configuredState(entry) {
15931
15943
  * pending. Treating an empty tool registry as "not configured" makes `/mcp`
15932
15944
  * lie during that window.
15933
15945
  */
15934
- function collectMcpServerStatus(schemas, entries) {
15946
+ function collectMcpServerStatus(schemas, entries, discovered = []) {
15935
15947
  const statuses = /* @__PURE__ */ new Map();
15936
- for (const entry of entries) {
15948
+ const declaredEntries = [...entries];
15949
+ const disabled = new Set(declaredEntries.filter((entry) => entry.disabled === true).map((entry) => configuredServer({
15950
+ ...entry,
15951
+ disabled: false
15952
+ })));
15953
+ for (const entry of declaredEntries) {
15937
15954
  const server = configuredServer(entry);
15938
15955
  if (server === void 0 || statuses.has(server)) continue;
15939
15956
  statuses.set(server, {
@@ -15941,6 +15958,17 @@ function collectMcpServerStatus(schemas, entries) {
15941
15958
  state: configuredState(entry)
15942
15959
  });
15943
15960
  }
15961
+ for (const server of discovered) {
15962
+ if (disabled.has(server.name)) continue;
15963
+ const status = statuses.get(server.name) ?? {
15964
+ tools: [],
15965
+ state: "configured"
15966
+ };
15967
+ statuses.set(server.name, {
15968
+ ...status,
15969
+ sourcePath: server.sourcePath
15970
+ });
15971
+ }
15944
15972
  for (const schema of schemas) {
15945
15973
  const match = schema.name.match(/^mcp__([A-Za-z0-9_-]+)__(.+)$/);
15946
15974
  if (match === null) continue;
@@ -15959,7 +15987,105 @@ function collectMcpServerStatus(schemas, entries) {
15959
15987
  }));
15960
15988
  }
15961
15989
  //#endregion
15962
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/format.js
15990
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/asset-config.js
15991
+ /** Read user and current-workspace configuration for local status commands. */
15992
+ function object(value) {
15993
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
15994
+ }
15995
+ function read(path, scope) {
15996
+ try {
15997
+ const value = object(JSON.parse(readFileSync(path, "utf8")));
15998
+ return {
15999
+ path,
16000
+ scope,
16001
+ value: value ?? {},
16002
+ invalid: value === void 0
16003
+ };
16004
+ } catch (error) {
16005
+ return {
16006
+ path,
16007
+ scope,
16008
+ value: {},
16009
+ invalid: error.code !== "ENOENT"
16010
+ };
16011
+ }
16012
+ }
16013
+ /** Match the asset plugin's source ordering; project MCP names override user names. */
16014
+ function readAssetConfiguration(home, project, userHome = homedir()) {
16015
+ const projectConfig = join(project, ".chatcode-cli");
16016
+ const settings = [
16017
+ read(join(home, "settings.json"), "user"),
16018
+ read(join(projectConfig, "settings.json"), "project"),
16019
+ read(join(projectConfig, "settings.local.json"), "project-local")
16020
+ ];
16021
+ const seenFiles = /* @__PURE__ */ new Set();
16022
+ const hooks = [
16023
+ settings[0],
16024
+ read(join(home, "hooks", "settings.json"), "user"),
16025
+ settings[1],
16026
+ settings[2],
16027
+ read(join(projectConfig, "hooks", "settings.json"), "project")
16028
+ ].filter((source) => {
16029
+ const key = resolve(source.path);
16030
+ if (seenFiles.has(key)) return false;
16031
+ seenFiles.add(key);
16032
+ return true;
16033
+ });
16034
+ const projectMcp = [];
16035
+ let current = resolve(project);
16036
+ for (;;) {
16037
+ projectMcp.push(read(join(current, ".mcp.json"), "project"));
16038
+ const parent = dirname(current);
16039
+ if (parent === current) break;
16040
+ current = parent;
16041
+ }
16042
+ const sources = [
16043
+ projectMcp[0],
16044
+ settings[2],
16045
+ settings[1],
16046
+ read(join(projectConfig, ".mcp.json"), "project"),
16047
+ ...projectMcp.slice(1),
16048
+ read(join(userHome, ".chatcode-cli.json"), "user"),
16049
+ read(join(home, ".mcp.json"), "user"),
16050
+ settings[0]
16051
+ ];
16052
+ const names = /* @__PURE__ */ new Set();
16053
+ const mcp = [];
16054
+ for (const source of sources) for (const [name, config] of Object.entries(object(source.value.mcpServers) ?? {})) {
16055
+ if (names.has(name)) continue;
16056
+ names.add(name);
16057
+ if (object(config)?.disabled !== true) mcp.push({
16058
+ name,
16059
+ sourcePath: source.path
16060
+ });
16061
+ }
16062
+ return {
16063
+ hooks,
16064
+ mcp
16065
+ };
16066
+ }
16067
+ /** Narrow a file's hooks map without assuming external JSON is well formed. */
16068
+ function hookEvents(source) {
16069
+ return object(source.value.hooks) ?? {};
16070
+ }
16071
+ /** Runnable/configured handlers from one external event value, for display only. */
16072
+ function hookHandlers(groups) {
16073
+ if (!Array.isArray(groups)) return [];
16074
+ return groups.flatMap((value) => {
16075
+ const group = object(value);
16076
+ if (!Array.isArray(group?.hooks)) return [];
16077
+ return group.hooks.flatMap((value) => {
16078
+ const hook = object(value);
16079
+ if (!hook) return [];
16080
+ return [{
16081
+ matcher: typeof group.matcher === "string" ? group.matcher : "*",
16082
+ command: typeof hook.command === "string" ? hook.command : "(no command)"
16083
+ }];
16084
+ });
16085
+ });
16086
+ }
16087
+ //#endregion
16088
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/format.js
15963
16089
  /**
15964
16090
  * Number, token-count, and duration formatters shared by the status line
15965
16091
  * and message rows.
@@ -16022,7 +16148,7 @@ function formatDuration$4(durationMs, options = {}) {
16022
16148
  return parts.join(" ");
16023
16149
  }
16024
16150
  //#endregion
16025
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/contextUsage.js
16151
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/contextUsage.js
16026
16152
  /**
16027
16153
  * Return the current context occupancy. The latest request is authoritative:
16028
16154
  * its uncached input and cache read/write tokens are all part of that request's
@@ -16406,7 +16532,7 @@ function prepareMemoryTargetFile(requested, candidates, cwd, dshHome) {
16406
16532
  }
16407
16533
  }
16408
16534
  //#endregion
16409
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/channel.js
16535
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/channel.js
16410
16536
  /** Return the step left open by a tree fork cut within one turn. */
16411
16537
  function openStepAtForkCut(events, turn) {
16412
16538
  for (let i = events.length - 1; i >= 0; i--) {
@@ -21013,18 +21139,23 @@ function createChannel(ctx, initialAgent, options) {
21013
21139
  state.emit();
21014
21140
  },
21015
21141
  mcpStatus() {
21016
- const servers = collectMcpServerStatus(ctx.get("tools")?.schemas() ?? [], ctx.get("loader")?.entries() ?? []);
21142
+ const schemas = ctx.get("tools")?.schemas() ?? [];
21143
+ const loader = ctx.get("loader");
21144
+ const sources = readAssetConfiguration(resolveChatCodeCliHome(), state.cwd);
21145
+ const servers = collectMcpServerStatus(schemas, loader?.entries() ?? [], sources.mcp);
21017
21146
  if (servers.length === 0) return [
21018
21147
  t("mcp-none-configured"),
21019
21148
  t("mcp-insert-hint"),
21020
- " - insert:",
21021
- " - id: mcp-context7",
21022
- " name: '@deepseek-ai/dsh-mcp-client'",
21023
- " config: { transport: stdio, serverName: context7, command: npx, args: [\"-y\", \"@upstash/context7-mcp\"] }",
21149
+ " { \"mcpServers\": { \"context7\": { \"command\": \"npx\",",
21150
+ " \"args\": [\"-y\", \"@upstash/context7-mcp\"] } } }",
21024
21151
  t("mcp-readme-hint")
21025
21152
  ];
21026
21153
  const lines = [];
21027
21154
  for (const server of servers) {
21155
+ if (server.sourcePath) lines.push(t("mcp-config-source", {
21156
+ server: server.server,
21157
+ configPath: server.sourcePath
21158
+ }));
21028
21159
  if (server.state === "connected") {
21029
21160
  lines.push(t("mcp-server-tools", {
21030
21161
  server: server.server,
@@ -21033,41 +21164,34 @@ function createChannel(ctx, initialAgent, options) {
21033
21164
  }));
21034
21165
  continue;
21035
21166
  }
21036
- if (server.state === "connecting") lines.push(t("mcp-server-connecting", { server: server.server }));
21167
+ if (server.state === "configured") lines.push(t("mcp-server-configured", { server: server.server }));
21168
+ else if (server.state === "connecting") lines.push(t("mcp-server-connecting", { server: server.server }));
21037
21169
  else if (server.state === "failed") lines.push(t("mcp-server-failed", { server: server.server }));
21038
21170
  else lines.push(t("mcp-server-unavailable", { server: server.server }));
21039
21171
  }
21040
21172
  return lines;
21041
21173
  },
21042
21174
  hooksStatus() {
21043
- const settingsPath = join(resolveChatCodeCliHome(), "settings.json");
21044
- let settings = null;
21045
- try {
21046
- settings = JSON.parse(readFileSync(settingsPath, "utf8"));
21047
- } catch {
21048
- settings = null;
21049
- }
21050
- const hooks = settings?.hooks;
21051
- if (!hooks || Object.keys(hooks).length === 0) return [t("hooks-mounted-empty", { configPath: settingsPath })];
21052
- const events = Object.keys(hooks);
21053
- const lines = [t("hooks-mounted", { configPath: settingsPath })];
21054
- for (const event of events) {
21055
- const groups = hooks[event] ?? [];
21056
- let count = 0;
21057
- for (const group of groups) count += group.hooks.length;
21058
- lines.push(t("hooks-event", {
21059
- event,
21060
- count
21061
- }));
21062
- for (const group of groups) {
21063
- const matcher = group.matcher || "*";
21064
- for (const hook of group.hooks) lines.push(t("hooks-hook", {
21065
- matcher,
21066
- command: hook.command ?? "(no command)"
21175
+ const sources = readAssetConfiguration(resolveChatCodeCliHome(), state.cwd).hooks;
21176
+ const lines = [];
21177
+ for (const source of sources) {
21178
+ if (source.invalid) {
21179
+ lines.push(t("hooks-config-invalid", { configPath: source.path }));
21180
+ continue;
21181
+ }
21182
+ const events = Object.entries(hookEvents(source));
21183
+ if (events.length === 0) continue;
21184
+ lines.push(t("hooks-mounted", { configPath: source.path }));
21185
+ for (const [event, groups] of events) {
21186
+ const handlers = hookHandlers(groups);
21187
+ lines.push(t("hooks-event", {
21188
+ event,
21189
+ count: handlers.length
21067
21190
  }));
21191
+ for (const hook of handlers) lines.push(t("hooks-hook", hook));
21068
21192
  }
21069
21193
  }
21070
- return lines;
21194
+ return lines.length > 0 ? lines : [t("hooks-mounted-empty", { configPath: sources.map((source) => source.path).join(", ") })];
21071
21195
  },
21072
21196
  exportSession(format = "jsonl") {
21073
21197
  const events = snapshotLiveSessionEvents(agent.session);
@@ -21208,47 +21332,49 @@ function createChannel(ctx, initialAgent, options) {
21208
21332
  }
21209
21333
  }
21210
21334
  } catch {}
21211
- const agentsDir = join(resolveChatCodeCliHome(), "agents");
21212
- const configuredAgents = [];
21213
- try {
21214
- const entries = readdirSync(agentsDir);
21215
- for (const entry of entries) {
21216
- const fullPath = join(agentsDir, entry);
21217
- if (entry.endsWith(".md")) {
21218
- const fm = readFileSync(fullPath, "utf8").match(/^---\n([\s\S]*?)\n---/);
21219
- if (fm) {
21220
- const nameMatch = fm[1].match(/^name:\s*(.+)$/m);
21221
- const descMatch = fm[1].match(/^description:\s*(.+)$/m);
21222
- if (nameMatch) configuredAgents.push({
21223
- name: nameMatch[1].trim(),
21224
- description: descMatch ? descMatch[1].trim() : ""
21335
+ const dshHome = resolveChatCodeCliHome();
21336
+ for (const agentsDir of new Set([join(dshHome, "agents"), join(state.cwd, ".chatcode-cli", "agents")])) {
21337
+ const configuredAgents = [];
21338
+ try {
21339
+ const entries = readdirSync(agentsDir);
21340
+ for (const entry of entries) {
21341
+ const fullPath = join(agentsDir, entry);
21342
+ if (entry.endsWith(".md")) {
21343
+ const fm = readFileSync(fullPath, "utf8").match(/^---\n([\s\S]*?)\n---/);
21344
+ if (fm) {
21345
+ const nameMatch = fm[1].match(/^name:\s*(.+)$/m);
21346
+ const descMatch = fm[1].match(/^description:\s*(.+)$/m);
21347
+ if (nameMatch) configuredAgents.push({
21348
+ name: nameMatch[1].trim(),
21349
+ description: descMatch ? descMatch[1].trim() : ""
21350
+ });
21351
+ }
21352
+ } else if (entry === ".agent-config.yaml" || entry.endsWith(".agent-config.yaml")) {
21353
+ const text = readFileSync(fullPath, "utf8");
21354
+ const idMatches = text.matchAll(/^- id:\s*(.+)$/gm);
21355
+ const nameMatches = text.matchAll(/^\s+name:\s*"?(.+?)"?\s*$/gm);
21356
+ const descMatches = text.matchAll(/^\s+description:\s*"?(.+?)"?\s*$/gm);
21357
+ const ids = [...idMatches].map((m) => m[1].trim());
21358
+ const names = [...nameMatches].map((m) => m[1].trim());
21359
+ const descs = [...descMatches].map((m) => m[1].trim());
21360
+ for (let i = 0; i < ids.length; i++) configuredAgents.push({
21361
+ name: names[i] ?? ids[i],
21362
+ description: descs[i] ?? ""
21225
21363
  });
21226
21364
  }
21227
- } else if (entry === ".agent-config.yaml" || entry.endsWith(".agent-config.yaml")) {
21228
- const text = readFileSync(fullPath, "utf8");
21229
- const idMatches = text.matchAll(/^- id:\s*(.+)$/gm);
21230
- const nameMatches = text.matchAll(/^\s+name:\s*"?(.+?)"?\s*$/gm);
21231
- const descMatches = text.matchAll(/^\s+description:\s*"?(.+?)"?\s*$/gm);
21232
- const ids = [...idMatches].map((m) => m[1].trim());
21233
- const names = [...nameMatches].map((m) => m[1].trim());
21234
- const descs = [...descMatches].map((m) => m[1].trim());
21235
- for (let i = 0; i < ids.length; i++) configuredAgents.push({
21236
- name: names[i] ?? ids[i],
21237
- description: descs[i] ?? ""
21238
- });
21239
21365
  }
21240
- }
21241
- } catch {}
21242
- if (configuredAgents.length > 0) {
21243
- if (lines.length > 0) lines.push("");
21244
- lines.push(t("agents-configured-heading"));
21245
- for (const agent of configuredAgents) {
21246
- const desc = agent.description ? ` — ${agent.description}` : "";
21247
- lines.push(t("agents-preset-row", {
21248
- id: agent.name,
21249
- name: agent.name,
21250
- desc
21251
- }));
21366
+ } catch {}
21367
+ if (configuredAgents.length > 0) {
21368
+ if (lines.length > 0) lines.push("");
21369
+ lines.push(t("agents-configured-source", { configPath: agentsDir }));
21370
+ for (const agent of configuredAgents) {
21371
+ const desc = agent.description ? ` — ${agent.description}` : "";
21372
+ lines.push(t("agents-preset-row", {
21373
+ id: agent.name,
21374
+ name: agent.name,
21375
+ desc
21376
+ }));
21377
+ }
21252
21378
  }
21253
21379
  }
21254
21380
  const subagents = ctx.get("subagents");
@@ -23193,7 +23319,7 @@ async function expandMentions(fs, cwd, text, attachments, stagedImages) {
23193
23319
  };
23194
23320
  }
23195
23321
  //#endregion
23196
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/childStderr.js
23322
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/childStderr.js
23197
23323
  /**
23198
23324
  * Child-process stderr guard (issue #17).
23199
23325
  *
@@ -23362,7 +23488,7 @@ function createChildStderrReporter(notify, options = {}) {
23362
23488
  };
23363
23489
  }
23364
23490
  //#endregion
23365
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/startupTrace.js
23491
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/startupTrace.js
23366
23492
  /** Opt-in startup timings; labels never contain paths, Session identities, or credentials. */
23367
23493
  /**
23368
23494
  * Measure one initialization operation without changing its result or failure.
@@ -23381,7 +23507,7 @@ async function traceTuiStartup(phase, operation) {
23381
23507
  }
23382
23508
  }
23383
23509
  //#endregion
23384
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions.js
23510
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions.js
23385
23511
  /**
23386
23512
  * Ask-user-question store — the UI-side half of the DSH user-interaction
23387
23513
  * seam (`ctx.userQuestions`). The harness's model-facing
@@ -23621,7 +23747,7 @@ var QuestionStore = class {
23621
23747
  }
23622
23748
  };
23623
23749
  //#endregion
23624
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerGuard.js
23750
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerGuard.js
23625
23751
  /**
23626
23752
  * Question-provider seat guard (issue #98 security follow-up).
23627
23753
  *
@@ -23733,7 +23859,7 @@ function incumbentQuestionProviderId(service) {
23733
23859
  } catch {}
23734
23860
  }
23735
23861
  //#endregion
23736
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions-answerer.js
23862
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions-answerer.js
23737
23863
  /**
23738
23864
  * User-question answerer compatibility.
23739
23865
  *
@@ -23792,7 +23918,7 @@ function prepareQuestionAnswerer(ctx, service, answerer) {
23792
23918
  }
23793
23919
  }
23794
23920
  //#endregion
23795
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/approvals.js
23921
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/approvals.js
23796
23922
  /**
23797
23923
  * Approval store — the UI-side answerer half of the DSH approval seam
23798
23924
  * (`ctx.approval`). The harness's permission layer asks
@@ -24186,7 +24312,7 @@ var ApprovalStore = class {
24186
24312
  }
24187
24313
  };
24188
24314
  //#endregion
24189
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/promptDebug.js
24315
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/promptDebug.js
24190
24316
  /**
24191
24317
  * On-demand capture of every final AgentLoop request context observed for a
24192
24318
  * live session.
@@ -24332,7 +24458,7 @@ function registerPromptDebug(ctx) {
24332
24458
  }));
24333
24459
  }
24334
24460
  //#endregion
24335
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/migrationPrefs.js
24461
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/migrationPrefs.js
24336
24462
  /**
24337
24463
  * One-time local migrations (`~/.chatcode-cli/tui/migrations.json`), keyed by stable
24338
24464
  * migration id → ISO timestamp. Named keys (not a bare flag) so later
@@ -24423,7 +24549,7 @@ async function commitFullscreenFactoryMigration(plan, options) {
24423
24549
  } catch {}
24424
24550
  }
24425
24551
  //#endregion
24426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/retired-packaged-presets.js
24552
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/retired-packaged-presets.js
24427
24553
  const OWNER = "@chatcode/cco-tui";
24428
24554
  const MARKER = ".dsh-tui-managed.json";
24429
24555
  const RETIRED_PACKAGED_PRESETS = ["liangshen"];
@@ -24465,7 +24591,7 @@ function cleanupRetiredPackagedPresets(options = {}) {
24465
24591
  return results;
24466
24592
  }
24467
24593
  //#endregion
24468
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessions/view.js
24594
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/view.js
24469
24595
  /** The browser's default view: this project, conversations only. */
24470
24596
  const DEFAULT_FILTERS = {
24471
24597
  query: "",
@@ -24799,7 +24925,7 @@ function windowEnd(rows, top, budget) {
24799
24925
  return at;
24800
24926
  }
24801
24927
  //#endregion
24802
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/resume.js
24928
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/resume.js
24803
24929
  /** Resolve launch-time resume flags against persisted conversations. */
24804
24930
  /**
24805
24931
  * Select the latest conversation in the exact launch directory for bare flags.
@@ -24819,7 +24945,7 @@ async function resolveStartupSessionId(source, argv, cwd) {
24819
24945
  return latest.id;
24820
24946
  }
24821
24947
  //#endregion
24822
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/workspaceRoot.js
24948
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workspaceRoot.js
24823
24949
  /** Resolve a fresh session's working directory without widening it to a Git ancestor. */
24824
24950
  /**
24825
24951
  * Explicit configuration wins; otherwise keep the invoking directory, even
@@ -24832,7 +24958,7 @@ function resolveSessionCwd(configured, start = process.cwd()) {
24832
24958
  return resolve(start, configured ?? "");
24833
24959
  }
24834
24960
  //#endregion
24835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/openExternal.js
24961
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/openExternal.js
24836
24962
  /**
24837
24963
  * Open URLs, files and folders with the platform's default handler, fully
24838
24964
  * detached from the TUI process (fire-and-forget: no stdio pipes, no wait,
@@ -24993,7 +25119,7 @@ function revealInFileManager(filePath) {
24993
25119
  if (existsSync(dir)) openExternal(dir);
24994
25120
  }
24995
25121
  //#endregion
24996
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/chatCodeApi.js
25122
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeApi.js
24997
25123
  /** ChatCode API request capability. Credentials stay in the host adapter. */
24998
25124
  const CHATCODE_API_BASE_URL = "https://chatcode.chinaunicom.cn";
24999
25125
  /** CVP(天梯)平台基础 URL,承载 modules/notification 等公开/独立鉴权模块接口。 */
@@ -25001,7 +25127,7 @@ const CVP_CHATCODE_API_URL = `${CHATCODE_API_BASE_URL}/cvp`;
25001
25127
  /** Each mounted TUI receives its own host-authorized request function. */
25002
25128
  const ChatCodeApiContext = (0, import_react.createContext)(void 0);
25003
25129
  //#endregion
25004
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/releaseNotes.js
25130
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/releaseNotes.js
25005
25131
  const RELEASE_NOTE_PATH = join(DATA_DIR, "release-notes.json");
25006
25132
  const RELEASE_NOTE_ENDPOINT = `${CHATCODE_API_BASE_URL}/chatcode/api/v1/cli/version/release-note`;
25007
25133
  function acknowledgedVersion() {
@@ -25097,7 +25223,7 @@ var ReleaseNotesStore = class {
25097
25223
  }
25098
25224
  };
25099
25225
  //#endregion
25100
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/version.js
25226
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/version.js
25101
25227
  const MAIN_CLI_PACKAGES = new Set(["@chatcode/chatcode-cli", "@chatcode/chatcode-cli-test"]);
25102
25228
  const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u;
25103
25229
  const PRODUCT_VERSION_ENV = "CHATCODE_CLI_PRODUCT_VERSION";
@@ -25137,7 +25263,7 @@ function resolveProductVersion(options = {}) {
25137
25263
  /** Product version shown by the TUI, shared with `cco --version` and Web. */
25138
25264
  const PRODUCT_VERSION = resolveProductVersion();
25139
25265
  //#endregion
25140
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/execFileNoThrow.js
25266
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/execFileNoThrow.js
25141
25267
  const MAX_CAPTURE_BYTES = 64 * 1024;
25142
25268
  function appendBounded(chunks, chunk, total) {
25143
25269
  if (total.value >= MAX_CAPTURE_BYTES) return;
@@ -25207,7 +25333,7 @@ function execFileNoThrow(file, args = [], options) {
25207
25333
  });
25208
25334
  }
25209
25335
  //#endregion
25210
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/herdr.js
25336
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/herdr.js
25211
25337
  const REPORT_TIMEOUT_MS = 2e3;
25212
25338
  const RELEASE_TIMEOUT_MS = 500;
25213
25339
  const RETRY_DELAYS_MS = [
@@ -25595,7 +25721,7 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
25595
25721
  })();
25596
25722
  }));
25597
25723
  //#endregion
25598
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/themePrefs.js
25724
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themePrefs.js
25599
25725
  var import_jsx_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
25600
25726
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
25601
25727
  else module.exports = require_react_jsx_runtime_development();
@@ -25652,7 +25778,7 @@ function writeThemePref(name, dir = PREFS_DIR) {
25652
25778
  }
25653
25779
  }
25654
25780
  //#endregion
25655
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useRuntimeThemeSnapshot.js
25781
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRuntimeThemeSnapshot.js
25656
25782
  const EMPTY_THEME_SNAPSHOT = Object.freeze([]);
25657
25783
  const subscribeNoThemes = (_listener) => () => {};
25658
25784
  /**
@@ -25680,7 +25806,7 @@ function useRuntimeThemeSnapshot(themeHost) {
25680
25806
  return import_react.useSyncExternalStore(subscribeThemes, getThemeSnapshot, getThemeSnapshot);
25681
25807
  }
25682
25808
  //#endregion
25683
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/event.js
25809
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event.js
25684
25810
  /**
25685
25811
  * Base class for events with immediate-propagation control.
25686
25812
  *
@@ -25704,7 +25830,7 @@ var Event = class {
25704
25830
  }
25705
25831
  };
25706
25832
  //#endregion
25707
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/emitter.js
25833
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/emitter.js
25708
25834
  /**
25709
25835
  * Node-compatible event emitter that is aware of the `Event` class, so
25710
25836
  * `emit` respects `stopImmediatePropagation()` on dispatched events.
@@ -25737,7 +25863,7 @@ var EventEmitter$1 = class extends EventEmitter {
25737
25863
  }
25738
25864
  };
25739
25865
  //#endregion
25740
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/StdinContext.js
25866
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/StdinContext.js
25741
25867
  /**
25742
25868
  * `StdinContext` is a React context, which exposes input stream.
25743
25869
  */
@@ -25751,14 +25877,14 @@ const StdinContext = (0, import_react.createContext)({
25751
25877
  });
25752
25878
  StdinContext.displayName = "InternalStdinContext";
25753
25879
  //#endregion
25754
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-stdin.js
25880
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-stdin.js
25755
25881
  /**
25756
25882
  * React hook exposing the stdin stream and raw-mode helpers from `StdinContext`.
25757
25883
  * @returns the `StdinContext` value.
25758
25884
  */
25759
25885
  const useStdin = () => (0, import_react.useContext)(StdinContext);
25760
25886
  //#endregion
25761
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/ansi.js
25887
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/ansi.js
25762
25888
  /**
25763
25889
  * ANSI Control Characters and Escape Sequence Introducers
25764
25890
  *
@@ -25832,7 +25958,7 @@ function isEscFinal(byte) {
25832
25958
  return byte >= 48 && byte <= 126;
25833
25959
  }
25834
25960
  //#endregion
25835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/csi.js
25961
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/csi.js
25836
25962
  /**
25837
25963
  * CSI (Control Sequence Introducer) Types
25838
25964
  *
@@ -26155,7 +26281,7 @@ const ENABLE_WIN32_INPUT_MODE = csi("?9001h");
26155
26281
  */
26156
26282
  const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26157
26283
  //#endregion
26158
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/env.js
26284
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/env.js
26159
26285
  /**
26160
26286
  * Minimal terminal-environment shim for the ported Ink core. The original
26161
26287
  * module computed a richer `env` object from the Claude Code app context; the
@@ -26164,7 +26290,7 @@ const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26164
26290
  */
26165
26291
  const env$1 = { terminal: (process.env.TERM_PROGRAM ?? process.env.TERM ?? "unknown").toLowerCase() };
26166
26292
  //#endregion
26167
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/osc.js
26293
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/osc.js
26168
26294
  /**
26169
26295
  * OSC (Operating System Command) Types and Parser
26170
26296
  */
@@ -26560,7 +26686,7 @@ function supportsTabStatus() {
26560
26686
  return process.env.USER_TYPE === "ant";
26561
26687
  }
26562
26688
  //#endregion
26563
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-querier.js
26689
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-querier.js
26564
26690
  /**
26565
26691
  * Query the terminal and await responses without timeouts.
26566
26692
  *
@@ -26746,7 +26872,7 @@ var TerminalQuerier = class {
26746
26872
  }
26747
26873
  };
26748
26874
  //#endregion
26749
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemeProvider.js
26875
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemeProvider.js
26750
26876
  /**
26751
26877
  * Theme provider with terminal-background auto-detection. With no explicit
26752
26878
  * `theme` prop, no CHATCODE_CLI_TUI_THEME override and no persisted choice
@@ -26945,7 +27071,7 @@ function useTheme() {
26945
27071
  return [theme, setTheme];
26946
27072
  }
26947
27073
  //#endregion
26948
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsEditor.js
27074
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsEditor.js
26949
27075
  /**
26950
27076
  * React-free form model behind the `/settings` screen (issue #165), mirroring
26951
27077
  * the web front door's card-form.ts semantics: a section stages what the user
@@ -27195,7 +27321,7 @@ var SettingsForm = class {
27195
27321
  }
27196
27322
  };
27197
27323
  //#endregion
27198
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/reload.js
27324
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/reload.js
27199
27325
  /**
27200
27326
  * `/reload` planning — the pi-style soft reload: re-read the TUI's persisted
27201
27327
  * preference files (`~/.chatcode-cli/tui/{theme,lang,agent-preset,model,
@@ -28044,7 +28170,7 @@ var SignalExit = class extends SignalExitBase {
28044
28170
  const process$2 = globalThis.process;
28045
28171
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
28046
28172
  //#endregion
28047
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/enums.js
28173
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/enums.js
28048
28174
  /**
28049
28175
  * Yoga enums — ported from yoga-layout/src/generated/YGEnums.ts
28050
28176
  * Kept as `const` objects (not TS enums) per repo convention.
@@ -28176,7 +28302,7 @@ const Wrap = {
28176
28302
  WrapReverse: 2
28177
28303
  };
28178
28304
  //#endregion
28179
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/index.js
28305
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/index.js
28180
28306
  /**
28181
28307
  * Pure-TypeScript port of yoga-layout (Meta's flexbox engine).
28182
28308
  *
@@ -30627,7 +30753,7 @@ Object.defineProperties(createChalk.prototype, {
30627
30753
  const chalk = createChalk();
30628
30754
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
30629
30755
  //#endregion
30630
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/colorize.js
30756
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/colorize.js
30631
30757
  /**
30632
30758
  * xterm.js (VS Code, Cursor, code-server, Coder) has supported truecolor
30633
30759
  * since 2017, but code-server/Coder containers often don't set
@@ -30758,7 +30884,7 @@ function applyColor(text, color) {
30758
30884
  return colorize(text, color, "foreground");
30759
30885
  }
30760
30886
  //#endregion
30761
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/envUtils.js
30887
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/envUtils.js
30762
30888
  /**
30763
30889
  * Environment truthiness check for the ported Ink core. Accepts the common
30764
30890
  * shell truthy spellings (`1`, `true`, `yes`, `on`).
@@ -30776,7 +30902,7 @@ function isEnvTruthy(value) {
30776
30902
  ].includes(value.toLowerCase());
30777
30903
  }
30778
30904
  //#endregion
30779
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/fullscreen.js
30905
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fullscreen.js
30780
30906
  /**
30781
30907
  * Whether mouse click handling is disabled for the ported Ink core. dsh-tui
30782
30908
  * reads its own env flag (`CHATCODE_CLI_TUI_DISABLE_MOUSE`); the original module
@@ -30787,7 +30913,7 @@ function isMouseClicksDisabled() {
30787
30913
  return isEnvTruthy(readTuiEnv("DISABLE_MOUSE"));
30788
30914
  }
30789
30915
  //#endregion
30790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/input-suppression.js
30916
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/input-suppression.js
30791
30917
  /**
30792
30918
  * Input suppression window for terminal handoffs (issue #123): when stdin is
30793
30919
  * handed to an external TUI (full-screen editor) and back, the tty can
@@ -30814,7 +30940,7 @@ function isInputSuppressed() {
30814
30940
  return Date.now() < suppressedUntil;
30815
30941
  }
30816
30942
  //#endregion
30817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/tokenize.js
30943
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/tokenize.js
30818
30944
  /**
30819
30945
  * Input Tokenizer - Escape sequence boundary detection
30820
30946
  *
@@ -31012,7 +31138,7 @@ function tokenize$2(input, initialState, initialBuffer, flush, x10Mouse, splitIn
31012
31138
  };
31013
31139
  }
31014
31140
  //#endregion
31015
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/parse-keypress.js
31141
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/parse-keypress.js
31016
31142
  /**
31017
31143
  * Keyboard input parser - converts terminal input to key events
31018
31144
  *
@@ -32087,7 +32213,7 @@ function createWheelKey(s, name, col, row, button) {
32087
32213
  };
32088
32214
  }
32089
32215
  //#endregion
32090
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/input-event.js
32216
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/input-event.js
32091
32217
  function parseKey(keypress) {
32092
32218
  const key = {
32093
32219
  upArrow: keypress.name === "up",
@@ -32172,7 +32298,7 @@ var InputEvent = class extends Event {
32172
32298
  }
32173
32299
  };
32174
32300
  //#endregion
32175
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-focus-event.js
32301
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-focus-event.js
32176
32302
  /**
32177
32303
  * Event fired when the terminal window gains or loses focus.
32178
32304
  *
@@ -32191,7 +32317,7 @@ var TerminalFocusEvent = class extends Event {
32191
32317
  }
32192
32318
  };
32193
32319
  //#endregion
32194
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/node-cache.js
32320
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/node-cache.js
32195
32321
  /** Layout bounds cached per rendered node, used for blitting and clearing. */
32196
32322
  const nodeCache = /* @__PURE__ */ new WeakMap();
32197
32323
  /** Rects of removed children that need clearing on next render */
@@ -32229,7 +32355,7 @@ function consumeAbsoluteRemovedFlag() {
32229
32355
  return had;
32230
32356
  }
32231
32357
  //#endregion
32232
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-event.js
32358
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-event.js
32233
32359
  /**
32234
32360
  * Base class for all terminal events with DOM-style propagation.
32235
32361
  *
@@ -32358,7 +32484,7 @@ var TerminalEvent = class extends Event {
32358
32484
  _prepareForTarget(_target) {}
32359
32485
  };
32360
32486
  //#endregion
32361
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/pointer-event.js
32487
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/pointer-event.js
32362
32488
  /**
32363
32489
  * Base class for pointer-derived terminal events (click, wheel, hover).
32364
32490
  *
@@ -32419,7 +32545,7 @@ var PointerEvent = class extends TerminalEvent {
32419
32545
  }
32420
32546
  };
32421
32547
  //#endregion
32422
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/drag-event.js
32548
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/drag-event.js
32423
32549
  /**
32424
32550
  * Component-level drag event (DOM HTML5 drag semantics subset).
32425
32551
  *
@@ -48527,7 +48653,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
48527
48653
  }, module.exports.default = module.exports, Object.defineProperty(module.exports, "__esModule", { value: !0 }));
48528
48654
  }));
48529
48655
  //#endregion
48530
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/layout/node.js
48656
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/node.js
48531
48657
  var import_react_reconciler = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
48532
48658
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
48533
48659
  else module.exports = require_react_reconciler_development();
@@ -48603,7 +48729,7 @@ const LayoutMeasureMode = {
48603
48729
  AtMost: "at-most"
48604
48730
  };
48605
48731
  //#endregion
48606
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/layout/yoga.js
48732
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/yoga.js
48607
48733
  const EDGE_MAP = {
48608
48734
  all: Edge.All,
48609
48735
  horizontal: Edge.Horizontal,
@@ -48830,7 +48956,7 @@ function createYogaLayoutNode() {
48830
48956
  return new YogaLayoutNode(YOGA_INSTANCE.Node.create());
48831
48957
  }
48832
48958
  //#endregion
48833
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/layout/engine.js
48959
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/engine.js
48834
48960
  /**
48835
48961
  * Create a new layout node backed by the Yoga adapter.
48836
48962
  * @returns an empty layout node with no children, styles, or measure function.
@@ -48839,7 +48965,7 @@ function createLayoutNode() {
48839
48965
  return createYogaLayoutNode();
48840
48966
  }
48841
48967
  //#endregion
48842
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/line-width-cache.js
48968
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/line-width-cache.js
48843
48969
  const cache = /* @__PURE__ */ new Map();
48844
48970
  const MAX_CACHE_SIZE = 4096;
48845
48971
  const MAX_CACHE_CHARS = 1e5;
@@ -48875,7 +49001,7 @@ function lineWidth(line) {
48875
49001
  return width;
48876
49002
  }
48877
49003
  //#endregion
48878
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/measure-text.js
49004
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-text.js
48879
49005
  /**
48880
49006
  * Measure wrapped text dimensions in a single pass.
48881
49007
  * @param text - the text to measure.
@@ -48906,7 +49032,7 @@ function measureText(text, maxWidth) {
48906
49032
  };
48907
49033
  }
48908
49034
  //#endregion
48909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/squash-text-nodes.js
49035
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/squash-text-nodes.js
48910
49036
  /**
48911
49037
  * Squash text nodes into styled segments, propagating styles down through the tree.
48912
49038
  * This allows structured styling without relying on ANSI string transforms.
@@ -48954,7 +49080,7 @@ function squashTextNodes(node) {
48954
49080
  return text;
48955
49081
  }
48956
49082
  //#endregion
48957
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/tabstops.js
49083
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/tabstops.js
48958
49084
  const DEFAULT_TAB_INTERVAL = 8;
48959
49085
  /**
48960
49086
  * Expand tab characters to spaces at fixed column intervals, preserving
@@ -49404,7 +49530,7 @@ function tokenize$1(str, endChar = Number.POSITIVE_INFINITY) {
49404
49530
  return ret;
49405
49531
  }
49406
49532
  //#endregion
49407
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/sliceAnsi.js
49533
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sliceAnsi.js
49408
49534
  function isEndCode(code) {
49409
49535
  return code.code === code.endCode;
49410
49536
  }
@@ -50021,7 +50147,7 @@ function wrapAnsi$1(string, columns, options) {
50021
50147
  return normalizeText(String(string)).replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs$1(line), columns, options)).join("\n");
50022
50148
  }
50023
50149
  //#endregion
50024
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/wrapAnsi.js
50150
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrapAnsi.js
50025
50151
  const wrapAnsiBun = typeof Bun !== "undefined" && typeof Bun.wrapAnsi === "function" ? Bun.wrapAnsi : null;
50026
50152
  const SLOT_MIN_LENGTH = 2048;
50027
50153
  let slot = null;
@@ -50068,7 +50194,7 @@ function wrapAnsiNpmIncremental(input, columns, options) {
50068
50194
  */
50069
50195
  const wrapAnsi = wrapAnsiBun ?? wrapAnsiNpmIncremental;
50070
50196
  //#endregion
50071
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/wrap-text.js
50197
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrap-text.js
50072
50198
  const ELLIPSIS = "…";
50073
50199
  const WRAP_CACHE_MAX_ENTRIES = 2048;
50074
50200
  const WRAP_CACHE_MAX_CHARS = 2e6;
@@ -50132,7 +50258,7 @@ function wrapText$1(text, maxWidth, wrapType) {
50132
50258
  return text;
50133
50259
  }
50134
50260
  //#endregion
50135
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/dom.js
50261
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/dom.js
50136
50262
  /**
50137
50263
  * Create an element node of the given kind, allocating its yoga layout node
50138
50264
  * unless the kind renders without layout (`ink-virtual-text`, `ink-link`,
@@ -50452,7 +50578,7 @@ function findOwnerChainAtRow(root, y) {
50452
50578
  }
50453
50579
  }
50454
50580
  //#endregion
50455
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/event-handlers.js
50581
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event-handlers.js
50456
50582
  /**
50457
50583
  * Reverse lookup: event type string → handler prop names.
50458
50584
  * Used by the dispatcher for O(1) handler lookup per node.
@@ -50506,7 +50632,7 @@ const EVENT_HANDLER_PROPS = new Set([
50506
50632
  "onWheel"
50507
50633
  ]);
50508
50634
  //#endregion
50509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/dispatcher.js
50635
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/dispatcher.js
50510
50636
  function getHandler(node, eventType, capture) {
50511
50637
  const handlers = node._eventHandlers;
50512
50638
  if (!handlers) return void 0;
@@ -50674,7 +50800,7 @@ var Dispatcher = class {
50674
50800
  }
50675
50801
  };
50676
50802
  //#endregion
50677
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/focus-event.js
50803
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/focus-event.js
50678
50804
  /**
50679
50805
  * Focus event for component focus changes.
50680
50806
  *
@@ -50699,7 +50825,7 @@ var FocusEvent = class extends TerminalEvent {
50699
50825
  }
50700
50826
  };
50701
50827
  //#endregion
50702
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/focus.js
50828
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/focus.js
50703
50829
  const MAX_FOCUS_STACK = 32;
50704
50830
  /**
50705
50831
  * DOM-like focus manager for the Ink terminal UI.
@@ -50855,7 +50981,7 @@ function getFocusManager(node) {
50855
50981
  return getRootNode(node).focusManager;
50856
50982
  }
50857
50983
  //#endregion
50858
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/styles.js
50984
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/styles.js
50859
50985
  const applyPositionStyles = (node, style) => {
50860
50986
  if ("position" in style) node.setPositionType(style.position === "absolute" ? LayoutPositionType.Absolute : LayoutPositionType.Relative);
50861
50987
  if ("top" in style) applyPositionEdge(node, "top", style.top);
@@ -50990,7 +51116,7 @@ const styles = (node, style = {}, resolvedStyle) => {
50990
51116
  applyGapStyles(node, style);
50991
51117
  };
50992
51118
  //#endregion
50993
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/reconciler.js
51119
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/reconciler.js
50994
51120
  if (process.env.NODE_ENV === "development") try {
50995
51121
  import("./devtools-la_KkjCS.js");
50996
51122
  } catch (error) {
@@ -51310,7 +51436,7 @@ const reconciler = (0, import_react_reconciler.default)({
51310
51436
  });
51311
51437
  dispatcher.discreteUpdates = reconciler.discreteUpdates.bind(reconciler);
51312
51438
  //#endregion
51313
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/layout/geometry.js
51439
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/geometry.js
51314
51440
  /**
51315
51441
  * Compute the smallest rectangle containing both input rectangles.
51316
51442
  * @param a - the first rectangle.
@@ -51342,7 +51468,7 @@ function clamp(value, min, max) {
51342
51468
  return value;
51343
51469
  }
51344
51470
  //#endregion
51345
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/warn.js
51471
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/warn.js
51346
51472
  /**
51347
51473
  * Log a warning when a value is present but not an integer.
51348
51474
  * @param value - the value to check; undefined is skipped silently.
@@ -51354,7 +51480,7 @@ function ifNotInteger(value, name) {
51354
51480
  logForDebugging(`${name} should be an integer, got ${value}`, { level: "warn" });
51355
51481
  }
51356
51482
  //#endregion
51357
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/screen.js
51483
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/screen.js
51358
51484
  /**
51359
51485
  * Pool of character strings shared across all screens.
51360
51486
  * With a shared pool, interned char IDs are valid across screens, so
@@ -52423,7 +52549,7 @@ function markNoSelectRegion(screen, x, y, width, height) {
52423
52549
  }
52424
52550
  }
52425
52551
  //#endregion
52426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/selection.js
52552
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/selection.js
52427
52553
  /**
52428
52554
  * Text selection state for fullscreen mode.
52429
52555
  *
@@ -53389,7 +53515,7 @@ function applySelectionOverlay(screen, selection, stylePool) {
53389
53515
  }
53390
53516
  }
53391
53517
  //#endregion
53392
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/dec.js
53518
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/dec.js
53393
53519
  /**
53394
53520
  * DEC (Digital Equipment Corporation) Private Mode Sequences
53395
53521
  *
@@ -53455,7 +53581,7 @@ const ENABLE_MOUSE_TRACKING = decset(DEC.MOUSE_NORMAL) + decset(DEC.MOUSE_BUTTON
53455
53581
  /** Disable all mouse tracking modes enabled by ENABLE_MOUSE_TRACKING. */
53456
53582
  const DISABLE_MOUSE_TRACKING = decreset(DEC.MOUSE_SGR) + decreset(DEC.MOUSE_ANY) + decreset(DEC.MOUSE_BUTTON) + decreset(DEC.MOUSE_NORMAL);
53457
53583
  //#endregion
53458
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/terminal.js
53584
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal.js
53459
53585
  /**
53460
53586
  * True when running inside a JetBrains IDE terminal (JediTerm). The IDE
53461
53587
  * injects `TERMINAL_EMULATOR=JetBrains-JediTerm` into the pty environment of
@@ -53697,7 +53823,7 @@ function writeDiffToTerminal(terminal, diff, skipSyncMarkers = false) {
53697
53823
  terminal.stdout.write(buffer);
53698
53824
  }
53699
53825
  //#endregion
53700
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-focus-state.js
53826
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-focus-state.js
53701
53827
  let focusState = "unknown";
53702
53828
  const resolvers = /* @__PURE__ */ new Set();
53703
53829
  const subscribers = /* @__PURE__ */ new Set();
@@ -53741,7 +53867,7 @@ function subscribeTerminalFocus(cb) {
53741
53867
  };
53742
53868
  }
53743
53869
  //#endregion
53744
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/AppContext.js
53870
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AppContext.js
53745
53871
  /**
53746
53872
  * `AppContext` is a React context, which exposes a method to manually exit the app (unmount).
53747
53873
  */
@@ -53786,13 +53912,13 @@ var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJSMin((
53786
53912
  })();
53787
53913
  }));
53788
53914
  //#endregion
53789
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/constants.js
53915
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/constants.js
53790
53916
  var import_compiler_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
53791
53917
  if (process.env.NODE_ENV === "production") module.exports = require_react_compiler_runtime_production();
53792
53918
  else module.exports = require_react_compiler_runtime_development();
53793
53919
  })))();
53794
53920
  //#endregion
53795
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/geometry-trace.js
53921
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/geometry-trace.js
53796
53922
  /**
53797
53923
  * Geometry forensics — per-frame scroll-geometry trace (issues #421/#433).
53798
53924
  *
@@ -53872,7 +53998,7 @@ function endGeometryFrame(durationMs) {
53872
53998
  };
53873
53999
  }
53874
54000
  //#endregion
53875
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalFocusContext.js
54001
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalFocusContext.js
53876
54002
  const TerminalFocusContext = (0, import_react.createContext)({
53877
54003
  isTerminalFocused: true,
53878
54004
  terminalFocusState: "unknown"
@@ -53907,7 +54033,7 @@ function TerminalFocusProvider(t0) {
53907
54033
  return t2;
53908
54034
  }
53909
54035
  //#endregion
53910
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-focus.js
54036
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-focus.js
53911
54037
  /**
53912
54038
  * Hook to check if the terminal has focus.
53913
54039
  *
@@ -53922,7 +54048,7 @@ function useTerminalFocus() {
53922
54048
  return isTerminalFocused;
53923
54049
  }
53924
54050
  //#endregion
53925
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/ClockContext.js
54051
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ClockContext.js
53926
54052
  function createClock(tickIntervalMs) {
53927
54053
  const subscribers = /* @__PURE__ */ new Map();
53928
54054
  let interval = null;
@@ -54019,7 +54145,7 @@ function _temp() {
54019
54145
  return createClock(16);
54020
54146
  }
54021
54147
  //#endregion
54022
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/CursorDeclarationContext.js
54148
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/CursorDeclarationContext.js
54023
54149
  /**
54024
54150
  * React context that provides the cursor-declaration setter to descendants.
54025
54151
  */
@@ -54059,7 +54185,7 @@ var require_escape_string_regexp = /* @__PURE__ */ __commonJSMin(((exports, modu
54059
54185
  };
54060
54186
  }));
54061
54187
  //#endregion
54062
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/Box.js
54188
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Box.js
54063
54189
  var import_stack_utils = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
54064
54190
  const escapeStringRegexp = require_escape_string_regexp();
54065
54191
  const cwd = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
@@ -54427,7 +54553,7 @@ function Box(t0) {
54427
54553
  return t4;
54428
54554
  }
54429
54555
  //#endregion
54430
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/Text.js
54556
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Text.js
54431
54557
  const memoizedStylesForWrap = {
54432
54558
  wrap: {
54433
54559
  flexGrow: 0,
@@ -54579,7 +54705,7 @@ function Text(t0) {
54579
54705
  return t16;
54580
54706
  }
54581
54707
  //#endregion
54582
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/ErrorOverview.js
54708
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ErrorOverview.js
54583
54709
  const cleanupPath = (path) => {
54584
54710
  return path?.replace(`file://${process.cwd()}/`, "");
54585
54711
  };
@@ -54684,10 +54810,10 @@ function ErrorOverview({ error }) {
54684
54810
  });
54685
54811
  }
54686
54812
  //#endregion
54687
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalSizeContext.js
54813
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalSizeContext.js
54688
54814
  const TerminalSizeContext = (0, import_react.createContext)(null);
54689
54815
  //#endregion
54690
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/useTerminalNotification.js
54816
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/useTerminalNotification.js
54691
54817
  /**
54692
54818
  * React context providing a raw terminal write function. Null until a
54693
54819
  * TerminalWriteProvider is mounted.
@@ -54698,7 +54824,7 @@ const TerminalWriteContext = (0, import_react.createContext)(null);
54698
54824
  */
54699
54825
  const TerminalWriteProvider = TerminalWriteContext.Provider;
54700
54826
  //#endregion
54701
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/App.js
54827
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/App.js
54702
54828
  const SUPPORTS_SUSPEND = process.platform !== "win32";
54703
54829
  const STDIN_RESUME_GAP_MS = 5e3;
54704
54830
  const MULTI_CLICK_TIMEOUT_MS = 500;
@@ -55224,7 +55350,7 @@ function handleMouseEvent(app, m) {
55224
55350
  }
55225
55351
  }
55226
55352
  //#endregion
55227
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/keyboard-event.js
55353
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/keyboard-event.js
55228
55354
  /**
55229
55355
  * Keyboard event dispatched through the DOM tree via capture/bubble.
55230
55356
  *
@@ -55284,7 +55410,7 @@ function keyFromParsed(parsed) {
55284
55410
  return name || seq;
55285
55411
  }
55286
55412
  //#endregion
55287
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/frame.js
55413
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/frame.js
55288
55414
  /**
55289
55415
  * Create an empty frame with a zero-size screen, the given viewport, and a
55290
55416
  * visible cursor at the origin.
@@ -55310,7 +55436,7 @@ function emptyFrame(rows, columns, stylePool, charPool, hyperlinkPool) {
55310
55436
  };
55311
55437
  }
55312
55438
  //#endregion
55313
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/click-event.js
55439
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/click-event.js
55314
55440
  /**
55315
55441
  * Mouse click event. Fired on left-button release without drag, only when
55316
55442
  * mouse tracking is enabled (i.e. inside <AlternateScreen>).
@@ -55341,7 +55467,7 @@ var ClickEvent = class extends PointerEvent {
55341
55467
  }
55342
55468
  };
55343
55469
  //#endregion
55344
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/context-menu-event.js
55470
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/context-menu-event.js
55345
55471
  /**
55346
55472
  * Mouse context-menu event. Fired on right-button press (SGR button 2,
55347
55473
  * low bits of the raw button byte), mirroring the DOM `contextmenu` event
@@ -55365,7 +55491,7 @@ var ContextMenuEvent = class extends PointerEvent {
55365
55491
  }
55366
55492
  };
55367
55493
  //#endregion
55368
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/events/wheel-event.js
55494
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/wheel-event.js
55369
55495
  /**
55370
55496
  * Mouse wheel event dispatched to the ScrollBox under the pointer.
55371
55497
  *
@@ -55401,7 +55527,7 @@ function indentString(string, count = 1, options = {}) {
55401
55527
  return string.replace(regex, indent.repeat(count));
55402
55528
  }
55403
55529
  //#endregion
55404
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/get-max-width.js
55530
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/get-max-width.js
55405
55531
  /**
55406
55532
  * Returns the yoga node's content width (computed width minus padding and
55407
55533
  * border).
@@ -55506,7 +55632,7 @@ var cli_boxes_default = {
55506
55632
  }
55507
55633
  };
55508
55634
  //#endregion
55509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/render-border.js
55635
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-border.js
55510
55636
  /** Built-in border styles beyond those provided by cli-boxes. */
55511
55637
  const CUSTOM_BORDER_STYLES = { dashed: {
55512
55638
  top: "╌",
@@ -55596,7 +55722,7 @@ const renderBorder = (x, y, node, output) => {
55596
55722
  }
55597
55723
  };
55598
55724
  //#endregion
55599
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/widest-line.js
55725
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/widest-line.js
55600
55726
  /**
55601
55727
  * Get the display width of the widest line in a string.
55602
55728
  * @param string - the text to measure, possibly containing newlines.
@@ -55615,7 +55741,7 @@ function widestLine(string) {
55615
55741
  return maxWidth;
55616
55742
  }
55617
55743
  //#endregion
55618
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/render-node-to-output.js
55744
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-node-to-output.js
55619
55745
  function isXtermJsHost() {
55620
55746
  return process.env.TERM_PROGRAM === "vscode" || isXtermJs();
55621
55747
  }
@@ -56431,7 +56557,7 @@ function dropSubtreeCache(node) {
56431
56557
  for (const child of node.childNodes) if (child.nodeName !== "#text") dropSubtreeCache(child);
56432
56558
  }
56433
56559
  //#endregion
56434
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hit-test.js
56560
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hit-test.js
56435
56561
  /**
56436
56562
  * Find the deepest DOM element whose rendered rect contains (col, row).
56437
56563
  *
@@ -56821,7 +56947,7 @@ function dispatchHover(root, col, row, hovered) {
56821
56947
  }
56822
56948
  }
56823
56949
  //#endregion
56824
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/flush-tick.js
56950
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/flush-tick.js
56825
56951
  /**
56826
56952
  * Monotonic terminal-flush counter for the ported Ink core.
56827
56953
  *
@@ -56854,7 +56980,7 @@ function getTerminalFlushTick() {
56854
56980
  return flushTick;
56855
56981
  }
56856
56982
  //#endregion
56857
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/instances.js
56983
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/instances.js
56858
56984
  /**
56859
56985
  * Live Ink instances keyed by their output stream, so consecutive render()
56860
56986
  * calls reuse the instance for a stream instead of creating a new one.
@@ -56863,7 +56989,7 @@ function getTerminalFlushTick() {
56863
56989
  */
56864
56990
  const instances = /* @__PURE__ */ new Map();
56865
56991
  //#endregion
56866
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/log-update.js
56992
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/log-update.js
56867
56993
  const CARRIAGE_RETURN = { type: "carriageReturn" };
56868
56994
  const NEWLINE = {
56869
56995
  type: "stdout",
@@ -57500,7 +57626,7 @@ var VirtualScreen = class {
57500
57626
  }
57501
57627
  };
57502
57628
  //#endregion
57503
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/optimizer.js
57629
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/optimizer.js
57504
57630
  /**
57505
57631
  * Optimize a diff by applying all optimization rules in a single pass.
57506
57632
  * This reduces the number of patches that need to be written to the terminal.
@@ -57565,7 +57691,7 @@ function optimize(diff) {
57565
57691
  return result;
57566
57692
  }
57567
57693
  //#endregion
57568
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/bidi.js
57694
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/bidi.js
57569
57695
  var import_bidi = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
57570
57696
  (function(global, factory) {
57571
57697
  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());
@@ -58341,7 +58467,7 @@ function hasRTLCharacters(text) {
58341
58467
  return /[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(text);
58342
58468
  }
58343
58469
  //#endregion
58344
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/output.js
58470
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/output.js
58345
58471
  /**
58346
58472
  * charCache bounds. The entry-count cap alone was not enough: a streaming
58347
58473
  * line produces a NEW cache key on every frame, and each entry's cost is
@@ -59011,7 +59137,7 @@ function writeLineToScreen(screen, line, x, y, screenWidth, stylePool, charCache
59011
59137
  return offsetX;
59012
59138
  }
59013
59139
  //#endregion
59014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/render-to-screen.js
59140
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-to-screen.js
59015
59141
  const timing = {
59016
59142
  reconcile: 0,
59017
59143
  yoga: 0,
@@ -59105,7 +59231,7 @@ function applyPositionedHighlight(screen, stylePool, positions, rowOffset, curre
59105
59231
  return true;
59106
59232
  }
59107
59233
  //#endregion
59108
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/renderer.js
59234
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/renderer.js
59109
59235
  /**
59110
59236
  * Create the renderer function for a root DOM node. The returned renderer
59111
59237
  * reuses an Output across frames so its character cache persists.
@@ -59180,7 +59306,7 @@ function createRenderer(node, stylePool) {
59180
59306
  };
59181
59307
  }
59182
59308
  //#endregion
59183
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/searchHighlight.js
59309
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/searchHighlight.js
59184
59310
  /**
59185
59311
  * Highlight all visible occurrences of `query` in the screen buffer by
59186
59312
  * inverting cell styles (SGR 7). Post-render, same damage-tracking machinery
@@ -59242,7 +59368,7 @@ function applySearchHighlight(screen, query, stylePool) {
59242
59368
  return applied;
59243
59369
  }
59244
59370
  //#endregion
59245
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/ink.js
59371
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/ink.js
59246
59372
  const ALT_SCREEN_ANCHOR_CURSOR = Object.freeze({
59247
59373
  x: 0,
59248
59374
  y: 0,
@@ -60795,7 +60921,7 @@ const CONSOLE_STDERR_METHODS = [
60795
60921
  "trace"
60796
60922
  ];
60797
60923
  //#endregion
60798
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/root.js
60924
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/root.js
60799
60925
  /**
60800
60926
  * Mount a component and render the output.
60801
60927
  * @param node - the React element to render.
@@ -60878,7 +61004,7 @@ const getInstance = (stdout, createInstance) => {
60878
61004
  return instance;
60879
61005
  };
60880
61006
  //#endregion
60881
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedBox.js
61007
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedBox.js
60882
61008
  /** Resolves a color value that may be a theme key to a raw Color. */
60883
61009
  function resolveColor$1(color, theme) {
60884
61010
  if (!color) return void 0;
@@ -60903,7 +61029,7 @@ function ThemedBox({ borderColor, borderTopColor, borderBottomColor, borderLeftC
60903
61029
  });
60904
61030
  }
60905
61031
  //#endregion
60906
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedText.js
61032
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedText.js
60907
61033
  /**
60908
61034
  * Colors uncolored ThemedText in the subtree. Precedence: explicit `color` >
60909
61035
  * this > dimColor (in the Claude Code visual language, where message rows
@@ -60939,7 +61065,7 @@ function ThemedText({ color, backgroundColor, dimColor = false, bold = false, it
60939
61065
  });
60940
61066
  }
60941
61067
  //#endregion
60942
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/Spacer.js
61068
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Spacer.js
60943
61069
  /**
60944
61070
  * A flexible space that expands along the major axis of its containing layout.
60945
61071
  * It's useful as a shortcut for filling all the available spaces between elements.
@@ -60954,7 +61080,7 @@ function Spacer() {
60954
61080
  return t0;
60955
61081
  }
60956
61082
  //#endregion
60957
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/Newline.js
61083
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Newline.js
60958
61084
  /**
60959
61085
  * Adds one or more newline (\n) characters. Must be used within <Text> components.
60960
61086
  */
@@ -60977,7 +61103,7 @@ function Newline(t0) {
60977
61103
  return t3;
60978
61104
  }
60979
61105
  //#endregion
60980
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/NoSelect.js
61106
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/NoSelect.js
60981
61107
  /**
60982
61108
  * Marks its contents as non-selectable in fullscreen text selection.
60983
61109
  * Cells inside this box are skipped by both the selection highlight and
@@ -61028,7 +61154,7 @@ function NoSelect(t0) {
61028
61154
  return t2;
61029
61155
  }
61030
61156
  //#endregion
61031
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/AlternateScreen.js
61157
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AlternateScreen.js
61032
61158
  /**
61033
61159
  * Run children in the terminal's alternate screen buffer, constrained to
61034
61160
  * the viewport height. While mounted:
@@ -61103,7 +61229,7 @@ function AlternateScreen(t0) {
61103
61229
  return t5;
61104
61230
  }
61105
61231
  //#endregion
61106
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/ScrollBox.js
61232
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ScrollBox.js
61107
61233
  /**
61108
61234
  * A Box with `overflow: scroll` and an imperative scroll API.
61109
61235
  *
@@ -61281,7 +61407,7 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
61281
61407
  });
61282
61408
  }
61283
61409
  //#endregion
61284
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-input.js
61410
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-input.js
61285
61411
  /**
61286
61412
  * Keep an event listener stable while always dispatching to the latest render's
61287
61413
  * callback. Keeping this hook local is important for packaged installs: a
@@ -61347,7 +61473,7 @@ const useInput = (inputHandler, options = {}) => {
61347
61473
  }, [internal_eventEmitter, handleData]);
61348
61474
  };
61349
61475
  //#endregion
61350
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-selection.js
61476
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-selection.js
61351
61477
  /**
61352
61478
  * Access to text selection operations on the Ink instance (fullscreen only).
61353
61479
  * Returns no-op functions when fullscreen mode is disabled.
@@ -61387,7 +61513,7 @@ function useSelection() {
61387
61513
  }, [ink]);
61388
61514
  }
61389
61515
  //#endregion
61390
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-copy-on-select.js
61516
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-copy-on-select.js
61391
61517
  /**
61392
61518
  * Copy-on-select: when a drag finishes (or a double/triple click, or a
61393
61519
  * shift+arrow extension, lands a selection), copy the selected text to the
@@ -61427,14 +61553,14 @@ function useCopyOnSelect(onCopied) {
61427
61553
  ]);
61428
61554
  }
61429
61555
  //#endregion
61430
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-app.js
61556
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-app.js
61431
61557
  /**
61432
61558
  * React hook exposing the manual app-exit function from `AppContext`.
61433
61559
  * @returns the `AppContext` value, whose `exit` function unmounts the app.
61434
61560
  */
61435
61561
  const useApp = () => (0, import_react.useContext)(AppContext);
61436
61562
  //#endregion
61437
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-viewport.js
61563
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-viewport.js
61438
61564
  /**
61439
61565
  * Hook to detect if a component is within the terminal viewport.
61440
61566
  *
@@ -61488,7 +61614,7 @@ function useTerminalViewport() {
61488
61614
  return [setElement, entryRef.current];
61489
61615
  }
61490
61616
  //#endregion
61491
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-animation-frame.js
61617
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-animation-frame.js
61492
61618
  /**
61493
61619
  * Hook for synchronized animations that pause when offscreen.
61494
61620
  *
@@ -61537,7 +61663,7 @@ function useAnimationFrame(intervalMs = 16) {
61537
61663
  return [viewportRef, time];
61538
61664
  }
61539
61665
  //#endregion
61540
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-size.js
61666
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-size.js
61541
61667
  /** Terminal dimensions from the Ink app shell (from Claude Code).
61542
61668
  * @returns the current terminal dimensions.
61543
61669
  */
@@ -61547,7 +61673,7 @@ function useTerminalSize() {
61547
61673
  return size;
61548
61674
  }
61549
61675
  //#endregion
61550
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useBlink.js
61676
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useBlink.js
61551
61677
  const BLINK_INTERVAL_MS = 600;
61552
61678
  /**
61553
61679
  * Hook for synchronized blinking animations that pause when offscreen
@@ -61564,7 +61690,7 @@ function useBlink(enabled, intervalMs = BLINK_INTERVAL_MS) {
61564
61690
  return [ref, Math.floor(time / intervalMs) % 2 === 0];
61565
61691
  }
61566
61692
  //#endregion
61567
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/supports-hyperlinks.js
61693
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/supports-hyperlinks.js
61568
61694
  var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
61569
61695
  const supportsColor = require_supports_color();
61570
61696
  const hasFlag = require_has_flag();
@@ -61661,7 +61787,7 @@ function supportsHyperlinks(options) {
61661
61787
  return false;
61662
61788
  }
61663
61789
  //#endregion
61664
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/components/Link.js
61790
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Link.js
61665
61791
  function Link(t0) {
61666
61792
  const $ = (0, import_compiler_runtime.c)(5);
61667
61793
  const { children, url, fallback } = t0;
@@ -61689,7 +61815,7 @@ function Link(t0) {
61689
61815
  return t2;
61690
61816
  }
61691
61817
  //#endregion
61692
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/esc.js
61818
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/esc.js
61693
61819
  /**
61694
61820
  * ESC Sequence Parser
61695
61821
  *
@@ -61745,7 +61871,7 @@ function parseEsc(chars) {
61745
61871
  };
61746
61872
  }
61747
61873
  //#endregion
61748
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/types.js
61874
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/types.js
61749
61875
  /**
61750
61876
  * ANSI Parser - Semantic Types
61751
61877
  *
@@ -61773,7 +61899,7 @@ function defaultStyle() {
61773
61899
  };
61774
61900
  }
61775
61901
  //#endregion
61776
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/sgr.js
61902
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/sgr.js
61777
61903
  /**
61778
61904
  * SGR (Select Graphic Rendition) Parser
61779
61905
  *
@@ -62081,7 +62207,7 @@ function applySGR(paramStr, style) {
62081
62207
  return s;
62082
62208
  }
62083
62209
  //#endregion
62084
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/termio/parser.js
62210
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/parser.js
62085
62211
  /**
62086
62212
  * ANSI Parser - Semantic Action Generator
62087
62213
  *
@@ -62458,7 +62584,7 @@ var Parser = class {
62458
62584
  }
62459
62585
  };
62460
62586
  //#endregion
62461
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/Ansi.js
62587
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/Ansi.js
62462
62588
  /**
62463
62589
  * Component that parses ANSI escape codes and renders them using Text components.
62464
62590
  *
@@ -62709,7 +62835,7 @@ function StyledText(t0) {
62709
62835
  return t1;
62710
62836
  }
62711
62837
  //#endregion
62712
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ui.js
62838
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ui.js
62713
62839
  var ui_exports = /* @__PURE__ */ __exportAll({
62714
62840
  AlternateScreen: () => AlternateScreen,
62715
62841
  Ansi: () => Ansi,
@@ -62733,7 +62859,7 @@ var ui_exports = /* @__PURE__ */ __exportAll({
62733
62859
  useTheme: () => useTheme
62734
62860
  });
62735
62861
  //#endregion
62736
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PageMargin.js
62862
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PageMargin.js
62737
62863
  /** 嵌套安全的 inset(若未来出现嵌套 PageMargin 会累加)。 */
62738
62864
  const PageInsetContext = import_react.createContext({
62739
62865
  x: 0,
@@ -62787,7 +62913,7 @@ function PageMargin({ children }) {
62787
62913
  });
62788
62914
  }
62789
62915
  //#endregion
62790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/figures.js
62916
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/figures.js
62791
62917
  /**
62792
62918
  * UI glyph constants used across the TUI: prompt markers, status badges,
62793
62919
  * direction arrows, media controls, reasoning-effort indicators, and
@@ -62814,7 +62940,7 @@ const THINKING_SPINNER_FRAMES = [
62814
62940
  "⠏"
62815
62941
  ];
62816
62942
  //#endregion
62817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerWizard.js
62943
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerWizard.js
62818
62944
  /**
62819
62945
  * `/provider` wizard — interactively adds, edits, or deletes an LLM
62820
62946
  * provider route at runtime.
@@ -63540,7 +63666,7 @@ function buildProfile(input) {
63540
63666
  return profile;
63541
63667
  }
63542
63668
  //#endregion
63543
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/modelConfigWizard.js
63669
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/modelConfigWizard.js
63544
63670
  /** `/model-config`: platform catalogs and shared provider configuration. */
63545
63671
  const CUSTOM_MODEL_PROTOCOLS = [
63546
63672
  "openai-completions",
@@ -64422,7 +64548,7 @@ function parseCapacity(value) {
64422
64548
  return Number.isSafeInteger(parsed) && parsed > 0 ? parsed : void 0;
64423
64549
  }
64424
64550
  //#endregion
64425
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-declared-cursor.js
64551
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-declared-cursor.js
64426
64552
  /**
64427
64553
  * Declares where the terminal cursor should be parked after each frame.
64428
64554
  *
@@ -64471,7 +64597,7 @@ function useDeclaredCursor(options) {
64471
64597
  return setNode;
64472
64598
  }
64473
64599
  //#endregion
64474
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/measure-element.js
64600
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-element.js
64475
64601
  /**
64476
64602
  * Measure the rendered dimensions of a Box element.
64477
64603
  * @param node - the DOM element to measure.
@@ -64482,7 +64608,7 @@ const measureElement = (node) => ({
64482
64608
  height: node.yogaNode?.getComputedHeight() ?? 0
64483
64609
  });
64484
64610
  //#endregion
64485
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Divider.js
64611
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Divider.js
64486
64612
  const MAX_APPLIED_MEASUREMENTS = 8;
64487
64613
  /**
64488
64614
  * A horizontal divider line, optionally with a title in the middle
@@ -66210,7 +66336,7 @@ f.parseInline;
66210
66336
  O.parse;
66211
66337
  T.lex;
66212
66338
  //#endregion
66213
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxTheme.js
66339
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxTheme.js
66214
66340
  /** highlight.js token classes -> theme syntax tokens. `default` catches
66215
66341
  * every unmapped class so cli-highlight's own yellow never leaks through
66216
66342
  * (issue #250, P2-6). */
@@ -66276,7 +66402,7 @@ function buildSyntaxTheme(theme) {
66276
66402
  return out;
66277
66403
  }
66278
66404
  //#endregion
66279
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/hyperlink.js
66405
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/hyperlink.js
66280
66406
  /** OSC 8 hyperlink start sequence: `ESC ] 8 ; ;`, followed by the URL. */
66281
66407
  const OSC8_START = "\x1B]8;;";
66282
66408
  /** Schemes a rendered hyperlink may point at. Anything else degrades to
@@ -66318,7 +66444,7 @@ function createHyperlink(url, content, options) {
66318
66444
  return `${OSC8_START}${safeUrl}${(options?.style ?? ((text) => chalk.blue(text)))(displayText)}${OSC8_START}`;
66319
66445
  }
66320
66446
  //#endregion
66321
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/fileTarget.js
66447
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileTarget.js
66322
66448
  /**
66323
66449
  * Clickable file targets: turning path-like text in AI output into
66324
66450
  * clickable targets, and resolving those targets back to absolute paths at
@@ -66460,7 +66586,7 @@ function linkifyFilePaths(text, wrap) {
66460
66586
  });
66461
66587
  }
66462
66588
  //#endregion
66463
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/markdown.js
66589
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/markdown.js
66464
66590
  /**
66465
66591
  * Markdown-to-ANSI renderer over marked's token stream.
66466
66592
  *
@@ -66775,7 +66901,7 @@ function padAligned(content, displayWidth, targetWidth, align) {
66775
66901
  return content + " ".repeat(extra);
66776
66902
  }
66777
66903
  //#endregion
66778
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/cliHighlight.js
66904
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/cliHighlight.js
66779
66905
  let cliHighlightPromise;
66780
66906
  async function loadCliHighlight() {
66781
66907
  try {
@@ -66798,7 +66924,7 @@ function getCliHighlightPromise() {
66798
66924
  return cliHighlightPromise;
66799
66925
  }
66800
66926
  //#endregion
66801
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/MarkdownTable.js
66927
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MarkdownTable.js
66802
66928
  /** Accounts for parent indentation and terminal resize races (from Claude Code). */
66803
66929
  const SAFETY_MARGIN = 4;
66804
66930
  /** Minimum column width to prevent degenerate layouts */
@@ -66985,7 +67111,7 @@ function MarkdownTable({ token, highlight, forceWidth }) {
66985
67111
  return (0, import_jsx_runtime.jsx)(Text, { children: tableLines.join("\n") });
66986
67112
  }
66987
67113
  //#endregion
66988
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Markdown.js
67114
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Markdown.js
66989
67115
  const TOKEN_CACHE_CAPACITY = 200;
66990
67116
  const TOKEN_CACHE_CHAR_BUDGET = 2e5;
66991
67117
  const TOKEN_CACHE_MAX_SOURCE_LENGTH = 2e4;
@@ -67094,7 +67220,7 @@ function MarkdownImpl({ children, dimColor = false, cacheTokens = true }) {
67094
67220
  */
67095
67221
  const Markdown = import_react.memo(MarkdownImpl, (prev, next) => prev.children === next.children && prev.dimColor === next.dimColor && prev.cacheTokens === next.cacheTokens);
67096
67222
  //#endregion
67097
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/questions/PlanReviewPanel.js
67223
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/PlanReviewPanel.js
67098
67224
  /**
67099
67225
  * The plan-review panel — Claude Code style exit-plan-mode decision card
67100
67226
  * for the DSH user-interaction seam. plan-mode's `exit_plan_mode` tool asks
@@ -67416,7 +67542,7 @@ function PlanReviewPanel({ question, onAnswer, onCancel }) {
67416
67542
  });
67417
67543
  }
67418
67544
  //#endregion
67419
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/listWindow.js
67545
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/listWindow.js
67420
67546
  /**
67421
67547
  * 焦点居中的列表窗口:长列表只渲染焦点附近的一段,保证焦点行始终可见。
67422
67548
  * 瞬态面板走 OverlayAbove 零高度浮层后,超高部分会被 overflow 裁掉且焦点
@@ -67468,7 +67594,7 @@ function listWindow(heights, focusIndex, maxRows, gap = 0) {
67468
67594
  }
67469
67595
  }
67470
67596
  //#endregion
67471
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/questions/AskUserQuestionPanel.js
67597
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/AskUserQuestionPanel.js
67472
67598
  /**
67473
67599
  * The questionnaire panel — Claude Code style ask-user-question UI for the
67474
67600
  * DSH user-interaction seam. One question per panel (progress header, header
@@ -68062,7 +68188,7 @@ function AskUserQuestionPanel({ question, position, total, answered, initialDraf
68062
68188
  });
68063
68189
  }
68064
68190
  //#endregion
68065
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/approvals/ApprovalPanel.js
68191
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/approvals/ApprovalPanel.js
68066
68192
  /**
68067
68193
  * The approval panel — Claude Code style permission prompt for the DSH
68068
68194
  * approval seam (`ctx.approval`). One ask per panel: a permission-colored
@@ -68187,7 +68313,7 @@ function ApprovalPanel({ approval, background = false, onDecide }) {
68187
68313
  });
68188
68314
  }
68189
68315
  //#endregion
68190
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Pane.js
68316
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Pane.js
68191
68317
  /**
68192
68318
  * A pane — a region below the prompt bounded by a colored top line with a
68193
68319
  * one-row gap above and horizontal padding, mirroring Claude Code's
@@ -68209,7 +68335,7 @@ function Pane({ children, color }) {
68209
68335
  });
68210
68336
  }
68211
68337
  //#endregion
68212
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ListItem.js
68338
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ListItem.js
68213
68339
  /**
68214
68340
  * A list item for selection UIs, mirroring Claude Code's
68215
68341
  * design-system/ListItem.tsx: `❯` pointer for the focused row, `✓`
@@ -68306,7 +68432,7 @@ function flattenDeep(node) {
68306
68432
  return node;
68307
68433
  }
68308
68434
  //#endregion
68309
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/HintLine.js
68435
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/HintLine.js
68310
68436
  /**
68311
68437
  * Localized shortcut-hint line: renders a `t('hint-*')` string, with the
68312
68438
  * `**primary shortcut**` segment (the main action's key, wrapped in `**` in
@@ -68323,7 +68449,7 @@ function HintLine({ text }) {
68323
68449
  }, index) : part) });
68324
68450
  }
68325
68451
  //#endregion
68326
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ExtensionDialog.js
68452
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ExtensionDialog.js
68327
68453
  /**
68328
68454
  * The managed plugin dialog (`ctx.tuiDialogs`) — one panel rendering the
68329
68455
  * store's current snapshot in the chat chrome (the slot approval/question
@@ -68583,7 +68709,7 @@ function InputDialog({ dialog, onDecide, onCancel }) {
68583
68709
  });
68584
68710
  }
68585
68711
  //#endregion
68586
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-search-highlight.js
68712
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-search-highlight.js
68587
68713
  /**
68588
68714
  * Set the search highlight query on the Ink instance. Non-empty → all
68589
68715
  * visible occurrences are inverted on the next frame (SGR 7, screen-buffer
@@ -68615,7 +68741,7 @@ function useSearchHighlight() {
68615
68741
  }, [ink]);
68616
68742
  }
68617
68743
  //#endregion
68618
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-title.js
68744
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-title.js
68619
68745
  /**
68620
68746
  * Declaratively set the terminal tab/window title.
68621
68747
  *
@@ -68638,7 +68764,7 @@ function useTerminalTitle(title) {
68638
68764
  }, [title, writeRaw]);
68639
68765
  }
68640
68766
  //#endregion
68641
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessions/format.js
68767
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/format.js
68642
68768
  /**
68643
68769
  * Session browser formatting.
68644
68770
  *
@@ -68887,7 +69013,7 @@ function projectName(cwd) {
68887
69013
  return normalized.split("/").filter(Boolean).at(-1) ?? normalized;
68888
69014
  }
68889
69015
  //#endregion
68890
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/messages/UserPromptMessage.js
69016
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/UserPromptMessage.js
68891
69017
  /** User prompt row in the legacy CLI treatment: a full-width gray strip. */
68892
69018
  function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
68893
69019
  const { columns } = useTerminalSize();
@@ -68913,7 +69039,7 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
68913
69039
  });
68914
69040
  }
68915
69041
  //#endregion
68916
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantTextMessage.js
69042
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantTextMessage.js
68917
69043
  /**
68918
69044
  * Assistant text message: bullet + markdown body (mirroring Claude Code's default branch).
68919
69045
  *
@@ -68946,7 +69072,7 @@ function AssistantTextMessage({ text, addMargin, isSelected = false, isExpanded
68946
69072
  });
68947
69073
  }
68948
69074
  //#endregion
68949
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/StreamingMarkdown.js
69075
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/StreamingMarkdown.js
68950
69076
  /**
68951
69077
  * Renders markdown during streaming by splitting at the last top-level block
68952
69078
  * boundary: everything before is stable (memoized, never re-parsed), only the
@@ -69136,7 +69262,7 @@ function StreamingMarkdown({ children, dimColor = false }) {
69136
69262
  });
69137
69263
  }
69138
69264
  //#endregion
69139
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/spinnerUtils.js
69265
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/spinnerUtils.js
69140
69266
  /**
69141
69267
  * Spinner 动画的通用工具集:平台相关的帧字符选择、RGB 颜色插值、
69142
69268
  * HSL 色相转 RGB,以及 `rgb(...)` 颜色字符串的解析与记忆化。
@@ -69216,7 +69342,7 @@ function parseRGB(colorStr) {
69216
69342
  return parsed;
69217
69343
  }
69218
69344
  //#endregion
69219
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/shimmer.js
69345
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/shimmer.js
69220
69346
  /** Header blue-white ladder: brand → ice → pale → soft ice flash.
69221
69347
  * FLASH stays visibly blue (never pure white) — the highlight reads as a
69222
69348
  * mist-brightened crest, not a white strobe. */
@@ -69232,7 +69358,7 @@ const ICE = {
69232
69358
  b: 255
69233
69359
  };
69234
69360
  //#endregion
69235
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantThinkingMessage.js
69361
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantThinkingMessage.js
69236
69362
  /** Preview body rows — a FIXED row count (kimicode-style constant-height
69237
69363
  * ticker). Ink's truncate slices the whole string across newlines as one
69238
69364
  * logical line, so a single joined Text collapses to 1-2 rows whenever
@@ -69345,7 +69471,7 @@ function AssistantThinkingMessage({ thinking, textFull, addMargin, verbose, stre
69345
69471
  });
69346
69472
  }
69347
69473
  //#endregion
69348
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ToolUseLoader.js
69474
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ToolUseLoader.js
69349
69475
  const CATEGORY_BY_TOOL = {
69350
69476
  bash: "exec",
69351
69477
  powershell: "exec",
@@ -69926,7 +70052,7 @@ var ArrayDiff = class extends Diff {
69926
70052
  };
69927
70053
  new ArrayDiff();
69928
70054
  //#endregion
69929
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxRuns.js
70055
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxRuns.js
69930
70056
  const ANSI16 = {
69931
70057
  30: "rgb(0,0,0)",
69932
70058
  31: "rgb(128,0,0)",
@@ -70011,7 +70137,7 @@ function syntaxThemeSignature(theme) {
70011
70137
  return Object.values(SYNTAX_CLASS_TO_TOKEN).map((key) => palette[key] ?? "").join("|");
70012
70138
  }
70013
70139
  //#endregion
70014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/smoothReveal.js
70140
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/smoothReveal.js
70015
70141
  /**
70016
70142
  * Smooth streaming reveal — decouples "text the provider has delivered" from
70017
70143
  * "text the screen is showing" (the oh-my-pi `display.smoothStreaming` idea,
@@ -70257,7 +70383,7 @@ function revealLinesOf(key, total, options) {
70257
70383
  return Math.min(existing.revealed, total);
70258
70384
  }
70259
70385
  //#endregion
70260
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SplitDiffView.js
70386
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SplitDiffView.js
70261
70387
  /** Replace tabs so width math and alignment hold (pi convention). */
70262
70388
  const expandTabs = (text) => text.replaceAll(" ", " ");
70263
70389
  /**
@@ -70566,7 +70692,7 @@ function SplitDiffView({ diffs, width, maxRows, verbose, toolBackground = "none"
70566
70692
  });
70567
70693
  }
70568
70694
  //#endregion
70569
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SyntaxText.js
70695
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SyntaxText.js
70570
70696
  /** Async nested Text renderer. Lexes the complete payload before splitting. */
70571
70697
  function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, dimColor }) {
70572
70698
  const [highlighter, setHighlighter] = import_react.useState(null);
@@ -70610,7 +70736,7 @@ function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, d
70610
70736
  }, index)) });
70611
70737
  }
70612
70738
  //#endregion
70613
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
70739
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
70614
70740
  /**
70615
70741
  * Tooltip hover system — the terminal equivalent of the HTML `title`
70616
70742
  * attribute. Attach {@link useTooltip} props to any Box whose visible text
@@ -70818,7 +70944,7 @@ function wrapTooltipContent(text, width) {
70818
70944
  return rows;
70819
70945
  }
70820
70946
  //#endregion
70821
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/trajectory/format.js
70947
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/format.js
70822
70948
  /**
70823
70949
  * Trajectory formatting — durations, clocks, badges and heat.
70824
70950
  *
@@ -71020,7 +71146,7 @@ function ledgerLayout(columns) {
71020
71146
  };
71021
71147
  }
71022
71148
  //#endregion
71023
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useRevealVersion.js
71149
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRevealVersion.js
71024
71150
  /**
71025
71151
  * Reveal-frame wakeup as a React hook — bumps once per advancing ~30fps
71026
71152
  * scheduler tick so consumers re-run their render-phase cursor reads
@@ -71050,7 +71176,7 @@ function useRevealVersion(enabled = true) {
71050
71176
  return version;
71051
71177
  }
71052
71178
  //#endregion
71053
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantToolUseMessage.js
71179
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantToolUseMessage.js
71054
71180
  /** Tool display names: DSH emits lowercase tool ids (`bash`); Claude Code
71055
71181
  * shows capitalized names (`Bash`). Map the common ones, fall back to the
71056
71182
  * id with its first letter uppercased. */
@@ -71586,7 +71712,7 @@ function AssistantToolUseMessage({ tool, addMargin, verbose, isSelected = false,
71586
71712
  });
71587
71713
  }
71588
71714
  //#endregion
71589
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Chat/SubagentMessage.js
71715
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/SubagentMessage.js
71590
71716
  /** The waterfall window is a Kimi Code style constant-height region. */
71591
71717
  const WATERFALL_ROWS = 3;
71592
71718
  /** Card left padding + the `│ ` gutter prefix. */
@@ -71794,7 +71920,7 @@ function SubagentMessage({ subagent, addMargin, activityFrames, onClick }) {
71794
71920
  });
71795
71921
  }
71796
71922
  //#endregion
71797
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Chat/JobCard.js
71923
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/JobCard.js
71798
71924
  /** Card left padding + the `│ ` gutter prefix. */
71799
71925
  const WATERFALL_GUTTER = 4;
71800
71926
  /** Static status marker — deliberately NOT the animated activity-indicator
@@ -71947,7 +72073,7 @@ function JobCard({ job, addMargin, onClick }) {
71947
72073
  });
71948
72074
  }
71949
72075
  //#endregion
71950
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/InterruptedByUser.js
72076
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/InterruptedByUser.js
71951
72077
  /**
71952
72078
  * The dim "interrupted" row shown when the user stops a turn, mirroring
71953
72079
  * Claude Code's `InterruptedByUser.tsx`.
@@ -71962,7 +72088,7 @@ function InterruptedByUser() {
71962
72088
  })] });
71963
72089
  }
71964
72090
  //#endregion
71965
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/gitCommitStats.js
72091
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/gitCommitStats.js
71966
72092
  /**
71967
72093
  * 当月 AI 代码生成占比统计(移植自 chatcode-cli 的同名服务)。
71968
72094
  *
@@ -72130,7 +72256,7 @@ function computeAiRatioPercent(records) {
72130
72256
  return clampPercent(aiAdoptedTotal / addedTotal * 100);
72131
72257
  }
72132
72258
  //#endregion
72133
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useAiRatio.js
72259
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useAiRatio.js
72134
72260
  /**
72135
72261
  * 「AI代码生成占比」数据源 Hook(移植自 chatcode-cli 的同名 Hook)。
72136
72262
  *
@@ -72194,7 +72320,7 @@ function useAiRatio(enabled = true) {
72194
72320
  };
72195
72321
  }
72196
72322
  //#endregion
72197
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useNotification.js
72323
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useNotification.js
72198
72324
  /**
72199
72325
  * 「通知」数据源 Hook(移植自 chatcode-cli 的 LogoV2/FooterInfo 通知行)。
72200
72326
  *
@@ -72231,7 +72357,7 @@ function useNotification() {
72231
72357
  return { message };
72232
72358
  }
72233
72359
  //#endregion
72234
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/ink/truncateToWidth.js
72360
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/truncateToWidth.js
72235
72361
  /**
72236
72362
  * Slice a string to at most `maxWidth` terminal cells, walking by code
72237
72363
  * point so CJK wide characters never split mid-glyph. Assumes no ANSI in
@@ -72249,7 +72375,7 @@ function truncateToWidth(text, maxWidth) {
72249
72375
  return out;
72250
72376
  }
72251
72377
  //#endregion
72252
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/LogoV2.js
72378
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LogoV2.js
72253
72379
  /** Main ChatCode CLI package version shown in the startup information panel. */
72254
72380
  const VERSION = PRODUCT_VERSION;
72255
72381
  const PRODUCT_LABEL = "chatcode-cli";
@@ -72520,7 +72646,7 @@ function LogoV2({ model, effort, cwd, whale = true, aiRatio, drift }) {
72520
72646
  });
72521
72647
  }
72522
72648
  //#endregion
72523
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/messages/MessageMetadata.js
72649
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/MessageMetadata.js
72524
72650
  /**
72525
72651
  * Transcript-mode metadata row: `HH:MM · model`, right-aligned above the
72526
72652
  * assistant text, mirroring Claude Code's MessageTimestamp + MessageModel,
@@ -72542,7 +72668,7 @@ function MessageMetadata({ timestamp, model }) {
72542
72668
  });
72543
72669
  }
72544
72670
  //#endregion
72545
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/narration.js
72671
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/narration.js
72546
72672
  /**
72547
72673
  * Strip the `⏵` self-narration line from assistant text. The
72548
72674
  * dsh-working-activity narrate contract puts exactly one `⏵` line at the
@@ -72658,7 +72784,7 @@ function ellipsize(line, maxWidth) {
72658
72784
  return `${out}…`;
72659
72785
  }
72660
72786
  //#endregion
72661
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/MessageList.js
72787
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MessageList.js
72662
72788
  /**
72663
72789
  * Transcript rows rendered in the Claude Code visual language: user prompts
72664
72790
  * on a grey bubble with a `❯` pointer, assistant text with a `●` bullet and
@@ -73471,7 +73597,7 @@ function LogoHeader({ model, effort, cwd, whale = true, skipIntro = false }) {
73471
73597
  });
73472
73598
  }
73473
73599
  //#endregion
73474
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/TimelineRail.js
73600
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TimelineRail.js
73475
73601
  /** ▴ / ▾ (U+25B4 / U+25BE — the small triangles; CP437-safe on ConHost too). */
73476
73602
  const CHEVRON_UP = " ▴";
73477
73603
  const CHEVRON_DOWN = " ▾";
@@ -73665,7 +73791,7 @@ function TimelineRail({ handle, turns, activeId, upId, downId, terminalWidth, ho
73665
73791
  }) });
73666
73792
  }
73667
73793
  //#endregion
73668
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ScrollbarGutter.js
73794
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ScrollbarGutter.js
73669
73795
  /** Thumb glyph across the 2-col gutter: solid, clearly positional —
73670
73796
  * deliberately distinct from the timeline's ━━ active tick. */
73671
73797
  const THUMB = "██";
@@ -73781,7 +73907,7 @@ function ScrollbarGutter({ handle, terminalWidth }) {
73781
73907
  }) });
73782
73908
  }
73783
73909
  //#endregion
73784
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/OverlayAbove.js
73910
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/OverlayAbove.js
73785
73911
  /**
73786
73912
  * 瞬态面板的浮层容器:absolute 定位 + bottom:'100%' 把面板底边钉在锚点
73787
73913
  * (父元素)顶边,向上覆盖转录尾部行,自身**不占布局高度**。
@@ -73814,7 +73940,7 @@ function OverlayAbove({ children, maxHeight }) {
73814
73940
  });
73815
73941
  }
73816
73942
  //#endregion
73817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/trajectory/motion.js
73943
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/motion.js
73818
73944
  /**
73819
73945
  * Trajectory motion — five verbs, one shared clock, one hard rule.
73820
73946
  *
@@ -73939,7 +74065,7 @@ function alert(tick, startTick) {
73939
74065
  return Math.floor(age / 2) % 2 === 0 ? 1 : 0;
73940
74066
  }
73941
74067
  //#endregion
73942
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/trajectory/effortIgnition.js
74068
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/effortIgnition.js
73943
74069
  /** 三幕时间轴(ms):扫光全长、字样启动(波至中段)、字样渐亮、渐隐起止。边框扫光与输入行字样徽标共用。 */
73944
74070
  const IGNITION_TIMELINE = {
73945
74071
  sweepMs: 1e3,
@@ -74087,7 +74213,7 @@ function ignitionLineColors(options) {
74087
74213
  return colors;
74088
74214
  }
74089
74215
  //#endregion
74090
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/EffortChargeGlyph.js
74216
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortChargeGlyph.js
74091
74217
  /**
74092
74218
  * EffortChargeGlyph — 输入提示前缀 `❯ ` 的最高档强调与充能。
74093
74219
  *
@@ -74143,7 +74269,7 @@ function EffortChargeGlyph({ effort, levels, working }) {
74143
74269
  });
74144
74270
  }
74145
74271
  //#endregion
74146
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/EffortInputBorder.js
74272
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortInputBorder.js
74147
74273
  /**
74148
74274
  * EffortInputBorder — 输入框层上的三幕点焰叠加(对齐 Codex 的完整
74149
74275
  * 语义:光扫过、档位字样浮现、整体渐隐)。
@@ -74278,7 +74404,7 @@ function EffortInputBorder({ effort, levels, columns, onLight, idleColor, topRig
74278
74404
  });
74279
74405
  }
74280
74406
  //#endregion
74281
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/EffortTierBadge.js
74407
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortTierBadge.js
74282
74408
  /**
74283
74409
  * EffortTierBadge — 输入行尾的档位字样徽标:三幕点焰的第二幕载体
74284
74410
  * (与 EffortInputBorder 的双框扫光同一时间轴、同一触发),切到最高
@@ -74361,7 +74487,7 @@ function EffortTierBadge({ effort, levels, onLight, columns, leadingColumns }) {
74361
74487
  });
74362
74488
  }
74363
74489
  //#endregion
74364
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/clipboard.js
74490
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/clipboard.js
74365
74491
  /**
74366
74492
  * Cross-platform clipboard access for Ctrl+V paste. The TUI runs in raw
74367
74493
  * mode, so the terminal never performs its own paste for Ctrl+V — the key
@@ -74890,7 +75016,7 @@ function formatClipboardInsert(content) {
74890
75016
  return content.text.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
74891
75017
  }
74892
75018
  //#endregion
74893
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/droppedFile.js
75019
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/droppedFile.js
74894
75020
  /**
74895
75021
  * Terminal drag-and-drop normalization.
74896
75022
  *
@@ -74949,7 +75075,7 @@ function droppedImageMention(raw, baseDir) {
74949
75075
  return formatImageReference(path);
74950
75076
  }
74951
75077
  //#endregion
74952
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/externalEditor.js
75078
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/externalEditor.js
74953
75079
  /**
74954
75080
  * External editor round-trip for the prompt input (issue #123): Ctrl+G dumps
74955
75081
  * the current draft into a temp file, hands the terminal to `$VISUAL` /
@@ -75227,7 +75353,7 @@ async function editInExternalEditor(draft) {
75227
75353
  }
75228
75354
  }
75229
75355
  //#endregion
75230
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PromptEditor.js
75356
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptEditor.js
75231
75357
  let editorNode = null;
75232
75358
  const listeners = /* @__PURE__ */ new Set();
75233
75359
  /** Publish (or withdraw, with null) the fullscreen editor subtree. */
@@ -75311,7 +75437,7 @@ function EditorButton({ label, hint, onClick, primary, accent }) {
75311
75437
  });
75312
75438
  }
75313
75439
  //#endregion
75314
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/history.js
75440
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/history.js
75315
75441
  const HISTORY_DIR = DATA_DIR;
75316
75442
  const HISTORY_FILE = join(HISTORY_DIR, "history.jsonl");
75317
75443
  const HISTORY_LOCK = `${HISTORY_FILE}.lock`;
@@ -75445,7 +75571,7 @@ function historyEntryId(entry, index = 0) {
75445
75571
  return createHash("sha1").update(`${entry.text}\0${entry.ts}\0${index}`).digest("hex").slice(0, 12);
75446
75572
  }
75447
75573
  //#endregion
75448
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SuggestionCard.js
75574
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SuggestionCard.js
75449
75575
  /**
75450
75576
  * `/` 命令菜单与 `@` 文件菜单共用的圆角卡片外壳(与输入框 EffortInputBorder
75451
75577
  * 同款 ╭╮╰╯ 视觉语言):
@@ -75577,7 +75703,7 @@ function splitQueryMatch(name, query) {
75577
75703
  return startsWith(0) ?? (lastSpace >= 0 ? startsWith(lastSpace + 1) : null) ?? startsWith(name.lastIndexOf("/") + 1);
75578
75704
  }
75579
75705
  //#endregion
75580
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/CommandSuggestions.js
75706
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/CommandSuggestions.js
75581
75707
  /**
75582
75708
  * The slash-command suggestion overlay, mirroring Claude Code's
75583
75709
  * `PromptInputFooterSuggestions.tsx` (command layout only) wrapped in the
@@ -75657,7 +75783,7 @@ function CommandSuggestions({ commands, selectedIndex, columns, query = "", acce
75657
75783
  });
75658
75784
  }
75659
75785
  //#endregion
75660
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/FileSuggestions.js
75786
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/FileSuggestions.js
75661
75787
  /**
75662
75788
  * The `@` file-completion overlay in CC's suggestion style, wrapped in the
75663
75789
  * shared rounded `SuggestionCard` (与 `/` 命令菜单同一视觉语言):
@@ -75753,7 +75879,7 @@ function FileSuggestions({ files, selectedIndex, columns, query = "", maxVisible
75753
75879
  });
75754
75880
  }
75755
75881
  //#endregion
75756
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/HelpMenu.js
75882
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HelpMenu.js
75757
75883
  /**
75758
75884
  * The `?` help menu, mirroring Claude Code's `PromptInputHelpMenu.tsx`
75759
75885
  * (three-column shortcut layout, trimmed to the keys dsh-tui actually binds).
@@ -75944,7 +76070,7 @@ function HelpCommandRow({ command, onPick }) {
75944
76070
  });
75945
76071
  }
75946
76072
  //#endregion
75947
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PromptInput.js
76073
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptInput.js
75948
76074
  const HISTORY_LIMIT = 50;
75949
76075
  /**
75950
76076
  * Paste fold (CC-style collapse with a visible preview, no black box):
@@ -78364,7 +78490,7 @@ function wordSelectionAt(text, offset, lo, hi) {
78364
78490
  };
78365
78491
  }
78366
78492
  //#endregion
78367
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/GoalTodoPanel.js
78493
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/GoalTodoPanel.js
78368
78494
  /** Maximum todo rows shown before the overflow line. */
78369
78495
  const MAX_TODOS = 8;
78370
78496
  const PHASE_LABEL = {
@@ -78608,7 +78734,7 @@ function GoalTodoPanel({ channel, collapsed = false, onToggle }) {
78608
78734
  });
78609
78735
  }
78610
78736
  //#endregion
78611
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/AutoRecapRow.js
78737
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/AutoRecapRow.js
78612
78738
  /**
78613
78739
  * Auto-recap row (`dsh-tui.recapOnOpen` setting): a quiet, dim recap shown
78614
78740
  * at the bottom of the transcript after an automatic summary on session
@@ -78688,7 +78814,7 @@ function summarizeLoadedContext(context) {
78688
78814
  return parts.join(" · ");
78689
78815
  }
78690
78816
  //#endregion
78691
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/LoadedContextPanel.js
78817
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LoadedContextPanel.js
78692
78818
  /** One named entry (section or dynamic context) with its full text. */
78693
78819
  function Entry({ entry }) {
78694
78820
  return (0, import_jsx_runtime.jsxs)(ThemedBox, {
@@ -78825,7 +78951,7 @@ function LoadedContextPanel({ context, open, onToggle }) {
78825
78951
  });
78826
78952
  }
78827
78953
  //#endregion
78828
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/MoonPhaseSpinner.js
78954
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MoonPhaseSpinner.js
78829
78955
  /**
78830
78956
  * Terminal-safe construction cycle derived from the supplied China Unicom
78831
78957
  * knot mark. Every frame is one display cell, unlike emoji on mixed terminals.
@@ -78857,7 +78983,7 @@ function UnicomKnotSpinner({ time }) {
78857
78983
  });
78858
78984
  }
78859
78985
  //#endregion
78860
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ActivityLine.js
78986
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityLine.js
78861
78987
  /**
78862
78988
  * Context-pressure percentage (0–100) from the last usage snapshot, or
78863
78989
  * undefined when unknown — shared by the spinner-line and status-line
@@ -78929,7 +79055,7 @@ function ActivityLine({ activity, activityFrames, warnPct, warnDanger, suffix })
78929
79055
  });
78930
79056
  }
78931
79057
  //#endregion
78932
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/guards.js
79058
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/guards.js
78933
79059
  /**
78934
79060
  * Structural guards for the session events the trajectory projection reads.
78935
79061
  *
@@ -79153,7 +79279,7 @@ function readTodos(data) {
79153
79279
  };
79154
79280
  }
79155
79281
  //#endregion
79156
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/types.js
79282
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/types.js
79157
79283
  /**
79158
79284
  * Trajectory projection — the data contract shared by the adapter-side fold
79159
79285
  * and the UI-side scene (issue #80 evolution).
@@ -79220,7 +79346,7 @@ function previewText(raw, limit) {
79220
79346
  return `${flat.slice(0, limit)}…`;
79221
79347
  }
79222
79348
  //#endregion
79223
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/projection.js
79349
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/projection.js
79224
79350
  /**
79225
79351
  * Trajectory projection — folding the session event log into ledger nodes.
79226
79352
  *
@@ -79799,7 +79925,7 @@ function extendTrajectory(previous, events) {
79799
79925
  };
79800
79926
  }
79801
79927
  //#endregion
79802
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/aggregate.js
79928
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/aggregate.js
79803
79929
  /**
79804
79930
  * Trajectory aggregate — the hotspot view's data and the session totals.
79805
79931
  *
@@ -80020,7 +80146,7 @@ function modelTiming(timing) {
80020
80146
  };
80021
80147
  }
80022
80148
  //#endregion
80023
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/inspect.js
80149
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/inspect.js
80024
80150
  /**
80025
80151
  * Inspector detail — full content, resolved on demand.
80026
80152
  *
@@ -80180,7 +80306,7 @@ function inspectNode(node, events) {
80180
80306
  };
80181
80307
  }
80182
80308
  //#endregion
80183
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/wave.js
80309
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/wave.js
80184
80310
  /**
80185
80311
  * Wave band projection — the whole session compressed onto one row of glyphs.
80186
80312
  *
@@ -80353,7 +80479,7 @@ function columnOfIndex(band, ledgerIndex) {
80353
80479
  return 0;
80354
80480
  }
80355
80481
  //#endregion
80356
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/MiniWake.js
80482
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/MiniWake.js
80357
80483
  /**
80358
80484
  * The mini wake — the whole session as a dozen glyphs in the status line.
80359
80485
  *
@@ -80456,7 +80582,7 @@ function toHex$1(colour) {
80456
80582
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
80457
80583
  }
80458
80584
  //#endregion
80459
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/StatusMetrics.js
80585
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusMetrics.js
80460
80586
  /**
80461
80587
  * Status-line metric renderers, ported from two pi extensions:
80462
80588
  * - `pi-nano-context`: segmented context progress bar (morandi pastel
@@ -80732,7 +80858,7 @@ function tpsStats(samples, nowMs) {
80732
80858
  };
80733
80859
  }
80734
80860
  //#endregion
80735
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ContextBarView.js
80861
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ContextBarView.js
80736
80862
  /** Free-segment colors, mirroring StatusMetrics' dark-theme defaults. */
80737
80863
  const FREE_FILL = "#E8E8E8";
80738
80864
  const FREE_TEXT = "#4A4A4A";
@@ -80799,7 +80925,7 @@ function ContextBarView({ segments, usedTokens, contextWindow, width, colors, on
80799
80925
  });
80800
80926
  }
80801
80927
  //#endregion
80802
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/chatCodeTokenTrend.js
80928
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeTokenTrend.js
80803
80929
  /**
80804
80930
  * ChatCode 今日总 Token 消耗量查询(移植自 chatcode-cli 的 chatCodeTokenTrend)。
80805
80931
  *
@@ -80874,7 +81000,7 @@ async function fetchTodayTotalTokens(post, signal) {
80874
81000
  }
80875
81001
  }
80876
81002
  //#endregion
80877
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useTodayTotalTokens.js
81003
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useTodayTotalTokens.js
80878
81004
  /**
80879
81005
  * 「今日总Token消耗」数据源 Hook(移植自 chatcode-cli 的 useTokenDashboard)。
80880
81006
  *
@@ -80906,7 +81032,7 @@ function useTodayTotalTokens(enabled = true) {
80906
81032
  return { totalTokens };
80907
81033
  }
80908
81034
  //#endregion
80909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/TokenDashboard.js
81035
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TokenDashboard.js
80910
81036
  const BAR_WIDTH = 14;
80911
81037
  /** Yuanjing-compatible percentage label centered inside a fixed-width bar. */
80912
81038
  function LabeledBar({ ratio, percent }) {
@@ -80990,7 +81116,7 @@ function TokenDashboard({ todayTokens, usedTokens, contextWindow, compact = fals
80990
81116
  });
80991
81117
  }
80992
81118
  //#endregion
80993
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/StatusLine.js
81119
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusLine.js
80994
81120
  /** Stable fallback for stubbed channels: verify/repro harnesses render the
80995
81121
  * real Chat with partial channel literals that predate the jobs field. */
80996
81122
  const NO_BACKGROUND_JOBS = [];
@@ -81848,7 +81974,7 @@ const fallbackSymbols = {
81848
81974
  const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
81849
81975
  Object.entries(specialMainSymbols);
81850
81976
  //#endregion
81851
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Byline.js
81977
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Byline.js
81852
81978
  /**
81853
81979
  * Joins children with a middot separator (" · ") for inline metadata display
81854
81980
  * (in the Claude Code visual language). Automatically filters out
@@ -81864,7 +81990,7 @@ function Byline({ children }) {
81864
81990
  }), child] }, (0, import_react.isValidElement)(child) ? child.key ?? index : index)) });
81865
81991
  }
81866
81992
  //#endregion
81867
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/GlimmerMessage.js
81993
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/GlimmerMessage.js
81868
81994
  const ERROR_RED$1 = {
81869
81995
  r: 171,
81870
81996
  g: 43,
@@ -81954,7 +82080,7 @@ function GlimmerMessage({ message, mode, messageColor, glimmerIndex, flashOpacit
81954
82080
  })] });
81955
82081
  }
81956
82082
  //#endregion
81957
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerGlyph.js
82083
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerGlyph.js
81958
82084
  const DEFAULT_CHARACTERS = getDefaultCharacters();
81959
82085
  const SPINNER_FRAMES$1 = [...DEFAULT_CHARACTERS, ...[...DEFAULT_CHARACTERS].reverse()];
81960
82086
  const REDUCED_MOTION_DOT = "●";
@@ -82015,7 +82141,7 @@ function SpinnerGlyph({ frame, messageColor, stalledIntensity = 0, reducedMotion
82015
82141
  });
82016
82142
  }
82017
82143
  //#endregion
82018
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/useStalledAnimation.js
82144
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/useStalledAnimation.js
82019
82145
  /**
82020
82146
  * Tracks the transition to red when tokens stop flowing (mirroring Claude Code's `Spinner/useStalledAnimation.ts`). Driven by the parent's animation
82021
82147
  * clock time instead of independent intervals, so it slows down when the
@@ -82072,7 +82198,7 @@ function useStalledAnimation(time, currentResponseLength, hasActiveTools = false
82072
82198
  };
82073
82199
  }
82074
82200
  //#endregion
82075
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerAnimationRow.js
82201
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerAnimationRow.js
82076
82202
  const SEP_WIDTH = stringWidth$1(" · ");
82077
82203
  const THINKING_BARE_WIDTH = stringWidth$1("thinking");
82078
82204
  const SHOW_TOKENS_AFTER_MS = 3e4;
@@ -82239,7 +82365,7 @@ function SpinnerModeGlyph({ mode }) {
82239
82365
  }
82240
82366
  }
82241
82367
  //#endregion
82242
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/WorkingSpinner.js
82368
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkingSpinner.js
82243
82369
  /**
82244
82370
  * The working spinner block shown between the transcript and the prompt
82245
82371
  * input while a turn is in flight. Mirrors Claude Code's `Spinner.tsx`
@@ -82309,7 +82435,7 @@ function useThinkingStatus(isThinking) {
82309
82435
  return thinkingStatus;
82310
82436
  }
82311
82437
  //#endregion
82312
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ModelPicker.js
82438
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ModelPicker.js
82313
82439
  /**
82314
82440
  * Model picker in the CC ModelPicker style: a permission-colored Pane with
82315
82441
  * the rows as Select entries (❯ focus pointer, ✓ on the active row,
@@ -82369,7 +82495,7 @@ function ModelPicker(props) {
82369
82495
  });
82370
82496
  }
82371
82497
  //#endregion
82372
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PluginSceneBoundary.js
82498
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PluginSceneBoundary.js
82373
82499
  /**
82374
82500
  * Error boundary for plugin scenes (dsh-tui-scenes). A scene component is
82375
82501
  * third-party code rendered inside Chat's tree: without a boundary a render
@@ -82395,7 +82521,7 @@ var PluginSceneBoundary = class extends import_react.Component {
82395
82521
  }
82396
82522
  };
82397
82523
  //#endregion
82398
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/design-system/LoadingState.js
82524
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/LoadingState.js
82399
82525
  const SPINNER_FRAMES = [...getDefaultCharacters(), ...[...getDefaultCharacters()].reverse()];
82400
82526
  /**
82401
82527
  * A spinner with a loading message for async operations, mirroring Claude Code's design-system/LoadingState.tsx (using the small animated glyph).
@@ -82426,7 +82552,7 @@ function LoadingState({ message, bold = false, dimColor = false, subtitle }) {
82426
82552
  });
82427
82553
  }
82428
82554
  //#endregion
82429
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SkillsPicker.js
82555
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SkillsPicker.js
82430
82556
  /** 来源桶 → 本地化标签(未知桶原样显示,SkillSource 对自定义桶开放)。 */
82431
82557
  function sourceLabel(source) {
82432
82558
  switch (source) {
@@ -82504,7 +82630,7 @@ function SkillsPickerLoading() {
82504
82630
  });
82505
82631
  }
82506
82632
  //#endregion
82507
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SearchBox.js
82633
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SearchBox.js
82508
82634
  /**
82509
82635
  * Window a single-line query around the caret so the visible slice fits
82510
82636
  * `avail` display cells (CJK display width, code-point safe — `[...s]`
@@ -82642,7 +82768,7 @@ function SearchBox({ query, placeholder = "Search…", isFocused, isTerminalFocu
82642
82768
  });
82643
82769
  }
82644
82770
  //#endregion
82645
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionListRow.js
82771
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionListRow.js
82646
82772
  /**
82647
82773
  * One session in the browser's list: a title line and a metadata line.
82648
82774
  *
@@ -82723,7 +82849,7 @@ function SessionListRow({ session, width, depth, focused, pinned, now, onClick,
82723
82849
  });
82724
82850
  }
82725
82851
  //#endregion
82726
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionPreview.js
82852
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionPreview.js
82727
82853
  /** Role marker and colour for a preview entry. */
82728
82854
  const ROLE = {
82729
82855
  user: {
@@ -82814,7 +82940,7 @@ function SessionPreview({ session, entries, loading, width, height, home, now })
82814
82940
  });
82815
82941
  }
82816
82942
  //#endregion
82817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/sessions/WorkspaceListRow.js
82943
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/WorkspaceListRow.js
82818
82944
  /** One two-line working-directory choice in the /resume browser. */
82819
82945
  function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width, focused, selected, home, now, onClick }) {
82820
82946
  const [hovered, setHovered] = (0, import_react.useState)(false);
@@ -82859,7 +82985,7 @@ function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width,
82859
82985
  });
82860
82986
  }
82861
82987
  //#endregion
82862
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/sessionPins.js
82988
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionPins.js
82863
82989
  /**
82864
82990
  * Pinned sessions for the `/resume` browser, kept at
82865
82991
  * `~/.chatcode-cli/tui/session-pins.json` (a JSON array of session ids) so the pins
@@ -83008,7 +83134,7 @@ function setSessionPinned(id, pinned, dir = DATA_DIR) {
83008
83134
  }
83009
83135
  }
83010
83136
  //#endregion
83011
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/SessionBrowser.js
83137
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionBrowser.js
83012
83138
  /**
83013
83139
  * Rows the layout cannot do without: the header, the four-row scope/search
83014
83140
  * card, the notice slot, and the hints. Everything else yields before these.
@@ -84008,7 +84134,7 @@ function SessionBrowser({ channel, home, sameProject, onClose }) {
84008
84134
  });
84009
84135
  }
84010
84136
  //#endregion
84011
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/SessionTree.js
84137
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionTree.js
84012
84138
  /** Local HH:MM (or MM/DD HH:MM when older than this year). */
84013
84139
  function formatTime(at, now) {
84014
84140
  const date = new Date(at);
@@ -84764,7 +84890,7 @@ function PreviewPane({ entry, meta, width, height, liveSessionId, now, compact }
84764
84890
  });
84765
84891
  }
84766
84892
  //#endregion
84767
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/Settings.js
84893
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Settings.js
84768
84894
  /** Pick the provider-owned translation for the active language. */
84769
84895
  function pick(text, descriptions) {
84770
84896
  return descriptions?.[getLang()] ?? text;
@@ -85589,7 +85715,7 @@ function Settings({ channel, onClose, initialGroup }) {
85589
85715
  });
85590
85716
  }
85591
85717
  //#endregion
85592
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/WorkspacePicker.js
85718
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspacePicker.js
85593
85719
  const WINDOW$1 = 8;
85594
85720
  /** `/workspace` target picker contributed by local and optional providers. */
85595
85721
  function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
@@ -85627,7 +85753,7 @@ function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
85627
85753
  });
85628
85754
  }
85629
85755
  //#endregion
85630
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/Select.js
85756
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Select.js
85631
85757
  /**
85632
85758
  * A single-choice select list in the CC CustomSelect style (ported visual:
85633
85759
  * ListItem rows with ❯ focus pointer, ✓ selected checkmark, descriptions,
@@ -85654,7 +85780,7 @@ function Select({ options, focusIndex, selectedValue, visibleOptionCount = 5, on
85654
85780
  });
85655
85781
  }
85656
85782
  //#endregion
85657
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceMenuPicker.js
85783
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceMenuPicker.js
85658
85784
  /**
85659
85785
  * Bare `/workspace` action menu: the built-in subcommands (resume / rename /
85660
85786
  * open) plus any dynamically registered workspace extensions. Enter runs the
@@ -85695,7 +85821,7 @@ function WorkspaceMenuPicker({ options, focusIndex, onPick }) {
85695
85821
  });
85696
85822
  }
85697
85823
  //#endregion
85698
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceFlowPicker.js
85824
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceFlowPicker.js
85699
85825
  const WINDOW = 8;
85700
85826
  /** Generic nested choice surface returned by a workspace provider command. */
85701
85827
  function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input = null, onPick }) {
@@ -85753,7 +85879,7 @@ function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input =
85753
85879
  });
85754
85880
  }
85755
85881
  //#endregion
85756
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ActivityPicker.js
85882
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityPicker.js
85757
85883
  /**
85758
85884
  * Working-activity indicator picker in the CC ModelPicker style (ported
85759
85885
  * from the pi extension's `/activity` interactive select): a
@@ -85795,7 +85921,7 @@ function ActivityPicker({ focusIndex, currentPreset, onPick }) {
85795
85921
  });
85796
85922
  }
85797
85923
  //#endregion
85798
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ColorPicker.js
85924
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ColorPicker.js
85799
85925
  /**
85800
85926
  * Session accent color picker (bare `/color`): a permission-colored Pane
85801
85927
  * listing the whole palette with a colored swatch per row, `❯` focus
@@ -85839,7 +85965,7 @@ function ColorPicker({ focusIndex, currentColor, onPick }) {
85839
85965
  });
85840
85966
  }
85841
85967
  //#endregion
85842
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/EffortSlider.js
85968
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortSlider.js
85843
85969
  /**
85844
85970
  * Reasoning-effort slider (`/effort`): a rheostat row of the live route's
85845
85971
  * adapter-owned levels in adapter order, ←/→ moving focus (each move applies
@@ -85898,7 +86024,7 @@ function EffortSlider({ options, focusIndex, currentId, onPick }) {
85898
86024
  });
85899
86025
  }
85900
86026
  //#endregion
85901
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PresetPicker.js
86027
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PresetPicker.js
85902
86028
  /**
85903
86029
  * Agent-preset picker (issue #8) in the CC ModelPicker style — same chrome
85904
86030
  * as the ActivityPicker: a permission-colored Pane listing every roster
@@ -85942,7 +86068,7 @@ function PresetPicker({ presets, focusIndex, currentPreset, onPick }) {
85942
86068
  });
85943
86069
  }
85944
86070
  //#endregion
85945
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PermissionsPicker.js
86071
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PermissionsPicker.js
85946
86072
  /**
85947
86073
  * `/permission` sandbox-preset picker. The command itself is registered by
85948
86074
  * the harness side (dsh-sandbox-policy / dsh-base permission-presets row);
@@ -85989,7 +86115,7 @@ function PermissionsPicker({ options, focusIndex, currentValue, cwd, onPick }) {
85989
86115
  });
85990
86116
  }
85991
86117
  //#endregion
85992
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/PlanPicker.js
86118
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PlanPicker.js
85993
86119
  /**
85994
86120
  * `/plan` on/off picker. The command itself is registered by dsh-plan-mode
85995
86121
  * on the harness side; bare `/plan` opens this picker (with the current
@@ -86034,7 +86160,7 @@ function PlanPicker({ focusIndex, currentOn, onPick }) {
86034
86160
  });
86035
86161
  }
86036
86162
  //#endregion
86037
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/LangPicker.js
86163
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LangPicker.js
86038
86164
  /**
86039
86165
  * `/lang` en/zh picker: bare `/lang` opens this picker (the current language
86040
86166
  * marked) and Enter applies the choice through the same path as `/lang <id>`.
@@ -86073,7 +86199,7 @@ function LangPicker({ focusIndex, currentLang, onPick }) {
86073
86199
  });
86074
86200
  }
86075
86201
  //#endregion
86076
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ThemePicker.js
86202
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThemePicker.js
86077
86203
  /** One double-block swatch character per preview key, in a row. */
86078
86204
  const SWATCH = "██";
86079
86205
  /** Theme keys previewed in the picker, chosen for visual contrast. */
@@ -86159,7 +86285,7 @@ function ThemePicker({ focusIndex, currentTheme, themeHost, onPick }) {
86159
86285
  });
86160
86286
  }
86161
86287
  //#endregion
86162
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ThinkingToggle.js
86288
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThinkingToggle.js
86163
86289
  /**
86164
86290
  * The `/thinking` display dialog: a permission-colored Pane with a bold
86165
86291
  * title, the Shown/Hidden select, and the Enter/Esc hint line.
@@ -86208,7 +86334,7 @@ function ThinkingToggle({ currentValue, focusIndex, onPick }) {
86208
86334
  });
86209
86335
  }
86210
86336
  //#endregion
86211
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/HistorySearchDialog.js
86337
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HistorySearchDialog.js
86212
86338
  /**
86213
86339
  * The ctrl+r history search dialog, in the shape of Claude Code's
86214
86340
  * HistorySearchDialog/FuzzyPicker: a permission-colored Pane with a bold
@@ -86271,7 +86397,7 @@ function formatRelativeAge(ts) {
86271
86397
  return t("time-days-ago", { n: Math.floor(elapsed / 864e5) });
86272
86398
  }
86273
86399
  //#endregion
86274
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/RewindPicker.js
86400
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RewindPicker.js
86275
86401
  /**
86276
86402
  * Double-Esc rewind picker (CC's "Double-tap esc to rewind the code and/or
86277
86403
  * conversation to a previous point in time"): lists the user's past messages
@@ -86408,7 +86534,7 @@ function preview(text) {
86408
86534
  return flat.length <= 80 ? flat : `${flat.slice(0, 80)}…`;
86409
86535
  }
86410
86536
  //#endregion
86411
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/BtwPanel.js
86537
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/BtwPanel.js
86412
86538
  /**
86413
86539
  * /btw side-question panel (CC's btw.tsx, inline-pane form like the local
86414
86540
  * pickers): title line with the question, a scrollable answer body (error /
@@ -86492,7 +86618,7 @@ function BtwPanel({ question, answer, error, streaming, onClose, onCopy }) {
86492
86618
  });
86493
86619
  }
86494
86620
  //#endregion
86495
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ReleaseNotesPanel.js
86621
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ReleaseNotesPanel.js
86496
86622
  function ReleaseNotesPanel({ release, onClose }) {
86497
86623
  const scrollRef = import_react.useRef(null);
86498
86624
  const { rows } = useTerminalSize();
@@ -86537,7 +86663,7 @@ function ReleaseNotesPanel({ release, onClose }) {
86537
86663
  });
86538
86664
  }
86539
86665
  //#endregion
86540
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/RecapPanel.js
86666
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RecapPanel.js
86541
86667
  /**
86542
86668
  * `/recap` panel (pi-recap semantics), in the picker/dialog visual
86543
86669
  * language: a permission-colored Pane with a title bar (会话回顾), a
@@ -86658,7 +86784,7 @@ function RecapPanel({ summary, title, error, streaming, titleApplied, onClose, o
86658
86784
  });
86659
86785
  }
86660
86786
  //#endregion
86661
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/tips.js
86787
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tips.js
86662
86788
  /**
86663
86789
  * 精简 Tips 池 —— 启动首屏轮换(LogoV2)与 `/tips` 命令面板共用。
86664
86790
  *
@@ -87372,7 +87498,7 @@ const TIPS = [
87372
87498
  }
87373
87499
  ];
87374
87500
  //#endregion
87375
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/TipsPanel.js
87501
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TipsPanel.js
87376
87502
  const GROUP_ORDER = [
87377
87503
  "keys",
87378
87504
  "commands",
@@ -87451,7 +87577,7 @@ function TipsPanel({ onClose }) {
87451
87577
  });
87452
87578
  }
87453
87579
  //#endregion
87454
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SubagentCard.js
87580
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentCard.js
87455
87581
  function formatDuration$1(ms) {
87456
87582
  const seconds = Math.floor(ms / 1e3);
87457
87583
  return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m${seconds % 60}s`;
@@ -87506,7 +87632,7 @@ function SubagentCard({ subagent, focused, onClick }) {
87506
87632
  });
87507
87633
  }
87508
87634
  //#endregion
87509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDashboard.js
87635
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDashboard.js
87510
87636
  /** 可点击 ✕ 退出按钮:整屏/浮层场景的鼠标退出通道(Esc 等价)。 */
87511
87637
  function ExitButton({ onClick }) {
87512
87638
  const [hovered, setHovered] = import_react.useState(false);
@@ -87654,7 +87780,7 @@ function SubagentDashboard({ subagents, onClose, onSelect }) {
87654
87780
  });
87655
87781
  }
87656
87782
  //#endregion
87657
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/JobsPanel.js
87783
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/JobsPanel.js
87658
87784
  function statusInfo(status) {
87659
87785
  const minimal = isMinimalMode();
87660
87786
  switch (status) {
@@ -87942,7 +88068,7 @@ function JobsPanel({ jobs, onClose, onKill }) {
87942
88068
  });
87943
88069
  }
87944
88070
  //#endregion
87945
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDetailScene.js
88071
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDetailScene.js
87946
88072
  function formatDuration(ms) {
87947
88073
  if (ms < 1e3) return `${ms}ms`;
87948
88074
  if (ms < 6e4) return `${(ms / 1e3).toFixed(1)}s`;
@@ -88412,7 +88538,7 @@ function FileActionsPanel({ path, isDir, focusIndex, onPick }) {
88412
88538
  });
88413
88539
  }
88414
88540
  //#endregion
88415
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/ProductivityPickers.js
88541
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ProductivityPickers.js
88416
88542
  function oneLine(text, max = 70) {
88417
88543
  const compact = text.replace(/\s+/gu, " ").trim();
88418
88544
  return compact.length > max ? `${compact.slice(0, max - 1)}…` : compact;
@@ -88504,7 +88630,7 @@ function DiffLoading() {
88504
88630
  });
88505
88631
  }
88506
88632
  //#endregion
88507
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/productivityCommands.js
88633
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/productivityCommands.js
88508
88634
  /** `/copy` argument is a one-based reply age; omission selects the latest. */
88509
88635
  function parseCopyIndex(raw, count) {
88510
88636
  const value = raw.trim();
@@ -88557,7 +88683,7 @@ function gitDiffLines(report, labels) {
88557
88683
  ];
88558
88684
  }
88559
88685
  //#endregion
88560
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/sessionOrganizationCommands.js
88686
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sessionOrganizationCommands.js
88561
88687
  /** Compact duration suitable for a terminal report row. */
88562
88688
  function formatStatsDuration(ms) {
88563
88689
  if (ms < 1e3) return `${Math.round(ms)} ms`;
@@ -88603,7 +88729,7 @@ function parsePresetManagement(input) {
88603
88729
  return { kind: "invalid" };
88604
88730
  }
88605
88731
  //#endregion
88606
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/workflowCommands.js
88732
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workflowCommands.js
88607
88733
  const ALIASES = {
88608
88734
  map: "inspect",
88609
88735
  fixit: "repair",
@@ -88658,7 +88784,7 @@ function buildWorkflowCommand(name, rawInput = "") {
88658
88784
  };
88659
88785
  }
88660
88786
  //#endregion
88661
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/utils/urlGuard.js
88787
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/urlGuard.js
88662
88788
  const EXTERNAL_SCHEME = /^https?:\/\//i;
88663
88789
  /**
88664
88790
  * Classify a clicked link target. Mirrors the previous handleOpenTarget
@@ -88683,7 +88809,7 @@ function classifyOpenTarget(url) {
88683
88809
  return { kind: "rejected" };
88684
88810
  }
88685
88811
  //#endregion
88686
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/hooks/useExternalVersion.js
88812
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useExternalVersion.js
88687
88813
  /**
88688
88814
  * Subscribe to an external store's version counter at DEFAULT lane.
88689
88815
  *
@@ -88732,7 +88858,7 @@ function useExternalVersion(subscribe, getVersion, enabled = true) {
88732
88858
  return version;
88733
88859
  }
88734
88860
  //#endregion
88735
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/WaveBand.js
88861
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/WaveBand.js
88736
88862
  /**
88737
88863
  * The wake — the whole session drawn as one row of glyphs.
88738
88864
  *
@@ -88869,7 +88995,7 @@ function toHex(colour) {
88869
88995
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
88870
88996
  }
88871
88997
  //#endregion
88872
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Ledger.js
88998
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Ledger.js
88873
88999
  /**
88874
89000
  * The ledger — one line per event, columns aligned across every row.
88875
89001
  *
@@ -89115,7 +89241,7 @@ function Ledger({ rows, start, height, cursor, width, tick, arrivalTick, arrival
89115
89241
  });
89116
89242
  }
89117
89243
  //#endregion
89118
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Inspector.js
89244
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Inspector.js
89119
89245
  /**
89120
89246
  * The inspector — full detail for the focused row, in a fixed-height slot.
89121
89247
  *
@@ -89221,7 +89347,7 @@ function Inspector({ node, detail, height, width, expanded, scroll }) {
89221
89347
  });
89222
89348
  }
89223
89349
  //#endregion
89224
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/HotspotView.js
89350
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/HotspotView.js
89225
89351
  /**
89226
89352
  * The hotspot view — the session ranked by cost instead of ordered by time.
89227
89353
  *
@@ -89384,7 +89510,7 @@ function HotspotView({ agg, sort, width, height, cursor, tick, switchTick, onRow
89384
89510
  });
89385
89511
  }
89386
89512
  //#endregion
89387
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/trajectory/query.js
89513
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/query.js
89388
89514
  /**
89389
89515
  * Trajectory query — whole-session structured filtering.
89390
89516
  *
@@ -89580,7 +89706,7 @@ function applyQuery(nodes, query) {
89580
89706
  };
89581
89707
  }
89582
89708
  //#endregion
89583
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/TrajectoryScene.js
89709
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/TrajectoryScene.js
89584
89710
  /**
89585
89711
  * The trajectory scene — the session's own screen.
89586
89712
  *
@@ -90068,7 +90194,7 @@ function TrajectoryScene({ channel, build, onClose }) {
90068
90194
  });
90069
90195
  }
90070
90196
  //#endregion
90071
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/LoadedContextScene.js
90197
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/LoadedContextScene.js
90072
90198
  /** Build the non-empty pages shown by the loaded-context inspector. */
90073
90199
  function contextPages(context) {
90074
90200
  const pages = [];
@@ -90252,7 +90378,7 @@ function LoadedContextScene({ context, onClose }) {
90252
90378
  });
90253
90379
  }
90254
90380
  //#endregion
90255
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/AgentView.js
90381
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/AgentView.js
90256
90382
  /** Rows the layout cannot do without: header, model/cwd line, dispatch
90257
90383
  * input, hints. */
90258
90384
  const MANDATORY_LINES = 4;
@@ -90861,7 +90987,7 @@ function AgentView({ channel, home, approval, onApprove, returnSessionId, onClos
90861
90987
  });
90862
90988
  }
90863
90989
  //#endregion
90864
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/trajectoryPrefs.js
90990
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectoryPrefs.js
90865
90991
  /**
90866
90992
  * Persisted "the user has seen the trajectory" flag, at
90867
90993
  * `~/.chatcode-cli/tui/trajectory.json`.
@@ -90921,7 +91047,7 @@ function writeTrajectorySeen(dir = DATA_DIR) {
90921
91047
  }
90922
91048
  }
90923
91049
  //#endregion
90924
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/chatOverlay.js
91050
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/chatOverlay.js
90925
91051
  const NO_OVERLAY = { kind: "none" };
90926
91052
  /**
90927
91053
  * One-step wrap-around cursor move — the single source of the wrapping rule
@@ -91031,7 +91157,7 @@ function dialogOverlayVisible(overlay, gates) {
91031
91157
  }
91032
91158
  }
91033
91159
  //#endregion
91034
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/screens/Chat.js
91160
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Chat.js
91035
91161
  const LOGOUT_EXIT_DELAY_MS = 200;
91036
91162
  /** Shared empty snapshot for hosts whose channel has no event log. */
91037
91163
  const NO_EVENTS = [];
@@ -94856,7 +94982,7 @@ function ModelPickerLoading() {
94856
94982
  });
94857
94983
  }
94858
94984
  //#endregion
94859
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/webLauncher.js
94985
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/webLauncher.js
94860
94986
  const MAIN_CLI_PACKAGE = "@chatcode/chatcode-cli";
94861
94987
  function asError(value) {
94862
94988
  return value instanceof Error ? value : new Error(String(value));
@@ -95012,7 +95138,7 @@ function launchWebFrontend(cwd, options = {}) {
95012
95138
  }
95013
95139
  }
95014
95140
  //#endregion
95015
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/inject-channel.js
95141
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/inject-channel.js
95016
95142
  /**
95017
95143
  * External injection channel — lets an out-of-process editor integration
95018
95144
  * (e.g. the `dsh.nvim` Neovim plugin) push text into the running TUI's
@@ -95207,7 +95333,7 @@ function openInjectChannel(sessionId, cwd, handlers, onError) {
95207
95333
  };
95208
95334
  }
95209
95335
  //#endregion
95210
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-auth.js
95336
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-auth.js
95211
95337
  const CHATCODE_CLI_OAUTH_TOKEN = "CHATCODE_CLI_OAUTH_TOKEN";
95212
95338
  const DEFAULT_SERVICE_WAIT_MS = 75e3;
95213
95339
  function authService(ctx) {
@@ -95381,7 +95507,7 @@ async function requireChatCodeStartupLogin(ctx, options) {
95381
95507
  return "ready";
95382
95508
  }
95383
95509
  //#endregion
95384
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-api.js
95510
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-api.js
95385
95511
  /** Bind authenticated statistics requests to one TUI lifetime. */
95386
95512
  function createChatCodeAuthorizedPost(ctx) {
95387
95513
  const lifetime = new AbortController();
@@ -95420,7 +95546,7 @@ function createChatCodeAuthorizedPost(ctx) {
95420
95546
  };
95421
95547
  }
95422
95548
  //#endregion
95423
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin.js
95549
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.25_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin.js
95424
95550
  /**
95425
95551
  * Interactive TUI front door for ChatCode CLI agents.
95426
95552
  *