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

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 (34) hide show
  1. package/README.md +2 -0
  2. package/README.zh.md +2 -0
  3. package/lib/{command-errors-CsRCh0gk.js → command-errors-Dy38dE7J.js} +12 -12
  4. package/lib/{command-trees-CD_43rxX.js → command-trees-CyZU9OgJ.js} +2 -2
  5. package/lib/{component-identity-DGA2-TeB.js → component-identity-DXrrXp1z.js} +3 -3
  6. package/lib/{extension-events-D0BjYRqT.js → extension-events-DGLD0QXk.js} +20 -20
  7. package/lib/{host-access-DLJjuR07.js → host-access-DXxSOjq9.js} +1 -1
  8. package/lib/{keymap-C4cs2IBN.js → keymap-BfegLkpv.js} +2 -2
  9. package/lib/{plugin-CGtTByud.js → plugin-BOeJiplQ.js} +623 -569
  10. package/lib/{scenes-CbAGK5Uy.js → scenes-CMbv2mIB.js} +3 -3
  11. package/lib/{settings-sections-DYKDa04e.js → settings-sections-iiyY7jD8.js} +3 -3
  12. package/lib/{statusBarSettings-T1m8xad4.js → statusBarSettings-BSQLLAKO.js} +3 -3
  13. package/lib/{themes-BY2ui1Dv.js → themes-DwpCTrf5.js} +12 -12
  14. package/lib/tui-compat-command-trees.js +1 -1
  15. package/lib/tui-compat-extensions.js +3 -3
  16. package/lib/tui-compat-plugin-host.js +5 -5
  17. package/lib/tui-compat-scenes.js +1 -1
  18. package/lib/tui-compat-settings-sections.js +1 -1
  19. package/lib/tui-compat-working-activity.js +1 -1
  20. package/lib/tui-compat-workspaces.js +1 -1
  21. package/lib/tui-compat.js +5 -5
  22. package/lib/{workspaces-D5VKbESy.js → workspaces-D1_eegCv.js} +2 -2
  23. package/package.json +33 -33
  24. package/runtime/manifest.json +1 -1
  25. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +19 -19
  26. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +86 -2
  27. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +19 -19
  28. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +19 -19
  29. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +31 -0
  30. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +81 -0
  31. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +20 -2
  32. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  33. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  34. 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-T1m8xad4.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-C4cs2IBN.js";
4
- import { c as withHostRootCapability } from "./host-access-DLJjuR07.js";
5
- import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-D5VKbESy.js";
6
- import { n as getHostCommandTrees } from "./command-trees-CD_43rxX.js";
7
- import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-DYKDa04e.js";
8
- import { n as getHostSceneRuntime } from "./scenes-CbAGK5Uy.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-D0BjYRqT.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-CsRCh0gk.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-BY2ui1Dv.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";
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sideQuestion.js
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
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/recap.js
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
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/log.js
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
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/update-overflow-guard.js
1395
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_patch_hash=2bd0954ee58a1ef28c589c9110366e2ee36e13c10f316_4a63a887e34dadc12f889ca405477528/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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/sessionColors.js
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
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/deepseekPricing.js
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
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.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/i18n.js
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
1599
1599
  /**
1600
1600
  * dsh-tui localization — UI strings for Chinese (`zh`, the default) and
1601
1601
  * English (`en`).
@@ -5234,6 +5234,14 @@ const dict = {
5234
5234
  zh: "返回",
5235
5235
  en: "back"
5236
5236
  },
5237
+ "subagent-interrupt-requested": {
5238
+ zh: "已请求中断,等待任务结束;Esc 可返回。",
5239
+ en: "Interrupt requested; waiting for the task to stop. Esc returns."
5240
+ },
5241
+ "subagent-interrupt-unavailable": {
5242
+ zh: "当前子代理无法中断;Esc 可返回。",
5243
+ en: "This subagent cannot be interrupted. Esc returns."
5244
+ },
5237
5245
  "subagent-empty-hint": {
5238
5246
  zh: "让主代理发起 Task 后,子代理会出现在这里",
5239
5247
  en: "Subagents appear here once the main agent starts Task delegations"
@@ -6544,7 +6552,7 @@ function resolveStartupLang(dir = PREFS_DIR$6, env = process.env) {
6544
6552
  return readLangPref(dir) ?? "zh";
6545
6553
  }
6546
6554
  //#endregion
6547
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/commands.js
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
6548
6556
  /**
6549
6557
  * Local slash commands for the dsh-tui TUI. Claude Code's command system is
6550
6558
  * deeply wired into its engine; dsh-tui ships a small built-in set with the
@@ -7018,7 +7026,7 @@ function matchingCompletionToken(candidate, prefix) {
7018
7026
  return candidate.aliases?.find((alias) => alias.toLowerCase().startsWith(prefix));
7019
7027
  }
7020
7028
  //#endregion
7021
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionHistory.js
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
7022
7030
  /**
7023
7031
  * Launcher contract for `dsh-tui --resume`: the TUI writes the chosen session
7024
7032
  * id to `<CHATCODE_CLI_HOME>/tui/resume.txt`, and the launcher feeds it back as
@@ -7185,7 +7193,7 @@ function forgetAgentViewSession(sessionId) {
7185
7193
  } catch {}
7186
7194
  }
7187
7195
  //#endregion
7188
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionTags.js
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
7189
7197
  /**
7190
7198
  * One searchable local tag per persisted session.
7191
7199
  *
@@ -7335,7 +7343,7 @@ function forgetSessionTag(sessionId, dir = DATA_DIR) {
7335
7343
  return setSessionTag(sessionId, void 0, dir).ok;
7336
7344
  }
7337
7345
  //#endregion
7338
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/liveSession.js
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
7339
7347
  /**
7340
7348
  * Live Session compatibility facade.
7341
7349
  *
@@ -7497,7 +7505,7 @@ function liveSessionCreateOptions(request) {
7497
7505
  };
7498
7506
  }
7499
7507
  //#endregion
7500
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionLog.js
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
7501
7509
  /**
7502
7510
  * Legacy third-party session-event types the TUI vouches for as ephemeral
7503
7511
  * UI frames — safe for the strict read path to accept and skip. Exported
@@ -8189,7 +8197,7 @@ function appendSessionTitle(sessionId, title) {
8189
8197
  }
8190
8198
  }
8191
8199
  //#endregion
8192
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/sessionEvent.js
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
8193
8201
  /** Narrow an unknown/session event to the retired durable chunk envelope. */
8194
8202
  function legacyAssistantChunkOf(event) {
8195
8203
  if (event === null || typeof event !== "object") return void 0;
@@ -8203,7 +8211,7 @@ function legacyAssistantChunkOf(event) {
8203
8211
  return event;
8204
8212
  }
8205
8213
  //#endregion
8206
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compaction.js
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
8207
8215
  /**
8208
8216
  * Recognize both the current checkpoint source and the legacy plugin marker.
8209
8217
  * Harness session format v4 migrated `plugin/compact` to the dedicated
@@ -8214,7 +8222,7 @@ function isCompactionCheckpointSource(source) {
8214
8222
  return source.kind === "compact-checkpoint" || source.kind === "plugin" && source.plugin === "compact";
8215
8223
  }
8216
8224
  //#endregion
8217
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessionTree.js
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
8218
8226
  const TREE_FILTERS = [
8219
8227
  "default",
8220
8228
  "no-tools",
@@ -10370,7 +10378,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10370
10378
  module.exports = subset;
10371
10379
  }));
10372
10380
  //#endregion
10373
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/shellQuote.js
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
10374
10382
  var import_semver = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
10375
10383
  const internalRe = require_re();
10376
10384
  const constants = require_constants$1();
@@ -10463,7 +10471,7 @@ function cmdEscapeArgument(arg, doubleEscapeMetaChars = false) {
10463
10471
  return out;
10464
10472
  }
10465
10473
  //#endregion
10466
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/update.js
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
10467
10475
  const PACKAGE_NAME = "@chatcode/cco-tui";
10468
10476
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
10469
10477
  const GITHUB_REPO = "ccch1mneyyy/dsh-TUI";
@@ -11814,7 +11822,7 @@ async function restartTui(sessionId, options = {}) {
11814
11822
  });
11815
11823
  }
11816
11824
  //#endregion
11817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/header.js
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
11818
11826
  /** A finite number, or undefined for anything else (NaN and ±Infinity included). */
11819
11827
  function finiteNumber(value) {
11820
11828
  return typeof value === "number" && Number.isFinite(value) ? value : void 0;
@@ -11888,7 +11896,7 @@ function classify(header) {
11888
11896
  return { kind: "root" };
11889
11897
  }
11890
11898
  //#endregion
11891
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/frames.js
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
11892
11900
  /**
11893
11901
  * Bounded reads over the JSONL backend's concatenated-Zstandard session logs.
11894
11902
  *
@@ -12134,7 +12142,7 @@ function decodeTail(window) {
12134
12142
  return decodeFrames(window.buffer, window.whole ? walkFrames(window.buffer) : resyncFrames(window.buffer));
12135
12143
  }
12136
12144
  //#endregion
12137
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/digest.js
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
12138
12146
  /**
12139
12147
  * What a bounded read can learn about a session log.
12140
12148
  *
@@ -12617,7 +12625,7 @@ function previewSession(path, limit) {
12617
12625
  return entries.slice(-limit);
12618
12626
  }
12619
12627
  //#endregion
12620
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/artifact.js
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
12621
12629
  /** Read-only artifact lookup for session summaries and previews. */
12622
12630
  /** Highest published compressed generation; temporary migration files are ignored. */
12623
12631
  function inDirectory(directory) {
@@ -12670,7 +12678,7 @@ function findSessionArtifact(sessionId, target) {
12670
12678
  }
12671
12679
  }
12672
12680
  //#endregion
12673
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/store.js
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
12674
12682
  /**
12675
12683
  * The session index — a local cache keyed by the backend's own change token.
12676
12684
  *
@@ -12834,7 +12842,7 @@ function noteBranch(sessionId, branch) {
12834
12842
  writeIndex(index);
12835
12843
  }
12836
12844
  //#endregion
12837
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/list.js
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
12838
12846
  /**
12839
12847
  * Building the session list.
12840
12848
  *
@@ -13115,7 +13123,7 @@ async function locateSession(source, sessionId, signal) {
13115
13123
  return match === void 0 ? void 0 : locate$1(source, match.raw, sessionId);
13116
13124
  }
13117
13125
  //#endregion
13118
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/agent-view.js
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
13119
13127
  /**
13120
13128
  * Agent view (CC `claude agents`) derivation helpers — pure functions over
13121
13129
  * session events that the channel folds into {@link AgentViewRow}s. Kept in
@@ -13345,7 +13353,7 @@ function featureOn(config, name) {
13345
13353
  return config.mode !== "minimal";
13346
13354
  }
13347
13355
  //#endregion
13348
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/activityPrefs.js
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
13349
13357
  /**
13350
13358
  * Persisted working-activity indicator preference, mirroring the pi
13351
13359
  * working-activity extension's `~/.pi/agent/working-activity.json`
@@ -13414,7 +13422,7 @@ function writeActivityFrames(name, dir = PREFS_DIR$5) {
13414
13422
  }
13415
13423
  }
13416
13424
  //#endregion
13417
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileSuggestions.js
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
13418
13426
  const pathSeparators = /[\\/]/;
13419
13427
  function isPathLikeQuery(query) {
13420
13428
  return query.startsWith(".") || query.startsWith("~") || query.startsWith("/") || /^[A-Za-z]:[\\/]/.test(query) || pathSeparators.test(query);
@@ -13437,7 +13445,7 @@ function rankFileCandidates(candidates, query, topK) {
13437
13445
  return topK === void 0 ? ranked : ranked.slice(0, Math.max(0, topK));
13438
13446
  }
13439
13447
  //#endregion
13440
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/effortPrefs.js
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
13441
13449
  /**
13442
13450
  * Persisted reasoning-effort preference (`~/.chatcode-cli/tui/effort.json`). Set via
13443
13451
  * `/effort` (slider or `/effort <id>`; `/effort status` reports the current
@@ -13479,7 +13487,7 @@ function writeEffortPref(effort, dir = PREFS_DIR$4) {
13479
13487
  }
13480
13488
  }
13481
13489
  //#endregion
13482
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelPrefs.js
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
13483
13491
  /**
13484
13492
  * Persisted model-route preference (`/model` picker choice), kept at
13485
13493
  * `~/.chatcode-cli/model.json` (`provider` + `model` keys) so CLI and Web share it
@@ -13562,7 +13570,7 @@ function writeModelPref(provider, model, dir = PREFS_DIR$3) {
13562
13570
  }
13563
13571
  }
13564
13572
  //#endregion
13565
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/modelRoute.js
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
13566
13574
  /**
13567
13575
  * Model route resolution (issue #67). The `(provider, model)` pair is a
13568
13576
  * single value: every source either supplies the WHOLE route or is skipped,
@@ -13797,7 +13805,7 @@ function orderModelProviders(providers) {
13797
13805
  return [...providers].sort((left, right) => rank(left.id) - rank(right.id));
13798
13806
  }
13799
13807
  //#endregion
13800
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelSettings.js
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
13801
13809
  /** Custom-model forms over the same settings and credential services used by Web. */
13802
13810
  function record(value) {
13803
13811
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -13999,7 +14007,7 @@ function createCustomModelSettingsStore(path, host) {
13999
14007
  };
14000
14008
  }
14001
14009
  //#endregion
14002
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/customModelTest.js
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
14003
14011
  /** Direct, one-shot generation used by `/model-config` before a model is registered. */
14004
14012
  function requestEndpoint(baseURL, api) {
14005
14013
  const url = new URL(baseURL);
@@ -14088,7 +14096,7 @@ async function testCustomModelConnection(request, fetchImpl = fetch) {
14088
14096
  }
14089
14097
  }
14090
14098
  //#endregion
14091
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/catalogDefaults.js
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
14092
14100
  /** Read display defaults from the host adapter's own installed pi-ai catalog. */
14093
14101
  const catalogs = /* @__PURE__ */ new Map();
14094
14102
  async function installedCatalog(anchor) {
@@ -14135,7 +14143,7 @@ async function catalogProviderDefaults(provider, model, anchor = import.meta.url
14135
14143
  };
14136
14144
  }
14137
14145
  //#endregion
14138
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/presetPrefs.js
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
14139
14147
  /**
14140
14148
  * Persisted agent-preset preference (`/preset` picker choice), kept at
14141
14149
  * `~/.chatcode-cli/tui/agent-preset.json` (`preset` key) so the choice survives
@@ -14194,7 +14202,7 @@ function migratePresetPref(requested, resolved, dir = PREFS_DIR$2) {
14194
14202
  return requested === void 0 || resolved === void 0 || requested === resolved ? true : writePresetPref(resolved, dir);
14195
14203
  }
14196
14204
  //#endregion
14197
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/compat/persistedSession.js
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
14198
14206
  /** Undefined means the service exposes neither supported read API. */
14199
14207
  async function readPersistedSession(persistence, id) {
14200
14208
  if (persistence === null || typeof persistence !== "object") return void 0;
@@ -14214,7 +14222,7 @@ async function readPersistedSession(persistence, id) {
14214
14222
  if (typeof reader.load === "function") return reader.load(id);
14215
14223
  }
14216
14224
  //#endregion
14217
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-resolution.js
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
14218
14226
  /**
14219
14227
  * Agent-preset resolution across upstream prerelease lines.
14220
14228
  *
@@ -14252,7 +14260,7 @@ async function resolveCompatiblePreset(presets, requested) {
14252
14260
  return presets.resolve(requested);
14253
14261
  }
14254
14262
  //#endregion
14255
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/presets.js
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
14256
14264
  /**
14257
14265
  * Agent-presets roster integration (issue #8): compose each session's
14258
14266
  * model-facing world (tools, prompt sections, projections) from one preset
@@ -14402,7 +14410,47 @@ function serviceForAgent(ctx, agent, key) {
14402
14410
  return ctx.get(key);
14403
14411
  }
14404
14412
  //#endregion
14405
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
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
14414
+ /**
14415
+ * Interrupt a child visible to the current parent without disposing its session.
14416
+ * One-shot local agents use their cancellation method; continuable agents use
14417
+ * the runtime so its queued work remains parked. Service lookup failures are
14418
+ * contained here because this function runs inside a terminal input callback.
14419
+ * @returns Whether the Host accepted an interruption request; settlement is asynchronous.
14420
+ */
14421
+ function interruptSubagent(ctx, parent, id) {
14422
+ try {
14423
+ const agents = serviceForAgent(ctx, parent, "agents");
14424
+ const target = agents?.get(SessionId(id));
14425
+ if (target === void 0) return false;
14426
+ let ancestor = target.session.header.parentSession;
14427
+ const seen = new Set([String(target.id)]);
14428
+ while (ancestor !== void 0 && ancestor !== parent.session.id) {
14429
+ if (seen.has(String(ancestor))) return false;
14430
+ seen.add(String(ancestor));
14431
+ ancestor = agents?.get(ancestor)?.session.header.parentSession;
14432
+ }
14433
+ if (ancestor !== parent.session.id) return false;
14434
+ if (!snapshotLiveSessionEvents(target.session).some((event) => {
14435
+ const record = event;
14436
+ return record.type === "subagent/descriptor" && record.data.mode === "continuable";
14437
+ })) {
14438
+ target.cancel({ kind: "user" });
14439
+ return true;
14440
+ }
14441
+ const runtime = serviceForAgent(ctx, parent, "subagents");
14442
+ if (runtime === void 0) return false;
14443
+ runtime.interrupt(SessionId(id), {
14444
+ kind: "ancestor",
14445
+ agent: parent
14446
+ });
14447
+ return true;
14448
+ } catch {
14449
+ return false;
14450
+ }
14451
+ }
14452
+ //#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
14406
14454
  const failureReason = (error) => error instanceof Error ? error.message : String(error);
14407
14455
  /** Read a roster-resolved composition without bypassing preset ownership. */
14408
14456
  async function readPresetComposition(presets, presetId) {
@@ -14459,7 +14507,7 @@ async function removePresetComposition(presets, presetId) {
14459
14507
  }
14460
14508
  }
14461
14509
  //#endregion
14462
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/session-organization.js
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
14463
14511
  /** Adapter-only readers for optional Harness session-organization services. */
14464
14512
  const STAT_KEYS = [
14465
14513
  "turns",
@@ -14520,7 +14568,7 @@ function presetCompositionRows(content, limit = 80) {
14520
14568
  };
14521
14569
  }
14522
14570
  //#endregion
14523
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/debug.js
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
14524
14572
  /**
14525
14573
  * Debug logger for the ported Ink core. Writes to stderr only when
14526
14574
  * `CHATCODE_CLI_TUI_DEBUG` (or its legacy alias) is set, so normal runs stay quiet.
@@ -14550,7 +14598,7 @@ function logMouseDebug(message, fields) {
14550
14598
  } catch {}
14551
14599
  }
14552
14600
  //#endregion
14553
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/mentions.js
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
14554
14602
  /**
14555
14603
  * `@` file-mention parsing (issue #15).
14556
14604
  *
@@ -14696,7 +14744,7 @@ function mentionAtCaret(value, cursor) {
14696
14744
  };
14697
14745
  }
14698
14746
  //#endregion
14699
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/commonUtilityCommands.js
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
14700
14748
  /** Format only the files in the authoritative loaded-context projection. */
14701
14749
  function loadedFileLines(files, copy) {
14702
14750
  if (files === void 0) return [copy.unavailable];
@@ -14811,7 +14859,7 @@ function codeRatioLines(report, copy, maxAuthors = 20) {
14811
14859
  return lines;
14812
14860
  }
14813
14861
  //#endregion
14814
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themeCatalog.js
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
14815
14863
  /**
14816
14864
  * Cordis-free theme catalog shared by future pickers, commands and hosts.
14817
14865
  *
@@ -14892,7 +14940,7 @@ function listThemeCatalog(host) {
14892
14940
  return Object.freeze(entries);
14893
14941
  }
14894
14942
  //#endregion
14895
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionModes.js
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
14896
14944
  /**
14897
14945
  * Configurable Shift+Tab session modes (the `modes` dsh-tui plugin config):
14898
14946
  * each mode is a named bundle of optional DSH plane switches — plan mode
@@ -14956,7 +15004,7 @@ function modeDisplayName(spec) {
14956
15004
  return spec.id;
14957
15005
  }
14958
15006
  //#endregion
14959
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagents.js
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
14960
15008
  /** Unified subagent activity domain model used by the adapter and every view. */
14961
15009
  const MAX_OUTPUT_EVENTS = 160;
14962
15010
  const MAX_OUTPUT_LINES = 160;
@@ -15334,7 +15382,7 @@ function formatJobDuration(job, now = Date.now()) {
15334
15382
  return `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, "0")}m`;
15335
15383
  }
15336
15384
  //#endregion
15337
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/minimalMode.js
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
15338
15386
  /**
15339
15387
  * Minimal mode: one process-wide flag gating decorative UI (header splash,
15340
15388
  * emoji status glyphs and non-tool text colors). Footer field choices remain
@@ -15354,7 +15402,7 @@ function setMinimalMode(enabled) {
15354
15402
  minimal = enabled;
15355
15403
  }
15356
15404
  //#endregion
15357
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspace.js
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
15358
15406
  function registryOf(ctx) {
15359
15407
  const registry = ctx.get("workspaceRegistry");
15360
15408
  if (registry === void 0 || typeof registry.pinSession !== "function" || typeof registry.unpinSession !== "function") return void 0;
@@ -15429,7 +15477,7 @@ async function unarchiveWorkspaceSession(ctx, id) {
15429
15477
  return true;
15430
15478
  }
15431
15479
  //#endregion
15432
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/contract.js
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
15433
15481
  /**
15434
15482
  * Upstream compatibility contract.
15435
15483
  *
@@ -15858,7 +15906,7 @@ function pluginsInfoLines(args, deps) {
15858
15906
  return lines;
15859
15907
  }
15860
15908
  //#endregion
15861
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/mcp-status.js
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
15862
15910
  /** Loader and tool-registry projection used by the TUI's `/mcp` report. */
15863
15911
  const MCP_CLIENT_PACKAGE = "@deepseek-ai/dsh-mcp-client";
15864
15912
  const FIBER_ACTIVE = 2;
@@ -15911,7 +15959,7 @@ function collectMcpServerStatus(schemas, entries) {
15911
15959
  }));
15912
15960
  }
15913
15961
  //#endregion
15914
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/format.js
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
15915
15963
  /**
15916
15964
  * Number, token-count, and duration formatters shared by the status line
15917
15965
  * and message rows.
@@ -15974,7 +16022,7 @@ function formatDuration$4(durationMs, options = {}) {
15974
16022
  return parts.join(" ");
15975
16023
  }
15976
16024
  //#endregion
15977
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/contextUsage.js
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
15978
16026
  /**
15979
16027
  * Return the current context occupancy. The latest request is authoritative:
15980
16028
  * its uncached input and cache read/write tokens are all part of that request's
@@ -16358,7 +16406,7 @@ function prepareMemoryTargetFile(requested, candidates, cwd, dshHome) {
16358
16406
  }
16359
16407
  }
16360
16408
  //#endregion
16361
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/channel.js
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
16362
16410
  /** Return the step left open by a tree fork cut within one turn. */
16363
16411
  function openStepAtForkCut(events, turn) {
16364
16412
  for (let i = events.length - 1; i >= 0; i--) {
@@ -17014,21 +17062,9 @@ function createChannel(ctx, initialAgent, options) {
17014
17062
  notifyAgentView();
17015
17063
  });
17016
17064
  const subagentControl = { interrupt(agentId) {
17017
- const target = subagentStore.get(agentId)?.sessionId ?? agentId;
17018
- const runtime = ctx.subagents;
17019
- if (!runtime?.interrupt || !target) return false;
17020
- try {
17021
- runtime.interrupt(target, {
17022
- kind: "ancestor",
17023
- agent
17024
- });
17025
- subagentStore.onCancelled(agentId, "interrupted");
17026
- syncSubagentsNow();
17027
- state.emit();
17028
- return true;
17029
- } catch {
17030
- return false;
17031
- }
17065
+ const child = subagentStore.get(agentId);
17066
+ if (child === void 0 || child.status !== "running" && child.status !== "starting") return false;
17067
+ return interruptSubagent(ctx, agent, child.sessionId ?? agentId);
17032
17068
  } };
17033
17069
  const fallbackGrantStore = readGrantStore();
17034
17070
  const currentGrantStore = () => ctx.get("tuiPluginHost")?.grants ?? fallbackGrantStore;
@@ -23101,8 +23137,17 @@ async function expandMentions(fs, cwd, text, attachments, stagedImages) {
23101
23137
  text: `${header}\n${body}${truncated ? "\n[… truncated]" : ""}\n</attached-file>`
23102
23138
  });
23103
23139
  attached.push(display);
23104
- } catch {
23105
- missing.push(display);
23140
+ } catch (error) {
23141
+ if (typeof error === "object" && error !== null && "code" in error && error.code === "FS_NOT_TEXT") {
23142
+ const reference = `<attached-file path="${shownPath}" format="binary">\nThis file exists at ${target.displayPath}. Its binary contents are not included here; use the appropriate file tools to read it.\n</attached-file>`;
23143
+ if (reference.length > budget) break;
23144
+ budget -= reference.length;
23145
+ blocks.push({
23146
+ type: "text",
23147
+ text: reference
23148
+ });
23149
+ attached.push(display);
23150
+ } else missing.push(display);
23106
23151
  }
23107
23152
  continue;
23108
23153
  }
@@ -23148,7 +23193,7 @@ async function expandMentions(fs, cwd, text, attachments, stagedImages) {
23148
23193
  };
23149
23194
  }
23150
23195
  //#endregion
23151
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/childStderr.js
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
23152
23197
  /**
23153
23198
  * Child-process stderr guard (issue #17).
23154
23199
  *
@@ -23317,7 +23362,7 @@ function createChildStderrReporter(notify, options = {}) {
23317
23362
  };
23318
23363
  }
23319
23364
  //#endregion
23320
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/startupTrace.js
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
23321
23366
  /** Opt-in startup timings; labels never contain paths, Session identities, or credentials. */
23322
23367
  /**
23323
23368
  * Measure one initialization operation without changing its result or failure.
@@ -23336,7 +23381,7 @@ async function traceTuiStartup(phase, operation) {
23336
23381
  }
23337
23382
  }
23338
23383
  //#endregion
23339
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions.js
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
23340
23385
  /**
23341
23386
  * Ask-user-question store — the UI-side half of the DSH user-interaction
23342
23387
  * seam (`ctx.userQuestions`). The harness's model-facing
@@ -23576,7 +23621,7 @@ var QuestionStore = class {
23576
23621
  }
23577
23622
  };
23578
23623
  //#endregion
23579
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerGuard.js
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
23580
23625
  /**
23581
23626
  * Question-provider seat guard (issue #98 security follow-up).
23582
23627
  *
@@ -23688,7 +23733,7 @@ function incumbentQuestionProviderId(service) {
23688
23733
  } catch {}
23689
23734
  }
23690
23735
  //#endregion
23691
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/questions-answerer.js
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
23692
23737
  /**
23693
23738
  * User-question answerer compatibility.
23694
23739
  *
@@ -23747,7 +23792,7 @@ function prepareQuestionAnswerer(ctx, service, answerer) {
23747
23792
  }
23748
23793
  }
23749
23794
  //#endregion
23750
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/approvals.js
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
23751
23796
  /**
23752
23797
  * Approval store — the UI-side answerer half of the DSH approval seam
23753
23798
  * (`ctx.approval`). The harness's permission layer asks
@@ -24141,7 +24186,7 @@ var ApprovalStore = class {
24141
24186
  }
24142
24187
  };
24143
24188
  //#endregion
24144
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/promptDebug.js
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
24145
24190
  /**
24146
24191
  * On-demand capture of every final AgentLoop request context observed for a
24147
24192
  * live session.
@@ -24287,7 +24332,7 @@ function registerPromptDebug(ctx) {
24287
24332
  }));
24288
24333
  }
24289
24334
  //#endregion
24290
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/migrationPrefs.js
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
24291
24336
  /**
24292
24337
  * One-time local migrations (`~/.chatcode-cli/tui/migrations.json`), keyed by stable
24293
24338
  * migration id → ISO timestamp. Named keys (not a bare flag) so later
@@ -24378,7 +24423,7 @@ async function commitFullscreenFactoryMigration(plan, options) {
24378
24423
  } catch {}
24379
24424
  }
24380
24425
  //#endregion
24381
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/retired-packaged-presets.js
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
24382
24427
  const OWNER = "@chatcode/cco-tui";
24383
24428
  const MARKER = ".dsh-tui-managed.json";
24384
24429
  const RETIRED_PACKAGED_PRESETS = ["liangshen"];
@@ -24420,7 +24465,7 @@ function cleanupRetiredPackagedPresets(options = {}) {
24420
24465
  return results;
24421
24466
  }
24422
24467
  //#endregion
24423
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/view.js
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
24424
24469
  /** The browser's default view: this project, conversations only. */
24425
24470
  const DEFAULT_FILTERS = {
24426
24471
  query: "",
@@ -24754,7 +24799,7 @@ function windowEnd(rows, top, budget) {
24754
24799
  return at;
24755
24800
  }
24756
24801
  //#endregion
24757
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/sessions/resume.js
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
24758
24803
  /** Resolve launch-time resume flags against persisted conversations. */
24759
24804
  /**
24760
24805
  * Select the latest conversation in the exact launch directory for bare flags.
@@ -24774,7 +24819,7 @@ async function resolveStartupSessionId(source, argv, cwd) {
24774
24819
  return latest.id;
24775
24820
  }
24776
24821
  //#endregion
24777
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workspaceRoot.js
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
24778
24823
  /** Resolve a fresh session's working directory without widening it to a Git ancestor. */
24779
24824
  /**
24780
24825
  * Explicit configuration wins; otherwise keep the invoking directory, even
@@ -24787,7 +24832,7 @@ function resolveSessionCwd(configured, start = process.cwd()) {
24787
24832
  return resolve(start, configured ?? "");
24788
24833
  }
24789
24834
  //#endregion
24790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/openExternal.js
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
24791
24836
  /**
24792
24837
  * Open URLs, files and folders with the platform's default handler, fully
24793
24838
  * detached from the TUI process (fire-and-forget: no stdio pipes, no wait,
@@ -24948,7 +24993,7 @@ function revealInFileManager(filePath) {
24948
24993
  if (existsSync(dir)) openExternal(dir);
24949
24994
  }
24950
24995
  //#endregion
24951
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeApi.js
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
24952
24997
  /** ChatCode API request capability. Credentials stay in the host adapter. */
24953
24998
  const CHATCODE_API_BASE_URL = "https://chatcode.chinaunicom.cn";
24954
24999
  /** CVP(天梯)平台基础 URL,承载 modules/notification 等公开/独立鉴权模块接口。 */
@@ -24956,7 +25001,7 @@ const CVP_CHATCODE_API_URL = `${CHATCODE_API_BASE_URL}/cvp`;
24956
25001
  /** Each mounted TUI receives its own host-authorized request function. */
24957
25002
  const ChatCodeApiContext = (0, import_react.createContext)(void 0);
24958
25003
  //#endregion
24959
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/releaseNotes.js
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
24960
25005
  const RELEASE_NOTE_PATH = join(DATA_DIR, "release-notes.json");
24961
25006
  const RELEASE_NOTE_ENDPOINT = `${CHATCODE_API_BASE_URL}/chatcode/api/v1/cli/version/release-note`;
24962
25007
  function acknowledgedVersion() {
@@ -25052,7 +25097,7 @@ var ReleaseNotesStore = class {
25052
25097
  }
25053
25098
  };
25054
25099
  //#endregion
25055
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/version.js
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
25056
25101
  const MAIN_CLI_PACKAGES = new Set(["@chatcode/chatcode-cli", "@chatcode/chatcode-cli-test"]);
25057
25102
  const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u;
25058
25103
  const PRODUCT_VERSION_ENV = "CHATCODE_CLI_PRODUCT_VERSION";
@@ -25092,7 +25137,7 @@ function resolveProductVersion(options = {}) {
25092
25137
  /** Product version shown by the TUI, shared with `cco --version` and Web. */
25093
25138
  const PRODUCT_VERSION = resolveProductVersion();
25094
25139
  //#endregion
25095
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/execFileNoThrow.js
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
25096
25141
  const MAX_CAPTURE_BYTES = 64 * 1024;
25097
25142
  function appendBounded(chunks, chunk, total) {
25098
25143
  if (total.value >= MAX_CAPTURE_BYTES) return;
@@ -25162,7 +25207,7 @@ function execFileNoThrow(file, args = [], options) {
25162
25207
  });
25163
25208
  }
25164
25209
  //#endregion
25165
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/herdr.js
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
25166
25211
  const REPORT_TIMEOUT_MS = 2e3;
25167
25212
  const RELEASE_TIMEOUT_MS = 500;
25168
25213
  const RETRY_DELAYS_MS = [
@@ -25550,7 +25595,7 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
25550
25595
  })();
25551
25596
  }));
25552
25597
  //#endregion
25553
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/themePrefs.js
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
25554
25599
  var import_jsx_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
25555
25600
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
25556
25601
  else module.exports = require_react_jsx_runtime_development();
@@ -25607,7 +25652,7 @@ function writeThemePref(name, dir = PREFS_DIR) {
25607
25652
  }
25608
25653
  }
25609
25654
  //#endregion
25610
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRuntimeThemeSnapshot.js
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
25611
25656
  const EMPTY_THEME_SNAPSHOT = Object.freeze([]);
25612
25657
  const subscribeNoThemes = (_listener) => () => {};
25613
25658
  /**
@@ -25635,7 +25680,7 @@ function useRuntimeThemeSnapshot(themeHost) {
25635
25680
  return import_react.useSyncExternalStore(subscribeThemes, getThemeSnapshot, getThemeSnapshot);
25636
25681
  }
25637
25682
  //#endregion
25638
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event.js
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
25639
25684
  /**
25640
25685
  * Base class for events with immediate-propagation control.
25641
25686
  *
@@ -25659,7 +25704,7 @@ var Event = class {
25659
25704
  }
25660
25705
  };
25661
25706
  //#endregion
25662
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/emitter.js
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
25663
25708
  /**
25664
25709
  * Node-compatible event emitter that is aware of the `Event` class, so
25665
25710
  * `emit` respects `stopImmediatePropagation()` on dispatched events.
@@ -25692,7 +25737,7 @@ var EventEmitter$1 = class extends EventEmitter {
25692
25737
  }
25693
25738
  };
25694
25739
  //#endregion
25695
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/StdinContext.js
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
25696
25741
  /**
25697
25742
  * `StdinContext` is a React context, which exposes input stream.
25698
25743
  */
@@ -25706,14 +25751,14 @@ const StdinContext = (0, import_react.createContext)({
25706
25751
  });
25707
25752
  StdinContext.displayName = "InternalStdinContext";
25708
25753
  //#endregion
25709
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-stdin.js
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
25710
25755
  /**
25711
25756
  * React hook exposing the stdin stream and raw-mode helpers from `StdinContext`.
25712
25757
  * @returns the `StdinContext` value.
25713
25758
  */
25714
25759
  const useStdin = () => (0, import_react.useContext)(StdinContext);
25715
25760
  //#endregion
25716
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/ansi.js
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
25717
25762
  /**
25718
25763
  * ANSI Control Characters and Escape Sequence Introducers
25719
25764
  *
@@ -25787,7 +25832,7 @@ function isEscFinal(byte) {
25787
25832
  return byte >= 48 && byte <= 126;
25788
25833
  }
25789
25834
  //#endregion
25790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/csi.js
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
25791
25836
  /**
25792
25837
  * CSI (Control Sequence Introducer) Types
25793
25838
  *
@@ -26110,7 +26155,7 @@ const ENABLE_WIN32_INPUT_MODE = csi("?9001h");
26110
26155
  */
26111
26156
  const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26112
26157
  //#endregion
26113
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/env.js
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
26114
26159
  /**
26115
26160
  * Minimal terminal-environment shim for the ported Ink core. The original
26116
26161
  * module computed a richer `env` object from the Claude Code app context; the
@@ -26119,7 +26164,7 @@ const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26119
26164
  */
26120
26165
  const env$1 = { terminal: (process.env.TERM_PROGRAM ?? process.env.TERM ?? "unknown").toLowerCase() };
26121
26166
  //#endregion
26122
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/osc.js
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
26123
26168
  /**
26124
26169
  * OSC (Operating System Command) Types and Parser
26125
26170
  */
@@ -26515,7 +26560,7 @@ function supportsTabStatus() {
26515
26560
  return process.env.USER_TYPE === "ant";
26516
26561
  }
26517
26562
  //#endregion
26518
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-querier.js
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
26519
26564
  /**
26520
26565
  * Query the terminal and await responses without timeouts.
26521
26566
  *
@@ -26701,7 +26746,7 @@ var TerminalQuerier = class {
26701
26746
  }
26702
26747
  };
26703
26748
  //#endregion
26704
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemeProvider.js
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
26705
26750
  /**
26706
26751
  * Theme provider with terminal-background auto-detection. With no explicit
26707
26752
  * `theme` prop, no CHATCODE_CLI_TUI_THEME override and no persisted choice
@@ -26900,7 +26945,7 @@ function useTheme() {
26900
26945
  return [theme, setTheme];
26901
26946
  }
26902
26947
  //#endregion
26903
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsEditor.js
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
26904
26949
  /**
26905
26950
  * React-free form model behind the `/settings` screen (issue #165), mirroring
26906
26951
  * the web front door's card-form.ts semantics: a section stages what the user
@@ -27150,7 +27195,7 @@ var SettingsForm = class {
27150
27195
  }
27151
27196
  };
27152
27197
  //#endregion
27153
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/reload.js
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
27154
27199
  /**
27155
27200
  * `/reload` planning — the pi-style soft reload: re-read the TUI's persisted
27156
27201
  * preference files (`~/.chatcode-cli/tui/{theme,lang,agent-preset,model,
@@ -27999,7 +28044,7 @@ var SignalExit = class extends SignalExitBase {
27999
28044
  const process$2 = globalThis.process;
28000
28045
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
28001
28046
  //#endregion
28002
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/enums.js
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
28003
28048
  /**
28004
28049
  * Yoga enums — ported from yoga-layout/src/generated/YGEnums.ts
28005
28050
  * Kept as `const` objects (not TS enums) per repo convention.
@@ -28131,7 +28176,7 @@ const Wrap = {
28131
28176
  WrapReverse: 2
28132
28177
  };
28133
28178
  //#endregion
28134
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/native-ts/yoga-layout/index.js
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
28135
28180
  /**
28136
28181
  * Pure-TypeScript port of yoga-layout (Meta's flexbox engine).
28137
28182
  *
@@ -30582,7 +30627,7 @@ Object.defineProperties(createChalk.prototype, {
30582
30627
  const chalk = createChalk();
30583
30628
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
30584
30629
  //#endregion
30585
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/colorize.js
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
30586
30631
  /**
30587
30632
  * xterm.js (VS Code, Cursor, code-server, Coder) has supported truecolor
30588
30633
  * since 2017, but code-server/Coder containers often don't set
@@ -30713,7 +30758,7 @@ function applyColor(text, color) {
30713
30758
  return colorize(text, color, "foreground");
30714
30759
  }
30715
30760
  //#endregion
30716
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/envUtils.js
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
30717
30762
  /**
30718
30763
  * Environment truthiness check for the ported Ink core. Accepts the common
30719
30764
  * shell truthy spellings (`1`, `true`, `yes`, `on`).
@@ -30731,7 +30776,7 @@ function isEnvTruthy(value) {
30731
30776
  ].includes(value.toLowerCase());
30732
30777
  }
30733
30778
  //#endregion
30734
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fullscreen.js
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
30735
30780
  /**
30736
30781
  * Whether mouse click handling is disabled for the ported Ink core. dsh-tui
30737
30782
  * reads its own env flag (`CHATCODE_CLI_TUI_DISABLE_MOUSE`); the original module
@@ -30742,7 +30787,7 @@ function isMouseClicksDisabled() {
30742
30787
  return isEnvTruthy(readTuiEnv("DISABLE_MOUSE"));
30743
30788
  }
30744
30789
  //#endregion
30745
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/input-suppression.js
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
30746
30791
  /**
30747
30792
  * Input suppression window for terminal handoffs (issue #123): when stdin is
30748
30793
  * handed to an external TUI (full-screen editor) and back, the tty can
@@ -30769,7 +30814,7 @@ function isInputSuppressed() {
30769
30814
  return Date.now() < suppressedUntil;
30770
30815
  }
30771
30816
  //#endregion
30772
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/tokenize.js
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
30773
30818
  /**
30774
30819
  * Input Tokenizer - Escape sequence boundary detection
30775
30820
  *
@@ -30967,7 +31012,7 @@ function tokenize$2(input, initialState, initialBuffer, flush, x10Mouse, splitIn
30967
31012
  };
30968
31013
  }
30969
31014
  //#endregion
30970
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/parse-keypress.js
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
30971
31016
  /**
30972
31017
  * Keyboard input parser - converts terminal input to key events
30973
31018
  *
@@ -32042,7 +32087,7 @@ function createWheelKey(s, name, col, row, button) {
32042
32087
  };
32043
32088
  }
32044
32089
  //#endregion
32045
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/input-event.js
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
32046
32091
  function parseKey(keypress) {
32047
32092
  const key = {
32048
32093
  upArrow: keypress.name === "up",
@@ -32127,7 +32172,7 @@ var InputEvent = class extends Event {
32127
32172
  }
32128
32173
  };
32129
32174
  //#endregion
32130
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-focus-event.js
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
32131
32176
  /**
32132
32177
  * Event fired when the terminal window gains or loses focus.
32133
32178
  *
@@ -32146,7 +32191,7 @@ var TerminalFocusEvent = class extends Event {
32146
32191
  }
32147
32192
  };
32148
32193
  //#endregion
32149
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/node-cache.js
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
32150
32195
  /** Layout bounds cached per rendered node, used for blitting and clearing. */
32151
32196
  const nodeCache = /* @__PURE__ */ new WeakMap();
32152
32197
  /** Rects of removed children that need clearing on next render */
@@ -32184,7 +32229,7 @@ function consumeAbsoluteRemovedFlag() {
32184
32229
  return had;
32185
32230
  }
32186
32231
  //#endregion
32187
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/terminal-event.js
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
32188
32233
  /**
32189
32234
  * Base class for all terminal events with DOM-style propagation.
32190
32235
  *
@@ -32313,7 +32358,7 @@ var TerminalEvent = class extends Event {
32313
32358
  _prepareForTarget(_target) {}
32314
32359
  };
32315
32360
  //#endregion
32316
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/pointer-event.js
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
32317
32362
  /**
32318
32363
  * Base class for pointer-derived terminal events (click, wheel, hover).
32319
32364
  *
@@ -32374,7 +32419,7 @@ var PointerEvent = class extends TerminalEvent {
32374
32419
  }
32375
32420
  };
32376
32421
  //#endregion
32377
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/drag-event.js
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
32378
32423
  /**
32379
32424
  * Component-level drag event (DOM HTML5 drag semantics subset).
32380
32425
  *
@@ -48482,7 +48527,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
48482
48527
  }, module.exports.default = module.exports, Object.defineProperty(module.exports, "__esModule", { value: !0 }));
48483
48528
  }));
48484
48529
  //#endregion
48485
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/node.js
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
48486
48531
  var import_react_reconciler = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
48487
48532
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
48488
48533
  else module.exports = require_react_reconciler_development();
@@ -48558,7 +48603,7 @@ const LayoutMeasureMode = {
48558
48603
  AtMost: "at-most"
48559
48604
  };
48560
48605
  //#endregion
48561
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/yoga.js
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
48562
48607
  const EDGE_MAP = {
48563
48608
  all: Edge.All,
48564
48609
  horizontal: Edge.Horizontal,
@@ -48785,7 +48830,7 @@ function createYogaLayoutNode() {
48785
48830
  return new YogaLayoutNode(YOGA_INSTANCE.Node.create());
48786
48831
  }
48787
48832
  //#endregion
48788
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/engine.js
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
48789
48834
  /**
48790
48835
  * Create a new layout node backed by the Yoga adapter.
48791
48836
  * @returns an empty layout node with no children, styles, or measure function.
@@ -48794,7 +48839,7 @@ function createLayoutNode() {
48794
48839
  return createYogaLayoutNode();
48795
48840
  }
48796
48841
  //#endregion
48797
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/line-width-cache.js
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
48798
48843
  const cache = /* @__PURE__ */ new Map();
48799
48844
  const MAX_CACHE_SIZE = 4096;
48800
48845
  const MAX_CACHE_CHARS = 1e5;
@@ -48830,7 +48875,7 @@ function lineWidth(line) {
48830
48875
  return width;
48831
48876
  }
48832
48877
  //#endregion
48833
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-text.js
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
48834
48879
  /**
48835
48880
  * Measure wrapped text dimensions in a single pass.
48836
48881
  * @param text - the text to measure.
@@ -48861,7 +48906,7 @@ function measureText(text, maxWidth) {
48861
48906
  };
48862
48907
  }
48863
48908
  //#endregion
48864
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/squash-text-nodes.js
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
48865
48910
  /**
48866
48911
  * Squash text nodes into styled segments, propagating styles down through the tree.
48867
48912
  * This allows structured styling without relying on ANSI string transforms.
@@ -48909,7 +48954,7 @@ function squashTextNodes(node) {
48909
48954
  return text;
48910
48955
  }
48911
48956
  //#endregion
48912
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/tabstops.js
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
48913
48958
  const DEFAULT_TAB_INTERVAL = 8;
48914
48959
  /**
48915
48960
  * Expand tab characters to spaces at fixed column intervals, preserving
@@ -49359,7 +49404,7 @@ function tokenize$1(str, endChar = Number.POSITIVE_INFINITY) {
49359
49404
  return ret;
49360
49405
  }
49361
49406
  //#endregion
49362
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sliceAnsi.js
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
49363
49408
  function isEndCode(code) {
49364
49409
  return code.code === code.endCode;
49365
49410
  }
@@ -49976,7 +50021,7 @@ function wrapAnsi$1(string, columns, options) {
49976
50021
  return normalizeText(String(string)).replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs$1(line), columns, options)).join("\n");
49977
50022
  }
49978
50023
  //#endregion
49979
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrapAnsi.js
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
49980
50025
  const wrapAnsiBun = typeof Bun !== "undefined" && typeof Bun.wrapAnsi === "function" ? Bun.wrapAnsi : null;
49981
50026
  const SLOT_MIN_LENGTH = 2048;
49982
50027
  let slot = null;
@@ -50023,7 +50068,7 @@ function wrapAnsiNpmIncremental(input, columns, options) {
50023
50068
  */
50024
50069
  const wrapAnsi = wrapAnsiBun ?? wrapAnsiNpmIncremental;
50025
50070
  //#endregion
50026
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/wrap-text.js
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
50027
50072
  const ELLIPSIS = "…";
50028
50073
  const WRAP_CACHE_MAX_ENTRIES = 2048;
50029
50074
  const WRAP_CACHE_MAX_CHARS = 2e6;
@@ -50087,7 +50132,7 @@ function wrapText$1(text, maxWidth, wrapType) {
50087
50132
  return text;
50088
50133
  }
50089
50134
  //#endregion
50090
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/dom.js
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
50091
50136
  /**
50092
50137
  * Create an element node of the given kind, allocating its yoga layout node
50093
50138
  * unless the kind renders without layout (`ink-virtual-text`, `ink-link`,
@@ -50407,7 +50452,7 @@ function findOwnerChainAtRow(root, y) {
50407
50452
  }
50408
50453
  }
50409
50454
  //#endregion
50410
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/event-handlers.js
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
50411
50456
  /**
50412
50457
  * Reverse lookup: event type string → handler prop names.
50413
50458
  * Used by the dispatcher for O(1) handler lookup per node.
@@ -50461,7 +50506,7 @@ const EVENT_HANDLER_PROPS = new Set([
50461
50506
  "onWheel"
50462
50507
  ]);
50463
50508
  //#endregion
50464
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/dispatcher.js
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
50465
50510
  function getHandler(node, eventType, capture) {
50466
50511
  const handlers = node._eventHandlers;
50467
50512
  if (!handlers) return void 0;
@@ -50629,7 +50674,7 @@ var Dispatcher = class {
50629
50674
  }
50630
50675
  };
50631
50676
  //#endregion
50632
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/focus-event.js
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
50633
50678
  /**
50634
50679
  * Focus event for component focus changes.
50635
50680
  *
@@ -50654,7 +50699,7 @@ var FocusEvent = class extends TerminalEvent {
50654
50699
  }
50655
50700
  };
50656
50701
  //#endregion
50657
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/focus.js
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
50658
50703
  const MAX_FOCUS_STACK = 32;
50659
50704
  /**
50660
50705
  * DOM-like focus manager for the Ink terminal UI.
@@ -50810,7 +50855,7 @@ function getFocusManager(node) {
50810
50855
  return getRootNode(node).focusManager;
50811
50856
  }
50812
50857
  //#endregion
50813
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/styles.js
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
50814
50859
  const applyPositionStyles = (node, style) => {
50815
50860
  if ("position" in style) node.setPositionType(style.position === "absolute" ? LayoutPositionType.Absolute : LayoutPositionType.Relative);
50816
50861
  if ("top" in style) applyPositionEdge(node, "top", style.top);
@@ -50945,7 +50990,7 @@ const styles = (node, style = {}, resolvedStyle) => {
50945
50990
  applyGapStyles(node, style);
50946
50991
  };
50947
50992
  //#endregion
50948
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/reconciler.js
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
50949
50994
  if (process.env.NODE_ENV === "development") try {
50950
50995
  import("./devtools-la_KkjCS.js");
50951
50996
  } catch (error) {
@@ -51265,7 +51310,7 @@ const reconciler = (0, import_react_reconciler.default)({
51265
51310
  });
51266
51311
  dispatcher.discreteUpdates = reconciler.discreteUpdates.bind(reconciler);
51267
51312
  //#endregion
51268
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/layout/geometry.js
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
51269
51314
  /**
51270
51315
  * Compute the smallest rectangle containing both input rectangles.
51271
51316
  * @param a - the first rectangle.
@@ -51297,7 +51342,7 @@ function clamp(value, min, max) {
51297
51342
  return value;
51298
51343
  }
51299
51344
  //#endregion
51300
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/warn.js
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
51301
51346
  /**
51302
51347
  * Log a warning when a value is present but not an integer.
51303
51348
  * @param value - the value to check; undefined is skipped silently.
@@ -51309,7 +51354,7 @@ function ifNotInteger(value, name) {
51309
51354
  logForDebugging(`${name} should be an integer, got ${value}`, { level: "warn" });
51310
51355
  }
51311
51356
  //#endregion
51312
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/screen.js
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
51313
51358
  /**
51314
51359
  * Pool of character strings shared across all screens.
51315
51360
  * With a shared pool, interned char IDs are valid across screens, so
@@ -52378,7 +52423,7 @@ function markNoSelectRegion(screen, x, y, width, height) {
52378
52423
  }
52379
52424
  }
52380
52425
  //#endregion
52381
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/selection.js
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
52382
52427
  /**
52383
52428
  * Text selection state for fullscreen mode.
52384
52429
  *
@@ -53344,7 +53389,7 @@ function applySelectionOverlay(screen, selection, stylePool) {
53344
53389
  }
53345
53390
  }
53346
53391
  //#endregion
53347
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/dec.js
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
53348
53393
  /**
53349
53394
  * DEC (Digital Equipment Corporation) Private Mode Sequences
53350
53395
  *
@@ -53410,7 +53455,7 @@ const ENABLE_MOUSE_TRACKING = decset(DEC.MOUSE_NORMAL) + decset(DEC.MOUSE_BUTTON
53410
53455
  /** Disable all mouse tracking modes enabled by ENABLE_MOUSE_TRACKING. */
53411
53456
  const DISABLE_MOUSE_TRACKING = decreset(DEC.MOUSE_SGR) + decreset(DEC.MOUSE_ANY) + decreset(DEC.MOUSE_BUTTON) + decreset(DEC.MOUSE_NORMAL);
53412
53457
  //#endregion
53413
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal.js
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
53414
53459
  /**
53415
53460
  * True when running inside a JetBrains IDE terminal (JediTerm). The IDE
53416
53461
  * injects `TERMINAL_EMULATOR=JetBrains-JediTerm` into the pty environment of
@@ -53652,7 +53697,7 @@ function writeDiffToTerminal(terminal, diff, skipSyncMarkers = false) {
53652
53697
  terminal.stdout.write(buffer);
53653
53698
  }
53654
53699
  //#endregion
53655
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/terminal-focus-state.js
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
53656
53701
  let focusState = "unknown";
53657
53702
  const resolvers = /* @__PURE__ */ new Set();
53658
53703
  const subscribers = /* @__PURE__ */ new Set();
@@ -53696,7 +53741,7 @@ function subscribeTerminalFocus(cb) {
53696
53741
  };
53697
53742
  }
53698
53743
  //#endregion
53699
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AppContext.js
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
53700
53745
  /**
53701
53746
  * `AppContext` is a React context, which exposes a method to manually exit the app (unmount).
53702
53747
  */
@@ -53741,13 +53786,13 @@ var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJSMin((
53741
53786
  })();
53742
53787
  }));
53743
53788
  //#endregion
53744
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/constants.js
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
53745
53790
  var import_compiler_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
53746
53791
  if (process.env.NODE_ENV === "production") module.exports = require_react_compiler_runtime_production();
53747
53792
  else module.exports = require_react_compiler_runtime_development();
53748
53793
  })))();
53749
53794
  //#endregion
53750
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/geometry-trace.js
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
53751
53796
  /**
53752
53797
  * Geometry forensics — per-frame scroll-geometry trace (issues #421/#433).
53753
53798
  *
@@ -53827,7 +53872,7 @@ function endGeometryFrame(durationMs) {
53827
53872
  };
53828
53873
  }
53829
53874
  //#endregion
53830
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalFocusContext.js
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
53831
53876
  const TerminalFocusContext = (0, import_react.createContext)({
53832
53877
  isTerminalFocused: true,
53833
53878
  terminalFocusState: "unknown"
@@ -53862,7 +53907,7 @@ function TerminalFocusProvider(t0) {
53862
53907
  return t2;
53863
53908
  }
53864
53909
  //#endregion
53865
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-focus.js
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
53866
53911
  /**
53867
53912
  * Hook to check if the terminal has focus.
53868
53913
  *
@@ -53877,7 +53922,7 @@ function useTerminalFocus() {
53877
53922
  return isTerminalFocused;
53878
53923
  }
53879
53924
  //#endregion
53880
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ClockContext.js
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
53881
53926
  function createClock(tickIntervalMs) {
53882
53927
  const subscribers = /* @__PURE__ */ new Map();
53883
53928
  let interval = null;
@@ -53974,7 +54019,7 @@ function _temp() {
53974
54019
  return createClock(16);
53975
54020
  }
53976
54021
  //#endregion
53977
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/CursorDeclarationContext.js
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
53978
54023
  /**
53979
54024
  * React context that provides the cursor-declaration setter to descendants.
53980
54025
  */
@@ -54014,7 +54059,7 @@ var require_escape_string_regexp = /* @__PURE__ */ __commonJSMin(((exports, modu
54014
54059
  };
54015
54060
  }));
54016
54061
  //#endregion
54017
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Box.js
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
54018
54063
  var import_stack_utils = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
54019
54064
  const escapeStringRegexp = require_escape_string_regexp();
54020
54065
  const cwd = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
@@ -54382,7 +54427,7 @@ function Box(t0) {
54382
54427
  return t4;
54383
54428
  }
54384
54429
  //#endregion
54385
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Text.js
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
54386
54431
  const memoizedStylesForWrap = {
54387
54432
  wrap: {
54388
54433
  flexGrow: 0,
@@ -54534,7 +54579,7 @@ function Text(t0) {
54534
54579
  return t16;
54535
54580
  }
54536
54581
  //#endregion
54537
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ErrorOverview.js
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
54538
54583
  const cleanupPath = (path) => {
54539
54584
  return path?.replace(`file://${process.cwd()}/`, "");
54540
54585
  };
@@ -54639,10 +54684,10 @@ function ErrorOverview({ error }) {
54639
54684
  });
54640
54685
  }
54641
54686
  //#endregion
54642
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/TerminalSizeContext.js
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
54643
54688
  const TerminalSizeContext = (0, import_react.createContext)(null);
54644
54689
  //#endregion
54645
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/useTerminalNotification.js
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
54646
54691
  /**
54647
54692
  * React context providing a raw terminal write function. Null until a
54648
54693
  * TerminalWriteProvider is mounted.
@@ -54653,7 +54698,7 @@ const TerminalWriteContext = (0, import_react.createContext)(null);
54653
54698
  */
54654
54699
  const TerminalWriteProvider = TerminalWriteContext.Provider;
54655
54700
  //#endregion
54656
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/App.js
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
54657
54702
  const SUPPORTS_SUSPEND = process.platform !== "win32";
54658
54703
  const STDIN_RESUME_GAP_MS = 5e3;
54659
54704
  const MULTI_CLICK_TIMEOUT_MS = 500;
@@ -55179,7 +55224,7 @@ function handleMouseEvent(app, m) {
55179
55224
  }
55180
55225
  }
55181
55226
  //#endregion
55182
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/keyboard-event.js
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
55183
55228
  /**
55184
55229
  * Keyboard event dispatched through the DOM tree via capture/bubble.
55185
55230
  *
@@ -55239,7 +55284,7 @@ function keyFromParsed(parsed) {
55239
55284
  return name || seq;
55240
55285
  }
55241
55286
  //#endregion
55242
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/frame.js
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
55243
55288
  /**
55244
55289
  * Create an empty frame with a zero-size screen, the given viewport, and a
55245
55290
  * visible cursor at the origin.
@@ -55265,7 +55310,7 @@ function emptyFrame(rows, columns, stylePool, charPool, hyperlinkPool) {
55265
55310
  };
55266
55311
  }
55267
55312
  //#endregion
55268
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/click-event.js
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
55269
55314
  /**
55270
55315
  * Mouse click event. Fired on left-button release without drag, only when
55271
55316
  * mouse tracking is enabled (i.e. inside <AlternateScreen>).
@@ -55296,7 +55341,7 @@ var ClickEvent = class extends PointerEvent {
55296
55341
  }
55297
55342
  };
55298
55343
  //#endregion
55299
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/context-menu-event.js
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
55300
55345
  /**
55301
55346
  * Mouse context-menu event. Fired on right-button press (SGR button 2,
55302
55347
  * low bits of the raw button byte), mirroring the DOM `contextmenu` event
@@ -55320,7 +55365,7 @@ var ContextMenuEvent = class extends PointerEvent {
55320
55365
  }
55321
55366
  };
55322
55367
  //#endregion
55323
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/events/wheel-event.js
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
55324
55369
  /**
55325
55370
  * Mouse wheel event dispatched to the ScrollBox under the pointer.
55326
55371
  *
@@ -55356,7 +55401,7 @@ function indentString(string, count = 1, options = {}) {
55356
55401
  return string.replace(regex, indent.repeat(count));
55357
55402
  }
55358
55403
  //#endregion
55359
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/get-max-width.js
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
55360
55405
  /**
55361
55406
  * Returns the yoga node's content width (computed width minus padding and
55362
55407
  * border).
@@ -55461,7 +55506,7 @@ var cli_boxes_default = {
55461
55506
  }
55462
55507
  };
55463
55508
  //#endregion
55464
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-border.js
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
55465
55510
  /** Built-in border styles beyond those provided by cli-boxes. */
55466
55511
  const CUSTOM_BORDER_STYLES = { dashed: {
55467
55512
  top: "╌",
@@ -55551,7 +55596,7 @@ const renderBorder = (x, y, node, output) => {
55551
55596
  }
55552
55597
  };
55553
55598
  //#endregion
55554
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/widest-line.js
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
55555
55600
  /**
55556
55601
  * Get the display width of the widest line in a string.
55557
55602
  * @param string - the text to measure, possibly containing newlines.
@@ -55570,7 +55615,7 @@ function widestLine(string) {
55570
55615
  return maxWidth;
55571
55616
  }
55572
55617
  //#endregion
55573
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-node-to-output.js
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
55574
55619
  function isXtermJsHost() {
55575
55620
  return process.env.TERM_PROGRAM === "vscode" || isXtermJs();
55576
55621
  }
@@ -56386,7 +56431,7 @@ function dropSubtreeCache(node) {
56386
56431
  for (const child of node.childNodes) if (child.nodeName !== "#text") dropSubtreeCache(child);
56387
56432
  }
56388
56433
  //#endregion
56389
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hit-test.js
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
56390
56435
  /**
56391
56436
  * Find the deepest DOM element whose rendered rect contains (col, row).
56392
56437
  *
@@ -56776,7 +56821,7 @@ function dispatchHover(root, col, row, hovered) {
56776
56821
  }
56777
56822
  }
56778
56823
  //#endregion
56779
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/flush-tick.js
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
56780
56825
  /**
56781
56826
  * Monotonic terminal-flush counter for the ported Ink core.
56782
56827
  *
@@ -56809,7 +56854,7 @@ function getTerminalFlushTick() {
56809
56854
  return flushTick;
56810
56855
  }
56811
56856
  //#endregion
56812
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/instances.js
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
56813
56858
  /**
56814
56859
  * Live Ink instances keyed by their output stream, so consecutive render()
56815
56860
  * calls reuse the instance for a stream instead of creating a new one.
@@ -56818,7 +56863,7 @@ function getTerminalFlushTick() {
56818
56863
  */
56819
56864
  const instances = /* @__PURE__ */ new Map();
56820
56865
  //#endregion
56821
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/log-update.js
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
56822
56867
  const CARRIAGE_RETURN = { type: "carriageReturn" };
56823
56868
  const NEWLINE = {
56824
56869
  type: "stdout",
@@ -57455,7 +57500,7 @@ var VirtualScreen = class {
57455
57500
  }
57456
57501
  };
57457
57502
  //#endregion
57458
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/optimizer.js
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
57459
57504
  /**
57460
57505
  * Optimize a diff by applying all optimization rules in a single pass.
57461
57506
  * This reduces the number of patches that need to be written to the terminal.
@@ -57520,7 +57565,7 @@ function optimize(diff) {
57520
57565
  return result;
57521
57566
  }
57522
57567
  //#endregion
57523
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/bidi.js
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
57524
57569
  var import_bidi = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
57525
57570
  (function(global, factory) {
57526
57571
  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());
@@ -58296,7 +58341,7 @@ function hasRTLCharacters(text) {
58296
58341
  return /[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(text);
58297
58342
  }
58298
58343
  //#endregion
58299
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/output.js
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
58300
58345
  /**
58301
58346
  * charCache bounds. The entry-count cap alone was not enough: a streaming
58302
58347
  * line produces a NEW cache key on every frame, and each entry's cost is
@@ -58966,7 +59011,7 @@ function writeLineToScreen(screen, line, x, y, screenWidth, stylePool, charCache
58966
59011
  return offsetX;
58967
59012
  }
58968
59013
  //#endregion
58969
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/render-to-screen.js
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
58970
59015
  const timing = {
58971
59016
  reconcile: 0,
58972
59017
  yoga: 0,
@@ -59060,7 +59105,7 @@ function applyPositionedHighlight(screen, stylePool, positions, rowOffset, curre
59060
59105
  return true;
59061
59106
  }
59062
59107
  //#endregion
59063
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/renderer.js
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
59064
59109
  /**
59065
59110
  * Create the renderer function for a root DOM node. The returned renderer
59066
59111
  * reuses an Output across frames so its character cache persists.
@@ -59135,7 +59180,7 @@ function createRenderer(node, stylePool) {
59135
59180
  };
59136
59181
  }
59137
59182
  //#endregion
59138
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/searchHighlight.js
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
59139
59184
  /**
59140
59185
  * Highlight all visible occurrences of `query` in the screen buffer by
59141
59186
  * inverting cell styles (SGR 7). Post-render, same damage-tracking machinery
@@ -59197,7 +59242,7 @@ function applySearchHighlight(screen, query, stylePool) {
59197
59242
  return applied;
59198
59243
  }
59199
59244
  //#endregion
59200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/ink.js
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
59201
59246
  const ALT_SCREEN_ANCHOR_CURSOR = Object.freeze({
59202
59247
  x: 0,
59203
59248
  y: 0,
@@ -60750,7 +60795,7 @@ const CONSOLE_STDERR_METHODS = [
60750
60795
  "trace"
60751
60796
  ];
60752
60797
  //#endregion
60753
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/root.js
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
60754
60799
  /**
60755
60800
  * Mount a component and render the output.
60756
60801
  * @param node - the React element to render.
@@ -60833,7 +60878,7 @@ const getInstance = (stdout, createInstance) => {
60833
60878
  return instance;
60834
60879
  };
60835
60880
  //#endregion
60836
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedBox.js
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
60837
60882
  /** Resolves a color value that may be a theme key to a raw Color. */
60838
60883
  function resolveColor$1(color, theme) {
60839
60884
  if (!color) return void 0;
@@ -60858,7 +60903,7 @@ function ThemedBox({ borderColor, borderTopColor, borderBottomColor, borderLeftC
60858
60903
  });
60859
60904
  }
60860
60905
  //#endregion
60861
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ThemedText.js
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
60862
60907
  /**
60863
60908
  * Colors uncolored ThemedText in the subtree. Precedence: explicit `color` >
60864
60909
  * this > dimColor (in the Claude Code visual language, where message rows
@@ -60894,7 +60939,7 @@ function ThemedText({ color, backgroundColor, dimColor = false, bold = false, it
60894
60939
  });
60895
60940
  }
60896
60941
  //#endregion
60897
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Spacer.js
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
60898
60943
  /**
60899
60944
  * A flexible space that expands along the major axis of its containing layout.
60900
60945
  * It's useful as a shortcut for filling all the available spaces between elements.
@@ -60909,7 +60954,7 @@ function Spacer() {
60909
60954
  return t0;
60910
60955
  }
60911
60956
  //#endregion
60912
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Newline.js
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
60913
60958
  /**
60914
60959
  * Adds one or more newline (\n) characters. Must be used within <Text> components.
60915
60960
  */
@@ -60932,7 +60977,7 @@ function Newline(t0) {
60932
60977
  return t3;
60933
60978
  }
60934
60979
  //#endregion
60935
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/NoSelect.js
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
60936
60981
  /**
60937
60982
  * Marks its contents as non-selectable in fullscreen text selection.
60938
60983
  * Cells inside this box are skipped by both the selection highlight and
@@ -60983,7 +61028,7 @@ function NoSelect(t0) {
60983
61028
  return t2;
60984
61029
  }
60985
61030
  //#endregion
60986
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/AlternateScreen.js
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
60987
61032
  /**
60988
61033
  * Run children in the terminal's alternate screen buffer, constrained to
60989
61034
  * the viewport height. While mounted:
@@ -61058,7 +61103,7 @@ function AlternateScreen(t0) {
61058
61103
  return t5;
61059
61104
  }
61060
61105
  //#endregion
61061
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/ScrollBox.js
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
61062
61107
  /**
61063
61108
  * A Box with `overflow: scroll` and an imperative scroll API.
61064
61109
  *
@@ -61236,7 +61281,7 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
61236
61281
  });
61237
61282
  }
61238
61283
  //#endregion
61239
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-input.js
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
61240
61285
  /**
61241
61286
  * Keep an event listener stable while always dispatching to the latest render's
61242
61287
  * callback. Keeping this hook local is important for packaged installs: a
@@ -61302,7 +61347,7 @@ const useInput = (inputHandler, options = {}) => {
61302
61347
  }, [internal_eventEmitter, handleData]);
61303
61348
  };
61304
61349
  //#endregion
61305
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-selection.js
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
61306
61351
  /**
61307
61352
  * Access to text selection operations on the Ink instance (fullscreen only).
61308
61353
  * Returns no-op functions when fullscreen mode is disabled.
@@ -61342,7 +61387,7 @@ function useSelection() {
61342
61387
  }, [ink]);
61343
61388
  }
61344
61389
  //#endregion
61345
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-copy-on-select.js
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
61346
61391
  /**
61347
61392
  * Copy-on-select: when a drag finishes (or a double/triple click, or a
61348
61393
  * shift+arrow extension, lands a selection), copy the selected text to the
@@ -61382,14 +61427,14 @@ function useCopyOnSelect(onCopied) {
61382
61427
  ]);
61383
61428
  }
61384
61429
  //#endregion
61385
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-app.js
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
61386
61431
  /**
61387
61432
  * React hook exposing the manual app-exit function from `AppContext`.
61388
61433
  * @returns the `AppContext` value, whose `exit` function unmounts the app.
61389
61434
  */
61390
61435
  const useApp = () => (0, import_react.useContext)(AppContext);
61391
61436
  //#endregion
61392
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-viewport.js
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
61393
61438
  /**
61394
61439
  * Hook to detect if a component is within the terminal viewport.
61395
61440
  *
@@ -61443,7 +61488,7 @@ function useTerminalViewport() {
61443
61488
  return [setElement, entryRef.current];
61444
61489
  }
61445
61490
  //#endregion
61446
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-animation-frame.js
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
61447
61492
  /**
61448
61493
  * Hook for synchronized animations that pause when offscreen.
61449
61494
  *
@@ -61492,7 +61537,7 @@ function useAnimationFrame(intervalMs = 16) {
61492
61537
  return [viewportRef, time];
61493
61538
  }
61494
61539
  //#endregion
61495
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-size.js
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
61496
61541
  /** Terminal dimensions from the Ink app shell (from Claude Code).
61497
61542
  * @returns the current terminal dimensions.
61498
61543
  */
@@ -61502,7 +61547,7 @@ function useTerminalSize() {
61502
61547
  return size;
61503
61548
  }
61504
61549
  //#endregion
61505
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useBlink.js
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
61506
61551
  const BLINK_INTERVAL_MS = 600;
61507
61552
  /**
61508
61553
  * Hook for synchronized blinking animations that pause when offscreen
@@ -61519,7 +61564,7 @@ function useBlink(enabled, intervalMs = BLINK_INTERVAL_MS) {
61519
61564
  return [ref, Math.floor(time / intervalMs) % 2 === 0];
61520
61565
  }
61521
61566
  //#endregion
61522
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/supports-hyperlinks.js
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
61523
61568
  var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
61524
61569
  const supportsColor = require_supports_color();
61525
61570
  const hasFlag = require_has_flag();
@@ -61616,7 +61661,7 @@ function supportsHyperlinks(options) {
61616
61661
  return false;
61617
61662
  }
61618
61663
  //#endregion
61619
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/components/Link.js
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
61620
61665
  function Link(t0) {
61621
61666
  const $ = (0, import_compiler_runtime.c)(5);
61622
61667
  const { children, url, fallback } = t0;
@@ -61644,7 +61689,7 @@ function Link(t0) {
61644
61689
  return t2;
61645
61690
  }
61646
61691
  //#endregion
61647
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/esc.js
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
61648
61693
  /**
61649
61694
  * ESC Sequence Parser
61650
61695
  *
@@ -61700,7 +61745,7 @@ function parseEsc(chars) {
61700
61745
  };
61701
61746
  }
61702
61747
  //#endregion
61703
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/types.js
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
61704
61749
  /**
61705
61750
  * ANSI Parser - Semantic Types
61706
61751
  *
@@ -61728,7 +61773,7 @@ function defaultStyle() {
61728
61773
  };
61729
61774
  }
61730
61775
  //#endregion
61731
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/sgr.js
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
61732
61777
  /**
61733
61778
  * SGR (Select Graphic Rendition) Parser
61734
61779
  *
@@ -62036,7 +62081,7 @@ function applySGR(paramStr, style) {
62036
62081
  return s;
62037
62082
  }
62038
62083
  //#endregion
62039
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/termio/parser.js
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
62040
62085
  /**
62041
62086
  * ANSI Parser - Semantic Action Generator
62042
62087
  *
@@ -62413,7 +62458,7 @@ var Parser = class {
62413
62458
  }
62414
62459
  };
62415
62460
  //#endregion
62416
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/Ansi.js
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
62417
62462
  /**
62418
62463
  * Component that parses ANSI escape codes and renders them using Text components.
62419
62464
  *
@@ -62664,7 +62709,7 @@ function StyledText(t0) {
62664
62709
  return t1;
62665
62710
  }
62666
62711
  //#endregion
62667
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ui.js
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
62668
62713
  var ui_exports = /* @__PURE__ */ __exportAll({
62669
62714
  AlternateScreen: () => AlternateScreen,
62670
62715
  Ansi: () => Ansi,
@@ -62688,7 +62733,7 @@ var ui_exports = /* @__PURE__ */ __exportAll({
62688
62733
  useTheme: () => useTheme
62689
62734
  });
62690
62735
  //#endregion
62691
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PageMargin.js
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
62692
62737
  /** 嵌套安全的 inset(若未来出现嵌套 PageMargin 会累加)。 */
62693
62738
  const PageInsetContext = import_react.createContext({
62694
62739
  x: 0,
@@ -62742,7 +62787,7 @@ function PageMargin({ children }) {
62742
62787
  });
62743
62788
  }
62744
62789
  //#endregion
62745
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/figures.js
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
62746
62791
  /**
62747
62792
  * UI glyph constants used across the TUI: prompt markers, status badges,
62748
62793
  * direction arrows, media controls, reasoning-effort indicators, and
@@ -62769,7 +62814,7 @@ const THINKING_SPINNER_FRAMES = [
62769
62814
  "⠏"
62770
62815
  ];
62771
62816
  //#endregion
62772
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/providerWizard.js
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
62773
62818
  /**
62774
62819
  * `/provider` wizard — interactively adds, edits, or deletes an LLM
62775
62820
  * provider route at runtime.
@@ -63495,7 +63540,7 @@ function buildProfile(input) {
63495
63540
  return profile;
63496
63541
  }
63497
63542
  //#endregion
63498
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/modelConfigWizard.js
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
63499
63544
  /** `/model-config`: platform catalogs and shared provider configuration. */
63500
63545
  const CUSTOM_MODEL_PROTOCOLS = [
63501
63546
  "openai-completions",
@@ -64377,7 +64422,7 @@ function parseCapacity(value) {
64377
64422
  return Number.isSafeInteger(parsed) && parsed > 0 ? parsed : void 0;
64378
64423
  }
64379
64424
  //#endregion
64380
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-declared-cursor.js
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
64381
64426
  /**
64382
64427
  * Declares where the terminal cursor should be parked after each frame.
64383
64428
  *
@@ -64426,7 +64471,7 @@ function useDeclaredCursor(options) {
64426
64471
  return setNode;
64427
64472
  }
64428
64473
  //#endregion
64429
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/measure-element.js
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
64430
64475
  /**
64431
64476
  * Measure the rendered dimensions of a Box element.
64432
64477
  * @param node - the DOM element to measure.
@@ -64437,7 +64482,7 @@ const measureElement = (node) => ({
64437
64482
  height: node.yogaNode?.getComputedHeight() ?? 0
64438
64483
  });
64439
64484
  //#endregion
64440
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Divider.js
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
64441
64486
  const MAX_APPLIED_MEASUREMENTS = 8;
64442
64487
  /**
64443
64488
  * A horizontal divider line, optionally with a title in the middle
@@ -66165,7 +66210,7 @@ f.parseInline;
66165
66210
  O.parse;
66166
66211
  T.lex;
66167
66212
  //#endregion
66168
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxTheme.js
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
66169
66214
  /** highlight.js token classes -> theme syntax tokens. `default` catches
66170
66215
  * every unmapped class so cli-highlight's own yellow never leaks through
66171
66216
  * (issue #250, P2-6). */
@@ -66231,7 +66276,7 @@ function buildSyntaxTheme(theme) {
66231
66276
  return out;
66232
66277
  }
66233
66278
  //#endregion
66234
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/hyperlink.js
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
66235
66280
  /** OSC 8 hyperlink start sequence: `ESC ] 8 ; ;`, followed by the URL. */
66236
66281
  const OSC8_START = "\x1B]8;;";
66237
66282
  /** Schemes a rendered hyperlink may point at. Anything else degrades to
@@ -66273,7 +66318,7 @@ function createHyperlink(url, content, options) {
66273
66318
  return `${OSC8_START}${safeUrl}${(options?.style ?? ((text) => chalk.blue(text)))(displayText)}${OSC8_START}`;
66274
66319
  }
66275
66320
  //#endregion
66276
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/fileTarget.js
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
66277
66322
  /**
66278
66323
  * Clickable file targets: turning path-like text in AI output into
66279
66324
  * clickable targets, and resolving those targets back to absolute paths at
@@ -66415,7 +66460,7 @@ function linkifyFilePaths(text, wrap) {
66415
66460
  });
66416
66461
  }
66417
66462
  //#endregion
66418
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/markdown.js
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
66419
66464
  /**
66420
66465
  * Markdown-to-ANSI renderer over marked's token stream.
66421
66466
  *
@@ -66730,7 +66775,7 @@ function padAligned(content, displayWidth, targetWidth, align) {
66730
66775
  return content + " ".repeat(extra);
66731
66776
  }
66732
66777
  //#endregion
66733
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/cliHighlight.js
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
66734
66779
  let cliHighlightPromise;
66735
66780
  async function loadCliHighlight() {
66736
66781
  try {
@@ -66753,7 +66798,7 @@ function getCliHighlightPromise() {
66753
66798
  return cliHighlightPromise;
66754
66799
  }
66755
66800
  //#endregion
66756
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MarkdownTable.js
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
66757
66802
  /** Accounts for parent indentation and terminal resize races (from Claude Code). */
66758
66803
  const SAFETY_MARGIN = 4;
66759
66804
  /** Minimum column width to prevent degenerate layouts */
@@ -66940,7 +66985,7 @@ function MarkdownTable({ token, highlight, forceWidth }) {
66940
66985
  return (0, import_jsx_runtime.jsx)(Text, { children: tableLines.join("\n") });
66941
66986
  }
66942
66987
  //#endregion
66943
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Markdown.js
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
66944
66989
  const TOKEN_CACHE_CAPACITY = 200;
66945
66990
  const TOKEN_CACHE_CHAR_BUDGET = 2e5;
66946
66991
  const TOKEN_CACHE_MAX_SOURCE_LENGTH = 2e4;
@@ -67049,7 +67094,7 @@ function MarkdownImpl({ children, dimColor = false, cacheTokens = true }) {
67049
67094
  */
67050
67095
  const Markdown = import_react.memo(MarkdownImpl, (prev, next) => prev.children === next.children && prev.dimColor === next.dimColor && prev.cacheTokens === next.cacheTokens);
67051
67096
  //#endregion
67052
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/PlanReviewPanel.js
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
67053
67098
  /**
67054
67099
  * The plan-review panel — Claude Code style exit-plan-mode decision card
67055
67100
  * for the DSH user-interaction seam. plan-mode's `exit_plan_mode` tool asks
@@ -67371,7 +67416,7 @@ function PlanReviewPanel({ question, onAnswer, onCancel }) {
67371
67416
  });
67372
67417
  }
67373
67418
  //#endregion
67374
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/listWindow.js
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
67375
67420
  /**
67376
67421
  * 焦点居中的列表窗口:长列表只渲染焦点附近的一段,保证焦点行始终可见。
67377
67422
  * 瞬态面板走 OverlayAbove 零高度浮层后,超高部分会被 overflow 裁掉且焦点
@@ -67423,7 +67468,7 @@ function listWindow(heights, focusIndex, maxRows, gap = 0) {
67423
67468
  }
67424
67469
  }
67425
67470
  //#endregion
67426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/questions/AskUserQuestionPanel.js
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
67427
67472
  /**
67428
67473
  * The questionnaire panel — Claude Code style ask-user-question UI for the
67429
67474
  * DSH user-interaction seam. One question per panel (progress header, header
@@ -68017,7 +68062,7 @@ function AskUserQuestionPanel({ question, position, total, answered, initialDraf
68017
68062
  });
68018
68063
  }
68019
68064
  //#endregion
68020
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/approvals/ApprovalPanel.js
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
68021
68066
  /**
68022
68067
  * The approval panel — Claude Code style permission prompt for the DSH
68023
68068
  * approval seam (`ctx.approval`). One ask per panel: a permission-colored
@@ -68142,7 +68187,7 @@ function ApprovalPanel({ approval, background = false, onDecide }) {
68142
68187
  });
68143
68188
  }
68144
68189
  //#endregion
68145
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Pane.js
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
68146
68191
  /**
68147
68192
  * A pane — a region below the prompt bounded by a colored top line with a
68148
68193
  * one-row gap above and horizontal padding, mirroring Claude Code's
@@ -68164,7 +68209,7 @@ function Pane({ children, color }) {
68164
68209
  });
68165
68210
  }
68166
68211
  //#endregion
68167
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/ListItem.js
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
68168
68213
  /**
68169
68214
  * A list item for selection UIs, mirroring Claude Code's
68170
68215
  * design-system/ListItem.tsx: `❯` pointer for the focused row, `✓`
@@ -68261,7 +68306,7 @@ function flattenDeep(node) {
68261
68306
  return node;
68262
68307
  }
68263
68308
  //#endregion
68264
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/HintLine.js
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
68265
68310
  /**
68266
68311
  * Localized shortcut-hint line: renders a `t('hint-*')` string, with the
68267
68312
  * `**primary shortcut**` segment (the main action's key, wrapped in `**` in
@@ -68278,7 +68323,7 @@ function HintLine({ text }) {
68278
68323
  }, index) : part) });
68279
68324
  }
68280
68325
  //#endregion
68281
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ExtensionDialog.js
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
68282
68327
  /**
68283
68328
  * The managed plugin dialog (`ctx.tuiDialogs`) — one panel rendering the
68284
68329
  * store's current snapshot in the chat chrome (the slot approval/question
@@ -68538,7 +68583,7 @@ function InputDialog({ dialog, onDecide, onCancel }) {
68538
68583
  });
68539
68584
  }
68540
68585
  //#endregion
68541
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-search-highlight.js
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
68542
68587
  /**
68543
68588
  * Set the search highlight query on the Ink instance. Non-empty → all
68544
68589
  * visible occurrences are inverted on the next frame (SGR 7, screen-buffer
@@ -68570,7 +68615,7 @@ function useSearchHighlight() {
68570
68615
  }, [ink]);
68571
68616
  }
68572
68617
  //#endregion
68573
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/hooks/use-terminal-title.js
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
68574
68619
  /**
68575
68620
  * Declaratively set the terminal tab/window title.
68576
68621
  *
@@ -68593,7 +68638,7 @@ function useTerminalTitle(title) {
68593
68638
  }, [title, writeRaw]);
68594
68639
  }
68595
68640
  //#endregion
68596
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessions/format.js
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
68597
68642
  /**
68598
68643
  * Session browser formatting.
68599
68644
  *
@@ -68842,223 +68887,13 @@ function projectName(cwd) {
68842
68887
  return normalized.split("/").filter(Boolean).at(-1) ?? normalized;
68843
68888
  }
68844
68889
  //#endregion
68845
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
68846
- /**
68847
- * Tooltip hover system — the terminal equivalent of the HTML `title`
68848
- * attribute. Attach {@link useTooltip} props to any Box whose visible text
68849
- * may be truncated (tool-call header paths, wrapped prompts, status-line
68850
- * fields); after a ~600ms dwell the full content pops up in a floating card
68851
- * anchored at the pointer, and disappears the moment the pointer leaves.
68852
- *
68853
- * Attach it ONLY when the text is actually hidden: a float that repeats
68854
- * content already visible next to the pointer is noise, not detail (the
68855
- * tool-call header gates on folded/clipped content for this reason).
68856
- *
68857
- * Hover events only exist in fullscreen (alternate screen + mouse
68858
- * tracking); inline mode never fires the handlers, so the store can only
68859
- * be written from a live fullscreen tree.
68860
- */
68861
- /** Default dwell before the tooltip appears (GUI `title` convention). */
68862
- const DEFAULT_TOOLTIP_DELAY_MS = 600;
68863
- let state = null;
68864
- let invalidationGeneration = 0;
68865
- const listeners$1 = /* @__PURE__ */ new Set();
68866
- function notify() {
68867
- for (const listener of listeners$1) listener();
68868
- }
68869
- /** Subscribe to tooltip show/hide; returns an unsubscribe function. */
68870
- function subscribeTooltip(listener) {
68871
- listeners$1.add(listener);
68872
- return () => {
68873
- listeners$1.delete(listener);
68874
- };
68875
- }
68876
- /** Stable snapshot for useSyncExternalStore (identity kept until changed). */
68877
- function getTooltipSnapshot() {
68878
- return state;
68879
- }
68880
- function showTooltip(owner, col, row, content) {
68881
- state = {
68882
- owner,
68883
- anchorCol: col,
68884
- anchorRow: row,
68885
- content
68886
- };
68887
- notify();
68888
- }
68889
- function hideTooltip(owner) {
68890
- if (state !== null && state.owner === owner) {
68891
- state = null;
68892
- notify();
68893
- }
68894
- }
68895
- /** Hide shown content and invalidate every pending dwell timer. */
68896
- function clearTooltip() {
68897
- invalidationGeneration++;
68898
- if (state !== null) {
68899
- state = null;
68900
- notify();
68901
- }
68902
- }
68903
- /**
68904
- * Hover props that pop a tooltip with the full content after a dwell.
68905
- *
68906
- * The pointer position (screen col/row) is taken from the PointerEvent the
68907
- * renderer hands to `onMouseEnter` — the runtime always passes one even
68908
- * though the prop type is `() => void`, which is why the handler's parameter
68909
- * is optional (a `() => void` prop accepts a function with only optional
68910
- * parameters).
68911
- */
68912
- function useTooltip(content, opts) {
68913
- const ownerRef = import_react.useRef(null);
68914
- if (ownerRef.current === null) ownerRef.current = { timer: null };
68915
- const owner = ownerRef.current;
68916
- const contentRef = import_react.useRef(content);
68917
- contentRef.current = content;
68918
- const delayMs = opts?.delayMs ?? DEFAULT_TOOLTIP_DELAY_MS;
68919
- import_react.useEffect(() => () => {
68920
- if (owner.timer !== null) clearTimeout(owner.timer);
68921
- hideTooltip(owner);
68922
- }, [owner]);
68923
- return import_react.useMemo(() => ({
68924
- onMouseEnter: (event) => {
68925
- const col = event?.col ?? 0;
68926
- const row = event?.row ?? 0;
68927
- if (owner.timer !== null) clearTimeout(owner.timer);
68928
- const generationAtEnter = invalidationGeneration;
68929
- owner.timer = setTimeout(() => {
68930
- owner.timer = null;
68931
- if (generationAtEnter !== invalidationGeneration) return;
68932
- const resolved = typeof contentRef.current === "function" ? contentRef.current() : contentRef.current;
68933
- if (resolved === "") return;
68934
- showTooltip(owner, col, row, resolved);
68935
- }, delayMs);
68936
- },
68937
- onMouseLeave: () => {
68938
- if (owner.timer !== null) {
68939
- clearTimeout(owner.timer);
68940
- owner.timer = null;
68941
- }
68942
- hideTooltip(owner);
68943
- }
68944
- }), [owner, delayMs]);
68945
- }
68946
- /**
68947
- * Convenience wrapper for list rows built from data (a component boundary
68948
- * makes the hook call legal per item). Renders a plain Box carrying the
68949
- * hover props around `children`.
68950
- */
68951
- function TooltipTarget({ content, children }) {
68952
- return (0, import_jsx_runtime.jsx)(ThemedBox, {
68953
- ...useTooltip(content),
68954
- children
68955
- });
68956
- }
68957
- /**
68958
- * The singleton floating layer: subscribes to the tooltip store and renders
68959
- * the rounded card above the anchor row (below it when there is no room),
68960
- * horizontally clamped inside the terminal. Mount once, LAST in the tree so
68961
- * it paints over everything else. Terminal resize hides the tooltip — its
68962
- * anchor is screen geometry that just went stale.
68963
- */
68964
- function TooltipLayer({ invalidationKey, subscribeInvalidation } = {}) {
68965
- const { columns, rows } = useTerminalSize();
68966
- const terminalFocused = useTerminalFocus();
68967
- const tooltip = import_react.useSyncExternalStore(subscribeTooltip, getTooltipSnapshot);
68968
- import_react.useEffect(() => {
68969
- clearTooltip();
68970
- }, [invalidationKey]);
68971
- import_react.useEffect(() => {
68972
- if (!terminalFocused) clearTooltip();
68973
- }, [terminalFocused]);
68974
- import_react.useEffect(() => {
68975
- if (subscribeInvalidation === void 0) return;
68976
- return subscribeInvalidation(clearTooltip);
68977
- }, [subscribeInvalidation]);
68978
- const prevSize = import_react.useRef({
68979
- columns,
68980
- rows
68981
- });
68982
- import_react.useEffect(() => {
68983
- if (prevSize.current.columns !== columns || prevSize.current.rows !== rows) {
68984
- prevSize.current = {
68985
- columns,
68986
- rows
68987
- };
68988
- clearTooltip();
68989
- }
68990
- }, [columns, rows]);
68991
- if (tooltip === null) return null;
68992
- if (columns < 3 || rows < 3) return null;
68993
- const maxWidth = Math.max(3, columns - 4);
68994
- let lines = wrapTooltipContent(tooltip.content, maxWidth - 2);
68995
- const maxLines = Math.max(1, rows - 2);
68996
- if (lines.length > maxLines) lines = lines.slice(0, maxLines);
68997
- const width = Math.min(maxWidth - 2, Math.max(1, ...lines.map(stringWidth$1))) + 2;
68998
- const height = lines.length + 2;
68999
- const inset = import_react.useContext(PageInsetContext);
69000
- const topAbove = tooltip.anchorRow - height;
69001
- const top = Math.max(inset.y, Math.min(topAbove >= 0 ? topAbove : tooltip.anchorRow + 1, inset.y + Math.max(0, rows - height)));
69002
- return (0, import_jsx_runtime.jsx)(ThemedBox, {
69003
- position: "absolute",
69004
- left: Math.max(inset.x, Math.min(tooltip.anchorCol, inset.x + Math.max(0, columns - width))),
69005
- top,
69006
- width,
69007
- height,
69008
- flexDirection: "column",
69009
- flexShrink: 0,
69010
- borderStyle: "round",
69011
- borderColor: "permission",
69012
- backgroundColor: "toolCardBackground",
69013
- children: lines.map((line, index) => (0, import_jsx_runtime.jsx)(ThemedText, {
69014
- wrap: "truncate-end",
69015
- children: line === "" ? " " : line
69016
- }, index))
69017
- });
69018
- }
69019
- /**
69020
- * Wrap tooltip content to display width, breaking only BETWEEN grapheme
69021
- * clusters (ZWJ emoji, combining sequences and CJK wide cells stay whole).
69022
- * Newlines in the input are honoured. Mirrors PromptInput.wrapToWidth's
69023
- * break rule so the tooltip shows exactly the text the input would wrap.
69024
- */
69025
- function wrapTooltipContent(text, width) {
69026
- const rows = [];
69027
- if (width <= 0) return rows;
69028
- text = stripAnsi$1(text).replace(/\t/gu, " ").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/gu, "");
69029
- const segmenter = getGraphemeSegmenter();
69030
- for (const line of text.split("\n")) {
69031
- if (line === "") {
69032
- rows.push("");
69033
- continue;
69034
- }
69035
- let current = "";
69036
- let used = 0;
69037
- for (const { segment } of segmenter.segment(line)) {
69038
- const w = stringWidth$1(segment);
69039
- if (used + w > width && current !== "") {
69040
- rows.push(current);
69041
- current = segment;
69042
- used = w;
69043
- } else {
69044
- current += segment;
69045
- used += w;
69046
- }
69047
- }
69048
- rows.push(current);
69049
- }
69050
- return rows;
69051
- }
69052
- //#endregion
69053
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/UserPromptMessage.js
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
69054
68891
  /** User prompt row in the legacy CLI treatment: a full-width gray strip. */
69055
68892
  function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69056
68893
  const { columns } = useTerminalSize();
69057
68894
  const prefixWidth = stringWidth$1(`❯ `);
69058
68895
  const lines = wrapWidth(text, Math.max(1, columns - prefixWidth - 3));
69059
68896
  const continuationIndent = " ".repeat(prefixWidth);
69060
- const promptTooltip = useTooltip(text);
69061
- const tooltipActive = lines.length > 1;
69062
68897
  return (0, import_jsx_runtime.jsx)(ThemedBox, {
69063
68898
  flexDirection: "column",
69064
68899
  marginTop: addMargin ? 1 : 0,
@@ -69066,7 +68901,6 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69066
68901
  backgroundColor: isSelected ? "messageActionsBackground" : "userMessageBackground",
69067
68902
  paddingRight: 1,
69068
68903
  onClick,
69069
- ...tooltipActive ? promptTooltip : {},
69070
68904
  children: lines.map((line, index) => (0, import_jsx_runtime.jsxs)(ThemedText, {
69071
68905
  color: "text",
69072
68906
  bold: true,
@@ -69079,7 +68913,7 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69079
68913
  });
69080
68914
  }
69081
68915
  //#endregion
69082
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantTextMessage.js
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
69083
68917
  /**
69084
68918
  * Assistant text message: bullet + markdown body (mirroring Claude Code's default branch).
69085
68919
  *
@@ -69112,7 +68946,7 @@ function AssistantTextMessage({ text, addMargin, isSelected = false, isExpanded
69112
68946
  });
69113
68947
  }
69114
68948
  //#endregion
69115
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/StreamingMarkdown.js
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
69116
68950
  /**
69117
68951
  * Renders markdown during streaming by splitting at the last top-level block
69118
68952
  * boundary: everything before is stable (memoized, never re-parsed), only the
@@ -69302,7 +69136,7 @@ function StreamingMarkdown({ children, dimColor = false }) {
69302
69136
  });
69303
69137
  }
69304
69138
  //#endregion
69305
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/spinnerUtils.js
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
69306
69140
  /**
69307
69141
  * Spinner 动画的通用工具集:平台相关的帧字符选择、RGB 颜色插值、
69308
69142
  * HSL 色相转 RGB,以及 `rgb(...)` 颜色字符串的解析与记忆化。
@@ -69382,7 +69216,7 @@ function parseRGB(colorStr) {
69382
69216
  return parsed;
69383
69217
  }
69384
69218
  //#endregion
69385
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/shimmer.js
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
69386
69220
  /** Header blue-white ladder: brand → ice → pale → soft ice flash.
69387
69221
  * FLASH stays visibly blue (never pure white) — the highlight reads as a
69388
69222
  * mist-brightened crest, not a white strobe. */
@@ -69398,7 +69232,7 @@ const ICE = {
69398
69232
  b: 255
69399
69233
  };
69400
69234
  //#endregion
69401
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantThinkingMessage.js
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
69402
69236
  /** Preview body rows — a FIXED row count (kimicode-style constant-height
69403
69237
  * ticker). Ink's truncate slices the whole string across newlines as one
69404
69238
  * logical line, so a single joined Text collapses to 1-2 rows whenever
@@ -69511,7 +69345,7 @@ function AssistantThinkingMessage({ thinking, textFull, addMargin, verbose, stre
69511
69345
  });
69512
69346
  }
69513
69347
  //#endregion
69514
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ToolUseLoader.js
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
69515
69349
  const CATEGORY_BY_TOOL = {
69516
69350
  bash: "exec",
69517
69351
  powershell: "exec",
@@ -70092,7 +69926,7 @@ var ArrayDiff = class extends Diff {
70092
69926
  };
70093
69927
  new ArrayDiff();
70094
69928
  //#endregion
70095
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/cc/syntaxRuns.js
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
70096
69930
  const ANSI16 = {
70097
69931
  30: "rgb(0,0,0)",
70098
69932
  31: "rgb(128,0,0)",
@@ -70177,7 +70011,7 @@ function syntaxThemeSignature(theme) {
70177
70011
  return Object.values(SYNTAX_CLASS_TO_TOKEN).map((key) => palette[key] ?? "").join("|");
70178
70012
  }
70179
70013
  //#endregion
70180
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/smoothReveal.js
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
70181
70015
  /**
70182
70016
  * Smooth streaming reveal — decouples "text the provider has delivered" from
70183
70017
  * "text the screen is showing" (the oh-my-pi `display.smoothStreaming` idea,
@@ -70423,7 +70257,7 @@ function revealLinesOf(key, total, options) {
70423
70257
  return Math.min(existing.revealed, total);
70424
70258
  }
70425
70259
  //#endregion
70426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SplitDiffView.js
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
70427
70261
  /** Replace tabs so width math and alignment hold (pi convention). */
70428
70262
  const expandTabs = (text) => text.replaceAll(" ", " ");
70429
70263
  /**
@@ -70732,7 +70566,7 @@ function SplitDiffView({ diffs, width, maxRows, verbose, toolBackground = "none"
70732
70566
  });
70733
70567
  }
70734
70568
  //#endregion
70735
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SyntaxText.js
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
70736
70570
  /** Async nested Text renderer. Lexes the complete payload before splitting. */
70737
70571
  function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, dimColor }) {
70738
70572
  const [highlighter, setHighlighter] = import_react.useState(null);
@@ -70776,7 +70610,215 @@ function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, d
70776
70610
  }, index)) });
70777
70611
  }
70778
70612
  //#endregion
70779
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/format.js
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
70614
+ /**
70615
+ * Tooltip hover system — the terminal equivalent of the HTML `title`
70616
+ * attribute. Attach {@link useTooltip} props to any Box whose visible text
70617
+ * may be truncated (tool-call header paths, wrapped prompts, status-line
70618
+ * fields); after a ~600ms dwell the full content pops up in a floating card
70619
+ * anchored at the pointer, and disappears the moment the pointer leaves.
70620
+ *
70621
+ * Attach it ONLY when the text is actually hidden: a float that repeats
70622
+ * content already visible next to the pointer is noise, not detail (the
70623
+ * tool-call header gates on folded/clipped content for this reason).
70624
+ *
70625
+ * Hover events only exist in fullscreen (alternate screen + mouse
70626
+ * tracking); inline mode never fires the handlers, so the store can only
70627
+ * be written from a live fullscreen tree.
70628
+ */
70629
+ /** Default dwell before the tooltip appears (GUI `title` convention). */
70630
+ const DEFAULT_TOOLTIP_DELAY_MS = 600;
70631
+ let state = null;
70632
+ let invalidationGeneration = 0;
70633
+ const listeners$1 = /* @__PURE__ */ new Set();
70634
+ function notify() {
70635
+ for (const listener of listeners$1) listener();
70636
+ }
70637
+ /** Subscribe to tooltip show/hide; returns an unsubscribe function. */
70638
+ function subscribeTooltip(listener) {
70639
+ listeners$1.add(listener);
70640
+ return () => {
70641
+ listeners$1.delete(listener);
70642
+ };
70643
+ }
70644
+ /** Stable snapshot for useSyncExternalStore (identity kept until changed). */
70645
+ function getTooltipSnapshot() {
70646
+ return state;
70647
+ }
70648
+ function showTooltip(owner, col, row, content) {
70649
+ state = {
70650
+ owner,
70651
+ anchorCol: col,
70652
+ anchorRow: row,
70653
+ content
70654
+ };
70655
+ notify();
70656
+ }
70657
+ function hideTooltip(owner) {
70658
+ if (state !== null && state.owner === owner) {
70659
+ state = null;
70660
+ notify();
70661
+ }
70662
+ }
70663
+ /** Hide shown content and invalidate every pending dwell timer. */
70664
+ function clearTooltip() {
70665
+ invalidationGeneration++;
70666
+ if (state !== null) {
70667
+ state = null;
70668
+ notify();
70669
+ }
70670
+ }
70671
+ /**
70672
+ * Hover props that pop a tooltip with the full content after a dwell.
70673
+ *
70674
+ * The pointer position (screen col/row) is taken from the PointerEvent the
70675
+ * renderer hands to `onMouseEnter` — the runtime always passes one even
70676
+ * though the prop type is `() => void`, which is why the handler's parameter
70677
+ * is optional (a `() => void` prop accepts a function with only optional
70678
+ * parameters).
70679
+ */
70680
+ function useTooltip(content, opts) {
70681
+ const ownerRef = import_react.useRef(null);
70682
+ if (ownerRef.current === null) ownerRef.current = { timer: null };
70683
+ const owner = ownerRef.current;
70684
+ const contentRef = import_react.useRef(content);
70685
+ contentRef.current = content;
70686
+ const delayMs = opts?.delayMs ?? DEFAULT_TOOLTIP_DELAY_MS;
70687
+ import_react.useEffect(() => () => {
70688
+ if (owner.timer !== null) clearTimeout(owner.timer);
70689
+ hideTooltip(owner);
70690
+ }, [owner]);
70691
+ return import_react.useMemo(() => ({
70692
+ onMouseEnter: (event) => {
70693
+ const col = event?.col ?? 0;
70694
+ const row = event?.row ?? 0;
70695
+ if (owner.timer !== null) clearTimeout(owner.timer);
70696
+ const generationAtEnter = invalidationGeneration;
70697
+ owner.timer = setTimeout(() => {
70698
+ owner.timer = null;
70699
+ if (generationAtEnter !== invalidationGeneration) return;
70700
+ const resolved = typeof contentRef.current === "function" ? contentRef.current() : contentRef.current;
70701
+ if (resolved === "") return;
70702
+ showTooltip(owner, col, row, resolved);
70703
+ }, delayMs);
70704
+ },
70705
+ onMouseLeave: () => {
70706
+ if (owner.timer !== null) {
70707
+ clearTimeout(owner.timer);
70708
+ owner.timer = null;
70709
+ }
70710
+ hideTooltip(owner);
70711
+ }
70712
+ }), [owner, delayMs]);
70713
+ }
70714
+ /**
70715
+ * Convenience wrapper for list rows built from data (a component boundary
70716
+ * makes the hook call legal per item). Renders a plain Box carrying the
70717
+ * hover props around `children`.
70718
+ */
70719
+ function TooltipTarget({ content, children }) {
70720
+ return (0, import_jsx_runtime.jsx)(ThemedBox, {
70721
+ ...useTooltip(content),
70722
+ children
70723
+ });
70724
+ }
70725
+ /**
70726
+ * The singleton floating layer: subscribes to the tooltip store and renders
70727
+ * the rounded card above the anchor row (below it when there is no room),
70728
+ * horizontally clamped inside the terminal. Mount once, LAST in the tree so
70729
+ * it paints over everything else. Terminal resize hides the tooltip — its
70730
+ * anchor is screen geometry that just went stale.
70731
+ */
70732
+ function TooltipLayer({ invalidationKey, subscribeInvalidation } = {}) {
70733
+ const { columns, rows } = useTerminalSize();
70734
+ const terminalFocused = useTerminalFocus();
70735
+ const tooltip = import_react.useSyncExternalStore(subscribeTooltip, getTooltipSnapshot);
70736
+ import_react.useEffect(() => {
70737
+ clearTooltip();
70738
+ }, [invalidationKey]);
70739
+ import_react.useEffect(() => {
70740
+ if (!terminalFocused) clearTooltip();
70741
+ }, [terminalFocused]);
70742
+ import_react.useEffect(() => {
70743
+ if (subscribeInvalidation === void 0) return;
70744
+ return subscribeInvalidation(clearTooltip);
70745
+ }, [subscribeInvalidation]);
70746
+ const prevSize = import_react.useRef({
70747
+ columns,
70748
+ rows
70749
+ });
70750
+ import_react.useEffect(() => {
70751
+ if (prevSize.current.columns !== columns || prevSize.current.rows !== rows) {
70752
+ prevSize.current = {
70753
+ columns,
70754
+ rows
70755
+ };
70756
+ clearTooltip();
70757
+ }
70758
+ }, [columns, rows]);
70759
+ if (tooltip === null) return null;
70760
+ if (columns < 3 || rows < 3) return null;
70761
+ const maxWidth = Math.max(3, columns - 4);
70762
+ let lines = wrapTooltipContent(tooltip.content, maxWidth - 2);
70763
+ const maxLines = Math.max(1, rows - 2);
70764
+ if (lines.length > maxLines) lines = lines.slice(0, maxLines);
70765
+ const width = Math.min(maxWidth - 2, Math.max(1, ...lines.map(stringWidth$1))) + 2;
70766
+ const height = lines.length + 2;
70767
+ const inset = import_react.useContext(PageInsetContext);
70768
+ const topAbove = tooltip.anchorRow - height;
70769
+ const top = Math.max(inset.y, Math.min(topAbove >= 0 ? topAbove : tooltip.anchorRow + 1, inset.y + Math.max(0, rows - height)));
70770
+ return (0, import_jsx_runtime.jsx)(ThemedBox, {
70771
+ position: "absolute",
70772
+ left: Math.max(inset.x, Math.min(tooltip.anchorCol, inset.x + Math.max(0, columns - width))),
70773
+ top,
70774
+ width,
70775
+ height,
70776
+ flexDirection: "column",
70777
+ flexShrink: 0,
70778
+ borderStyle: "round",
70779
+ borderColor: "permission",
70780
+ backgroundColor: "toolCardBackground",
70781
+ children: lines.map((line, index) => (0, import_jsx_runtime.jsx)(ThemedText, {
70782
+ wrap: "truncate-end",
70783
+ children: line === "" ? " " : line
70784
+ }, index))
70785
+ });
70786
+ }
70787
+ /**
70788
+ * Wrap tooltip content to display width, breaking only BETWEEN grapheme
70789
+ * clusters (ZWJ emoji, combining sequences and CJK wide cells stay whole).
70790
+ * Newlines in the input are honoured. Mirrors PromptInput.wrapToWidth's
70791
+ * break rule so the tooltip shows exactly the text the input would wrap.
70792
+ */
70793
+ function wrapTooltipContent(text, width) {
70794
+ const rows = [];
70795
+ if (width <= 0) return rows;
70796
+ text = stripAnsi$1(text).replace(/\t/gu, " ").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/gu, "");
70797
+ const segmenter = getGraphemeSegmenter();
70798
+ for (const line of text.split("\n")) {
70799
+ if (line === "") {
70800
+ rows.push("");
70801
+ continue;
70802
+ }
70803
+ let current = "";
70804
+ let used = 0;
70805
+ for (const { segment } of segmenter.segment(line)) {
70806
+ const w = stringWidth$1(segment);
70807
+ if (used + w > width && current !== "") {
70808
+ rows.push(current);
70809
+ current = segment;
70810
+ used = w;
70811
+ } else {
70812
+ current += segment;
70813
+ used += w;
70814
+ }
70815
+ }
70816
+ rows.push(current);
70817
+ }
70818
+ return rows;
70819
+ }
70820
+ //#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
70780
70822
  /**
70781
70823
  * Trajectory formatting — durations, clocks, badges and heat.
70782
70824
  *
@@ -70978,7 +71020,7 @@ function ledgerLayout(columns) {
70978
71020
  };
70979
71021
  }
70980
71022
  //#endregion
70981
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useRevealVersion.js
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
70982
71024
  /**
70983
71025
  * Reveal-frame wakeup as a React hook — bumps once per advancing ~30fps
70984
71026
  * scheduler tick so consumers re-run their render-phase cursor reads
@@ -71008,7 +71050,7 @@ function useRevealVersion(enabled = true) {
71008
71050
  return version;
71009
71051
  }
71010
71052
  //#endregion
71011
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/AssistantToolUseMessage.js
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
71012
71054
  /** Tool display names: DSH emits lowercase tool ids (`bash`); Claude Code
71013
71055
  * shows capitalized names (`Bash`). Map the common ones, fall back to the
71014
71056
  * id with its first letter uppercased. */
@@ -71544,7 +71586,7 @@ function AssistantToolUseMessage({ tool, addMargin, verbose, isSelected = false,
71544
71586
  });
71545
71587
  }
71546
71588
  //#endregion
71547
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/SubagentMessage.js
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
71548
71590
  /** The waterfall window is a Kimi Code style constant-height region. */
71549
71591
  const WATERFALL_ROWS = 3;
71550
71592
  /** Card left padding + the `│ ` gutter prefix. */
@@ -71752,7 +71794,7 @@ function SubagentMessage({ subagent, addMargin, activityFrames, onClick }) {
71752
71794
  });
71753
71795
  }
71754
71796
  //#endregion
71755
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Chat/JobCard.js
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
71756
71798
  /** Card left padding + the `│ ` gutter prefix. */
71757
71799
  const WATERFALL_GUTTER = 4;
71758
71800
  /** Static status marker — deliberately NOT the animated activity-indicator
@@ -71905,7 +71947,7 @@ function JobCard({ job, addMargin, onClick }) {
71905
71947
  });
71906
71948
  }
71907
71949
  //#endregion
71908
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/InterruptedByUser.js
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
71909
71951
  /**
71910
71952
  * The dim "interrupted" row shown when the user stops a turn, mirroring
71911
71953
  * Claude Code's `InterruptedByUser.tsx`.
@@ -71920,7 +71962,7 @@ function InterruptedByUser() {
71920
71962
  })] });
71921
71963
  }
71922
71964
  //#endregion
71923
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/gitCommitStats.js
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
71924
71966
  /**
71925
71967
  * 当月 AI 代码生成占比统计(移植自 chatcode-cli 的同名服务)。
71926
71968
  *
@@ -72088,7 +72130,7 @@ function computeAiRatioPercent(records) {
72088
72130
  return clampPercent(aiAdoptedTotal / addedTotal * 100);
72089
72131
  }
72090
72132
  //#endregion
72091
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useAiRatio.js
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
72092
72134
  /**
72093
72135
  * 「AI代码生成占比」数据源 Hook(移植自 chatcode-cli 的同名 Hook)。
72094
72136
  *
@@ -72152,7 +72194,7 @@ function useAiRatio(enabled = true) {
72152
72194
  };
72153
72195
  }
72154
72196
  //#endregion
72155
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useNotification.js
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
72156
72198
  /**
72157
72199
  * 「通知」数据源 Hook(移植自 chatcode-cli 的 LogoV2/FooterInfo 通知行)。
72158
72200
  *
@@ -72189,7 +72231,7 @@ function useNotification() {
72189
72231
  return { message };
72190
72232
  }
72191
72233
  //#endregion
72192
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/ink/truncateToWidth.js
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
72193
72235
  /**
72194
72236
  * Slice a string to at most `maxWidth` terminal cells, walking by code
72195
72237
  * point so CJK wide characters never split mid-glyph. Assumes no ANSI in
@@ -72207,7 +72249,7 @@ function truncateToWidth(text, maxWidth) {
72207
72249
  return out;
72208
72250
  }
72209
72251
  //#endregion
72210
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LogoV2.js
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
72211
72253
  /** Main ChatCode CLI package version shown in the startup information panel. */
72212
72254
  const VERSION = PRODUCT_VERSION;
72213
72255
  const PRODUCT_LABEL = "chatcode-cli";
@@ -72478,7 +72520,7 @@ function LogoV2({ model, effort, cwd, whale = true, aiRatio, drift }) {
72478
72520
  });
72479
72521
  }
72480
72522
  //#endregion
72481
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/messages/MessageMetadata.js
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
72482
72524
  /**
72483
72525
  * Transcript-mode metadata row: `HH:MM · model`, right-aligned above the
72484
72526
  * assistant text, mirroring Claude Code's MessageTimestamp + MessageModel,
@@ -72500,7 +72542,7 @@ function MessageMetadata({ timestamp, model }) {
72500
72542
  });
72501
72543
  }
72502
72544
  //#endregion
72503
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/narration.js
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
72504
72546
  /**
72505
72547
  * Strip the `⏵` self-narration line from assistant text. The
72506
72548
  * dsh-working-activity narrate contract puts exactly one `⏵` line at the
@@ -72616,7 +72658,7 @@ function ellipsize(line, maxWidth) {
72616
72658
  return `${out}…`;
72617
72659
  }
72618
72660
  //#endregion
72619
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MessageList.js
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
72620
72662
  /**
72621
72663
  * Transcript rows rendered in the Claude Code visual language: user prompts
72622
72664
  * on a grey bubble with a `❯` pointer, assistant text with a `●` bullet and
@@ -73429,7 +73471,7 @@ function LogoHeader({ model, effort, cwd, whale = true, skipIntro = false }) {
73429
73471
  });
73430
73472
  }
73431
73473
  //#endregion
73432
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TimelineRail.js
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
73433
73475
  /** ▴ / ▾ (U+25B4 / U+25BE — the small triangles; CP437-safe on ConHost too). */
73434
73476
  const CHEVRON_UP = " ▴";
73435
73477
  const CHEVRON_DOWN = " ▾";
@@ -73623,7 +73665,7 @@ function TimelineRail({ handle, turns, activeId, upId, downId, terminalWidth, ho
73623
73665
  }) });
73624
73666
  }
73625
73667
  //#endregion
73626
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ScrollbarGutter.js
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
73627
73669
  /** Thumb glyph across the 2-col gutter: solid, clearly positional —
73628
73670
  * deliberately distinct from the timeline's ━━ active tick. */
73629
73671
  const THUMB = "██";
@@ -73739,7 +73781,7 @@ function ScrollbarGutter({ handle, terminalWidth }) {
73739
73781
  }) });
73740
73782
  }
73741
73783
  //#endregion
73742
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/OverlayAbove.js
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
73743
73785
  /**
73744
73786
  * 瞬态面板的浮层容器:absolute 定位 + bottom:'100%' 把面板底边钉在锚点
73745
73787
  * (父元素)顶边,向上覆盖转录尾部行,自身**不占布局高度**。
@@ -73772,7 +73814,7 @@ function OverlayAbove({ children, maxHeight }) {
73772
73814
  });
73773
73815
  }
73774
73816
  //#endregion
73775
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/motion.js
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
73776
73818
  /**
73777
73819
  * Trajectory motion — five verbs, one shared clock, one hard rule.
73778
73820
  *
@@ -73897,7 +73939,7 @@ function alert(tick, startTick) {
73897
73939
  return Math.floor(age / 2) % 2 === 0 ? 1 : 0;
73898
73940
  }
73899
73941
  //#endregion
73900
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/effortIgnition.js
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
73901
73943
  /** 三幕时间轴(ms):扫光全长、字样启动(波至中段)、字样渐亮、渐隐起止。边框扫光与输入行字样徽标共用。 */
73902
73944
  const IGNITION_TIMELINE = {
73903
73945
  sweepMs: 1e3,
@@ -74045,7 +74087,7 @@ function ignitionLineColors(options) {
74045
74087
  return colors;
74046
74088
  }
74047
74089
  //#endregion
74048
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortChargeGlyph.js
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
74049
74091
  /**
74050
74092
  * EffortChargeGlyph — 输入提示前缀 `❯ ` 的最高档强调与充能。
74051
74093
  *
@@ -74101,7 +74143,7 @@ function EffortChargeGlyph({ effort, levels, working }) {
74101
74143
  });
74102
74144
  }
74103
74145
  //#endregion
74104
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortInputBorder.js
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
74105
74147
  /**
74106
74148
  * EffortInputBorder — 输入框层上的三幕点焰叠加(对齐 Codex 的完整
74107
74149
  * 语义:光扫过、档位字样浮现、整体渐隐)。
@@ -74236,7 +74278,7 @@ function EffortInputBorder({ effort, levels, columns, onLight, idleColor, topRig
74236
74278
  });
74237
74279
  }
74238
74280
  //#endregion
74239
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortTierBadge.js
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
74240
74282
  /**
74241
74283
  * EffortTierBadge — 输入行尾的档位字样徽标:三幕点焰的第二幕载体
74242
74284
  * (与 EffortInputBorder 的双框扫光同一时间轴、同一触发),切到最高
@@ -74319,7 +74361,7 @@ function EffortTierBadge({ effort, levels, onLight, columns, leadingColumns }) {
74319
74361
  });
74320
74362
  }
74321
74363
  //#endregion
74322
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/clipboard.js
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
74323
74365
  /**
74324
74366
  * Cross-platform clipboard access for Ctrl+V paste. The TUI runs in raw
74325
74367
  * mode, so the terminal never performs its own paste for Ctrl+V — the key
@@ -74848,7 +74890,7 @@ function formatClipboardInsert(content) {
74848
74890
  return content.text.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
74849
74891
  }
74850
74892
  //#endregion
74851
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/droppedFile.js
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
74852
74894
  /**
74853
74895
  * Terminal drag-and-drop normalization.
74854
74896
  *
@@ -74907,7 +74949,7 @@ function droppedImageMention(raw, baseDir) {
74907
74949
  return formatImageReference(path);
74908
74950
  }
74909
74951
  //#endregion
74910
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/externalEditor.js
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
74911
74953
  /**
74912
74954
  * External editor round-trip for the prompt input (issue #123): Ctrl+G dumps
74913
74955
  * the current draft into a temp file, hands the terminal to `$VISUAL` /
@@ -75185,7 +75227,7 @@ async function editInExternalEditor(draft) {
75185
75227
  }
75186
75228
  }
75187
75229
  //#endregion
75188
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptEditor.js
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
75189
75231
  let editorNode = null;
75190
75232
  const listeners = /* @__PURE__ */ new Set();
75191
75233
  /** Publish (or withdraw, with null) the fullscreen editor subtree. */
@@ -75269,7 +75311,7 @@ function EditorButton({ label, hint, onClick, primary, accent }) {
75269
75311
  });
75270
75312
  }
75271
75313
  //#endregion
75272
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/history.js
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
75273
75315
  const HISTORY_DIR = DATA_DIR;
75274
75316
  const HISTORY_FILE = join(HISTORY_DIR, "history.jsonl");
75275
75317
  const HISTORY_LOCK = `${HISTORY_FILE}.lock`;
@@ -75403,7 +75445,7 @@ function historyEntryId(entry, index = 0) {
75403
75445
  return createHash("sha1").update(`${entry.text}\0${entry.ts}\0${index}`).digest("hex").slice(0, 12);
75404
75446
  }
75405
75447
  //#endregion
75406
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SuggestionCard.js
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
75407
75449
  /**
75408
75450
  * `/` 命令菜单与 `@` 文件菜单共用的圆角卡片外壳(与输入框 EffortInputBorder
75409
75451
  * 同款 ╭╮╰╯ 视觉语言):
@@ -75535,7 +75577,7 @@ function splitQueryMatch(name, query) {
75535
75577
  return startsWith(0) ?? (lastSpace >= 0 ? startsWith(lastSpace + 1) : null) ?? startsWith(name.lastIndexOf("/") + 1);
75536
75578
  }
75537
75579
  //#endregion
75538
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/CommandSuggestions.js
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
75539
75581
  /**
75540
75582
  * The slash-command suggestion overlay, mirroring Claude Code's
75541
75583
  * `PromptInputFooterSuggestions.tsx` (command layout only) wrapped in the
@@ -75615,7 +75657,7 @@ function CommandSuggestions({ commands, selectedIndex, columns, query = "", acce
75615
75657
  });
75616
75658
  }
75617
75659
  //#endregion
75618
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/FileSuggestions.js
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
75619
75661
  /**
75620
75662
  * The `@` file-completion overlay in CC's suggestion style, wrapped in the
75621
75663
  * shared rounded `SuggestionCard` (与 `/` 命令菜单同一视觉语言):
@@ -75711,7 +75753,7 @@ function FileSuggestions({ files, selectedIndex, columns, query = "", maxVisible
75711
75753
  });
75712
75754
  }
75713
75755
  //#endregion
75714
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HelpMenu.js
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
75715
75757
  /**
75716
75758
  * The `?` help menu, mirroring Claude Code's `PromptInputHelpMenu.tsx`
75717
75759
  * (three-column shortcut layout, trimmed to the keys dsh-tui actually binds).
@@ -75902,7 +75944,7 @@ function HelpCommandRow({ command, onPick }) {
75902
75944
  });
75903
75945
  }
75904
75946
  //#endregion
75905
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PromptInput.js
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
75906
75948
  const HISTORY_LIMIT = 50;
75907
75949
  /**
75908
75950
  * Paste fold (CC-style collapse with a visible preview, no black box):
@@ -78322,7 +78364,7 @@ function wordSelectionAt(text, offset, lo, hi) {
78322
78364
  };
78323
78365
  }
78324
78366
  //#endregion
78325
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/GoalTodoPanel.js
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
78326
78368
  /** Maximum todo rows shown before the overflow line. */
78327
78369
  const MAX_TODOS = 8;
78328
78370
  const PHASE_LABEL = {
@@ -78566,7 +78608,7 @@ function GoalTodoPanel({ channel, collapsed = false, onToggle }) {
78566
78608
  });
78567
78609
  }
78568
78610
  //#endregion
78569
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/AutoRecapRow.js
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
78570
78612
  /**
78571
78613
  * Auto-recap row (`dsh-tui.recapOnOpen` setting): a quiet, dim recap shown
78572
78614
  * at the bottom of the transcript after an automatic summary on session
@@ -78646,7 +78688,7 @@ function summarizeLoadedContext(context) {
78646
78688
  return parts.join(" · ");
78647
78689
  }
78648
78690
  //#endregion
78649
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LoadedContextPanel.js
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
78650
78692
  /** One named entry (section or dynamic context) with its full text. */
78651
78693
  function Entry({ entry }) {
78652
78694
  return (0, import_jsx_runtime.jsxs)(ThemedBox, {
@@ -78783,7 +78825,7 @@ function LoadedContextPanel({ context, open, onToggle }) {
78783
78825
  });
78784
78826
  }
78785
78827
  //#endregion
78786
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/MoonPhaseSpinner.js
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
78787
78829
  /**
78788
78830
  * Terminal-safe construction cycle derived from the supplied China Unicom
78789
78831
  * knot mark. Every frame is one display cell, unlike emoji on mixed terminals.
@@ -78815,7 +78857,7 @@ function UnicomKnotSpinner({ time }) {
78815
78857
  });
78816
78858
  }
78817
78859
  //#endregion
78818
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityLine.js
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
78819
78861
  /**
78820
78862
  * Context-pressure percentage (0–100) from the last usage snapshot, or
78821
78863
  * undefined when unknown — shared by the spinner-line and status-line
@@ -78887,7 +78929,7 @@ function ActivityLine({ activity, activityFrames, warnPct, warnDanger, suffix })
78887
78929
  });
78888
78930
  }
78889
78931
  //#endregion
78890
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/guards.js
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
78891
78933
  /**
78892
78934
  * Structural guards for the session events the trajectory projection reads.
78893
78935
  *
@@ -79111,7 +79153,7 @@ function readTodos(data) {
79111
79153
  };
79112
79154
  }
79113
79155
  //#endregion
79114
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/types.js
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
79115
79157
  /**
79116
79158
  * Trajectory projection — the data contract shared by the adapter-side fold
79117
79159
  * and the UI-side scene (issue #80 evolution).
@@ -79178,7 +79220,7 @@ function previewText(raw, limit) {
79178
79220
  return `${flat.slice(0, limit)}…`;
79179
79221
  }
79180
79222
  //#endregion
79181
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/projection.js
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
79182
79224
  /**
79183
79225
  * Trajectory projection — folding the session event log into ledger nodes.
79184
79226
  *
@@ -79757,7 +79799,7 @@ function extendTrajectory(previous, events) {
79757
79799
  };
79758
79800
  }
79759
79801
  //#endregion
79760
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/aggregate.js
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
79761
79803
  /**
79762
79804
  * Trajectory aggregate — the hotspot view's data and the session totals.
79763
79805
  *
@@ -79978,7 +80020,7 @@ function modelTiming(timing) {
79978
80020
  };
79979
80021
  }
79980
80022
  //#endregion
79981
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/inspect.js
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
79982
80024
  /**
79983
80025
  * Inspector detail — full content, resolved on demand.
79984
80026
  *
@@ -80138,7 +80180,7 @@ function inspectNode(node, events) {
80138
80180
  };
80139
80181
  }
80140
80182
  //#endregion
80141
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/trajectory/wave.js
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
80142
80184
  /**
80143
80185
  * Wave band projection — the whole session compressed onto one row of glyphs.
80144
80186
  *
@@ -80311,7 +80353,7 @@ function columnOfIndex(band, ledgerIndex) {
80311
80353
  return 0;
80312
80354
  }
80313
80355
  //#endregion
80314
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/MiniWake.js
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
80315
80357
  /**
80316
80358
  * The mini wake — the whole session as a dozen glyphs in the status line.
80317
80359
  *
@@ -80414,7 +80456,7 @@ function toHex$1(colour) {
80414
80456
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
80415
80457
  }
80416
80458
  //#endregion
80417
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusMetrics.js
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
80418
80460
  /**
80419
80461
  * Status-line metric renderers, ported from two pi extensions:
80420
80462
  * - `pi-nano-context`: segmented context progress bar (morandi pastel
@@ -80690,7 +80732,7 @@ function tpsStats(samples, nowMs) {
80690
80732
  };
80691
80733
  }
80692
80734
  //#endregion
80693
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ContextBarView.js
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
80694
80736
  /** Free-segment colors, mirroring StatusMetrics' dark-theme defaults. */
80695
80737
  const FREE_FILL = "#E8E8E8";
80696
80738
  const FREE_TEXT = "#4A4A4A";
@@ -80757,7 +80799,7 @@ function ContextBarView({ segments, usedTokens, contextWindow, width, colors, on
80757
80799
  });
80758
80800
  }
80759
80801
  //#endregion
80760
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/chatCodeTokenTrend.js
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
80761
80803
  /**
80762
80804
  * ChatCode 今日总 Token 消耗量查询(移植自 chatcode-cli 的 chatCodeTokenTrend)。
80763
80805
  *
@@ -80832,7 +80874,7 @@ async function fetchTodayTotalTokens(post, signal) {
80832
80874
  }
80833
80875
  }
80834
80876
  //#endregion
80835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useTodayTotalTokens.js
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
80836
80878
  /**
80837
80879
  * 「今日总Token消耗」数据源 Hook(移植自 chatcode-cli 的 useTokenDashboard)。
80838
80880
  *
@@ -80864,7 +80906,7 @@ function useTodayTotalTokens(enabled = true) {
80864
80906
  return { totalTokens };
80865
80907
  }
80866
80908
  //#endregion
80867
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TokenDashboard.js
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
80868
80910
  const BAR_WIDTH = 14;
80869
80911
  /** Yuanjing-compatible percentage label centered inside a fixed-width bar. */
80870
80912
  function LabeledBar({ ratio, percent }) {
@@ -80948,7 +80990,7 @@ function TokenDashboard({ todayTokens, usedTokens, contextWindow, compact = fals
80948
80990
  });
80949
80991
  }
80950
80992
  //#endregion
80951
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/StatusLine.js
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
80952
80994
  /** Stable fallback for stubbed channels: verify/repro harnesses render the
80953
80995
  * real Chat with partial channel literals that predate the jobs field. */
80954
80996
  const NO_BACKGROUND_JOBS = [];
@@ -81806,7 +81848,7 @@ const fallbackSymbols = {
81806
81848
  const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
81807
81849
  Object.entries(specialMainSymbols);
81808
81850
  //#endregion
81809
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/Byline.js
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
81810
81852
  /**
81811
81853
  * Joins children with a middot separator (" · ") for inline metadata display
81812
81854
  * (in the Claude Code visual language). Automatically filters out
@@ -81822,7 +81864,7 @@ function Byline({ children }) {
81822
81864
  }), child] }, (0, import_react.isValidElement)(child) ? child.key ?? index : index)) });
81823
81865
  }
81824
81866
  //#endregion
81825
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/GlimmerMessage.js
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
81826
81868
  const ERROR_RED$1 = {
81827
81869
  r: 171,
81828
81870
  g: 43,
@@ -81912,7 +81954,7 @@ function GlimmerMessage({ message, mode, messageColor, glimmerIndex, flashOpacit
81912
81954
  })] });
81913
81955
  }
81914
81956
  //#endregion
81915
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerGlyph.js
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
81916
81958
  const DEFAULT_CHARACTERS = getDefaultCharacters();
81917
81959
  const SPINNER_FRAMES$1 = [...DEFAULT_CHARACTERS, ...[...DEFAULT_CHARACTERS].reverse()];
81918
81960
  const REDUCED_MOTION_DOT = "●";
@@ -81973,7 +82015,7 @@ function SpinnerGlyph({ frame, messageColor, stalledIntensity = 0, reducedMotion
81973
82015
  });
81974
82016
  }
81975
82017
  //#endregion
81976
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/useStalledAnimation.js
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
81977
82019
  /**
81978
82020
  * Tracks the transition to red when tokens stop flowing (mirroring Claude Code's `Spinner/useStalledAnimation.ts`). Driven by the parent's animation
81979
82021
  * clock time instead of independent intervals, so it slows down when the
@@ -82030,7 +82072,7 @@ function useStalledAnimation(time, currentResponseLength, hasActiveTools = false
82030
82072
  };
82031
82073
  }
82032
82074
  //#endregion
82033
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Spinner/SpinnerAnimationRow.js
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
82034
82076
  const SEP_WIDTH = stringWidth$1(" · ");
82035
82077
  const THINKING_BARE_WIDTH = stringWidth$1("thinking");
82036
82078
  const SHOW_TOKENS_AFTER_MS = 3e4;
@@ -82197,7 +82239,7 @@ function SpinnerModeGlyph({ mode }) {
82197
82239
  }
82198
82240
  }
82199
82241
  //#endregion
82200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkingSpinner.js
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
82201
82243
  /**
82202
82244
  * The working spinner block shown between the transcript and the prompt
82203
82245
  * input while a turn is in flight. Mirrors Claude Code's `Spinner.tsx`
@@ -82267,7 +82309,7 @@ function useThinkingStatus(isThinking) {
82267
82309
  return thinkingStatus;
82268
82310
  }
82269
82311
  //#endregion
82270
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ModelPicker.js
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
82271
82313
  /**
82272
82314
  * Model picker in the CC ModelPicker style: a permission-colored Pane with
82273
82315
  * the rows as Select entries (❯ focus pointer, ✓ on the active row,
@@ -82327,7 +82369,7 @@ function ModelPicker(props) {
82327
82369
  });
82328
82370
  }
82329
82371
  //#endregion
82330
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PluginSceneBoundary.js
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
82331
82373
  /**
82332
82374
  * Error boundary for plugin scenes (dsh-tui-scenes). A scene component is
82333
82375
  * third-party code rendered inside Chat's tree: without a boundary a render
@@ -82353,7 +82395,7 @@ var PluginSceneBoundary = class extends import_react.Component {
82353
82395
  }
82354
82396
  };
82355
82397
  //#endregion
82356
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/design-system/LoadingState.js
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
82357
82399
  const SPINNER_FRAMES = [...getDefaultCharacters(), ...[...getDefaultCharacters()].reverse()];
82358
82400
  /**
82359
82401
  * A spinner with a loading message for async operations, mirroring Claude Code's design-system/LoadingState.tsx (using the small animated glyph).
@@ -82384,7 +82426,7 @@ function LoadingState({ message, bold = false, dimColor = false, subtitle }) {
82384
82426
  });
82385
82427
  }
82386
82428
  //#endregion
82387
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SkillsPicker.js
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
82388
82430
  /** 来源桶 → 本地化标签(未知桶原样显示,SkillSource 对自定义桶开放)。 */
82389
82431
  function sourceLabel(source) {
82390
82432
  switch (source) {
@@ -82462,7 +82504,7 @@ function SkillsPickerLoading() {
82462
82504
  });
82463
82505
  }
82464
82506
  //#endregion
82465
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SearchBox.js
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
82466
82508
  /**
82467
82509
  * Window a single-line query around the caret so the visible slice fits
82468
82510
  * `avail` display cells (CJK display width, code-point safe — `[...s]`
@@ -82600,7 +82642,7 @@ function SearchBox({ query, placeholder = "Search…", isFocused, isTerminalFocu
82600
82642
  });
82601
82643
  }
82602
82644
  //#endregion
82603
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionListRow.js
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
82604
82646
  /**
82605
82647
  * One session in the browser's list: a title line and a metadata line.
82606
82648
  *
@@ -82681,7 +82723,7 @@ function SessionListRow({ session, width, depth, focused, pinned, now, onClick,
82681
82723
  });
82682
82724
  }
82683
82725
  //#endregion
82684
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/SessionPreview.js
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
82685
82727
  /** Role marker and colour for a preview entry. */
82686
82728
  const ROLE = {
82687
82729
  user: {
@@ -82772,7 +82814,7 @@ function SessionPreview({ session, entries, loading, width, height, home, now })
82772
82814
  });
82773
82815
  }
82774
82816
  //#endregion
82775
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/sessions/WorkspaceListRow.js
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
82776
82818
  /** One two-line working-directory choice in the /resume browser. */
82777
82819
  function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width, focused, selected, home, now, onClick }) {
82778
82820
  const [hovered, setHovered] = (0, import_react.useState)(false);
@@ -82817,7 +82859,7 @@ function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width,
82817
82859
  });
82818
82860
  }
82819
82861
  //#endregion
82820
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/sessionPins.js
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
82821
82863
  /**
82822
82864
  * Pinned sessions for the `/resume` browser, kept at
82823
82865
  * `~/.chatcode-cli/tui/session-pins.json` (a JSON array of session ids) so the pins
@@ -82966,7 +83008,7 @@ function setSessionPinned(id, pinned, dir = DATA_DIR) {
82966
83008
  }
82967
83009
  }
82968
83010
  //#endregion
82969
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionBrowser.js
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
82970
83012
  /**
82971
83013
  * Rows the layout cannot do without: the header, the four-row scope/search
82972
83014
  * card, the notice slot, and the hints. Everything else yields before these.
@@ -83821,7 +83863,7 @@ function SessionBrowser({ channel, home, sameProject, onClose }) {
83821
83863
  if (actionPendingRef.current) return;
83822
83864
  setLevel("sessions");
83823
83865
  setFocusId(row.session.id);
83824
- resumeSession(row.session);
83866
+ openOrRestore(row.session);
83825
83867
  } : void 0,
83826
83868
  onTogglePin: mode === "list" && menu === void 0 && !actionPendingRef.current ? () => {
83827
83869
  setFocusId(row.session.id);
@@ -83966,7 +84008,7 @@ function SessionBrowser({ channel, home, sameProject, onClose }) {
83966
84008
  });
83967
84009
  }
83968
84010
  //#endregion
83969
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/SessionTree.js
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
83970
84012
  /** Local HH:MM (or MM/DD HH:MM when older than this year). */
83971
84013
  function formatTime(at, now) {
83972
84014
  const date = new Date(at);
@@ -84722,7 +84764,7 @@ function PreviewPane({ entry, meta, width, height, liveSessionId, now, compact }
84722
84764
  });
84723
84765
  }
84724
84766
  //#endregion
84725
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Settings.js
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
84726
84768
  /** Pick the provider-owned translation for the active language. */
84727
84769
  function pick(text, descriptions) {
84728
84770
  return descriptions?.[getLang()] ?? text;
@@ -85547,7 +85589,7 @@ function Settings({ channel, onClose, initialGroup }) {
85547
85589
  });
85548
85590
  }
85549
85591
  //#endregion
85550
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspacePicker.js
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
85551
85593
  const WINDOW$1 = 8;
85552
85594
  /** `/workspace` target picker contributed by local and optional providers. */
85553
85595
  function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
@@ -85585,7 +85627,7 @@ function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
85585
85627
  });
85586
85628
  }
85587
85629
  //#endregion
85588
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Select.js
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
85589
85631
  /**
85590
85632
  * A single-choice select list in the CC CustomSelect style (ported visual:
85591
85633
  * ListItem rows with ❯ focus pointer, ✓ selected checkmark, descriptions,
@@ -85612,7 +85654,7 @@ function Select({ options, focusIndex, selectedValue, visibleOptionCount = 5, on
85612
85654
  });
85613
85655
  }
85614
85656
  //#endregion
85615
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceMenuPicker.js
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
85616
85658
  /**
85617
85659
  * Bare `/workspace` action menu: the built-in subcommands (resume / rename /
85618
85660
  * open) plus any dynamically registered workspace extensions. Enter runs the
@@ -85653,7 +85695,7 @@ function WorkspaceMenuPicker({ options, focusIndex, onPick }) {
85653
85695
  });
85654
85696
  }
85655
85697
  //#endregion
85656
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/WorkspaceFlowPicker.js
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
85657
85699
  const WINDOW = 8;
85658
85700
  /** Generic nested choice surface returned by a workspace provider command. */
85659
85701
  function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input = null, onPick }) {
@@ -85711,7 +85753,7 @@ function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input =
85711
85753
  });
85712
85754
  }
85713
85755
  //#endregion
85714
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ActivityPicker.js
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
85715
85757
  /**
85716
85758
  * Working-activity indicator picker in the CC ModelPicker style (ported
85717
85759
  * from the pi extension's `/activity` interactive select): a
@@ -85753,7 +85795,7 @@ function ActivityPicker({ focusIndex, currentPreset, onPick }) {
85753
85795
  });
85754
85796
  }
85755
85797
  //#endregion
85756
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ColorPicker.js
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
85757
85799
  /**
85758
85800
  * Session accent color picker (bare `/color`): a permission-colored Pane
85759
85801
  * listing the whole palette with a colored swatch per row, `❯` focus
@@ -85797,7 +85839,7 @@ function ColorPicker({ focusIndex, currentColor, onPick }) {
85797
85839
  });
85798
85840
  }
85799
85841
  //#endregion
85800
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/EffortSlider.js
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
85801
85843
  /**
85802
85844
  * Reasoning-effort slider (`/effort`): a rheostat row of the live route's
85803
85845
  * adapter-owned levels in adapter order, ←/→ moving focus (each move applies
@@ -85856,7 +85898,7 @@ function EffortSlider({ options, focusIndex, currentId, onPick }) {
85856
85898
  });
85857
85899
  }
85858
85900
  //#endregion
85859
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PresetPicker.js
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
85860
85902
  /**
85861
85903
  * Agent-preset picker (issue #8) in the CC ModelPicker style — same chrome
85862
85904
  * as the ActivityPicker: a permission-colored Pane listing every roster
@@ -85900,7 +85942,7 @@ function PresetPicker({ presets, focusIndex, currentPreset, onPick }) {
85900
85942
  });
85901
85943
  }
85902
85944
  //#endregion
85903
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PermissionsPicker.js
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
85904
85946
  /**
85905
85947
  * `/permission` sandbox-preset picker. The command itself is registered by
85906
85948
  * the harness side (dsh-sandbox-policy / dsh-base permission-presets row);
@@ -85947,7 +85989,7 @@ function PermissionsPicker({ options, focusIndex, currentValue, cwd, onPick }) {
85947
85989
  });
85948
85990
  }
85949
85991
  //#endregion
85950
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/PlanPicker.js
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
85951
85993
  /**
85952
85994
  * `/plan` on/off picker. The command itself is registered by dsh-plan-mode
85953
85995
  * on the harness side; bare `/plan` opens this picker (with the current
@@ -85992,7 +86034,7 @@ function PlanPicker({ focusIndex, currentOn, onPick }) {
85992
86034
  });
85993
86035
  }
85994
86036
  //#endregion
85995
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/LangPicker.js
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
85996
86038
  /**
85997
86039
  * `/lang` en/zh picker: bare `/lang` opens this picker (the current language
85998
86040
  * marked) and Enter applies the choice through the same path as `/lang <id>`.
@@ -86031,7 +86073,7 @@ function LangPicker({ focusIndex, currentLang, onPick }) {
86031
86073
  });
86032
86074
  }
86033
86075
  //#endregion
86034
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThemePicker.js
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
86035
86077
  /** One double-block swatch character per preview key, in a row. */
86036
86078
  const SWATCH = "██";
86037
86079
  /** Theme keys previewed in the picker, chosen for visual contrast. */
@@ -86117,7 +86159,7 @@ function ThemePicker({ focusIndex, currentTheme, themeHost, onPick }) {
86117
86159
  });
86118
86160
  }
86119
86161
  //#endregion
86120
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ThinkingToggle.js
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
86121
86163
  /**
86122
86164
  * The `/thinking` display dialog: a permission-colored Pane with a bold
86123
86165
  * title, the Shown/Hidden select, and the Enter/Esc hint line.
@@ -86166,7 +86208,7 @@ function ThinkingToggle({ currentValue, focusIndex, onPick }) {
86166
86208
  });
86167
86209
  }
86168
86210
  //#endregion
86169
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/HistorySearchDialog.js
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
86170
86212
  /**
86171
86213
  * The ctrl+r history search dialog, in the shape of Claude Code's
86172
86214
  * HistorySearchDialog/FuzzyPicker: a permission-colored Pane with a bold
@@ -86229,7 +86271,7 @@ function formatRelativeAge(ts) {
86229
86271
  return t("time-days-ago", { n: Math.floor(elapsed / 864e5) });
86230
86272
  }
86231
86273
  //#endregion
86232
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RewindPicker.js
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
86233
86275
  /**
86234
86276
  * Double-Esc rewind picker (CC's "Double-tap esc to rewind the code and/or
86235
86277
  * conversation to a previous point in time"): lists the user's past messages
@@ -86366,7 +86408,7 @@ function preview(text) {
86366
86408
  return flat.length <= 80 ? flat : `${flat.slice(0, 80)}…`;
86367
86409
  }
86368
86410
  //#endregion
86369
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/BtwPanel.js
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
86370
86412
  /**
86371
86413
  * /btw side-question panel (CC's btw.tsx, inline-pane form like the local
86372
86414
  * pickers): title line with the question, a scrollable answer body (error /
@@ -86450,7 +86492,7 @@ function BtwPanel({ question, answer, error, streaming, onClose, onCopy }) {
86450
86492
  });
86451
86493
  }
86452
86494
  //#endregion
86453
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ReleaseNotesPanel.js
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
86454
86496
  function ReleaseNotesPanel({ release, onClose }) {
86455
86497
  const scrollRef = import_react.useRef(null);
86456
86498
  const { rows } = useTerminalSize();
@@ -86495,7 +86537,7 @@ function ReleaseNotesPanel({ release, onClose }) {
86495
86537
  });
86496
86538
  }
86497
86539
  //#endregion
86498
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/RecapPanel.js
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
86499
86541
  /**
86500
86542
  * `/recap` panel (pi-recap semantics), in the picker/dialog visual
86501
86543
  * language: a permission-colored Pane with a title bar (会话回顾), a
@@ -86616,7 +86658,7 @@ function RecapPanel({ summary, title, error, streaming, titleApplied, onClose, o
86616
86658
  });
86617
86659
  }
86618
86660
  //#endregion
86619
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tips.js
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
86620
86662
  /**
86621
86663
  * 精简 Tips 池 —— 启动首屏轮换(LogoV2)与 `/tips` 命令面板共用。
86622
86664
  *
@@ -87330,7 +87372,7 @@ const TIPS = [
87330
87372
  }
87331
87373
  ];
87332
87374
  //#endregion
87333
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/TipsPanel.js
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
87334
87376
  const GROUP_ORDER = [
87335
87377
  "keys",
87336
87378
  "commands",
@@ -87409,7 +87451,7 @@ function TipsPanel({ onClose }) {
87409
87451
  });
87410
87452
  }
87411
87453
  //#endregion
87412
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentCard.js
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
87413
87455
  function formatDuration$1(ms) {
87414
87456
  const seconds = Math.floor(ms / 1e3);
87415
87457
  return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m${seconds % 60}s`;
@@ -87464,7 +87506,7 @@ function SubagentCard({ subagent, focused, onClick }) {
87464
87506
  });
87465
87507
  }
87466
87508
  //#endregion
87467
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDashboard.js
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
87468
87510
  /** 可点击 ✕ 退出按钮:整屏/浮层场景的鼠标退出通道(Esc 等价)。 */
87469
87511
  function ExitButton({ onClick }) {
87470
87512
  const [hovered, setHovered] = import_react.useState(false);
@@ -87612,7 +87654,7 @@ function SubagentDashboard({ subagents, onClose, onSelect }) {
87612
87654
  });
87613
87655
  }
87614
87656
  //#endregion
87615
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/JobsPanel.js
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
87616
87658
  function statusInfo(status) {
87617
87659
  const minimal = isMinimalMode();
87618
87660
  switch (status) {
@@ -87900,7 +87942,7 @@ function JobsPanel({ jobs, onClose, onKill }) {
87900
87942
  });
87901
87943
  }
87902
87944
  //#endregion
87903
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/SubagentDetailScene.js
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
87904
87946
  function formatDuration(ms) {
87905
87947
  if (ms < 1e3) return `${ms}ms`;
87906
87948
  if (ms < 6e4) return `${(ms / 1e3).toFixed(1)}s`;
@@ -88034,11 +88076,19 @@ function SubagentDetailScene({ subagent, onBack, onInterrupt }) {
88034
88076
  const scrollRef = import_react.useRef(null);
88035
88077
  const { rows, columns } = useTerminalSize();
88036
88078
  const [page, setPage] = import_react.useState("summary");
88079
+ const [interruptNotice, setInterruptNotice] = import_react.useState();
88037
88080
  const isRunning = subagent.status === "running" || subagent.status === "starting";
88038
88081
  const elapsed = subagent.completedAt ? subagent.completedAt - subagent.startedAt : Date.now() - subagent.startedAt;
88039
88082
  const info = statusGlyph(subagent.status);
88040
88083
  const totalTokens = subagent.tokens?.total ?? ((subagent.tokens?.input ?? 0) + (subagent.tokens?.output ?? 0) || 0);
88041
88084
  const pageIndex = PAGES.indexOf(page);
88085
+ const interrupt = () => {
88086
+ try {
88087
+ setInterruptNotice(onInterrupt?.(subagent.agentId) === false ? "unavailable" : "requested");
88088
+ } catch {
88089
+ setInterruptNotice("unavailable");
88090
+ }
88091
+ };
88042
88092
  const turnPage = (delta) => {
88043
88093
  setPage(PAGES[(pageIndex + delta + PAGES.length) % PAGES.length]);
88044
88094
  scrollRef.current?.scrollTo?.(0);
@@ -88080,7 +88130,7 @@ function SubagentDetailScene({ subagent, onBack, onInterrupt }) {
88080
88130
  }
88081
88131
  if (input.toLowerCase() === "x" && isRunning && onInterrupt) {
88082
88132
  event.stopImmediatePropagation();
88083
- onInterrupt(subagent.agentId);
88133
+ interrupt();
88084
88134
  return;
88085
88135
  }
88086
88136
  if (isPlainReturnInput(input, key)) {
@@ -88277,6 +88327,10 @@ function SubagentDetailScene({ subagent, onBack, onInterrupt }) {
88277
88327
  color: "subtle",
88278
88328
  title: ""
88279
88329
  }),
88330
+ isRunning && interruptNotice && (0, import_jsx_runtime.jsx)(ThemedText, {
88331
+ color: "warning",
88332
+ children: t(interruptNotice === "requested" ? "subagent-interrupt-requested" : "subagent-interrupt-unavailable")
88333
+ }),
88280
88334
  (0, import_jsx_runtime.jsxs)(ThemedBox, {
88281
88335
  marginTop: 0,
88282
88336
  flexDirection: "row",
@@ -88289,7 +88343,7 @@ function SubagentDetailScene({ subagent, onBack, onInterrupt }) {
88289
88343
  dimColor: true,
88290
88344
  children: " · "
88291
88345
  }), (0, import_jsx_runtime.jsx)(ThemedBox, {
88292
- onClick: () => onInterrupt(subagent.agentId),
88346
+ onClick: interrupt,
88293
88347
  children: (0, import_jsx_runtime.jsx)(ThemedText, {
88294
88348
  dimColor: true,
88295
88349
  bold: true,
@@ -88358,7 +88412,7 @@ function FileActionsPanel({ path, isDir, focusIndex, onPick }) {
88358
88412
  });
88359
88413
  }
88360
88414
  //#endregion
88361
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/ProductivityPickers.js
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
88362
88416
  function oneLine(text, max = 70) {
88363
88417
  const compact = text.replace(/\s+/gu, " ").trim();
88364
88418
  return compact.length > max ? `${compact.slice(0, max - 1)}…` : compact;
@@ -88450,7 +88504,7 @@ function DiffLoading() {
88450
88504
  });
88451
88505
  }
88452
88506
  //#endregion
88453
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/productivityCommands.js
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
88454
88508
  /** `/copy` argument is a one-based reply age; omission selects the latest. */
88455
88509
  function parseCopyIndex(raw, count) {
88456
88510
  const value = raw.trim();
@@ -88503,7 +88557,7 @@ function gitDiffLines(report, labels) {
88503
88557
  ];
88504
88558
  }
88505
88559
  //#endregion
88506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/sessionOrganizationCommands.js
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
88507
88561
  /** Compact duration suitable for a terminal report row. */
88508
88562
  function formatStatsDuration(ms) {
88509
88563
  if (ms < 1e3) return `${Math.round(ms)} ms`;
@@ -88549,7 +88603,7 @@ function parsePresetManagement(input) {
88549
88603
  return { kind: "invalid" };
88550
88604
  }
88551
88605
  //#endregion
88552
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/workflowCommands.js
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
88553
88607
  const ALIASES = {
88554
88608
  map: "inspect",
88555
88609
  fixit: "repair",
@@ -88604,7 +88658,7 @@ function buildWorkflowCommand(name, rawInput = "") {
88604
88658
  };
88605
88659
  }
88606
88660
  //#endregion
88607
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/utils/urlGuard.js
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
88608
88662
  const EXTERNAL_SCHEME = /^https?:\/\//i;
88609
88663
  /**
88610
88664
  * Classify a clicked link target. Mirrors the previous handleOpenTarget
@@ -88629,7 +88683,7 @@ function classifyOpenTarget(url) {
88629
88683
  return { kind: "rejected" };
88630
88684
  }
88631
88685
  //#endregion
88632
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/hooks/useExternalVersion.js
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
88633
88687
  /**
88634
88688
  * Subscribe to an external store's version counter at DEFAULT lane.
88635
88689
  *
@@ -88678,7 +88732,7 @@ function useExternalVersion(subscribe, getVersion, enabled = true) {
88678
88732
  return version;
88679
88733
  }
88680
88734
  //#endregion
88681
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/WaveBand.js
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
88682
88736
  /**
88683
88737
  * The wake — the whole session drawn as one row of glyphs.
88684
88738
  *
@@ -88815,7 +88869,7 @@ function toHex(colour) {
88815
88869
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
88816
88870
  }
88817
88871
  //#endregion
88818
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Ledger.js
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
88819
88873
  /**
88820
88874
  * The ledger — one line per event, columns aligned across every row.
88821
88875
  *
@@ -89061,7 +89115,7 @@ function Ledger({ rows, start, height, cursor, width, tick, arrivalTick, arrival
89061
89115
  });
89062
89116
  }
89063
89117
  //#endregion
89064
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/Inspector.js
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
89065
89119
  /**
89066
89120
  * The inspector — full detail for the focused row, in a fixed-height slot.
89067
89121
  *
@@ -89167,7 +89221,7 @@ function Inspector({ node, detail, height, width, expanded, scroll }) {
89167
89221
  });
89168
89222
  }
89169
89223
  //#endregion
89170
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/trajectory/HotspotView.js
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
89171
89225
  /**
89172
89226
  * The hotspot view — the session ranked by cost instead of ordered by time.
89173
89227
  *
@@ -89330,7 +89384,7 @@ function HotspotView({ agg, sort, width, height, cursor, tick, switchTick, onRow
89330
89384
  });
89331
89385
  }
89332
89386
  //#endregion
89333
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectory/query.js
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
89334
89388
  /**
89335
89389
  * Trajectory query — whole-session structured filtering.
89336
89390
  *
@@ -89526,7 +89580,7 @@ function applyQuery(nodes, query) {
89526
89580
  };
89527
89581
  }
89528
89582
  //#endregion
89529
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/TrajectoryScene.js
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
89530
89584
  /**
89531
89585
  * The trajectory scene — the session's own screen.
89532
89586
  *
@@ -90014,7 +90068,7 @@ function TrajectoryScene({ channel, build, onClose }) {
90014
90068
  });
90015
90069
  }
90016
90070
  //#endregion
90017
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/LoadedContextScene.js
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
90018
90072
  /** Build the non-empty pages shown by the loaded-context inspector. */
90019
90073
  function contextPages(context) {
90020
90074
  const pages = [];
@@ -90198,7 +90252,7 @@ function LoadedContextScene({ context, onClose }) {
90198
90252
  });
90199
90253
  }
90200
90254
  //#endregion
90201
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/AgentView.js
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
90202
90256
  /** Rows the layout cannot do without: header, model/cwd line, dispatch
90203
90257
  * input, hints. */
90204
90258
  const MANDATORY_LINES = 4;
@@ -90807,7 +90861,7 @@ function AgentView({ channel, home, approval, onApprove, returnSessionId, onClos
90807
90861
  });
90808
90862
  }
90809
90863
  //#endregion
90810
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/trajectoryPrefs.js
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
90811
90865
  /**
90812
90866
  * Persisted "the user has seen the trajectory" flag, at
90813
90867
  * `~/.chatcode-cli/tui/trajectory.json`.
@@ -90867,7 +90921,7 @@ function writeTrajectorySeen(dir = DATA_DIR) {
90867
90921
  }
90868
90922
  }
90869
90923
  //#endregion
90870
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/chatOverlay.js
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
90871
90925
  const NO_OVERLAY = { kind: "none" };
90872
90926
  /**
90873
90927
  * One-step wrap-around cursor move — the single source of the wrapping rule
@@ -90977,7 +91031,7 @@ function dialogOverlayVisible(overlay, gates) {
90977
91031
  }
90978
91032
  }
90979
91033
  //#endregion
90980
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/screens/Chat.js
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
90981
91035
  const LOGOUT_EXIT_DELAY_MS = 200;
90982
91036
  /** Shared empty snapshot for hosts whose channel has no event log. */
90983
91037
  const NO_EVENTS = [];
@@ -94802,7 +94856,7 @@ function ModelPickerLoading() {
94802
94856
  });
94803
94857
  }
94804
94858
  //#endregion
94805
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/webLauncher.js
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
94806
94860
  const MAIN_CLI_PACKAGE = "@chatcode/chatcode-cli";
94807
94861
  function asError(value) {
94808
94862
  return value instanceof Error ? value : new Error(String(value));
@@ -94958,7 +95012,7 @@ function launchWebFrontend(cwd, options = {}) {
94958
95012
  }
94959
95013
  }
94960
95014
  //#endregion
94961
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/inject-channel.js
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
94962
95016
  /**
94963
95017
  * External injection channel — lets an out-of-process editor integration
94964
95018
  * (e.g. the `dsh.nvim` Neovim plugin) push text into the running TUI's
@@ -95153,7 +95207,7 @@ function openInjectChannel(sessionId, cwd, handlers, onError) {
95153
95207
  };
95154
95208
  }
95155
95209
  //#endregion
95156
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-auth.js
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
95157
95211
  const CHATCODE_CLI_OAUTH_TOKEN = "CHATCODE_CLI_OAUTH_TOKEN";
95158
95212
  const DEFAULT_SERVICE_WAIT_MS = 75e3;
95159
95213
  function authService(ctx) {
@@ -95327,7 +95381,7 @@ async function requireChatCodeStartupLogin(ctx, options) {
95327
95381
  return "ready";
95328
95382
  }
95329
95383
  //#endregion
95330
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/chatcode-api.js
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
95331
95385
  /** Bind authenticated statistics requests to one TUI lifetime. */
95332
95386
  function createChatCodeAuthorizedPost(ctx) {
95333
95387
  const lifetime = new AbortController();
@@ -95366,7 +95420,7 @@ function createChatCodeAuthorizedPost(ctx) {
95366
95420
  };
95367
95421
  }
95368
95422
  //#endregion
95369
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.22_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin.js
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
95370
95424
  /**
95371
95425
  * Interactive TUI front door for ChatCode CLI agents.
95372
95426
  *