zidane 6.5.4 → 6.5.6

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 (129) hide show
  1. package/dist/{acp-CIpD8UIw.js → acp-Dm95NwNM.js} +6 -6
  2. package/dist/{acp-CIpD8UIw.js.map → acp-Dm95NwNM.js.map} +1 -1
  3. package/dist/acp-cli.js +6 -6
  4. package/dist/acp.d.ts +1 -1
  5. package/dist/acp.js +1 -1
  6. package/dist/{agent-8kfGIDb_.js → agent-CcTWL-Z6.js} +231 -167
  7. package/dist/agent-CcTWL-Z6.js.map +1 -0
  8. package/dist/agent.d.ts +1 -1
  9. package/dist/agent.js +1 -1
  10. package/dist/{anthropic-qaw8XAc9.js → anthropic-DLc_Kw-1.js} +420 -25
  11. package/dist/anthropic-DLc_Kw-1.js.map +1 -0
  12. package/dist/{auth-BLy7X1SY.js → auth-BAclQnl3.js} +127 -35
  13. package/dist/{auth-BLy7X1SY.js.map → auth-BAclQnl3.js.map} +1 -1
  14. package/dist/chat/pure.d.ts +3 -3
  15. package/dist/chat/pure.js +2 -2
  16. package/dist/chat.d.ts +115 -9
  17. package/dist/chat.d.ts.map +1 -1
  18. package/dist/chat.js +8 -8
  19. package/dist/{context-segments-1mcqSCM3.js → context-segments-CJCtJ9sU.js} +16 -3
  20. package/dist/{context-segments-1mcqSCM3.js.map → context-segments-CJCtJ9sU.js.map} +1 -1
  21. package/dist/{context-transport-Bco9Wo0b.js → context-transport-D8yeGdpd.js} +2 -2
  22. package/dist/{context-transport-Bco9Wo0b.js.map → context-transport-D8yeGdpd.js.map} +1 -1
  23. package/dist/contexts/daytona.d.ts +1 -1
  24. package/dist/contexts/daytona.js +1 -1
  25. package/dist/contexts/e2b.d.ts +1 -1
  26. package/dist/{errors-BwBxu3zD.js → errors-DKiMrOKq.js} +61 -2
  27. package/dist/{errors-BwBxu3zD.js.map → errors-DKiMrOKq.js.map} +1 -1
  28. package/dist/errors.js +2 -2
  29. package/dist/eval.d.ts +1 -1
  30. package/dist/eval.js +1 -1
  31. package/dist/extensions.d.ts +1 -1
  32. package/dist/extensions.js +1 -1
  33. package/dist/{fetch-url-B7aSg6Bp.js → fetch-url-ma-5_p0p.js} +2 -2
  34. package/dist/{fetch-url-B7aSg6Bp.js.map → fetch-url-ma-5_p0p.js.map} +1 -1
  35. package/dist/headless.d.ts +1 -1
  36. package/dist/headless.js +3 -3
  37. package/dist/{index-BSNr0OQn.d.ts → index-ZWibV230.d.ts} +100 -28
  38. package/dist/index-ZWibV230.d.ts.map +1 -0
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +13 -13
  41. package/dist/{login-D3CKhgbI.js → login-CB23LyI1.js} +3 -3
  42. package/dist/{login-D3CKhgbI.js.map → login-CB23LyI1.js.map} +1 -1
  43. package/dist/{mcp-D9fqOQo5.js → mcp-CVtSQTWg.js} +3 -3
  44. package/dist/{mcp-D9fqOQo5.js.map → mcp-CVtSQTWg.js.map} +1 -1
  45. package/dist/mcp.d.ts +1 -1
  46. package/dist/mcp.js +1 -1
  47. package/dist/{messages-C_H9soi5.js → messages-CZMUuKzo.js} +2 -2
  48. package/dist/{messages-C_H9soi5.js.map → messages-CZMUuKzo.js.map} +1 -1
  49. package/dist/{oauth-ZebH9NHb.js → oauth-C4GvY_p1.js} +27 -8
  50. package/dist/oauth-C4GvY_p1.js.map +1 -0
  51. package/dist/{openai-compat-CnHeo4Lz.js → openai-compat-BoTi-9fd.js} +9 -4
  52. package/dist/openai-compat-BoTi-9fd.js.map +1 -0
  53. package/dist/output/stream-json.d.ts +1 -1
  54. package/dist/output/terminal.d.ts +1 -1
  55. package/dist/{plugins-2PMTVcp-.js → plugins-onDvTHEm.js} +2 -2
  56. package/dist/{plugins-2PMTVcp-.js.map → plugins-onDvTHEm.js.map} +1 -1
  57. package/dist/plugins.d.ts +1 -1
  58. package/dist/plugins.js +1 -1
  59. package/dist/presets.d.ts +1 -1
  60. package/dist/presets.js +1 -1
  61. package/dist/providers/anthropic.d.ts +1 -1
  62. package/dist/providers/anthropic.js +1 -1
  63. package/dist/providers/arcee.d.ts +1 -1
  64. package/dist/providers/arcee.js +1 -1
  65. package/dist/providers/baseten.d.ts +1 -1
  66. package/dist/providers/baseten.js +1 -1
  67. package/dist/providers/cerebras.d.ts +1 -1
  68. package/dist/providers/cerebras.js +1 -1
  69. package/dist/providers/local.d.ts +1 -1
  70. package/dist/providers/local.js +1 -1
  71. package/dist/providers/openai-compat.d.ts +1 -1
  72. package/dist/providers/openai-compat.js +1 -1
  73. package/dist/providers/openai.d.ts +1 -1
  74. package/dist/providers/openai.js +4 -4
  75. package/dist/providers/openrouter.d.ts +1 -1
  76. package/dist/providers/openrouter.js +1 -1
  77. package/dist/providers/xai.d.ts +1 -1
  78. package/dist/providers/xai.js +2 -2
  79. package/dist/{providers-Bxs-XHir.js → providers-CmhdtD7w.js} +3 -3
  80. package/dist/{providers-Bxs-XHir.js.map → providers-CmhdtD7w.js.map} +1 -1
  81. package/dist/providers.d.ts +1 -1
  82. package/dist/providers.js +4 -4
  83. package/dist/restate.d.ts +1 -1
  84. package/dist/restate.js +2 -2
  85. package/dist/session/sqlite.d.ts +1 -1
  86. package/dist/session/sqlite.js +1 -1
  87. package/dist/{session-VpLrNaFQ.js → session-CyRLSsVa.js} +2 -2
  88. package/dist/{session-VpLrNaFQ.js.map → session-CyRLSsVa.js.map} +1 -1
  89. package/dist/session.d.ts +1 -1
  90. package/dist/session.js +2 -2
  91. package/dist/{skills-Cp9vnBwd.js → skills-BMGH_KK1.js} +2 -2
  92. package/dist/{skills-Cp9vnBwd.js.map → skills-BMGH_KK1.js.map} +1 -1
  93. package/dist/skills.d.ts +1 -1
  94. package/dist/skills.js +1 -1
  95. package/dist/{timeout-BDetbuN6.js → timeout-CjOG2mea.js} +29 -2
  96. package/dist/timeout-CjOG2mea.js.map +1 -0
  97. package/dist/timeout-DEaqslLO.d.ts.map +1 -1
  98. package/dist/{tool-formatters-BfKqWm5N.d.ts → tool-formatters-D3wSS2zz.d.ts} +2 -2
  99. package/dist/{tool-formatters-BfKqWm5N.d.ts.map → tool-formatters-D3wSS2zz.d.ts.map} +1 -1
  100. package/dist/tools/fetch-url.d.ts +1 -1
  101. package/dist/tools/fetch-url.js +1 -1
  102. package/dist/tools/web-search.d.ts +1 -1
  103. package/dist/tools/web-search.js +2 -2
  104. package/dist/tools.d.ts +1 -1
  105. package/dist/tools.js +1 -1
  106. package/dist/{transcript-anchors-Bv8HQ3S2.js → transcript-anchors-D-Yuimif.js} +177 -63
  107. package/dist/transcript-anchors-D-Yuimif.js.map +1 -0
  108. package/dist/{transcript-anchors-CNqDbrc9.d.ts → transcript-anchors-llwMrLRG.d.ts} +2 -2
  109. package/dist/{transcript-anchors-CNqDbrc9.d.ts.map → transcript-anchors-llwMrLRG.d.ts.map} +1 -1
  110. package/dist/tui.d.ts +24 -29
  111. package/dist/tui.d.ts.map +1 -1
  112. package/dist/tui.js +964 -244
  113. package/dist/tui.js.map +1 -1
  114. package/dist/{turn-operations-iGu5J08j.js → turn-operations-7_Ff7INF.js} +2 -2
  115. package/dist/{turn-operations-iGu5J08j.js.map → turn-operations-7_Ff7INF.js.map} +1 -1
  116. package/dist/{turn-operations-CnIpcenJ.d.ts → turn-operations-C_XvfBU3.d.ts} +3 -3
  117. package/dist/{turn-operations-CnIpcenJ.d.ts.map → turn-operations-C_XvfBU3.d.ts.map} +1 -1
  118. package/dist/types.d.ts +1 -1
  119. package/dist/types.js +1 -1
  120. package/docs/CHAT.md +1 -1
  121. package/docs/TUI.md +4 -4
  122. package/package.json +2 -1
  123. package/dist/agent-8kfGIDb_.js.map +0 -1
  124. package/dist/anthropic-qaw8XAc9.js.map +0 -1
  125. package/dist/index-BSNr0OQn.d.ts.map +0 -1
  126. package/dist/oauth-ZebH9NHb.js.map +0 -1
  127. package/dist/openai-compat-CnHeo4Lz.js.map +0 -1
  128. package/dist/timeout-BDetbuN6.js.map +0 -1
  129. package/dist/transcript-anchors-Bv8HQ3S2.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Al as CompletionReference, Bl as CommandArgSuggestion, Cf as ContextUsageSplit, Dl as CompletionContext, El as ActiveTrigger, Fl as mergeReferences, Il as mergeSuggestions, Ml as applyInsert, Nl as collectReferences, Ol as CompletionItem, Pl as findActiveTrigger, Rl as Command, Sf as ContextSnapshot, _f as ContextExactCounts, bf as ContextItem, cf as ContextSegmentOrigin, df as ContextBreakdown, ff as ContextBreakdownContributionContext, gf as ContextCategoryId, hf as ContextCategory, kl as CompletionProvider, lf as ContextSegmentsInput, mf as ContextBreakdownOptions, of as ContextSegment, pf as ContextBreakdownContributor, sf as ContextSegmentFile, uf as buildContextSegments, vf as ContextExtensionRow, wf as buildContextBreakdown, xf as ContextMcpGroup, yf as ContextExtensionSection } from "../index-BSNr0OQn.js";
2
- import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, I as splitLines, J as SKILLS_TRIGGER, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId } from "../turn-operations-CnIpcenJ.js";
3
- import { $ as retagUserPromptEvents, A as highlightSegments, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, I as searchSessionIndexAsync, J as EDIT_TOOL_NAMES, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, X as isTurnHighlighted, Y as isEditErrorResult, Z as isUserBashEvent, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, q as BASH_CALL_ID_PREFIX, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "../tool-formatters-BfKqWm5N.js";
1
+ import { Af as buildContextBreakdown, Al as CompletionReference, Bl as CommandArgSuggestion, Cf as ContextExactCounts, Df as ContextMcpGroup, Dl as CompletionContext, Ef as ContextItem, El as ActiveTrigger, Fl as mergeReferences, Il as mergeSuggestions, Ml as applyInsert, Nl as collectReferences, Of as ContextSnapshot, Ol as CompletionItem, Pl as findActiveTrigger, Rl as Command, Sf as ContextCategoryId, Tf as ContextExtensionSection, _f as ContextBreakdown, bf as ContextBreakdownOptions, ff as ContextSegment, gf as buildContextSegments, hf as ContextSegmentsInput, kf as ContextUsageSplit, kl as CompletionProvider, mf as ContextSegmentOrigin, pf as ContextSegmentFile, vf as ContextBreakdownContributionContext, wf as ContextExtensionRow, xf as ContextCategory, yf as ContextBreakdownContributor } from "../index-ZWibV230.js";
2
+ import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, I as splitLines, J as SKILLS_TRIGGER, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId } from "../turn-operations-C_XvfBU3.js";
3
+ import { $ as retagUserPromptEvents, A as highlightSegments, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, I as searchSessionIndexAsync, J as EDIT_TOOL_NAMES, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, X as isTurnHighlighted, Y as isEditErrorResult, Z as isUserBashEvent, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, q as BASH_CALL_ID_PREFIX, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "../tool-formatters-D3wSS2zz.js";
4
4
  export { type ActiveTrigger, BASH_CALL_ID_PREFIX, CHATS_TRIGGER, COMMANDS_TRIGGER, type CatalogEntry, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type Command, type CommandArgSuggestion, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type DiffLine, type DiffOp, EDIT_TOOL_NAMES, type EditHunkSummary, type EditSummary, FILES_TRIGGER, type HighlightRange, type HighlightSegment, type HunkResolution, type IndexedSearchTurn, type InlineDiff, type InlineSegment, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type PreviewResult, type PromptSegment, type PromptSegmentRef, SKILLS_TRIGGER, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SessionHistoryMatch, type SessionSearchExcerpt, type SessionSearchIndex, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type ToolDisplayMeta, type ToolFormatLine, ageString, applyEditPayload, applyInsert, blendHsl, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildLinearRamp, buildModelCatalog, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildUnifiedDiff, capTranscriptEvents, chatReferenceTokensFromText, chunkMarkdownForRender, collectReferences, compactPath, computeInlineDiff, computeLineDiff, countNeighbors, createChatsCompletionProvider, createCommandsCompletionProvider, createFilesCompletionProvider, createSkillsCompletionProvider, deleteTurnSafely, displayNameFor, extractEditPayload, filetypeFromPath, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, fmtCost, fmtTokens, formatDuration, formatTaskStatus, formatTaskSummary, formatToolCall, highlightSegments, indexOfEntry, isEditErrorResult, isTurnHighlighted, isUserBashEvent, isVisible, mergeReferences, mergeSuggestions, normalizeMarkdownCodeFences, previewEditPayload, previewLine, retagUserPromptEvents, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectableTurnIds, shortId, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, summarizeEditPayload, summarizeOutcomes, tokenize, truncateTurnsAt, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences };
package/dist/chat/pure.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as buildContextBreakdown, t as buildContextSegments } from "../context-segments-1mcqSCM3.js";
1
+ import { n as buildContextBreakdown, t as buildContextSegments } from "../context-segments-CJCtJ9sU.js";
2
2
  import { a as formatDuration, c as previewLine, i as fmtTokens, l as shortId, n as compactPath, o as formatTaskStatus, r as fmtCost, s as formatTaskSummary, t as ageString } from "../format-BF745pLL.js";
3
3
  import { a as mergeReferences, n as collectReferences, o as mergeSuggestions, r as findActiveTrigger, t as applyInsert } from "../completion-core-BRo86R_L.js";
4
- import { $ as buildContextualDiff, A as createSkillsCompletionProvider, B as EDIT_TOOL_NAMES, C as chunkMarkdownForRender, D as splitMarkdownCodeBlocks, E as normalizeMarkdownCodeFences, F as COMMANDS_TRIGGER, H as isTurnHighlighted, I as createCommandsCompletionProvider, J as selectableTurnIds, L as blendHsl, M as FILES_TRIGGER, N as createFilesCompletionProvider, P as uniqueFilesFromReferences, Q as applyEditPayload, R as buildLinearRamp, S as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, U as isUserBashEvent, V as isEditErrorResult, W as isVisible, Z as turnSelectionOwnership, _ as turnContextSize, _t as summarizeOutcomes, a as TOOL_DISPLAY, at as filetypeFromPath, b as filterModelCatalog, bt as createChatsCompletionProvider, c as MAX_TRANSCRIPT_EVENTS, ct as summarizeEditPayload, d as finalizeStreamingMarkdown, et as buildUnifiedDiff, f as finalizeStreamingMarkdownForOwner, i as turnAsText, it as extractEditPayload, j as uniqueSkillNamesFromReferences, k as SKILLS_TRIGGER, l as TRANSCRIPT_TRIM_TO_EVENTS, lt as tokenize, n as deleteTurnSafely, nt as computeInlineDiff, o as displayNameFor, ot as previewEditPayload, q as retagUserPromptEvents, r as truncateTurnsAt, rt as computeLineDiff, s as formatToolCall, st as splitLines, t as countNeighbors, u as capTranscriptEvents, v as splitPromptSegments, vt as CHATS_TRIGGER, x as indexOfEntry, xt as uniqueChatIdsFromReferences, y as buildModelCatalog, yt as chatReferenceTokensFromText, z as BASH_CALL_ID_PREFIX } from "../turn-operations-iGu5J08j.js";
4
+ import { $ as buildContextualDiff, A as createSkillsCompletionProvider, B as EDIT_TOOL_NAMES, C as chunkMarkdownForRender, D as splitMarkdownCodeBlocks, E as normalizeMarkdownCodeFences, F as COMMANDS_TRIGGER, H as isTurnHighlighted, I as createCommandsCompletionProvider, J as selectableTurnIds, L as blendHsl, M as FILES_TRIGGER, N as createFilesCompletionProvider, P as uniqueFilesFromReferences, Q as applyEditPayload, R as buildLinearRamp, S as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, U as isUserBashEvent, V as isEditErrorResult, W as isVisible, Z as turnSelectionOwnership, _ as turnContextSize, _t as summarizeOutcomes, a as TOOL_DISPLAY, at as filetypeFromPath, b as filterModelCatalog, bt as createChatsCompletionProvider, c as MAX_TRANSCRIPT_EVENTS, ct as summarizeEditPayload, d as finalizeStreamingMarkdown, et as buildUnifiedDiff, f as finalizeStreamingMarkdownForOwner, i as turnAsText, it as extractEditPayload, j as uniqueSkillNamesFromReferences, k as SKILLS_TRIGGER, l as TRANSCRIPT_TRIM_TO_EVENTS, lt as tokenize, n as deleteTurnSafely, nt as computeInlineDiff, o as displayNameFor, ot as previewEditPayload, q as retagUserPromptEvents, r as truncateTurnsAt, rt as computeLineDiff, s as formatToolCall, st as splitLines, t as countNeighbors, u as capTranscriptEvents, v as splitPromptSegments, vt as CHATS_TRIGGER, x as indexOfEntry, xt as uniqueChatIdsFromReferences, y as buildModelCatalog, yt as chatReferenceTokensFromText, z as BASH_CALL_ID_PREFIX } from "../turn-operations-7_Ff7INF.js";
5
5
  import { a as searchHighlightRanges, c as searchSessionHistoryIndexAsync, d as searchSessionTurns, f as searchTurns, i as highlightSegments, l as searchSessionIndex, n as buildSessionSearchIndexAsync, o as searchSessionHistory, p as searchableTurnText, r as filterSessionSearchCatalog, s as searchSessionHistoryIndex, t as buildSessionSearchIndex, u as searchSessionIndexAsync } from "../history-search-C4bk1Wz_.js";
6
6
  export { BASH_CALL_ID_PREFIX, CHATS_TRIGGER, COMMANDS_TRIGGER, EDIT_TOOL_NAMES, FILES_TRIGGER, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, SKILLS_TRIGGER, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, ageString, applyEditPayload, applyInsert, blendHsl, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildLinearRamp, buildModelCatalog, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildUnifiedDiff, capTranscriptEvents, chatReferenceTokensFromText, chunkMarkdownForRender, collectReferences, compactPath, computeInlineDiff, computeLineDiff, countNeighbors, createChatsCompletionProvider, createCommandsCompletionProvider, createFilesCompletionProvider, createSkillsCompletionProvider, deleteTurnSafely, displayNameFor, extractEditPayload, filetypeFromPath, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, fmtCost, fmtTokens, formatDuration, formatTaskStatus, formatTaskSummary, formatToolCall, highlightSegments, indexOfEntry, isEditErrorResult, isTurnHighlighted, isUserBashEvent, isVisible, mergeReferences, mergeSuggestions, normalizeMarkdownCodeFences, previewEditPayload, previewLine, retagUserPromptEvents, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectableTurnIds, shortId, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, summarizeEditPayload, summarizeOutcomes, tokenize, truncateTurnsAt, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences };
package/dist/chat.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { $d as restoreModelOptions, $o as ExtensionToolResultMetadataRegistration, $u as AgentProfile, Aa as discoverExtensions, Ad as toggleChainEntry, Al as CompletionReference, Ao as ExtensionManifest, Au as pendingInteractionsFromTurns, B as McpCredentialStore, Ba as defineExtension, Bd as anthropicDescriptor, Bo as ExtensionRunTransform, Cd as buildRunModel, Cf as ContextUsageSplit, Cl as tokenEndingAtCursor, Cu as QuestionType, Dd as providerKeySetChanged, Dl as CompletionContext, Du as createInteractionTools, Ed as filterChainFallbacks, El as ActiveTrigger, Eo as ExtensionGuiPanel, Eu as buildResumedToolResultsTurn, Fd as BUILTIN_PROVIDERS, Fl as mergeReferences, Fo as ExtensionPaths, Gd as getModelInfo, Gi as AgentHookMap, Gl as CommandInvocation, Go as ExtensionStorageScope, Hd as credKeyOf, Hl as CommandExecution, Ho as ExtensionSessionStateSurface, Id as CustomField, Il as mergeSuggestions, Io as ExtensionPermission, Jd as modelSupportsReasoning, Kd as localDescriptor, Ki as AgentHooks, Kl as CommandOutputBlock, Km as McpToolSchema, Ko as ExtensionStorageSurface, Ld as ModelInfo, Lf as Provider, Li as GenerateStructuredDataOptions, Md as ProviderAuth, Ml as applyInsert, Mo as ExtensionModal, Mu as useInteractionsActions, Nd as ProviderKey, Nl as collectReferences, Nu as useInteractionsQueue, Od as restoreChainFallbacks, Ol as CompletionItem, Oo as ExtensionKeybinding, Ou as isInteractionTool, Pa as scanExtensionDirectories, Pd as detectAuth, Pl as findActiveTrigger, Po as ExtensionOrderedContribution, Qd as piIdOf, Qi as BuildExtensionRegistryOptions, Qu as AgentAccent, Rd as ModelOption, Ri as generateStructuredData, Rl as Command, Ro as ExtensionProviderMiddleware, Sd as ModelChainEntry, Sf as ContextSnapshot, Sl as resolveInlineSuggestion, Su as QuestionResponse, Td as chainsEqual, Tl as useCompletion, To as ExtensionFooterHint, Tu as TextQuestion, Ud as enabledModelOptions, Uo as ExtensionSkillPolicy, Vd as cerebrasDescriptor, Vo as ExtensionRuntimeEnv, Wd as getContextWindow, Wm as McpServerConfig, Wo as ExtensionSource, Xd as openaiDescriptor, Xl as CommandStepContext, Yd as modelsForDescriptor, Yl as CommandStep, Zd as openrouterDescriptor, Zl as CommandStepFn, _d as Screen, _f as ContextExactCounts, _g as SessionStore, _l as InlineAutocompleteContext, _o as ExtensionBehaviorTransform, _u as PlanStep, ad as DEFAULT_PERSIST_EXCLUDE_TOOLS, af as shouldAutoCompact, al as BUILTIN_THEMES, as as LoadedExtension, au as ConfirmQuestion, bd as StreamEvent, bf as ContextItem, bl as createPathAutocompleteProvider, bu as QuestionPayload, cd as resolveAgentId, cf as ContextSegmentOrigin, cl as DEFAULT_THEME, cu as InteractionResponse, dd as EditHunk, df as ContextBreakdown, dl as Theme, du as PRESENT_PLAN_TOOL, ea as buildExtensionPreset, ed as AgentRegistry, ef as AUTO_COMPACT_MIN_GROWTH_FRACTION, el as ResolveStorageDirsOptions, eu as commandSteps, fd as EditOutcome, ff as ContextBreakdownContributionContext, fl as ThemeColors, fu as PendingInteractionEntry, gd as Picked, gf as ContextCategoryId, gl as resolveTheme, go as ExtensionApiVersion, gu as PlanResponse, hd as Owner, hf as ContextCategory, hl as resolveChipColor, hu as PlanRequest, ia as filterExtensionRegistry, id as DEFAULT_BUDGET_EXCLUDE_TOOLS, if as effectiveContextWindow, il as resolveStorageDirs, is as GuiContributions, iu as AnswerValue, ja as inlineLoadedExtension, jd as AuthMethod, jm as AutoCompact, jo as ExtensionMcpConfigTransform, ju as serializeInteractionResponse, ka as defaultExtensionScanPaths, kd as sanitizeModelChain, kl as CompletionProvider, ko as ExtensionKeybindingDispatchContext, ku as makeRequestInteraction, ld as singleAgentRegistry, lf as ContextSegmentsInput, ll as SyntaxStyles, lu as InteractionsActions, md as EditPayload, mf as ContextBreakdownOptions, mh as SessionTurn, ml as ThemeSurfaces, mo as EMPTY_EXTENSION_REGISTRY, mu as PlanPayload, na as composeExtensionPreset, nd as BUILTIN_AGENTS, nf as AutoCompactInput, nl as StorageMode, nu as parseCommandInvocation, oa as mergeContributions, od as PLAN_AGENT, of as ContextSegment, og as SkillConfig, ol as ChipColor, ou as CreateInteractionToolsOptions, pd as EditOutcomeKind, pf as ContextBreakdownContributor, pg as Session, pl as ThemeSelect, pu as PlanDecision, qd as modelOptionsFor, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, rd as DEFAULT_AGENT_ID, rf as OUTPUT_RESERVE_TOKENS, rl as StorageSlot, ru as ASK_USER_TOOL, sa as partitionExtensionCatalog, sd as accentColor, sf as ContextSegmentFile, sl as ChipColorMap, ss as TuiContributions, su as InteractionRequest, t as Preset, ta as buildExtensionRegistry, td as BUILD_AGENT, tf as AutoCompactDecision, tl as StorageDirs, tu as executeCommand, ud as EditDiffDisplay, uf as buildContextSegments, ug as SkillsConfig, ul as SyntaxTokenStyle, uu as InteractionsProvider, vd as SessionMeta, vf as ContextExtensionRow, vl as InlineAutocompleteProvider, vo as ExtensionCapability, vu as Question, wd as chainPositionOf, wf as buildContextBreakdown, wl as CompletionState, wo as ExtensionDefinition, wu as SelectQuestion, xd as ToolCallDisplay, xf as ContextMcpGroup, xl as patchInlineGhost, xo as ExtensionContributions, xu as QuestionRequest, yd as Settings, yf as ContextExtensionSection, yl as InlineGhost, yo as ExtensionContext, yu as QuestionChoice, z as McpCredentialEntry, zc as SourcedScanPath, zd as ProviderDescriptor, zh as ToolDef, zl as CommandAgentResult, zo as ExtensionRegistry } from "./index-BSNr0OQn.js";
2
- import { $ as KeyAction, A as ModelUsageSummary, B as marginTopFor, C as AutoUpdateConfig, D as ResolvedPaths, E as ResolvedConfig, F as deriveSessionTitle, G as toolCallPreview, H as stripSpawnTokensLine, I as eventsFromTurns, J as usageByModel, K as toolResultText, L as lastContextSizeFromTurns, M as TuiState, N as compactSummaryEvent, O as resolveConfig, P as createStateStore, Q as KEYBINDING_KEY_COL_WIDTH, R as listSessionMeta, S as parseMcpsFile, T as ProviderRegistry, U as sumRunCosts, V as saveState, W as titleFromTurns, X as KEYBINDING_DEFS, Y as DEFAULT_KEYBINDINGS, Z as KEYBINDING_DEF_BY_ACTION, _ as DiscoveryResult, _t as Hint, a as SessionExportTarget, at as ensureKeybindingsFile, b as defaultMcpsConfigPaths, bt as truncateTrailing, c as writeSessionExport, ct as keybindingsPath, d as useEnabledToggleSet, dt as parseBindingSpec, et as KeyBindingDef, f as DiscoveredPlugin, ft as readKeybindings, g as DiscoveryError, gt as EMPTY_HINTS, h as DiscoveredMcp, ht as stripJsonComments, i as SessionExportFormat, it as ResolvedExtensionKeybinding, j as StateStoreApi, k as resolveStoragePaths, l as EnabledAllowlistKey, lt as matchesBinding, m as projectUserPaths, mt as resolveExtensionKeybindings, n as computeTurnAnchors, nt as KeyBindings, o as renderSession, ot as formatBindingForDisplay, p as ProjectUserPath, pt as readKeybindingsRaw, q as updateToolEventOutcomes, r as SessionExportAnchor, rt as ParsedBinding, s as resolveSessionExportTarget, st as groupBindings, t as TranscriptItem, tt as KeyBindingSection, u as EnabledToggleSet, ut as mergeKeybindings, v as buildMcpServers, vt as clipHintsToWidth, w as ChatOptions, x as discoverProjectMcps, y as dedupMcpServersByName, yt as hintsLength, z as loadState } from "./transcript-anchors-CNqDbrc9.js";
3
- import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, B as buildEditOutcomesAnnotation, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, G as rewriteMultiEditHeader, H as mergeApprovalAndBodyOutcomes, I as splitLines, J as SKILLS_TRIGGER, K as stripEditOutcomesAnnotation, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, U as parseEditOutcomesFromResult, V as maskToOutcomeKinds, W as resolveApprovalForPayload, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, et as FileEntry, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, nt as listProjectFiles, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, tt as ListProjectFilesOptions, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId, z as ResolvedApproval } from "./turn-operations-CnIpcenJ.js";
4
- import { A as highlightSegments, B as ApprovalDecision, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, G as useSafeModeActions, H as RequestApproval, I as searchSessionIndexAsync, K as useSafeModeQueue, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, U as SafeModeActions, V as ApprovalRequest, W as SafeModeProvider, X as isTurnHighlighted, Y as isEditErrorResult, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, tt as selectionAfterTurnRemoval, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "./tool-formatters-BfKqWm5N.js";
1
+ import { $d as modelOptionsFor, $o as ExtensionToolResultMetadataRegistration, Aa as discoverExtensions, Ad as chainPositionOf, Af as buildContextBreakdown, Al as CompletionReference, Ao as ExtensionManifest, Au as createAutomaticInteractionResponse, B as McpCredentialStore, Ba as defineExtension, Bd as detectAuth, Bo as ExtensionRunTransform, Cd as Screen, Cf as ContextExactCounts, Cg as SessionStore, Cl as tokenEndingAtCursor, Cu as QuestionPayload, Dd as ToolCallDisplay, Df as ContextMcpGroup, Dl as CompletionContext, Du as SelectQuestion, Ed as StreamEvent, Ef as ContextItem, El as ActiveTrigger, Eo as ExtensionGuiPanel, Eu as QuestionType, Fd as sanitizeModelChain, Fl as mergeReferences, Fo as ExtensionPaths, Fu as pendingInteractionsFromTurns, Gd as ProviderDescriptor, Gh as ToolDef, Gi as AgentHookMap, Gl as CommandInvocation, Go as ExtensionStorageScope, Hd as CustomField, Hl as CommandExecution, Ho as ExtensionSessionStateSurface, Id as toggleChainEntry, Il as mergeSuggestions, Io as ExtensionPermission, Iu as serializeInteractionResponse, Jd as credKeyOf, Kd as anthropicDescriptor, Ki as AgentHooks, Kl as CommandOutputBlock, Ko as ExtensionStorageSurface, Ld as AuthMethod, Li as GenerateStructuredDataOptions, Lm as AutoCompact, Lu as useInteractionsActions, Md as filterChainFallbacks, Ml as applyInsert, Mo as ExtensionModal, Mu as isInteractionTool, Nd as providerKeySetChanged, Nl as collectReferences, Nu as isModelInteraction, Od as ModelChainEntry, Of as ContextSnapshot, Ol as CompletionItem, Oo as ExtensionKeybinding, Ou as TextQuestion, Pa as scanExtensionDirectories, Pd as restoreChainFallbacks, Pl as findActiveTrigger, Po as ExtensionOrderedContribution, Pu as makeRequestInteraction, Qd as localDescriptor, Qi as BuildExtensionRegistryOptions, Qm as McpToolSchema, Rd as ProviderAuth, Ri as generateStructuredData, Rl as Command, Ro as ExtensionProviderMiddleware, Ru as useInteractionsQueue, Sd as Picked, Sf as ContextCategoryId, Sl as resolveInlineSuggestion, Su as QuestionChoice, Td as Settings, Tf as ContextExtensionSection, Tl as useCompletion, To as ExtensionFooterHint, Tu as QuestionResponse, Ud as ModelInfo, Uf as Provider, Uo as ExtensionSkillPolicy, Vd as BUILTIN_PROVIDERS, Vo as ExtensionRuntimeEnv, Wd as ModelOption, Wo as ExtensionSource, Xd as getContextWindow, Xl as CommandStepContext, Xm as McpServerConfig, Yd as enabledModelOptions, Yl as CommandStep, Zd as getModelInfo, Zl as CommandStepFn, _d as EditOutcome, _f as ContextBreakdown, _l as InlineAutocompleteContext, _o as ExtensionBehaviorTransform, _u as PlanPayload, ad as AgentRegistry, af as restoreModelOptions, al as BUILTIN_THEMES, as as LoadedExtension, au as AnswerValue, bd as InteractionMode, bf as ContextBreakdownOptions, bh as SessionTurn, bl as createPathAutocompleteProvider, bu as PlanStep, cd as DEFAULT_AGENT_ID, cf as AutoCompactInput, cl as DEFAULT_THEME, cu as HOST_INTERACTION_ID_PREFIX, dd as PLAN_AGENT, df as shouldAutoCompact, dl as Theme, du as InteractionResponse, ea as buildExtensionPreset, ef as modelSupportsReasoning, el as ResolveStorageDirsOptions, eu as commandSteps, fd as accentColor, ff as ContextSegment, fg as SkillConfig, fl as ThemeColors, fu as InteractionsActions, gd as EditHunk, gf as buildContextSegments, gg as SkillsConfig, gl as resolveTheme, go as ExtensionApiVersion, gu as PlanDecision, hd as EditDiffDisplay, hf as ContextSegmentsInput, hl as resolveChipColor, hu as PendingInteractionEntry, ia as filterExtensionRegistry, id as AgentProfile, if as piIdOf, il as resolveStorageDirs, is as GuiContributions, iu as AUTOMATIC_INTERACTION_INSTRUCTION, ja as inlineLoadedExtension, jd as chainsEqual, jo as ExtensionMcpConfigTransform, ju as createInteractionTools, ka as defaultExtensionScanPaths, kd as buildRunModel, kf as ContextUsageSplit, kl as CompletionProvider, ko as ExtensionKeybindingDispatchContext, ku as buildResumedToolResultsTurn, ld as DEFAULT_BUDGET_EXCLUDE_TOOLS, lf as OUTPUT_RESERVE_TOKENS, ll as SyntaxStyles, lu as InteractionOrigin, md as singleAgentRegistry, mf as ContextSegmentOrigin, ml as ThemeSurfaces, mo as EMPTY_EXTENSION_REGISTRY, mu as PRESENT_PLAN_TOOL, na as composeExtensionPreset, nf as openaiDescriptor, nl as StorageMode, nu as parseCommandInvocation, oa as mergeContributions, od as BUILD_AGENT, of as AUTO_COMPACT_MIN_GROWTH_FRACTION, ol as ChipColor, ou as ConfirmQuestion, pd as resolveAgentId, pf as ContextSegmentFile, pl as ThemeSelect, pu as InteractionsProvider, qd as cerebrasDescriptor, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, rd as AgentAccent, rf as openrouterDescriptor, rl as StorageSlot, ru as ASK_USER_TOOL, sa as partitionExtensionCatalog, sd as BUILTIN_AGENTS, sf as AutoCompactDecision, sl as ChipColorMap, ss as TuiContributions, su as CreateInteractionToolsOptions, t as Preset, ta as buildExtensionRegistry, tf as modelsForDescriptor, tl as StorageDirs, tu as executeCommand, ud as DEFAULT_PERSIST_EXCLUDE_TOOLS, uf as effectiveContextWindow, ul as SyntaxTokenStyle, uu as InteractionRequest, vd as EditOutcomeKind, vf as ContextBreakdownContributionContext, vl as InlineAutocompleteProvider, vo as ExtensionCapability, vu as PlanRequest, wd as SessionMeta, wf as ContextExtensionRow, wl as CompletionState, wo as ExtensionDefinition, wu as QuestionRequest, xd as Owner, xf as ContextCategory, xl as patchInlineGhost, xo as ExtensionContributions, xu as Question, yd as EditPayload, yf as ContextBreakdownContributor, yg as Session, yl as InlineGhost, yo as ExtensionContext, yu as PlanResponse, z as McpCredentialEntry, zc as SourcedScanPath, zd as ProviderKey, zl as CommandAgentResult, zo as ExtensionRegistry } from "./index-ZWibV230.js";
2
+ import { $ as KeyAction, A as ModelUsageSummary, B as marginTopFor, C as AutoUpdateConfig, D as ResolvedPaths, E as ResolvedConfig, F as deriveSessionTitle, G as toolCallPreview, H as stripSpawnTokensLine, I as eventsFromTurns, J as usageByModel, K as toolResultText, L as lastContextSizeFromTurns, M as TuiState, N as compactSummaryEvent, O as resolveConfig, P as createStateStore, Q as KEYBINDING_KEY_COL_WIDTH, R as listSessionMeta, S as parseMcpsFile, T as ProviderRegistry, U as sumRunCosts, V as saveState, W as titleFromTurns, X as KEYBINDING_DEFS, Y as DEFAULT_KEYBINDINGS, Z as KEYBINDING_DEF_BY_ACTION, _ as DiscoveryResult, _t as Hint, a as SessionExportTarget, at as ensureKeybindingsFile, b as defaultMcpsConfigPaths, bt as truncateTrailing, c as writeSessionExport, ct as keybindingsPath, d as useEnabledToggleSet, dt as parseBindingSpec, et as KeyBindingDef, f as DiscoveredPlugin, ft as readKeybindings, g as DiscoveryError, gt as EMPTY_HINTS, h as DiscoveredMcp, ht as stripJsonComments, i as SessionExportFormat, it as ResolvedExtensionKeybinding, j as StateStoreApi, k as resolveStoragePaths, l as EnabledAllowlistKey, lt as matchesBinding, m as projectUserPaths, mt as resolveExtensionKeybindings, n as computeTurnAnchors, nt as KeyBindings, o as renderSession, ot as formatBindingForDisplay, p as ProjectUserPath, pt as readKeybindingsRaw, q as updateToolEventOutcomes, r as SessionExportAnchor, rt as ParsedBinding, s as resolveSessionExportTarget, st as groupBindings, t as TranscriptItem, tt as KeyBindingSection, u as EnabledToggleSet, ut as mergeKeybindings, v as buildMcpServers, vt as clipHintsToWidth, w as ChatOptions, x as discoverProjectMcps, y as dedupMcpServersByName, yt as hintsLength, z as loadState } from "./transcript-anchors-llwMrLRG.js";
3
+ import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, B as buildEditOutcomesAnnotation, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, G as rewriteMultiEditHeader, H as mergeApprovalAndBodyOutcomes, I as splitLines, J as SKILLS_TRIGGER, K as stripEditOutcomesAnnotation, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, U as parseEditOutcomesFromResult, V as maskToOutcomeKinds, W as resolveApprovalForPayload, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, et as FileEntry, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, nt as listProjectFiles, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, tt as ListProjectFilesOptions, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId, z as ResolvedApproval } from "./turn-operations-C_XvfBU3.js";
4
+ import { A as highlightSegments, B as ApprovalDecision, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, G as useSafeModeActions, H as RequestApproval, I as searchSessionIndexAsync, K as useSafeModeQueue, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, U as SafeModeActions, V as ApprovalRequest, W as SafeModeProvider, X as isTurnHighlighted, Y as isEditErrorResult, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, tt as selectionAfterTurnRemoval, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "./tool-formatters-D3wSS2zz.js";
5
5
  import { Hookable } from "hookable";
6
6
  import { spawn } from "node:child_process";
7
7
  import { Dispatch, ReactNode, SetStateAction } from "react";
@@ -150,7 +150,7 @@ declare const PLAN_MODE_DOCTRINE = "# Plan mode (read-only)\nYou are in PLAN mod
150
150
  declare const INTERACTION_GUIDANCE = "# Interacting with the user\n- `present_plan` before executing changes the user hasn't seen the shape of: multi-file work they didn't spell out, third-party feedback, shared state (PR branches, CI, releases).\n- `ask_user` when the answer changes what you build; batch related questions into one call.\n- Don't ask what the code can tell you.";
151
151
  /**
152
152
  * Variant of {@link INTERACTION_GUIDANCE} for the no-interactive-prompts
153
- * configuration (`Settings.allowInteraction = false`). The two tools are
153
+ * configuration (`Settings.interactionMode = 'disabled'`). The two tools are
154
154
  * stripped from the agent's tool set; this section tells the model to
155
155
  * operate autonomously and surface assumptions / open questions in its
156
156
  * final prose message rather than via tool calls.
@@ -188,7 +188,7 @@ interface BuildSystemOptions {
188
188
  * Must agree with the host's actual tool wiring — telling the model a
189
189
  * tool exists that the runtime refuses to invoke produces a tool-not-
190
190
  * found loop on first ambiguity. Built-in TUI honors this via
191
- * `Settings.allowInteraction`.
191
+ * `Settings.interactionMode !== 'disabled'`.
192
192
  */
193
193
  allowInteraction?: boolean;
194
194
  /**
@@ -812,6 +812,51 @@ declare function ConfigProvider({
812
812
  }): import("react").JSX.Element;
813
813
  declare function useConfig(): ResolvedConfig;
814
814
  //#endregion
815
+ //#region src/chat/cred-keys.d.ts
816
+ /**
817
+ * Credential-file key arithmetic, split from `./credentials` so the rules can
818
+ * be enforced where credentials themselves must not be pulled in.
819
+ *
820
+ * `./credentials` reaches the provider registry (and through it the pi-ai
821
+ * factories) for `credKeyOf`; the extension loader — an edge entrypoint that
822
+ * validates descriptor keys at registration time — must stay clear of that
823
+ * graph. This module is string arithmetic with no imports.
824
+ */
825
+ /**
826
+ * Reserved suffix marking a provider's SECOND credential slot.
827
+ *
828
+ * Not usable as (or as the tail of) a descriptor's credential key: `foo#alt`
829
+ * holds `foo`'s alternate credential, so a provider claiming that name would
830
+ * share storage with it.
831
+ */
832
+ declare const ALTERNATE_CRED_KEY_SUFFIX = "#alt";
833
+ /**
834
+ * File key holding a provider's second credential, when it has one of each kind.
835
+ *
836
+ * The canonical key always holds the credential the user prefers; this sibling
837
+ * holds the other. That one invariant is what makes preference selection free:
838
+ * every existing reader (`applyApiKeyEnv`, the harness provider factories)
839
+ * already resolves the canonical key, so "switch priority" is just moving two
840
+ * objects between two keys — no precedence flag to interpret, no resolution
841
+ * order to keep in sync across layers.
842
+ *
843
+ * A sibling key rather than a nested field because the canonical entry gets
844
+ * REPLACED wholesale on token refresh; anything nested inside it would be
845
+ * dropped by the next rotation. And older zidane versions look credentials up
846
+ * by `credKeyOf`, so a suffixed key is simply invisible to them — they read the
847
+ * preferred credential and behave exactly as before, which is why this needs no
848
+ * migration or schema version.
849
+ */
850
+ declare function alternateCredKey(fileKey: string): string;
851
+ /**
852
+ * True when a key claims the reserved alternate namespace.
853
+ *
854
+ * Built-in keys are plain identifiers (`anthropic`, `openai-codex`), but
855
+ * `ProviderDescriptor.key` / `credentialFileKey` are open strings — so the
856
+ * reservation is checked, not assumed.
857
+ */
858
+ declare function isReservedCredKey(fileKey: string): boolean;
859
+ //#endregion
815
860
  //#region src/chat/credentials.d.ts
816
861
  interface ApiKeyCredential {
817
862
  kind: 'apikey';
@@ -859,6 +904,14 @@ declare function credentialsPath(dataDir: string): string;
859
904
  declare function readCredentials(dataDir: string): CredentialsFile;
860
905
  /** Read a single provider's credential (translating via the descriptor). */
861
906
  declare function readProviderCredential(dataDir: string, descriptor: ProviderDescriptor): ProviderCredential | undefined;
907
+ /**
908
+ * Both stored credentials for a provider: `active` is the one every reader
909
+ * resolves, `alternate` is the stored-but-not-preferred one (if any).
910
+ */
911
+ declare function readProviderCredentialPair(dataDir: string, descriptor: ProviderDescriptor): {
912
+ active?: ProviderCredential;
913
+ alternate?: ProviderCredential;
914
+ };
862
915
  /**
863
916
  * Write credentials atomically (write-then-rename) with mode 0o600.
864
917
  *
@@ -867,7 +920,37 @@ declare function readProviderCredential(dataDir: string, descriptor: ProviderDes
867
920
  * (first launch on a fresh machine: `~/.zidane/` may not exist yet).
868
921
  */
869
922
  declare function writeCredentials(dataDir: string, creds: CredentialsFile): void;
923
+ /**
924
+ * Store a credential as the provider's preferred one.
925
+ *
926
+ * A credential of the OTHER kind already in the canonical slot is demoted to
927
+ * {@link alternateCredKey}, not destroyed: authenticating with OAuth used to
928
+ * silently delete a working API key (and vice versa), leaving the user to
929
+ * re-enter it. Replacing a credential of the SAME kind is a plain overwrite —
930
+ * that's a re-auth, not a second source.
931
+ *
932
+ * The pair holds AT MOST ONE credential of each kind. A same-kind alternate is
933
+ * therefore stale — no code path here can produce one, but a file written by an
934
+ * older build can carry it, and it would surface as two identical source rows
935
+ * that "switch" between each other. Dropping it on the next write self-heals.
936
+ */
870
937
  declare function setProviderCredential(dataDir: string, descriptor: ProviderDescriptor, cred: ProviderCredential): void;
938
+ /**
939
+ * Make the provider's stored `source` credential the preferred one.
940
+ *
941
+ * No-op unless a credential of that kind is sitting in the alternate slot, so
942
+ * calling it for the already-active source is harmless.
943
+ */
944
+ declare function setPreferredCredential(dataDir: string, descriptor: ProviderDescriptor, source: ProviderCredential['kind']): void;
945
+ /**
946
+ * Sign a provider out — drops BOTH stored credentials.
947
+ *
948
+ * "Signed out" has to mean the provider resolves nothing afterwards, which is
949
+ * what this has always guaranteed and what callers named it for; promoting the
950
+ * alternate instead would silently leave the provider authenticated through the
951
+ * other source. Callers that want the fall-back behavior can read the pair
952
+ * first ({@link readProviderCredentialPair}) and re-store the survivor.
953
+ */
871
954
  declare function removeProviderCredential(dataDir: string, descriptor: ProviderDescriptor): void;
872
955
  /**
873
956
  * Reconcile `process.env` with the stored credentials so the harness providers
@@ -900,7 +983,9 @@ declare function removeProviderCredential(dataDir: string, descriptor: ProviderD
900
983
  * Descriptors without an `envKey` (OAuth-only providers, custom providers
901
984
  * that bypass env-var resolution) are skipped silently.
902
985
  */
903
- declare function applyApiKeyEnv(dataDir: string, registry: Readonly<Record<string, ProviderDescriptor>>): void;
986
+ declare function applyApiKeyEnv(dataDir: string, registry: Readonly<Record<string, ProviderDescriptor>>, opts?: {
987
+ log?: (message: string) => void;
988
+ }): void;
904
989
  //#endregion
905
990
  //#region src/chat/discovery-context.d.ts
906
991
  interface DiscoveryContextValue {
@@ -1104,6 +1189,17 @@ interface BuildHintsOptions {
1104
1189
  activeSkillCount: number;
1105
1190
  /** Foreground for the skills chip (typically `COLOR.brand`). */
1106
1191
  skillsChipColor: string;
1192
+ /**
1193
+ * Progress label for the todo chip (`"2/5"` from `todoProgressLabel`), or
1194
+ * `null` to hide it.
1195
+ *
1196
+ * This replaced a full-width bar that printed the in-progress todo's TITLE
1197
+ * ABOVE the prompt. As a `Hint` it inherits the row's click-to-keypress
1198
+ * contract for free (`dispatchHintKey`), so clicking it opens the list the
1199
+ * same way `ctrl+t` does — and it sits below the prompt like every other
1200
+ * control instead of pushing the prompt down.
1201
+ */
1202
+ todoProgress: string | null;
1107
1203
  /**
1108
1204
  * Pre-built `↑ vX.Y.Z` chip from `buildUpdateHint(useUpdateCheck())`,
1109
1205
  * or `null` when no update is available. Always last in the chat-screen
@@ -2504,8 +2600,18 @@ declare function getTodosForRun(session: Session, runId: string): TodoItem[];
2504
2600
  * clearing the live list (whether explicitly or via the tool's auto-
2505
2601
  * clear) preserves the "last shown" snapshot so UI surfaces can keep
2506
2602
  * rendering what was just completed. See {@link getArchivedTodosForRun}.
2603
+ *
2604
+ * `opts.clearArchive` opts OUT of that preservation, and exists because the
2605
+ * archive is only the right answer for the AUTO-CLEAR path. UI surfaces render
2606
+ * `todos.length > 0 ? todos : archive`, so a user who deletes every todo would
2607
+ * otherwise watch the archive fall straight back into view with the same items
2608
+ * — a destructive action they confirmed, with no visible effect, and the footer
2609
+ * chip still counting the list they just deleted. Pass it for user-initiated
2610
+ * writes; leave it off for the tool.
2507
2611
  */
2508
- declare function setTodosForRun(session: Session, runId: string, items: readonly TodoItem[]): void;
2612
+ declare function setTodosForRun(session: Session, runId: string, items: readonly TodoItem[], opts?: {
2613
+ clearArchive?: boolean;
2614
+ }): void;
2509
2615
  /**
2510
2616
  * Read the archived (most-recent non-empty) list for `runId`. Same slot
2511
2617
  * routing as {@link getTodosForRun}, but reads `bag.archive` instead of
@@ -2718,5 +2824,5 @@ declare function renderActiveTodoAnchor(todos: readonly TodoItem[], options?: Ac
2718
2824
  */
2719
2825
  declare function createActiveTodoAnchorHooks(options?: ActiveTodoAnchorOptions): AgentHookMap;
2720
2826
  //#endregion
2721
- export { ACTIONS_WITH_CARE_DOCTRINE, ASK_USER_TOOL, AUTO_COMPACT_MIN_GROWTH_FRACTION, type ActiveTodoAnchorOptions, type ActiveTodosState, type ActiveTrigger, type AgentAccent, type AgentProfile, type AgentRegistry, type AgentsMdFile, type AgentsMdResult, type AnswerValue, type ApiKeyCredential, type ApprovalDecision, type ApprovalRequest, type AuthMethod, type AutoCompactDecision, type AutoCompactInput, type AutoUpdateConfig, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, type BooleanSettingKey, type BuildExtensionRegistryOptions, type BuildHintsOptions, type BuildSystemOptions, type BuildUpdateHintOptions, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, type CachedMcpToolList, type CatalogEntry, type ChatOptions, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type ChatTurnsReadToolOptions, type CheckForUpdateOptions, type ChipColor, type ChipColorMap, type ClaudeCopyResult, type ClaudeImportOptions, type ClaudeImportSummary, type ClaudeSessionImportResult, type Command, type CommandAgentResult, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type Commit, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type CompletionState, ConfigProvider, type ConfirmQuestion, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveryContextValue, type DiscoveryError, DiscoveryProvider, type DiscoveryResult, type DiscoverySlot, type DiscoverySlotOptions, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, type EditDiffDisplay, type EditHunk, type EditHunkSummary, type EditOutcome, type EditOutcomeKind, type EditPayload, type EditSummary, type EnabledAllowlistKey, type EnabledToggleSet, type EnvSectionOptions, type ExtensionApiVersion, type ExtensionBehaviorTransform, type ExtensionCapability, type ExtensionContext, type ExtensionContributions, type ExtensionDefinition, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionSessionStateSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolResultMetadataRegistration, FILES_TRIGGER, type FetchOAuthRedirectResult, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, type HighlightRange, type HighlightSegment, type Hint, type HunkResolution, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, type InPlaceUpdateResult, type IndexedSearchTurn, type InlineAutocompleteContext, type InlineAutocompleteProvider, type InlineDiff, type InlineGhost, type InlineSegment, type InteractionRequest, type InteractionResponse, type InteractionsActions, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, type KeyAction, type KeyBindingDef, type KeyBindingSection, type KeyBindings, type ListProjectFilesOptions, type LoadedExtension, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type McpAuthEvent, McpAuthProvider, type McpAuthStateMap, type McpAuthStatus, type McpConfigScope, type McpToolToggleSet, type McpToolsCache, type ModelChainEntry, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, OUTPUT_RESERVE_TOKENS, type Owner, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, type PackageManagerCommand, type PackageManagerId, type ParsedBinding, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunUpdateCommandOptions, type RunUpdateCommandResult, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, type SafeModeActions, SafeModeProvider, type Screen, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SelectQuestion, type SelfUpdateResult, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamSource, type StringSettingKey, type SyntaxStyles, type SyntaxTokenStyle, type SystemMdFile, type SystemMdResult, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, type UpdateStatus, type UpsertMcpResult, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, type Walk, accentColor, addToSafelist, ageString, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isOnSafelist, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
2827
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, type ActiveTodoAnchorOptions, type ActiveTodosState, type ActiveTrigger, type AgentAccent, type AgentProfile, type AgentRegistry, type AgentsMdFile, type AgentsMdResult, type AnswerValue, type ApiKeyCredential, type ApprovalDecision, type ApprovalRequest, type AuthMethod, type AutoCompactDecision, type AutoCompactInput, type AutoUpdateConfig, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, type BooleanSettingKey, type BuildExtensionRegistryOptions, type BuildHintsOptions, type BuildSystemOptions, type BuildUpdateHintOptions, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, type CachedMcpToolList, type CatalogEntry, type ChatOptions, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type ChatTurnsReadToolOptions, type CheckForUpdateOptions, type ChipColor, type ChipColorMap, type ClaudeCopyResult, type ClaudeImportOptions, type ClaudeImportSummary, type ClaudeSessionImportResult, type Command, type CommandAgentResult, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type Commit, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type CompletionState, ConfigProvider, type ConfirmQuestion, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveryContextValue, type DiscoveryError, DiscoveryProvider, type DiscoveryResult, type DiscoverySlot, type DiscoverySlotOptions, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, type EditDiffDisplay, type EditHunk, type EditHunkSummary, type EditOutcome, type EditOutcomeKind, type EditPayload, type EditSummary, type EnabledAllowlistKey, type EnabledToggleSet, type EnvSectionOptions, type ExtensionApiVersion, type ExtensionBehaviorTransform, type ExtensionCapability, type ExtensionContext, type ExtensionContributions, type ExtensionDefinition, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionSessionStateSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolResultMetadataRegistration, FILES_TRIGGER, type FetchOAuthRedirectResult, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, HOST_INTERACTION_ID_PREFIX, type HighlightRange, type HighlightSegment, type Hint, type HunkResolution, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, type InPlaceUpdateResult, type IndexedSearchTurn, type InlineAutocompleteContext, type InlineAutocompleteProvider, type InlineDiff, type InlineGhost, type InlineSegment, type InteractionMode, type InteractionOrigin, type InteractionRequest, type InteractionResponse, type InteractionsActions, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, type KeyAction, type KeyBindingDef, type KeyBindingSection, type KeyBindings, type ListProjectFilesOptions, type LoadedExtension, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type McpAuthEvent, McpAuthProvider, type McpAuthStateMap, type McpAuthStatus, type McpConfigScope, type McpToolToggleSet, type McpToolsCache, type ModelChainEntry, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, OUTPUT_RESERVE_TOKENS, type Owner, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, type PackageManagerCommand, type PackageManagerId, type ParsedBinding, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunUpdateCommandOptions, type RunUpdateCommandResult, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, type SafeModeActions, SafeModeProvider, type Screen, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SelectQuestion, type SelfUpdateResult, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamSource, type StringSettingKey, type SyntaxStyles, type SyntaxTokenStyle, type SystemMdFile, type SystemMdResult, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, type UpdateStatus, type UpsertMcpResult, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, type Walk, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isReservedCredKey, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
2722
2828
  //# sourceMappingURL=chat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","names":[],"sources":["../src/tools/read-chat-turns.ts","../src/chat/agent-prompt.ts","../src/chat/agents-md.ts","../src/chat/auto-compact.ts","../src/chat/auto-update.ts","../src/chat/auto-update-cli.ts","../src/chat/auto-update-hook.ts","../src/chat/boot-profiler.ts","../src/chat/browser.ts","../src/chat/claude-import.ts","../src/chat/config-context.tsx","../src/chat/credentials.ts","../src/chat/discovery-context.tsx","../src/chat/discovery-slot.ts","../src/chat/footer-hints.ts","../src/chat/generate-title.ts","../src/chat/mcp-auth-state.ts","../src/chat/mcp-auth-context.tsx","../src/chat/mcp-credentials.ts","../src/chat/mcp-rows.ts","../src/chat/mcp-tool-toggle.ts","../src/chat/mcp-tools-cache.ts","../src/chat/mcps-write.ts","../src/chat/oauth.ts","../src/chat/oauth-redirect.ts","../src/chat/path-display.ts","../src/chat/project-root.ts","../src/chat/safe-mode.ts","../src/chat/settings-context.tsx","../src/chat/skills-discovery.ts","../src/chat/streaming.ts","../src/chat/system-md.ts","../src/chat/theme-context.tsx","../src/chat/themes/catppuccin.ts","../src/chat/themes/gruvbox.ts","../src/chat/themes/vaporwave.ts","../src/chat/todos.ts","../src/chat/todo-anchor.ts"],"mappings":";;;;;;;;;;UAWiB,wBAAA;EACf,KAAA,EAAO,YAAY;EACnB,gBAAA;AAAA;AAAA,iBAGc,uBAAA,CAAwB,OAAA,EAAS,wBAAA,GAA2B,OAAO;AAAA,iBA2EnE,4BAAA,CAA6B,MAAc;;;;;;;;;;;;;;;AAhF3D;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;cClDa,eAAA;AAAA,UAOI,iBAAA;;;AAPjB;;;;EAcE,GAAA;EAPe;;;;;;;;;AAsBP;EAJR,WAAA;EAqBwB;EAnBxB,IAAA;EAmB+B;EAjB/B,QAAA;AAAA;;;;AAqD+B;AAsCjC;;;;AAAsC;AA6BtC;;;;AAAmC;iBAvGnB,UAAA,CAAW,IAAuB,EAAjB,iBAAiB;;;;AAmHX;AAYvC;;;;cA3Fa,oBAAA;AAsJb;;;;AAA0C;AAY1C;;AAZA,cAhHa,yBAAA;AAsNb;;;;AAA8D;AAmC9D;;AAnCA,cAzLa,sBAAA;;AA4NgD;;;;AC7W7D;;cD6Ja,0BAAA;;;;;;AC1JH;AAIV;;;cDkKa,iBAAA;;;;;AC1JN;AAmBP;cDiJa,kBAAA;;;ACjJY;AAEzB;;;;cD+Ja,oBAAA;;;;;;;;cAwBA,+BAAA;ACzCb;;;;AAAkE;;AAAlE,cDkDa,6BAAA;AAAA,UAYI,kBAAA;EE/PD;EFiQd,GAAA;;;;;;;;EAQA,WAAA;EE9PmC;EFgQnC,IAAA;EE/PE;EFiQF,QAAA;EEjQa;;;;ACDf;;;;;;;;EH+QE,gBAAA;EG5PA;;;;;;;;;EHsQA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version":3,"file":"chat.d.ts","names":[],"sources":["../src/tools/read-chat-turns.ts","../src/chat/agent-prompt.ts","../src/chat/agents-md.ts","../src/chat/auto-compact.ts","../src/chat/auto-update.ts","../src/chat/auto-update-cli.ts","../src/chat/auto-update-hook.ts","../src/chat/boot-profiler.ts","../src/chat/browser.ts","../src/chat/claude-import.ts","../src/chat/config-context.tsx","../src/chat/cred-keys.ts","../src/chat/credentials.ts","../src/chat/discovery-context.tsx","../src/chat/discovery-slot.ts","../src/chat/footer-hints.ts","../src/chat/generate-title.ts","../src/chat/mcp-auth-state.ts","../src/chat/mcp-auth-context.tsx","../src/chat/mcp-credentials.ts","../src/chat/mcp-rows.ts","../src/chat/mcp-tool-toggle.ts","../src/chat/mcp-tools-cache.ts","../src/chat/mcps-write.ts","../src/chat/oauth.ts","../src/chat/oauth-redirect.ts","../src/chat/path-display.ts","../src/chat/project-root.ts","../src/chat/safe-mode.ts","../src/chat/settings-context.tsx","../src/chat/skills-discovery.ts","../src/chat/streaming.ts","../src/chat/system-md.ts","../src/chat/theme-context.tsx","../src/chat/themes/catppuccin.ts","../src/chat/themes/gruvbox.ts","../src/chat/themes/vaporwave.ts","../src/chat/todos.ts","../src/chat/todo-anchor.ts"],"mappings":";;;;;;;;;;UAWiB,wBAAA;EACf,KAAA,EAAO,YAAY;EACnB,gBAAA;AAAA;AAAA,iBAGc,uBAAA,CAAwB,OAAA,EAAS,wBAAA,GAA2B,OAAO;AAAA,iBA2EnE,4BAAA,CAA6B,MAAc;;;;;;;;;;;;;;;AAhF3D;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;cClDa,eAAA;AAAA,UAOI,iBAAA;;;AAPjB;;;;EAcE,GAAA;EAPe;;;;;;;;;AAsBP;EAJR,WAAA;EAqBwB;EAnBxB,IAAA;EAmB+B;EAjB/B,QAAA;AAAA;;;;AAqD+B;AAsCjC;;;;AAAsC;AA6BtC;;;;AAAmC;iBAvGnB,UAAA,CAAW,IAAuB,EAAj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S,OAAA,EAAS,KAAA,WAAgB,QAAQ;;;;;;;;;;;;;;;iBA0BjE,eAAA,CAAgB,OAAA,EAAS,OAAO;EAAK,OAAA;AAAA;AjC1V5C;AAqCT;;;;;;;;;;AAAqG;AAarG;;;;AAAkD;AAsJlD;;;;;;;;;;;;;AAA0F;AA+K1F;;;;;;;;AAAmG;AA8GnG;;;;;;;;;;;;;;;;;;;AAreS,iBiCidO,eAAA,CAAgB,OAAA,GAAS,sBAAA,GAA8B,MAAM;AAAA,UAoa5D,SAAA;EACf,OAAA;EACA,WAAA;EACA,SAAA;EACA,SAAA;AAAA;AAAA,UAGe,gBAAA;EjC1YT;EiC4YN,KAAA;EjC1YA;;;;;EiCgZA,KAAA,WAAgB,QAAA;EjC3YD;;;;;;;;;EiCqZf,OAAA,WAAkB,QAAA;EjCvYE;;;;;;EiC8YpB,UAAA,EAAY,QAAA;EjC9YqE;;;;;EiCoZjF,KAAA,EAAO,SAAA;AAAA;AjC/UT;;;;;;;;;;;;;;;AAAA,iBiC0WgB,eAAA,CAAgB,OAAmC,EAA1B,OAAO;;AjC1V3B;AAGrB;;;;;;;iBiCsXgB,iBAAA,CAAkB,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;;;;;;;;;;AjCnEhF;AAGR;;;;iBiCwIgB,cAAA,CAAe,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;UC5pCpE,uBAAA;EACf,OAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,iBAGc,sBAAA,CACd,KAAA,WAAgB,QAAA,IAChB,OAAA,GAAS,uBAA4B;;;;;AtCFvC;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;AAA2D;;;;AClD3D;;;iBqCqBgB,2BAAA,CAA4B,OAAA,GAAS,uBAAA,GAA+B,YAAY"}
package/dist/chat.js CHANGED
@@ -1,15 +1,15 @@
1
- import { n as buildContextBreakdown, t as buildContextSegments } from "./context-segments-1mcqSCM3.js";
2
- import { $t as groupBindings, Dn as OUTPUT_RESERVE_TOKENS, En as AUTO_COMPACT_MIN_GROWTH_FRACTION, Jt as KEYBINDING_DEFS, On as effectiveContextWindow, Qt as formatBindingForDisplay, Xt as KEYBINDING_KEY_COL_WIDTH, Y as EMPTY_EXTENSION_REGISTRY, Yt as KEYBINDING_DEF_BY_ACTION, Zt as ensureKeybindingsFile, _n as defineExtension, an as readKeybindingsRaw, ct as buildExtensionRegistry, dn as discoverExtensions, dt as filterExtensionRegistry, en as keybindingsPath, fn as inlineLoadedExtension, hn as scanExtensionDirectories, in as readKeybindings, kn as shouldAutoCompact, lt as composeExtensionPreset, mt as partitionExtensionCatalog, nn as mergeKeybindings, on as resolveExtensionKeybindings, pt as mergeContributions, qt as DEFAULT_KEYBINDINGS, rn as parseBindingSpec, sn as stripJsonComments, st as buildExtensionPreset, tn as matchesBinding, un as defaultExtensionScanPaths, ut as disposeExtensionRegistry } from "./agent-8kfGIDb_.js";
1
+ import { n as buildContextBreakdown, t as buildContextSegments } from "./context-segments-CJCtJ9sU.js";
2
+ import { $t as groupBindings, An as OUTPUT_RESERVE_TOKENS, Jt as KEYBINDING_DEFS, Mn as shouldAutoCompact, Qt as formatBindingForDisplay, Xt as KEYBINDING_KEY_COL_WIDTH, Y as EMPTY_EXTENSION_REGISTRY, Yt as KEYBINDING_DEF_BY_ACTION, Zt as ensureKeybindingsFile, an as readKeybindingsRaw, bn as defineExtension, cn as ALTERNATE_CRED_KEY_SUFFIX, ct as buildExtensionRegistry, dt as filterExtensionRegistry, en as keybindingsPath, hn as inlineLoadedExtension, in as readKeybindings, jn as effectiveContextWindow, kn as AUTO_COMPACT_MIN_GROWTH_FRACTION, ln as alternateCredKey, lt as composeExtensionPreset, mn as discoverExtensions, mt as partitionExtensionCatalog, nn as mergeKeybindings, on as resolveExtensionKeybindings, pn as defaultExtensionScanPaths, pt as mergeContributions, qt as DEFAULT_KEYBINDINGS, rn as parseBindingSpec, sn as stripJsonComments, st as buildExtensionPreset, tn as matchesBinding, un as isReservedCredKey, ut as disposeExtensionRegistry, vn as scanExtensionDirectories } from "./agent-CcTWL-Z6.js";
3
3
  import { a as formatDuration, c as previewLine, i as fmtTokens, l as shortId, n as compactPath, o as formatTaskStatus, r as fmtCost, s as formatTaskSummary, t as ageString } from "./format-BF745pLL.js";
4
- import { R as projectUserPaths, z as findGitRoot } from "./skills-Cp9vnBwd.js";
5
- import { p as resolveStorageDirs } from "./plugins-2PMTVcp-.js";
4
+ import { R as projectUserPaths, z as findGitRoot } from "./skills-BMGH_KK1.js";
5
+ import { p as resolveStorageDirs } from "./plugins-onDvTHEm.js";
6
6
  import { appendDynamicSection } from "./prompt.js";
7
7
  import { a as generateStructuredData, c as shouldAutoGenerateTitle, g as parseCommandInvocation, h as executeCommand, i as tokenEndingAtCursor, m as commandSteps, n as patchInlineGhost, o as cleanTitle, r as resolveInlineSuggestion, s as generateSessionTitle, t as createPathAutocompleteProvider } from "./inline-autocomplete-D0MPvBaS.js";
8
8
  import { a as mergeReferences, n as collectReferences, o as mergeSuggestions, r as findActiveTrigger, t as applyInsert } from "./completion-core-BRo86R_L.js";
9
- import { C as restoreModelOptions, S as piIdOf, _ as modelOptionsFor, a as readProviderCredential, b as openaiDescriptor, c as writeCredentials, d as cerebrasDescriptor, f as credKeyOf, g as localDescriptor, h as getModelInfo, i as readCredentials, l as BUILTIN_PROVIDERS, m as getContextWindow, n as applyApiKeyEnv, o as removeProviderCredential, p as enabledModelOptions, r as credentialsPath, s as setProviderCredential, t as detectAuth, u as anthropicDescriptor, v as modelSupportsReasoning, x as openrouterDescriptor, y as modelsForDescriptor } from "./auth-BLy7X1SY.js";
10
- import { $ as buildContextualDiff, A as createSkillsCompletionProvider, C as chunkMarkdownForRender, D as splitMarkdownCodeBlocks, E as normalizeMarkdownCodeFences, F as COMMANDS_TRIGGER, H as isTurnHighlighted, I as createCommandsCompletionProvider, J as selectableTurnIds, L as blendHsl, M as FILES_TRIGGER, N as createFilesCompletionProvider, P as uniqueFilesFromReferences, Q as applyEditPayload, R as buildLinearRamp, S as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, V as isEditErrorResult, W as isVisible, Y as selectionAfterTurnRemoval, Z as turnSelectionOwnership, _ as turnContextSize, _t as summarizeOutcomes, a as TOOL_DISPLAY, at as filetypeFromPath, b as filterModelCatalog, bt as createChatsCompletionProvider, c as MAX_TRANSCRIPT_EVENTS, ct as summarizeEditPayload, d as finalizeStreamingMarkdown, dt as maskToOutcomeKinds, et as buildUnifiedDiff, f as finalizeStreamingMarkdownForOwner, ft as mergeApprovalAndBodyOutcomes, gt as stripEditOutcomesAnnotation, ht as rewriteMultiEditHeader, i as turnAsText, it as extractEditPayload, j as uniqueSkillNamesFromReferences, k as SKILLS_TRIGGER, l as TRANSCRIPT_TRIM_TO_EVENTS, lt as tokenize, mt as resolveApprovalForPayload, n as deleteTurnSafely, nt as computeInlineDiff, o as displayNameFor, ot as previewEditPayload, pt as parseEditOutcomesFromResult, r as truncateTurnsAt, rt as computeLineDiff, s as formatToolCall, st as splitLines, t as countNeighbors, u as capTranscriptEvents, ut as buildEditOutcomesAnnotation, v as splitPromptSegments, vt as CHATS_TRIGGER, x as indexOfEntry, xt as uniqueChatIdsFromReferences, y as buildModelCatalog, yt as chatReferenceTokensFromText } from "./turn-operations-iGu5J08j.js";
9
+ import { C as openrouterDescriptor, S as openaiDescriptor, T as restoreModelOptions, _ as getModelInfo, a as readProviderCredential, b as modelSupportsReasoning, c as setPreferredCredential, d as BUILTIN_PROVIDERS, f as anthropicDescriptor, g as getContextWindow, h as enabledModelOptions, i as readCredentials, l as setProviderCredential, m as credKeyOf, n as applyApiKeyEnv, o as readProviderCredentialPair, p as cerebrasDescriptor, r as credentialsPath, s as removeProviderCredential, t as detectAuth, u as writeCredentials, v as localDescriptor, w as piIdOf, x as modelsForDescriptor, y as modelOptionsFor } from "./auth-BAclQnl3.js";
10
+ import { $ as buildContextualDiff, A as createSkillsCompletionProvider, C as chunkMarkdownForRender, D as splitMarkdownCodeBlocks, E as normalizeMarkdownCodeFences, F as COMMANDS_TRIGGER, H as isTurnHighlighted, I as createCommandsCompletionProvider, J as selectableTurnIds, L as blendHsl, M as FILES_TRIGGER, N as createFilesCompletionProvider, P as uniqueFilesFromReferences, Q as applyEditPayload, R as buildLinearRamp, S as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, V as isEditErrorResult, W as isVisible, Y as selectionAfterTurnRemoval, Z as turnSelectionOwnership, _ as turnContextSize, _t as summarizeOutcomes, a as TOOL_DISPLAY, at as filetypeFromPath, b as filterModelCatalog, bt as createChatsCompletionProvider, c as MAX_TRANSCRIPT_EVENTS, ct as summarizeEditPayload, d as finalizeStreamingMarkdown, dt as maskToOutcomeKinds, et as buildUnifiedDiff, f as finalizeStreamingMarkdownForOwner, ft as mergeApprovalAndBodyOutcomes, gt as stripEditOutcomesAnnotation, ht as rewriteMultiEditHeader, i as turnAsText, it as extractEditPayload, j as uniqueSkillNamesFromReferences, k as SKILLS_TRIGGER, l as TRANSCRIPT_TRIM_TO_EVENTS, lt as tokenize, mt as resolveApprovalForPayload, n as deleteTurnSafely, nt as computeInlineDiff, o as displayNameFor, ot as previewEditPayload, pt as parseEditOutcomesFromResult, r as truncateTurnsAt, rt as computeLineDiff, s as formatToolCall, st as splitLines, t as countNeighbors, u as capTranscriptEvents, ut as buildEditOutcomesAnnotation, v as splitPromptSegments, vt as CHATS_TRIGGER, x as indexOfEntry, xt as uniqueChatIdsFromReferences, y as buildModelCatalog, yt as chatReferenceTokensFromText } from "./turn-operations-7_Ff7INF.js";
11
11
  import { a as searchHighlightRanges, c as searchSessionHistoryIndexAsync, d as searchSessionTurns, f as searchTurns, i as highlightSegments, l as searchSessionIndex, n as buildSessionSearchIndexAsync, o as searchSessionHistory, p as searchableTurnText, r as filterSessionSearchCatalog, s as searchSessionHistoryIndex, t as buildSessionSearchIndex, u as searchSessionIndexAsync } from "./history-search-C4bk1Wz_.js";
12
- import { $ as McpAuthProvider, $n as setTodosForRun, $t as filterChainFallbacks, A as writeProjects, An as discoverAgentsMd, Ar as toolCallPreview, At as useSettings, B as mcpToolsCachePath, Bn as singleAgentRegistry, Bt as CATPPUCCIN_MACCHIATO, C as addToSafelist, Cn as detectLibc, Cr as loadState, Ct as DEFAULT_SETTINGS, D as projectsFilePath, Dn as performSelfUpdate, Dr as stripSpawnTokensLine, Dt as SETTINGS_TOGGLES, E as matchesSafelistEntry, En as performInPlaceSelfUpdate, Et as SETTINGS_INPUTS, F as oauthUsesManualCodePaste, Fn as DEFAULT_BUDGET_EXCLUDE_TOOLS, Ft as VAPORWAVE_THEME, G as useMcpToolToggleMap, Gn as TODO_WRITE_COUNTS_METADATA_KEY, Gt as useDiscoveryOptional, H as saveMcpToolsCache, Hn as TODOS_METADATA_KEY, Ht as createDiscoverySlot, I as runOAuthLogin, In as DEFAULT_PERSIST_EXCLUDE_TOOLS, It as GRUVBOX_DARK, J as indexOfServerRow, Jn as getTodosForRun, Jt as resolveConfig, K as useMcpToolToggleSet, Kn as createTodoTools, Kt as ConfigProvider, L as supportsOAuth, Ln as PLAN_AGENT, Lt as GRUVBOX_LIGHT, M as fetchOAuthRedirect, Mn as BUILD_AGENT, Mr as updateToolEventOutcomes, Mt as DEFAULT_THEME, N as normalizeRedirectPaste, Nn as BUILTIN_AGENTS, Nr as usageByModel, Nt as resolveChipColor, O as readProjects, On as resolvePlatformPackage, Or as sumRunCosts, Ot as SettingsProvider, P as redirectUriFromAuthUrl, Pn as DEFAULT_AGENT_ID, Pt as resolveTheme, Q as patchMcpCredential, Qn as selectActiveTodos, Qt as chainsEqual, R as clearMcpToolsCache, Rn as accentColor, Rt as CATPPUCCIN_FRAPPE, S as IMPLICITLY_SAFE_TOOLS, Sn as compareSemver, Sr as listSessionMeta, St as useEnabledToggleSet, T as isOnSafelist, Tn as parseSemver, Tr as saveState, Tt as SETTINGS_CHOICES, U as subscribeMcpToolsCache, Un as TODOWRITE_TOOL, Ut as DiscoveryProvider, V as refreshMcpToolsCatalog, Vn as TODOREAD_TOOL, Vt as CATPPUCCIN_MOCHA, W as buildToolToggle, Wn as TODO_STATUS_GLYPHS, Wt as useDiscovery, X as createFileMcpCredentialStore, Xn as pickActiveRunId, Xt as buildRunModel, Y as parentServerName, Yn as isTodoTool, Yt as resolveStoragePaths, Z as mcpCredentialsPath, Zn as pruneTodosByRun, Zt as chainPositionOf, _ as resolveSessionExportTarget, _n as bootProfileEnabled, _r as compactSummaryEvent, _t as hintsLength, a as useSurfaces, an as countClaudeSessionFiles, ar as INTERACTION_GUIDANCE, at as InteractionsProvider, b as useSafeModeActions, bn as useUpdateCheck, br as eventsFromTurns, bt as shortChord, c as discoverSystemMd, cn as mcpsWritePath, cr as PLAN_MODE_DOCTRINE_NO_PROMPTS, ct as createInteractionTools, d as userSystemMdPath, dn as buildMcpServers, dr as buildBuildSystem, dt as pendingInteractionsFromTurns, en as providerKeySetChanged, er as useActiveTodos, et as useMcpAuthDispatch, f as useStreamBuffer, fn as dedupMcpServersByName, fr as buildPlanSystem, ft as serializeInteractionResponse, g as renderSession, gn as tryOpenBrowser, gt as clipHintsToWidth, h as discoverProjectSkills, hn as parseMcpsFile, hr as createChatTurnsReadTool, ht as EMPTY_HINTS, i as useSelectStyle, in as useCompletion, ir as IDENTITY_PREFIX, it as ASK_USER_TOOL, j as formatPathForCwd, jn as renderAgentsMdBlock, jr as toolResultText, jt as BUILTIN_THEMES, k as suggestSafelistEntries, kn as chatAutoCompactBehavior, kr as titleFromTurns, l as renderSystemMdSeed, ln as removeMcpServer, lr as SUBAGENT_GUIDANCE, lt as isInteractionTool, m as defaultSkillScanPaths, mn as discoverProjectMcps, mr as chatReferenceTokensForPrompt, mt as useInteractionsQueue, n as ThemeProvider, nn as sanitizeModelChain, nr as COMMUNICATION_DOCTRINE, nt as getMcpAuthStatus, o as useSyntaxStyles, on as hasClaudeCodeSetup, or as INTERACTION_GUIDANCE_NO_PROMPTS, ot as PRESENT_PLAN_TOOL, p as buildSkillsConfig, pn as defaultMcpsConfigPaths, pr as envSection, pt as useInteractionsActions, q as buildVisibleMcpRows, qn as getArchivedTodosForRun, qt as useConfig, r as useColors, rn as toggleChainEntry, rr as DOING_TASKS_DOCTRINE, rt as reduceMcpAuth, s as useTheme, sn as importFromClaudeCode, sr as PLAN_MODE_DOCTRINE, st as buildResumedToolResultsTurn, t as computeTurnAnchors, tn as restoreChainFallbacks, tr as ACTIONS_WITH_CARE_DOCTRINE, tt as useMcpAuthState, un as upsertMcpServer, ur as TOKEN_DISCIPLINE_DOCTRINE, ut as makeRequestInteraction, v as writeSessionExport, vn as bootTick, vr as createStateStore, vt as truncateTrailing, w as getSafelist, wn as detectPackageManager, wr as marginTopFor, wt as SETTINGS_CATEGORIES, x as useSafeModeQueue, xn as checkForUpdate, xr as lastContextSizeFromTurns, xt as listProjectFiles, y as SafeModeProvider, yn as buildUpdateHint, yr as deriveSessionTitle, yt as buildHints, z as loadMcpToolsCache, zn as resolveAgentId, zt as CATPPUCCIN_LATTE } from "./transcript-anchors-Bv8HQ3S2.js";
12
+ import { $ as McpAuthProvider, $n as isTodoTool, $t as resolveStoragePaths, A as writeProjects, An as performInPlaceSelfUpdate, Ar as saveState, At as SETTINGS_INPUTS, B as mcpToolsCachePath, Bn as DEFAULT_PERSIST_EXCLUDE_TOOLS, Bt as GRUVBOX_DARK, C as addToSafelist, Cn as buildUpdateHint, Cr as createStateStore, Ct as buildHints, D as projectsFilePath, Dn as detectLibc, Dr as listSessionMeta, Dt as DEFAULT_SETTINGS, E as matchesSafelistEntry, En as compareSemver, Er as lastContextSizeFromTurns, Et as useEnabledToggleSet, F as oauthUsesManualCodePaste, Fn as renderAgentsMdBlock, Fr as toolCallPreview, Ft as BUILTIN_THEMES, G as useMcpToolToggleMap, Gn as TODOREAD_TOOL, Gt as CATPPUCCIN_MOCHA, H as saveMcpToolsCache, Hn as accentColor, Ht as CATPPUCCIN_FRAPPE, I as runOAuthLogin, In as BUILD_AGENT, Ir as toolResultText, It as DEFAULT_THEME, J as indexOfServerRow, Jn as TODO_STATUS_GLYPHS, Jt as useDiscovery, K as useMcpToolToggleSet, Kn as TODOS_METADATA_KEY, Kt as createDiscoverySlot, L as supportsOAuth, Ln as BUILTIN_AGENTS, Lr as updateToolEventOutcomes, Lt as resolveChipColor, M as fetchOAuthRedirect, Mn as resolvePlatformPackage, Mr as stripSpawnTokensLine, Mt as SettingsProvider, N as normalizeRedirectPaste, Nn as chatAutoCompactBehavior, Nr as sumRunCosts, O as readProjects, On as detectPackageManager, Or as loadState, Ot as SETTINGS_CATEGORIES, P as redirectUriFromAuthUrl, Pn as discoverAgentsMd, Pr as titleFromTurns, Pt as useSettings, Q as patchMcpCredential, Qn as getTodosForRun, Qt as resolveConfig, R as clearMcpToolsCache, Rn as DEFAULT_AGENT_ID, Rr as usageByModel, Rt as resolveTheme, S as IMPLICITLY_SAFE_TOOLS, Sn as bootTick, Sr as compactSummaryEvent, St as truncateTrailing, T as isOnSafelist, Tn as checkForUpdate, Tr as eventsFromTurns, Tt as listProjectFiles, U as subscribeMcpToolsCache, Un as resolveAgentId, Ut as CATPPUCCIN_LATTE, V as refreshMcpToolsCatalog, Vn as PLAN_AGENT, Vt as GRUVBOX_LIGHT, W as buildToolToggle, Wn as singleAgentRegistry, Wt as CATPPUCCIN_MACCHIATO, X as createFileMcpCredentialStore, Xn as createTodoTools, Xt as ConfigProvider, Y as parentServerName, Yn as TODO_WRITE_COUNTS_METADATA_KEY, Yt as useDiscoveryOptional, Z as mcpCredentialsPath, Zn as getArchivedTodosForRun, Zt as useConfig, _ as resolveSessionExportTarget, _n as defaultMcpsConfigPaths, _r as buildPlanSystem, _t as useInteractionsActions, a as useSurfaces, an as restoreChainFallbacks, ar as useActiveTodos, at as AUTOMATIC_INTERACTION_INSTRUCTION, b as useSafeModeActions, bn as tryOpenBrowser, br as createChatTurnsReadTool, bt as clipHintsToWidth, c as discoverSystemMd, cn as useCompletion, cr as DOING_TASKS_DOCTRINE, ct as PRESENT_PLAN_TOOL, d as userSystemMdPath, dn as importFromClaudeCode, dr as INTERACTION_GUIDANCE_NO_PROMPTS, dt as createInteractionTools, en as buildRunModel, er as pickActiveRunId, et as useMcpAuthDispatch, f as useStreamBuffer, fn as mcpsWritePath, fr as PLAN_MODE_DOCTRINE, ft as isInteractionTool, g as renderSession, gn as dedupMcpServersByName, gr as buildBuildSystem, gt as serializeInteractionResponse, h as discoverProjectSkills, hn as buildMcpServers, hr as TOKEN_DISCIPLINE_DOCTRINE, ht as pendingInteractionsFromTurns, i as useSelectStyle, in as providerKeySetChanged, it as ASK_USER_TOOL, j as formatPathForCwd, jn as performSelfUpdate, jt as SETTINGS_TOGGLES, k as suggestSafelistEntries, kn as parseSemver, kr as marginTopFor, kt as SETTINGS_CHOICES, l as renderSystemMdSeed, ln as countClaudeSessionFiles, lr as IDENTITY_PREFIX, lt as buildResumedToolResultsTurn, m as defaultSkillScanPaths, mn as upsertMcpServer, mr as SUBAGENT_GUIDANCE, mt as makeRequestInteraction, n as ThemeProvider, nn as chainsEqual, nr as selectActiveTodos, nt as getMcpAuthStatus, o as useSyntaxStyles, on as sanitizeModelChain, or as ACTIONS_WITH_CARE_DOCTRINE, ot as HOST_INTERACTION_ID_PREFIX, p as buildSkillsConfig, pn as removeMcpServer, pr as PLAN_MODE_DOCTRINE_NO_PROMPTS, pt as isModelInteraction, q as buildVisibleMcpRows, qn as TODOWRITE_TOOL, qt as DiscoveryProvider, r as useColors, rn as filterChainFallbacks, rr as setTodosForRun, rt as reduceMcpAuth, s as useTheme, sn as toggleChainEntry, sr as COMMUNICATION_DOCTRINE, st as InteractionsProvider, t as computeTurnAnchors, tn as chainPositionOf, tr as pruneTodosByRun, tt as useMcpAuthState, un as hasClaudeCodeSetup, ur as INTERACTION_GUIDANCE, ut as createAutomaticInteractionResponse, v as writeSessionExport, vn as discoverProjectMcps, vr as envSection, vt as useInteractionsQueue, w as getSafelist, wn as useUpdateCheck, wr as deriveSessionTitle, wt as shortChord, x as useSafeModeQueue, xn as bootProfileEnabled, xt as hintsLength, y as SafeModeProvider, yn as parseMcpsFile, yr as chatReferenceTokensForPrompt, yt as EMPTY_HINTS, z as loadMcpToolsCache, zn as DEFAULT_BUDGET_EXCLUDE_TOOLS, zt as VAPORWAVE_THEME } from "./transcript-anchors-D-Yuimif.js";
13
13
  //#region src/chat/auto-update-cli.ts
14
14
  const UPGRADE_HELP = `Usage: zidane upgrade [options]
15
15
 
@@ -260,6 +260,6 @@ function createActiveTodoAnchorHooks(options = {}) {
260
260
  } };
261
261
  }
262
262
  //#endregion
263
- export { ACTIONS_WITH_CARE_DOCTRINE, ASK_USER_TOOL, AUTO_COMPACT_MIN_GROWTH_FRACTION, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, ConfigProvider, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, FILES_TRIGGER, GRUVBOX_DARK, GRUVBOX_LIGHT, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, McpAuthProvider, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, SafeModeProvider, SettingsProvider, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, ThemeProvider, VAPORWAVE_THEME, accentColor, addToSafelist, ageString, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isOnSafelist, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
263
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, ConfigProvider, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, FILES_TRIGGER, GRUVBOX_DARK, GRUVBOX_LIGHT, HOST_INTERACTION_ID_PREFIX, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, McpAuthProvider, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, SafeModeProvider, SettingsProvider, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, ThemeProvider, VAPORWAVE_THEME, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isReservedCredKey, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
264
264
 
265
265
  //# sourceMappingURL=chat.js.map
@@ -405,19 +405,32 @@ function buildContextBreakdown(snapshot) {
405
405
  * - `'mcp'` — served by a remote MCP server at connect time.
406
406
  */
407
407
  /**
408
- * Remove the first occurrence of `part` from `whole`, collapsing the seam.
408
+ * Remove the first occurrence of `part` from `whole`, collapsing the blank-line
409
+ * run left AT THE JOIN.
409
410
  *
410
411
  * Used to carve the rules block out of the base system so the "System prompt"
411
412
  * segment reports only doctrine + env. Substring-based because that's the
412
413
  * contract the assembly documents (`rulesBlock` IS a substring of
413
414
  * `baseSystem`); a miss leaves `whole` untouched, which degrades to
414
415
  * over-reporting the base row rather than dropping text on the floor.
416
+ *
417
+ * The collapse is deliberately scoped to the seam. An earlier version ran
418
+ * `/\n{3,}/g` over the whole result, which rewrote blank-line runs ANYWHERE in
419
+ * the doctrine — and this tab exists precisely so the user can read what is in
420
+ * context, not a reflowed approximation of it. Interior bytes now survive
421
+ * verbatim; only the newlines that met when `part` was excised are normalized,
422
+ * plus a `trim()` so a segment can't open or close on blank lines.
415
423
  */
416
424
  function removeFirst(whole, part) {
417
425
  if (!part) return whole;
418
426
  const at = whole.indexOf(part);
419
427
  if (at < 0) return whole;
420
- return `${whole.slice(0, at)}${whole.slice(at + part.length)}`.replace(/\n{3,}/g, "\n\n").trim();
428
+ const before = whole.slice(0, at);
429
+ const after = whole.slice(at + part.length);
430
+ const trailing = /\n*$/.exec(before)?.[0] ?? "";
431
+ const leading = /^\n*/.exec(after)?.[0] ?? "";
432
+ const seam = trailing.length + leading.length >= 2 ? "\n\n" : `${trailing}${leading}`;
433
+ return `${before.slice(0, before.length - trailing.length)}${seam}${after.slice(leading.length)}`.trim();
421
434
  }
422
435
  /**
423
436
  * Best-effort display name for an instruction file: its basename, with the
@@ -491,4 +504,4 @@ function buildContextSegments(input) {
491
504
  //#endregion
492
505
  export { stripLineNumberPrefixes as a, resolveOldString as i, buildContextBreakdown as n, styleReplacementForVia as o, describeVia as r, buildContextSegments as t };
493
506
 
494
- //# sourceMappingURL=context-segments-1mcqSCM3.js.map
507
+ //# sourceMappingURL=context-segments-CJCtJ9sU.js.map