@chatcode/chatcode-cli 3.0.5-rc.3 → 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-ChiY9aSU.js → command-errors-Dy38dE7J.js} +12 -12
  4. package/lib/{command-trees-D1yNnMLf.js → command-trees-CyZU9OgJ.js} +2 -2
  5. package/lib/{component-identity-BXmlpdls.js → component-identity-DXrrXp1z.js} +3 -3
  6. package/lib/{extension-events-BBvUPMbs.js → extension-events-DGLD0QXk.js} +20 -20
  7. package/lib/{host-access-DCtUmgis.js → host-access-DXxSOjq9.js} +1 -1
  8. package/lib/{keymap-CeRpxc9c.js → keymap-BfegLkpv.js} +2 -2
  9. package/lib/{plugin-DQAJoZvM.js → plugin-BOeJiplQ.js} +547 -550
  10. package/lib/{scenes-NsR-REtH.js → scenes-CMbv2mIB.js} +3 -3
  11. package/lib/{settings-sections-DgB-eDtZ.js → settings-sections-iiyY7jD8.js} +3 -3
  12. package/lib/{statusBarSettings-5yzdiOv1.js → statusBarSettings-BSQLLAKO.js} +3 -3
  13. package/lib/{themes-DpFOCFEc.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-CVtLIC34.js → workspaces-D1_eegCv.js} +2 -2
  23. package/package.json +20 -20
  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-5yzdiOv1.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-CeRpxc9c.js";
4
- import { c as withHostRootCapability } from "./host-access-DCtUmgis.js";
5
- import { i as getHostWorkspaceRuntime, r as createLocalWorkspaceRuntime } from "./workspaces-CVtLIC34.js";
6
- import { n as getHostCommandTrees } from "./command-trees-D1yNnMLf.js";
7
- import { a as isReservedCredentialRef, n as getHostSettingsSections, r as getLocalSettingsSectionsHost } from "./settings-sections-DgB-eDtZ.js";
8
- import { n as getHostSceneRuntime } from "./scenes-NsR-REtH.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-BBvUPMbs.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-ChiY9aSU.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-DpFOCFEc.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.23_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.23_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.23_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.23_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.23_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.23_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.23_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`).
@@ -6552,7 +6552,7 @@ function resolveStartupLang(dir = PREFS_DIR$6, env = process.env) {
6552
6552
  return readLangPref(dir) ?? "zh";
6553
6553
  }
6554
6554
  //#endregion
6555
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
6556
6556
  /**
6557
6557
  * Local slash commands for the dsh-tui TUI. Claude Code's command system is
6558
6558
  * deeply wired into its engine; dsh-tui ships a small built-in set with the
@@ -7026,7 +7026,7 @@ function matchingCompletionToken(candidate, prefix) {
7026
7026
  return candidate.aliases?.find((alias) => alias.toLowerCase().startsWith(prefix));
7027
7027
  }
7028
7028
  //#endregion
7029
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
7030
7030
  /**
7031
7031
  * Launcher contract for `dsh-tui --resume`: the TUI writes the chosen session
7032
7032
  * id to `<CHATCODE_CLI_HOME>/tui/resume.txt`, and the launcher feeds it back as
@@ -7193,7 +7193,7 @@ function forgetAgentViewSession(sessionId) {
7193
7193
  } catch {}
7194
7194
  }
7195
7195
  //#endregion
7196
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
7197
7197
  /**
7198
7198
  * One searchable local tag per persisted session.
7199
7199
  *
@@ -7343,7 +7343,7 @@ function forgetSessionTag(sessionId, dir = DATA_DIR) {
7343
7343
  return setSessionTag(sessionId, void 0, dir).ok;
7344
7344
  }
7345
7345
  //#endregion
7346
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
7347
7347
  /**
7348
7348
  * Live Session compatibility facade.
7349
7349
  *
@@ -7505,7 +7505,7 @@ function liveSessionCreateOptions(request) {
7505
7505
  };
7506
7506
  }
7507
7507
  //#endregion
7508
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
7509
7509
  /**
7510
7510
  * Legacy third-party session-event types the TUI vouches for as ephemeral
7511
7511
  * UI frames — safe for the strict read path to accept and skip. Exported
@@ -8197,7 +8197,7 @@ function appendSessionTitle(sessionId, title) {
8197
8197
  }
8198
8198
  }
8199
8199
  //#endregion
8200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
8201
8201
  /** Narrow an unknown/session event to the retired durable chunk envelope. */
8202
8202
  function legacyAssistantChunkOf(event) {
8203
8203
  if (event === null || typeof event !== "object") return void 0;
@@ -8211,7 +8211,7 @@ function legacyAssistantChunkOf(event) {
8211
8211
  return event;
8212
8212
  }
8213
8213
  //#endregion
8214
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
8215
8215
  /**
8216
8216
  * Recognize both the current checkpoint source and the legacy plugin marker.
8217
8217
  * Harness session format v4 migrated `plugin/compact` to the dedicated
@@ -8222,7 +8222,7 @@ function isCompactionCheckpointSource(source) {
8222
8222
  return source.kind === "compact-checkpoint" || source.kind === "plugin" && source.plugin === "compact";
8223
8223
  }
8224
8224
  //#endregion
8225
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
8226
8226
  const TREE_FILTERS = [
8227
8227
  "default",
8228
8228
  "no-tools",
@@ -10378,7 +10378,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10378
10378
  module.exports = subset;
10379
10379
  }));
10380
10380
  //#endregion
10381
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
10382
10382
  var import_semver = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
10383
10383
  const internalRe = require_re();
10384
10384
  const constants = require_constants$1();
@@ -10471,7 +10471,7 @@ function cmdEscapeArgument(arg, doubleEscapeMetaChars = false) {
10471
10471
  return out;
10472
10472
  }
10473
10473
  //#endregion
10474
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
10475
10475
  const PACKAGE_NAME = "@chatcode/cco-tui";
10476
10476
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
10477
10477
  const GITHUB_REPO = "ccch1mneyyy/dsh-TUI";
@@ -11822,7 +11822,7 @@ async function restartTui(sessionId, options = {}) {
11822
11822
  });
11823
11823
  }
11824
11824
  //#endregion
11825
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
11826
11826
  /** A finite number, or undefined for anything else (NaN and ±Infinity included). */
11827
11827
  function finiteNumber(value) {
11828
11828
  return typeof value === "number" && Number.isFinite(value) ? value : void 0;
@@ -11896,7 +11896,7 @@ function classify(header) {
11896
11896
  return { kind: "root" };
11897
11897
  }
11898
11898
  //#endregion
11899
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
11900
11900
  /**
11901
11901
  * Bounded reads over the JSONL backend's concatenated-Zstandard session logs.
11902
11902
  *
@@ -12142,7 +12142,7 @@ function decodeTail(window) {
12142
12142
  return decodeFrames(window.buffer, window.whole ? walkFrames(window.buffer) : resyncFrames(window.buffer));
12143
12143
  }
12144
12144
  //#endregion
12145
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
12146
12146
  /**
12147
12147
  * What a bounded read can learn about a session log.
12148
12148
  *
@@ -12625,7 +12625,7 @@ function previewSession(path, limit) {
12625
12625
  return entries.slice(-limit);
12626
12626
  }
12627
12627
  //#endregion
12628
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
12629
12629
  /** Read-only artifact lookup for session summaries and previews. */
12630
12630
  /** Highest published compressed generation; temporary migration files are ignored. */
12631
12631
  function inDirectory(directory) {
@@ -12678,7 +12678,7 @@ function findSessionArtifact(sessionId, target) {
12678
12678
  }
12679
12679
  }
12680
12680
  //#endregion
12681
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
12682
12682
  /**
12683
12683
  * The session index — a local cache keyed by the backend's own change token.
12684
12684
  *
@@ -12842,7 +12842,7 @@ function noteBranch(sessionId, branch) {
12842
12842
  writeIndex(index);
12843
12843
  }
12844
12844
  //#endregion
12845
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
12846
12846
  /**
12847
12847
  * Building the session list.
12848
12848
  *
@@ -13123,7 +13123,7 @@ async function locateSession(source, sessionId, signal) {
13123
13123
  return match === void 0 ? void 0 : locate$1(source, match.raw, sessionId);
13124
13124
  }
13125
13125
  //#endregion
13126
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13127
13127
  /**
13128
13128
  * Agent view (CC `claude agents`) derivation helpers — pure functions over
13129
13129
  * session events that the channel folds into {@link AgentViewRow}s. Kept in
@@ -13353,7 +13353,7 @@ function featureOn(config, name) {
13353
13353
  return config.mode !== "minimal";
13354
13354
  }
13355
13355
  //#endregion
13356
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13357
13357
  /**
13358
13358
  * Persisted working-activity indicator preference, mirroring the pi
13359
13359
  * working-activity extension's `~/.pi/agent/working-activity.json`
@@ -13422,7 +13422,7 @@ function writeActivityFrames(name, dir = PREFS_DIR$5) {
13422
13422
  }
13423
13423
  }
13424
13424
  //#endregion
13425
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13426
13426
  const pathSeparators = /[\\/]/;
13427
13427
  function isPathLikeQuery(query) {
13428
13428
  return query.startsWith(".") || query.startsWith("~") || query.startsWith("/") || /^[A-Za-z]:[\\/]/.test(query) || pathSeparators.test(query);
@@ -13445,7 +13445,7 @@ function rankFileCandidates(candidates, query, topK) {
13445
13445
  return topK === void 0 ? ranked : ranked.slice(0, Math.max(0, topK));
13446
13446
  }
13447
13447
  //#endregion
13448
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13449
13449
  /**
13450
13450
  * Persisted reasoning-effort preference (`~/.chatcode-cli/tui/effort.json`). Set via
13451
13451
  * `/effort` (slider or `/effort <id>`; `/effort status` reports the current
@@ -13487,7 +13487,7 @@ function writeEffortPref(effort, dir = PREFS_DIR$4) {
13487
13487
  }
13488
13488
  }
13489
13489
  //#endregion
13490
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13491
13491
  /**
13492
13492
  * Persisted model-route preference (`/model` picker choice), kept at
13493
13493
  * `~/.chatcode-cli/model.json` (`provider` + `model` keys) so CLI and Web share it
@@ -13570,7 +13570,7 @@ function writeModelPref(provider, model, dir = PREFS_DIR$3) {
13570
13570
  }
13571
13571
  }
13572
13572
  //#endregion
13573
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13574
13574
  /**
13575
13575
  * Model route resolution (issue #67). The `(provider, model)` pair is a
13576
13576
  * single value: every source either supplies the WHOLE route or is skipped,
@@ -13805,7 +13805,7 @@ function orderModelProviders(providers) {
13805
13805
  return [...providers].sort((left, right) => rank(left.id) - rank(right.id));
13806
13806
  }
13807
13807
  //#endregion
13808
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
13809
13809
  /** Custom-model forms over the same settings and credential services used by Web. */
13810
13810
  function record(value) {
13811
13811
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -14007,7 +14007,7 @@ function createCustomModelSettingsStore(path, host) {
14007
14007
  };
14008
14008
  }
14009
14009
  //#endregion
14010
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14011
14011
  /** Direct, one-shot generation used by `/model-config` before a model is registered. */
14012
14012
  function requestEndpoint(baseURL, api) {
14013
14013
  const url = new URL(baseURL);
@@ -14096,7 +14096,7 @@ async function testCustomModelConnection(request, fetchImpl = fetch) {
14096
14096
  }
14097
14097
  }
14098
14098
  //#endregion
14099
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14100
14100
  /** Read display defaults from the host adapter's own installed pi-ai catalog. */
14101
14101
  const catalogs = /* @__PURE__ */ new Map();
14102
14102
  async function installedCatalog(anchor) {
@@ -14143,7 +14143,7 @@ async function catalogProviderDefaults(provider, model, anchor = import.meta.url
14143
14143
  };
14144
14144
  }
14145
14145
  //#endregion
14146
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14147
14147
  /**
14148
14148
  * Persisted agent-preset preference (`/preset` picker choice), kept at
14149
14149
  * `~/.chatcode-cli/tui/agent-preset.json` (`preset` key) so the choice survives
@@ -14202,7 +14202,7 @@ function migratePresetPref(requested, resolved, dir = PREFS_DIR$2) {
14202
14202
  return requested === void 0 || resolved === void 0 || requested === resolved ? true : writePresetPref(resolved, dir);
14203
14203
  }
14204
14204
  //#endregion
14205
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14206
14206
  /** Undefined means the service exposes neither supported read API. */
14207
14207
  async function readPersistedSession(persistence, id) {
14208
14208
  if (persistence === null || typeof persistence !== "object") return void 0;
@@ -14222,7 +14222,7 @@ async function readPersistedSession(persistence, id) {
14222
14222
  if (typeof reader.load === "function") return reader.load(id);
14223
14223
  }
14224
14224
  //#endregion
14225
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14226
14226
  /**
14227
14227
  * Agent-preset resolution across upstream prerelease lines.
14228
14228
  *
@@ -14260,7 +14260,7 @@ async function resolveCompatiblePreset(presets, requested) {
14260
14260
  return presets.resolve(requested);
14261
14261
  }
14262
14262
  //#endregion
14263
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14264
14264
  /**
14265
14265
  * Agent-presets roster integration (issue #8): compose each session's
14266
14266
  * model-facing world (tools, prompt sections, projections) from one preset
@@ -14410,7 +14410,7 @@ function serviceForAgent(ctx, agent, key) {
14410
14410
  return ctx.get(key);
14411
14411
  }
14412
14412
  //#endregion
14413
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/subagent-control.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
14414
  /**
14415
14415
  * Interrupt a child visible to the current parent without disposing its session.
14416
14416
  * One-shot local agents use their cancellation method; continuable agents use
@@ -14450,7 +14450,7 @@ function interruptSubagent(ctx, parent, id) {
14450
14450
  }
14451
14451
  }
14452
14452
  //#endregion
14453
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/preset-management.js
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
14454
14454
  const failureReason = (error) => error instanceof Error ? error.message : String(error);
14455
14455
  /** Read a roster-resolved composition without bypassing preset ownership. */
14456
14456
  async function readPresetComposition(presets, presetId) {
@@ -14507,7 +14507,7 @@ async function removePresetComposition(presets, presetId) {
14507
14507
  }
14508
14508
  }
14509
14509
  //#endregion
14510
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14511
14511
  /** Adapter-only readers for optional Harness session-organization services. */
14512
14512
  const STAT_KEYS = [
14513
14513
  "turns",
@@ -14568,7 +14568,7 @@ function presetCompositionRows(content, limit = 80) {
14568
14568
  };
14569
14569
  }
14570
14570
  //#endregion
14571
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14572
14572
  /**
14573
14573
  * Debug logger for the ported Ink core. Writes to stderr only when
14574
14574
  * `CHATCODE_CLI_TUI_DEBUG` (or its legacy alias) is set, so normal runs stay quiet.
@@ -14598,7 +14598,7 @@ function logMouseDebug(message, fields) {
14598
14598
  } catch {}
14599
14599
  }
14600
14600
  //#endregion
14601
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14602
14602
  /**
14603
14603
  * `@` file-mention parsing (issue #15).
14604
14604
  *
@@ -14744,7 +14744,7 @@ function mentionAtCaret(value, cursor) {
14744
14744
  };
14745
14745
  }
14746
14746
  //#endregion
14747
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14748
14748
  /** Format only the files in the authoritative loaded-context projection. */
14749
14749
  function loadedFileLines(files, copy) {
14750
14750
  if (files === void 0) return [copy.unavailable];
@@ -14859,7 +14859,7 @@ function codeRatioLines(report, copy, maxAuthors = 20) {
14859
14859
  return lines;
14860
14860
  }
14861
14861
  //#endregion
14862
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14863
14863
  /**
14864
14864
  * Cordis-free theme catalog shared by future pickers, commands and hosts.
14865
14865
  *
@@ -14940,7 +14940,7 @@ function listThemeCatalog(host) {
14940
14940
  return Object.freeze(entries);
14941
14941
  }
14942
14942
  //#endregion
14943
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
14944
14944
  /**
14945
14945
  * Configurable Shift+Tab session modes (the `modes` dsh-tui plugin config):
14946
14946
  * each mode is a named bundle of optional DSH plane switches — plan mode
@@ -15004,7 +15004,7 @@ function modeDisplayName(spec) {
15004
15004
  return spec.id;
15005
15005
  }
15006
15006
  //#endregion
15007
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15008
15008
  /** Unified subagent activity domain model used by the adapter and every view. */
15009
15009
  const MAX_OUTPUT_EVENTS = 160;
15010
15010
  const MAX_OUTPUT_LINES = 160;
@@ -15382,7 +15382,7 @@ function formatJobDuration(job, now = Date.now()) {
15382
15382
  return `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, "0")}m`;
15383
15383
  }
15384
15384
  //#endregion
15385
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15386
15386
  /**
15387
15387
  * Minimal mode: one process-wide flag gating decorative UI (header splash,
15388
15388
  * emoji status glyphs and non-tool text colors). Footer field choices remain
@@ -15402,7 +15402,7 @@ function setMinimalMode(enabled) {
15402
15402
  minimal = enabled;
15403
15403
  }
15404
15404
  //#endregion
15405
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15406
15406
  function registryOf(ctx) {
15407
15407
  const registry = ctx.get("workspaceRegistry");
15408
15408
  if (registry === void 0 || typeof registry.pinSession !== "function" || typeof registry.unpinSession !== "function") return void 0;
@@ -15477,7 +15477,7 @@ async function unarchiveWorkspaceSession(ctx, id) {
15477
15477
  return true;
15478
15478
  }
15479
15479
  //#endregion
15480
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15481
15481
  /**
15482
15482
  * Upstream compatibility contract.
15483
15483
  *
@@ -15906,7 +15906,7 @@ function pluginsInfoLines(args, deps) {
15906
15906
  return lines;
15907
15907
  }
15908
15908
  //#endregion
15909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15910
15910
  /** Loader and tool-registry projection used by the TUI's `/mcp` report. */
15911
15911
  const MCP_CLIENT_PACKAGE = "@deepseek-ai/dsh-mcp-client";
15912
15912
  const FIBER_ACTIVE = 2;
@@ -15959,7 +15959,7 @@ function collectMcpServerStatus(schemas, entries) {
15959
15959
  }));
15960
15960
  }
15961
15961
  //#endregion
15962
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
15963
15963
  /**
15964
15964
  * Number, token-count, and duration formatters shared by the status line
15965
15965
  * and message rows.
@@ -16022,7 +16022,7 @@ function formatDuration$4(durationMs, options = {}) {
16022
16022
  return parts.join(" ");
16023
16023
  }
16024
16024
  //#endregion
16025
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
16026
16026
  /**
16027
16027
  * Return the current context occupancy. The latest request is authoritative:
16028
16028
  * its uncached input and cache read/write tokens are all part of that request's
@@ -16406,7 +16406,7 @@ function prepareMemoryTargetFile(requested, candidates, cwd, dshHome) {
16406
16406
  }
16407
16407
  }
16408
16408
  //#endregion
16409
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
16410
16410
  /** Return the step left open by a tree fork cut within one turn. */
16411
16411
  function openStepAtForkCut(events, turn) {
16412
16412
  for (let i = events.length - 1; i >= 0; i--) {
@@ -23193,7 +23193,7 @@ async function expandMentions(fs, cwd, text, attachments, stagedImages) {
23193
23193
  };
23194
23194
  }
23195
23195
  //#endregion
23196
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23197
23197
  /**
23198
23198
  * Child-process stderr guard (issue #17).
23199
23199
  *
@@ -23362,7 +23362,7 @@ function createChildStderrReporter(notify, options = {}) {
23362
23362
  };
23363
23363
  }
23364
23364
  //#endregion
23365
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23366
23366
  /** Opt-in startup timings; labels never contain paths, Session identities, or credentials. */
23367
23367
  /**
23368
23368
  * Measure one initialization operation without changing its result or failure.
@@ -23381,7 +23381,7 @@ async function traceTuiStartup(phase, operation) {
23381
23381
  }
23382
23382
  }
23383
23383
  //#endregion
23384
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23385
23385
  /**
23386
23386
  * Ask-user-question store — the UI-side half of the DSH user-interaction
23387
23387
  * seam (`ctx.userQuestions`). The harness's model-facing
@@ -23621,7 +23621,7 @@ var QuestionStore = class {
23621
23621
  }
23622
23622
  };
23623
23623
  //#endregion
23624
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23625
23625
  /**
23626
23626
  * Question-provider seat guard (issue #98 security follow-up).
23627
23627
  *
@@ -23733,7 +23733,7 @@ function incumbentQuestionProviderId(service) {
23733
23733
  } catch {}
23734
23734
  }
23735
23735
  //#endregion
23736
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23737
23737
  /**
23738
23738
  * User-question answerer compatibility.
23739
23739
  *
@@ -23792,7 +23792,7 @@ function prepareQuestionAnswerer(ctx, service, answerer) {
23792
23792
  }
23793
23793
  }
23794
23794
  //#endregion
23795
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
23796
23796
  /**
23797
23797
  * Approval store — the UI-side answerer half of the DSH approval seam
23798
23798
  * (`ctx.approval`). The harness's permission layer asks
@@ -24186,7 +24186,7 @@ var ApprovalStore = class {
24186
24186
  }
24187
24187
  };
24188
24188
  //#endregion
24189
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24190
24190
  /**
24191
24191
  * On-demand capture of every final AgentLoop request context observed for a
24192
24192
  * live session.
@@ -24332,7 +24332,7 @@ function registerPromptDebug(ctx) {
24332
24332
  }));
24333
24333
  }
24334
24334
  //#endregion
24335
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24336
24336
  /**
24337
24337
  * One-time local migrations (`~/.chatcode-cli/tui/migrations.json`), keyed by stable
24338
24338
  * migration id → ISO timestamp. Named keys (not a bare flag) so later
@@ -24423,7 +24423,7 @@ async function commitFullscreenFactoryMigration(plan, options) {
24423
24423
  } catch {}
24424
24424
  }
24425
24425
  //#endregion
24426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24427
24427
  const OWNER = "@chatcode/cco-tui";
24428
24428
  const MARKER = ".dsh-tui-managed.json";
24429
24429
  const RETIRED_PACKAGED_PRESETS = ["liangshen"];
@@ -24465,7 +24465,7 @@ function cleanupRetiredPackagedPresets(options = {}) {
24465
24465
  return results;
24466
24466
  }
24467
24467
  //#endregion
24468
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24469
24469
  /** The browser's default view: this project, conversations only. */
24470
24470
  const DEFAULT_FILTERS = {
24471
24471
  query: "",
@@ -24799,7 +24799,7 @@ function windowEnd(rows, top, budget) {
24799
24799
  return at;
24800
24800
  }
24801
24801
  //#endregion
24802
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24803
24803
  /** Resolve launch-time resume flags against persisted conversations. */
24804
24804
  /**
24805
24805
  * Select the latest conversation in the exact launch directory for bare flags.
@@ -24819,7 +24819,7 @@ async function resolveStartupSessionId(source, argv, cwd) {
24819
24819
  return latest.id;
24820
24820
  }
24821
24821
  //#endregion
24822
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24823
24823
  /** Resolve a fresh session's working directory without widening it to a Git ancestor. */
24824
24824
  /**
24825
24825
  * Explicit configuration wins; otherwise keep the invoking directory, even
@@ -24832,7 +24832,7 @@ function resolveSessionCwd(configured, start = process.cwd()) {
24832
24832
  return resolve(start, configured ?? "");
24833
24833
  }
24834
24834
  //#endregion
24835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24836
24836
  /**
24837
24837
  * Open URLs, files and folders with the platform's default handler, fully
24838
24838
  * detached from the TUI process (fire-and-forget: no stdio pipes, no wait,
@@ -24993,7 +24993,7 @@ function revealInFileManager(filePath) {
24993
24993
  if (existsSync(dir)) openExternal(dir);
24994
24994
  }
24995
24995
  //#endregion
24996
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
24997
24997
  /** ChatCode API request capability. Credentials stay in the host adapter. */
24998
24998
  const CHATCODE_API_BASE_URL = "https://chatcode.chinaunicom.cn";
24999
24999
  /** CVP(天梯)平台基础 URL,承载 modules/notification 等公开/独立鉴权模块接口。 */
@@ -25001,7 +25001,7 @@ const CVP_CHATCODE_API_URL = `${CHATCODE_API_BASE_URL}/cvp`;
25001
25001
  /** Each mounted TUI receives its own host-authorized request function. */
25002
25002
  const ChatCodeApiContext = (0, import_react.createContext)(void 0);
25003
25003
  //#endregion
25004
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25005
25005
  const RELEASE_NOTE_PATH = join(DATA_DIR, "release-notes.json");
25006
25006
  const RELEASE_NOTE_ENDPOINT = `${CHATCODE_API_BASE_URL}/chatcode/api/v1/cli/version/release-note`;
25007
25007
  function acknowledgedVersion() {
@@ -25097,7 +25097,7 @@ var ReleaseNotesStore = class {
25097
25097
  }
25098
25098
  };
25099
25099
  //#endregion
25100
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25101
25101
  const MAIN_CLI_PACKAGES = new Set(["@chatcode/chatcode-cli", "@chatcode/chatcode-cli-test"]);
25102
25102
  const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u;
25103
25103
  const PRODUCT_VERSION_ENV = "CHATCODE_CLI_PRODUCT_VERSION";
@@ -25137,7 +25137,7 @@ function resolveProductVersion(options = {}) {
25137
25137
  /** Product version shown by the TUI, shared with `cco --version` and Web. */
25138
25138
  const PRODUCT_VERSION = resolveProductVersion();
25139
25139
  //#endregion
25140
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25141
25141
  const MAX_CAPTURE_BYTES = 64 * 1024;
25142
25142
  function appendBounded(chunks, chunk, total) {
25143
25143
  if (total.value >= MAX_CAPTURE_BYTES) return;
@@ -25207,7 +25207,7 @@ function execFileNoThrow(file, args = [], options) {
25207
25207
  });
25208
25208
  }
25209
25209
  //#endregion
25210
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25211
25211
  const REPORT_TIMEOUT_MS = 2e3;
25212
25212
  const RELEASE_TIMEOUT_MS = 500;
25213
25213
  const RETRY_DELAYS_MS = [
@@ -25595,7 +25595,7 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
25595
25595
  })();
25596
25596
  }));
25597
25597
  //#endregion
25598
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25599
25599
  var import_jsx_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
25600
25600
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
25601
25601
  else module.exports = require_react_jsx_runtime_development();
@@ -25652,7 +25652,7 @@ function writeThemePref(name, dir = PREFS_DIR) {
25652
25652
  }
25653
25653
  }
25654
25654
  //#endregion
25655
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25656
25656
  const EMPTY_THEME_SNAPSHOT = Object.freeze([]);
25657
25657
  const subscribeNoThemes = (_listener) => () => {};
25658
25658
  /**
@@ -25680,7 +25680,7 @@ function useRuntimeThemeSnapshot(themeHost) {
25680
25680
  return import_react.useSyncExternalStore(subscribeThemes, getThemeSnapshot, getThemeSnapshot);
25681
25681
  }
25682
25682
  //#endregion
25683
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25684
25684
  /**
25685
25685
  * Base class for events with immediate-propagation control.
25686
25686
  *
@@ -25704,7 +25704,7 @@ var Event = class {
25704
25704
  }
25705
25705
  };
25706
25706
  //#endregion
25707
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25708
25708
  /**
25709
25709
  * Node-compatible event emitter that is aware of the `Event` class, so
25710
25710
  * `emit` respects `stopImmediatePropagation()` on dispatched events.
@@ -25737,7 +25737,7 @@ var EventEmitter$1 = class extends EventEmitter {
25737
25737
  }
25738
25738
  };
25739
25739
  //#endregion
25740
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25741
25741
  /**
25742
25742
  * `StdinContext` is a React context, which exposes input stream.
25743
25743
  */
@@ -25751,14 +25751,14 @@ const StdinContext = (0, import_react.createContext)({
25751
25751
  });
25752
25752
  StdinContext.displayName = "InternalStdinContext";
25753
25753
  //#endregion
25754
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25755
25755
  /**
25756
25756
  * React hook exposing the stdin stream and raw-mode helpers from `StdinContext`.
25757
25757
  * @returns the `StdinContext` value.
25758
25758
  */
25759
25759
  const useStdin = () => (0, import_react.useContext)(StdinContext);
25760
25760
  //#endregion
25761
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25762
25762
  /**
25763
25763
  * ANSI Control Characters and Escape Sequence Introducers
25764
25764
  *
@@ -25832,7 +25832,7 @@ function isEscFinal(byte) {
25832
25832
  return byte >= 48 && byte <= 126;
25833
25833
  }
25834
25834
  //#endregion
25835
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
25836
25836
  /**
25837
25837
  * CSI (Control Sequence Introducer) Types
25838
25838
  *
@@ -26155,7 +26155,7 @@ const ENABLE_WIN32_INPUT_MODE = csi("?9001h");
26155
26155
  */
26156
26156
  const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26157
26157
  //#endregion
26158
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
26159
26159
  /**
26160
26160
  * Minimal terminal-environment shim for the ported Ink core. The original
26161
26161
  * module computed a richer `env` object from the Claude Code app context; the
@@ -26164,7 +26164,7 @@ const DISABLE_WIN32_INPUT_MODE = csi("?9001l");
26164
26164
  */
26165
26165
  const env$1 = { terminal: (process.env.TERM_PROGRAM ?? process.env.TERM ?? "unknown").toLowerCase() };
26166
26166
  //#endregion
26167
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
26168
26168
  /**
26169
26169
  * OSC (Operating System Command) Types and Parser
26170
26170
  */
@@ -26560,7 +26560,7 @@ function supportsTabStatus() {
26560
26560
  return process.env.USER_TYPE === "ant";
26561
26561
  }
26562
26562
  //#endregion
26563
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
26564
26564
  /**
26565
26565
  * Query the terminal and await responses without timeouts.
26566
26566
  *
@@ -26746,7 +26746,7 @@ var TerminalQuerier = class {
26746
26746
  }
26747
26747
  };
26748
26748
  //#endregion
26749
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
26750
26750
  /**
26751
26751
  * Theme provider with terminal-background auto-detection. With no explicit
26752
26752
  * `theme` prop, no CHATCODE_CLI_TUI_THEME override and no persisted choice
@@ -26945,7 +26945,7 @@ function useTheme() {
26945
26945
  return [theme, setTheme];
26946
26946
  }
26947
26947
  //#endregion
26948
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
26949
26949
  /**
26950
26950
  * React-free form model behind the `/settings` screen (issue #165), mirroring
26951
26951
  * the web front door's card-form.ts semantics: a section stages what the user
@@ -27195,7 +27195,7 @@ var SettingsForm = class {
27195
27195
  }
27196
27196
  };
27197
27197
  //#endregion
27198
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
27199
27199
  /**
27200
27200
  * `/reload` planning — the pi-style soft reload: re-read the TUI's persisted
27201
27201
  * preference files (`~/.chatcode-cli/tui/{theme,lang,agent-preset,model,
@@ -28044,7 +28044,7 @@ var SignalExit = class extends SignalExitBase {
28044
28044
  const process$2 = globalThis.process;
28045
28045
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
28046
28046
  //#endregion
28047
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
28048
28048
  /**
28049
28049
  * Yoga enums — ported from yoga-layout/src/generated/YGEnums.ts
28050
28050
  * Kept as `const` objects (not TS enums) per repo convention.
@@ -28176,7 +28176,7 @@ const Wrap = {
28176
28176
  WrapReverse: 2
28177
28177
  };
28178
28178
  //#endregion
28179
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
28180
28180
  /**
28181
28181
  * Pure-TypeScript port of yoga-layout (Meta's flexbox engine).
28182
28182
  *
@@ -30627,7 +30627,7 @@ Object.defineProperties(createChalk.prototype, {
30627
30627
  const chalk = createChalk();
30628
30628
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
30629
30629
  //#endregion
30630
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
30631
30631
  /**
30632
30632
  * xterm.js (VS Code, Cursor, code-server, Coder) has supported truecolor
30633
30633
  * since 2017, but code-server/Coder containers often don't set
@@ -30758,7 +30758,7 @@ function applyColor(text, color) {
30758
30758
  return colorize(text, color, "foreground");
30759
30759
  }
30760
30760
  //#endregion
30761
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
30762
30762
  /**
30763
30763
  * Environment truthiness check for the ported Ink core. Accepts the common
30764
30764
  * shell truthy spellings (`1`, `true`, `yes`, `on`).
@@ -30776,7 +30776,7 @@ function isEnvTruthy(value) {
30776
30776
  ].includes(value.toLowerCase());
30777
30777
  }
30778
30778
  //#endregion
30779
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
30780
30780
  /**
30781
30781
  * Whether mouse click handling is disabled for the ported Ink core. dsh-tui
30782
30782
  * reads its own env flag (`CHATCODE_CLI_TUI_DISABLE_MOUSE`); the original module
@@ -30787,7 +30787,7 @@ function isMouseClicksDisabled() {
30787
30787
  return isEnvTruthy(readTuiEnv("DISABLE_MOUSE"));
30788
30788
  }
30789
30789
  //#endregion
30790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
30791
30791
  /**
30792
30792
  * Input suppression window for terminal handoffs (issue #123): when stdin is
30793
30793
  * handed to an external TUI (full-screen editor) and back, the tty can
@@ -30814,7 +30814,7 @@ function isInputSuppressed() {
30814
30814
  return Date.now() < suppressedUntil;
30815
30815
  }
30816
30816
  //#endregion
30817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
30818
30818
  /**
30819
30819
  * Input Tokenizer - Escape sequence boundary detection
30820
30820
  *
@@ -31012,7 +31012,7 @@ function tokenize$2(input, initialState, initialBuffer, flush, x10Mouse, splitIn
31012
31012
  };
31013
31013
  }
31014
31014
  //#endregion
31015
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
31016
31016
  /**
31017
31017
  * Keyboard input parser - converts terminal input to key events
31018
31018
  *
@@ -32087,7 +32087,7 @@ function createWheelKey(s, name, col, row, button) {
32087
32087
  };
32088
32088
  }
32089
32089
  //#endregion
32090
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32091
32091
  function parseKey(keypress) {
32092
32092
  const key = {
32093
32093
  upArrow: keypress.name === "up",
@@ -32172,7 +32172,7 @@ var InputEvent = class extends Event {
32172
32172
  }
32173
32173
  };
32174
32174
  //#endregion
32175
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32176
32176
  /**
32177
32177
  * Event fired when the terminal window gains or loses focus.
32178
32178
  *
@@ -32191,7 +32191,7 @@ var TerminalFocusEvent = class extends Event {
32191
32191
  }
32192
32192
  };
32193
32193
  //#endregion
32194
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32195
32195
  /** Layout bounds cached per rendered node, used for blitting and clearing. */
32196
32196
  const nodeCache = /* @__PURE__ */ new WeakMap();
32197
32197
  /** Rects of removed children that need clearing on next render */
@@ -32229,7 +32229,7 @@ function consumeAbsoluteRemovedFlag() {
32229
32229
  return had;
32230
32230
  }
32231
32231
  //#endregion
32232
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32233
32233
  /**
32234
32234
  * Base class for all terminal events with DOM-style propagation.
32235
32235
  *
@@ -32358,7 +32358,7 @@ var TerminalEvent = class extends Event {
32358
32358
  _prepareForTarget(_target) {}
32359
32359
  };
32360
32360
  //#endregion
32361
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32362
32362
  /**
32363
32363
  * Base class for pointer-derived terminal events (click, wheel, hover).
32364
32364
  *
@@ -32419,7 +32419,7 @@ var PointerEvent = class extends TerminalEvent {
32419
32419
  }
32420
32420
  };
32421
32421
  //#endregion
32422
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
32423
32423
  /**
32424
32424
  * Component-level drag event (DOM HTML5 drag semantics subset).
32425
32425
  *
@@ -48527,7 +48527,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
48527
48527
  }, module.exports.default = module.exports, Object.defineProperty(module.exports, "__esModule", { value: !0 }));
48528
48528
  }));
48529
48529
  //#endregion
48530
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48531
48531
  var import_react_reconciler = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
48532
48532
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
48533
48533
  else module.exports = require_react_reconciler_development();
@@ -48603,7 +48603,7 @@ const LayoutMeasureMode = {
48603
48603
  AtMost: "at-most"
48604
48604
  };
48605
48605
  //#endregion
48606
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48607
48607
  const EDGE_MAP = {
48608
48608
  all: Edge.All,
48609
48609
  horizontal: Edge.Horizontal,
@@ -48830,7 +48830,7 @@ function createYogaLayoutNode() {
48830
48830
  return new YogaLayoutNode(YOGA_INSTANCE.Node.create());
48831
48831
  }
48832
48832
  //#endregion
48833
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48834
48834
  /**
48835
48835
  * Create a new layout node backed by the Yoga adapter.
48836
48836
  * @returns an empty layout node with no children, styles, or measure function.
@@ -48839,7 +48839,7 @@ function createLayoutNode() {
48839
48839
  return createYogaLayoutNode();
48840
48840
  }
48841
48841
  //#endregion
48842
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48843
48843
  const cache = /* @__PURE__ */ new Map();
48844
48844
  const MAX_CACHE_SIZE = 4096;
48845
48845
  const MAX_CACHE_CHARS = 1e5;
@@ -48875,7 +48875,7 @@ function lineWidth(line) {
48875
48875
  return width;
48876
48876
  }
48877
48877
  //#endregion
48878
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48879
48879
  /**
48880
48880
  * Measure wrapped text dimensions in a single pass.
48881
48881
  * @param text - the text to measure.
@@ -48906,7 +48906,7 @@ function measureText(text, maxWidth) {
48906
48906
  };
48907
48907
  }
48908
48908
  //#endregion
48909
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48910
48910
  /**
48911
48911
  * Squash text nodes into styled segments, propagating styles down through the tree.
48912
48912
  * This allows structured styling without relying on ANSI string transforms.
@@ -48954,7 +48954,7 @@ function squashTextNodes(node) {
48954
48954
  return text;
48955
48955
  }
48956
48956
  //#endregion
48957
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
48958
48958
  const DEFAULT_TAB_INTERVAL = 8;
48959
48959
  /**
48960
48960
  * Expand tab characters to spaces at fixed column intervals, preserving
@@ -49404,7 +49404,7 @@ function tokenize$1(str, endChar = Number.POSITIVE_INFINITY) {
49404
49404
  return ret;
49405
49405
  }
49406
49406
  //#endregion
49407
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
49408
49408
  function isEndCode(code) {
49409
49409
  return code.code === code.endCode;
49410
49410
  }
@@ -50021,7 +50021,7 @@ function wrapAnsi$1(string, columns, options) {
50021
50021
  return normalizeText(String(string)).replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs$1(line), columns, options)).join("\n");
50022
50022
  }
50023
50023
  //#endregion
50024
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50025
50025
  const wrapAnsiBun = typeof Bun !== "undefined" && typeof Bun.wrapAnsi === "function" ? Bun.wrapAnsi : null;
50026
50026
  const SLOT_MIN_LENGTH = 2048;
50027
50027
  let slot = null;
@@ -50068,7 +50068,7 @@ function wrapAnsiNpmIncremental(input, columns, options) {
50068
50068
  */
50069
50069
  const wrapAnsi = wrapAnsiBun ?? wrapAnsiNpmIncremental;
50070
50070
  //#endregion
50071
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50072
50072
  const ELLIPSIS = "…";
50073
50073
  const WRAP_CACHE_MAX_ENTRIES = 2048;
50074
50074
  const WRAP_CACHE_MAX_CHARS = 2e6;
@@ -50132,7 +50132,7 @@ function wrapText$1(text, maxWidth, wrapType) {
50132
50132
  return text;
50133
50133
  }
50134
50134
  //#endregion
50135
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50136
50136
  /**
50137
50137
  * Create an element node of the given kind, allocating its yoga layout node
50138
50138
  * unless the kind renders without layout (`ink-virtual-text`, `ink-link`,
@@ -50452,7 +50452,7 @@ function findOwnerChainAtRow(root, y) {
50452
50452
  }
50453
50453
  }
50454
50454
  //#endregion
50455
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50456
50456
  /**
50457
50457
  * Reverse lookup: event type string → handler prop names.
50458
50458
  * Used by the dispatcher for O(1) handler lookup per node.
@@ -50506,7 +50506,7 @@ const EVENT_HANDLER_PROPS = new Set([
50506
50506
  "onWheel"
50507
50507
  ]);
50508
50508
  //#endregion
50509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50510
50510
  function getHandler(node, eventType, capture) {
50511
50511
  const handlers = node._eventHandlers;
50512
50512
  if (!handlers) return void 0;
@@ -50674,7 +50674,7 @@ var Dispatcher = class {
50674
50674
  }
50675
50675
  };
50676
50676
  //#endregion
50677
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50678
50678
  /**
50679
50679
  * Focus event for component focus changes.
50680
50680
  *
@@ -50699,7 +50699,7 @@ var FocusEvent = class extends TerminalEvent {
50699
50699
  }
50700
50700
  };
50701
50701
  //#endregion
50702
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50703
50703
  const MAX_FOCUS_STACK = 32;
50704
50704
  /**
50705
50705
  * DOM-like focus manager for the Ink terminal UI.
@@ -50855,7 +50855,7 @@ function getFocusManager(node) {
50855
50855
  return getRootNode(node).focusManager;
50856
50856
  }
50857
50857
  //#endregion
50858
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50859
50859
  const applyPositionStyles = (node, style) => {
50860
50860
  if ("position" in style) node.setPositionType(style.position === "absolute" ? LayoutPositionType.Absolute : LayoutPositionType.Relative);
50861
50861
  if ("top" in style) applyPositionEdge(node, "top", style.top);
@@ -50990,7 +50990,7 @@ const styles = (node, style = {}, resolvedStyle) => {
50990
50990
  applyGapStyles(node, style);
50991
50991
  };
50992
50992
  //#endregion
50993
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
50994
50994
  if (process.env.NODE_ENV === "development") try {
50995
50995
  import("./devtools-la_KkjCS.js");
50996
50996
  } catch (error) {
@@ -51310,7 +51310,7 @@ const reconciler = (0, import_react_reconciler.default)({
51310
51310
  });
51311
51311
  dispatcher.discreteUpdates = reconciler.discreteUpdates.bind(reconciler);
51312
51312
  //#endregion
51313
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
51314
51314
  /**
51315
51315
  * Compute the smallest rectangle containing both input rectangles.
51316
51316
  * @param a - the first rectangle.
@@ -51342,7 +51342,7 @@ function clamp(value, min, max) {
51342
51342
  return value;
51343
51343
  }
51344
51344
  //#endregion
51345
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
51346
51346
  /**
51347
51347
  * Log a warning when a value is present but not an integer.
51348
51348
  * @param value - the value to check; undefined is skipped silently.
@@ -51354,7 +51354,7 @@ function ifNotInteger(value, name) {
51354
51354
  logForDebugging(`${name} should be an integer, got ${value}`, { level: "warn" });
51355
51355
  }
51356
51356
  //#endregion
51357
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
51358
51358
  /**
51359
51359
  * Pool of character strings shared across all screens.
51360
51360
  * With a shared pool, interned char IDs are valid across screens, so
@@ -52423,7 +52423,7 @@ function markNoSelectRegion(screen, x, y, width, height) {
52423
52423
  }
52424
52424
  }
52425
52425
  //#endregion
52426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
52427
52427
  /**
52428
52428
  * Text selection state for fullscreen mode.
52429
52429
  *
@@ -53389,7 +53389,7 @@ function applySelectionOverlay(screen, selection, stylePool) {
53389
53389
  }
53390
53390
  }
53391
53391
  //#endregion
53392
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53393
53393
  /**
53394
53394
  * DEC (Digital Equipment Corporation) Private Mode Sequences
53395
53395
  *
@@ -53455,7 +53455,7 @@ const ENABLE_MOUSE_TRACKING = decset(DEC.MOUSE_NORMAL) + decset(DEC.MOUSE_BUTTON
53455
53455
  /** Disable all mouse tracking modes enabled by ENABLE_MOUSE_TRACKING. */
53456
53456
  const DISABLE_MOUSE_TRACKING = decreset(DEC.MOUSE_SGR) + decreset(DEC.MOUSE_ANY) + decreset(DEC.MOUSE_BUTTON) + decreset(DEC.MOUSE_NORMAL);
53457
53457
  //#endregion
53458
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53459
53459
  /**
53460
53460
  * True when running inside a JetBrains IDE terminal (JediTerm). The IDE
53461
53461
  * injects `TERMINAL_EMULATOR=JetBrains-JediTerm` into the pty environment of
@@ -53697,7 +53697,7 @@ function writeDiffToTerminal(terminal, diff, skipSyncMarkers = false) {
53697
53697
  terminal.stdout.write(buffer);
53698
53698
  }
53699
53699
  //#endregion
53700
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53701
53701
  let focusState = "unknown";
53702
53702
  const resolvers = /* @__PURE__ */ new Set();
53703
53703
  const subscribers = /* @__PURE__ */ new Set();
@@ -53741,7 +53741,7 @@ function subscribeTerminalFocus(cb) {
53741
53741
  };
53742
53742
  }
53743
53743
  //#endregion
53744
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53745
53745
  /**
53746
53746
  * `AppContext` is a React context, which exposes a method to manually exit the app (unmount).
53747
53747
  */
@@ -53786,13 +53786,13 @@ var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJSMin((
53786
53786
  })();
53787
53787
  }));
53788
53788
  //#endregion
53789
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53790
53790
  var import_compiler_runtime = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
53791
53791
  if (process.env.NODE_ENV === "production") module.exports = require_react_compiler_runtime_production();
53792
53792
  else module.exports = require_react_compiler_runtime_development();
53793
53793
  })))();
53794
53794
  //#endregion
53795
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53796
53796
  /**
53797
53797
  * Geometry forensics — per-frame scroll-geometry trace (issues #421/#433).
53798
53798
  *
@@ -53872,7 +53872,7 @@ function endGeometryFrame(durationMs) {
53872
53872
  };
53873
53873
  }
53874
53874
  //#endregion
53875
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53876
53876
  const TerminalFocusContext = (0, import_react.createContext)({
53877
53877
  isTerminalFocused: true,
53878
53878
  terminalFocusState: "unknown"
@@ -53907,7 +53907,7 @@ function TerminalFocusProvider(t0) {
53907
53907
  return t2;
53908
53908
  }
53909
53909
  //#endregion
53910
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53911
53911
  /**
53912
53912
  * Hook to check if the terminal has focus.
53913
53913
  *
@@ -53922,7 +53922,7 @@ function useTerminalFocus() {
53922
53922
  return isTerminalFocused;
53923
53923
  }
53924
53924
  //#endregion
53925
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
53926
53926
  function createClock(tickIntervalMs) {
53927
53927
  const subscribers = /* @__PURE__ */ new Map();
53928
53928
  let interval = null;
@@ -54019,7 +54019,7 @@ function _temp() {
54019
54019
  return createClock(16);
54020
54020
  }
54021
54021
  //#endregion
54022
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54023
54023
  /**
54024
54024
  * React context that provides the cursor-declaration setter to descendants.
54025
54025
  */
@@ -54059,7 +54059,7 @@ var require_escape_string_regexp = /* @__PURE__ */ __commonJSMin(((exports, modu
54059
54059
  };
54060
54060
  }));
54061
54061
  //#endregion
54062
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54063
54063
  var import_stack_utils = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
54064
54064
  const escapeStringRegexp = require_escape_string_regexp();
54065
54065
  const cwd = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
@@ -54427,7 +54427,7 @@ function Box(t0) {
54427
54427
  return t4;
54428
54428
  }
54429
54429
  //#endregion
54430
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54431
54431
  const memoizedStylesForWrap = {
54432
54432
  wrap: {
54433
54433
  flexGrow: 0,
@@ -54579,7 +54579,7 @@ function Text(t0) {
54579
54579
  return t16;
54580
54580
  }
54581
54581
  //#endregion
54582
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54583
54583
  const cleanupPath = (path) => {
54584
54584
  return path?.replace(`file://${process.cwd()}/`, "");
54585
54585
  };
@@ -54684,10 +54684,10 @@ function ErrorOverview({ error }) {
54684
54684
  });
54685
54685
  }
54686
54686
  //#endregion
54687
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54688
54688
  const TerminalSizeContext = (0, import_react.createContext)(null);
54689
54689
  //#endregion
54690
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54691
54691
  /**
54692
54692
  * React context providing a raw terminal write function. Null until a
54693
54693
  * TerminalWriteProvider is mounted.
@@ -54698,7 +54698,7 @@ const TerminalWriteContext = (0, import_react.createContext)(null);
54698
54698
  */
54699
54699
  const TerminalWriteProvider = TerminalWriteContext.Provider;
54700
54700
  //#endregion
54701
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
54702
54702
  const SUPPORTS_SUSPEND = process.platform !== "win32";
54703
54703
  const STDIN_RESUME_GAP_MS = 5e3;
54704
54704
  const MULTI_CLICK_TIMEOUT_MS = 500;
@@ -55224,7 +55224,7 @@ function handleMouseEvent(app, m) {
55224
55224
  }
55225
55225
  }
55226
55226
  //#endregion
55227
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55228
55228
  /**
55229
55229
  * Keyboard event dispatched through the DOM tree via capture/bubble.
55230
55230
  *
@@ -55284,7 +55284,7 @@ function keyFromParsed(parsed) {
55284
55284
  return name || seq;
55285
55285
  }
55286
55286
  //#endregion
55287
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55288
55288
  /**
55289
55289
  * Create an empty frame with a zero-size screen, the given viewport, and a
55290
55290
  * visible cursor at the origin.
@@ -55310,7 +55310,7 @@ function emptyFrame(rows, columns, stylePool, charPool, hyperlinkPool) {
55310
55310
  };
55311
55311
  }
55312
55312
  //#endregion
55313
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55314
55314
  /**
55315
55315
  * Mouse click event. Fired on left-button release without drag, only when
55316
55316
  * mouse tracking is enabled (i.e. inside <AlternateScreen>).
@@ -55341,7 +55341,7 @@ var ClickEvent = class extends PointerEvent {
55341
55341
  }
55342
55342
  };
55343
55343
  //#endregion
55344
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55345
55345
  /**
55346
55346
  * Mouse context-menu event. Fired on right-button press (SGR button 2,
55347
55347
  * low bits of the raw button byte), mirroring the DOM `contextmenu` event
@@ -55365,7 +55365,7 @@ var ContextMenuEvent = class extends PointerEvent {
55365
55365
  }
55366
55366
  };
55367
55367
  //#endregion
55368
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55369
55369
  /**
55370
55370
  * Mouse wheel event dispatched to the ScrollBox under the pointer.
55371
55371
  *
@@ -55401,7 +55401,7 @@ function indentString(string, count = 1, options = {}) {
55401
55401
  return string.replace(regex, indent.repeat(count));
55402
55402
  }
55403
55403
  //#endregion
55404
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55405
55405
  /**
55406
55406
  * Returns the yoga node's content width (computed width minus padding and
55407
55407
  * border).
@@ -55506,7 +55506,7 @@ var cli_boxes_default = {
55506
55506
  }
55507
55507
  };
55508
55508
  //#endregion
55509
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55510
55510
  /** Built-in border styles beyond those provided by cli-boxes. */
55511
55511
  const CUSTOM_BORDER_STYLES = { dashed: {
55512
55512
  top: "╌",
@@ -55596,7 +55596,7 @@ const renderBorder = (x, y, node, output) => {
55596
55596
  }
55597
55597
  };
55598
55598
  //#endregion
55599
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55600
55600
  /**
55601
55601
  * Get the display width of the widest line in a string.
55602
55602
  * @param string - the text to measure, possibly containing newlines.
@@ -55615,7 +55615,7 @@ function widestLine(string) {
55615
55615
  return maxWidth;
55616
55616
  }
55617
55617
  //#endregion
55618
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
55619
55619
  function isXtermJsHost() {
55620
55620
  return process.env.TERM_PROGRAM === "vscode" || isXtermJs();
55621
55621
  }
@@ -56431,7 +56431,7 @@ function dropSubtreeCache(node) {
56431
56431
  for (const child of node.childNodes) if (child.nodeName !== "#text") dropSubtreeCache(child);
56432
56432
  }
56433
56433
  //#endregion
56434
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
56435
56435
  /**
56436
56436
  * Find the deepest DOM element whose rendered rect contains (col, row).
56437
56437
  *
@@ -56821,7 +56821,7 @@ function dispatchHover(root, col, row, hovered) {
56821
56821
  }
56822
56822
  }
56823
56823
  //#endregion
56824
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
56825
56825
  /**
56826
56826
  * Monotonic terminal-flush counter for the ported Ink core.
56827
56827
  *
@@ -56854,7 +56854,7 @@ function getTerminalFlushTick() {
56854
56854
  return flushTick;
56855
56855
  }
56856
56856
  //#endregion
56857
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
56858
56858
  /**
56859
56859
  * Live Ink instances keyed by their output stream, so consecutive render()
56860
56860
  * calls reuse the instance for a stream instead of creating a new one.
@@ -56863,7 +56863,7 @@ function getTerminalFlushTick() {
56863
56863
  */
56864
56864
  const instances = /* @__PURE__ */ new Map();
56865
56865
  //#endregion
56866
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
56867
56867
  const CARRIAGE_RETURN = { type: "carriageReturn" };
56868
56868
  const NEWLINE = {
56869
56869
  type: "stdout",
@@ -57500,7 +57500,7 @@ var VirtualScreen = class {
57500
57500
  }
57501
57501
  };
57502
57502
  //#endregion
57503
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
57504
57504
  /**
57505
57505
  * Optimize a diff by applying all optimization rules in a single pass.
57506
57506
  * This reduces the number of patches that need to be written to the terminal.
@@ -57565,7 +57565,7 @@ function optimize(diff) {
57565
57565
  return result;
57566
57566
  }
57567
57567
  //#endregion
57568
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
57569
57569
  var import_bidi = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
57570
57570
  (function(global, factory) {
57571
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());
@@ -58341,7 +58341,7 @@ function hasRTLCharacters(text) {
58341
58341
  return /[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(text);
58342
58342
  }
58343
58343
  //#endregion
58344
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
58345
58345
  /**
58346
58346
  * charCache bounds. The entry-count cap alone was not enough: a streaming
58347
58347
  * line produces a NEW cache key on every frame, and each entry's cost is
@@ -59011,7 +59011,7 @@ function writeLineToScreen(screen, line, x, y, screenWidth, stylePool, charCache
59011
59011
  return offsetX;
59012
59012
  }
59013
59013
  //#endregion
59014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
59015
59015
  const timing = {
59016
59016
  reconcile: 0,
59017
59017
  yoga: 0,
@@ -59105,7 +59105,7 @@ function applyPositionedHighlight(screen, stylePool, positions, rowOffset, curre
59105
59105
  return true;
59106
59106
  }
59107
59107
  //#endregion
59108
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
59109
59109
  /**
59110
59110
  * Create the renderer function for a root DOM node. The returned renderer
59111
59111
  * reuses an Output across frames so its character cache persists.
@@ -59180,7 +59180,7 @@ function createRenderer(node, stylePool) {
59180
59180
  };
59181
59181
  }
59182
59182
  //#endregion
59183
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
59184
59184
  /**
59185
59185
  * Highlight all visible occurrences of `query` in the screen buffer by
59186
59186
  * inverting cell styles (SGR 7). Post-render, same damage-tracking machinery
@@ -59242,7 +59242,7 @@ function applySearchHighlight(screen, query, stylePool) {
59242
59242
  return applied;
59243
59243
  }
59244
59244
  //#endregion
59245
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
59246
59246
  const ALT_SCREEN_ANCHOR_CURSOR = Object.freeze({
59247
59247
  x: 0,
59248
59248
  y: 0,
@@ -60795,7 +60795,7 @@ const CONSOLE_STDERR_METHODS = [
60795
60795
  "trace"
60796
60796
  ];
60797
60797
  //#endregion
60798
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60799
60799
  /**
60800
60800
  * Mount a component and render the output.
60801
60801
  * @param node - the React element to render.
@@ -60878,7 +60878,7 @@ const getInstance = (stdout, createInstance) => {
60878
60878
  return instance;
60879
60879
  };
60880
60880
  //#endregion
60881
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60882
60882
  /** Resolves a color value that may be a theme key to a raw Color. */
60883
60883
  function resolveColor$1(color, theme) {
60884
60884
  if (!color) return void 0;
@@ -60903,7 +60903,7 @@ function ThemedBox({ borderColor, borderTopColor, borderBottomColor, borderLeftC
60903
60903
  });
60904
60904
  }
60905
60905
  //#endregion
60906
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60907
60907
  /**
60908
60908
  * Colors uncolored ThemedText in the subtree. Precedence: explicit `color` >
60909
60909
  * this > dimColor (in the Claude Code visual language, where message rows
@@ -60939,7 +60939,7 @@ function ThemedText({ color, backgroundColor, dimColor = false, bold = false, it
60939
60939
  });
60940
60940
  }
60941
60941
  //#endregion
60942
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60943
60943
  /**
60944
60944
  * A flexible space that expands along the major axis of its containing layout.
60945
60945
  * It's useful as a shortcut for filling all the available spaces between elements.
@@ -60954,7 +60954,7 @@ function Spacer() {
60954
60954
  return t0;
60955
60955
  }
60956
60956
  //#endregion
60957
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60958
60958
  /**
60959
60959
  * Adds one or more newline (\n) characters. Must be used within <Text> components.
60960
60960
  */
@@ -60977,7 +60977,7 @@ function Newline(t0) {
60977
60977
  return t3;
60978
60978
  }
60979
60979
  //#endregion
60980
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
60981
60981
  /**
60982
60982
  * Marks its contents as non-selectable in fullscreen text selection.
60983
60983
  * Cells inside this box are skipped by both the selection highlight and
@@ -61028,7 +61028,7 @@ function NoSelect(t0) {
61028
61028
  return t2;
61029
61029
  }
61030
61030
  //#endregion
61031
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61032
61032
  /**
61033
61033
  * Run children in the terminal's alternate screen buffer, constrained to
61034
61034
  * the viewport height. While mounted:
@@ -61103,7 +61103,7 @@ function AlternateScreen(t0) {
61103
61103
  return t5;
61104
61104
  }
61105
61105
  //#endregion
61106
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61107
61107
  /**
61108
61108
  * A Box with `overflow: scroll` and an imperative scroll API.
61109
61109
  *
@@ -61281,7 +61281,7 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
61281
61281
  });
61282
61282
  }
61283
61283
  //#endregion
61284
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61285
61285
  /**
61286
61286
  * Keep an event listener stable while always dispatching to the latest render's
61287
61287
  * callback. Keeping this hook local is important for packaged installs: a
@@ -61347,7 +61347,7 @@ const useInput = (inputHandler, options = {}) => {
61347
61347
  }, [internal_eventEmitter, handleData]);
61348
61348
  };
61349
61349
  //#endregion
61350
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61351
61351
  /**
61352
61352
  * Access to text selection operations on the Ink instance (fullscreen only).
61353
61353
  * Returns no-op functions when fullscreen mode is disabled.
@@ -61387,7 +61387,7 @@ function useSelection() {
61387
61387
  }, [ink]);
61388
61388
  }
61389
61389
  //#endregion
61390
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61391
61391
  /**
61392
61392
  * Copy-on-select: when a drag finishes (or a double/triple click, or a
61393
61393
  * shift+arrow extension, lands a selection), copy the selected text to the
@@ -61427,14 +61427,14 @@ function useCopyOnSelect(onCopied) {
61427
61427
  ]);
61428
61428
  }
61429
61429
  //#endregion
61430
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61431
61431
  /**
61432
61432
  * React hook exposing the manual app-exit function from `AppContext`.
61433
61433
  * @returns the `AppContext` value, whose `exit` function unmounts the app.
61434
61434
  */
61435
61435
  const useApp = () => (0, import_react.useContext)(AppContext);
61436
61436
  //#endregion
61437
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61438
61438
  /**
61439
61439
  * Hook to detect if a component is within the terminal viewport.
61440
61440
  *
@@ -61488,7 +61488,7 @@ function useTerminalViewport() {
61488
61488
  return [setElement, entryRef.current];
61489
61489
  }
61490
61490
  //#endregion
61491
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61492
61492
  /**
61493
61493
  * Hook for synchronized animations that pause when offscreen.
61494
61494
  *
@@ -61537,7 +61537,7 @@ function useAnimationFrame(intervalMs = 16) {
61537
61537
  return [viewportRef, time];
61538
61538
  }
61539
61539
  //#endregion
61540
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61541
61541
  /** Terminal dimensions from the Ink app shell (from Claude Code).
61542
61542
  * @returns the current terminal dimensions.
61543
61543
  */
@@ -61547,7 +61547,7 @@ function useTerminalSize() {
61547
61547
  return size;
61548
61548
  }
61549
61549
  //#endregion
61550
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61551
61551
  const BLINK_INTERVAL_MS = 600;
61552
61552
  /**
61553
61553
  * Hook for synchronized blinking animations that pause when offscreen
@@ -61564,7 +61564,7 @@ function useBlink(enabled, intervalMs = BLINK_INTERVAL_MS) {
61564
61564
  return [ref, Math.floor(time / intervalMs) % 2 === 0];
61565
61565
  }
61566
61566
  //#endregion
61567
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61568
61568
  var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
61569
61569
  const supportsColor = require_supports_color();
61570
61570
  const hasFlag = require_has_flag();
@@ -61661,7 +61661,7 @@ function supportsHyperlinks(options) {
61661
61661
  return false;
61662
61662
  }
61663
61663
  //#endregion
61664
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61665
61665
  function Link(t0) {
61666
61666
  const $ = (0, import_compiler_runtime.c)(5);
61667
61667
  const { children, url, fallback } = t0;
@@ -61689,7 +61689,7 @@ function Link(t0) {
61689
61689
  return t2;
61690
61690
  }
61691
61691
  //#endregion
61692
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61693
61693
  /**
61694
61694
  * ESC Sequence Parser
61695
61695
  *
@@ -61745,7 +61745,7 @@ function parseEsc(chars) {
61745
61745
  };
61746
61746
  }
61747
61747
  //#endregion
61748
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61749
61749
  /**
61750
61750
  * ANSI Parser - Semantic Types
61751
61751
  *
@@ -61773,7 +61773,7 @@ function defaultStyle() {
61773
61773
  };
61774
61774
  }
61775
61775
  //#endregion
61776
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
61777
61777
  /**
61778
61778
  * SGR (Select Graphic Rendition) Parser
61779
61779
  *
@@ -62081,7 +62081,7 @@ function applySGR(paramStr, style) {
62081
62081
  return s;
62082
62082
  }
62083
62083
  //#endregion
62084
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62085
62085
  /**
62086
62086
  * ANSI Parser - Semantic Action Generator
62087
62087
  *
@@ -62458,7 +62458,7 @@ var Parser = class {
62458
62458
  }
62459
62459
  };
62460
62460
  //#endregion
62461
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62462
62462
  /**
62463
62463
  * Component that parses ANSI escape codes and renders them using Text components.
62464
62464
  *
@@ -62709,7 +62709,7 @@ function StyledText(t0) {
62709
62709
  return t1;
62710
62710
  }
62711
62711
  //#endregion
62712
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62713
62713
  var ui_exports = /* @__PURE__ */ __exportAll({
62714
62714
  AlternateScreen: () => AlternateScreen,
62715
62715
  Ansi: () => Ansi,
@@ -62733,7 +62733,7 @@ var ui_exports = /* @__PURE__ */ __exportAll({
62733
62733
  useTheme: () => useTheme
62734
62734
  });
62735
62735
  //#endregion
62736
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62737
62737
  /** 嵌套安全的 inset(若未来出现嵌套 PageMargin 会累加)。 */
62738
62738
  const PageInsetContext = import_react.createContext({
62739
62739
  x: 0,
@@ -62787,7 +62787,7 @@ function PageMargin({ children }) {
62787
62787
  });
62788
62788
  }
62789
62789
  //#endregion
62790
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62791
62791
  /**
62792
62792
  * UI glyph constants used across the TUI: prompt markers, status badges,
62793
62793
  * direction arrows, media controls, reasoning-effort indicators, and
@@ -62814,7 +62814,7 @@ const THINKING_SPINNER_FRAMES = [
62814
62814
  "⠏"
62815
62815
  ];
62816
62816
  //#endregion
62817
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
62818
62818
  /**
62819
62819
  * `/provider` wizard — interactively adds, edits, or deletes an LLM
62820
62820
  * provider route at runtime.
@@ -63540,7 +63540,7 @@ function buildProfile(input) {
63540
63540
  return profile;
63541
63541
  }
63542
63542
  //#endregion
63543
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
63544
63544
  /** `/model-config`: platform catalogs and shared provider configuration. */
63545
63545
  const CUSTOM_MODEL_PROTOCOLS = [
63546
63546
  "openai-completions",
@@ -64422,7 +64422,7 @@ function parseCapacity(value) {
64422
64422
  return Number.isSafeInteger(parsed) && parsed > 0 ? parsed : void 0;
64423
64423
  }
64424
64424
  //#endregion
64425
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
64426
64426
  /**
64427
64427
  * Declares where the terminal cursor should be parked after each frame.
64428
64428
  *
@@ -64471,7 +64471,7 @@ function useDeclaredCursor(options) {
64471
64471
  return setNode;
64472
64472
  }
64473
64473
  //#endregion
64474
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
64475
64475
  /**
64476
64476
  * Measure the rendered dimensions of a Box element.
64477
64477
  * @param node - the DOM element to measure.
@@ -64482,7 +64482,7 @@ const measureElement = (node) => ({
64482
64482
  height: node.yogaNode?.getComputedHeight() ?? 0
64483
64483
  });
64484
64484
  //#endregion
64485
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
64486
64486
  const MAX_APPLIED_MEASUREMENTS = 8;
64487
64487
  /**
64488
64488
  * A horizontal divider line, optionally with a title in the middle
@@ -66210,7 +66210,7 @@ f.parseInline;
66210
66210
  O.parse;
66211
66211
  T.lex;
66212
66212
  //#endregion
66213
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66214
66214
  /** highlight.js token classes -> theme syntax tokens. `default` catches
66215
66215
  * every unmapped class so cli-highlight's own yellow never leaks through
66216
66216
  * (issue #250, P2-6). */
@@ -66276,7 +66276,7 @@ function buildSyntaxTheme(theme) {
66276
66276
  return out;
66277
66277
  }
66278
66278
  //#endregion
66279
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66280
66280
  /** OSC 8 hyperlink start sequence: `ESC ] 8 ; ;`, followed by the URL. */
66281
66281
  const OSC8_START = "\x1B]8;;";
66282
66282
  /** Schemes a rendered hyperlink may point at. Anything else degrades to
@@ -66318,7 +66318,7 @@ function createHyperlink(url, content, options) {
66318
66318
  return `${OSC8_START}${safeUrl}${(options?.style ?? ((text) => chalk.blue(text)))(displayText)}${OSC8_START}`;
66319
66319
  }
66320
66320
  //#endregion
66321
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66322
66322
  /**
66323
66323
  * Clickable file targets: turning path-like text in AI output into
66324
66324
  * clickable targets, and resolving those targets back to absolute paths at
@@ -66460,7 +66460,7 @@ function linkifyFilePaths(text, wrap) {
66460
66460
  });
66461
66461
  }
66462
66462
  //#endregion
66463
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66464
66464
  /**
66465
66465
  * Markdown-to-ANSI renderer over marked's token stream.
66466
66466
  *
@@ -66775,7 +66775,7 @@ function padAligned(content, displayWidth, targetWidth, align) {
66775
66775
  return content + " ".repeat(extra);
66776
66776
  }
66777
66777
  //#endregion
66778
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66779
66779
  let cliHighlightPromise;
66780
66780
  async function loadCliHighlight() {
66781
66781
  try {
@@ -66798,7 +66798,7 @@ function getCliHighlightPromise() {
66798
66798
  return cliHighlightPromise;
66799
66799
  }
66800
66800
  //#endregion
66801
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66802
66802
  /** Accounts for parent indentation and terminal resize races (from Claude Code). */
66803
66803
  const SAFETY_MARGIN = 4;
66804
66804
  /** Minimum column width to prevent degenerate layouts */
@@ -66985,7 +66985,7 @@ function MarkdownTable({ token, highlight, forceWidth }) {
66985
66985
  return (0, import_jsx_runtime.jsx)(Text, { children: tableLines.join("\n") });
66986
66986
  }
66987
66987
  //#endregion
66988
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
66989
66989
  const TOKEN_CACHE_CAPACITY = 200;
66990
66990
  const TOKEN_CACHE_CHAR_BUDGET = 2e5;
66991
66991
  const TOKEN_CACHE_MAX_SOURCE_LENGTH = 2e4;
@@ -67094,7 +67094,7 @@ function MarkdownImpl({ children, dimColor = false, cacheTokens = true }) {
67094
67094
  */
67095
67095
  const Markdown = import_react.memo(MarkdownImpl, (prev, next) => prev.children === next.children && prev.dimColor === next.dimColor && prev.cacheTokens === next.cacheTokens);
67096
67096
  //#endregion
67097
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
67098
67098
  /**
67099
67099
  * The plan-review panel — Claude Code style exit-plan-mode decision card
67100
67100
  * for the DSH user-interaction seam. plan-mode's `exit_plan_mode` tool asks
@@ -67416,7 +67416,7 @@ function PlanReviewPanel({ question, onAnswer, onCancel }) {
67416
67416
  });
67417
67417
  }
67418
67418
  //#endregion
67419
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
67420
67420
  /**
67421
67421
  * 焦点居中的列表窗口:长列表只渲染焦点附近的一段,保证焦点行始终可见。
67422
67422
  * 瞬态面板走 OverlayAbove 零高度浮层后,超高部分会被 overflow 裁掉且焦点
@@ -67468,7 +67468,7 @@ function listWindow(heights, focusIndex, maxRows, gap = 0) {
67468
67468
  }
67469
67469
  }
67470
67470
  //#endregion
67471
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
67472
67472
  /**
67473
67473
  * The questionnaire panel — Claude Code style ask-user-question UI for the
67474
67474
  * DSH user-interaction seam. One question per panel (progress header, header
@@ -68062,7 +68062,7 @@ function AskUserQuestionPanel({ question, position, total, answered, initialDraf
68062
68062
  });
68063
68063
  }
68064
68064
  //#endregion
68065
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68066
68066
  /**
68067
68067
  * The approval panel — Claude Code style permission prompt for the DSH
68068
68068
  * approval seam (`ctx.approval`). One ask per panel: a permission-colored
@@ -68187,7 +68187,7 @@ function ApprovalPanel({ approval, background = false, onDecide }) {
68187
68187
  });
68188
68188
  }
68189
68189
  //#endregion
68190
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68191
68191
  /**
68192
68192
  * A pane — a region below the prompt bounded by a colored top line with a
68193
68193
  * one-row gap above and horizontal padding, mirroring Claude Code's
@@ -68209,7 +68209,7 @@ function Pane({ children, color }) {
68209
68209
  });
68210
68210
  }
68211
68211
  //#endregion
68212
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68213
68213
  /**
68214
68214
  * A list item for selection UIs, mirroring Claude Code's
68215
68215
  * design-system/ListItem.tsx: `❯` pointer for the focused row, `✓`
@@ -68306,7 +68306,7 @@ function flattenDeep(node) {
68306
68306
  return node;
68307
68307
  }
68308
68308
  //#endregion
68309
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68310
68310
  /**
68311
68311
  * Localized shortcut-hint line: renders a `t('hint-*')` string, with the
68312
68312
  * `**primary shortcut**` segment (the main action's key, wrapped in `**` in
@@ -68323,7 +68323,7 @@ function HintLine({ text }) {
68323
68323
  }, index) : part) });
68324
68324
  }
68325
68325
  //#endregion
68326
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68327
68327
  /**
68328
68328
  * The managed plugin dialog (`ctx.tuiDialogs`) — one panel rendering the
68329
68329
  * store's current snapshot in the chat chrome (the slot approval/question
@@ -68583,7 +68583,7 @@ function InputDialog({ dialog, onDecide, onCancel }) {
68583
68583
  });
68584
68584
  }
68585
68585
  //#endregion
68586
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68587
68587
  /**
68588
68588
  * Set the search highlight query on the Ink instance. Non-empty → all
68589
68589
  * visible occurrences are inverted on the next frame (SGR 7, screen-buffer
@@ -68615,7 +68615,7 @@ function useSearchHighlight() {
68615
68615
  }, [ink]);
68616
68616
  }
68617
68617
  //#endregion
68618
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68619
68619
  /**
68620
68620
  * Declaratively set the terminal tab/window title.
68621
68621
  *
@@ -68638,7 +68638,7 @@ function useTerminalTitle(title) {
68638
68638
  }, [title, writeRaw]);
68639
68639
  }
68640
68640
  //#endregion
68641
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
68642
68642
  /**
68643
68643
  * Session browser formatting.
68644
68644
  *
@@ -68887,223 +68887,13 @@ function projectName(cwd) {
68887
68887
  return normalized.split("/").filter(Boolean).at(-1) ?? normalized;
68888
68888
  }
68889
68889
  //#endregion
68890
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/components/Tooltip.js
68891
- /**
68892
- * Tooltip hover system — the terminal equivalent of the HTML `title`
68893
- * attribute. Attach {@link useTooltip} props to any Box whose visible text
68894
- * may be truncated (tool-call header paths, wrapped prompts, status-line
68895
- * fields); after a ~600ms dwell the full content pops up in a floating card
68896
- * anchored at the pointer, and disappears the moment the pointer leaves.
68897
- *
68898
- * Attach it ONLY when the text is actually hidden: a float that repeats
68899
- * content already visible next to the pointer is noise, not detail (the
68900
- * tool-call header gates on folded/clipped content for this reason).
68901
- *
68902
- * Hover events only exist in fullscreen (alternate screen + mouse
68903
- * tracking); inline mode never fires the handlers, so the store can only
68904
- * be written from a live fullscreen tree.
68905
- */
68906
- /** Default dwell before the tooltip appears (GUI `title` convention). */
68907
- const DEFAULT_TOOLTIP_DELAY_MS = 600;
68908
- let state = null;
68909
- let invalidationGeneration = 0;
68910
- const listeners$1 = /* @__PURE__ */ new Set();
68911
- function notify() {
68912
- for (const listener of listeners$1) listener();
68913
- }
68914
- /** Subscribe to tooltip show/hide; returns an unsubscribe function. */
68915
- function subscribeTooltip(listener) {
68916
- listeners$1.add(listener);
68917
- return () => {
68918
- listeners$1.delete(listener);
68919
- };
68920
- }
68921
- /** Stable snapshot for useSyncExternalStore (identity kept until changed). */
68922
- function getTooltipSnapshot() {
68923
- return state;
68924
- }
68925
- function showTooltip(owner, col, row, content) {
68926
- state = {
68927
- owner,
68928
- anchorCol: col,
68929
- anchorRow: row,
68930
- content
68931
- };
68932
- notify();
68933
- }
68934
- function hideTooltip(owner) {
68935
- if (state !== null && state.owner === owner) {
68936
- state = null;
68937
- notify();
68938
- }
68939
- }
68940
- /** Hide shown content and invalidate every pending dwell timer. */
68941
- function clearTooltip() {
68942
- invalidationGeneration++;
68943
- if (state !== null) {
68944
- state = null;
68945
- notify();
68946
- }
68947
- }
68948
- /**
68949
- * Hover props that pop a tooltip with the full content after a dwell.
68950
- *
68951
- * The pointer position (screen col/row) is taken from the PointerEvent the
68952
- * renderer hands to `onMouseEnter` — the runtime always passes one even
68953
- * though the prop type is `() => void`, which is why the handler's parameter
68954
- * is optional (a `() => void` prop accepts a function with only optional
68955
- * parameters).
68956
- */
68957
- function useTooltip(content, opts) {
68958
- const ownerRef = import_react.useRef(null);
68959
- if (ownerRef.current === null) ownerRef.current = { timer: null };
68960
- const owner = ownerRef.current;
68961
- const contentRef = import_react.useRef(content);
68962
- contentRef.current = content;
68963
- const delayMs = opts?.delayMs ?? DEFAULT_TOOLTIP_DELAY_MS;
68964
- import_react.useEffect(() => () => {
68965
- if (owner.timer !== null) clearTimeout(owner.timer);
68966
- hideTooltip(owner);
68967
- }, [owner]);
68968
- return import_react.useMemo(() => ({
68969
- onMouseEnter: (event) => {
68970
- const col = event?.col ?? 0;
68971
- const row = event?.row ?? 0;
68972
- if (owner.timer !== null) clearTimeout(owner.timer);
68973
- const generationAtEnter = invalidationGeneration;
68974
- owner.timer = setTimeout(() => {
68975
- owner.timer = null;
68976
- if (generationAtEnter !== invalidationGeneration) return;
68977
- const resolved = typeof contentRef.current === "function" ? contentRef.current() : contentRef.current;
68978
- if (resolved === "") return;
68979
- showTooltip(owner, col, row, resolved);
68980
- }, delayMs);
68981
- },
68982
- onMouseLeave: () => {
68983
- if (owner.timer !== null) {
68984
- clearTimeout(owner.timer);
68985
- owner.timer = null;
68986
- }
68987
- hideTooltip(owner);
68988
- }
68989
- }), [owner, delayMs]);
68990
- }
68991
- /**
68992
- * Convenience wrapper for list rows built from data (a component boundary
68993
- * makes the hook call legal per item). Renders a plain Box carrying the
68994
- * hover props around `children`.
68995
- */
68996
- function TooltipTarget({ content, children }) {
68997
- return (0, import_jsx_runtime.jsx)(ThemedBox, {
68998
- ...useTooltip(content),
68999
- children
69000
- });
69001
- }
69002
- /**
69003
- * The singleton floating layer: subscribes to the tooltip store and renders
69004
- * the rounded card above the anchor row (below it when there is no room),
69005
- * horizontally clamped inside the terminal. Mount once, LAST in the tree so
69006
- * it paints over everything else. Terminal resize hides the tooltip — its
69007
- * anchor is screen geometry that just went stale.
69008
- */
69009
- function TooltipLayer({ invalidationKey, subscribeInvalidation } = {}) {
69010
- const { columns, rows } = useTerminalSize();
69011
- const terminalFocused = useTerminalFocus();
69012
- const tooltip = import_react.useSyncExternalStore(subscribeTooltip, getTooltipSnapshot);
69013
- import_react.useEffect(() => {
69014
- clearTooltip();
69015
- }, [invalidationKey]);
69016
- import_react.useEffect(() => {
69017
- if (!terminalFocused) clearTooltip();
69018
- }, [terminalFocused]);
69019
- import_react.useEffect(() => {
69020
- if (subscribeInvalidation === void 0) return;
69021
- return subscribeInvalidation(clearTooltip);
69022
- }, [subscribeInvalidation]);
69023
- const prevSize = import_react.useRef({
69024
- columns,
69025
- rows
69026
- });
69027
- import_react.useEffect(() => {
69028
- if (prevSize.current.columns !== columns || prevSize.current.rows !== rows) {
69029
- prevSize.current = {
69030
- columns,
69031
- rows
69032
- };
69033
- clearTooltip();
69034
- }
69035
- }, [columns, rows]);
69036
- if (tooltip === null) return null;
69037
- if (columns < 3 || rows < 3) return null;
69038
- const maxWidth = Math.max(3, columns - 4);
69039
- let lines = wrapTooltipContent(tooltip.content, maxWidth - 2);
69040
- const maxLines = Math.max(1, rows - 2);
69041
- if (lines.length > maxLines) lines = lines.slice(0, maxLines);
69042
- const width = Math.min(maxWidth - 2, Math.max(1, ...lines.map(stringWidth$1))) + 2;
69043
- const height = lines.length + 2;
69044
- const inset = import_react.useContext(PageInsetContext);
69045
- const topAbove = tooltip.anchorRow - height;
69046
- const top = Math.max(inset.y, Math.min(topAbove >= 0 ? topAbove : tooltip.anchorRow + 1, inset.y + Math.max(0, rows - height)));
69047
- return (0, import_jsx_runtime.jsx)(ThemedBox, {
69048
- position: "absolute",
69049
- left: Math.max(inset.x, Math.min(tooltip.anchorCol, inset.x + Math.max(0, columns - width))),
69050
- top,
69051
- width,
69052
- height,
69053
- flexDirection: "column",
69054
- flexShrink: 0,
69055
- borderStyle: "round",
69056
- borderColor: "permission",
69057
- backgroundColor: "toolCardBackground",
69058
- children: lines.map((line, index) => (0, import_jsx_runtime.jsx)(ThemedText, {
69059
- wrap: "truncate-end",
69060
- children: line === "" ? " " : line
69061
- }, index))
69062
- });
69063
- }
69064
- /**
69065
- * Wrap tooltip content to display width, breaking only BETWEEN grapheme
69066
- * clusters (ZWJ emoji, combining sequences and CJK wide cells stay whole).
69067
- * Newlines in the input are honoured. Mirrors PromptInput.wrapToWidth's
69068
- * break rule so the tooltip shows exactly the text the input would wrap.
69069
- */
69070
- function wrapTooltipContent(text, width) {
69071
- const rows = [];
69072
- if (width <= 0) return rows;
69073
- text = stripAnsi$1(text).replace(/\t/gu, " ").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/gu, "");
69074
- const segmenter = getGraphemeSegmenter();
69075
- for (const line of text.split("\n")) {
69076
- if (line === "") {
69077
- rows.push("");
69078
- continue;
69079
- }
69080
- let current = "";
69081
- let used = 0;
69082
- for (const { segment } of segmenter.segment(line)) {
69083
- const w = stringWidth$1(segment);
69084
- if (used + w > width && current !== "") {
69085
- rows.push(current);
69086
- current = segment;
69087
- used = w;
69088
- } else {
69089
- current += segment;
69090
- used += w;
69091
- }
69092
- }
69093
- rows.push(current);
69094
- }
69095
- return rows;
69096
- }
69097
- //#endregion
69098
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69099
68891
  /** User prompt row in the legacy CLI treatment: a full-width gray strip. */
69100
68892
  function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69101
68893
  const { columns } = useTerminalSize();
69102
68894
  const prefixWidth = stringWidth$1(`❯ `);
69103
68895
  const lines = wrapWidth(text, Math.max(1, columns - prefixWidth - 3));
69104
68896
  const continuationIndent = " ".repeat(prefixWidth);
69105
- const promptTooltip = useTooltip(text);
69106
- const tooltipActive = lines.length > 1;
69107
68897
  return (0, import_jsx_runtime.jsx)(ThemedBox, {
69108
68898
  flexDirection: "column",
69109
68899
  marginTop: addMargin ? 1 : 0,
@@ -69111,7 +68901,6 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69111
68901
  backgroundColor: isSelected ? "messageActionsBackground" : "userMessageBackground",
69112
68902
  paddingRight: 1,
69113
68903
  onClick,
69114
- ...tooltipActive ? promptTooltip : {},
69115
68904
  children: lines.map((line, index) => (0, import_jsx_runtime.jsxs)(ThemedText, {
69116
68905
  color: "text",
69117
68906
  bold: true,
@@ -69124,7 +68913,7 @@ function UserPromptMessage({ text, addMargin, isSelected = false, onClick }) {
69124
68913
  });
69125
68914
  }
69126
68915
  //#endregion
69127
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69128
68917
  /**
69129
68918
  * Assistant text message: bullet + markdown body (mirroring Claude Code's default branch).
69130
68919
  *
@@ -69157,7 +68946,7 @@ function AssistantTextMessage({ text, addMargin, isSelected = false, isExpanded
69157
68946
  });
69158
68947
  }
69159
68948
  //#endregion
69160
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69161
68950
  /**
69162
68951
  * Renders markdown during streaming by splitting at the last top-level block
69163
68952
  * boundary: everything before is stable (memoized, never re-parsed), only the
@@ -69347,7 +69136,7 @@ function StreamingMarkdown({ children, dimColor = false }) {
69347
69136
  });
69348
69137
  }
69349
69138
  //#endregion
69350
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69351
69140
  /**
69352
69141
  * Spinner 动画的通用工具集:平台相关的帧字符选择、RGB 颜色插值、
69353
69142
  * HSL 色相转 RGB,以及 `rgb(...)` 颜色字符串的解析与记忆化。
@@ -69427,7 +69216,7 @@ function parseRGB(colorStr) {
69427
69216
  return parsed;
69428
69217
  }
69429
69218
  //#endregion
69430
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69431
69220
  /** Header blue-white ladder: brand → ice → pale → soft ice flash.
69432
69221
  * FLASH stays visibly blue (never pure white) — the highlight reads as a
69433
69222
  * mist-brightened crest, not a white strobe. */
@@ -69443,7 +69232,7 @@ const ICE = {
69443
69232
  b: 255
69444
69233
  };
69445
69234
  //#endregion
69446
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69447
69236
  /** Preview body rows — a FIXED row count (kimicode-style constant-height
69448
69237
  * ticker). Ink's truncate slices the whole string across newlines as one
69449
69238
  * logical line, so a single joined Text collapses to 1-2 rows whenever
@@ -69556,7 +69345,7 @@ function AssistantThinkingMessage({ thinking, textFull, addMargin, verbose, stre
69556
69345
  });
69557
69346
  }
69558
69347
  //#endregion
69559
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
69560
69349
  const CATEGORY_BY_TOOL = {
69561
69350
  bash: "exec",
69562
69351
  powershell: "exec",
@@ -70137,7 +69926,7 @@ var ArrayDiff = class extends Diff {
70137
69926
  };
70138
69927
  new ArrayDiff();
70139
69928
  //#endregion
70140
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
70141
69930
  const ANSI16 = {
70142
69931
  30: "rgb(0,0,0)",
70143
69932
  31: "rgb(128,0,0)",
@@ -70222,7 +70011,7 @@ function syntaxThemeSignature(theme) {
70222
70011
  return Object.values(SYNTAX_CLASS_TO_TOKEN).map((key) => palette[key] ?? "").join("|");
70223
70012
  }
70224
70013
  //#endregion
70225
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
70226
70015
  /**
70227
70016
  * Smooth streaming reveal — decouples "text the provider has delivered" from
70228
70017
  * "text the screen is showing" (the oh-my-pi `display.smoothStreaming` idea,
@@ -70468,7 +70257,7 @@ function revealLinesOf(key, total, options) {
70468
70257
  return Math.min(existing.revealed, total);
70469
70258
  }
70470
70259
  //#endregion
70471
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
70472
70261
  /** Replace tabs so width math and alignment hold (pi convention). */
70473
70262
  const expandTabs = (text) => text.replaceAll(" ", " ");
70474
70263
  /**
@@ -70777,7 +70566,7 @@ function SplitDiffView({ diffs, width, maxRows, verbose, toolBackground = "none"
70777
70566
  });
70778
70567
  }
70779
70568
  //#endregion
70780
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
70781
70570
  /** Async nested Text renderer. Lexes the complete payload before splitting. */
70782
70571
  function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, dimColor }) {
70783
70572
  const [highlighter, setHighlighter] = import_react.useState(null);
@@ -70821,7 +70610,215 @@ function SyntaxText({ text, language, sourceText = text, lineIndex = 0, color, d
70821
70610
  }, index)) });
70822
70611
  }
70823
70612
  //#endregion
70824
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
70825
70822
  /**
70826
70823
  * Trajectory formatting — durations, clocks, badges and heat.
70827
70824
  *
@@ -71023,7 +71020,7 @@ function ledgerLayout(columns) {
71023
71020
  };
71024
71021
  }
71025
71022
  //#endregion
71026
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71027
71024
  /**
71028
71025
  * Reveal-frame wakeup as a React hook — bumps once per advancing ~30fps
71029
71026
  * scheduler tick so consumers re-run their render-phase cursor reads
@@ -71053,7 +71050,7 @@ function useRevealVersion(enabled = true) {
71053
71050
  return version;
71054
71051
  }
71055
71052
  //#endregion
71056
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71057
71054
  /** Tool display names: DSH emits lowercase tool ids (`bash`); Claude Code
71058
71055
  * shows capitalized names (`Bash`). Map the common ones, fall back to the
71059
71056
  * id with its first letter uppercased. */
@@ -71589,7 +71586,7 @@ function AssistantToolUseMessage({ tool, addMargin, verbose, isSelected = false,
71589
71586
  });
71590
71587
  }
71591
71588
  //#endregion
71592
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71593
71590
  /** The waterfall window is a Kimi Code style constant-height region. */
71594
71591
  const WATERFALL_ROWS = 3;
71595
71592
  /** Card left padding + the `│ ` gutter prefix. */
@@ -71797,7 +71794,7 @@ function SubagentMessage({ subagent, addMargin, activityFrames, onClick }) {
71797
71794
  });
71798
71795
  }
71799
71796
  //#endregion
71800
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71801
71798
  /** Card left padding + the `│ ` gutter prefix. */
71802
71799
  const WATERFALL_GUTTER = 4;
71803
71800
  /** Static status marker — deliberately NOT the animated activity-indicator
@@ -71950,7 +71947,7 @@ function JobCard({ job, addMargin, onClick }) {
71950
71947
  });
71951
71948
  }
71952
71949
  //#endregion
71953
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71954
71951
  /**
71955
71952
  * The dim "interrupted" row shown when the user stops a turn, mirroring
71956
71953
  * Claude Code's `InterruptedByUser.tsx`.
@@ -71965,7 +71962,7 @@ function InterruptedByUser() {
71965
71962
  })] });
71966
71963
  }
71967
71964
  //#endregion
71968
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
71969
71966
  /**
71970
71967
  * 当月 AI 代码生成占比统计(移植自 chatcode-cli 的同名服务)。
71971
71968
  *
@@ -72133,7 +72130,7 @@ function computeAiRatioPercent(records) {
72133
72130
  return clampPercent(aiAdoptedTotal / addedTotal * 100);
72134
72131
  }
72135
72132
  //#endregion
72136
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72137
72134
  /**
72138
72135
  * 「AI代码生成占比」数据源 Hook(移植自 chatcode-cli 的同名 Hook)。
72139
72136
  *
@@ -72197,7 +72194,7 @@ function useAiRatio(enabled = true) {
72197
72194
  };
72198
72195
  }
72199
72196
  //#endregion
72200
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72201
72198
  /**
72202
72199
  * 「通知」数据源 Hook(移植自 chatcode-cli 的 LogoV2/FooterInfo 通知行)。
72203
72200
  *
@@ -72234,7 +72231,7 @@ function useNotification() {
72234
72231
  return { message };
72235
72232
  }
72236
72233
  //#endregion
72237
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72238
72235
  /**
72239
72236
  * Slice a string to at most `maxWidth` terminal cells, walking by code
72240
72237
  * point so CJK wide characters never split mid-glyph. Assumes no ANSI in
@@ -72252,7 +72249,7 @@ function truncateToWidth(text, maxWidth) {
72252
72249
  return out;
72253
72250
  }
72254
72251
  //#endregion
72255
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72256
72253
  /** Main ChatCode CLI package version shown in the startup information panel. */
72257
72254
  const VERSION = PRODUCT_VERSION;
72258
72255
  const PRODUCT_LABEL = "chatcode-cli";
@@ -72523,7 +72520,7 @@ function LogoV2({ model, effort, cwd, whale = true, aiRatio, drift }) {
72523
72520
  });
72524
72521
  }
72525
72522
  //#endregion
72526
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72527
72524
  /**
72528
72525
  * Transcript-mode metadata row: `HH:MM · model`, right-aligned above the
72529
72526
  * assistant text, mirroring Claude Code's MessageTimestamp + MessageModel,
@@ -72545,7 +72542,7 @@ function MessageMetadata({ timestamp, model }) {
72545
72542
  });
72546
72543
  }
72547
72544
  //#endregion
72548
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72549
72546
  /**
72550
72547
  * Strip the `⏵` self-narration line from assistant text. The
72551
72548
  * dsh-working-activity narrate contract puts exactly one `⏵` line at the
@@ -72661,7 +72658,7 @@ function ellipsize(line, maxWidth) {
72661
72658
  return `${out}…`;
72662
72659
  }
72663
72660
  //#endregion
72664
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
72665
72662
  /**
72666
72663
  * Transcript rows rendered in the Claude Code visual language: user prompts
72667
72664
  * on a grey bubble with a `❯` pointer, assistant text with a `●` bullet and
@@ -73474,7 +73471,7 @@ function LogoHeader({ model, effort, cwd, whale = true, skipIntro = false }) {
73474
73471
  });
73475
73472
  }
73476
73473
  //#endregion
73477
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
73478
73475
  /** ▴ / ▾ (U+25B4 / U+25BE — the small triangles; CP437-safe on ConHost too). */
73479
73476
  const CHEVRON_UP = " ▴";
73480
73477
  const CHEVRON_DOWN = " ▾";
@@ -73668,7 +73665,7 @@ function TimelineRail({ handle, turns, activeId, upId, downId, terminalWidth, ho
73668
73665
  }) });
73669
73666
  }
73670
73667
  //#endregion
73671
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
73672
73669
  /** Thumb glyph across the 2-col gutter: solid, clearly positional —
73673
73670
  * deliberately distinct from the timeline's ━━ active tick. */
73674
73671
  const THUMB = "██";
@@ -73784,7 +73781,7 @@ function ScrollbarGutter({ handle, terminalWidth }) {
73784
73781
  }) });
73785
73782
  }
73786
73783
  //#endregion
73787
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
73788
73785
  /**
73789
73786
  * 瞬态面板的浮层容器:absolute 定位 + bottom:'100%' 把面板底边钉在锚点
73790
73787
  * (父元素)顶边,向上覆盖转录尾部行,自身**不占布局高度**。
@@ -73817,7 +73814,7 @@ function OverlayAbove({ children, maxHeight }) {
73817
73814
  });
73818
73815
  }
73819
73816
  //#endregion
73820
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
73821
73818
  /**
73822
73819
  * Trajectory motion — five verbs, one shared clock, one hard rule.
73823
73820
  *
@@ -73942,7 +73939,7 @@ function alert(tick, startTick) {
73942
73939
  return Math.floor(age / 2) % 2 === 0 ? 1 : 0;
73943
73940
  }
73944
73941
  //#endregion
73945
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
73946
73943
  /** 三幕时间轴(ms):扫光全长、字样启动(波至中段)、字样渐亮、渐隐起止。边框扫光与输入行字样徽标共用。 */
73947
73944
  const IGNITION_TIMELINE = {
73948
73945
  sweepMs: 1e3,
@@ -74090,7 +74087,7 @@ function ignitionLineColors(options) {
74090
74087
  return colors;
74091
74088
  }
74092
74089
  //#endregion
74093
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74094
74091
  /**
74095
74092
  * EffortChargeGlyph — 输入提示前缀 `❯ ` 的最高档强调与充能。
74096
74093
  *
@@ -74146,7 +74143,7 @@ function EffortChargeGlyph({ effort, levels, working }) {
74146
74143
  });
74147
74144
  }
74148
74145
  //#endregion
74149
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74150
74147
  /**
74151
74148
  * EffortInputBorder — 输入框层上的三幕点焰叠加(对齐 Codex 的完整
74152
74149
  * 语义:光扫过、档位字样浮现、整体渐隐)。
@@ -74281,7 +74278,7 @@ function EffortInputBorder({ effort, levels, columns, onLight, idleColor, topRig
74281
74278
  });
74282
74279
  }
74283
74280
  //#endregion
74284
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74285
74282
  /**
74286
74283
  * EffortTierBadge — 输入行尾的档位字样徽标:三幕点焰的第二幕载体
74287
74284
  * (与 EffortInputBorder 的双框扫光同一时间轴、同一触发),切到最高
@@ -74364,7 +74361,7 @@ function EffortTierBadge({ effort, levels, onLight, columns, leadingColumns }) {
74364
74361
  });
74365
74362
  }
74366
74363
  //#endregion
74367
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74368
74365
  /**
74369
74366
  * Cross-platform clipboard access for Ctrl+V paste. The TUI runs in raw
74370
74367
  * mode, so the terminal never performs its own paste for Ctrl+V — the key
@@ -74893,7 +74890,7 @@ function formatClipboardInsert(content) {
74893
74890
  return content.text.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
74894
74891
  }
74895
74892
  //#endregion
74896
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74897
74894
  /**
74898
74895
  * Terminal drag-and-drop normalization.
74899
74896
  *
@@ -74952,7 +74949,7 @@ function droppedImageMention(raw, baseDir) {
74952
74949
  return formatImageReference(path);
74953
74950
  }
74954
74951
  //#endregion
74955
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
74956
74953
  /**
74957
74954
  * External editor round-trip for the prompt input (issue #123): Ctrl+G dumps
74958
74955
  * the current draft into a temp file, hands the terminal to `$VISUAL` /
@@ -75230,7 +75227,7 @@ async function editInExternalEditor(draft) {
75230
75227
  }
75231
75228
  }
75232
75229
  //#endregion
75233
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75234
75231
  let editorNode = null;
75235
75232
  const listeners = /* @__PURE__ */ new Set();
75236
75233
  /** Publish (or withdraw, with null) the fullscreen editor subtree. */
@@ -75314,7 +75311,7 @@ function EditorButton({ label, hint, onClick, primary, accent }) {
75314
75311
  });
75315
75312
  }
75316
75313
  //#endregion
75317
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75318
75315
  const HISTORY_DIR = DATA_DIR;
75319
75316
  const HISTORY_FILE = join(HISTORY_DIR, "history.jsonl");
75320
75317
  const HISTORY_LOCK = `${HISTORY_FILE}.lock`;
@@ -75448,7 +75445,7 @@ function historyEntryId(entry, index = 0) {
75448
75445
  return createHash("sha1").update(`${entry.text}\0${entry.ts}\0${index}`).digest("hex").slice(0, 12);
75449
75446
  }
75450
75447
  //#endregion
75451
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75452
75449
  /**
75453
75450
  * `/` 命令菜单与 `@` 文件菜单共用的圆角卡片外壳(与输入框 EffortInputBorder
75454
75451
  * 同款 ╭╮╰╯ 视觉语言):
@@ -75580,7 +75577,7 @@ function splitQueryMatch(name, query) {
75580
75577
  return startsWith(0) ?? (lastSpace >= 0 ? startsWith(lastSpace + 1) : null) ?? startsWith(name.lastIndexOf("/") + 1);
75581
75578
  }
75582
75579
  //#endregion
75583
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75584
75581
  /**
75585
75582
  * The slash-command suggestion overlay, mirroring Claude Code's
75586
75583
  * `PromptInputFooterSuggestions.tsx` (command layout only) wrapped in the
@@ -75660,7 +75657,7 @@ function CommandSuggestions({ commands, selectedIndex, columns, query = "", acce
75660
75657
  });
75661
75658
  }
75662
75659
  //#endregion
75663
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75664
75661
  /**
75665
75662
  * The `@` file-completion overlay in CC's suggestion style, wrapped in the
75666
75663
  * shared rounded `SuggestionCard` (与 `/` 命令菜单同一视觉语言):
@@ -75756,7 +75753,7 @@ function FileSuggestions({ files, selectedIndex, columns, query = "", maxVisible
75756
75753
  });
75757
75754
  }
75758
75755
  //#endregion
75759
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75760
75757
  /**
75761
75758
  * The `?` help menu, mirroring Claude Code's `PromptInputHelpMenu.tsx`
75762
75759
  * (three-column shortcut layout, trimmed to the keys dsh-tui actually binds).
@@ -75947,7 +75944,7 @@ function HelpCommandRow({ command, onPick }) {
75947
75944
  });
75948
75945
  }
75949
75946
  //#endregion
75950
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
75951
75948
  const HISTORY_LIMIT = 50;
75952
75949
  /**
75953
75950
  * Paste fold (CC-style collapse with a visible preview, no black box):
@@ -78367,7 +78364,7 @@ function wordSelectionAt(text, offset, lo, hi) {
78367
78364
  };
78368
78365
  }
78369
78366
  //#endregion
78370
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78371
78368
  /** Maximum todo rows shown before the overflow line. */
78372
78369
  const MAX_TODOS = 8;
78373
78370
  const PHASE_LABEL = {
@@ -78611,7 +78608,7 @@ function GoalTodoPanel({ channel, collapsed = false, onToggle }) {
78611
78608
  });
78612
78609
  }
78613
78610
  //#endregion
78614
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78615
78612
  /**
78616
78613
  * Auto-recap row (`dsh-tui.recapOnOpen` setting): a quiet, dim recap shown
78617
78614
  * at the bottom of the transcript after an automatic summary on session
@@ -78691,7 +78688,7 @@ function summarizeLoadedContext(context) {
78691
78688
  return parts.join(" · ");
78692
78689
  }
78693
78690
  //#endregion
78694
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78695
78692
  /** One named entry (section or dynamic context) with its full text. */
78696
78693
  function Entry({ entry }) {
78697
78694
  return (0, import_jsx_runtime.jsxs)(ThemedBox, {
@@ -78828,7 +78825,7 @@ function LoadedContextPanel({ context, open, onToggle }) {
78828
78825
  });
78829
78826
  }
78830
78827
  //#endregion
78831
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78832
78829
  /**
78833
78830
  * Terminal-safe construction cycle derived from the supplied China Unicom
78834
78831
  * knot mark. Every frame is one display cell, unlike emoji on mixed terminals.
@@ -78860,7 +78857,7 @@ function UnicomKnotSpinner({ time }) {
78860
78857
  });
78861
78858
  }
78862
78859
  //#endregion
78863
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78864
78861
  /**
78865
78862
  * Context-pressure percentage (0–100) from the last usage snapshot, or
78866
78863
  * undefined when unknown — shared by the spinner-line and status-line
@@ -78932,7 +78929,7 @@ function ActivityLine({ activity, activityFrames, warnPct, warnDanger, suffix })
78932
78929
  });
78933
78930
  }
78934
78931
  //#endregion
78935
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
78936
78933
  /**
78937
78934
  * Structural guards for the session events the trajectory projection reads.
78938
78935
  *
@@ -79156,7 +79153,7 @@ function readTodos(data) {
79156
79153
  };
79157
79154
  }
79158
79155
  //#endregion
79159
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
79160
79157
  /**
79161
79158
  * Trajectory projection — the data contract shared by the adapter-side fold
79162
79159
  * and the UI-side scene (issue #80 evolution).
@@ -79223,7 +79220,7 @@ function previewText(raw, limit) {
79223
79220
  return `${flat.slice(0, limit)}…`;
79224
79221
  }
79225
79222
  //#endregion
79226
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
79227
79224
  /**
79228
79225
  * Trajectory projection — folding the session event log into ledger nodes.
79229
79226
  *
@@ -79802,7 +79799,7 @@ function extendTrajectory(previous, events) {
79802
79799
  };
79803
79800
  }
79804
79801
  //#endregion
79805
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
79806
79803
  /**
79807
79804
  * Trajectory aggregate — the hotspot view's data and the session totals.
79808
79805
  *
@@ -80023,7 +80020,7 @@ function modelTiming(timing) {
80023
80020
  };
80024
80021
  }
80025
80022
  //#endregion
80026
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80027
80024
  /**
80028
80025
  * Inspector detail — full content, resolved on demand.
80029
80026
  *
@@ -80183,7 +80180,7 @@ function inspectNode(node, events) {
80183
80180
  };
80184
80181
  }
80185
80182
  //#endregion
80186
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80187
80184
  /**
80188
80185
  * Wave band projection — the whole session compressed onto one row of glyphs.
80189
80186
  *
@@ -80356,7 +80353,7 @@ function columnOfIndex(band, ledgerIndex) {
80356
80353
  return 0;
80357
80354
  }
80358
80355
  //#endregion
80359
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80360
80357
  /**
80361
80358
  * The mini wake — the whole session as a dozen glyphs in the status line.
80362
80359
  *
@@ -80459,7 +80456,7 @@ function toHex$1(colour) {
80459
80456
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
80460
80457
  }
80461
80458
  //#endregion
80462
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80463
80460
  /**
80464
80461
  * Status-line metric renderers, ported from two pi extensions:
80465
80462
  * - `pi-nano-context`: segmented context progress bar (morandi pastel
@@ -80735,7 +80732,7 @@ function tpsStats(samples, nowMs) {
80735
80732
  };
80736
80733
  }
80737
80734
  //#endregion
80738
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80739
80736
  /** Free-segment colors, mirroring StatusMetrics' dark-theme defaults. */
80740
80737
  const FREE_FILL = "#E8E8E8";
80741
80738
  const FREE_TEXT = "#4A4A4A";
@@ -80802,7 +80799,7 @@ function ContextBarView({ segments, usedTokens, contextWindow, width, colors, on
80802
80799
  });
80803
80800
  }
80804
80801
  //#endregion
80805
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80806
80803
  /**
80807
80804
  * ChatCode 今日总 Token 消耗量查询(移植自 chatcode-cli 的 chatCodeTokenTrend)。
80808
80805
  *
@@ -80877,7 +80874,7 @@ async function fetchTodayTotalTokens(post, signal) {
80877
80874
  }
80878
80875
  }
80879
80876
  //#endregion
80880
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80881
80878
  /**
80882
80879
  * 「今日总Token消耗」数据源 Hook(移植自 chatcode-cli 的 useTokenDashboard)。
80883
80880
  *
@@ -80909,7 +80906,7 @@ function useTodayTotalTokens(enabled = true) {
80909
80906
  return { totalTokens };
80910
80907
  }
80911
80908
  //#endregion
80912
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80913
80910
  const BAR_WIDTH = 14;
80914
80911
  /** Yuanjing-compatible percentage label centered inside a fixed-width bar. */
80915
80912
  function LabeledBar({ ratio, percent }) {
@@ -80993,7 +80990,7 @@ function TokenDashboard({ todayTokens, usedTokens, contextWindow, compact = fals
80993
80990
  });
80994
80991
  }
80995
80992
  //#endregion
80996
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
80997
80994
  /** Stable fallback for stubbed channels: verify/repro harnesses render the
80998
80995
  * real Chat with partial channel literals that predate the jobs field. */
80999
80996
  const NO_BACKGROUND_JOBS = [];
@@ -81851,7 +81848,7 @@ const fallbackSymbols = {
81851
81848
  const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
81852
81849
  Object.entries(specialMainSymbols);
81853
81850
  //#endregion
81854
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
81855
81852
  /**
81856
81853
  * Joins children with a middot separator (" · ") for inline metadata display
81857
81854
  * (in the Claude Code visual language). Automatically filters out
@@ -81867,7 +81864,7 @@ function Byline({ children }) {
81867
81864
  }), child] }, (0, import_react.isValidElement)(child) ? child.key ?? index : index)) });
81868
81865
  }
81869
81866
  //#endregion
81870
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
81871
81868
  const ERROR_RED$1 = {
81872
81869
  r: 171,
81873
81870
  g: 43,
@@ -81957,7 +81954,7 @@ function GlimmerMessage({ message, mode, messageColor, glimmerIndex, flashOpacit
81957
81954
  })] });
81958
81955
  }
81959
81956
  //#endregion
81960
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
81961
81958
  const DEFAULT_CHARACTERS = getDefaultCharacters();
81962
81959
  const SPINNER_FRAMES$1 = [...DEFAULT_CHARACTERS, ...[...DEFAULT_CHARACTERS].reverse()];
81963
81960
  const REDUCED_MOTION_DOT = "●";
@@ -82018,7 +82015,7 @@ function SpinnerGlyph({ frame, messageColor, stalledIntensity = 0, reducedMotion
82018
82015
  });
82019
82016
  }
82020
82017
  //#endregion
82021
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82022
82019
  /**
82023
82020
  * Tracks the transition to red when tokens stop flowing (mirroring Claude Code's `Spinner/useStalledAnimation.ts`). Driven by the parent's animation
82024
82021
  * clock time instead of independent intervals, so it slows down when the
@@ -82075,7 +82072,7 @@ function useStalledAnimation(time, currentResponseLength, hasActiveTools = false
82075
82072
  };
82076
82073
  }
82077
82074
  //#endregion
82078
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82079
82076
  const SEP_WIDTH = stringWidth$1(" · ");
82080
82077
  const THINKING_BARE_WIDTH = stringWidth$1("thinking");
82081
82078
  const SHOW_TOKENS_AFTER_MS = 3e4;
@@ -82242,7 +82239,7 @@ function SpinnerModeGlyph({ mode }) {
82242
82239
  }
82243
82240
  }
82244
82241
  //#endregion
82245
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82246
82243
  /**
82247
82244
  * The working spinner block shown between the transcript and the prompt
82248
82245
  * input while a turn is in flight. Mirrors Claude Code's `Spinner.tsx`
@@ -82312,7 +82309,7 @@ function useThinkingStatus(isThinking) {
82312
82309
  return thinkingStatus;
82313
82310
  }
82314
82311
  //#endregion
82315
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82316
82313
  /**
82317
82314
  * Model picker in the CC ModelPicker style: a permission-colored Pane with
82318
82315
  * the rows as Select entries (❯ focus pointer, ✓ on the active row,
@@ -82372,7 +82369,7 @@ function ModelPicker(props) {
82372
82369
  });
82373
82370
  }
82374
82371
  //#endregion
82375
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82376
82373
  /**
82377
82374
  * Error boundary for plugin scenes (dsh-tui-scenes). A scene component is
82378
82375
  * third-party code rendered inside Chat's tree: without a boundary a render
@@ -82398,7 +82395,7 @@ var PluginSceneBoundary = class extends import_react.Component {
82398
82395
  }
82399
82396
  };
82400
82397
  //#endregion
82401
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82402
82399
  const SPINNER_FRAMES = [...getDefaultCharacters(), ...[...getDefaultCharacters()].reverse()];
82403
82400
  /**
82404
82401
  * A spinner with a loading message for async operations, mirroring Claude Code's design-system/LoadingState.tsx (using the small animated glyph).
@@ -82429,7 +82426,7 @@ function LoadingState({ message, bold = false, dimColor = false, subtitle }) {
82429
82426
  });
82430
82427
  }
82431
82428
  //#endregion
82432
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82433
82430
  /** 来源桶 → 本地化标签(未知桶原样显示,SkillSource 对自定义桶开放)。 */
82434
82431
  function sourceLabel(source) {
82435
82432
  switch (source) {
@@ -82507,7 +82504,7 @@ function SkillsPickerLoading() {
82507
82504
  });
82508
82505
  }
82509
82506
  //#endregion
82510
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82511
82508
  /**
82512
82509
  * Window a single-line query around the caret so the visible slice fits
82513
82510
  * `avail` display cells (CJK display width, code-point safe — `[...s]`
@@ -82645,7 +82642,7 @@ function SearchBox({ query, placeholder = "Search…", isFocused, isTerminalFocu
82645
82642
  });
82646
82643
  }
82647
82644
  //#endregion
82648
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82649
82646
  /**
82650
82647
  * One session in the browser's list: a title line and a metadata line.
82651
82648
  *
@@ -82726,7 +82723,7 @@ function SessionListRow({ session, width, depth, focused, pinned, now, onClick,
82726
82723
  });
82727
82724
  }
82728
82725
  //#endregion
82729
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82730
82727
  /** Role marker and colour for a preview entry. */
82731
82728
  const ROLE = {
82732
82729
  user: {
@@ -82817,7 +82814,7 @@ function SessionPreview({ session, entries, loading, width, height, home, now })
82817
82814
  });
82818
82815
  }
82819
82816
  //#endregion
82820
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82821
82818
  /** One two-line working-directory choice in the /resume browser. */
82822
82819
  function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width, focused, selected, home, now, onClick }) {
82823
82820
  const [hovered, setHovered] = (0, import_react.useState)(false);
@@ -82862,7 +82859,7 @@ function WorkspaceListRow({ workspace, all, totalProjects, totalSessions, width,
82862
82859
  });
82863
82860
  }
82864
82861
  //#endregion
82865
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
82866
82863
  /**
82867
82864
  * Pinned sessions for the `/resume` browser, kept at
82868
82865
  * `~/.chatcode-cli/tui/session-pins.json` (a JSON array of session ids) so the pins
@@ -83011,7 +83008,7 @@ function setSessionPinned(id, pinned, dir = DATA_DIR) {
83011
83008
  }
83012
83009
  }
83013
83010
  //#endregion
83014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
83015
83012
  /**
83016
83013
  * Rows the layout cannot do without: the header, the four-row scope/search
83017
83014
  * card, the notice slot, and the hints. Everything else yields before these.
@@ -84011,7 +84008,7 @@ function SessionBrowser({ channel, home, sameProject, onClose }) {
84011
84008
  });
84012
84009
  }
84013
84010
  //#endregion
84014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
84015
84012
  /** Local HH:MM (or MM/DD HH:MM when older than this year). */
84016
84013
  function formatTime(at, now) {
84017
84014
  const date = new Date(at);
@@ -84767,7 +84764,7 @@ function PreviewPane({ entry, meta, width, height, liveSessionId, now, compact }
84767
84764
  });
84768
84765
  }
84769
84766
  //#endregion
84770
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
84771
84768
  /** Pick the provider-owned translation for the active language. */
84772
84769
  function pick(text, descriptions) {
84773
84770
  return descriptions?.[getLang()] ?? text;
@@ -85592,7 +85589,7 @@ function Settings({ channel, onClose, initialGroup }) {
85592
85589
  });
85593
85590
  }
85594
85591
  //#endregion
85595
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85596
85593
  const WINDOW$1 = 8;
85597
85594
  /** `/workspace` target picker contributed by local and optional providers. */
85598
85595
  function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
@@ -85630,7 +85627,7 @@ function WorkspacePicker({ targets, focusIndex, currentCwd, onPick }) {
85630
85627
  });
85631
85628
  }
85632
85629
  //#endregion
85633
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85634
85631
  /**
85635
85632
  * A single-choice select list in the CC CustomSelect style (ported visual:
85636
85633
  * ListItem rows with ❯ focus pointer, ✓ selected checkmark, descriptions,
@@ -85657,7 +85654,7 @@ function Select({ options, focusIndex, selectedValue, visibleOptionCount = 5, on
85657
85654
  });
85658
85655
  }
85659
85656
  //#endregion
85660
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85661
85658
  /**
85662
85659
  * Bare `/workspace` action menu: the built-in subcommands (resume / rename /
85663
85660
  * open) plus any dynamically registered workspace extensions. Enter runs the
@@ -85698,7 +85695,7 @@ function WorkspaceMenuPicker({ options, focusIndex, onPick }) {
85698
85695
  });
85699
85696
  }
85700
85697
  //#endregion
85701
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85702
85699
  const WINDOW = 8;
85703
85700
  /** Generic nested choice surface returned by a workspace provider command. */
85704
85701
  function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input = null, onPick }) {
@@ -85756,7 +85753,7 @@ function WorkspaceFlowPicker({ title, choices, focusIndex, busy = false, input =
85756
85753
  });
85757
85754
  }
85758
85755
  //#endregion
85759
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85760
85757
  /**
85761
85758
  * Working-activity indicator picker in the CC ModelPicker style (ported
85762
85759
  * from the pi extension's `/activity` interactive select): a
@@ -85798,7 +85795,7 @@ function ActivityPicker({ focusIndex, currentPreset, onPick }) {
85798
85795
  });
85799
85796
  }
85800
85797
  //#endregion
85801
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85802
85799
  /**
85803
85800
  * Session accent color picker (bare `/color`): a permission-colored Pane
85804
85801
  * listing the whole palette with a colored swatch per row, `❯` focus
@@ -85842,7 +85839,7 @@ function ColorPicker({ focusIndex, currentColor, onPick }) {
85842
85839
  });
85843
85840
  }
85844
85841
  //#endregion
85845
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85846
85843
  /**
85847
85844
  * Reasoning-effort slider (`/effort`): a rheostat row of the live route's
85848
85845
  * adapter-owned levels in adapter order, ←/→ moving focus (each move applies
@@ -85901,7 +85898,7 @@ function EffortSlider({ options, focusIndex, currentId, onPick }) {
85901
85898
  });
85902
85899
  }
85903
85900
  //#endregion
85904
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85905
85902
  /**
85906
85903
  * Agent-preset picker (issue #8) in the CC ModelPicker style — same chrome
85907
85904
  * as the ActivityPicker: a permission-colored Pane listing every roster
@@ -85945,7 +85942,7 @@ function PresetPicker({ presets, focusIndex, currentPreset, onPick }) {
85945
85942
  });
85946
85943
  }
85947
85944
  //#endregion
85948
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85949
85946
  /**
85950
85947
  * `/permission` sandbox-preset picker. The command itself is registered by
85951
85948
  * the harness side (dsh-sandbox-policy / dsh-base permission-presets row);
@@ -85992,7 +85989,7 @@ function PermissionsPicker({ options, focusIndex, currentValue, cwd, onPick }) {
85992
85989
  });
85993
85990
  }
85994
85991
  //#endregion
85995
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
85996
85993
  /**
85997
85994
  * `/plan` on/off picker. The command itself is registered by dsh-plan-mode
85998
85995
  * on the harness side; bare `/plan` opens this picker (with the current
@@ -86037,7 +86034,7 @@ function PlanPicker({ focusIndex, currentOn, onPick }) {
86037
86034
  });
86038
86035
  }
86039
86036
  //#endregion
86040
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86041
86038
  /**
86042
86039
  * `/lang` en/zh picker: bare `/lang` opens this picker (the current language
86043
86040
  * marked) and Enter applies the choice through the same path as `/lang <id>`.
@@ -86076,7 +86073,7 @@ function LangPicker({ focusIndex, currentLang, onPick }) {
86076
86073
  });
86077
86074
  }
86078
86075
  //#endregion
86079
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86080
86077
  /** One double-block swatch character per preview key, in a row. */
86081
86078
  const SWATCH = "██";
86082
86079
  /** Theme keys previewed in the picker, chosen for visual contrast. */
@@ -86162,7 +86159,7 @@ function ThemePicker({ focusIndex, currentTheme, themeHost, onPick }) {
86162
86159
  });
86163
86160
  }
86164
86161
  //#endregion
86165
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86166
86163
  /**
86167
86164
  * The `/thinking` display dialog: a permission-colored Pane with a bold
86168
86165
  * title, the Shown/Hidden select, and the Enter/Esc hint line.
@@ -86211,7 +86208,7 @@ function ThinkingToggle({ currentValue, focusIndex, onPick }) {
86211
86208
  });
86212
86209
  }
86213
86210
  //#endregion
86214
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86215
86212
  /**
86216
86213
  * The ctrl+r history search dialog, in the shape of Claude Code's
86217
86214
  * HistorySearchDialog/FuzzyPicker: a permission-colored Pane with a bold
@@ -86274,7 +86271,7 @@ function formatRelativeAge(ts) {
86274
86271
  return t("time-days-ago", { n: Math.floor(elapsed / 864e5) });
86275
86272
  }
86276
86273
  //#endregion
86277
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86278
86275
  /**
86279
86276
  * Double-Esc rewind picker (CC's "Double-tap esc to rewind the code and/or
86280
86277
  * conversation to a previous point in time"): lists the user's past messages
@@ -86411,7 +86408,7 @@ function preview(text) {
86411
86408
  return flat.length <= 80 ? flat : `${flat.slice(0, 80)}…`;
86412
86409
  }
86413
86410
  //#endregion
86414
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86415
86412
  /**
86416
86413
  * /btw side-question panel (CC's btw.tsx, inline-pane form like the local
86417
86414
  * pickers): title line with the question, a scrollable answer body (error /
@@ -86495,7 +86492,7 @@ function BtwPanel({ question, answer, error, streaming, onClose, onCopy }) {
86495
86492
  });
86496
86493
  }
86497
86494
  //#endregion
86498
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86499
86496
  function ReleaseNotesPanel({ release, onClose }) {
86500
86497
  const scrollRef = import_react.useRef(null);
86501
86498
  const { rows } = useTerminalSize();
@@ -86540,7 +86537,7 @@ function ReleaseNotesPanel({ release, onClose }) {
86540
86537
  });
86541
86538
  }
86542
86539
  //#endregion
86543
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86544
86541
  /**
86545
86542
  * `/recap` panel (pi-recap semantics), in the picker/dialog visual
86546
86543
  * language: a permission-colored Pane with a title bar (会话回顾), a
@@ -86661,7 +86658,7 @@ function RecapPanel({ summary, title, error, streaming, titleApplied, onClose, o
86661
86658
  });
86662
86659
  }
86663
86660
  //#endregion
86664
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
86665
86662
  /**
86666
86663
  * 精简 Tips 池 —— 启动首屏轮换(LogoV2)与 `/tips` 命令面板共用。
86667
86664
  *
@@ -87375,7 +87372,7 @@ const TIPS = [
87375
87372
  }
87376
87373
  ];
87377
87374
  //#endregion
87378
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
87379
87376
  const GROUP_ORDER = [
87380
87377
  "keys",
87381
87378
  "commands",
@@ -87454,7 +87451,7 @@ function TipsPanel({ onClose }) {
87454
87451
  });
87455
87452
  }
87456
87453
  //#endregion
87457
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
87458
87455
  function formatDuration$1(ms) {
87459
87456
  const seconds = Math.floor(ms / 1e3);
87460
87457
  return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m${seconds % 60}s`;
@@ -87509,7 +87506,7 @@ function SubagentCard({ subagent, focused, onClick }) {
87509
87506
  });
87510
87507
  }
87511
87508
  //#endregion
87512
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
87513
87510
  /** 可点击 ✕ 退出按钮:整屏/浮层场景的鼠标退出通道(Esc 等价)。 */
87514
87511
  function ExitButton({ onClick }) {
87515
87512
  const [hovered, setHovered] = import_react.useState(false);
@@ -87657,7 +87654,7 @@ function SubagentDashboard({ subagents, onClose, onSelect }) {
87657
87654
  });
87658
87655
  }
87659
87656
  //#endregion
87660
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
87661
87658
  function statusInfo(status) {
87662
87659
  const minimal = isMinimalMode();
87663
87660
  switch (status) {
@@ -87945,7 +87942,7 @@ function JobsPanel({ jobs, onClose, onKill }) {
87945
87942
  });
87946
87943
  }
87947
87944
  //#endregion
87948
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
87949
87946
  function formatDuration(ms) {
87950
87947
  if (ms < 1e3) return `${ms}ms`;
87951
87948
  if (ms < 6e4) return `${(ms / 1e3).toFixed(1)}s`;
@@ -88415,7 +88412,7 @@ function FileActionsPanel({ path, isDir, focusIndex, onPick }) {
88415
88412
  });
88416
88413
  }
88417
88414
  //#endregion
88418
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88419
88416
  function oneLine(text, max = 70) {
88420
88417
  const compact = text.replace(/\s+/gu, " ").trim();
88421
88418
  return compact.length > max ? `${compact.slice(0, max - 1)}…` : compact;
@@ -88507,7 +88504,7 @@ function DiffLoading() {
88507
88504
  });
88508
88505
  }
88509
88506
  //#endregion
88510
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88511
88508
  /** `/copy` argument is a one-based reply age; omission selects the latest. */
88512
88509
  function parseCopyIndex(raw, count) {
88513
88510
  const value = raw.trim();
@@ -88560,7 +88557,7 @@ function gitDiffLines(report, labels) {
88560
88557
  ];
88561
88558
  }
88562
88559
  //#endregion
88563
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88564
88561
  /** Compact duration suitable for a terminal report row. */
88565
88562
  function formatStatsDuration(ms) {
88566
88563
  if (ms < 1e3) return `${Math.round(ms)} ms`;
@@ -88606,7 +88603,7 @@ function parsePresetManagement(input) {
88606
88603
  return { kind: "invalid" };
88607
88604
  }
88608
88605
  //#endregion
88609
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88610
88607
  const ALIASES = {
88611
88608
  map: "inspect",
88612
88609
  fixit: "repair",
@@ -88661,7 +88658,7 @@ function buildWorkflowCommand(name, rawInput = "") {
88661
88658
  };
88662
88659
  }
88663
88660
  //#endregion
88664
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88665
88662
  const EXTERNAL_SCHEME = /^https?:\/\//i;
88666
88663
  /**
88667
88664
  * Classify a clicked link target. Mirrors the previous handleOpenTarget
@@ -88686,7 +88683,7 @@ function classifyOpenTarget(url) {
88686
88683
  return { kind: "rejected" };
88687
88684
  }
88688
88685
  //#endregion
88689
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88690
88687
  /**
88691
88688
  * Subscribe to an external store's version counter at DEFAULT lane.
88692
88689
  *
@@ -88735,7 +88732,7 @@ function useExternalVersion(subscribe, getVersion, enabled = true) {
88735
88732
  return version;
88736
88733
  }
88737
88734
  //#endregion
88738
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88739
88736
  /**
88740
88737
  * The wake — the whole session drawn as one row of glyphs.
88741
88738
  *
@@ -88872,7 +88869,7 @@ function toHex(colour) {
88872
88869
  return `#${hex(parsed.r)}${hex(parsed.g)}${hex(parsed.b)}`;
88873
88870
  }
88874
88871
  //#endregion
88875
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
88876
88873
  /**
88877
88874
  * The ledger — one line per event, columns aligned across every row.
88878
88875
  *
@@ -89118,7 +89115,7 @@ function Ledger({ rows, start, height, cursor, width, tick, arrivalTick, arrival
89118
89115
  });
89119
89116
  }
89120
89117
  //#endregion
89121
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
89122
89119
  /**
89123
89120
  * The inspector — full detail for the focused row, in a fixed-height slot.
89124
89121
  *
@@ -89224,7 +89221,7 @@ function Inspector({ node, detail, height, width, expanded, scroll }) {
89224
89221
  });
89225
89222
  }
89226
89223
  //#endregion
89227
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
89228
89225
  /**
89229
89226
  * The hotspot view — the session ranked by cost instead of ordered by time.
89230
89227
  *
@@ -89387,7 +89384,7 @@ function HotspotView({ agg, sort, width, height, cursor, tick, switchTick, onRow
89387
89384
  });
89388
89385
  }
89389
89386
  //#endregion
89390
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
89391
89388
  /**
89392
89389
  * Trajectory query — whole-session structured filtering.
89393
89390
  *
@@ -89583,7 +89580,7 @@ function applyQuery(nodes, query) {
89583
89580
  };
89584
89581
  }
89585
89582
  //#endregion
89586
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
89587
89584
  /**
89588
89585
  * The trajectory scene — the session's own screen.
89589
89586
  *
@@ -90071,7 +90068,7 @@ function TrajectoryScene({ channel, build, onClose }) {
90071
90068
  });
90072
90069
  }
90073
90070
  //#endregion
90074
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
90075
90072
  /** Build the non-empty pages shown by the loaded-context inspector. */
90076
90073
  function contextPages(context) {
90077
90074
  const pages = [];
@@ -90255,7 +90252,7 @@ function LoadedContextScene({ context, onClose }) {
90255
90252
  });
90256
90253
  }
90257
90254
  //#endregion
90258
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
90259
90256
  /** Rows the layout cannot do without: header, model/cwd line, dispatch
90260
90257
  * input, hints. */
90261
90258
  const MANDATORY_LINES = 4;
@@ -90864,7 +90861,7 @@ function AgentView({ channel, home, approval, onApprove, returnSessionId, onClos
90864
90861
  });
90865
90862
  }
90866
90863
  //#endregion
90867
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
90868
90865
  /**
90869
90866
  * Persisted "the user has seen the trajectory" flag, at
90870
90867
  * `~/.chatcode-cli/tui/trajectory.json`.
@@ -90924,7 +90921,7 @@ function writeTrajectorySeen(dir = DATA_DIR) {
90924
90921
  }
90925
90922
  }
90926
90923
  //#endregion
90927
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
90928
90925
  const NO_OVERLAY = { kind: "none" };
90929
90926
  /**
90930
90927
  * One-step wrap-around cursor move — the single source of the wrapping rule
@@ -91034,7 +91031,7 @@ function dialogOverlayVisible(overlay, gates) {
91034
91031
  }
91035
91032
  }
91036
91033
  //#endregion
91037
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
91038
91035
  const LOGOUT_EXIT_DELAY_MS = 200;
91039
91036
  /** Shared empty snapshot for hosts whose channel has no event log. */
91040
91037
  const NO_EVENTS = [];
@@ -94859,7 +94856,7 @@ function ModelPickerLoading() {
94859
94856
  });
94860
94857
  }
94861
94858
  //#endregion
94862
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
94863
94860
  const MAIN_CLI_PACKAGE = "@chatcode/chatcode-cli";
94864
94861
  function asError(value) {
94865
94862
  return value instanceof Error ? value : new Error(String(value));
@@ -95015,7 +95012,7 @@ function launchWebFrontend(cwd, options = {}) {
95015
95012
  }
95016
95013
  }
95017
95014
  //#endregion
95018
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
95019
95016
  /**
95020
95017
  * External injection channel — lets an out-of-process editor integration
95021
95018
  * (e.g. the `dsh.nvim` Neovim plugin) push text into the running TUI's
@@ -95210,7 +95207,7 @@ function openInjectChannel(sessionId, cwd, handlers, onError) {
95210
95207
  };
95211
95208
  }
95212
95209
  //#endregion
95213
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
95214
95211
  const CHATCODE_CLI_OAUTH_TOKEN = "CHATCODE_CLI_OAUTH_TOKEN";
95215
95212
  const DEFAULT_SERVICE_WAIT_MS = 75e3;
95216
95213
  function authService(ctx) {
@@ -95384,7 +95381,7 @@ async function requireChatCodeStartupLogin(ctx, options) {
95384
95381
  return "ready";
95385
95382
  }
95386
95383
  //#endregion
95387
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
95388
95385
  /** Bind authenticated statistics requests to one TUI lifetime. */
95389
95386
  function createChatCodeAuthorizedPost(ctx) {
95390
95387
  const lifetime = new AbortController();
@@ -95423,7 +95420,7 @@ function createChatCodeAuthorizedPost(ctx) {
95423
95420
  };
95424
95421
  }
95425
95422
  //#endregion
95426
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.23_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
95427
95424
  /**
95428
95425
  * Interactive TUI front door for ChatCode CLI agents.
95429
95426
  *