zidane 7.0.30 → 7.0.32

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 (97) hide show
  1. package/README.md +2 -2
  2. package/dist/{acp-Cu879kus.js → acp-bBDF-dhy.js} +2 -2
  3. package/dist/{acp-Cu879kus.js.map → acp-bBDF-dhy.js.map} +1 -1
  4. package/dist/acp-cli.js +3 -3
  5. package/dist/acp.d.ts +1 -1
  6. package/dist/acp.js +1 -1
  7. package/dist/{agent-BipX4BBj.js → agent-BCG9JcZl.js} +199 -31
  8. package/dist/agent-BCG9JcZl.js.map +1 -0
  9. package/dist/agent.d.ts +1 -1
  10. package/dist/agent.js +1 -1
  11. package/dist/{approvals-staFZZ5o.js → approvals-DkwGBMZ9.js} +372 -19
  12. package/dist/approvals-DkwGBMZ9.js.map +1 -0
  13. package/dist/{auth-D4MpTfvF.js → auth-D0BHBb02.js} +2 -2
  14. package/dist/{auth-D4MpTfvF.js.map → auth-D0BHBb02.js.map} +1 -1
  15. package/dist/chat/pure.d.ts +3 -3
  16. package/dist/chat/pure.js +1 -1
  17. package/dist/chat.d.ts +6 -6
  18. package/dist/chat.js +6 -6
  19. package/dist/{context-transport-BqYwzJYE.js → context-transport-T_6AYIvy.js} +2 -2
  20. package/dist/{context-transport-BqYwzJYE.js.map → context-transport-T_6AYIvy.js.map} +1 -1
  21. package/dist/contexts/daytona.d.ts +1 -1
  22. package/dist/contexts/e2b.d.ts +1 -1
  23. package/dist/daemon-cli.js +1 -1
  24. package/dist/eval.d.ts +1 -1
  25. package/dist/extensions.d.ts +2 -2
  26. package/dist/extensions.js +2 -2
  27. package/dist/headless.d.ts +1 -1
  28. package/dist/headless.js +1 -1
  29. package/dist/{index-C0y2tSgk.d.ts → index-CCB05-JZ.d.ts} +104 -10
  30. package/dist/index-CCB05-JZ.d.ts.map +1 -0
  31. package/dist/{index-CnXKeZ8p.d.ts → index-Ogi2CeHf.d.ts} +179 -6
  32. package/dist/index-Ogi2CeHf.d.ts.map +1 -0
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.js +3 -3
  35. package/dist/{ipc-CbkrpfkI.js → ipc-C10lnS-a.js} +2 -2
  36. package/dist/{ipc-CbkrpfkI.js.map → ipc-C10lnS-a.js.map} +1 -1
  37. package/dist/ipc.d.ts +5 -5
  38. package/dist/ipc.js +3 -3
  39. package/dist/{mcp-BIWa57eY.js → mcp-CgNd-f3F.js} +3 -3
  40. package/dist/{mcp-BIWa57eY.js.map → mcp-CgNd-f3F.js.map} +1 -1
  41. package/dist/mcp.d.ts +1 -1
  42. package/dist/mcp.js +1 -1
  43. package/dist/output/stream-json.d.ts +1 -1
  44. package/dist/output/terminal.d.ts +1 -1
  45. package/dist/plugins.d.ts +1 -1
  46. package/dist/presets.d.ts +1 -1
  47. package/dist/presets.js +1 -1
  48. package/dist/providers/anthropic.d.ts +1 -1
  49. package/dist/providers/arcee.d.ts +1 -1
  50. package/dist/providers/baseten.d.ts +1 -1
  51. package/dist/providers/cerebras.d.ts +1 -1
  52. package/dist/providers/local.d.ts +1 -1
  53. package/dist/providers/openai-compat.d.ts +1 -1
  54. package/dist/providers/openai.d.ts +1 -1
  55. package/dist/providers/openrouter.d.ts +1 -1
  56. package/dist/providers/xai.d.ts +1 -1
  57. package/dist/providers.d.ts +1 -1
  58. package/dist/restate.d.ts +1 -1
  59. package/dist/restate.js +1 -1
  60. package/dist/{server-GJ2gNRt_.js → server--mwNA7oC.js} +7 -7
  61. package/dist/{server-GJ2gNRt_.js.map → server--mwNA7oC.js.map} +1 -1
  62. package/dist/session/sqlite.d.ts +1 -1
  63. package/dist/session.d.ts +1 -1
  64. package/dist/skills.d.ts +1 -1
  65. package/dist/{src-DzzhE2YO.js → src-CjkY6fBj.js} +2 -2
  66. package/dist/{src-DzzhE2YO.js.map → src-CjkY6fBj.js.map} +1 -1
  67. package/dist/{stdio-loader-CI4sPFve.js → stdio-loader-Bbx19dMZ.js} +2 -2
  68. package/dist/{stdio-loader-CI4sPFve.js.map → stdio-loader-Bbx19dMZ.js.map} +1 -1
  69. package/dist/{tool-formatters-bbgUM3zI.d.ts → tool-formatters-Bu4repDJ.d.ts} +2 -2
  70. package/dist/{tool-formatters-bbgUM3zI.d.ts.map → tool-formatters-Bu4repDJ.d.ts.map} +1 -1
  71. package/dist/tools/fetch-url.d.ts +1 -1
  72. package/dist/tools/web-search.d.ts +1 -1
  73. package/dist/tools.d.ts +1 -1
  74. package/dist/tools.js +1 -1
  75. package/dist/{transcript-anchors-BHyrChoO.d.ts → transcript-anchors-CJCxyVE-.d.ts} +8 -2
  76. package/dist/transcript-anchors-CJCxyVE-.d.ts.map +1 -0
  77. package/dist/tui.d.ts +3 -3
  78. package/dist/tui.d.ts.map +1 -1
  79. package/dist/tui.js +69 -14
  80. package/dist/tui.js.map +1 -1
  81. package/dist/{turn-operations-BgqpLlOG.js → turn-operations-HX3g3XIc.js} +11 -1
  82. package/dist/{turn-operations-BgqpLlOG.js.map → turn-operations-HX3g3XIc.js.map} +1 -1
  83. package/dist/{turn-operations-ZP5-2OWi.d.ts → turn-operations-qcv9UFcL.d.ts} +3 -3
  84. package/dist/{turn-operations-ZP5-2OWi.d.ts.map → turn-operations-qcv9UFcL.d.ts.map} +1 -1
  85. package/dist/types-CWgENVLY.js.map +1 -1
  86. package/dist/types.d.ts +2 -2
  87. package/docs/ARCHITECTURE.md +11 -2
  88. package/docs/CHAT.md +1 -0
  89. package/docs/INTERACTIONS.md +14 -2
  90. package/docs/SKILL.md +3 -1
  91. package/docs/TUI.md +5 -3
  92. package/package.json +1 -1
  93. package/dist/agent-BipX4BBj.js.map +0 -1
  94. package/dist/approvals-staFZZ5o.js.map +0 -1
  95. package/dist/index-C0y2tSgk.d.ts.map +0 -1
  96. package/dist/index-CnXKeZ8p.d.ts.map +0 -1
  97. package/dist/transcript-anchors-BHyrChoO.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { $p as ContextItem, $u as SESSION_ROLE_KEY, Ad as ModelChainEntry, Bp as ContextSegmentFile, Cd as formatRunDuration, Cp as LOG_LEVEL_CYCLE, Dd as formatTokensPerSecond, Ed as formatTokenCount, Ep as nextLogLevel, Fd as chainsEqualKeyed, Gd as toggleKeyed, Gp as ContextBreakdownContributionContext, Hp as ContextSegmentsInput, Jp as ContextCategory, Ju as StreamEvent, Kd as AuthMethod, Kp as ContextBreakdownContributor, Ld as pickChainPrimary, Md as chainEntryKey, Nd as chainPositionOf, Od as hasRunReceipt, Pd as chainsEqual, Qp as ContextExtensionSection, Qu as SESSION_EVENT_STATUS_STYLE, Rd as pickPrimaryKeyed, Sd as formatCostUsd, Td as formatRunReceiptLine, Tg as McpServerConfig, Tp as formatLogLine, Up as buildContextSegments, Vd as reorderKeyed, Vp as ContextSegmentOrigin, Wd as toggleChainEntry, Wp as ContextBreakdown, Xp as ContextExactCounts, Xu as ORCHESTRATED_BY_KEY, Yp as ContextCategoryId, Zp as ContextExtensionRow, _d as RunReceiptCell, ad as isMainSession, bd as RunReceiptSegmentKind, bu as CommandArgSuggestion, cu as CompletionItem, dd as sessionEventLabel, dp as LogRecord, ed as SessionEvent, em as ContextMcpGroup, fd as sessionEventMeta, fu as applyInsert, gd as RunReceipt, gu as mergeSuggestions, hd as RUN_RECEIPT_GLYPH, hu as mergeReferences, id as WORKER_REPORT_FRAGMENT, kd as runReceiptFromRun, ld as sessionDirLabel, lu as CompletionProvider, md as truncateTitle, mu as findActiveTrigger, nd as SessionEventStatusStyle, nm as ContextUsageSplit, od as orchestratedBy, ou as ActiveTrigger, pd as shortSessionId, pu as collectReferences, qd as ProviderAuth, qp as ContextBreakdownOptions, rd as SessionEventTone, rm as buildContextBreakdown, su as CompletionContext, td as SessionEventStatus, tm as ContextSnapshot, ud as sessionEventExcerpt, up as LogLevel, uu as CompletionReference, vd as RunReceiptCellKind, vu as Command, wd as formatRunReceiptCells, wp as filterLogRecords, xd as fitRunReceiptCells, yd as RunReceiptSegment, zd as positionKeyed, zp as ContextSegment } from "../index-C0y2tSgk.js";
2
- import { $ as CacheChipContent, $t as buildLinearRamp, A as finalizeStreamingMarkdown, B as formatUsagePercent, Ct as summarizeEditPayload, D as MAX_TRANSCRIPT_EVENTS, F as ProviderUsageStatus, Ft as createSkillsCompletionProvider, G as compactPath, Gt as CHATS_TRIGGER, H as resetLabel, I as ProviderUsageWindow, It as uniqueSkillNamesFromReferences, J as formatDuration, Jt as ChatReferenceScope, K as fmtCost, Kt as ChatReferenceData, L as UsageTone, Lt as FILES_TRIGGER, M as turnContextSize, N as ProviderUsageCredits, Nt as summarizeOutcomes, O as TRANSCRIPT_TRIM_TO_EVENTS, P as ProviderUsageSnapshot, Pt as SKILLS_TRIGGER, Q as shortId, Qt as blendHsl, R as formatBalance, Rt as createFilesCompletionProvider, St as splitLines, U as usageTone, Ut as COMMANDS_TRIGGER, V as mostConstrainedWindow, W as ageString, Wt as createCommandsCompletionProvider, X as formatTaskSummary, Xt as createChatsCompletionProvider, Y as formatTaskStatus, Yt as chatReferenceTokensFromText, Z as previewLine, Zt as uniqueChatIdsFromReferences, _t as computeInlineDiff, at as streamingLabel, bt as filetypeFromPath, ct as EditHunkSummary, dt as InlineDiff, et as CacheChipTone, ft as InlineSegment, gt as buildUnifiedDiff, ht as buildContextualDiff, i as turnAsText, it as retryLabel, j as finalizeStreamingMarkdownForOwner, k as capTranscriptEvents, lt as EditSummary, mt as applyEditPayload, n as deleteTurnSafely, nt as compactingLabel, ot as DiffLine, p as TodoItem, pt as PreviewResult, q as fmtTokens, qt as ChatReferenceEntry, r as truncateTurnsAt, rt as liveSessionCost, st as DiffOp, t as countNeighbors, tt as cacheBreakChip, ut as HunkResolution, vt as computeLineDiff, wt as tokenize, xt as previewEditPayload, yt as extractEditPayload, z as formatCredits, zt as uniqueFilesFromReferences } from "../turn-operations-ZP5-2OWi.js";
3
- import { $ as BASH_CALL_ID_PREFIX, A as filterSessionSearchCatalog, B as searchableTurnText, C as SearchSessionResult, D as SessionSearchIndex, E as SessionSearchExcerpt, F as searchSessionHistoryIndexAsync, I as searchSessionIndex, J as DAEMON_HEALTH_GLYPH, L as searchSessionIndexAsync, M as searchHighlightRanges, N as searchSessionHistory, O as buildSessionSearchIndex, P as searchSessionHistoryIndex, Q as DaemonHealthTone, R as searchSessionTurns, S as SearchExcerpt, T as SessionHistoryMatch, X as DaemonHealth, Y as DAEMON_HEALTH_STYLE, Z as DaemonHealthStyle, _ as normalizeMarkdownCodeFences, a as formatToolCall, at as isVisible, b as HighlightSegment, c as splitPromptSegments, ct as retagUserPromptEventsFromRefs, d as filterModelCatalog, dt as turnSelectionOwnership, et as EDIT_TOOL_NAMES, f as indexOfEntry, g as chunkMarkdownForRender, h as MarkdownSegment, i as displayNameFor, it as isUserBashEvent, j as highlightSegments, k as buildSessionSearchIndexAsync, l as CatalogEntry, lt as selectableTurnIds, m as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, n as ToolDisplayMeta, nt as isEditErrorResult, o as PromptSegment, ot as promptTurnRefs, p as parseCustomModelQuery, r as ToolFormatLine, rt as isTurnHighlighted, s as PromptSegmentRef, st as retagUserPromptEvents, t as TOOL_DISPLAY, tt as PromptTurnRef, u as buildModelCatalog, v as splitMarkdownCodeBlocks, w as SearchTurnResult, x as IndexedSearchTurn, y as HighlightRange, z as searchTurns } from "../tool-formatters-bbgUM3zI.js";
1
+ import { $p as ContextExtensionRow, Ad as hasRunReceipt, Bd as pickPrimaryKeyed, Cd as fitRunReceiptCells, Dd as formatRunReceiptLine, Dg as McpServerConfig, Dp as formatLogLine, Ed as formatRunReceiptCells, Ep as filterLogRecords, Fd as chainPositionOf, Gp as buildContextSegments, Hp as ContextSegmentFile, Id as chainsEqual, Jd as AuthMethod, Jp as ContextBreakdownContributor, Kd as toggleChainEntry, Kp as ContextBreakdown, Ld as chainsEqualKeyed, Md as ModelChainEntry, Od as formatTokenCount, Op as nextLogLevel, Pd as chainEntryKey, Qp as ContextExactCounts, Qu as ORCHESTRATED_BY_KEY, Sd as RunReceiptSegmentKind, Su as CommandArgSuggestion, Td as formatRunDuration, Tp as LOG_LEVEL_CYCLE, Ud as reorderKeyed, Up as ContextSegmentOrigin, Vd as positionKeyed, Vp as ContextSegment, Wp as ContextSegmentsInput, Xp as ContextCategory, Xu as StreamEvent, Yd as ProviderAuth, Yp as ContextBreakdownOptions, Zp as ContextCategoryId, _d as RUN_RECEIPT_GLYPH, _u as mergeReferences, ad as SessionEventTone, am as buildContextBreakdown, bd as RunReceiptCellKind, bu as Command, cd as orchestratedBy, cu as ActiveTrigger, dd as sessionDirLabel, du as CompletionProvider, ed as SESSION_EVENT_STATUS_STYLE, em as ContextExtensionSection, fd as sessionEventExcerpt, fp as LogLevel, fu as CompletionReference, gd as truncateTitle, gu as findActiveTrigger, hd as shortSessionId, hu as collectReferences, id as SessionEventStatusStyle, im as ContextUsageSplit, jd as runReceiptFromRun, kd as formatTokensPerSecond, lu as CompletionContext, md as sessionEventMeta, mu as applyInsert, nd as SessionEvent, nm as ContextMcpGroup, od as WORKER_REPORT_FRAGMENT, pd as sessionEventLabel, pp as LogRecord, qd as toggleKeyed, qp as ContextBreakdownContributionContext, rd as SessionEventStatus, rm as ContextSnapshot, sd as isMainSession, td as SESSION_ROLE_KEY, tm as ContextItem, uu as CompletionItem, vd as RunReceipt, vu as mergeSuggestions, wd as formatCostUsd, xd as RunReceiptSegment, yd as RunReceiptCell, zd as pickChainPrimary } from "../index-CCB05-JZ.js";
2
+ import { $ as CacheChipContent, $t as buildLinearRamp, A as finalizeStreamingMarkdown, B as formatUsagePercent, Ct as summarizeEditPayload, D as MAX_TRANSCRIPT_EVENTS, F as ProviderUsageStatus, Ft as createSkillsCompletionProvider, G as compactPath, Gt as CHATS_TRIGGER, H as resetLabel, I as ProviderUsageWindow, It as uniqueSkillNamesFromReferences, J as formatDuration, Jt as ChatReferenceScope, K as fmtCost, Kt as ChatReferenceData, L as UsageTone, Lt as FILES_TRIGGER, M as turnContextSize, N as ProviderUsageCredits, Nt as summarizeOutcomes, O as TRANSCRIPT_TRIM_TO_EVENTS, P as ProviderUsageSnapshot, Pt as SKILLS_TRIGGER, Q as shortId, Qt as blendHsl, R as formatBalance, Rt as createFilesCompletionProvider, St as splitLines, U as usageTone, Ut as COMMANDS_TRIGGER, V as mostConstrainedWindow, W as ageString, Wt as createCommandsCompletionProvider, X as formatTaskSummary, Xt as createChatsCompletionProvider, Y as formatTaskStatus, Yt as chatReferenceTokensFromText, Z as previewLine, Zt as uniqueChatIdsFromReferences, _t as computeInlineDiff, at as streamingLabel, bt as filetypeFromPath, ct as EditHunkSummary, dt as InlineDiff, et as CacheChipTone, ft as InlineSegment, gt as buildUnifiedDiff, ht as buildContextualDiff, i as turnAsText, it as retryLabel, j as finalizeStreamingMarkdownForOwner, k as capTranscriptEvents, lt as EditSummary, mt as applyEditPayload, n as deleteTurnSafely, nt as compactingLabel, ot as DiffLine, p as TodoItem, pt as PreviewResult, q as fmtTokens, qt as ChatReferenceEntry, r as truncateTurnsAt, rt as liveSessionCost, st as DiffOp, t as countNeighbors, tt as cacheBreakChip, ut as HunkResolution, vt as computeLineDiff, wt as tokenize, xt as previewEditPayload, yt as extractEditPayload, z as formatCredits, zt as uniqueFilesFromReferences } from "../turn-operations-qcv9UFcL.js";
3
+ import { $ as BASH_CALL_ID_PREFIX, A as filterSessionSearchCatalog, B as searchableTurnText, C as SearchSessionResult, D as SessionSearchIndex, E as SessionSearchExcerpt, F as searchSessionHistoryIndexAsync, I as searchSessionIndex, J as DAEMON_HEALTH_GLYPH, L as searchSessionIndexAsync, M as searchHighlightRanges, N as searchSessionHistory, O as buildSessionSearchIndex, P as searchSessionHistoryIndex, Q as DaemonHealthTone, R as searchSessionTurns, S as SearchExcerpt, T as SessionHistoryMatch, X as DaemonHealth, Y as DAEMON_HEALTH_STYLE, Z as DaemonHealthStyle, _ as normalizeMarkdownCodeFences, a as formatToolCall, at as isVisible, b as HighlightSegment, c as splitPromptSegments, ct as retagUserPromptEventsFromRefs, d as filterModelCatalog, dt as turnSelectionOwnership, et as EDIT_TOOL_NAMES, f as indexOfEntry, g as chunkMarkdownForRender, h as MarkdownSegment, i as displayNameFor, it as isUserBashEvent, j as highlightSegments, k as buildSessionSearchIndexAsync, l as CatalogEntry, lt as selectableTurnIds, m as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, n as ToolDisplayMeta, nt as isEditErrorResult, o as PromptSegment, ot as promptTurnRefs, p as parseCustomModelQuery, r as ToolFormatLine, rt as isTurnHighlighted, s as PromptSegmentRef, st as retagUserPromptEvents, t as TOOL_DISPLAY, tt as PromptTurnRef, u as buildModelCatalog, v as splitMarkdownCodeBlocks, w as SearchTurnResult, x as IndexedSearchTurn, y as HighlightRange, z as searchTurns } from "../tool-formatters-Bu4repDJ.js";
4
4
 
5
5
  //#region src/chat/auth-rows.d.ts
6
6
  /**
package/dist/chat/pure.js CHANGED
@@ -2,7 +2,7 @@ import { n as buildContextBreakdown, t as buildContextSegments } from "../contex
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 { i as nextLogLevel, n as filterLogRecords, r as formatLogLine, t as LOG_LEVEL_CYCLE } from "../logs-view-CWG8aUAG.js";
4
4
  import { a as mergeReferences, n as collectReferences, o as mergeSuggestions, r as findActiveTrigger, t as applyInsert } from "../completion-core-BRo86R_L.js";
5
- import { $ as reorderKeyed, $t as formatTokenCount, A as chunkMarkdownForRender, B as streamingLabel, C as usageTone, Cn as CHATS_TRIGGER, Ct as retagUserPromptEvents, D as indexOfEntry, E as filterModelCatalog, En as uniqueChatIdsFromReferences, G as chainPositionOf, Gt as shortSessionId, H as DAEMON_HEALTH_STYLE, Ht as sessionEventExcerpt, I as cacheBreakChip, It as isMainSession, Jt as fitRunReceiptCells, K as chainsEqual, Kt as truncateTitle, L as compactingLabel, Lt as orchestratedBy, Mt as SESSION_EVENT_STATUS_STYLE, N as normalizeMarkdownCodeFences, Nt as SESSION_ROLE_KEY, O as parseCustomModelQuery, Ot as turnSelectionOwnership, P as splitMarkdownCodeBlocks, Pt as WORKER_REPORT_FRAGMENT, Qt as formatRunReceiptLine, R as liveSessionCost, S as resetLabel, Sn as summarizeOutcomes, St as promptTurnRefs, T as buildModelCatalog, Tn as createChatsCompletionProvider, Tt as selectableTurnIds, Ut as sessionEventLabel, V as DAEMON_HEALTH_GLYPH, Vt as sessionDirLabel, W as chainEntryKey, Wt as sessionEventMeta, X as pickPrimaryKeyed, Xt as formatRunDuration, Y as pickChainPrimary, Yt as formatCostUsd, Z as positionKeyed, Zt as formatRunReceiptCells, _ as turnContextSize, _t as isTurnHighlighted, a as TOOL_DISPLAY, an as buildUnifiedDiff, at as createSkillsCompletionProvider, b as formatUsagePercent, c as MAX_TRANSCRIPT_EVENTS, cn as computeLineDiff, ct as createFilesCompletionProvider, d as finalizeStreamingMarkdown, dn as previewEditPayload, dt as createCommandsCompletionProvider, en as formatTokensPerSecond, f as finalizeStreamingMarkdownForOwner, fn as splitLines, ft as blendHsl, gt as isEditErrorResult, ht as EDIT_TOOL_NAMES, i as turnAsText, in as buildContextualDiff, it as SKILLS_TRIGGER, jt as ORCHESTRATED_BY_KEY, k as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, l as TRANSCRIPT_TRIM_TO_EVENTS, ln as extractEditPayload, lt as uniqueFilesFromReferences, mn as tokenize, mt as BASH_CALL_ID_PREFIX, n as deleteTurnSafely, nn as runReceiptFromRun, nt as toggleChainEntry, o as displayNameFor, ot as uniqueSkillNamesFromReferences, pn as summarizeEditPayload, pt as buildLinearRamp, q as chainsEqualKeyed, qt as RUN_RECEIPT_GLYPH, r as truncateTurnsAt, rn as applyEditPayload, rt as toggleKeyed, s as formatToolCall, sn as computeInlineDiff, st as FILES_TRIGGER, t as countNeighbors, tn as hasRunReceipt, u as capTranscriptEvents, un as filetypeFromPath, ut as COMMANDS_TRIGGER, v as formatBalance, vt as isUserBashEvent, w as splitPromptSegments, wn as chatReferenceTokensFromText, wt as retagUserPromptEventsFromRefs, x as mostConstrainedWindow, y as formatCredits, yt as isVisible, z as retryLabel } from "../turn-operations-BgqpLlOG.js";
5
+ import { $ as reorderKeyed, $t as formatTokenCount, A as chunkMarkdownForRender, B as streamingLabel, C as usageTone, Cn as CHATS_TRIGGER, Ct as retagUserPromptEvents, D as indexOfEntry, E as filterModelCatalog, En as uniqueChatIdsFromReferences, G as chainPositionOf, Gt as shortSessionId, H as DAEMON_HEALTH_STYLE, Ht as sessionEventExcerpt, I as cacheBreakChip, It as isMainSession, Jt as fitRunReceiptCells, K as chainsEqual, Kt as truncateTitle, L as compactingLabel, Lt as orchestratedBy, Mt as SESSION_EVENT_STATUS_STYLE, N as normalizeMarkdownCodeFences, Nt as SESSION_ROLE_KEY, O as parseCustomModelQuery, Ot as turnSelectionOwnership, P as splitMarkdownCodeBlocks, Pt as WORKER_REPORT_FRAGMENT, Qt as formatRunReceiptLine, R as liveSessionCost, S as resetLabel, Sn as summarizeOutcomes, St as promptTurnRefs, T as buildModelCatalog, Tn as createChatsCompletionProvider, Tt as selectableTurnIds, Ut as sessionEventLabel, V as DAEMON_HEALTH_GLYPH, Vt as sessionDirLabel, W as chainEntryKey, Wt as sessionEventMeta, X as pickPrimaryKeyed, Xt as formatRunDuration, Y as pickChainPrimary, Yt as formatCostUsd, Z as positionKeyed, Zt as formatRunReceiptCells, _ as turnContextSize, _t as isTurnHighlighted, a as TOOL_DISPLAY, an as buildUnifiedDiff, at as createSkillsCompletionProvider, b as formatUsagePercent, c as MAX_TRANSCRIPT_EVENTS, cn as computeLineDiff, ct as createFilesCompletionProvider, d as finalizeStreamingMarkdown, dn as previewEditPayload, dt as createCommandsCompletionProvider, en as formatTokensPerSecond, f as finalizeStreamingMarkdownForOwner, fn as splitLines, ft as blendHsl, gt as isEditErrorResult, ht as EDIT_TOOL_NAMES, i as turnAsText, in as buildContextualDiff, it as SKILLS_TRIGGER, jt as ORCHESTRATED_BY_KEY, k as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, l as TRANSCRIPT_TRIM_TO_EVENTS, ln as extractEditPayload, lt as uniqueFilesFromReferences, mn as tokenize, mt as BASH_CALL_ID_PREFIX, n as deleteTurnSafely, nn as runReceiptFromRun, nt as toggleChainEntry, o as displayNameFor, ot as uniqueSkillNamesFromReferences, pn as summarizeEditPayload, pt as buildLinearRamp, q as chainsEqualKeyed, qt as RUN_RECEIPT_GLYPH, r as truncateTurnsAt, rn as applyEditPayload, rt as toggleKeyed, s as formatToolCall, sn as computeInlineDiff, st as FILES_TRIGGER, t as countNeighbors, tn as hasRunReceipt, u as capTranscriptEvents, un as filetypeFromPath, ut as COMMANDS_TRIGGER, v as formatBalance, vt as isUserBashEvent, w as splitPromptSegments, wn as chatReferenceTokensFromText, wt as retagUserPromptEventsFromRefs, x as mostConstrainedWindow, y as formatCredits, yt as isVisible, z as retryLabel } from "../turn-operations-HX3g3XIc.js";
6
6
  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";
7
7
  import { _ as buildVisibleAuthRows, a as editTodo, b as parentProviderKey, c as NOTICE_GLYPH, d as splitCommandLine, f as validateMcpForm, g as instructionPreviewLines, h as instructionOriginBadge, i as cycleTodoStatus, l as MCP_TRANSPORTS, m as buildVisibleInstructionRows, n as buildTodoRetryMessage, o as nextTodoId, p as INSTRUCTION_PREVIEW_LINE_CAP, r as clearTodos, s as removeTodo, t as addTodo, u as parseKeyValueLines, v as indexOfProviderRow, x as selectableSources, y as isExpandableProvider } from "../todo-edits-Dw2oO2ON.js";
8
8
  export { BASH_CALL_ID_PREFIX, CHATS_TRIGGER, COMMANDS_TRIGGER, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, EDIT_TOOL_NAMES, FILES_TRIGGER, INSTRUCTION_PREVIEW_LINE_CAP, LOG_LEVEL_CYCLE, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, MCP_TRANSPORTS, NOTICE_GLYPH, ORCHESTRATED_BY_KEY, RUN_RECEIPT_GLYPH, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, SKILLS_TRIGGER, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, WORKER_REPORT_FRAGMENT, addTodo, ageString, applyEditPayload, applyInsert, blendHsl, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildLinearRamp, buildModelCatalog, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildTodoRetryMessage, buildUnifiedDiff, buildVisibleAuthRows, buildVisibleInstructionRows, cacheBreakChip, capTranscriptEvents, chainEntryKey, chainPositionOf, chainsEqual, chainsEqualKeyed, chatReferenceTokensFromText, chunkMarkdownForRender, clearTodos, collectReferences, compactPath, compactingLabel, computeInlineDiff, computeLineDiff, countNeighbors, createChatsCompletionProvider, createCommandsCompletionProvider, createFilesCompletionProvider, createSkillsCompletionProvider, cycleTodoStatus, deleteTurnSafely, displayNameFor, editTodo, extractEditPayload, filetypeFromPath, filterLogRecords, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, fitRunReceiptCells, fmtCost, fmtTokens, formatBalance, formatCostUsd, formatCredits, formatDuration, formatLogLine, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, hasRunReceipt, highlightSegments, indexOfEntry, indexOfProviderRow, instructionOriginBadge, instructionPreviewLines, isEditErrorResult, isExpandableProvider, isMainSession, isTurnHighlighted, isUserBashEvent, isVisible, liveSessionCost, mergeReferences, mergeSuggestions, mostConstrainedWindow, nextLogLevel, nextTodoId, normalizeMarkdownCodeFences, orchestratedBy, parentProviderKey, parseCustomModelQuery, parseKeyValueLines, pickChainPrimary, pickPrimaryKeyed, positionKeyed, previewEditPayload, previewLine, promptTurnRefs, removeTodo, reorderKeyed, resetLabel, retagUserPromptEvents, retagUserPromptEventsFromRefs, retryLabel, runReceiptFromRun, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectableSources, selectableTurnIds, sessionDirLabel, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, shortId, shortSessionId, splitCommandLine, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, streamingLabel, summarizeEditPayload, summarizeOutcomes, toggleChainEntry, toggleKeyed, tokenize, truncateTitle, truncateTurnsAt, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, usageTone, validateMcpForm };
package/dist/chat.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $d as ModelOption, $f as pendingInteractionsFromTurns, $l as InlineGhost, $p as ContextItem, $u as SESSION_ROLE_KEY, Ad as ModelChainEntry, Af as InteractionsActions, Ao as ExtensionFooterHint, Ap as BUILD_AGENT, Au as CommandStepContext, Bd as providerKeySetChanged, Bf as QuestionChoice, Bi as generateStructuredData, Bl as ChipColor, Bo as ExtensionPaths, Bp as ContextSegmentFile, Bu as EditOutcomeKind, Cd as formatRunDuration, Cf as AnswerValue, Co as ExtensionCapability, Dd as formatTokensPerSecond, Df as InteractionOrigin, Dp as AgentAccent, Ed as formatTokenCount, Ef as HOST_INTERACTION_ID_PREFIX, Eo as ExtensionContributions, Eu as CommandOutputBlock, Ff as PlanPayload, Fl as StorageDirs, Fo as ExtensionManifest, Fp as PLAN_AGENT, Fu as executeCommand, Gf as SelectQuestion, Gl as Theme, Go as ExtensionRunTransform, Gp as ContextBreakdownContributionContext, Gu as Screen, Hd as restoreChainFallbacks, Hf as QuestionRequest, Hl as DEFAULT_THEME, Hp as ContextSegmentsInput, Hu as InteractionMode, Id as filterChainFallbacks, If as PlanRequest, Il as StorageMode, Io as ExtensionMcpConfigTransform, Ip as accentColor, Iu as parseCommandInvocation, Jd as ProviderKey, Jf as createAutomaticInteractionResponse, Jl as ThemeSurfaces, Jo as ExtensionSkillPolicy, Jp as ContextCategory, Ju as StreamEvent, Kd as AuthMethod, Kf as TextQuestion, Kl as ThemeColors, Ko as ExtensionRuntimeEnv, Kp as ContextBreakdownContributor, Ku as SessionMeta, La as scanExtensionDirectories, Lf as PlanResponse, Ll as StorageSlot, Lo as ExtensionModal, Lp as resolveAgentId, Lu as EditDiffDisplay, Ma as defaultExtensionScanPaths, Mf as PRESENT_PLAN_TOOL, Mp as DEFAULT_AGENT_ID, Na as discoverExtensions, Nd as chainPositionOf, Nf as PendingInteractionEntry, No as ExtensionKeybinding, Np as DEFAULT_BUDGET_EXCLUDE_TOOLS, Od as hasRunReceipt, Of as InteractionRequest, Op as AgentProfile, Pa as inlineLoadedExtension, Pd as chainsEqual, Pf as PlanDecision, Pl as ResolveStorageDirsOptions, Po as ExtensionKeybindingDispatchContext, Pp as DEFAULT_PERSIST_EXCLUDE_TOOLS, Pu as commandSteps, Qd as ModelInfo, Qf as makeRequestInteraction, Ql as InlineAutocompleteProvider, Qo as ExtensionToolCatalogTransform, Qp as ContextExtensionSection, Qu as SESSION_EVENT_STATUS_STYLE, Rf as PlanStep, Rl as resolveStorageDirs, Rp as singleAgentRegistry, Ru as EditHunk, Sd as formatCostUsd, Sf as AUTOMATIC_INTERACTION_INSTRUCTION, Su as CommandExecution, Td as formatRunReceiptLine, Tf as CreateInteractionToolsOptions, Tu as CommandInvocation, Ua as defineExtension, Ud as sanitizeModelChain, Uf as QuestionResponse, Ul as SyntaxStyles, Uo as ExtensionProviderMiddleware, Up as buildContextSegments, Uu as Owner, Vf as QuestionPayload, Vl as ChipColorMap, Vo as ExtensionPermission, Vp as ContextSegmentOrigin, Vu as EditPayload, Wd as toggleChainEntry, Wf as QuestionType, Wl as SyntaxTokenStyle, Wo as ExtensionRegistry, Wp as ContextBreakdown, Wu as Picked, Xd as BUILTIN_PROVIDERS, Xf as isInteractionTool, Xl as resolveTheme, Xo as ExtensionStorageScope, Xp as ContextExactCounts, Xu as ORCHESTRATED_BY_KEY, Yd as detectAuth, Yf as createInteractionTools, Yl as resolveChipColor, Yo as ExtensionSource, Yp as ContextCategoryId, Yu as ToolCallDisplay, Zd as CustomField, Zf as isModelInteraction, Zl as InlineAutocompleteContext, Zo as ExtensionStorageSurface, Zp as ContextExtensionRow, _d as RunReceiptCell, _f as AutoCompactInput, aa as composeExtensionPreset, ad as isMainSession, af as getContextWindow, au as useCompletion, bd as RunReceiptSegmentKind, bf as shouldAutoCompact, cd as renderSessionEventXml, cf as modelOptionsFor, cu as CompletionItem, dd as sessionEventLabel, df as openaiDescriptor, do as ExtensionApiVersion, ed as SessionEvent, ef as ProviderDescriptor, em as ContextMcpGroup, ep as serializeInteractionResponse, eu as createPathAutocompleteProvider, fd as sessionEventMeta, ff as openrouterDescriptor, fs as TuiContributions, fu as applyInsert, gd as RunReceipt, gf as AutoCompactDecision, gu as mergeSuggestions, hd as RUN_RECEIPT_GLYPH, hf as AUTO_COMPACT_MIN_GROWTH_FRACTION, hu as mergeReferences, ia as buildExtensionRegistry, id as WORKER_REPORT_FRAGMENT, if as enabledModelOptions, is as ExtensionToolResultMetadataRegistration, iu as CompletionState, jd as buildRunModel, jf as InteractionsProvider, jo as ExtensionGuiPanel, jp as BUILTIN_AGENTS, ju as CommandStepFn, kd as runReceiptFromRun, kf as InteractionResponse, ko as ExtensionDefinition, kp as AgentRegistry, ku as CommandStep, la as mergeContributions, ld as sessionDirLabel, lf as modelSupportsReasoning, lo as EMPTY_EXTENSION_REGISTRY, ls as GuiContributions, lu as CompletionProvider, md as truncateTitle, mf as restoreModelOptions, mu as findActiveTrigger, nd as SessionEventStatusStyle, nf as cerebrasDescriptor, nm as ContextUsageSplit, np as useInteractionsQueue, nu as resolveInlineSuggestion, oa as disposeExtensionRegistry, od as orchestratedBy, of as getModelInfo, ou as ActiveTrigger, pd as shortSessionId, pf as piIdOf, pu as collectReferences, qd as ProviderAuth, qf as buildResumedToolResultsTurn, ql as ThemeSelect, qo as ExtensionSessionStateSurface, qp as ContextBreakdownOptions, qu as Settings, ra as buildExtensionPreset, rd as SessionEventTone, rf as credKeyOf, rm as buildContextBreakdown, ru as tokenEndingAtCursor, sa as filterExtensionRegistry, sd as parseSessionEventXml, sf as localDescriptor, su as CompletionContext, ta as BuildExtensionRegistryOptions, td as SessionEventStatus, tf as anthropicDescriptor, tm as ContextSnapshot, tp as useInteractionsActions, tu as patchInlineGhost, ua as partitionExtensionCatalog, ud as sessionEventExcerpt, uf as modelsForDescriptor, us as LoadedExtension, uu as CompletionReference, vd as RunReceiptCellKind, vf as OUTPUT_RESERVE_TOKENS, vu as Command, wd as formatRunReceiptCells, wf as ConfirmQuestion, wo as ExtensionContext, xd as fitRunReceiptCells, xf as ASK_USER_TOOL, yd as RunReceiptSegment, yf as effectiveContextWindow, yo as ExtensionBehaviorTransform, yu as CommandAgentResult, zf as Question, zi as GenerateStructuredDataOptions, zl as BUILTIN_THEMES, zo as ExtensionOrderedContribution, zp as ContextSegment, zu as EditOutcome } from "./index-C0y2tSgk.js";
2
- import { $ as ProjectsFile, $n as BuildHintsOptions, $r as runUpdateCommand, $t as createFileMcpCredentialStore, A as buildSkillsConfig, Ai as AgentsMdResult, An as ChatHostEnvironment, Ar as ConfigProvider, At as sessionModelFallbacks, B as SettingsCategoryDescriptor, Bi as INTERACTION_GUIDANCE, Bn as QueuedItem, Br as ClaudeSessionImportResult, Bt as loadMcpToolsCache, C as userSystemMdPath, Ci as chatAutoCompactBehavior, Cn as PendingAnnotation, Cr as removeProviderCredential, Ct as OAuthFlowOptions, D as SpawnStartRecord, Di as groupArtifacts, Dn as ApprovalRequestInput, Dr as ALTERNATE_CRED_KEY_SUFFIX, Dt as supportsOAuth, E as useStreamBuffer, Ei as ArtifactViewRow, En as ApprovalHub, Er as writeCredentials, Et as runOAuthLogin, F as SETTINGS_CATEGORIES, Fi as BuildSystemOptions, Fn as HostSettings, Fr as createArtifactsCompletionProvider, Ft as removeMcpServer, G as StringSettingKey, Gi as TOKEN_DISCIPLINE_DOCTRINE, Gn as StreamProgressInfo, Gr as bootProfileEnabled, Gt as McpToolToggleSet, H as SettingsInput, Hi as PLAN_MODE_DOCTRINE, Hn as SendOptions, Hr as hasClaudeCodeSetup, Ht as refreshMcpToolsCatalog, I as SETTINGS_CHOICES, Ii as COMMUNICATION_DOCTRINE, In as HostSignal, Ir as scoreArtifacts, It as upsertMcpServer, J as folderlessCwd, Ji as envSection, Jn as toTodosSnapshot, Jr as UseUpdateCheckOptions, Jt as useMcpToolToggleSet, K as enforceSettingsInvariants, Ki as buildBuildSystem, Kn as TodosSnapshot, Kr as bootTick, Kt as buildToolToggle, L as SETTINGS_INPUTS, Li as DOING_TASKS_DOCTRINE, Ln as PendingInteraction, Lr as ClaudeCopyResult, Lt as CachedMcpToolList, M as discoverProjectSkills, Mi as discoverAgentsMd, Mn as ApprovalOriginator, Mr as ARTIFACTS_COMPLETION_PROVIDER_ID, Mt as RemoveMcpResult, N as BooleanSettingKey, Ni as renderAgentsMdBlock, Nn as CommandArgSuggestionSummary, Nr as ArtifactReferenceData, Nt as UpsertMcpResult, O as buildSpawnEndEvent, Oi as summarizeArtifactCounts, On as createApprovalHub, Or as alternateCredKey, Ot as ModelFallbackTarget, P as DEFAULT_SETTINGS, Pi as ACTIONS_WITH_CARE_DOCTRINE, Pn as CommandSummary, Pr as ArtifactReferenceEntry, Pt as mcpsWritePath, Q as ProjectEntry, Qn as shouldAutoGenerateTitle, Qr as RunUpdateCommandResult, Qt as parentServerName, R as SETTINGS_TOGGLES, Ri as EnvSectionOptions, Rn as PromptAttachment, Rr as ClaudeImportOptions, Rt as McpToolsCache, S as userScopeOverridesLoad, Si as resolvePlatformPackage, Sn as EditOutcomeLedger, Sr as readProviderCredentialPair, St as redirectUriFromAuthUrl, T as StreamSource, Ti as ArtifactViewGroup, Tn as runCompaction, Tr as setProviderCredential, Tt as oauthUsesManualCodePaste, U as SettingsProvider, Ui as PLAN_MODE_DOCTRINE_NO_PROMPTS, Un as SerializedPreview, Ur as importFromClaudeCode, Ut as saveMcpToolsCache, V as SettingsChoice, Vi as INTERACTION_GUIDANCE_NO_PROMPTS, Vn as RunningWorkItem, Vr as countClaudeSessionFiles, Vt as mcpToolsCachePath, W as SettingsToggle, Wi as SUBAGENT_GUIDANCE, Wn as SessionPresence, Wr as tryOpenBrowser, Wt as subscribeMcpToolsCache, X as scopeCwd, Xi as chatReferenceTokensForPrompt, Xn as cleanTitle, Xr as useUpdateCheck, Xt as buildVisibleMcpRows, Y as resolveSessionCwd, Yi as ChatTurnsReadToolOptions, Yn as GenerateSessionTitleOptions, Yr as buildUpdateHint, Yt as VisibleMcpRow, Z as IMPLICITLY_SAFE_TOOLS, Zi as createChatTurnsReadTool, Zn as generateSessionTitle, Zr as RunUpdateCommandOptions, Zt as indexOfServerRow, _ as DiscoverSystemMdOptions, _i as detectLibc, _r as ProviderCredential, _t as findGitRoot, a as GRUVBOX_DARK, ai as InPlaceUpdateResult, an as McpAuthEvent, ar as DiscoverySlot, at as readProjects, b as discoverSystemMd, bi as performInPlaceSelfUpdate, bn as InteractionHub, br as readCredentials, bt as fetchOAuthRedirect, c as CATPPUCCIN_LATTE, ci as PerformInPlaceUpdateOptions, cn as getMcpAuthStatus, cr as createDiscoverySlot, ct as runEndNotice, d as ThemeProvider, di as SelfUpdateResult, dn as readFileSafe, dr as useDiscovery, dt as clearProviderUsageCache, ei as CompanionSpec, en as mcpCredentialsPath, er as buildHints, et as addToSafelist, f as useColors, fi as TarballAvailabilityOptions, fn as resolveCwdPath, fr as useDiscoveryOptional, ft as fetchAllProviderUsage, g as useTheme, gi as compareSemver, gn as createChatHost, gr as PreferCredentialResult, gt as usageSourceFor, h as useSyntaxStyles, hi as checkTarballAvailable, hn as ContextSegmentsReport, hr as OAuthCredential, ht as usageChecksOptedOut, i as VAPORWAVE_THEME, ii as DetectPackageManagerOptions, in as useMcpAuthState, ir as Commit, it as projectsFilePath, j as defaultSkillScanPaths, ji as DiscoverAgentsMdOptions, jn as PendingApprovalsStore, jr as useConfig, jt as McpConfigScope, k as buildSpawnStartEvent, ki as AgentsMdFile, kn as createMemoryApprovalsStore, kr as isReservedCredKey, kt as modelChainMetadata, l as CATPPUCCIN_MACCHIATO, li as PerformSelfUpdateOptions, ln as reduceMcpAuth, lr as DiscoveryContextValue, lt as FetchProviderUsageOptions, m as useSurfaces, mi as checkForUpdate, mn as ChatHost, mr as CredentialsFile, mt as providerUsageSupported, n as createActiveTodoAnchorHooks, ni as findInstalledCompanion, nn as McpAuthProvider, nr as parseEditorCommand, nt as isOnSafelist, o as GRUVBOX_LIGHT, oi as PackageManagerCommand, on as McpAuthStateMap, or as DiscoverySlotOptions, ot as suggestSafelistEntries, p as useSelectStyle, pi as UpdateStatus, pn as serializePreview, pr as ApiKeyCredential, pt as fetchProviderUsage, q as useSettings, qi as buildPlanSystem, qn as WireApprovalRequest, qr as BuildUpdateHintOptions, qt as useMcpToolToggleMap, r as renderActiveTodoAnchor, ri as CheckForUpdateOptions, rn as useMcpAuthDispatch, rr as quoteForShell, rt as matchesSafelistEntry, s as CATPPUCCIN_FRAPPE, si as PackageManagerId, sn as McpAuthStatus, sr as Walk, st as writeProjects, t as ActiveTodoAnchorOptions, ti as InstalledCompanion, tn as patchMcpCredential, tr as shortChord, tt as getSafelist, u as CATPPUCCIN_MOCHA, ui as PlatformTarballOptions, un as extractEditPayloadForGate, ur as DiscoveryProvider, ut as USAGE_CACHE_TTL_MS, v as SystemMdFile, vi as detectPackageManager, vr as applyApiKeyEnv, vt as formatPathForCwd, w as StreamBuffer, wi as ArtifactScope, wn as CompactionEntry, wr as setPreferredCredential, wt as OAuthPrompt, x as renderSystemMdSeed, xi as performSelfUpdate, xn as createInteractionHub, xr as readProviderCredential, xt as normalizeRedirectPaste, y as SystemMdResult, yi as parseSemver, yr as credentialsPath, yt as FetchOAuthRedirectResult, z as SettingsCategory, zi as IDENTITY_PREFIX, zn as QueuedAttachment, zr as ClaudeImportSummary, zt as clearMcpToolsCache } from "./index-CnXKeZ8p.js";
3
- import { $ as KEYBINDING_DEF_BY_ACTION, A as resolveConfig, B as listSessionMeta, C as discoverProjectMcps, D as ProviderRegistry, E as ChatOptions, F as compactSummaryEvent, G as sumRunCosts, H as marginTopFor, I as createStateStore, J as toolResultText, K as titleFromTurns, L as deriveSessionTitle, M as ModelUsageSummary, N as StateStoreApi, O as ResolvedConfig, P as TuiState, Q as KEYBINDING_DEFS, R as eventsFromTurns, S as defaultMcpsConfigPaths, St as truncateTrailing, T as AutoUpdateConfig, U as saveState, V as loadState, W as stripSpawnTokensLine, X as usageByModel, Y as updateToolEventOutcomes, Z as DEFAULT_KEYBINDINGS, _ as DiscoveredMcp, _t as stripJsonComments, a as SessionExportTarget, at as ParsedBinding, b as buildMcpServers, bt as clipHintsToWidth, c as writeSessionExport, ct as formatBindingForDisplay, d as useEnabledToggleSet, dt as matchesBinding, et as KEYBINDING_KEY_COL_WIDTH, f as DiscoveredPlugin, ft as mergeKeybindings, g as projectUserPaths, gt as resolveExtensionKeybindings, h as ProjectUserPath, ht as readKeybindingsRaw, i as SessionExportFormat, it as KeyBindings, j as resolveStoragePaths, k as ResolvedPaths, l as EnabledAllowlistKey, lt as groupBindings, m as discoverProjectPlugins, mt as readKeybindings, n as computeTurnAnchors, nt as KeyBindingDef, o as renderSession, ot as ResolvedExtensionKeybinding, p as buildPluginContributions, pt as parseBindingSpec, q as toolCallPreview, r as SessionExportAnchor, rt as KeyBindingSection, s as resolveSessionExportTarget, st as ensureKeybindingsFile, t as TranscriptItem, tt as KeyAction, u as EnabledToggleSet, ut as keybindingsPath, v as DiscoveryError, vt as EMPTY_HINTS, w as parseMcpsFile, x as dedupMcpServersByName, xt as hintsLength, y as DiscoveryResult, yt as Hint, z as lastContextSizeFromTurns } from "./transcript-anchors-BHyrChoO.js";
4
- import { $ as CacheChipContent, $t as buildLinearRamp, A as finalizeStreamingMarkdown, At as resolveApprovalForPayload, B as formatUsagePercent, Bt as FileEntry, C as sanitizeTodoItems, Ct as summarizeEditPayload, D as MAX_TRANSCRIPT_EVENTS, Dt as maskToOutcomeKinds, E as useActiveTodos, Et as buildEditOutcomesAnnotation, F as ProviderUsageStatus, Ft as createSkillsCompletionProvider, G as compactPath, Gt as CHATS_TRIGGER, Ht as listProjectFiles, I as ProviderUsageWindow, It as uniqueSkillNamesFromReferences, J as formatDuration, Jt as ChatReferenceScope, K as fmtCost, Kt as ChatReferenceData, Lt as FILES_TRIGGER, M as turnContextSize, Mt as stripEditOutcomesAnnotation, N as ProviderUsageCredits, Nt as summarizeOutcomes, O as TRANSCRIPT_TRIM_TO_EVENTS, Ot as mergeApprovalAndBodyOutcomes, P as ProviderUsageSnapshot, Pt as SKILLS_TRIGGER, Q as shortId, Qt as blendHsl, Rt as createFilesCompletionProvider, S as pruneTodosByRun, St as splitLines, T as setTodosForRun, Tt as ResolvedApproval, Ut as COMMANDS_TRIGGER, V as mostConstrainedWindow, Vt as ListProjectFilesOptions, W as ageString, Wt as createCommandsCompletionProvider, X as formatTaskSummary, Xt as createChatsCompletionProvider, Y as formatTaskStatus, Yt as chatReferenceTokensFromText, Z as previewLine, Zt as uniqueChatIdsFromReferences, _ as createTodoTools, _t as computeInlineDiff, a as ActiveTodosState, b as isTodoTool, bt as filetypeFromPath, c as TODOREAD_TOOL, ct as EditHunkSummary, d as TODO_STATUS_GLYPHS, dt as InlineDiff, et as CacheChipTone, f as TODO_WRITE_COUNTS_METADATA_KEY, ft as InlineSegment, g as TodosBag, gt as buildUnifiedDiff, h as TodoTally, ht as buildContextualDiff, i as turnAsText, it as retryLabel, j as finalizeStreamingMarkdownForOwner, jt as rewriteMultiEditHeader, k as capTranscriptEvents, kt as parseEditOutcomesFromResult, l as TODOS_METADATA_KEY, lt as EditSummary, m as TodoStatus, mt as applyEditPayload, n as deleteTurnSafely, nt as compactingLabel, o as CreateTodoToolsOptions, ot as DiffLine, p as TodoItem, pt as PreviewResult, q as fmtTokens, qt as ChatReferenceEntry, r as truncateTurnsAt, s as DEFAULT_MAX_TODO_ITEMS, st as DiffOp, t as countNeighbors, tt as cacheBreakChip, u as TODOWRITE_TOOL, ut as HunkResolution, v as getArchivedTodosForRun, vt as computeLineDiff, w as selectActiveTodos, wt as tokenize, x as pickActiveRunId, xt as previewEditPayload, y as getTodosForRun, yt as extractEditPayload, zt as uniqueFilesFromReferences } from "./turn-operations-ZP5-2OWi.js";
5
- import { A as filterSessionSearchCatalog, B as searchableTurnText, C as SearchSessionResult, D as SessionSearchIndex, E as SessionSearchExcerpt, F as searchSessionHistoryIndexAsync, G as SafeModeProvider, H as ApprovalRequest, I as searchSessionIndex, J as DAEMON_HEALTH_GLYPH, K as useSafeModeActions, L as searchSessionIndexAsync, M as searchHighlightRanges, N as searchSessionHistory, O as buildSessionSearchIndex, P as searchSessionHistoryIndex, Q as DaemonHealthTone, R as searchSessionTurns, S as SearchExcerpt, T as SessionHistoryMatch, U as RequestApproval, V as ApprovalDecision, W as SafeModeActions, X as DaemonHealth, Y as DAEMON_HEALTH_STYLE, Z as DaemonHealthStyle, _ as normalizeMarkdownCodeFences, a as formatToolCall, at as isVisible, b as HighlightSegment, c as splitPromptSegments, d as filterModelCatalog, dt as turnSelectionOwnership, f as indexOfEntry, g as chunkMarkdownForRender, h as MarkdownSegment, i as displayNameFor, j as highlightSegments, k as buildSessionSearchIndexAsync, l as CatalogEntry, lt as selectableTurnIds, m as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, n as ToolDisplayMeta, nt as isEditErrorResult, o as PromptSegment, q as useSafeModeQueue, r as ToolFormatLine, rt as isTurnHighlighted, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, ut as selectionAfterTurnRemoval, v as splitMarkdownCodeBlocks, w as SearchTurnResult, x as IndexedSearchTurn, y as HighlightRange, z as searchTurns } from "./tool-formatters-bbgUM3zI.js";
6
- export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ARTIFACTS_COMPLETION_PROVIDER_ID, 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 ApprovalHub, type ApprovalOriginator, type ApprovalRequest, type ApprovalRequestInput, type ArtifactReferenceData, type ArtifactReferenceEntry, type ArtifactScope, type ArtifactViewGroup, type ArtifactViewRow, 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 CacheChipContent, type CacheChipTone, type CachedMcpToolList, type CatalogEntry, type ChatHost, type ChatHostEnvironment, 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 CommandArgSuggestionSummary, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type CommandSummary, type Commit, type CompactionEntry, type CompanionSpec, 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 ContextSegmentsReport, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_MAX_TODO_ITEMS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DaemonHealth, type DaemonHealthStyle, type DaemonHealthTone, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveredPlugin, 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, EditOutcomeLedger, 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 FetchProviderUsageOptions, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, HOST_INTERACTION_ID_PREFIX, type HighlightRange, type HighlightSegment, type Hint, type HostSettings, type HostSignal, 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 InstalledCompanion, type InteractionHub, 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 ModelFallbackTarget, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, ORCHESTRATED_BY_KEY, 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 PendingAnnotation, type PendingApprovalsStore, type PendingInteraction, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreferCredentialResult, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptAttachment, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type ProviderUsageCredits, type ProviderUsageSnapshot, type ProviderUsageStatus, type ProviderUsageWindow, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type QueuedAttachment, type QueuedItem, RUN_RECEIPT_GLYPH, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunReceipt, type RunReceiptCell, type RunReceiptCellKind, type RunReceiptSegment, type RunReceiptSegmentKind, type RunUpdateCommandOptions, type RunUpdateCommandResult, type RunningWorkItem, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, 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 SendOptions, type SerializedPreview, type SessionEvent, type SessionEventStatus, type SessionEventStatusStyle, type SessionEventTone, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionPresence, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type SpawnStartRecord, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamProgressInfo, 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 TarballAvailabilityOptions, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type TodosSnapshot, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, USAGE_CACHE_TTL_MS, type UpdateStatus, type UpsertMcpResult, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, WORKER_REPORT_FRAGMENT, type Walk, type WireApprovalRequest, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildPluginContributions, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildSpawnEndEvent, buildSpawnStartEvent, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, cacheBreakChip, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, checkTarballAvailable, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clearProviderUsageCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compactingLabel, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createApprovalHub, createArtifactsCompletionProvider, createAutomaticInteractionResponse, createChatHost, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionHub, createInteractionTools, createMemoryApprovalsStore, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectPlugins, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, enforceSettingsInvariants, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, extractEditPayloadForGate, fetchAllProviderUsage, fetchOAuthRedirect, fetchProviderUsage, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, findInstalledCompanion, fitRunReceiptCells, fmtCost, fmtTokens, folderlessCwd, formatBindingForDisplay, formatCostUsd, formatDuration, formatPathForCwd, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupArtifacts, groupBindings, hasClaudeCodeSetup, hasRunReceipt, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isMainSession, 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, modelChainMetadata, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, mostConstrainedWindow, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, orchestratedBy, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseEditorCommand, parseMcpsFile, parseSemver, parseSessionEventXml, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, providerUsageSupported, pruneTodosByRun, quoteForShell, readCredentials, readFileSafe, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSessionEventXml, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveCwdPath, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionCwd, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, retryLabel, rewriteMultiEditHeader, runCompaction, runEndNotice, runOAuthLogin, runReceiptFromRun, runUpdateCommand, sanitizeModelChain, sanitizeTodoItems, saveMcpToolsCache, saveState, scanExtensionDirectories, scopeCwd, scoreArtifacts, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, serializePreview, sessionDirLabel, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, sessionModelFallbacks, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shortSessionId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeArtifactCounts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toTodosSnapshot, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTitle, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, usageChecksOptedOut, usageSourceFor, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userScopeOverridesLoad, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
1
+ import { $d as CustomField, $f as isModelInteraction, $l as InlineAutocompleteContext, $o as ExtensionStorageSurface, $p as ContextExtensionRow, Ad as hasRunReceipt, Af as InteractionRequest, Ap as AgentProfile, Bf as PlanStep, Bi as generateStructuredData, Bl as resolveStorageDirs, Bp as singleAgentRegistry, Bu as EditHunk, Cd as fitRunReceiptCells, Cf as ASK_USER_TOOL, Dd as formatRunReceiptLine, Df as CreateInteractionToolsOptions, Du as CommandInvocation, Ed as formatRunReceiptCells, Ef as ConfirmQuestion, Eo as ExtensionContext, Fa as inlineLoadedExtension, Fd as chainPositionOf, Ff as PendingInteractionEntry, Fo as ExtensionKeybinding, Fp as DEFAULT_BUDGET_EXCLUDE_TOOLS, Gd as sanitizeModelChain, Gf as QuestionResponse, Gl as SyntaxStyles, Go as ExtensionProviderMiddleware, Gp as buildContextSegments, Gu as Owner, Hd as providerKeySetChanged, Hf as QuestionChoice, Hl as ChipColor, Ho as ExtensionPaths, Hp as ContextSegmentFile, Hu as EditOutcomeKind, Id as chainsEqual, If as PlanDecision, Il as ResolveStorageDirsOptions, Io as ExtensionKeybindingDispatchContext, Ip as DEFAULT_PERSIST_EXCLUDE_TOOLS, Iu as commandSteps, Jd as AuthMethod, Jf as TextQuestion, Jl as ThemeColors, Jo as ExtensionRuntimeEnv, Jp as ContextBreakdownContributor, Ju as SessionMeta, Kd as toggleChainEntry, Kf as QuestionType, Kl as SyntaxTokenStyle, Ko as ExtensionRegistry, Kp as ContextBreakdown, Ku as Picked, Lf as PlanPayload, Ll as StorageDirs, Lo as ExtensionManifest, Lp as PLAN_AGENT, Lu as executeCommand, Md as ModelChainEntry, Mf as InteractionsActions, Mo as ExtensionFooterHint, Mp as BUILD_AGENT, Mu as CommandStepContext, Na as defaultExtensionScanPaths, Nd as buildRunModel, Nf as InteractionsProvider, No as ExtensionGuiPanel, Np as BUILTIN_AGENTS, Nu as CommandStepFn, Od as formatTokenCount, Of as HOST_INTERACTION_ID_PREFIX, Oo as ExtensionContributions, Ou as CommandOutputBlock, Pa as discoverExtensions, Pf as PRESENT_PLAN_TOOL, Pp as DEFAULT_AGENT_ID, Qd as BUILTIN_PROVIDERS, Qf as isInteractionTool, Ql as resolveTheme, Qo as ExtensionStorageScope, Qp as ContextExactCounts, Qu as ORCHESTRATED_BY_KEY, Ra as scanExtensionDirectories, Rd as filterChainFallbacks, Rf as PlanRequest, Rl as StorageMode, Ro as ExtensionMcpConfigTransform, Rp as accentColor, Ru as parseCommandInvocation, Sd as RunReceiptSegmentKind, Sf as shouldAutoCompact, Td as formatRunDuration, Tf as AnswerValue, To as ExtensionCapability, Uf as QuestionPayload, Ul as ChipColorMap, Uo as ExtensionPermission, Up as ContextSegmentOrigin, Uu as EditPayload, Vf as Question, Vl as BUILTIN_THEMES, Vo as ExtensionOrderedContribution, Vp as ContextSegment, Vu as EditOutcome, Wa as defineExtension, Wd as restoreChainFallbacks, Wf as QuestionRequest, Wl as DEFAULT_THEME, Wp as ContextSegmentsInput, Wu as InteractionMode, Xd as ProviderKey, Xf as createAutomaticInteractionResponse, Xl as ThemeSurfaces, Xo as ExtensionSkillPolicy, Xp as ContextCategory, Xu as StreamEvent, Yd as ProviderAuth, Yf as buildResumedToolResultsTurn, Yl as ThemeSelect, Yo as ExtensionSessionStateSurface, Yp as ContextBreakdownOptions, Yu as Settings, Zd as detectAuth, Zf as createInteractionTools, Zl as resolveChipColor, Zo as ExtensionSource, Zp as ContextCategoryId, Zu as ToolCallDisplay, _d as RUN_RECEIPT_GLYPH, _f as AUTO_COMPACT_MIN_GROWTH_FRACTION, _u as mergeReferences, aa as buildExtensionRegistry, ad as SessionEventTone, af as credKeyOf, am as buildContextBreakdown, au as tokenEndingAtCursor, bd as RunReceiptCellKind, bf as OUTPUT_RESERVE_TOKENS, bu as Command, ca as filterExtensionRegistry, cd as orchestratedBy, cf as getModelInfo, cu as ActiveTrigger, da as partitionExtensionCatalog, dd as sessionDirLabel, df as modelSupportsReasoning, do as EMPTY_EXTENSION_REGISTRY, ds as GuiContributions, du as CompletionProvider, ed as SESSION_EVENT_STATUS_STYLE, ef as ModelInfo, em as ContextExtensionSection, ep as makeRequestInteraction, es as ExtensionToolCatalogTransform, eu as InlineAutocompleteProvider, fd as sessionEventExcerpt, ff as modelsForDescriptor, fs as LoadedExtension, fu as CompletionReference, gd as truncateTitle, gf as restoreModelOptions, gu as findActiveTrigger, hd as shortSessionId, hf as piIdOf, hu as collectReferences, ia as buildExtensionPreset, id as SessionEventStatusStyle, if as cerebrasDescriptor, im as ContextUsageSplit, ip as useInteractionsQueue, iu as resolveInlineSuggestion, jd as runReceiptFromRun, jf as InteractionResponse, jo as ExtensionDefinition, jp as AgentRegistry, ju as CommandStep, kd as formatTokensPerSecond, kf as InteractionOrigin, kp as AgentAccent, ld as parseSessionEventXml, lf as localDescriptor, lu as CompletionContext, md as sessionEventMeta, mf as openrouterDescriptor, ms as TuiContributions, mu as applyInsert, na as BuildExtensionRegistryOptions, nd as SessionEvent, nf as ProviderDescriptor, nm as ContextMcpGroup, np as serializeInteractionResponse, nu as createPathAutocompleteProvider, oa as composeExtensionPreset, od as WORKER_REPORT_FRAGMENT, of as enabledModelOptions, os as ExtensionToolResultMetadataRegistration, ou as CompletionState, pd as sessionEventLabel, pf as openaiDescriptor, po as ExtensionApiVersion, qf as SelectQuestion, ql as Theme, qo as ExtensionRunTransform, qp as ContextBreakdownContributionContext, qu as Screen, rd as SessionEventStatus, rf as anthropicDescriptor, rm as ContextSnapshot, rp as useInteractionsActions, ru as patchInlineGhost, sa as disposeExtensionRegistry, sd as isMainSession, sf as getContextWindow, su as useCompletion, td as SESSION_ROLE_KEY, tf as ModelOption, tm as ContextItem, tp as pendingInteractionsFromTurns, tu as InlineGhost, ua as mergeContributions, ud as renderSessionEventXml, uf as modelOptionsFor, uu as CompletionItem, vd as RunReceipt, vf as AutoCompactDecision, vu as mergeSuggestions, wd as formatCostUsd, wf as AUTOMATIC_INTERACTION_INSTRUCTION, wu as CommandExecution, xd as RunReceiptSegment, xf as effectiveContextWindow, xo as ExtensionBehaviorTransform, xu as CommandAgentResult, yd as RunReceiptCell, yf as AutoCompactInput, zf as PlanResponse, zi as GenerateStructuredDataOptions, zl as StorageSlot, zo as ExtensionModal, zp as resolveAgentId, zu as EditDiffDisplay } from "./index-CCB05-JZ.js";
2
+ import { $ as ProjectsFile, $i as ACTIONS_WITH_CARE_DOCTRINE, $n as BuildHintsOptions, $r as UseUpdateCheckOptions, $t as createFileMcpCredentialStore, A as buildSkillsConfig, Ai as SelfUpdateResult, An as ChatHostEnvironment, Ar as ConfigProvider, At as sessionModelFallbacks, B as SettingsCategoryDescriptor, Bi as performSelfUpdate, Bn as QueuedItem, Br as ClaudeSessionImportResult, Bt as loadMcpToolsCache, C as userSystemMdPath, Ci as DetectPackageManagerOptions, Cn as PendingAnnotation, Cr as removeProviderCredential, Ct as OAuthFlowOptions, D as SpawnStartRecord, Di as PerformInPlaceUpdateOptions, Dn as ApprovalRequestInput, Dr as ALTERNATE_CRED_KEY_SUFFIX, Dt as supportsOAuth, E as useStreamBuffer, Ei as PackageManagerId, En as ApprovalHub, Er as writeCredentials, Et as runOAuthLogin, F as SETTINGS_CATEGORIES, Fi as compareSemver, Fn as HostSettings, Fr as createArtifactsCompletionProvider, Ft as removeMcpServer, G as StringSettingKey, Gi as ArtifactViewRow, Gn as StreamProgressInfo, Gr as bootProfileEnabled, Gt as McpToolToggleSet, H as SettingsInput, Hi as chatAutoCompactBehavior, Hn as SendOptions, Hr as hasClaudeCodeSetup, Ht as refreshMcpToolsCatalog, I as SETTINGS_CHOICES, Ii as detectLibc, In as HostSignal, Ir as scoreArtifacts, It as upsertMcpServer, J as folderlessCwd, Ji as AgentsMdFile, Jn as toTodosSnapshot, Jr as UpgradePackageResult, Jt as useMcpToolToggleSet, K as enforceSettingsInvariants, Ki as groupArtifacts, Kn as TodosSnapshot, Kr as bootTick, Kt as buildToolToggle, L as SETTINGS_INPUTS, Li as detectPackageManager, Ln as PendingInteraction, Lr as ClaudeCopyResult, Lt as CachedMcpToolList, M as discoverProjectSkills, Mi as UpdateStatus, Mn as ApprovalOriginator, Mr as ARTIFACTS_COMPLETION_PROVIDER_ID, Mt as RemoveMcpResult, N as BooleanSettingKey, Ni as checkForUpdate, Nn as CommandArgSuggestionSummary, Nr as ArtifactReferenceData, Nt as UpsertMcpResult, O as buildSpawnEndEvent, Oi as PerformSelfUpdateOptions, On as createApprovalHub, Or as alternateCredKey, Ot as ModelFallbackTarget, P as DEFAULT_SETTINGS, Pi as checkTarballAvailable, Pn as CommandSummary, Pr as ArtifactReferenceEntry, Pt as mcpsWritePath, Q as ProjectEntry, Qi as renderAgentsMdBlock, Qn as shouldAutoGenerateTitle, Qr as BuildUpdateHintOptions, Qt as parentServerName, R as SETTINGS_TOGGLES, Ri as parseSemver, Rn as PromptAttachment, Rr as ClaudeImportOptions, Rt as McpToolsCache, S as userScopeOverridesLoad, Si as CheckForUpdateOptions, Sn as EditOutcomeLedger, Sr as readProviderCredentialPair, St as redirectUriFromAuthUrl, T as StreamSource, Ti as PackageManagerCommand, Tn as runCompaction, Tr as setProviderCredential, Tt as oauthUsesManualCodePaste, U as SettingsProvider, Ui as ArtifactScope, Un as SerializedPreview, Ur as importFromClaudeCode, Ut as saveMcpToolsCache, V as SettingsChoice, Vi as resolvePlatformPackage, Vn as RunningWorkItem, Vr as countClaudeSessionFiles, Vt as mcpToolsCachePath, W as SettingsToggle, Wi as ArtifactViewGroup, Wn as SessionPresence, Wr as tryOpenBrowser, Wt as subscribeMcpToolsCache, X as scopeCwd, Xi as DiscoverAgentsMdOptions, Xn as cleanTitle, Xr as UpgradeReport, Xt as buildVisibleMcpRows, Y as resolveSessionCwd, Yi as AgentsMdResult, Yn as GenerateSessionTitleOptions, Yr as UpgradeProgressEvent, Yt as VisibleMcpRow, Z as IMPLICITLY_SAFE_TOOLS, Zi as discoverAgentsMd, Zn as generateSessionTitle, Zr as upgradeInstalledPackages, Zt as indexOfServerRow, _ as DiscoverSystemMdOptions, _a as CALL_TOOL_NAME, _i as watchInstalledVersion, _r as ProviderCredential, _t as findGitRoot, a as GRUVBOX_DARK, aa as INTERACTION_GUIDANCE, ai as runUpdateCommand, an as McpAuthEvent, ar as DiscoverySlot, at as readProjects, b as discoverSystemMd, bi as InstalledCompanion, bn as InteractionHub, br as readCredentials, bt as fetchOAuthRedirect, c as CATPPUCCIN_LATTE, ca as PLAN_MODE_DOCTRINE_NO_PROMPTS, ci as UPDATE_APPLIED_MARKER, cn as getMcpAuthStatus, cr as createDiscoverySlot, ct as runEndNotice, d as ThemeProvider, da as buildBuildSystem, di as WatchInstalledVersionOptions, dn as readFileSafe, dr as useDiscovery, dt as clearProviderUsageCache, ea as BuildSystemOptions, ei as buildRestartHint, en as mcpCredentialsPath, er as buildHints, et as addToSafelist, f as useColors, fa as buildPlanSystem, fi as hasUpdateAppliedMarker, fn as resolveCwdPath, fr as useDiscoveryOptional, ft as fetchAllProviderUsage, g as useTheme, ga as createChatTurnsReadTool, gi as useRestartRequired, gn as createChatHost, gr as PreferCredentialResult, gt as usageSourceFor, h as useSyntaxStyles, ha as chatReferenceTokensForPrompt, hi as updateAppliedMarkerPath, hn as ContextSegmentsReport, hr as OAuthCredential, ht as usageChecksOptedOut, i as VAPORWAVE_THEME, ia as IDENTITY_PREFIX, ii as RunUpdateCommandResult, in as useMcpAuthState, ir as Commit, it as projectsFilePath, j as defaultSkillScanPaths, ji as TarballAvailabilityOptions, jn as PendingApprovalsStore, jr as useConfig, jt as McpConfigScope, k as buildSpawnStartEvent, ki as PlatformTarballOptions, kn as createMemoryApprovalsStore, kr as isReservedCredKey, kt as modelChainMetadata, l as CATPPUCCIN_MACCHIATO, la as SUBAGENT_GUIDANCE, li as UpdateAppliedMarker, ln as reduceMcpAuth, lr as DiscoveryContextValue, lt as FetchProviderUsageOptions, m as useSurfaces, ma as ChatTurnsReadToolOptions, mi as readUpdateAppliedMarker, mn as ChatHost, mr as CredentialsFile, mt as providerUsageSupported, n as createActiveTodoAnchorHooks, na as DOING_TASKS_DOCTRINE, ni as useUpdateCheck, nn as McpAuthProvider, nr as parseEditorCommand, nt as isOnSafelist, o as GRUVBOX_LIGHT, oa as INTERACTION_GUIDANCE_NO_PROMPTS, oi as InstalledVersionState, on as McpAuthStateMap, or as DiscoverySlotOptions, ot as suggestSafelistEntries, p as useSelectStyle, pa as envSection, pi as probeInstalledVersion, pn as serializePreview, pr as ApiKeyCredential, pt as fetchProviderUsage, q as useSettings, qi as summarizeArtifactCounts, qn as WireApprovalRequest, qr as UpgradeInstalledPackagesOptions, qt as useMcpToolToggleMap, r as renderActiveTodoAnchor, ra as EnvSectionOptions, ri as RunUpdateCommandOptions, rn as useMcpAuthDispatch, rr as quoteForShell, rt as matchesSafelistEntry, s as CATPPUCCIN_FRAPPE, sa as PLAN_MODE_DOCTRINE, si as InstalledVersionWatcher, sn as McpAuthStatus, sr as Walk, st as writeProjects, t as ActiveTodoAnchorOptions, ta as COMMUNICATION_DOCTRINE, ti as buildUpdateHint, tn as patchMcpCredential, tr as shortChord, tt as getSafelist, u as CATPPUCCIN_MOCHA, ua as TOKEN_DISCIPLINE_DOCTRINE, ui as UseRestartRequiredOptions, un as extractEditPayloadForGate, ur as DiscoveryProvider, ut as USAGE_CACHE_TTL_MS, v as SystemMdFile, va as UnwrappedToolCall, vi as writeUpdateAppliedMarker, vr as applyApiKeyEnv, vt as formatPathForCwd, w as StreamBuffer, wi as InPlaceUpdateResult, wn as CompactionEntry, wr as setPreferredCredential, wt as OAuthPrompt, x as renderSystemMdSeed, xi as findInstalledCompanion, xn as createInteractionHub, xr as readProviderCredential, xt as normalizeRedirectPaste, y as SystemMdResult, ya as unwrapCallTool, yi as CompanionSpec, yr as credentialsPath, yt as FetchOAuthRedirectResult, z as SettingsCategory, zi as performInPlaceSelfUpdate, zn as QueuedAttachment, zr as ClaudeImportSummary, zt as clearMcpToolsCache } from "./index-Ogi2CeHf.js";
3
+ import { $ as KEYBINDING_DEF_BY_ACTION, A as resolveConfig, B as listSessionMeta, C as discoverProjectMcps, D as ProviderRegistry, E as ChatOptions, F as compactSummaryEvent, G as sumRunCosts, H as marginTopFor, I as createStateStore, J as toolResultText, K as titleFromTurns, L as deriveSessionTitle, M as ModelUsageSummary, N as StateStoreApi, O as ResolvedConfig, P as TuiState, Q as KEYBINDING_DEFS, R as eventsFromTurns, S as defaultMcpsConfigPaths, St as truncateTrailing, T as AutoUpdateConfig, U as saveState, V as loadState, W as stripSpawnTokensLine, X as usageByModel, Y as updateToolEventOutcomes, Z as DEFAULT_KEYBINDINGS, _ as DiscoveredMcp, _t as stripJsonComments, a as SessionExportTarget, at as ParsedBinding, b as buildMcpServers, bt as clipHintsToWidth, c as writeSessionExport, ct as formatBindingForDisplay, d as useEnabledToggleSet, dt as matchesBinding, et as KEYBINDING_KEY_COL_WIDTH, f as DiscoveredPlugin, ft as mergeKeybindings, g as projectUserPaths, gt as resolveExtensionKeybindings, h as ProjectUserPath, ht as readKeybindingsRaw, i as SessionExportFormat, it as KeyBindings, j as resolveStoragePaths, k as ResolvedPaths, l as EnabledAllowlistKey, lt as groupBindings, m as discoverProjectPlugins, mt as readKeybindings, n as computeTurnAnchors, nt as KeyBindingDef, o as renderSession, ot as ResolvedExtensionKeybinding, p as buildPluginContributions, pt as parseBindingSpec, q as toolCallPreview, r as SessionExportAnchor, rt as KeyBindingSection, s as resolveSessionExportTarget, st as ensureKeybindingsFile, t as TranscriptItem, tt as KeyAction, u as EnabledToggleSet, ut as keybindingsPath, v as DiscoveryError, vt as EMPTY_HINTS, w as parseMcpsFile, x as dedupMcpServersByName, xt as hintsLength, y as DiscoveryResult, yt as Hint, z as lastContextSizeFromTurns } from "./transcript-anchors-CJCxyVE-.js";
4
+ import { $ as CacheChipContent, $t as buildLinearRamp, A as finalizeStreamingMarkdown, At as resolveApprovalForPayload, B as formatUsagePercent, Bt as FileEntry, C as sanitizeTodoItems, Ct as summarizeEditPayload, D as MAX_TRANSCRIPT_EVENTS, Dt as maskToOutcomeKinds, E as useActiveTodos, Et as buildEditOutcomesAnnotation, F as ProviderUsageStatus, Ft as createSkillsCompletionProvider, G as compactPath, Gt as CHATS_TRIGGER, Ht as listProjectFiles, I as ProviderUsageWindow, It as uniqueSkillNamesFromReferences, J as formatDuration, Jt as ChatReferenceScope, K as fmtCost, Kt as ChatReferenceData, Lt as FILES_TRIGGER, M as turnContextSize, Mt as stripEditOutcomesAnnotation, N as ProviderUsageCredits, Nt as summarizeOutcomes, O as TRANSCRIPT_TRIM_TO_EVENTS, Ot as mergeApprovalAndBodyOutcomes, P as ProviderUsageSnapshot, Pt as SKILLS_TRIGGER, Q as shortId, Qt as blendHsl, Rt as createFilesCompletionProvider, S as pruneTodosByRun, St as splitLines, T as setTodosForRun, Tt as ResolvedApproval, Ut as COMMANDS_TRIGGER, V as mostConstrainedWindow, Vt as ListProjectFilesOptions, W as ageString, Wt as createCommandsCompletionProvider, X as formatTaskSummary, Xt as createChatsCompletionProvider, Y as formatTaskStatus, Yt as chatReferenceTokensFromText, Z as previewLine, Zt as uniqueChatIdsFromReferences, _ as createTodoTools, _t as computeInlineDiff, a as ActiveTodosState, b as isTodoTool, bt as filetypeFromPath, c as TODOREAD_TOOL, ct as EditHunkSummary, d as TODO_STATUS_GLYPHS, dt as InlineDiff, et as CacheChipTone, f as TODO_WRITE_COUNTS_METADATA_KEY, ft as InlineSegment, g as TodosBag, gt as buildUnifiedDiff, h as TodoTally, ht as buildContextualDiff, i as turnAsText, it as retryLabel, j as finalizeStreamingMarkdownForOwner, jt as rewriteMultiEditHeader, k as capTranscriptEvents, kt as parseEditOutcomesFromResult, l as TODOS_METADATA_KEY, lt as EditSummary, m as TodoStatus, mt as applyEditPayload, n as deleteTurnSafely, nt as compactingLabel, o as CreateTodoToolsOptions, ot as DiffLine, p as TodoItem, pt as PreviewResult, q as fmtTokens, qt as ChatReferenceEntry, r as truncateTurnsAt, s as DEFAULT_MAX_TODO_ITEMS, st as DiffOp, t as countNeighbors, tt as cacheBreakChip, u as TODOWRITE_TOOL, ut as HunkResolution, v as getArchivedTodosForRun, vt as computeLineDiff, w as selectActiveTodos, wt as tokenize, x as pickActiveRunId, xt as previewEditPayload, y as getTodosForRun, yt as extractEditPayload, zt as uniqueFilesFromReferences } from "./turn-operations-qcv9UFcL.js";
5
+ import { A as filterSessionSearchCatalog, B as searchableTurnText, C as SearchSessionResult, D as SessionSearchIndex, E as SessionSearchExcerpt, F as searchSessionHistoryIndexAsync, G as SafeModeProvider, H as ApprovalRequest, I as searchSessionIndex, J as DAEMON_HEALTH_GLYPH, K as useSafeModeActions, L as searchSessionIndexAsync, M as searchHighlightRanges, N as searchSessionHistory, O as buildSessionSearchIndex, P as searchSessionHistoryIndex, Q as DaemonHealthTone, R as searchSessionTurns, S as SearchExcerpt, T as SessionHistoryMatch, U as RequestApproval, V as ApprovalDecision, W as SafeModeActions, X as DaemonHealth, Y as DAEMON_HEALTH_STYLE, Z as DaemonHealthStyle, _ as normalizeMarkdownCodeFences, a as formatToolCall, at as isVisible, b as HighlightSegment, c as splitPromptSegments, d as filterModelCatalog, dt as turnSelectionOwnership, f as indexOfEntry, g as chunkMarkdownForRender, h as MarkdownSegment, i as displayNameFor, j as highlightSegments, k as buildSessionSearchIndexAsync, l as CatalogEntry, lt as selectableTurnIds, m as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, n as ToolDisplayMeta, nt as isEditErrorResult, o as PromptSegment, q as useSafeModeQueue, r as ToolFormatLine, rt as isTurnHighlighted, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, ut as selectionAfterTurnRemoval, v as splitMarkdownCodeBlocks, w as SearchTurnResult, x as IndexedSearchTurn, y as HighlightRange, z as searchTurns } from "./tool-formatters-Bu4repDJ.js";
6
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ARTIFACTS_COMPLETION_PROVIDER_ID, 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 ApprovalHub, type ApprovalOriginator, type ApprovalRequest, type ApprovalRequestInput, type ArtifactReferenceData, type ArtifactReferenceEntry, type ArtifactScope, type ArtifactViewGroup, type ArtifactViewRow, 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, CALL_TOOL_NAME, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, type CacheChipContent, type CacheChipTone, type CachedMcpToolList, type CatalogEntry, type ChatHost, type ChatHostEnvironment, 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 CommandArgSuggestionSummary, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type CommandSummary, type Commit, type CompactionEntry, type CompanionSpec, 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 ContextSegmentsReport, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_MAX_TODO_ITEMS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DaemonHealth, type DaemonHealthStyle, type DaemonHealthTone, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveredPlugin, 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, EditOutcomeLedger, 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 FetchProviderUsageOptions, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, HOST_INTERACTION_ID_PREFIX, type HighlightRange, type HighlightSegment, type Hint, type HostSettings, type HostSignal, 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 InstalledCompanion, type InstalledVersionState, type InstalledVersionWatcher, type InteractionHub, 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 ModelFallbackTarget, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, ORCHESTRATED_BY_KEY, 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 PendingAnnotation, type PendingApprovalsStore, type PendingInteraction, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreferCredentialResult, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptAttachment, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type ProviderUsageCredits, type ProviderUsageSnapshot, type ProviderUsageStatus, type ProviderUsageWindow, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type QueuedAttachment, type QueuedItem, RUN_RECEIPT_GLYPH, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunReceipt, type RunReceiptCell, type RunReceiptCellKind, type RunReceiptSegment, type RunReceiptSegmentKind, type RunUpdateCommandOptions, type RunUpdateCommandResult, type RunningWorkItem, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, 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 SendOptions, type SerializedPreview, type SessionEvent, type SessionEventStatus, type SessionEventStatusStyle, type SessionEventTone, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionPresence, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type SpawnStartRecord, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamProgressInfo, 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 TarballAvailabilityOptions, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type TodosSnapshot, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, UPDATE_APPLIED_MARKER, USAGE_CACHE_TTL_MS, type UnwrappedToolCall, type UpdateAppliedMarker, type UpdateStatus, type UpgradeInstalledPackagesOptions, type UpgradePackageResult, type UpgradeProgressEvent, type UpgradeReport, type UpsertMcpResult, type UseRestartRequiredOptions, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, WORKER_REPORT_FRAGMENT, type Walk, type WatchInstalledVersionOptions, type WireApprovalRequest, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildPluginContributions, buildRestartHint, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildSpawnEndEvent, buildSpawnStartEvent, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, cacheBreakChip, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, checkTarballAvailable, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clearProviderUsageCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compactingLabel, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createApprovalHub, createArtifactsCompletionProvider, createAutomaticInteractionResponse, createChatHost, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionHub, createInteractionTools, createMemoryApprovalsStore, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectPlugins, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, enforceSettingsInvariants, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, extractEditPayloadForGate, fetchAllProviderUsage, fetchOAuthRedirect, fetchProviderUsage, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, findInstalledCompanion, fitRunReceiptCells, fmtCost, fmtTokens, folderlessCwd, formatBindingForDisplay, formatCostUsd, formatDuration, formatPathForCwd, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupArtifacts, groupBindings, hasClaudeCodeSetup, hasRunReceipt, hasUpdateAppliedMarker, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isMainSession, 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, modelChainMetadata, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, mostConstrainedWindow, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, orchestratedBy, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseEditorCommand, parseMcpsFile, parseSemver, parseSessionEventXml, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, probeInstalledVersion, projectUserPaths, projectsFilePath, providerKeySetChanged, providerUsageSupported, pruneTodosByRun, quoteForShell, readCredentials, readFileSafe, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, readUpdateAppliedMarker, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSessionEventXml, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveCwdPath, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionCwd, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, retryLabel, rewriteMultiEditHeader, runCompaction, runEndNotice, runOAuthLogin, runReceiptFromRun, runUpdateCommand, sanitizeModelChain, sanitizeTodoItems, saveMcpToolsCache, saveState, scanExtensionDirectories, scopeCwd, scoreArtifacts, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, serializePreview, sessionDirLabel, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, sessionModelFallbacks, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shortSessionId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeArtifactCounts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toTodosSnapshot, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTitle, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, unwrapCallTool, updateAppliedMarkerPath, updateToolEventOutcomes, upgradeInstalledPackages, upsertMcpServer, usageByModel, usageChecksOptedOut, usageSourceFor, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useRestartRequired, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userScopeOverridesLoad, userSystemMdPath, watchInstalledVersion, writeCredentials, writeProjects, writeSessionExport, writeUpdateAppliedMarker };
package/dist/chat.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { n as buildContextBreakdown, t as buildContextSegments } from "./context-segments-BrEsRhA0.js";
2
- import { $t as KEYBINDING_DEF_BY_ACTION, Jn as AUTO_COMPACT_MIN_GROWTH_FRACTION, Qt as KEYBINDING_DEFS, Sn as scanExtensionDirectories, Tn as defineExtension, Xn as effectiveContextWindow, Y as EMPTY_EXTENSION_REGISTRY, Yn as OUTPUT_RESERVE_TOKENS, Zn as shouldAutoCompact, Zt as DEFAULT_KEYBINDINGS, _n as defaultExtensionScanPaths, an as matchesBinding, cn as readKeybindings, ct as buildExtensionRegistry, dn as stripJsonComments, dt as filterExtensionRegistry, en as KEYBINDING_KEY_COL_WIDTH, fn as ALTERNATE_CRED_KEY_SUFFIX, in as keybindingsPath, ln as readKeybindingsRaw, lt as composeExtensionPreset, mn as isReservedCredKey, mt as partitionExtensionCatalog, nn as formatBindingForDisplay, on as mergeKeybindings, pn as alternateCredKey, pt as mergeContributions, rn as groupBindings, sn as parseBindingSpec, st as buildExtensionPreset, tn as ensureKeybindingsFile, un as resolveExtensionKeybindings, ut as disposeExtensionRegistry, vn as discoverExtensions, yn as inlineLoadedExtension } from "./agent-BipX4BBj.js";
3
- import { C as tokenEndingAtCursor, D as shouldAutoGenerateTitle, E as generateSessionTitle, F as parseCommandInvocation, N as commandSteps, P as executeCommand, S as resolveInlineSuggestion, T as cleanTitle, b as createPathAutocompleteProvider, w as generateStructuredData, x as patchInlineGhost } from "./src-DzzhE2YO.js";
2
+ import { $n as effectiveContextWindow, $t as DEFAULT_KEYBINDINGS, Dn as defineExtension, Qn as OUTPUT_RESERVE_TOKENS, Z as EMPTY_EXTENSION_REGISTRY, Zn as AUTO_COMPACT_MIN_GROWTH_FRACTION, an as groupBindings, bn as discoverExtensions, cn as mergeKeybindings, dn as readKeybindingsRaw, dt as composeExtensionPreset, en as KEYBINDING_DEFS, er as shouldAutoCompact, fn as resolveExtensionKeybindings, ft as disposeExtensionRegistry, g as unwrapCallTool, gn as isReservedCredKey, gt as partitionExtensionCatalog, h as CALL_TOOL_NAME, hn as alternateCredKey, ht as mergeContributions, in as formatBindingForDisplay, ln as parseBindingSpec, lt as buildExtensionPreset, mn as ALTERNATE_CRED_KEY_SUFFIX, nn as KEYBINDING_KEY_COL_WIDTH, on as keybindingsPath, pn as stripJsonComments, pt as filterExtensionRegistry, rn as ensureKeybindingsFile, sn as matchesBinding, tn as KEYBINDING_DEF_BY_ACTION, un as readKeybindings, ut as buildExtensionRegistry, wn as scanExtensionDirectories, xn as inlineLoadedExtension, yn as defaultExtensionScanPaths } from "./agent-BCG9JcZl.js";
3
+ import { C as tokenEndingAtCursor, D as shouldAutoGenerateTitle, E as generateSessionTitle, F as parseCommandInvocation, N as commandSteps, P as executeCommand, S as resolveInlineSuggestion, T as cleanTitle, b as createPathAutocompleteProvider, w as generateStructuredData, x as patchInlineGhost } from "./src-CjkY6fBj.js";
4
4
  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";
5
5
  import { L as projectUserPaths, R as findGitRoot } from "./skills-PJyiSRCp.js";
6
6
  import { p as resolveStorageDirs } from "./plugins-B531Tz5b.js";
7
7
  import { a as mergeReferences, n as collectReferences, o as mergeSuggestions, r as findActiveTrigger, t as applyInsert } from "./completion-core-BRo86R_L.js";
8
- import { $t as formatTokenCount, A as chunkMarkdownForRender, Bt as renderSessionEventXml, Cn as CHATS_TRIGGER, D as indexOfEntry, E as filterModelCatalog, En as uniqueChatIdsFromReferences, Et as selectionAfterTurnRemoval, G as chainPositionOf, Gt as shortSessionId, H as DAEMON_HEALTH_STYLE, Ht as sessionEventExcerpt, I as cacheBreakChip, It as isMainSession, J as filterChainFallbacks, Jt as fitRunReceiptCells, K as chainsEqual, Kt as truncateTitle, L as compactingLabel, Lt as orchestratedBy, Mt as SESSION_EVENT_STATUS_STYLE, N as normalizeMarkdownCodeFences, Nt as SESSION_ROLE_KEY, Ot as turnSelectionOwnership, P as splitMarkdownCodeBlocks, Pt as WORKER_REPORT_FRAGMENT, Q as providerKeySetChanged, Qt as formatRunReceiptLine, Rt as parseSessionEventXml, Sn as summarizeOutcomes, T as buildModelCatalog, Tn as createChatsCompletionProvider, Tt as selectableTurnIds, U as buildRunModel, Ut as sessionEventLabel, V as DAEMON_HEALTH_GLYPH, Vt as sessionDirLabel, Wt as sessionEventMeta, Xt as formatRunDuration, Yt as formatCostUsd, Zt as formatRunReceiptCells, _ as turnContextSize, _n as mergeApprovalAndBodyOutcomes, _t as isTurnHighlighted, a as TOOL_DISPLAY, an as buildUnifiedDiff, at as createSkillsCompletionProvider, b as formatUsagePercent, bn as rewriteMultiEditHeader, c as MAX_TRANSCRIPT_EVENTS, cn as computeLineDiff, ct as createFilesCompletionProvider, d as finalizeStreamingMarkdown, dn as previewEditPayload, dt as createCommandsCompletionProvider, en as formatTokensPerSecond, et as restoreChainFallbacks, f as finalizeStreamingMarkdownForOwner, fn as splitLines, ft as blendHsl, gn as maskToOutcomeKinds, gt as isEditErrorResult, hn as buildEditOutcomesAnnotation, i as turnAsText, in as buildContextualDiff, it as SKILLS_TRIGGER, jt as ORCHESTRATED_BY_KEY, k as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, l as TRANSCRIPT_TRIM_TO_EVENTS, ln as extractEditPayload, lt as uniqueFilesFromReferences, mn as tokenize, n as deleteTurnSafely, nn as runReceiptFromRun, nt as toggleChainEntry, o as displayNameFor, ot as uniqueSkillNamesFromReferences, pn as summarizeEditPayload, pt as buildLinearRamp, qt as RUN_RECEIPT_GLYPH, r as truncateTurnsAt, rn as applyEditPayload, s as formatToolCall, sn as computeInlineDiff, st as FILES_TRIGGER, t as countNeighbors, tn as hasRunReceipt, tt as sanitizeModelChain, u as capTranscriptEvents, un as filetypeFromPath, ut as COMMANDS_TRIGGER, vn as parseEditOutcomesFromResult, w as splitPromptSegments, wn as chatReferenceTokensFromText, x as mostConstrainedWindow, xn as stripEditOutcomesAnnotation, yn as resolveApprovalForPayload, yt as isVisible, z as retryLabel } from "./turn-operations-BgqpLlOG.js";
8
+ import { $t as formatTokenCount, A as chunkMarkdownForRender, Bt as renderSessionEventXml, Cn as CHATS_TRIGGER, D as indexOfEntry, E as filterModelCatalog, En as uniqueChatIdsFromReferences, Et as selectionAfterTurnRemoval, G as chainPositionOf, Gt as shortSessionId, H as DAEMON_HEALTH_STYLE, Ht as sessionEventExcerpt, I as cacheBreakChip, It as isMainSession, J as filterChainFallbacks, Jt as fitRunReceiptCells, K as chainsEqual, Kt as truncateTitle, L as compactingLabel, Lt as orchestratedBy, Mt as SESSION_EVENT_STATUS_STYLE, N as normalizeMarkdownCodeFences, Nt as SESSION_ROLE_KEY, Ot as turnSelectionOwnership, P as splitMarkdownCodeBlocks, Pt as WORKER_REPORT_FRAGMENT, Q as providerKeySetChanged, Qt as formatRunReceiptLine, Rt as parseSessionEventXml, Sn as summarizeOutcomes, T as buildModelCatalog, Tn as createChatsCompletionProvider, Tt as selectableTurnIds, U as buildRunModel, Ut as sessionEventLabel, V as DAEMON_HEALTH_GLYPH, Vt as sessionDirLabel, Wt as sessionEventMeta, Xt as formatRunDuration, Yt as formatCostUsd, Zt as formatRunReceiptCells, _ as turnContextSize, _n as mergeApprovalAndBodyOutcomes, _t as isTurnHighlighted, a as TOOL_DISPLAY, an as buildUnifiedDiff, at as createSkillsCompletionProvider, b as formatUsagePercent, bn as rewriteMultiEditHeader, c as MAX_TRANSCRIPT_EVENTS, cn as computeLineDiff, ct as createFilesCompletionProvider, d as finalizeStreamingMarkdown, dn as previewEditPayload, dt as createCommandsCompletionProvider, en as formatTokensPerSecond, et as restoreChainFallbacks, f as finalizeStreamingMarkdownForOwner, fn as splitLines, ft as blendHsl, gn as maskToOutcomeKinds, gt as isEditErrorResult, hn as buildEditOutcomesAnnotation, i as turnAsText, in as buildContextualDiff, it as SKILLS_TRIGGER, jt as ORCHESTRATED_BY_KEY, k as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, l as TRANSCRIPT_TRIM_TO_EVENTS, ln as extractEditPayload, lt as uniqueFilesFromReferences, mn as tokenize, n as deleteTurnSafely, nn as runReceiptFromRun, nt as toggleChainEntry, o as displayNameFor, ot as uniqueSkillNamesFromReferences, pn as summarizeEditPayload, pt as buildLinearRamp, qt as RUN_RECEIPT_GLYPH, r as truncateTurnsAt, rn as applyEditPayload, s as formatToolCall, sn as computeInlineDiff, st as FILES_TRIGGER, t as countNeighbors, tn as hasRunReceipt, tt as sanitizeModelChain, u as capTranscriptEvents, un as filetypeFromPath, ut as COMMANDS_TRIGGER, vn as parseEditOutcomesFromResult, w as splitPromptSegments, wn as chatReferenceTokensFromText, x as mostConstrainedWindow, xn as stripEditOutcomesAnnotation, yn as resolveApprovalForPayload, yt as isVisible, z as retryLabel } from "./turn-operations-HX3g3XIc.js";
9
9
  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";
10
- import { $ as supportsOAuth, $n as parseMcpsFile, $r as INTERACTION_GUIDANCE, $t as EditOutcomeLedger, A as useSafeModeQueue, An as quoteForShell, Ar as singleAgentRegistry, At as makeRequestInteraction, B as USAGE_CACHE_TTL_MS, Bn as createArtifactsCompletionProvider, Br as getTodosForRun, Bt as extractEditPayloadForGate, C as resolveSessionExportTarget, Ci as stripSpawnTokensLine, Cn as GRUVBOX_DARK, Cr as BUILTIN_AGENTS, Ct as InteractionsProvider, D as scopeCwd, Di as toolResultText, Dn as CATPPUCCIN_MACCHIATO, Dr as PLAN_AGENT, Dt as createInteractionTools, E as resolveSessionCwd, Ei as toolCallPreview, En as CATPPUCCIN_LATTE, Er as DEFAULT_PERSIST_EXCLUDE_TOOLS, Et as createAutomaticInteractionResponse, F as matchesSafelistEntry, Fn as ConfigProvider, Fr as TODO_STATUS_GLYPHS, G as usageChecksOptedOut, Gn as importFromClaudeCode, Gr as selectActiveTodos, H as fetchAllProviderUsage, Hn as useCompletion, Hr as pickActiveRunId, Ht as resolveCwdPath, I as projectsFilePath, In as useConfig, Ir as TODO_WRITE_COUNTS_METADATA_KEY, It as createChatHost, J as fetchOAuthRedirect, Jn as upsertMcpServer, Jr as useActiveTodos, Jt as runEndNotice, K as usageSourceFor, Kn as mcpsWritePath, Kr as setTodosForRun, Kt as modelChainMetadata, L as readProjects, Ln as resolveConfig, Lt as toTodosSnapshot, M as addToSafelist, Mn as DiscoveryProvider, Mr as TODOREAD_TOOL, Mt as serializeInteractionResponse, N as getSafelist, Nn as useDiscovery, Nr as TODOS_METADATA_KEY, Nt as useInteractionsActions, O as SafeModeProvider, Oi as updateToolEventOutcomes, On as CATPPUCCIN_MOCHA, Or as accentColor, Ot as isInteractionTool, P as isOnSafelist, Pn as useDiscoveryOptional, Pr as TODOWRITE_TOOL, Pt as useInteractionsQueue, Q as runOAuthLogin, Qn as discoverProjectMcps, Qr as IDENTITY_PREFIX, R as suggestSafelistEntries, Rn as resolveStoragePaths, Rr as createTodoTools, S as renderSession, Sn as VAPORWAVE_THEME, Sr as BUILD_AGENT, St as HOST_INTERACTION_ID_PREFIX, T as folderlessCwd, Ti as titleFromTurns, Tn as CATPPUCCIN_FRAPPE, Tr as DEFAULT_BUDGET_EXCLUDE_TOOLS, Tt as buildResumedToolResultsTurn, U as fetchProviderUsage, Un as countClaudeSessionFiles, Ur as pruneTodosByRun, Ut as serializePreview, V as clearProviderUsageCache, Vn as scoreArtifacts, Vr as isTodoTool, Vt as readFileSafe, W as providerUsageSupported, Wn as hasClaudeCodeSetup, Wr as sanitizeTodoItems, X as redirectUriFromAuthUrl, Xn as dedupMcpServersByName, Xr as COMMUNICATION_DOCTRINE, Xt as discoverProjectPlugins, Y as normalizeRedirectPaste, Yn as buildMcpServers, Yr as ACTIONS_WITH_CARE_DOCTRINE, Yt as buildPluginContributions, Z as oauthUsesManualCodePaste, Zn as defaultMcpsConfigPaths, Zr as DOING_TASKS_DOCTRINE, _ as buildSpawnEndEvent, _i as listSessionMeta, _n as useSettings, _r as chatAutoCompactBehavior, _t as useMcpAuthState, a as renderActiveTodoAnchor, ai as buildBuildSystem, an as buildHints, ar as useUpdateCheck, at as subscribeMcpToolsCache, b as defaultSkillScanPaths, bn as resolveChipColor, br as discoverAgentsMd, bt as ASK_USER_TOOL, c as useSelectStyle, ci as chatReferenceTokensForPrompt, cn as useEnabledToggleSet, cr as checkForUpdate, ct as useMcpToolToggleSet, d as useTheme, di as compactSummaryEvent, dn as SETTINGS_CHOICES, dr as detectLibc, dt as parentServerName, ei as INTERACTION_GUIDANCE_NO_PROMPTS, en as runCompaction, er as tryOpenBrowser, et as clearMcpToolsCache, f as discoverSystemMd, fi as createStateStore, fn as SETTINGS_INPUTS, fr as detectPackageManager, ft as createFileMcpCredentialStore, g as useStreamBuffer, gi as lastContextSizeFromTurns, gn as enforceSettingsInvariants, gr as resolvePlatformPackage, gt as useMcpAuthDispatch, h as userSystemMdPath, hr as performSelfUpdate, ht as McpAuthProvider, i as createActiveTodoAnchorHooks, ii as TOKEN_DISCIPLINE_DOCTRINE, in as truncateTrailing, ir as buildUpdateHint, it as saveMcpToolsCache, j as IMPLICITLY_SAFE_TOOLS, jn as createDiscoverySlot, jr as DEFAULT_MAX_TODO_ITEMS, jt as pendingInteractionsFromTurns, k as useSafeModeActions, ki as usageByModel, kn as parseEditorCommand, kr as resolveAgentId, kt as isModelInteraction, l as useSurfaces, li as createChatTurnsReadTool, ln as DEFAULT_SETTINGS, lr as checkTarballAvailable, lt as buildVisibleMcpRows, m as userScopeOverridesLoad, mi as eventsFromTurns, mn as SettingsProvider, mr as performInPlaceSelfUpdate, mt as patchMcpCredential, n as createMemoryApprovalsStore, ni as PLAN_MODE_DOCTRINE_NO_PROMPTS, nn as clipHintsToWidth, nr as bootProfileEnabled, nt as mcpToolsCachePath, o as ThemeProvider, oi as buildPlanSystem, on as shortChord, or as runUpdateCommand, ot as buildToolToggle, p as renderSystemMdSeed, pi as deriveSessionTitle, pn as SETTINGS_TOGGLES, pr as parseSemver, pt as mcpCredentialsPath, q as formatPathForCwd, qn as removeMcpServer, qt as sessionModelFallbacks, r as computeTurnAnchors, ri as SUBAGENT_GUIDANCE, rn as hintsLength, rr as bootTick, rt as refreshMcpToolsCatalog, s as useColors, si as envSection, sn as listProjectFiles, sr as findInstalledCompanion, st as useMcpToolToggleMap, t as createApprovalHub, ti as PLAN_MODE_DOCTRINE, tn as EMPTY_HINTS, tt as loadMcpToolsCache, u as useSyntaxStyles, un as SETTINGS_CATEGORIES, ur as compareSemver, ut as indexOfServerRow, v as buildSpawnStartEvent, vi as loadState, vn as BUILTIN_THEMES, vr as groupArtifacts, vt as getMcpAuthStatus, w as writeSessionExport, wi as sumRunCosts, wn as GRUVBOX_LIGHT, wr as DEFAULT_AGENT_ID, wt as PRESENT_PLAN_TOOL, x as discoverProjectSkills, xi as saveState, xn as resolveTheme, xr as renderAgentsMdBlock, xt as AUTOMATIC_INTERACTION_INSTRUCTION, y as buildSkillsConfig, yi as marginTopFor, yn as DEFAULT_THEME, yr as summarizeArtifactCounts, yt as reduceMcpAuth, z as writeProjects, zn as ARTIFACTS_COMPLETION_PROVIDER_ID, zr as getArchivedTodosForRun, zt as createInteractionHub } from "./approvals-staFZZ5o.js";
11
- 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-D4MpTfvF.js";
12
- export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ARTIFACTS_COMPLETION_PROVIDER_ID, 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, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_MAX_TODO_ITEMS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, EditOutcomeLedger, 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, ORCHESTRATED_BY_KEY, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, RUN_RECEIPT_GLYPH, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, 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, USAGE_CACHE_TTL_MS, VAPORWAVE_THEME, WORKER_REPORT_FRAGMENT, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildPluginContributions, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildSpawnEndEvent, buildSpawnStartEvent, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, cacheBreakChip, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, checkTarballAvailable, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clearProviderUsageCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compactingLabel, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createApprovalHub, createArtifactsCompletionProvider, createAutomaticInteractionResponse, createChatHost, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionHub, createInteractionTools, createMemoryApprovalsStore, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectPlugins, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, enforceSettingsInvariants, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, extractEditPayloadForGate, fetchAllProviderUsage, fetchOAuthRedirect, fetchProviderUsage, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, findInstalledCompanion, fitRunReceiptCells, fmtCost, fmtTokens, folderlessCwd, formatBindingForDisplay, formatCostUsd, formatDuration, formatPathForCwd, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupArtifacts, groupBindings, hasClaudeCodeSetup, hasRunReceipt, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isMainSession, 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, modelChainMetadata, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, mostConstrainedWindow, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, orchestratedBy, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseEditorCommand, parseMcpsFile, parseSemver, parseSessionEventXml, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, providerUsageSupported, pruneTodosByRun, quoteForShell, readCredentials, readFileSafe, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSessionEventXml, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveCwdPath, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionCwd, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, retryLabel, rewriteMultiEditHeader, runCompaction, runEndNotice, runOAuthLogin, runReceiptFromRun, runUpdateCommand, sanitizeModelChain, sanitizeTodoItems, saveMcpToolsCache, saveState, scanExtensionDirectories, scopeCwd, scoreArtifacts, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, serializePreview, sessionDirLabel, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, sessionModelFallbacks, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shortSessionId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeArtifactCounts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toTodosSnapshot, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTitle, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, usageChecksOptedOut, usageSourceFor, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userScopeOverridesLoad, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
10
+ import { $ as supportsOAuth, $n as parseMcpsFile, $r as pruneTodosByRun, $t as EditOutcomeLedger, A as useSafeModeQueue, An as quoteForShell, Ar as discoverAgentsMd, At as makeRequestInteraction, B as USAGE_CACHE_TTL_MS, Bn as createArtifactsCompletionProvider, Br as singleAgentRegistry, Bt as extractEditPayloadForGate, C as resolveSessionExportTarget, Ci as deriveSessionTitle, Cn as GRUVBOX_DARK, Cr as parseSemver, Ct as InteractionsProvider, D as scopeCwd, Di as listSessionMeta, Dn as CATPPUCCIN_MACCHIATO, Dr as chatAutoCompactBehavior, Dt as createInteractionTools, E as resolveSessionCwd, Ei as lastContextSizeFromTurns, En as CATPPUCCIN_LATTE, Er as resolvePlatformPackage, Et as createAutomaticInteractionResponse, F as matchesSafelistEntry, Fi as titleFromTurns, Fn as ConfigProvider, Fr as DEFAULT_BUDGET_EXCLUDE_TOOLS, G as usageChecksOptedOut, Gn as importFromClaudeCode, Gr as TODO_STATUS_GLYPHS, H as fetchAllProviderUsage, Hn as useCompletion, Hr as TODOREAD_TOOL, Ht as resolveCwdPath, I as projectsFilePath, Ii as toolCallPreview, In as useConfig, Ir as DEFAULT_PERSIST_EXCLUDE_TOOLS, It as createChatHost, J as fetchOAuthRedirect, Jn as upsertMcpServer, Jr as createTodoTools, Jt as runEndNotice, K as usageSourceFor, Kn as mcpsWritePath, Kr as TODO_WRITE_COUNTS_METADATA_KEY, Kt as modelChainMetadata, L as readProjects, Li as toolResultText, Ln as resolveConfig, Lr as PLAN_AGENT, Lt as toTodosSnapshot, M as addToSafelist, Mn as DiscoveryProvider, Mr as BUILD_AGENT, Mt as serializeInteractionResponse, N as getSafelist, Ni as stripSpawnTokensLine, Nn as useDiscovery, Nr as BUILTIN_AGENTS, Nt as useInteractionsActions, O as SafeModeProvider, Oi as loadState, On as CATPPUCCIN_MOCHA, Or as groupArtifacts, Ot as isInteractionTool, P as isOnSafelist, Pi as sumRunCosts, Pn as useDiscoveryOptional, Pr as DEFAULT_AGENT_ID, Pt as useInteractionsQueue, Q as runOAuthLogin, Qn as discoverProjectMcps, Qr as pickActiveRunId, R as suggestSafelistEntries, Ri as updateToolEventOutcomes, Rn as resolveStoragePaths, Rr as accentColor, S as renderSession, Si as createStateStore, Sn as VAPORWAVE_THEME, Sr as detectPackageManager, St as HOST_INTERACTION_ID_PREFIX, T as folderlessCwd, Tn as CATPPUCCIN_FRAPPE, Tr as performSelfUpdate, Tt as buildResumedToolResultsTurn, U as fetchProviderUsage, Un as countClaudeSessionFiles, Ur as TODOS_METADATA_KEY, Ut as serializePreview, V as clearProviderUsageCache, Vn as scoreArtifacts, Vr as DEFAULT_MAX_TODO_ITEMS, Vt as readFileSafe, W as providerUsageSupported, Wn as hasClaudeCodeSetup, Wr as TODOWRITE_TOOL, X as redirectUriFromAuthUrl, Xn as dedupMcpServersByName, Xr as getTodosForRun, Xt as discoverProjectPlugins, Y as normalizeRedirectPaste, Yn as buildMcpServers, Yr as getArchivedTodosForRun, Yt as buildPluginContributions, Z as oauthUsesManualCodePaste, Zn as defaultMcpsConfigPaths, Zr as isTodoTool, _ as buildSpawnEndEvent, _i as envSection, _n as useSettings, _r as findInstalledCompanion, _t as useMcpAuthState, a as renderActiveTodoAnchor, ai as ACTIONS_WITH_CARE_DOCTRINE, an as buildHints, ar as buildRestartHint, at as subscribeMcpToolsCache, b as defaultSkillScanPaths, bn as resolveChipColor, br as compareSemver, bt as ASK_USER_TOOL, c as useSelectStyle, ci as IDENTITY_PREFIX, cn as useEnabledToggleSet, cr as runUpdateCommand, ct as useMcpToolToggleSet, d as useTheme, di as PLAN_MODE_DOCTRINE, dn as SETTINGS_CHOICES, dr as probeInstalledVersion, dt as parentServerName, ei as sanitizeTodoItems, en as runCompaction, er as tryOpenBrowser, et as clearMcpToolsCache, f as discoverSystemMd, fi as PLAN_MODE_DOCTRINE_NO_PROMPTS, fn as SETTINGS_INPUTS, fr as readUpdateAppliedMarker, ft as createFileMcpCredentialStore, g as useStreamBuffer, gi as buildPlanSystem, gn as enforceSettingsInvariants, gr as writeUpdateAppliedMarker, gt as useMcpAuthDispatch, h as userSystemMdPath, hi as buildBuildSystem, hr as watchInstalledVersion, ht as McpAuthProvider, i as createActiveTodoAnchorHooks, ii as useActiveTodos, in as truncateTrailing, ir as upgradeInstalledPackages, it as saveMcpToolsCache, j as IMPLICITLY_SAFE_TOOLS, ji as saveState, jn as createDiscoverySlot, jr as renderAgentsMdBlock, jt as pendingInteractionsFromTurns, k as useSafeModeActions, ki as marginTopFor, kn as parseEditorCommand, kr as summarizeArtifactCounts, kt as isModelInteraction, l as useSurfaces, li as INTERACTION_GUIDANCE, ln as DEFAULT_SETTINGS, lr as UPDATE_APPLIED_MARKER, lt as buildVisibleMcpRows, m as userScopeOverridesLoad, mi as TOKEN_DISCIPLINE_DOCTRINE, mn as SettingsProvider, mr as useRestartRequired, mt as patchMcpCredential, n as createMemoryApprovalsStore, ni as setTodosForRun, nn as clipHintsToWidth, nr as bootProfileEnabled, nt as mcpToolsCachePath, o as ThemeProvider, oi as COMMUNICATION_DOCTRINE, on as shortChord, or as buildUpdateHint, ot as buildToolToggle, p as renderSystemMdSeed, pi as SUBAGENT_GUIDANCE, pn as SETTINGS_TOGGLES, pr as updateAppliedMarkerPath, pt as mcpCredentialsPath, q as formatPathForCwd, qn as removeMcpServer, qt as sessionModelFallbacks, r as computeTurnAnchors, rn as hintsLength, rr as bootTick, rt as refreshMcpToolsCatalog, s as useColors, si as DOING_TASKS_DOCTRINE, sn as listProjectFiles, sr as useUpdateCheck, st as useMcpToolToggleMap, t as createApprovalHub, ti as selectActiveTodos, tn as EMPTY_HINTS, tt as loadMcpToolsCache, u as useSyntaxStyles, ui as INTERACTION_GUIDANCE_NO_PROMPTS, un as SETTINGS_CATEGORIES, ur as hasUpdateAppliedMarker, ut as indexOfServerRow, v as buildSpawnStartEvent, vi as chatReferenceTokensForPrompt, vn as BUILTIN_THEMES, vr as checkForUpdate, vt as getMcpAuthStatus, w as writeSessionExport, wi as eventsFromTurns, wn as GRUVBOX_LIGHT, wr as performInPlaceSelfUpdate, wt as PRESENT_PLAN_TOOL, x as discoverProjectSkills, xi as compactSummaryEvent, xn as resolveTheme, xr as detectLibc, xt as AUTOMATIC_INTERACTION_INSTRUCTION, y as buildSkillsConfig, yi as createChatTurnsReadTool, yn as DEFAULT_THEME, yr as checkTarballAvailable, yt as reduceMcpAuth, z as writeProjects, zi as usageByModel, zn as ARTIFACTS_COMPLETION_PROVIDER_ID, zr as resolveAgentId, zt as createInteractionHub } from "./approvals-DkwGBMZ9.js";
11
+ 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-D0BHBb02.js";
12
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ARTIFACTS_COMPLETION_PROVIDER_ID, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, CALL_TOOL_NAME, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, ConfigProvider, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_MAX_TODO_ITEMS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, EditOutcomeLedger, 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, ORCHESTRATED_BY_KEY, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, RUN_RECEIPT_GLYPH, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, 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, UPDATE_APPLIED_MARKER, USAGE_CACHE_TTL_MS, VAPORWAVE_THEME, WORKER_REPORT_FRAGMENT, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildPluginContributions, buildRestartHint, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildSpawnEndEvent, buildSpawnStartEvent, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, cacheBreakChip, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, checkTarballAvailable, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clearProviderUsageCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compactingLabel, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createApprovalHub, createArtifactsCompletionProvider, createAutomaticInteractionResponse, createChatHost, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionHub, createInteractionTools, createMemoryApprovalsStore, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectPlugins, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, enforceSettingsInvariants, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, extractEditPayloadForGate, fetchAllProviderUsage, fetchOAuthRedirect, fetchProviderUsage, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, findInstalledCompanion, fitRunReceiptCells, fmtCost, fmtTokens, folderlessCwd, formatBindingForDisplay, formatCostUsd, formatDuration, formatPathForCwd, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupArtifacts, groupBindings, hasClaudeCodeSetup, hasRunReceipt, hasUpdateAppliedMarker, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isMainSession, 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, modelChainMetadata, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, mostConstrainedWindow, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, orchestratedBy, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseEditorCommand, parseMcpsFile, parseSemver, parseSessionEventXml, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, probeInstalledVersion, projectUserPaths, projectsFilePath, providerKeySetChanged, providerUsageSupported, pruneTodosByRun, quoteForShell, readCredentials, readFileSafe, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, readUpdateAppliedMarker, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSessionEventXml, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveCwdPath, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionCwd, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, retryLabel, rewriteMultiEditHeader, runCompaction, runEndNotice, runOAuthLogin, runReceiptFromRun, runUpdateCommand, sanitizeModelChain, sanitizeTodoItems, saveMcpToolsCache, saveState, scanExtensionDirectories, scopeCwd, scoreArtifacts, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, serializePreview, sessionDirLabel, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, sessionModelFallbacks, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shortSessionId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeArtifactCounts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toTodosSnapshot, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTitle, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, unwrapCallTool, updateAppliedMarkerPath, updateToolEventOutcomes, upgradeInstalledPackages, upsertMcpServer, usageByModel, usageChecksOptedOut, usageSourceFor, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useRestartRequired, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userScopeOverridesLoad, userSystemMdPath, watchInstalledVersion, writeCredentials, writeProjects, writeSessionExport, writeUpdateAppliedMarker };
@@ -1,4 +1,4 @@
1
- import { r as createStderrLineEmitter } from "./mcp-BIWa57eY.js";
1
+ import { r as createStderrLineEmitter } from "./mcp-CgNd-f3F.js";
2
2
  import { Buffer } from "node:buffer";
3
3
  //#region src/mcp/context-transport.ts
4
4
  /**
@@ -81,4 +81,4 @@ async function createContextStdioTransport(options) {
81
81
  //#endregion
82
82
  export { createContextStdioTransport };
83
83
 
84
- //# sourceMappingURL=context-transport-BqYwzJYE.js.map
84
+ //# sourceMappingURL=context-transport-T_6AYIvy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-transport-BqYwzJYE.js","names":[],"sources":["../src/mcp/context-transport.ts"],"sourcesContent":["/**\n * An MCP `Transport` that speaks stdio JSON-RPC to a server running INSIDE\n * an `ExecutionContext`, rather than as a child of the host process.\n *\n * Why this exists\n * ---------------\n * An MCP server is an ordinary program. When it calls `fs.readFileSync` or\n * `fs.writeFile`, those hit whatever filesystem it was spawned on. The\n * default `StdioClientTransport` spawns on the HOST, so with a sandboxed\n * execution context (Daytona / E2B / Docker) the agent's own tools and its\n * MCP servers end up looking at two different filesystems: a path the model\n * discovered via `list_files` does not exist for the MCP server, and an MCP\n * write lands somewhere `read_file` cannot see.\n *\n * Routing the server through `ExecutionContext.execStream` puts both on the\n * same filesystem. Note what this does NOT buy: isolation. Remote-transport\n * MCP servers are unreachable by this mechanism by construction, so\n * \"everything the agent touches runs in the execution context\" can never be\n * a true invariant. This is about coherence, not containment.\n *\n * Framing\n * -------\n * Delegated to the SDK's own `ReadBuffer` / `serializeMessage`, the exact\n * pair `StdioClientTransport` uses. That matters beyond code reuse:\n * `ReadBuffer` concatenates raw bytes and only decodes at newline\n * boundaries, so a multibyte codepoint split across two chunks survives.\n * Decoding each chunk independently would corrupt it irrecoverably — which\n * is precisely why `StreamHandle` carries bytes rather than strings.\n */\n\nimport type { Hookable } from 'hookable'\nimport type { AgentHooks } from '../agent'\nimport type { ExecutionContext, ExecutionHandle } from '../contexts/types'\nimport { Buffer } from 'node:buffer'\nimport { createStderrLineEmitter } from './index'\n\n/**\n * Structural subset of the MCP SDK's `Transport` that we implement. Declared\n * locally rather than imported as a type so this module keeps the optional\n * peer-dependency contract (see the note atop `./index.ts`) — the SDK is only\n * ever touched through a runtime `await import(...)`.\n */\nexport interface ContextStdioTransportLike {\n /**\n * Brand marking this transport's process as living OUTSIDE the host.\n * `stdioPidOf` keys off it to refuse handing any pid from here to\n * `killStdioChild`, which signals host pids: a sandbox pid like `77`\n * names a real, unrelated host process. Termination for this transport\n * goes through `StreamHandle.kill()`, which signals inside the context.\n */\n readonly __contextScoped: true\n start: () => Promise<void>\n send: (message: unknown) => Promise<void>\n close: () => Promise<void>\n onclose?: () => void\n onerror?: (error: Error) => void\n onmessage?: (message: unknown) => void\n}\n\nexport interface ContextStdioTransportOptions {\n /** Server name, used for `mcp:warn` attribution. */\n name: string\n context: ExecutionContext\n handle: ExecutionHandle\n /** Full command line, run through the context's shell. */\n command: string\n cwd?: string\n env?: Record<string, string>\n hooks?: Hookable<AgentHooks>\n}\n\n/**\n * Build the transport. Throws if the context can't stream — deliberately\n * loudly, because the alternative (quietly spawning on the host) would\n * reintroduce the split-filesystem bug this transport exists to fix, and\n * would do it invisibly.\n */\nexport async function createContextStdioTransport(\n options: ContextStdioTransportOptions,\n): Promise<ContextStdioTransportLike> {\n const { name, context, handle, command, cwd, env, hooks } = options\n\n if (!context.execStream) {\n throw new Error(\n `MCP server \"${name}\" is configured with \\`scope: 'context'\\`, but the `\n + `'${context.type}' execution context does not support live streams `\n + `(\\`execStream\\`). Use \\`scope: 'host'\\` for this server, or switch to a `\n + `context that advertises \\`capabilities.stream\\`.`,\n )\n }\n\n const { ReadBuffer, serializeMessage } = await import('@modelcontextprotocol/sdk/shared/stdio.js')\n\n const readBuffer = new ReadBuffer()\n let stream: Awaited<ReturnType<NonNullable<ExecutionContext['execStream']>>> | null = null\n let closed = false\n\n const transport: ContextStdioTransportLike = {\n __contextScoped: true,\n\n async start() {\n if (stream)\n throw new Error(`MCP context transport for \"${name}\" already started`)\n\n // cwd is defaulted HERE, not left to the context: process and docker\n // fall back to `handle.cwd` on their own, but the sandbox providers\n // forward `cwd` only when set, so their SDK default would win (E2B's\n // `/home/user`, Daytona's PTY login dir). A `scope: 'context'` server\n // without an explicit `cwd` — e.g. server-filesystem rooted at '.' —\n // would then serve the workspace on two contexts and the home\n // directory on the others: the exact silent path divergence this\n // transport exists to close. Redundant-but-harmless on contexts that\n // already default to `handle.cwd`.\n stream = await context.execStream!(handle, command, {\n cwd: cwd ?? handle.cwd,\n ...(env !== undefined ? { env } : {}),\n })\n\n const active = stream\n\n // stdout → framed JSON-RPC. Runs detached from `start()`; awaiting it\n // would never resolve, since the server lives as long as the session.\n void (async () => {\n try {\n for await (const chunk of active.stdout) {\n readBuffer.append(Buffer.from(chunk))\n for (;;) {\n // A malformed frame must not kill the pump: report it and keep\n // reading. Servers that interleave stray output with protocol\n // frames (a PTY-backed context that lost the `stty raw` race,\n // a server logging to stdout) would otherwise wedge the\n // connection permanently on the first bad line.\n let message: unknown\n try {\n message = readBuffer.readMessage()\n }\n catch (err) {\n transport.onerror?.(err instanceof Error ? err : new Error(String(err)))\n continue\n }\n if (message === null)\n break\n transport.onmessage?.(message)\n }\n }\n }\n catch (err) {\n if (!closed)\n transport.onerror?.(err instanceof Error ? err : new Error(String(err)))\n }\n })()\n\n // stderr → `mcp:warn`, when the context provides it separately. A\n // PTY-backed context cannot split it from the terminal stream, so it\n // redirects to a file and may surface it here out-of-band (Daytona\n // polls) or not at all — absence is expected, not an error.\n if (active.stderr) {\n const emitter = createStderrLineEmitter(name, hooks)\n // Streaming decoder for the same reason `ReadBuffer` exists on the\n // stdout side: a per-chunk decode corrupts any multibyte codepoint\n // split across a chunk boundary. Diagnostic-only here, but free to\n // get right.\n const decoder = new TextDecoder('utf-8')\n void (async () => {\n try {\n for await (const chunk of active.stderr!)\n emitter.push(decoder.decode(chunk, { stream: true }))\n }\n catch {\n // Diagnostic channel — a failure here must not surface as a\n // protocol error.\n }\n finally {\n emitter.push(decoder.decode())\n emitter.flush()\n }\n })()\n }\n\n // The child dying is the connection ending. Surface it once.\n void active.exited.then(() => {\n if (closed)\n return\n closed = true\n transport.onclose?.()\n })\n },\n\n async send(message: unknown) {\n if (!stream)\n throw new Error(`MCP context transport for \"${name}\" not started`)\n await stream.write(new TextEncoder().encode(serializeMessage(message as never)))\n },\n\n async close() {\n if (closed) {\n // Still ensure the child is gone: `closed` may have been set by the\n // exit watcher, but an explicit close after a half-dead stream\n // should not leave a process running in the sandbox.\n await stream?.kill()\n return\n }\n closed = true\n readBuffer.clear()\n await stream?.kill()\n transport.onclose?.()\n },\n }\n\n return transport\n}\n"],"mappings":";;;;;;;;;AA6EA,eAAsB,4BACpB,SACoC;CACpC,MAAM,EAAE,MAAM,SAAS,QAAQ,SAAS,KAAK,KAAK,UAAU;CAE5D,IAAI,CAAC,QAAQ,YACX,MAAM,IAAI,MACR,eAAe,KAAK,sDACd,QAAQ,KAAK,2KAGrB;CAGF,MAAM,EAAE,YAAY,qBAAqB,MAAM,OAAO,sBAA4C,CAAA,MAAA,MAAA,EAAA,CAAA;CAElG,MAAM,aAAa,IAAI,WAAW;CAClC,IAAI,SAAkF;CACtF,IAAI,SAAS;CAEb,MAAM,YAAuC;EAC3C,iBAAiB;EAEjB,MAAM,QAAQ;GACZ,IAAI,QACF,MAAM,IAAI,MAAM,8BAA8B,KAAK,kBAAkB;GAWvE,SAAS,MAAM,QAAQ,WAAY,QAAQ,SAAS;IAClD,KAAK,OAAO,OAAO;IACnB,GAAI,QAAQ,KAAA,IAAY,EAAE,IAAI,IAAI,CAAC;GACrC,CAAC;GAED,MAAM,SAAS;GAIf,CAAM,YAAY;IAChB,IAAI;KACF,WAAW,MAAM,SAAS,OAAO,QAAQ;MACvC,WAAW,OAAO,OAAO,KAAK,KAAK,CAAC;MACpC,SAAS;OAMP,IAAI;OACJ,IAAI;QACF,UAAU,WAAW,YAAY;OACnC,SACO,KAAK;QACV,UAAU,UAAU,eAAe,QAAQ,MAAM,IAAI,MAAM,OAAO,GAAG,CAAC,CAAC;QACvE;OACF;OACA,IAAI,YAAY,MACd;OACF,UAAU,YAAY,OAAO;MAC/B;KACF;IACF,SACO,KAAK;KACV,IAAI,CAAC,QACH,UAAU,UAAU,eAAe,QAAQ,MAAM,IAAI,MAAM,OAAO,GAAG,CAAC,CAAC;IAC3E;GACF,EAAA,CAAG;GAMH,IAAI,OAAO,QAAQ;IACjB,MAAM,UAAU,wBAAwB,MAAM,KAAK;IAKnD,MAAM,UAAU,IAAI,YAAY,OAAO;IACvC,CAAM,YAAY;KAChB,IAAI;MACF,WAAW,MAAM,SAAS,OAAO,QAC/B,QAAQ,KAAK,QAAQ,OAAO,OAAO,EAAE,QAAQ,KAAK,CAAC,CAAC;KACxD,QACM,CAGN,UACQ;MACN,QAAQ,KAAK,QAAQ,OAAO,CAAC;MAC7B,QAAQ,MAAM;KAChB;IACF,EAAA,CAAG;GACL;GAGA,OAAY,OAAO,WAAW;IAC5B,IAAI,QACF;IACF,SAAS;IACT,UAAU,UAAU;GACtB,CAAC;EACH;EAEA,MAAM,KAAK,SAAkB;GAC3B,IAAI,CAAC,QACH,MAAM,IAAI,MAAM,8BAA8B,KAAK,cAAc;GACnE,MAAM,OAAO,MAAM,IAAI,YAAY,CAAC,CAAC,OAAO,iBAAiB,OAAgB,CAAC,CAAC;EACjF;EAEA,MAAM,QAAQ;GACZ,IAAI,QAAQ;IAIV,MAAM,QAAQ,KAAK;IACnB;GACF;GACA,SAAS;GACT,WAAW,MAAM;GACjB,MAAM,QAAQ,KAAK;GACnB,UAAU,UAAU;EACtB;CACF;CAEA,OAAO;AACT"}
1
+ {"version":3,"file":"context-transport-T_6AYIvy.js","names":[],"sources":["../src/mcp/context-transport.ts"],"sourcesContent":["/**\n * An MCP `Transport` that speaks stdio JSON-RPC to a server running INSIDE\n * an `ExecutionContext`, rather than as a child of the host process.\n *\n * Why this exists\n * ---------------\n * An MCP server is an ordinary program. When it calls `fs.readFileSync` or\n * `fs.writeFile`, those hit whatever filesystem it was spawned on. The\n * default `StdioClientTransport` spawns on the HOST, so with a sandboxed\n * execution context (Daytona / E2B / Docker) the agent's own tools and its\n * MCP servers end up looking at two different filesystems: a path the model\n * discovered via `list_files` does not exist for the MCP server, and an MCP\n * write lands somewhere `read_file` cannot see.\n *\n * Routing the server through `ExecutionContext.execStream` puts both on the\n * same filesystem. Note what this does NOT buy: isolation. Remote-transport\n * MCP servers are unreachable by this mechanism by construction, so\n * \"everything the agent touches runs in the execution context\" can never be\n * a true invariant. This is about coherence, not containment.\n *\n * Framing\n * -------\n * Delegated to the SDK's own `ReadBuffer` / `serializeMessage`, the exact\n * pair `StdioClientTransport` uses. That matters beyond code reuse:\n * `ReadBuffer` concatenates raw bytes and only decodes at newline\n * boundaries, so a multibyte codepoint split across two chunks survives.\n * Decoding each chunk independently would corrupt it irrecoverably — which\n * is precisely why `StreamHandle` carries bytes rather than strings.\n */\n\nimport type { Hookable } from 'hookable'\nimport type { AgentHooks } from '../agent'\nimport type { ExecutionContext, ExecutionHandle } from '../contexts/types'\nimport { Buffer } from 'node:buffer'\nimport { createStderrLineEmitter } from './index'\n\n/**\n * Structural subset of the MCP SDK's `Transport` that we implement. Declared\n * locally rather than imported as a type so this module keeps the optional\n * peer-dependency contract (see the note atop `./index.ts`) — the SDK is only\n * ever touched through a runtime `await import(...)`.\n */\nexport interface ContextStdioTransportLike {\n /**\n * Brand marking this transport's process as living OUTSIDE the host.\n * `stdioPidOf` keys off it to refuse handing any pid from here to\n * `killStdioChild`, which signals host pids: a sandbox pid like `77`\n * names a real, unrelated host process. Termination for this transport\n * goes through `StreamHandle.kill()`, which signals inside the context.\n */\n readonly __contextScoped: true\n start: () => Promise<void>\n send: (message: unknown) => Promise<void>\n close: () => Promise<void>\n onclose?: () => void\n onerror?: (error: Error) => void\n onmessage?: (message: unknown) => void\n}\n\nexport interface ContextStdioTransportOptions {\n /** Server name, used for `mcp:warn` attribution. */\n name: string\n context: ExecutionContext\n handle: ExecutionHandle\n /** Full command line, run through the context's shell. */\n command: string\n cwd?: string\n env?: Record<string, string>\n hooks?: Hookable<AgentHooks>\n}\n\n/**\n * Build the transport. Throws if the context can't stream — deliberately\n * loudly, because the alternative (quietly spawning on the host) would\n * reintroduce the split-filesystem bug this transport exists to fix, and\n * would do it invisibly.\n */\nexport async function createContextStdioTransport(\n options: ContextStdioTransportOptions,\n): Promise<ContextStdioTransportLike> {\n const { name, context, handle, command, cwd, env, hooks } = options\n\n if (!context.execStream) {\n throw new Error(\n `MCP server \"${name}\" is configured with \\`scope: 'context'\\`, but the `\n + `'${context.type}' execution context does not support live streams `\n + `(\\`execStream\\`). Use \\`scope: 'host'\\` for this server, or switch to a `\n + `context that advertises \\`capabilities.stream\\`.`,\n )\n }\n\n const { ReadBuffer, serializeMessage } = await import('@modelcontextprotocol/sdk/shared/stdio.js')\n\n const readBuffer = new ReadBuffer()\n let stream: Awaited<ReturnType<NonNullable<ExecutionContext['execStream']>>> | null = null\n let closed = false\n\n const transport: ContextStdioTransportLike = {\n __contextScoped: true,\n\n async start() {\n if (stream)\n throw new Error(`MCP context transport for \"${name}\" already started`)\n\n // cwd is defaulted HERE, not left to the context: process and docker\n // fall back to `handle.cwd` on their own, but the sandbox providers\n // forward `cwd` only when set, so their SDK default would win (E2B's\n // `/home/user`, Daytona's PTY login dir). A `scope: 'context'` server\n // without an explicit `cwd` — e.g. server-filesystem rooted at '.' —\n // would then serve the workspace on two contexts and the home\n // directory on the others: the exact silent path divergence this\n // transport exists to close. Redundant-but-harmless on contexts that\n // already default to `handle.cwd`.\n stream = await context.execStream!(handle, command, {\n cwd: cwd ?? handle.cwd,\n ...(env !== undefined ? { env } : {}),\n })\n\n const active = stream\n\n // stdout → framed JSON-RPC. Runs detached from `start()`; awaiting it\n // would never resolve, since the server lives as long as the session.\n void (async () => {\n try {\n for await (const chunk of active.stdout) {\n readBuffer.append(Buffer.from(chunk))\n for (;;) {\n // A malformed frame must not kill the pump: report it and keep\n // reading. Servers that interleave stray output with protocol\n // frames (a PTY-backed context that lost the `stty raw` race,\n // a server logging to stdout) would otherwise wedge the\n // connection permanently on the first bad line.\n let message: unknown\n try {\n message = readBuffer.readMessage()\n }\n catch (err) {\n transport.onerror?.(err instanceof Error ? err : new Error(String(err)))\n continue\n }\n if (message === null)\n break\n transport.onmessage?.(message)\n }\n }\n }\n catch (err) {\n if (!closed)\n transport.onerror?.(err instanceof Error ? err : new Error(String(err)))\n }\n })()\n\n // stderr → `mcp:warn`, when the context provides it separately. A\n // PTY-backed context cannot split it from the terminal stream, so it\n // redirects to a file and may surface it here out-of-band (Daytona\n // polls) or not at all — absence is expected, not an error.\n if (active.stderr) {\n const emitter = createStderrLineEmitter(name, hooks)\n // Streaming decoder for the same reason `ReadBuffer` exists on the\n // stdout side: a per-chunk decode corrupts any multibyte codepoint\n // split across a chunk boundary. Diagnostic-only here, but free to\n // get right.\n const decoder = new TextDecoder('utf-8')\n void (async () => {\n try {\n for await (const chunk of active.stderr!)\n emitter.push(decoder.decode(chunk, { stream: true }))\n }\n catch {\n // Diagnostic channel — a failure here must not surface as a\n // protocol error.\n }\n finally {\n emitter.push(decoder.decode())\n emitter.flush()\n }\n })()\n }\n\n // The child dying is the connection ending. Surface it once.\n void active.exited.then(() => {\n if (closed)\n return\n closed = true\n transport.onclose?.()\n })\n },\n\n async send(message: unknown) {\n if (!stream)\n throw new Error(`MCP context transport for \"${name}\" not started`)\n await stream.write(new TextEncoder().encode(serializeMessage(message as never)))\n },\n\n async close() {\n if (closed) {\n // Still ensure the child is gone: `closed` may have been set by the\n // exit watcher, but an explicit close after a half-dead stream\n // should not leave a process running in the sandbox.\n await stream?.kill()\n return\n }\n closed = true\n readBuffer.clear()\n await stream?.kill()\n transport.onclose?.()\n },\n }\n\n return transport\n}\n"],"mappings":";;;;;;;;;AA6EA,eAAsB,4BACpB,SACoC;CACpC,MAAM,EAAE,MAAM,SAAS,QAAQ,SAAS,KAAK,KAAK,UAAU;CAE5D,IAAI,CAAC,QAAQ,YACX,MAAM,IAAI,MACR,eAAe,KAAK,sDACd,QAAQ,KAAK,2KAGrB;CAGF,MAAM,EAAE,YAAY,qBAAqB,MAAM,OAAO,sBAA4C,CAAA,MAAA,MAAA,EAAA,CAAA;CAElG,MAAM,aAAa,IAAI,WAAW;CAClC,IAAI,SAAkF;CACtF,IAAI,SAAS;CAEb,MAAM,YAAuC;EAC3C,iBAAiB;EAEjB,MAAM,QAAQ;GACZ,IAAI,QACF,MAAM,IAAI,MAAM,8BAA8B,KAAK,kBAAkB;GAWvE,SAAS,MAAM,QAAQ,WAAY,QAAQ,SAAS;IAClD,KAAK,OAAO,OAAO;IACnB,GAAI,QAAQ,KAAA,IAAY,EAAE,IAAI,IAAI,CAAC;GACrC,CAAC;GAED,MAAM,SAAS;GAIf,CAAM,YAAY;IAChB,IAAI;KACF,WAAW,MAAM,SAAS,OAAO,QAAQ;MACvC,WAAW,OAAO,OAAO,KAAK,KAAK,CAAC;MACpC,SAAS;OAMP,IAAI;OACJ,IAAI;QACF,UAAU,WAAW,YAAY;OACnC,SACO,KAAK;QACV,UAAU,UAAU,eAAe,QAAQ,MAAM,IAAI,MAAM,OAAO,GAAG,CAAC,CAAC;QACvE;OACF;OACA,IAAI,YAAY,MACd;OACF,UAAU,YAAY,OAAO;MAC/B;KACF;IACF,SACO,KAAK;KACV,IAAI,CAAC,QACH,UAAU,UAAU,eAAe,QAAQ,MAAM,IAAI,MAAM,OAAO,GAAG,CAAC,CAAC;IAC3E;GACF,EAAA,CAAG;GAMH,IAAI,OAAO,QAAQ;IACjB,MAAM,UAAU,wBAAwB,MAAM,KAAK;IAKnD,MAAM,UAAU,IAAI,YAAY,OAAO;IACvC,CAAM,YAAY;KAChB,IAAI;MACF,WAAW,MAAM,SAAS,OAAO,QAC/B,QAAQ,KAAK,QAAQ,OAAO,OAAO,EAAE,QAAQ,KAAK,CAAC,CAAC;KACxD,QACM,CAGN,UACQ;MACN,QAAQ,KAAK,QAAQ,OAAO,CAAC;MAC7B,QAAQ,MAAM;KAChB;IACF,EAAA,CAAG;GACL;GAGA,OAAY,OAAO,WAAW;IAC5B,IAAI,QACF;IACF,SAAS;IACT,UAAU,UAAU;GACtB,CAAC;EACH;EAEA,MAAM,KAAK,SAAkB;GAC3B,IAAI,CAAC,QACH,MAAM,IAAI,MAAM,8BAA8B,KAAK,cAAc;GACnE,MAAM,OAAO,MAAM,IAAI,YAAY,CAAC,CAAC,OAAO,iBAAiB,OAAgB,CAAC,CAAC;EACjF;EAEA,MAAM,QAAQ;GACZ,IAAI,QAAQ;IAIV,MAAM,QAAQ,KAAK;IACnB;GACF;GACA,SAAS;GACT,WAAW,MAAM;GACjB,MAAM,QAAQ,KAAK;GACnB,UAAU,UAAU;EACtB;CACF;CAEA,OAAO;AACT"}
@@ -1,4 +1,4 @@
1
- import { pp as Logger } from "../index-C0y2tSgk.js";
1
+ import { hp as Logger } from "../index-CCB05-JZ.js";
2
2
  import { s as ExecResult } from "../types-U-rIVUDw.js";
3
3
  import { t as SandboxProvider } from "../sandbox-CDl9tfTo.js";
4
4
  import { Buffer } from "node:buffer";
@@ -1,4 +1,4 @@
1
- import { pp as Logger } from "../index-C0y2tSgk.js";
1
+ import { hp as Logger } from "../index-CCB05-JZ.js";
2
2
  import { t as SandboxProvider } from "../sandbox-CDl9tfTo.js";
3
3
 
4
4
  //#region src/contexts/e2b.d.ts
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { d as defaultSocketPath, t as startIpcDaemon } from "./server-GJ2gNRt_.js";
2
+ import { d as defaultSocketPath, t as startIpcDaemon } from "./server--mwNA7oC.js";
3
3
  import { createRequire } from "node:module";
4
4
  import { spawnSync } from "node:child_process";
5
5
  import { parseArgs } from "node:util";
package/dist/eval.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $t as EvalRunUsage, An as efficiencyMetricValues, Bn as functionalityMetric, Bt as EvalAgentStats, Cn as clearRegisteredEvals, Dn as createReusableExecutionContext, En as createEvalRunReporter, Fn as fileExistsOneOf, Ft as EvalAgent, Gn as runEvalCase, Gt as EvalDefinitionContext, Hn as normalizeMetric, Ht as EvalCaseOptions, In as finalizeEvalMetrics, It as EvalAgentMcpServers, Jt as EvalRunMetricAggregate, Kn as statusCompleted, Kt as EvalMetric, Ln as formatEvalCaseSummary, Lt as EvalAgentRunOptions, Mn as fileContains, Nn as fileContentQuality, Nt as CreateEvalAgentOptions, On as defineEval, Pn as fileExists, Pt as EFFICIENCY_METRICS, Qt as EvalRunSummaryCase, Rn as formatEvalRunSummary, Rt as EvalAgentRunResult, Sn as buildTrajectory, Tn as createEvalAgent, Un as registerEvalTests, Ut as EvalCaseResult, Vn as llmJudge, Vt as EvalArtifacts, Wn as relativeArtifactPath, Wt as EvalDefinition, Xt as EvalRunReporterOptions, Yt as EvalRunReporter, Zt as EvalRunSummary, _n as TrajectoryStep, an as EvalWorkspaceFile, bn as buildEvalRunSummary, cn as LlmJudgeOptions, dn as MetricSpec, en as EvalScore, fn as MetricSpecMap, gn as Trajectory, hn as ReusableExecutionContext, in as EvalVariantSummary, jn as emitEfficiencyMetrics, kn as defineMetrics, ln as MetricDirection, mn as RegisterEvalTestsOptions, nn as EvalScorerContext, on as EvalWorkspaceOptions, pn as MetricStats, qt as EvalMetricError, rn as EvalTestRunner, sn as EvalWorkspaceSnapshot, tn as EvalScorer, un as MetricEmitter, vn as TrajectoryStepKind, wn as computeEvalTagScores, xn as buildRegisteredEvals, yn as artifactPath, zn as formatTrajectoryLine, zt as EvalAgentRunStats } from "./index-C0y2tSgk.js";
1
+ import { $t as EvalRunUsage, An as efficiencyMetricValues, Bn as functionalityMetric, Bt as EvalAgentStats, Cn as clearRegisteredEvals, Dn as createReusableExecutionContext, En as createEvalRunReporter, Fn as fileExistsOneOf, Ft as EvalAgent, Gn as runEvalCase, Gt as EvalDefinitionContext, Hn as normalizeMetric, Ht as EvalCaseOptions, In as finalizeEvalMetrics, It as EvalAgentMcpServers, Jt as EvalRunMetricAggregate, Kn as statusCompleted, Kt as EvalMetric, Ln as formatEvalCaseSummary, Lt as EvalAgentRunOptions, Mn as fileContains, Nn as fileContentQuality, Nt as CreateEvalAgentOptions, On as defineEval, Pn as fileExists, Pt as EFFICIENCY_METRICS, Qt as EvalRunSummaryCase, Rn as formatEvalRunSummary, Rt as EvalAgentRunResult, Sn as buildTrajectory, Tn as createEvalAgent, Un as registerEvalTests, Ut as EvalCaseResult, Vn as llmJudge, Vt as EvalArtifacts, Wn as relativeArtifactPath, Wt as EvalDefinition, Xt as EvalRunReporterOptions, Yt as EvalRunReporter, Zt as EvalRunSummary, _n as TrajectoryStep, an as EvalWorkspaceFile, bn as buildEvalRunSummary, cn as LlmJudgeOptions, dn as MetricSpec, en as EvalScore, fn as MetricSpecMap, gn as Trajectory, hn as ReusableExecutionContext, in as EvalVariantSummary, jn as emitEfficiencyMetrics, kn as defineMetrics, ln as MetricDirection, mn as RegisterEvalTestsOptions, nn as EvalScorerContext, on as EvalWorkspaceOptions, pn as MetricStats, qt as EvalMetricError, rn as EvalTestRunner, sn as EvalWorkspaceSnapshot, tn as EvalScorer, un as MetricEmitter, vn as TrajectoryStepKind, wn as computeEvalTagScores, xn as buildRegisteredEvals, yn as artifactPath, zn as formatTrajectoryLine, zt as EvalAgentRunStats } from "./index-CCB05-JZ.js";
2
2
  export { CreateEvalAgentOptions, EFFICIENCY_METRICS, EvalAgent, EvalAgentMcpServers, EvalAgentRunOptions, EvalAgentRunResult, EvalAgentRunStats, EvalAgentStats, EvalArtifacts, EvalCaseOptions, EvalCaseResult, EvalDefinition, EvalDefinitionContext, EvalMetric, EvalMetricError, EvalRunMetricAggregate, EvalRunReporter, EvalRunReporterOptions, EvalRunSummary, EvalRunSummaryCase, EvalRunUsage, EvalScore, EvalScorer, EvalScorerContext, EvalTestRunner, EvalVariantSummary, EvalWorkspaceFile, EvalWorkspaceOptions, EvalWorkspaceSnapshot, LlmJudgeOptions, MetricDirection, MetricEmitter, MetricSpec, MetricSpecMap, MetricStats, RegisterEvalTestsOptions, ReusableExecutionContext, Trajectory, TrajectoryStep, TrajectoryStepKind, artifactPath, buildEvalRunSummary, buildRegisteredEvals, buildTrajectory, clearRegisteredEvals, computeEvalTagScores, createEvalAgent, createEvalRunReporter, createReusableExecutionContext, defineEval, defineMetrics, efficiencyMetricValues, emitEfficiencyMetrics, fileContains, fileContentQuality, fileExists, fileExistsOneOf, finalizeEvalMetrics, formatEvalCaseSummary, formatEvalRunSummary, formatTrajectoryLine, functionalityMetric, llmJudge, normalizeMetric, registerEvalTests, relativeArtifactPath, runEvalCase, statusCompleted };
@@ -1,2 +1,2 @@
1
- import { $a as commitKind, $o as ExtensionToolPolicy, $s as WireExtensionConfigSchema, Aa as ENTRY_CANDIDATES, Ao as ExtensionFooterHint, As as ExtensionWorkspacePair, Ba as ExtensionPromptBridge, Bo as ExtensionPaths, Bs as ExtensionConfigChangeBehavior, Ca as installExtensionFromSpec, Co as ExtensionCapability, Cs as ExtensionArtifactScope, Da as removeInstalledExtension, Do as ExtensionCustomRenderer, Ds as ExtensionRuntimeSurface, Ea as readExtensionInstallProvenance, Eo as ExtensionContributions, Es as ExtensionModelEntry, Fa as isExtensionDefinition, Fo as ExtensionManifest, Fs as ExtensionConfigActionItem, Ga as ExtensionBus, Go as ExtensionRunTransform, Gs as ExtensionConfigNumberItem, Ha as createExtensionPromptBridge, Ho as ExtensionPromptTransform, Hs as ExtensionConfigItem, Ia as parseExtensionScanPathEnv, Io as ExtensionMcpConfigTransform, Is as ExtensionConfigActionResult, Ja as createExtensionBus, Jo as ExtensionSkillPolicy, Js as ExtensionConfigSurface, Ka as ExtensionBusChannel, Ko as ExtensionRuntimeEnv, Ks as ExtensionConfigScope, La as scanExtensionDirectories, Lo as ExtensionModal, Ls as ExtensionConfigActionStatus, Ma as defaultExtensionScanPaths, Mo as ExtensionGuiSurface, Ms as createArtifactsSurface, Na as discoverExtensions, No as ExtensionKeybinding, Ns as createExtensionHostRuntimeBridge, Oa as updateInstalledExtension, Oo as ExtensionCustomRendererEntry, Os as ExtensionSessionSummary, Pa as inlineLoadedExtension, Po as ExtensionKeybindingDispatchContext, Ps as createWorkspaceSurface, Qa as branchKind, Qo as ExtensionToolCatalogTransform, Qs as WireExtensionConfigItem, Ra as DiscoverAndBuildExtensionRegistryOptions, Ro as ExtensionModalNode, Rs as ExtensionConfigBooleanItem, Sa as fetchExtensionSource, So as ExtensionBusSurface, Ss as createExtensionHud, Ta as parseExtensionInstallSource, To as ExtensionContextTransform, Ts as ExtensionHostRuntimeImpl, Ua as defineExtension, Uo as ExtensionProviderMiddleware, Us as ExtensionConfigItemBase, Va as ExtensionPromptDelivery, Vo as ExtensionPermission, Vs as ExtensionConfigEnumItem, Wa as EXTENSION_BUS_MAX_PAYLOAD_BYTES, Wo as ExtensionRegistry, Ws as ExtensionConfigModelItem, Xa as BUILTIN_ARTIFACT_KINDS, Xo as ExtensionStorageScope, Xs as ExtensionConfigValueItem, Ya as serializedPayloadBytes, Yo as ExtensionSource, Ys as ExtensionConfigValue, Za as artifactKindLabel, Zo as ExtensionStorageSurface, Zs as StoredExtensionConfigItem, _a as ExtensionInstallResult, _o as ExtensionArtifactRow, _s as ExtensionHudWriter, aa as composeExtensionPreset, ac as resolveExtensionConfigValue, ao as resolveArtifactKind, as as ExtensionToolResultPatch, ba as InstallExtensionFromSpecOptions, bo as ExtensionBusEmitOptions, bs as ExtensionNotifyTone, ca as filterRegistryPlugins, co as ArtifactResolveOptions, cs as ExtensionTuiSurface, da as ExtensionFetchResult, do as ExtensionApiVersion, ds as LoadedPluginRecord, ec as clampExtensionConfigNumber, eo as fileKind, es as ExtensionToolRenderProps, fa as ExtensionInstallCandidate, fo as ExtensionArtifactDetection, fs as TuiContributions, ga as ExtensionInstallProvenance, go as ExtensionArtifactRendererRegistration, gs as ExtensionHudStatus, ha as ExtensionInstallIo, ho as ExtensionArtifactRendererEntry, hs as ExtensionHudState, ia as buildExtensionRegistry, ic as resolveExtensionConfig, io as renderArtifactRow, is as ExtensionToolResultMetadataRegistration, ja as ExtensionScanEntry, jo as ExtensionGuiPanel, js as ExtensionWorkspaceSurface, ka as registerExtensionHostModules, ko as ExtensionDefinition, ks as ExtensionSessionsSurface, la as mergeContributions, lo as EMPTY_EXTENSION_REGISTRY, ls as GuiContributions, ma as ExtensionInstallErrorCode, mo as ExtensionArtifactQuery, ms as ExtensionHud, na as ExtensionCatalogPartition, nc as isValidExtensionConfigItem, no as pullRequestKind, ns as ExtensionToolRendererEntry, oa as disposeExtensionRegistry, oc as sanitizeExtensionConfigActionPatch, oo as ArtifactDetectHookOptions, os as ExtensionToolResultTransform, pa as ExtensionInstallError, po as ExtensionArtifactKindRegistration, ps as ExtensionBannerOptions, qa as ExtensionBusEnvelope, qo as ExtensionSessionStateSurface, qs as ExtensionConfigStringItem, ra as buildExtensionPreset, rc as isValidExtensionConfigValue, ro as refreshArtifact, rs as ExtensionToolRendererRegistration, sa as filterExtensionRegistry, sc as toWireConfigSchema, so as createArtifactDetectHook, ss as ExtensionToolVerdict, ta as BuildExtensionRegistryOptions, tc as coerceExtensionConfigInput, to as githubTokenSource, ts as ExtensionToolRenderer, ua as partitionExtensionCatalog, uo as ExtensionAgentPluginOptions, us as LoadedExtension, va as ExtensionInstallScope, vo as ExtensionArtifactsSurface, vs as ExtensionNotification, wa as listExtensionCandidates, wo as ExtensionContext, ws as ExtensionHostRuntimeBridge, xa as InstalledExtensionTargetOptions, xo as ExtensionBusMessage, xs as ExtensionStatusOptions, ya as ExtensionInstallSource, yo as ExtensionBehaviorTransform, ys as ExtensionNotifyOptions, za as discoverAndBuildExtensionRegistry, zo as ExtensionOrderedContribution, zs as ExtensionConfigCategory } from "./index-C0y2tSgk.js";
2
- export { type ArtifactDetectHookOptions, type ArtifactResolveOptions, BUILTIN_ARTIFACT_KINDS, type BuildExtensionRegistryOptions, type DiscoverAndBuildExtensionRegistryOptions, EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, EXTENSION_BUS_MAX_PAYLOAD_BYTES, type ExtensionAgentPluginOptions, type ExtensionApiVersion, type ExtensionArtifactDetection, type ExtensionArtifactKindRegistration, type ExtensionArtifactQuery, type ExtensionArtifactRendererEntry, type ExtensionArtifactRendererRegistration, type ExtensionArtifactRow, type ExtensionArtifactScope, type ExtensionArtifactsSurface, type ExtensionBannerOptions, type ExtensionBehaviorTransform, type ExtensionBus, type ExtensionBusChannel, type ExtensionBusEmitOptions, type ExtensionBusEnvelope, type ExtensionBusMessage, type ExtensionBusSurface, type ExtensionCapability, type ExtensionCatalogPartition, type ExtensionConfigActionItem, type ExtensionConfigActionResult, type ExtensionConfigActionStatus, type ExtensionConfigBooleanItem, type ExtensionConfigCategory, type ExtensionConfigChangeBehavior, type ExtensionConfigEnumItem, type ExtensionConfigItem, type ExtensionConfigItemBase, type ExtensionConfigModelItem, type ExtensionConfigNumberItem, type ExtensionConfigScope, type ExtensionConfigStringItem, type ExtensionConfigSurface, type ExtensionConfigValue, type ExtensionConfigValueItem, type ExtensionContext, type ExtensionContextTransform, type ExtensionContributions, type ExtensionCustomRenderer, type ExtensionCustomRendererEntry, type ExtensionDefinition, type ExtensionFetchResult, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionGuiSurface, type ExtensionHostRuntimeBridge, type ExtensionHostRuntimeImpl, type ExtensionHud, type ExtensionHudState, type ExtensionHudStatus, type ExtensionHudWriter, type ExtensionInstallCandidate, ExtensionInstallError, type ExtensionInstallErrorCode, type ExtensionInstallIo, type ExtensionInstallProvenance, type ExtensionInstallResult, type ExtensionInstallScope, type ExtensionInstallSource, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionModalNode, type ExtensionModelEntry, type ExtensionNotification, type ExtensionNotifyOptions, type ExtensionNotifyTone, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionPromptBridge, type ExtensionPromptDelivery, type ExtensionPromptTransform, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionRuntimeSurface, type ExtensionScanEntry, type ExtensionSessionStateSurface, type ExtensionSessionSummary, type ExtensionSessionsSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStatusOptions, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolPolicy, type ExtensionToolRenderProps, type ExtensionToolRenderer, type ExtensionToolRendererEntry, type ExtensionToolRendererRegistration, type ExtensionToolResultMetadataRegistration, type ExtensionToolResultPatch, type ExtensionToolResultTransform, type ExtensionToolVerdict, type ExtensionTuiSurface, type ExtensionWorkspacePair, type ExtensionWorkspaceSurface, type GuiContributions, type InstallExtensionFromSpecOptions, type InstalledExtensionTargetOptions, type LoadedExtension, type LoadedPluginRecord, type StoredExtensionConfigItem, type TuiContributions, type WireExtensionConfigItem, type WireExtensionConfigSchema, artifactKindLabel, branchKind, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, commitKind, composeExtensionPreset, createArtifactDetectHook, createArtifactsSurface, createExtensionBus, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, fileKind, filterExtensionRegistry, filterRegistryPlugins, githubTokenSource, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, partitionExtensionCatalog, pullRequestKind, readExtensionInstallProvenance, refreshArtifact, registerExtensionHostModules, removeInstalledExtension, renderArtifactRow, resolveArtifactKind, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, serializedPayloadBytes, toWireConfigSchema, updateInstalledExtension };
1
+ import { $a as branchKind, $o as ExtensionStorageSurface, $s as StoredExtensionConfigItem, Aa as registerExtensionHostModules, Ao as ExtensionCustomRendererEntry, As as ExtensionSessionSummary, Ba as discoverAndBuildExtensionRegistry, Bo as ExtensionModalNode, Bs as ExtensionConfigBooleanItem, Ca as fetchExtensionSource, Co as ExtensionBusMessage, Cs as ExtensionStatusOptions, Da as readExtensionInstallProvenance, Do as ExtensionContextTransform, Ds as ExtensionHostRuntimeImpl, Ea as parseExtensionInstallSource, Eo as ExtensionContext, Es as ExtensionHostRuntimeBridge, Fa as inlineLoadedExtension, Fo as ExtensionKeybinding, Fs as createExtensionHostRuntimeBridge, Ga as EXTENSION_BUS_MAX_PAYLOAD_BYTES, Go as ExtensionProviderMiddleware, Gs as ExtensionConfigItemBase, Ha as ExtensionPromptDelivery, Ho as ExtensionPaths, Hs as ExtensionConfigChangeBehavior, Ia as isExtensionDefinition, Io as ExtensionKeybindingDispatchContext, Is as createWorkspaceSurface, Ja as ExtensionBusEnvelope, Jo as ExtensionRuntimeEnv, Js as ExtensionConfigScope, Ka as ExtensionBus, Ko as ExtensionRegistry, Ks as ExtensionConfigModelItem, La as parseExtensionScanPathEnv, Lo as ExtensionManifest, Ls as ExtensionConfigActionItem, Ma as ExtensionScanEntry, Mo as ExtensionFooterHint, Ms as ExtensionWorkspacePair, Na as defaultExtensionScanPaths, No as ExtensionGuiPanel, Ns as ExtensionWorkspaceSurface, Oa as removeInstalledExtension, Oo as ExtensionContributions, Os as ExtensionModelEntry, Pa as discoverExtensions, Po as ExtensionGuiSurface, Ps as createArtifactsSurface, Qa as artifactKindLabel, Qo as ExtensionStorageScope, Qs as ExtensionConfigValueItem, Ra as scanExtensionDirectories, Ro as ExtensionMcpConfigTransform, Rs as ExtensionConfigActionResult, Sa as InstalledExtensionTargetOptions, So as ExtensionBusEmitOptions, Ss as ExtensionNotifyTone, Ta as listExtensionCandidates, To as ExtensionCapability, Ts as ExtensionArtifactScope, Ua as createExtensionPromptBridge, Uo as ExtensionPermission, Us as ExtensionConfigEnumItem, Va as ExtensionPromptBridge, Vo as ExtensionOrderedContribution, Vs as ExtensionConfigCategory, Wa as defineExtension, Wo as ExtensionPromptTransform, Ws as ExtensionConfigItem, Xa as serializedPayloadBytes, Xo as ExtensionSkillPolicy, Xs as ExtensionConfigSurface, Ya as createExtensionBus, Yo as ExtensionSessionStateSurface, Ys as ExtensionConfigStringItem, Za as BUILTIN_ARTIFACT_KINDS, Zo as ExtensionSource, Zs as ExtensionConfigValue, _a as ExtensionInstallProvenance, _o as ExtensionArtifactRendererEntry, _s as ExtensionHudState, aa as buildExtensionRegistry, ac as isValidExtensionConfigValue, ao as refreshArtifact, as as ExtensionToolRendererRegistration, ba as ExtensionInstallSource, bo as ExtensionArtifactsSurface, bs as ExtensionNotification, ca as filterExtensionRegistry, cc as sanitizeExtensionConfigActionPatch, co as ArtifactDetectHookOptions, cs as ExtensionToolResultTransform, da as partitionExtensionCatalog, do as EMPTY_EXTENSION_REGISTRY, ds as GuiContributions, ec as WireExtensionConfigItem, eo as commitKind, es as ExtensionToolCatalogTransform, fa as ExtensionFetchResult, fo as ExtensionAgentPluginOptions, fs as LoadedExtension, ga as ExtensionInstallIo, go as ExtensionArtifactQuery, gs as ExtensionHud, ha as ExtensionInstallErrorCode, ho as ExtensionArtifactKindRegistration, hs as ExtensionBannerOptions, ia as buildExtensionPreset, ic as isValidExtensionConfigItem, io as pullRequestKind, is as ExtensionToolRendererEntry, ja as ENTRY_CANDIDATES, jo as ExtensionDefinition, js as ExtensionSessionsSurface, ka as updateInstalledExtension, ko as ExtensionCustomRenderer, ks as ExtensionRuntimeSurface, la as filterRegistryPlugins, lc as toWireConfigSchema, lo as createArtifactDetectHook, ls as ExtensionToolVerdict, ma as ExtensionInstallError, mo as ExtensionArtifactDetection, ms as TuiContributions, na as BuildExtensionRegistryOptions, nc as clampExtensionConfigNumber, no as githubTokenSource, ns as ExtensionToolRenderProps, oa as composeExtensionPreset, oc as resolveExtensionConfig, oo as renderArtifactRow, os as ExtensionToolResultMetadataRegistration, pa as ExtensionInstallCandidate, po as ExtensionApiVersion, ps as LoadedPluginRecord, qa as ExtensionBusChannel, qo as ExtensionRunTransform, qs as ExtensionConfigNumberItem, ra as ExtensionCatalogPartition, rc as coerceExtensionConfigInput, ro as parseShortstat, rs as ExtensionToolRenderer, sa as disposeExtensionRegistry, sc as resolveExtensionConfigValue, so as resolveArtifactKind, ss as ExtensionToolResultPatch, tc as WireExtensionConfigSchema, to as fileKind, ts as ExtensionToolPolicy, ua as mergeContributions, uo as ArtifactResolveOptions, us as ExtensionTuiSurface, va as ExtensionInstallResult, vo as ExtensionArtifactRendererRegistration, vs as ExtensionHudStatus, wa as installExtensionFromSpec, wo as ExtensionBusSurface, ws as createExtensionHud, xa as InstallExtensionFromSpecOptions, xo as ExtensionBehaviorTransform, xs as ExtensionNotifyOptions, ya as ExtensionInstallScope, yo as ExtensionArtifactRow, ys as ExtensionHudWriter, za as DiscoverAndBuildExtensionRegistryOptions, zo as ExtensionModal, zs as ExtensionConfigActionStatus } from "./index-CCB05-JZ.js";
2
+ export { type ArtifactDetectHookOptions, type ArtifactResolveOptions, BUILTIN_ARTIFACT_KINDS, type BuildExtensionRegistryOptions, type DiscoverAndBuildExtensionRegistryOptions, EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, EXTENSION_BUS_MAX_PAYLOAD_BYTES, type ExtensionAgentPluginOptions, type ExtensionApiVersion, type ExtensionArtifactDetection, type ExtensionArtifactKindRegistration, type ExtensionArtifactQuery, type ExtensionArtifactRendererEntry, type ExtensionArtifactRendererRegistration, type ExtensionArtifactRow, type ExtensionArtifactScope, type ExtensionArtifactsSurface, type ExtensionBannerOptions, type ExtensionBehaviorTransform, type ExtensionBus, type ExtensionBusChannel, type ExtensionBusEmitOptions, type ExtensionBusEnvelope, type ExtensionBusMessage, type ExtensionBusSurface, type ExtensionCapability, type ExtensionCatalogPartition, type ExtensionConfigActionItem, type ExtensionConfigActionResult, type ExtensionConfigActionStatus, type ExtensionConfigBooleanItem, type ExtensionConfigCategory, type ExtensionConfigChangeBehavior, type ExtensionConfigEnumItem, type ExtensionConfigItem, type ExtensionConfigItemBase, type ExtensionConfigModelItem, type ExtensionConfigNumberItem, type ExtensionConfigScope, type ExtensionConfigStringItem, type ExtensionConfigSurface, type ExtensionConfigValue, type ExtensionConfigValueItem, type ExtensionContext, type ExtensionContextTransform, type ExtensionContributions, type ExtensionCustomRenderer, type ExtensionCustomRendererEntry, type ExtensionDefinition, type ExtensionFetchResult, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionGuiSurface, type ExtensionHostRuntimeBridge, type ExtensionHostRuntimeImpl, type ExtensionHud, type ExtensionHudState, type ExtensionHudStatus, type ExtensionHudWriter, type ExtensionInstallCandidate, ExtensionInstallError, type ExtensionInstallErrorCode, type ExtensionInstallIo, type ExtensionInstallProvenance, type ExtensionInstallResult, type ExtensionInstallScope, type ExtensionInstallSource, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionModalNode, type ExtensionModelEntry, type ExtensionNotification, type ExtensionNotifyOptions, type ExtensionNotifyTone, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionPromptBridge, type ExtensionPromptDelivery, type ExtensionPromptTransform, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionRuntimeSurface, type ExtensionScanEntry, type ExtensionSessionStateSurface, type ExtensionSessionSummary, type ExtensionSessionsSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStatusOptions, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolPolicy, type ExtensionToolRenderProps, type ExtensionToolRenderer, type ExtensionToolRendererEntry, type ExtensionToolRendererRegistration, type ExtensionToolResultMetadataRegistration, type ExtensionToolResultPatch, type ExtensionToolResultTransform, type ExtensionToolVerdict, type ExtensionTuiSurface, type ExtensionWorkspacePair, type ExtensionWorkspaceSurface, type GuiContributions, type InstallExtensionFromSpecOptions, type InstalledExtensionTargetOptions, type LoadedExtension, type LoadedPluginRecord, type StoredExtensionConfigItem, type TuiContributions, type WireExtensionConfigItem, type WireExtensionConfigSchema, artifactKindLabel, branchKind, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, commitKind, composeExtensionPreset, createArtifactDetectHook, createArtifactsSurface, createExtensionBus, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, fileKind, filterExtensionRegistry, filterRegistryPlugins, githubTokenSource, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, parseShortstat, partitionExtensionCatalog, pullRequestKind, readExtensionInstallProvenance, refreshArtifact, registerExtensionHostModules, removeInstalledExtension, renderArtifactRow, resolveArtifactKind, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, serializedPayloadBytes, toWireConfigSchema, updateInstalledExtension };
@@ -1,2 +1,2 @@
1
- import { $ as installExtensionFromSpec, An as resolveExtensionConfig, Bn as commitKind, Dn as coerceExtensionConfigInput, En as clampExtensionConfigNumber, Fn as createExtensionBus, Gn as renderArtifactRow, Hn as githubTokenSource, In as serializedPayloadBytes, Kn as resolveArtifactKind, Ln as BUILTIN_ARTIFACT_KINDS, Mn as sanitizeExtensionConfigActionPatch, Nn as toWireConfigSchema, On as isValidExtensionConfigItem, Pn as EXTENSION_BUS_MAX_PAYLOAD_BYTES, Q as fetchExtensionSource, Rn as artifactKindLabel, Sn as scanExtensionDirectories, Tn as defineExtension, Un as pullRequestKind, Vn as fileKind, Wn as refreshArtifact, X as createExtensionPromptBridge, Y as EMPTY_EXTENSION_REGISTRY, Z as ExtensionInstallError, _n as defaultExtensionScanPaths, _t as createWorkspaceSurface, at as createExtensionHud, bn as isExtensionDefinition, ct as buildExtensionRegistry, dt as filterExtensionRegistry, et as listExtensionCandidates, ft as filterRegistryPlugins, gn as ENTRY_CANDIDATES, gt as createExtensionHostRuntimeBridge, hn as registerExtensionHostModules, ht as createArtifactsSurface, it as updateInstalledExtension, jn as resolveExtensionConfigValue, kn as isValidExtensionConfigValue, lt as composeExtensionPreset, mt as partitionExtensionCatalog, nt as readExtensionInstallProvenance, ot as discoverAndBuildExtensionRegistry, pt as mergeContributions, qn as createArtifactDetectHook, rt as removeInstalledExtension, st as buildExtensionPreset, tt as parseExtensionInstallSource, ut as disposeExtensionRegistry, vn as discoverExtensions, xn as parseExtensionScanPathEnv, yn as inlineLoadedExtension, zn as branchKind } from "./agent-BipX4BBj.js";
2
- export { BUILTIN_ARTIFACT_KINDS, EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, EXTENSION_BUS_MAX_PAYLOAD_BYTES, ExtensionInstallError, artifactKindLabel, branchKind, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, commitKind, composeExtensionPreset, createArtifactDetectHook, createArtifactsSurface, createExtensionBus, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, fileKind, filterExtensionRegistry, filterRegistryPlugins, githubTokenSource, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, partitionExtensionCatalog, pullRequestKind, readExtensionInstallProvenance, refreshArtifact, registerExtensionHostModules, removeInstalledExtension, renderArtifactRow, resolveArtifactKind, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, serializedPayloadBytes, toWireConfigSchema, updateInstalledExtension };
1
+ import { $ as ExtensionInstallError, An as isValidExtensionConfigItem, Bn as artifactKindLabel, Cn as parseExtensionScanPathEnv, Dn as defineExtension, Fn as toWireConfigSchema, Gn as parseShortstat, Hn as commitKind, In as EXTENSION_BUS_MAX_PAYLOAD_BYTES, Jn as renderArtifactRow, Kn as pullRequestKind, Ln as createExtensionBus, Mn as resolveExtensionConfig, Nn as resolveExtensionConfigValue, On as clampExtensionConfigNumber, Pn as sanitizeExtensionConfigActionPatch, Q as createExtensionPromptBridge, Rn as serializedPayloadBytes, Sn as isExtensionDefinition, Un as fileKind, Vn as branchKind, Wn as githubTokenSource, Xn as createArtifactDetectHook, Yn as resolveArtifactKind, Z as EMPTY_EXTENSION_REGISTRY, _n as registerExtensionHostModules, _t as createArtifactsSurface, at as removeInstalledExtension, bn as discoverExtensions, ct as discoverAndBuildExtensionRegistry, dt as composeExtensionPreset, et as fetchExtensionSource, ft as disposeExtensionRegistry, gt as partitionExtensionCatalog, ht as mergeContributions, it as readExtensionInstallProvenance, jn as isValidExtensionConfigValue, kn as coerceExtensionConfigInput, lt as buildExtensionPreset, mt as filterRegistryPlugins, nt as listExtensionCandidates, ot as updateInstalledExtension, pt as filterExtensionRegistry, qn as refreshArtifact, rt as parseExtensionInstallSource, st as createExtensionHud, tt as installExtensionFromSpec, ut as buildExtensionRegistry, vn as ENTRY_CANDIDATES, vt as createExtensionHostRuntimeBridge, wn as scanExtensionDirectories, xn as inlineLoadedExtension, yn as defaultExtensionScanPaths, yt as createWorkspaceSurface, zn as BUILTIN_ARTIFACT_KINDS } from "./agent-BCG9JcZl.js";
2
+ export { BUILTIN_ARTIFACT_KINDS, EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, EXTENSION_BUS_MAX_PAYLOAD_BYTES, ExtensionInstallError, artifactKindLabel, branchKind, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, commitKind, composeExtensionPreset, createArtifactDetectHook, createArtifactsSurface, createExtensionBus, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, fileKind, filterExtensionRegistry, filterRegistryPlugins, githubTokenSource, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, parseShortstat, partitionExtensionCatalog, pullRequestKind, readExtensionInstallProvenance, refreshArtifact, registerExtensionHostModules, removeInstalledExtension, renderArtifactRow, resolveArtifactKind, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, serializedPayloadBytes, toWireConfigSchema, updateInstalledExtension };
@@ -1,2 +1,2 @@
1
- import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Xn as HeadlessEvent, Yn as HeadlessErrorInfo, Zn as HeadlessOptions, ar as exitCodeForHeadlessResult, cr as formattedHeadlessTurnEventToJsonl, dr as providerTranscriptFormatForProvider, er as HeadlessStatus, fr as runHeadless, ir as ProviderTranscriptFormat, lr as headlessEventToJsonl, mr as transcriptToProviderMessages, nr as OpenAIChatContentPart, or as formatHeadlessResult, pr as transcriptToOpenAIMessages, qn as FormattedHeadlessResult, rr as OpenAIChatMessage, sr as formatHeadlessTurnEvent, tr as HeadlessUsage, ur as installHeadlessEventAdapter } from "./index-C0y2tSgk.js";
1
+ import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Xn as HeadlessEvent, Yn as HeadlessErrorInfo, Zn as HeadlessOptions, ar as exitCodeForHeadlessResult, cr as formattedHeadlessTurnEventToJsonl, dr as providerTranscriptFormatForProvider, er as HeadlessStatus, fr as runHeadless, ir as ProviderTranscriptFormat, lr as headlessEventToJsonl, mr as transcriptToProviderMessages, nr as OpenAIChatContentPart, or as formatHeadlessResult, pr as transcriptToOpenAIMessages, qn as FormattedHeadlessResult, rr as OpenAIChatMessage, sr as formatHeadlessTurnEvent, tr as HeadlessUsage, ur as installHeadlessEventAdapter } from "./index-CCB05-JZ.js";
2
2
  export { FormattedHeadlessResult, FormattedHeadlessTurnEvent, HeadlessErrorInfo, HeadlessEvent, HeadlessOptions, HeadlessOutputFormat, HeadlessResult, HeadlessStatus, HeadlessUsage, OpenAIChatContentPart, OpenAIChatMessage, ProviderTranscriptFormat, exitCodeForHeadlessResult, formatHeadlessResult, formatHeadlessTurnEvent, formattedHeadlessTurnEventToJsonl, headlessEventToJsonl, installHeadlessEventAdapter, providerTranscriptFormatForProvider, runHeadless, transcriptToOpenAIMessages, transcriptToProviderMessages };
package/dist/headless.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as documentBlockMarker, o as isWireTurn, r as assertResolvedMediaBlock, u as toolResultToText } from "./types-CWgENVLY.js";
2
- import { t as createAgent, xt as basic_default } from "./agent-BipX4BBj.js";
2
+ import { Ct as basic_default, t as createAgent } from "./agent-BCG9JcZl.js";
3
3
  import { r as createProcessContext } from "./contexts-BSFQVclW.js";
4
4
  import { t as audioFormatFromMediaType } from "./media-sniff-UKijEaiQ.js";
5
5
  import { c as ensureToolResultPairing, g as toAnthropic } from "./messages-2jcOA_5R.js";