zidane 6.5.5 → 6.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/{acp-BPJbXS2J.js → acp-Dm95NwNM.js} +4 -4
  2. package/dist/{acp-BPJbXS2J.js.map → acp-Dm95NwNM.js.map} +1 -1
  3. package/dist/acp-cli.js +5 -5
  4. package/dist/acp.d.ts +1 -1
  5. package/dist/acp.js +1 -1
  6. package/dist/{agent-gZjHsUft.js → agent-CcTWL-Z6.js} +59 -5
  7. package/dist/agent-CcTWL-Z6.js.map +1 -0
  8. package/dist/agent.d.ts +1 -1
  9. package/dist/agent.js +1 -1
  10. package/dist/{anthropic-D3le2d-s.js → anthropic-DLc_Kw-1.js} +362 -28
  11. package/dist/anthropic-DLc_Kw-1.js.map +1 -0
  12. package/dist/{auth-DCiXCwGa.js → auth-BAclQnl3.js} +126 -34
  13. package/dist/{auth-DCiXCwGa.js.map → auth-BAclQnl3.js.map} +1 -1
  14. package/dist/chat/pure.d.ts +3 -3
  15. package/dist/chat.d.ts +91 -6
  16. package/dist/chat.d.ts.map +1 -1
  17. package/dist/chat.js +4 -4
  18. package/dist/contexts/daytona.d.ts +1 -1
  19. package/dist/contexts/e2b.d.ts +1 -1
  20. package/dist/eval.d.ts +1 -1
  21. package/dist/eval.js +1 -1
  22. package/dist/extensions.d.ts +1 -1
  23. package/dist/extensions.js +1 -1
  24. package/dist/headless.d.ts +1 -1
  25. package/dist/headless.js +3 -3
  26. package/dist/{index-BYKzzYzi.d.ts → index-ZWibV230.d.ts} +33 -7
  27. package/dist/index-ZWibV230.d.ts.map +1 -0
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +6 -6
  30. package/dist/mcp.d.ts +1 -1
  31. package/dist/{messages-CVVg5jUL.js → messages-CZMUuKzo.js} +2 -2
  32. package/dist/{messages-CVVg5jUL.js.map → messages-CZMUuKzo.js.map} +1 -1
  33. package/dist/{openai-compat-hmZzpDrB.js → openai-compat-BoTi-9fd.js} +8 -3
  34. package/dist/openai-compat-BoTi-9fd.js.map +1 -0
  35. package/dist/output/stream-json.d.ts +1 -1
  36. package/dist/output/terminal.d.ts +1 -1
  37. package/dist/plugins.d.ts +1 -1
  38. package/dist/presets.d.ts +1 -1
  39. package/dist/presets.js +1 -1
  40. package/dist/providers/anthropic.d.ts +1 -1
  41. package/dist/providers/anthropic.js +1 -1
  42. package/dist/providers/arcee.d.ts +1 -1
  43. package/dist/providers/arcee.js +1 -1
  44. package/dist/providers/baseten.d.ts +1 -1
  45. package/dist/providers/baseten.js +1 -1
  46. package/dist/providers/cerebras.d.ts +1 -1
  47. package/dist/providers/cerebras.js +1 -1
  48. package/dist/providers/local.d.ts +1 -1
  49. package/dist/providers/local.js +1 -1
  50. package/dist/providers/openai-compat.d.ts +1 -1
  51. package/dist/providers/openai-compat.js +1 -1
  52. package/dist/providers/openai.d.ts +1 -1
  53. package/dist/providers/openai.js +2 -2
  54. package/dist/providers/openrouter.d.ts +1 -1
  55. package/dist/providers/openrouter.js +1 -1
  56. package/dist/providers/xai.d.ts +1 -1
  57. package/dist/providers/xai.js +1 -1
  58. package/dist/{providers-Cf0AXIIZ.js → providers-CmhdtD7w.js} +2 -2
  59. package/dist/{providers-Cf0AXIIZ.js.map → providers-CmhdtD7w.js.map} +1 -1
  60. package/dist/providers.d.ts +1 -1
  61. package/dist/providers.js +3 -3
  62. package/dist/restate.d.ts +1 -1
  63. package/dist/restate.js +2 -2
  64. package/dist/session/sqlite.d.ts +1 -1
  65. package/dist/{session-cqN5NbO-.js → session-CyRLSsVa.js} +2 -2
  66. package/dist/{session-cqN5NbO-.js.map → session-CyRLSsVa.js.map} +1 -1
  67. package/dist/session.d.ts +1 -1
  68. package/dist/session.js +2 -2
  69. package/dist/skills.d.ts +1 -1
  70. package/dist/{tool-formatters-B5WSHMCU.d.ts → tool-formatters-D3wSS2zz.d.ts} +2 -2
  71. package/dist/{tool-formatters-B5WSHMCU.d.ts.map → tool-formatters-D3wSS2zz.d.ts.map} +1 -1
  72. package/dist/tools/fetch-url.d.ts +1 -1
  73. package/dist/tools/web-search.d.ts +1 -1
  74. package/dist/tools.d.ts +1 -1
  75. package/dist/tools.js +1 -1
  76. package/dist/{transcript-anchors-BvC8t7dt.js → transcript-anchors-D-Yuimif.js} +3 -3
  77. package/dist/{transcript-anchors-BvC8t7dt.js.map → transcript-anchors-D-Yuimif.js.map} +1 -1
  78. package/dist/{transcript-anchors-BPnWHLyr.d.ts → transcript-anchors-llwMrLRG.d.ts} +2 -2
  79. package/dist/{transcript-anchors-BPnWHLyr.d.ts.map → transcript-anchors-llwMrLRG.d.ts.map} +1 -1
  80. package/dist/tui.d.ts +9 -3
  81. package/dist/tui.d.ts.map +1 -1
  82. package/dist/tui.js +232 -13
  83. package/dist/tui.js.map +1 -1
  84. package/dist/{turn-operations-BvP3_HsU.d.ts → turn-operations-C_XvfBU3.d.ts} +3 -3
  85. package/dist/{turn-operations-BvP3_HsU.d.ts.map → turn-operations-C_XvfBU3.d.ts.map} +1 -1
  86. package/dist/types.d.ts +1 -1
  87. package/package.json +1 -1
  88. package/dist/agent-gZjHsUft.js.map +0 -1
  89. package/dist/anthropic-D3le2d-s.js.map +0 -1
  90. package/dist/index-BYKzzYzi.d.ts.map +0 -1
  91. package/dist/openai-compat-hmZzpDrB.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Af as buildContextBreakdown, Al as CompletionReference, Bl as CommandArgSuggestion, Cf as ContextExactCounts, Df as ContextMcpGroup, Dl as CompletionContext, Ef as ContextItem, El as ActiveTrigger, Fl as mergeReferences, Il as mergeSuggestions, Ml as applyInsert, Nl as collectReferences, Of as ContextSnapshot, Ol as CompletionItem, Pl as findActiveTrigger, Rl as Command, Sf as ContextCategoryId, Tf as ContextExtensionSection, _f as ContextBreakdown, bf as ContextBreakdownOptions, ff as ContextSegment, gf as buildContextSegments, hf as ContextSegmentsInput, kf as ContextUsageSplit, kl as CompletionProvider, mf as ContextSegmentOrigin, pf as ContextSegmentFile, vf as ContextBreakdownContributionContext, wf as ContextExtensionRow, xf as ContextCategory, yf as ContextBreakdownContributor } from "../index-BYKzzYzi.js";
2
- import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, I as splitLines, J as SKILLS_TRIGGER, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId } from "../turn-operations-BvP3_HsU.js";
3
- import { $ as retagUserPromptEvents, A as highlightSegments, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, I as searchSessionIndexAsync, J as EDIT_TOOL_NAMES, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, X as isTurnHighlighted, Y as isEditErrorResult, Z as isUserBashEvent, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, q as BASH_CALL_ID_PREFIX, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "../tool-formatters-B5WSHMCU.js";
1
+ import { Af as buildContextBreakdown, Al as CompletionReference, Bl as CommandArgSuggestion, Cf as ContextExactCounts, Df as ContextMcpGroup, Dl as CompletionContext, Ef as ContextItem, El as ActiveTrigger, Fl as mergeReferences, Il as mergeSuggestions, Ml as applyInsert, Nl as collectReferences, Of as ContextSnapshot, Ol as CompletionItem, Pl as findActiveTrigger, Rl as Command, Sf as ContextCategoryId, Tf as ContextExtensionSection, _f as ContextBreakdown, bf as ContextBreakdownOptions, ff as ContextSegment, gf as buildContextSegments, hf as ContextSegmentsInput, kf as ContextUsageSplit, kl as CompletionProvider, mf as ContextSegmentOrigin, pf as ContextSegmentFile, vf as ContextBreakdownContributionContext, wf as ContextExtensionRow, xf as ContextCategory, yf as ContextBreakdownContributor } from "../index-ZWibV230.js";
2
+ import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, I as splitLines, J as SKILLS_TRIGGER, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId } from "../turn-operations-C_XvfBU3.js";
3
+ import { $ as retagUserPromptEvents, A as highlightSegments, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, I as searchSessionIndexAsync, J as EDIT_TOOL_NAMES, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, X as isTurnHighlighted, Y as isEditErrorResult, Z as isUserBashEvent, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, q as BASH_CALL_ID_PREFIX, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "../tool-formatters-D3wSS2zz.js";
4
4
  export { type ActiveTrigger, BASH_CALL_ID_PREFIX, CHATS_TRIGGER, COMMANDS_TRIGGER, type CatalogEntry, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type Command, type CommandArgSuggestion, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type DiffLine, type DiffOp, EDIT_TOOL_NAMES, type EditHunkSummary, type EditSummary, FILES_TRIGGER, type HighlightRange, type HighlightSegment, type HunkResolution, type IndexedSearchTurn, type InlineDiff, type InlineSegment, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type PreviewResult, type PromptSegment, type PromptSegmentRef, SKILLS_TRIGGER, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SessionHistoryMatch, type SessionSearchExcerpt, type SessionSearchIndex, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type ToolDisplayMeta, type ToolFormatLine, ageString, applyEditPayload, applyInsert, blendHsl, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildLinearRamp, buildModelCatalog, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildUnifiedDiff, capTranscriptEvents, chatReferenceTokensFromText, chunkMarkdownForRender, collectReferences, compactPath, computeInlineDiff, computeLineDiff, countNeighbors, createChatsCompletionProvider, createCommandsCompletionProvider, createFilesCompletionProvider, createSkillsCompletionProvider, deleteTurnSafely, displayNameFor, extractEditPayload, filetypeFromPath, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, fmtCost, fmtTokens, formatDuration, formatTaskStatus, formatTaskSummary, formatToolCall, highlightSegments, indexOfEntry, isEditErrorResult, isTurnHighlighted, isUserBashEvent, isVisible, mergeReferences, mergeSuggestions, normalizeMarkdownCodeFences, previewEditPayload, previewLine, retagUserPromptEvents, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectableTurnIds, shortId, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, summarizeEditPayload, summarizeOutcomes, tokenize, truncateTurnsAt, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences };
package/dist/chat.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { $d as modelOptionsFor, $o as ExtensionToolResultMetadataRegistration, Aa as discoverExtensions, Ad as chainPositionOf, Af as buildContextBreakdown, Al as CompletionReference, Ao as ExtensionManifest, Au as createAutomaticInteractionResponse, B as McpCredentialStore, Ba as defineExtension, Bd as detectAuth, Bo as ExtensionRunTransform, Cd as Screen, Cf as ContextExactCounts, Cg as SessionStore, Cl as tokenEndingAtCursor, Cu as QuestionPayload, Dd as ToolCallDisplay, Df as ContextMcpGroup, Dl as CompletionContext, Du as SelectQuestion, Ed as StreamEvent, Ef as ContextItem, El as ActiveTrigger, Eo as ExtensionGuiPanel, Eu as QuestionType, Fd as sanitizeModelChain, Fl as mergeReferences, Fo as ExtensionPaths, Fu as pendingInteractionsFromTurns, Gd as ProviderDescriptor, Gh as ToolDef, Gi as AgentHookMap, Gl as CommandInvocation, Go as ExtensionStorageScope, Hd as CustomField, Hl as CommandExecution, Ho as ExtensionSessionStateSurface, Id as toggleChainEntry, Il as mergeSuggestions, Io as ExtensionPermission, Iu as serializeInteractionResponse, Jd as credKeyOf, Kd as anthropicDescriptor, Ki as AgentHooks, Kl as CommandOutputBlock, Ko as ExtensionStorageSurface, Ld as AuthMethod, Li as GenerateStructuredDataOptions, Lm as AutoCompact, Lu as useInteractionsActions, Md as filterChainFallbacks, Ml as applyInsert, Mo as ExtensionModal, Mu as isInteractionTool, Nd as providerKeySetChanged, Nl as collectReferences, Nu as isModelInteraction, Od as ModelChainEntry, Of as ContextSnapshot, Ol as CompletionItem, Oo as ExtensionKeybinding, Ou as TextQuestion, Pa as scanExtensionDirectories, Pd as restoreChainFallbacks, Pl as findActiveTrigger, Po as ExtensionOrderedContribution, Pu as makeRequestInteraction, Qd as localDescriptor, Qi as BuildExtensionRegistryOptions, Qm as McpToolSchema, Rd as ProviderAuth, Ri as generateStructuredData, Rl as Command, Ro as ExtensionProviderMiddleware, Ru as useInteractionsQueue, Sd as Picked, Sf as ContextCategoryId, Sl as resolveInlineSuggestion, Su as QuestionChoice, Td as Settings, Tf as ContextExtensionSection, Tl as useCompletion, To as ExtensionFooterHint, Tu as QuestionResponse, Ud as ModelInfo, Uf as Provider, Uo as ExtensionSkillPolicy, Vd as BUILTIN_PROVIDERS, Vo as ExtensionRuntimeEnv, Wd as ModelOption, Wo as ExtensionSource, Xd as getContextWindow, Xl as CommandStepContext, Xm as McpServerConfig, Yd as enabledModelOptions, Yl as CommandStep, Zd as getModelInfo, Zl as CommandStepFn, _d as EditOutcome, _f as ContextBreakdown, _l as InlineAutocompleteContext, _o as ExtensionBehaviorTransform, _u as PlanPayload, ad as AgentRegistry, af as restoreModelOptions, al as BUILTIN_THEMES, as as LoadedExtension, au as AnswerValue, bd as InteractionMode, bf as ContextBreakdownOptions, bh as SessionTurn, bl as createPathAutocompleteProvider, bu as PlanStep, cd as DEFAULT_AGENT_ID, cf as AutoCompactInput, cl as DEFAULT_THEME, cu as HOST_INTERACTION_ID_PREFIX, dd as PLAN_AGENT, df as shouldAutoCompact, dl as Theme, du as InteractionResponse, ea as buildExtensionPreset, ef as modelSupportsReasoning, el as ResolveStorageDirsOptions, eu as commandSteps, fd as accentColor, ff as ContextSegment, fg as SkillConfig, fl as ThemeColors, fu as InteractionsActions, gd as EditHunk, gf as buildContextSegments, gg as SkillsConfig, gl as resolveTheme, go as ExtensionApiVersion, gu as PlanDecision, hd as EditDiffDisplay, hf as ContextSegmentsInput, hl as resolveChipColor, hu as PendingInteractionEntry, ia as filterExtensionRegistry, id as AgentProfile, if as piIdOf, il as resolveStorageDirs, is as GuiContributions, iu as AUTOMATIC_INTERACTION_INSTRUCTION, ja as inlineLoadedExtension, jd as chainsEqual, jo as ExtensionMcpConfigTransform, ju as createInteractionTools, ka as defaultExtensionScanPaths, kd as buildRunModel, kf as ContextUsageSplit, kl as CompletionProvider, ko as ExtensionKeybindingDispatchContext, ku as buildResumedToolResultsTurn, ld as DEFAULT_BUDGET_EXCLUDE_TOOLS, lf as OUTPUT_RESERVE_TOKENS, ll as SyntaxStyles, lu as InteractionOrigin, md as singleAgentRegistry, mf as ContextSegmentOrigin, ml as ThemeSurfaces, mo as EMPTY_EXTENSION_REGISTRY, mu as PRESENT_PLAN_TOOL, na as composeExtensionPreset, nf as openaiDescriptor, nl as StorageMode, nu as parseCommandInvocation, oa as mergeContributions, od as BUILD_AGENT, of as AUTO_COMPACT_MIN_GROWTH_FRACTION, ol as ChipColor, ou as ConfirmQuestion, pd as resolveAgentId, pf as ContextSegmentFile, pl as ThemeSelect, pu as InteractionsProvider, qd as cerebrasDescriptor, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, rd as AgentAccent, rf as openrouterDescriptor, rl as StorageSlot, ru as ASK_USER_TOOL, sa as partitionExtensionCatalog, sd as BUILTIN_AGENTS, sf as AutoCompactDecision, sl as ChipColorMap, ss as TuiContributions, su as CreateInteractionToolsOptions, t as Preset, ta as buildExtensionRegistry, tf as modelsForDescriptor, tl as StorageDirs, tu as executeCommand, ud as DEFAULT_PERSIST_EXCLUDE_TOOLS, uf as effectiveContextWindow, ul as SyntaxTokenStyle, uu as InteractionRequest, vd as EditOutcomeKind, vf as ContextBreakdownContributionContext, vl as InlineAutocompleteProvider, vo as ExtensionCapability, vu as PlanRequest, wd as SessionMeta, wf as ContextExtensionRow, wl as CompletionState, wo as ExtensionDefinition, wu as QuestionRequest, xd as Owner, xf as ContextCategory, xl as patchInlineGhost, xo as ExtensionContributions, xu as Question, yd as EditPayload, yf as ContextBreakdownContributor, yg as Session, yl as InlineGhost, yo as ExtensionContext, yu as PlanResponse, z as McpCredentialEntry, zc as SourcedScanPath, zd as ProviderKey, zl as CommandAgentResult, zo as ExtensionRegistry } from "./index-BYKzzYzi.js";
2
- import { $ as KeyAction, A as ModelUsageSummary, B as marginTopFor, C as AutoUpdateConfig, D as ResolvedPaths, E as ResolvedConfig, F as deriveSessionTitle, G as toolCallPreview, H as stripSpawnTokensLine, I as eventsFromTurns, J as usageByModel, K as toolResultText, L as lastContextSizeFromTurns, M as TuiState, N as compactSummaryEvent, O as resolveConfig, P as createStateStore, Q as KEYBINDING_KEY_COL_WIDTH, R as listSessionMeta, S as parseMcpsFile, T as ProviderRegistry, U as sumRunCosts, V as saveState, W as titleFromTurns, X as KEYBINDING_DEFS, Y as DEFAULT_KEYBINDINGS, Z as KEYBINDING_DEF_BY_ACTION, _ as DiscoveryResult, _t as Hint, a as SessionExportTarget, at as ensureKeybindingsFile, b as defaultMcpsConfigPaths, bt as truncateTrailing, c as writeSessionExport, ct as keybindingsPath, d as useEnabledToggleSet, dt as parseBindingSpec, et as KeyBindingDef, f as DiscoveredPlugin, ft as readKeybindings, g as DiscoveryError, gt as EMPTY_HINTS, h as DiscoveredMcp, ht as stripJsonComments, i as SessionExportFormat, it as ResolvedExtensionKeybinding, j as StateStoreApi, k as resolveStoragePaths, l as EnabledAllowlistKey, lt as matchesBinding, m as projectUserPaths, mt as resolveExtensionKeybindings, n as computeTurnAnchors, nt as KeyBindings, o as renderSession, ot as formatBindingForDisplay, p as ProjectUserPath, pt as readKeybindingsRaw, q as updateToolEventOutcomes, r as SessionExportAnchor, rt as ParsedBinding, s as resolveSessionExportTarget, st as groupBindings, t as TranscriptItem, tt as KeyBindingSection, u as EnabledToggleSet, ut as mergeKeybindings, v as buildMcpServers, vt as clipHintsToWidth, w as ChatOptions, x as discoverProjectMcps, y as dedupMcpServersByName, yt as hintsLength, z as loadState } from "./transcript-anchors-BPnWHLyr.js";
3
- import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, B as buildEditOutcomesAnnotation, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, G as rewriteMultiEditHeader, H as mergeApprovalAndBodyOutcomes, I as splitLines, J as SKILLS_TRIGGER, K as stripEditOutcomesAnnotation, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, U as parseEditOutcomesFromResult, V as maskToOutcomeKinds, W as resolveApprovalForPayload, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, et as FileEntry, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, nt as listProjectFiles, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, tt as ListProjectFilesOptions, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId, z as ResolvedApproval } from "./turn-operations-BvP3_HsU.js";
4
- import { A as highlightSegments, B as ApprovalDecision, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, G as useSafeModeActions, H as RequestApproval, I as searchSessionIndexAsync, K as useSafeModeQueue, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, U as SafeModeActions, V as ApprovalRequest, W as SafeModeProvider, X as isTurnHighlighted, Y as isEditErrorResult, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, tt as selectionAfterTurnRemoval, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "./tool-formatters-B5WSHMCU.js";
1
+ import { $d as modelOptionsFor, $o as ExtensionToolResultMetadataRegistration, Aa as discoverExtensions, Ad as chainPositionOf, Af as buildContextBreakdown, Al as CompletionReference, Ao as ExtensionManifest, Au as createAutomaticInteractionResponse, B as McpCredentialStore, Ba as defineExtension, Bd as detectAuth, Bo as ExtensionRunTransform, Cd as Screen, Cf as ContextExactCounts, Cg as SessionStore, Cl as tokenEndingAtCursor, Cu as QuestionPayload, Dd as ToolCallDisplay, Df as ContextMcpGroup, Dl as CompletionContext, Du as SelectQuestion, Ed as StreamEvent, Ef as ContextItem, El as ActiveTrigger, Eo as ExtensionGuiPanel, Eu as QuestionType, Fd as sanitizeModelChain, Fl as mergeReferences, Fo as ExtensionPaths, Fu as pendingInteractionsFromTurns, Gd as ProviderDescriptor, Gh as ToolDef, Gi as AgentHookMap, Gl as CommandInvocation, Go as ExtensionStorageScope, Hd as CustomField, Hl as CommandExecution, Ho as ExtensionSessionStateSurface, Id as toggleChainEntry, Il as mergeSuggestions, Io as ExtensionPermission, Iu as serializeInteractionResponse, Jd as credKeyOf, Kd as anthropicDescriptor, Ki as AgentHooks, Kl as CommandOutputBlock, Ko as ExtensionStorageSurface, Ld as AuthMethod, Li as GenerateStructuredDataOptions, Lm as AutoCompact, Lu as useInteractionsActions, Md as filterChainFallbacks, Ml as applyInsert, Mo as ExtensionModal, Mu as isInteractionTool, Nd as providerKeySetChanged, Nl as collectReferences, Nu as isModelInteraction, Od as ModelChainEntry, Of as ContextSnapshot, Ol as CompletionItem, Oo as ExtensionKeybinding, Ou as TextQuestion, Pa as scanExtensionDirectories, Pd as restoreChainFallbacks, Pl as findActiveTrigger, Po as ExtensionOrderedContribution, Pu as makeRequestInteraction, Qd as localDescriptor, Qi as BuildExtensionRegistryOptions, Qm as McpToolSchema, Rd as ProviderAuth, Ri as generateStructuredData, Rl as Command, Ro as ExtensionProviderMiddleware, Ru as useInteractionsQueue, Sd as Picked, Sf as ContextCategoryId, Sl as resolveInlineSuggestion, Su as QuestionChoice, Td as Settings, Tf as ContextExtensionSection, Tl as useCompletion, To as ExtensionFooterHint, Tu as QuestionResponse, Ud as ModelInfo, Uf as Provider, Uo as ExtensionSkillPolicy, Vd as BUILTIN_PROVIDERS, Vo as ExtensionRuntimeEnv, Wd as ModelOption, Wo as ExtensionSource, Xd as getContextWindow, Xl as CommandStepContext, Xm as McpServerConfig, Yd as enabledModelOptions, Yl as CommandStep, Zd as getModelInfo, Zl as CommandStepFn, _d as EditOutcome, _f as ContextBreakdown, _l as InlineAutocompleteContext, _o as ExtensionBehaviorTransform, _u as PlanPayload, ad as AgentRegistry, af as restoreModelOptions, al as BUILTIN_THEMES, as as LoadedExtension, au as AnswerValue, bd as InteractionMode, bf as ContextBreakdownOptions, bh as SessionTurn, bl as createPathAutocompleteProvider, bu as PlanStep, cd as DEFAULT_AGENT_ID, cf as AutoCompactInput, cl as DEFAULT_THEME, cu as HOST_INTERACTION_ID_PREFIX, dd as PLAN_AGENT, df as shouldAutoCompact, dl as Theme, du as InteractionResponse, ea as buildExtensionPreset, ef as modelSupportsReasoning, el as ResolveStorageDirsOptions, eu as commandSteps, fd as accentColor, ff as ContextSegment, fg as SkillConfig, fl as ThemeColors, fu as InteractionsActions, gd as EditHunk, gf as buildContextSegments, gg as SkillsConfig, gl as resolveTheme, go as ExtensionApiVersion, gu as PlanDecision, hd as EditDiffDisplay, hf as ContextSegmentsInput, hl as resolveChipColor, hu as PendingInteractionEntry, ia as filterExtensionRegistry, id as AgentProfile, if as piIdOf, il as resolveStorageDirs, is as GuiContributions, iu as AUTOMATIC_INTERACTION_INSTRUCTION, ja as inlineLoadedExtension, jd as chainsEqual, jo as ExtensionMcpConfigTransform, ju as createInteractionTools, ka as defaultExtensionScanPaths, kd as buildRunModel, kf as ContextUsageSplit, kl as CompletionProvider, ko as ExtensionKeybindingDispatchContext, ku as buildResumedToolResultsTurn, ld as DEFAULT_BUDGET_EXCLUDE_TOOLS, lf as OUTPUT_RESERVE_TOKENS, ll as SyntaxStyles, lu as InteractionOrigin, md as singleAgentRegistry, mf as ContextSegmentOrigin, ml as ThemeSurfaces, mo as EMPTY_EXTENSION_REGISTRY, mu as PRESENT_PLAN_TOOL, na as composeExtensionPreset, nf as openaiDescriptor, nl as StorageMode, nu as parseCommandInvocation, oa as mergeContributions, od as BUILD_AGENT, of as AUTO_COMPACT_MIN_GROWTH_FRACTION, ol as ChipColor, ou as ConfirmQuestion, pd as resolveAgentId, pf as ContextSegmentFile, pl as ThemeSelect, pu as InteractionsProvider, qd as cerebrasDescriptor, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, rd as AgentAccent, rf as openrouterDescriptor, rl as StorageSlot, ru as ASK_USER_TOOL, sa as partitionExtensionCatalog, sd as BUILTIN_AGENTS, sf as AutoCompactDecision, sl as ChipColorMap, ss as TuiContributions, su as CreateInteractionToolsOptions, t as Preset, ta as buildExtensionRegistry, tf as modelsForDescriptor, tl as StorageDirs, tu as executeCommand, ud as DEFAULT_PERSIST_EXCLUDE_TOOLS, uf as effectiveContextWindow, ul as SyntaxTokenStyle, uu as InteractionRequest, vd as EditOutcomeKind, vf as ContextBreakdownContributionContext, vl as InlineAutocompleteProvider, vo as ExtensionCapability, vu as PlanRequest, wd as SessionMeta, wf as ContextExtensionRow, wl as CompletionState, wo as ExtensionDefinition, wu as QuestionRequest, xd as Owner, xf as ContextCategory, xl as patchInlineGhost, xo as ExtensionContributions, xu as Question, yd as EditPayload, yf as ContextBreakdownContributor, yg as Session, yl as InlineGhost, yo as ExtensionContext, yu as PlanResponse, z as McpCredentialEntry, zc as SourcedScanPath, zd as ProviderKey, zl as CommandAgentResult, zo as ExtensionRegistry } from "./index-ZWibV230.js";
2
+ import { $ as KeyAction, A as ModelUsageSummary, B as marginTopFor, C as AutoUpdateConfig, D as ResolvedPaths, E as ResolvedConfig, F as deriveSessionTitle, G as toolCallPreview, H as stripSpawnTokensLine, I as eventsFromTurns, J as usageByModel, K as toolResultText, L as lastContextSizeFromTurns, M as TuiState, N as compactSummaryEvent, O as resolveConfig, P as createStateStore, Q as KEYBINDING_KEY_COL_WIDTH, R as listSessionMeta, S as parseMcpsFile, T as ProviderRegistry, U as sumRunCosts, V as saveState, W as titleFromTurns, X as KEYBINDING_DEFS, Y as DEFAULT_KEYBINDINGS, Z as KEYBINDING_DEF_BY_ACTION, _ as DiscoveryResult, _t as Hint, a as SessionExportTarget, at as ensureKeybindingsFile, b as defaultMcpsConfigPaths, bt as truncateTrailing, c as writeSessionExport, ct as keybindingsPath, d as useEnabledToggleSet, dt as parseBindingSpec, et as KeyBindingDef, f as DiscoveredPlugin, ft as readKeybindings, g as DiscoveryError, gt as EMPTY_HINTS, h as DiscoveredMcp, ht as stripJsonComments, i as SessionExportFormat, it as ResolvedExtensionKeybinding, j as StateStoreApi, k as resolveStoragePaths, l as EnabledAllowlistKey, lt as matchesBinding, m as projectUserPaths, mt as resolveExtensionKeybindings, n as computeTurnAnchors, nt as KeyBindings, o as renderSession, ot as formatBindingForDisplay, p as ProjectUserPath, pt as readKeybindingsRaw, q as updateToolEventOutcomes, r as SessionExportAnchor, rt as ParsedBinding, s as resolveSessionExportTarget, st as groupBindings, t as TranscriptItem, tt as KeyBindingSection, u as EnabledToggleSet, ut as mergeKeybindings, v as buildMcpServers, vt as clipHintsToWidth, w as ChatOptions, x as discoverProjectMcps, y as dedupMcpServersByName, yt as hintsLength, z as loadState } from "./transcript-anchors-llwMrLRG.js";
3
+ import { $ as uniqueFilesFromReferences, A as buildUnifiedDiff, B as buildEditOutcomesAnnotation, C as EditSummary, D as PreviewResult, E as InlineSegment, F as previewEditPayload, G as rewriteMultiEditHeader, H as mergeApprovalAndBodyOutcomes, I as splitLines, J as SKILLS_TRIGGER, K as stripEditOutcomesAnnotation, L as summarizeEditPayload, M as computeLineDiff, N as extractEditPayload, O as applyEditPayload, P as filetypeFromPath, Q as createFilesCompletionProvider, R as tokenize, S as EditHunkSummary, T as InlineDiff, U as parseEditOutcomesFromResult, V as maskToOutcomeKinds, W as resolveApprovalForPayload, X as uniqueSkillNamesFromReferences, Y as createSkillsCompletionProvider, Z as FILES_TRIGGER, _ as formatTaskSummary, a as MAX_TRANSCRIPT_EVENTS, at as CHATS_TRIGGER, b as DiffLine, c as finalizeStreamingMarkdown, ct as ChatReferenceScope, d as ageString, dt as uniqueChatIdsFromReferences, et as FileEntry, f as compactPath, ft as blendHsl, g as formatTaskStatus, h as formatDuration, i as turnAsText, it as createCommandsCompletionProvider, j as computeInlineDiff, k as buildContextualDiff, l as finalizeStreamingMarkdownForOwner, lt as chatReferenceTokensFromText, m as fmtTokens, n as deleteTurnSafely, nt as listProjectFiles, o as TRANSCRIPT_TRIM_TO_EVENTS, ot as ChatReferenceData, p as fmtCost, pt as buildLinearRamp, q as summarizeOutcomes, r as truncateTurnsAt, rt as COMMANDS_TRIGGER, s as capTranscriptEvents, st as ChatReferenceEntry, t as countNeighbors, tt as ListProjectFilesOptions, u as turnContextSize, ut as createChatsCompletionProvider, v as previewLine, w as HunkResolution, x as DiffOp, y as shortId, z as ResolvedApproval } from "./turn-operations-C_XvfBU3.js";
4
+ import { A as highlightSegments, B as ApprovalDecision, C as SearchTurnResult, D as buildSessionSearchIndex, E as SessionSearchIndex, F as searchSessionIndex, G as useSafeModeActions, H as RequestApproval, I as searchSessionIndexAsync, K as useSafeModeQueue, L as searchSessionTurns, M as searchSessionHistory, N as searchSessionHistoryIndex, O as buildSessionSearchIndexAsync, P as searchSessionHistoryIndexAsync, Q as isVisible, R as searchTurns, S as SearchSessionResult, T as SessionSearchExcerpt, U as SafeModeActions, V as ApprovalRequest, W as SafeModeProvider, X as isTurnHighlighted, Y as isEditErrorResult, _ as splitMarkdownCodeBlocks, a as formatToolCall, b as IndexedSearchTurn, c as splitPromptSegments, d as filterModelCatalog, et as selectableTurnIds, f as indexOfEntry, g as normalizeMarkdownCodeFences, h as chunkMarkdownForRender, i as displayNameFor, j as searchHighlightRanges, k as filterSessionSearchCatalog, l as CatalogEntry, m as MarkdownSegment, n as ToolDisplayMeta, nt as turnSelectionOwnership, o as PromptSegment, p as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, r as ToolFormatLine, s as PromptSegmentRef, t as TOOL_DISPLAY, tt as selectionAfterTurnRemoval, u as buildModelCatalog, v as HighlightRange, w as SessionHistoryMatch, x as SearchExcerpt, y as HighlightSegment, z as searchableTurnText } from "./tool-formatters-D3wSS2zz.js";
5
5
  import { Hookable } from "hookable";
6
6
  import { spawn } from "node:child_process";
7
7
  import { Dispatch, ReactNode, SetStateAction } from "react";
@@ -812,6 +812,51 @@ declare function ConfigProvider({
812
812
  }): import("react").JSX.Element;
813
813
  declare function useConfig(): ResolvedConfig;
814
814
  //#endregion
815
+ //#region src/chat/cred-keys.d.ts
816
+ /**
817
+ * Credential-file key arithmetic, split from `./credentials` so the rules can
818
+ * be enforced where credentials themselves must not be pulled in.
819
+ *
820
+ * `./credentials` reaches the provider registry (and through it the pi-ai
821
+ * factories) for `credKeyOf`; the extension loader — an edge entrypoint that
822
+ * validates descriptor keys at registration time — must stay clear of that
823
+ * graph. This module is string arithmetic with no imports.
824
+ */
825
+ /**
826
+ * Reserved suffix marking a provider's SECOND credential slot.
827
+ *
828
+ * Not usable as (or as the tail of) a descriptor's credential key: `foo#alt`
829
+ * holds `foo`'s alternate credential, so a provider claiming that name would
830
+ * share storage with it.
831
+ */
832
+ declare const ALTERNATE_CRED_KEY_SUFFIX = "#alt";
833
+ /**
834
+ * File key holding a provider's second credential, when it has one of each kind.
835
+ *
836
+ * The canonical key always holds the credential the user prefers; this sibling
837
+ * holds the other. That one invariant is what makes preference selection free:
838
+ * every existing reader (`applyApiKeyEnv`, the harness provider factories)
839
+ * already resolves the canonical key, so "switch priority" is just moving two
840
+ * objects between two keys — no precedence flag to interpret, no resolution
841
+ * order to keep in sync across layers.
842
+ *
843
+ * A sibling key rather than a nested field because the canonical entry gets
844
+ * REPLACED wholesale on token refresh; anything nested inside it would be
845
+ * dropped by the next rotation. And older zidane versions look credentials up
846
+ * by `credKeyOf`, so a suffixed key is simply invisible to them — they read the
847
+ * preferred credential and behave exactly as before, which is why this needs no
848
+ * migration or schema version.
849
+ */
850
+ declare function alternateCredKey(fileKey: string): string;
851
+ /**
852
+ * True when a key claims the reserved alternate namespace.
853
+ *
854
+ * Built-in keys are plain identifiers (`anthropic`, `openai-codex`), but
855
+ * `ProviderDescriptor.key` / `credentialFileKey` are open strings — so the
856
+ * reservation is checked, not assumed.
857
+ */
858
+ declare function isReservedCredKey(fileKey: string): boolean;
859
+ //#endregion
815
860
  //#region src/chat/credentials.d.ts
816
861
  interface ApiKeyCredential {
817
862
  kind: 'apikey';
@@ -859,6 +904,14 @@ declare function credentialsPath(dataDir: string): string;
859
904
  declare function readCredentials(dataDir: string): CredentialsFile;
860
905
  /** Read a single provider's credential (translating via the descriptor). */
861
906
  declare function readProviderCredential(dataDir: string, descriptor: ProviderDescriptor): ProviderCredential | undefined;
907
+ /**
908
+ * Both stored credentials for a provider: `active` is the one every reader
909
+ * resolves, `alternate` is the stored-but-not-preferred one (if any).
910
+ */
911
+ declare function readProviderCredentialPair(dataDir: string, descriptor: ProviderDescriptor): {
912
+ active?: ProviderCredential;
913
+ alternate?: ProviderCredential;
914
+ };
862
915
  /**
863
916
  * Write credentials atomically (write-then-rename) with mode 0o600.
864
917
  *
@@ -867,7 +920,37 @@ declare function readProviderCredential(dataDir: string, descriptor: ProviderDes
867
920
  * (first launch on a fresh machine: `~/.zidane/` may not exist yet).
868
921
  */
869
922
  declare function writeCredentials(dataDir: string, creds: CredentialsFile): void;
923
+ /**
924
+ * Store a credential as the provider's preferred one.
925
+ *
926
+ * A credential of the OTHER kind already in the canonical slot is demoted to
927
+ * {@link alternateCredKey}, not destroyed: authenticating with OAuth used to
928
+ * silently delete a working API key (and vice versa), leaving the user to
929
+ * re-enter it. Replacing a credential of the SAME kind is a plain overwrite —
930
+ * that's a re-auth, not a second source.
931
+ *
932
+ * The pair holds AT MOST ONE credential of each kind. A same-kind alternate is
933
+ * therefore stale — no code path here can produce one, but a file written by an
934
+ * older build can carry it, and it would surface as two identical source rows
935
+ * that "switch" between each other. Dropping it on the next write self-heals.
936
+ */
870
937
  declare function setProviderCredential(dataDir: string, descriptor: ProviderDescriptor, cred: ProviderCredential): void;
938
+ /**
939
+ * Make the provider's stored `source` credential the preferred one.
940
+ *
941
+ * No-op unless a credential of that kind is sitting in the alternate slot, so
942
+ * calling it for the already-active source is harmless.
943
+ */
944
+ declare function setPreferredCredential(dataDir: string, descriptor: ProviderDescriptor, source: ProviderCredential['kind']): void;
945
+ /**
946
+ * Sign a provider out — drops BOTH stored credentials.
947
+ *
948
+ * "Signed out" has to mean the provider resolves nothing afterwards, which is
949
+ * what this has always guaranteed and what callers named it for; promoting the
950
+ * alternate instead would silently leave the provider authenticated through the
951
+ * other source. Callers that want the fall-back behavior can read the pair
952
+ * first ({@link readProviderCredentialPair}) and re-store the survivor.
953
+ */
871
954
  declare function removeProviderCredential(dataDir: string, descriptor: ProviderDescriptor): void;
872
955
  /**
873
956
  * Reconcile `process.env` with the stored credentials so the harness providers
@@ -900,7 +983,9 @@ declare function removeProviderCredential(dataDir: string, descriptor: ProviderD
900
983
  * Descriptors without an `envKey` (OAuth-only providers, custom providers
901
984
  * that bypass env-var resolution) are skipped silently.
902
985
  */
903
- declare function applyApiKeyEnv(dataDir: string, registry: Readonly<Record<string, ProviderDescriptor>>): void;
986
+ declare function applyApiKeyEnv(dataDir: string, registry: Readonly<Record<string, ProviderDescriptor>>, opts?: {
987
+ log?: (message: string) => void;
988
+ }): void;
904
989
  //#endregion
905
990
  //#region src/chat/discovery-context.d.ts
906
991
  interface DiscoveryContextValue {
@@ -2739,5 +2824,5 @@ declare function renderActiveTodoAnchor(todos: readonly TodoItem[], options?: Ac
2739
2824
  */
2740
2825
  declare function createActiveTodoAnchorHooks(options?: ActiveTodoAnchorOptions): AgentHookMap;
2741
2826
  //#endregion
2742
- export { ACTIONS_WITH_CARE_DOCTRINE, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, type ActiveTodoAnchorOptions, type ActiveTodosState, type ActiveTrigger, type AgentAccent, type AgentProfile, type AgentRegistry, type AgentsMdFile, type AgentsMdResult, type AnswerValue, type ApiKeyCredential, type ApprovalDecision, type ApprovalRequest, type AuthMethod, type AutoCompactDecision, type AutoCompactInput, type AutoUpdateConfig, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, type BooleanSettingKey, type BuildExtensionRegistryOptions, type BuildHintsOptions, type BuildSystemOptions, type BuildUpdateHintOptions, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, type CachedMcpToolList, type CatalogEntry, type ChatOptions, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type ChatTurnsReadToolOptions, type CheckForUpdateOptions, type ChipColor, type ChipColorMap, type ClaudeCopyResult, type ClaudeImportOptions, type ClaudeImportSummary, type ClaudeSessionImportResult, type Command, type CommandAgentResult, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type Commit, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type CompletionState, ConfigProvider, type ConfirmQuestion, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveryContextValue, type DiscoveryError, DiscoveryProvider, type DiscoveryResult, type DiscoverySlot, type DiscoverySlotOptions, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, type EditDiffDisplay, type EditHunk, type EditHunkSummary, type EditOutcome, type EditOutcomeKind, type EditPayload, type EditSummary, type EnabledAllowlistKey, type EnabledToggleSet, type EnvSectionOptions, type ExtensionApiVersion, type ExtensionBehaviorTransform, type ExtensionCapability, type ExtensionContext, type ExtensionContributions, type ExtensionDefinition, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionSessionStateSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolResultMetadataRegistration, FILES_TRIGGER, type FetchOAuthRedirectResult, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, HOST_INTERACTION_ID_PREFIX, type HighlightRange, type HighlightSegment, type Hint, type HunkResolution, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, type InPlaceUpdateResult, type IndexedSearchTurn, type InlineAutocompleteContext, type InlineAutocompleteProvider, type InlineDiff, type InlineGhost, type InlineSegment, type InteractionMode, type InteractionOrigin, type InteractionRequest, type InteractionResponse, type InteractionsActions, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, type KeyAction, type KeyBindingDef, type KeyBindingSection, type KeyBindings, type ListProjectFilesOptions, type LoadedExtension, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type McpAuthEvent, McpAuthProvider, type McpAuthStateMap, type McpAuthStatus, type McpConfigScope, type McpToolToggleSet, type McpToolsCache, type ModelChainEntry, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, OUTPUT_RESERVE_TOKENS, type Owner, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, type PackageManagerCommand, type PackageManagerId, type ParsedBinding, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunUpdateCommandOptions, type RunUpdateCommandResult, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, type SafeModeActions, SafeModeProvider, type Screen, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SelectQuestion, type SelfUpdateResult, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamSource, type StringSettingKey, type SyntaxStyles, type SyntaxTokenStyle, type SystemMdFile, type SystemMdResult, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, type UpdateStatus, type UpsertMcpResult, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, type Walk, accentColor, addToSafelist, ageString, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
2827
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, type ActiveTodoAnchorOptions, type ActiveTodosState, type ActiveTrigger, type AgentAccent, type AgentProfile, type AgentRegistry, type AgentsMdFile, type AgentsMdResult, type AnswerValue, type ApiKeyCredential, type ApprovalDecision, type ApprovalRequest, type AuthMethod, type AutoCompactDecision, type AutoCompactInput, type AutoUpdateConfig, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, type BooleanSettingKey, type BuildExtensionRegistryOptions, type BuildHintsOptions, type BuildSystemOptions, type BuildUpdateHintOptions, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, type CachedMcpToolList, type CatalogEntry, type ChatOptions, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type ChatTurnsReadToolOptions, type CheckForUpdateOptions, type ChipColor, type ChipColorMap, type ClaudeCopyResult, type ClaudeImportOptions, type ClaudeImportSummary, type ClaudeSessionImportResult, type Command, type CommandAgentResult, type CommandExecution, type CommandInvocation, type CommandOutputBlock, type CommandStep, type CommandStepContext, type CommandStepFn, type Commit, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type CompletionState, ConfigProvider, type ConfirmQuestion, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSnapshot, type ContextUsageSplit, type CreateInteractionToolsOptions, type CreateTodoToolsOptions, type CredentialsFile, type CustomField, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, type DetectPackageManagerOptions, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveryContextValue, type DiscoveryError, DiscoveryProvider, type DiscoveryResult, type DiscoverySlot, type DiscoverySlotOptions, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, type EditDiffDisplay, type EditHunk, type EditHunkSummary, type EditOutcome, type EditOutcomeKind, type EditPayload, type EditSummary, type EnabledAllowlistKey, type EnabledToggleSet, type EnvSectionOptions, type ExtensionApiVersion, type ExtensionBehaviorTransform, type ExtensionCapability, type ExtensionContext, type ExtensionContributions, type ExtensionDefinition, type ExtensionFooterHint, type ExtensionGuiPanel, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMcpConfigTransform, type ExtensionModal, type ExtensionOrderedContribution, type ExtensionPaths, type ExtensionPermission, type ExtensionProviderMiddleware, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionSessionStateSurface, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionStorageScope, type ExtensionStorageSurface, type ExtensionToolCatalogTransform, type ExtensionToolResultMetadataRegistration, FILES_TRIGGER, type FetchOAuthRedirectResult, type FileEntry, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GuiContributions, HOST_INTERACTION_ID_PREFIX, type HighlightRange, type HighlightSegment, type Hint, type HunkResolution, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, type InPlaceUpdateResult, type IndexedSearchTurn, type InlineAutocompleteContext, type InlineAutocompleteProvider, type InlineDiff, type InlineGhost, type InlineSegment, type InteractionMode, type InteractionOrigin, type InteractionRequest, type InteractionResponse, type InteractionsActions, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, type KeyAction, type KeyBindingDef, type KeyBindingSection, type KeyBindings, type ListProjectFilesOptions, type LoadedExtension, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, type MarkdownSegment, type McpAuthEvent, McpAuthProvider, type McpAuthStateMap, type McpAuthStatus, type McpConfigScope, type McpToolToggleSet, type McpToolsCache, type ModelChainEntry, type ModelInfo, type ModelOption, type ModelUsageSummary, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, OUTPUT_RESERVE_TOKENS, type Owner, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, type PackageManagerCommand, type PackageManagerId, type ParsedBinding, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type PlanDecision, type PlanPayload, type PlanRequest, type PlanResponse, type PlanStep, type PlatformTarballOptions, type PreviewResult, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptSegment, type PromptSegmentRef, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderKey, type ProviderRegistry, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type RemoveMcpResult, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPaths, type RunUpdateCommandOptions, type RunUpdateCommandResult, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, type SafeModeActions, SafeModeProvider, type Screen, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SelectQuestion, type SelfUpdateResult, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionHistoryMatch, type SessionMeta, type SessionSearchExcerpt, type SessionSearchIndex, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsInput, SettingsProvider, type SettingsToggle, type StateStoreApi, type StorageDirs, type StorageMode, type StorageSlot, type StreamBuffer, type StreamEvent, type StreamSource, type StringSettingKey, type SyntaxStyles, type SyntaxTokenStyle, type SystemMdFile, type SystemMdResult, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type TodoItem, type TodoStatus, type TodoTally, type TodosBag, type ToolCallDisplay, type ToolDisplayMeta, type ToolFormatLine, type TranscriptItem, type TuiContributions, type TuiState, type UpdateStatus, type UpsertMcpResult, type UseUpdateCheckOptions, VAPORWAVE_THEME, type VisibleMcpRow, type Walk, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isReservedCredKey, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
2743
2828
  //# sourceMappingURL=chat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","names":[],"sources":["../src/tools/read-chat-turns.ts","../src/chat/agent-prompt.ts","../src/chat/agents-md.ts","../src/chat/auto-compact.ts","../src/chat/auto-update.ts","../src/chat/auto-update-cli.ts","../src/chat/auto-update-hook.ts","../src/chat/boot-profiler.ts","../src/chat/browser.ts","../src/chat/claude-import.ts","../src/chat/config-context.tsx","../src/chat/credentials.ts","../src/chat/discovery-context.tsx","../src/chat/discovery-slot.ts","../src/chat/footer-hints.ts","../src/chat/generate-title.ts","../src/chat/mcp-auth-state.ts","../src/chat/mcp-auth-context.tsx","../src/chat/mcp-credentials.ts","../src/chat/mcp-rows.ts","../src/chat/mcp-tool-toggle.ts","../src/chat/mcp-tools-cache.ts","../src/chat/mcps-write.ts","../src/chat/oauth.ts","../src/chat/oauth-redirect.ts","../src/chat/path-display.ts","../src/chat/project-root.ts","../src/chat/safe-mode.ts","../src/chat/settings-context.tsx","../src/chat/skills-discovery.ts","../src/chat/streaming.ts","../src/chat/system-md.ts","../src/chat/theme-context.tsx","../src/chat/themes/catppuccin.ts","../src/chat/themes/gruvbox.ts","../src/chat/themes/vaporwave.ts","../src/chat/todos.ts","../src/chat/todo-anchor.ts"],"mappings":";;;;;;;;;;UAWiB,wBAAA;EACf,KAAA,EAAO,YAAY;EACnB,gBAAA;AAAA;AAAA,iBAGc,uBAAA,CAAwB,OAAA,EAAS,wBAAA,GAA2B,OAAO;AAAA,iBA2EnE,4BAAA,CAA6B,MAAc;;;;;;;;;;;;;;;AAhF3D;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;cClDa,eAAA;AAAA,UAOI,iBAAA;;;AAPjB;;;;EAcE,GAAA;EAPe;;;;;;;;;AAsBP;EAJR,WAAA;EAqBwB;EAnBxB,IAAA;EAmB+B;EAjB/B,QAAA;AAAA;;;;AAqD+B;AAsCjC;;;;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A,WAAgB,QAAA;EhC3YD;;;;;;;;;EgCqZf,OAAA,WAAkB,QAAA;EhCvYE;;;;;;EgC8YpB,UAAA,EAAY,QAAA;EhC9YqE;;;;;EgCoZjF,KAAA,EAAO,SAAA;AAAA;AhC/UT;;;;;;;;;;;;;;;AAAA,iBgC0WgB,eAAA,CAAgB,OAAmC,EAA1B,OAAO;;AhC1V3B;AAGrB;;;;;;;iBgCsXgB,iBAAA,CAAkB,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;;;;;;;;;;AhCnEhF;AAGR;;;;iBgCwIgB,cAAA,CAAe,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;UC5pCpE,uBAAA;EACf,OAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,iBAGc,sBAAA,CACd,KAAA,WAAgB,QAAA,IAChB,OAAA,GAAS,uBAA4B;;;;;ArCFvC;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;AAA2D;;;;AClD3D;;;iBoCqBgB,2BAAA,CAA4B,OAAA,GAAS,uBAAA,GAA+B,YAAY"}
1
+ {"version":3,"file":"chat.d.ts","names":[],"sources":["../src/tools/read-chat-turns.ts","../src/chat/agent-prompt.ts","../src/chat/agents-md.ts","../src/chat/auto-compact.ts","../src/chat/auto-update.ts","../src/chat/auto-update-cli.ts","../src/chat/auto-update-hook.ts","../src/chat/boot-profiler.ts","../src/chat/browser.ts","../src/chat/claude-import.ts","../src/chat/config-context.tsx","../src/chat/cred-keys.ts","../src/chat/credentials.ts","../src/chat/discovery-context.tsx","../src/chat/discovery-slot.ts","../src/chat/footer-hints.ts","../src/chat/generate-title.ts","../src/chat/mcp-auth-state.ts","../src/chat/mcp-auth-context.tsx","../src/chat/mcp-credentials.ts","../src/chat/mcp-rows.ts","../src/chat/mcp-tool-toggle.ts","../src/chat/mcp-tools-cache.ts","../src/chat/mcps-write.ts","../src/chat/oauth.ts","../src/chat/oauth-redirect.ts","../src/chat/path-display.ts","../src/chat/project-root.ts","../src/chat/safe-mode.ts","../src/chat/settings-context.tsx","../src/chat/skills-discovery.ts","../src/chat/streaming.ts","../src/chat/system-md.ts","../src/chat/theme-context.tsx","../src/chat/themes/catppuccin.ts","../src/chat/themes/gruvbox.ts","../src/chat/themes/vaporwave.ts","../src/chat/todos.ts","../src/chat/todo-anchor.ts"],"mappings":";;;;;;;;;;UAWiB,wBAAA;EACf,KAAA,EAAO,YAAY;EACnB,gBAAA;AAAA;AAAA,iBAGc,uBAAA,CAAwB,OAAA,EAAS,wBAAA,GAA2B,OAAO;AAAA,iBA2EnE,4BAAA,CAA6B,MAAc;;;;;;;;;;;;;;;AAhF3D;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;cClDa,eAAA;AAAA,UAOI,iBAAA;;;AAPjB;;;;EAcE,GAAA;EAPe;;;;;;;;;AAsBP;EAJR,WAAA;EAqBwB;EAnBxB,IAAA;EAmB+B;EAjB/B,QAAA;AAAA;;;;AAqD+B;AAsCjC;;;;AAAsC;AA6BtC;;;;AAAmC;iBAvGnB,UAAA,CAAW,IAAuB,EAAjB,iBAAiB;;;;AAmHX;AAYvC;;;;cA3Fa,oBAAA;AAsJb;;;;AAA0C;AAY1C;;AAZA,cAhHa,yBAAA;AAsNb;;;;AAA8D;AAmC9D;;AAnCA,cAzLa,sBAAA;;AA4NgD;;;;AC7W7D;;cD6Ja,0BAAA;;;;;;AC1JH;AAIV;;;cDkKa,iBAAA;;;;;AC1JN;AAmBP;cDiJa,kBAAA;;;ACjJY;AAEzB;;;;cD+Ja,oBAAA;;;;;;;;cAwBA,+BAAA;ACzCb;;;;AAAkE;;AAAlE,cDkDa,6BAAA;AAAA,UAYI,kBAAA;EE/PD;EFiQd,GAAA;;;;;;;;EAQA,WAAA;EE9PmC;EFgQnC,IAAA;EE/PE;EFiQF,QAAA;EEjQa;;;;ACDf;;;;;;;;EH+QE,gBAAA;EG5PA;;;;;;;;;EHsQA,gBAAA;EGhPe;;;;;;;;;;;;A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jC9YqE;;;;;EiCoZjF,KAAA,EAAO,SAAA;AAAA;AjC/UT;;;;;;;;;;;;;;;AAAA,iBiC0WgB,eAAA,CAAgB,OAAmC,EAA1B,OAAO;;AjC1V3B;AAGrB;;;;;;;iBiCsXgB,iBAAA,CAAkB,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;;;;;;;;;;AjCnEhF;AAGR;;;;iBiCwIgB,cAAA,CAAe,OAAA,EAAS,OAAA,sBAA6B,gBAAgB;;;UC5pCpE,uBAAA;EACf,OAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,iBAGc,sBAAA,CACd,KAAA,WAAgB,QAAA,IAChB,OAAA,GAAS,uBAA4B;;;;;AtCFvC;;;;;;;;AAEkB;AAGlB;;;;;;;;AAAmF;AA2EnF;;;;AAA2D;;;;AClD3D;;;iBqCqBgB,2BAAA,CAA4B,OAAA,GAAS,uBAAA,GAA+B,YAAY"}
package/dist/chat.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { n as buildContextBreakdown, t as buildContextSegments } from "./context-segments-CJCtJ9sU.js";
2
- import { $t as groupBindings, Dn as OUTPUT_RESERVE_TOKENS, En as AUTO_COMPACT_MIN_GROWTH_FRACTION, Jt as KEYBINDING_DEFS, On as effectiveContextWindow, Qt as formatBindingForDisplay, Xt as KEYBINDING_KEY_COL_WIDTH, Y as EMPTY_EXTENSION_REGISTRY, Yt as KEYBINDING_DEF_BY_ACTION, Zt as ensureKeybindingsFile, _n as defineExtension, an as readKeybindingsRaw, ct as buildExtensionRegistry, dn as discoverExtensions, dt as filterExtensionRegistry, en as keybindingsPath, fn as inlineLoadedExtension, hn as scanExtensionDirectories, in as readKeybindings, kn as shouldAutoCompact, lt as composeExtensionPreset, mt as partitionExtensionCatalog, nn as mergeKeybindings, on as resolveExtensionKeybindings, pt as mergeContributions, qt as DEFAULT_KEYBINDINGS, rn as parseBindingSpec, sn as stripJsonComments, st as buildExtensionPreset, tn as matchesBinding, un as defaultExtensionScanPaths, ut as disposeExtensionRegistry } from "./agent-gZjHsUft.js";
2
+ import { $t as groupBindings, An as OUTPUT_RESERVE_TOKENS, Jt as KEYBINDING_DEFS, Mn as shouldAutoCompact, Qt as formatBindingForDisplay, Xt as KEYBINDING_KEY_COL_WIDTH, Y as EMPTY_EXTENSION_REGISTRY, Yt as KEYBINDING_DEF_BY_ACTION, Zt as ensureKeybindingsFile, an as readKeybindingsRaw, bn as defineExtension, cn as ALTERNATE_CRED_KEY_SUFFIX, ct as buildExtensionRegistry, dt as filterExtensionRegistry, en as keybindingsPath, hn as inlineLoadedExtension, in as readKeybindings, jn as effectiveContextWindow, kn as AUTO_COMPACT_MIN_GROWTH_FRACTION, ln as alternateCredKey, lt as composeExtensionPreset, mn as discoverExtensions, mt as partitionExtensionCatalog, nn as mergeKeybindings, on as resolveExtensionKeybindings, pn as defaultExtensionScanPaths, pt as mergeContributions, qt as DEFAULT_KEYBINDINGS, rn as parseBindingSpec, sn as stripJsonComments, st as buildExtensionPreset, tn as matchesBinding, un as isReservedCredKey, ut as disposeExtensionRegistry, vn as scanExtensionDirectories } from "./agent-CcTWL-Z6.js";
3
3
  import { a as formatDuration, c as previewLine, i as fmtTokens, l as shortId, n as compactPath, o as formatTaskStatus, r as fmtCost, s as formatTaskSummary, t as ageString } from "./format-BF745pLL.js";
4
4
  import { R as projectUserPaths, z as findGitRoot } from "./skills-BMGH_KK1.js";
5
5
  import { p as resolveStorageDirs } from "./plugins-onDvTHEm.js";
6
6
  import { appendDynamicSection } from "./prompt.js";
7
7
  import { a as generateStructuredData, c as shouldAutoGenerateTitle, g as parseCommandInvocation, h as executeCommand, i as tokenEndingAtCursor, m as commandSteps, n as patchInlineGhost, o as cleanTitle, r as resolveInlineSuggestion, s as generateSessionTitle, t as createPathAutocompleteProvider } from "./inline-autocomplete-D0MPvBaS.js";
8
8
  import { a as mergeReferences, n as collectReferences, o as mergeSuggestions, r as findActiveTrigger, t as applyInsert } from "./completion-core-BRo86R_L.js";
9
- import { C as restoreModelOptions, S as piIdOf, _ as modelOptionsFor, a as readProviderCredential, b as openaiDescriptor, c as writeCredentials, d as cerebrasDescriptor, f as credKeyOf, g as localDescriptor, h as getModelInfo, i as readCredentials, l as BUILTIN_PROVIDERS, m as getContextWindow, n as applyApiKeyEnv, o as removeProviderCredential, p as enabledModelOptions, r as credentialsPath, s as setProviderCredential, t as detectAuth, u as anthropicDescriptor, v as modelSupportsReasoning, x as openrouterDescriptor, y as modelsForDescriptor } from "./auth-DCiXCwGa.js";
9
+ import { C as openrouterDescriptor, S as openaiDescriptor, T as restoreModelOptions, _ as getModelInfo, a as readProviderCredential, b as modelSupportsReasoning, c as setPreferredCredential, d as BUILTIN_PROVIDERS, f as anthropicDescriptor, g as getContextWindow, h as enabledModelOptions, i as readCredentials, l as setProviderCredential, m as credKeyOf, n as applyApiKeyEnv, o as readProviderCredentialPair, p as cerebrasDescriptor, r as credentialsPath, s as removeProviderCredential, t as detectAuth, u as writeCredentials, v as localDescriptor, w as piIdOf, x as modelsForDescriptor, y as modelOptionsFor } from "./auth-BAclQnl3.js";
10
10
  import { $ as buildContextualDiff, A as createSkillsCompletionProvider, C as chunkMarkdownForRender, D as splitMarkdownCodeBlocks, E as normalizeMarkdownCodeFences, F as COMMANDS_TRIGGER, H as isTurnHighlighted, I as createCommandsCompletionProvider, J as selectableTurnIds, L as blendHsl, M as FILES_TRIGGER, N as createFilesCompletionProvider, P as uniqueFilesFromReferences, Q as applyEditPayload, R as buildLinearRamp, S as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, V as isEditErrorResult, W as isVisible, Y as selectionAfterTurnRemoval, Z as turnSelectionOwnership, _ as turnContextSize, _t as summarizeOutcomes, a as TOOL_DISPLAY, at as filetypeFromPath, b as filterModelCatalog, bt as createChatsCompletionProvider, c as MAX_TRANSCRIPT_EVENTS, ct as summarizeEditPayload, d as finalizeStreamingMarkdown, dt as maskToOutcomeKinds, et as buildUnifiedDiff, f as finalizeStreamingMarkdownForOwner, ft as mergeApprovalAndBodyOutcomes, gt as stripEditOutcomesAnnotation, ht as rewriteMultiEditHeader, i as turnAsText, it as extractEditPayload, j as uniqueSkillNamesFromReferences, k as SKILLS_TRIGGER, l as TRANSCRIPT_TRIM_TO_EVENTS, lt as tokenize, mt as resolveApprovalForPayload, n as deleteTurnSafely, nt as computeInlineDiff, o as displayNameFor, ot as previewEditPayload, pt as parseEditOutcomesFromResult, r as truncateTurnsAt, rt as computeLineDiff, s as formatToolCall, st as splitLines, t as countNeighbors, u as capTranscriptEvents, ut as buildEditOutcomesAnnotation, v as splitPromptSegments, vt as CHATS_TRIGGER, x as indexOfEntry, xt as uniqueChatIdsFromReferences, y as buildModelCatalog, yt as chatReferenceTokensFromText } from "./turn-operations-7_Ff7INF.js";
11
11
  import { a as searchHighlightRanges, c as searchSessionHistoryIndexAsync, d as searchSessionTurns, f as searchTurns, i as highlightSegments, l as searchSessionIndex, n as buildSessionSearchIndexAsync, o as searchSessionHistory, p as searchableTurnText, r as filterSessionSearchCatalog, s as searchSessionHistoryIndex, t as buildSessionSearchIndex, u as searchSessionIndexAsync } from "./history-search-C4bk1Wz_.js";
12
- import { $ as McpAuthProvider, $n as isTodoTool, $t as resolveStoragePaths, A as writeProjects, An as performInPlaceSelfUpdate, Ar as saveState, At as SETTINGS_INPUTS, B as mcpToolsCachePath, Bn as DEFAULT_PERSIST_EXCLUDE_TOOLS, Bt as GRUVBOX_DARK, C as addToSafelist, Cn as buildUpdateHint, Cr as createStateStore, Ct as buildHints, D as projectsFilePath, Dn as detectLibc, Dr as listSessionMeta, Dt as DEFAULT_SETTINGS, E as matchesSafelistEntry, En as compareSemver, Er as lastContextSizeFromTurns, Et as useEnabledToggleSet, F as oauthUsesManualCodePaste, Fn as renderAgentsMdBlock, Fr as toolCallPreview, Ft as BUILTIN_THEMES, G as useMcpToolToggleMap, Gn as TODOREAD_TOOL, Gt as CATPPUCCIN_MOCHA, H as saveMcpToolsCache, Hn as accentColor, Ht as CATPPUCCIN_FRAPPE, I as runOAuthLogin, In as BUILD_AGENT, Ir as toolResultText, It as DEFAULT_THEME, J as indexOfServerRow, Jn as TODO_STATUS_GLYPHS, Jt as useDiscovery, K as useMcpToolToggleSet, Kn as TODOS_METADATA_KEY, Kt as createDiscoverySlot, L as supportsOAuth, Ln as BUILTIN_AGENTS, Lr as updateToolEventOutcomes, Lt as resolveChipColor, M as fetchOAuthRedirect, Mn as resolvePlatformPackage, Mr as stripSpawnTokensLine, Mt as SettingsProvider, N as normalizeRedirectPaste, Nn as chatAutoCompactBehavior, Nr as sumRunCosts, O as readProjects, On as detectPackageManager, Or as loadState, Ot as SETTINGS_CATEGORIES, P as redirectUriFromAuthUrl, Pn as discoverAgentsMd, Pr as titleFromTurns, Pt as useSettings, Q as patchMcpCredential, Qn as getTodosForRun, Qt as resolveConfig, R as clearMcpToolsCache, Rn as DEFAULT_AGENT_ID, Rr as usageByModel, Rt as resolveTheme, S as IMPLICITLY_SAFE_TOOLS, Sn as bootTick, Sr as compactSummaryEvent, St as truncateTrailing, T as isOnSafelist, Tn as checkForUpdate, Tr as eventsFromTurns, Tt as listProjectFiles, U as subscribeMcpToolsCache, Un as resolveAgentId, Ut as CATPPUCCIN_LATTE, V as refreshMcpToolsCatalog, Vn as PLAN_AGENT, Vt as GRUVBOX_LIGHT, W as buildToolToggle, Wn as singleAgentRegistry, Wt as CATPPUCCIN_MACCHIATO, X as createFileMcpCredentialStore, Xn as createTodoTools, Xt as ConfigProvider, Y as parentServerName, Yn as TODO_WRITE_COUNTS_METADATA_KEY, Yt as useDiscoveryOptional, Z as mcpCredentialsPath, Zn as getArchivedTodosForRun, Zt as useConfig, _ as resolveSessionExportTarget, _n as defaultMcpsConfigPaths, _r as buildPlanSystem, _t as useInteractionsActions, a as useSurfaces, an as restoreChainFallbacks, ar as useActiveTodos, at as AUTOMATIC_INTERACTION_INSTRUCTION, b as useSafeModeActions, bn as tryOpenBrowser, br as createChatTurnsReadTool, bt as clipHintsToWidth, c as discoverSystemMd, cn as useCompletion, cr as DOING_TASKS_DOCTRINE, ct as PRESENT_PLAN_TOOL, d as userSystemMdPath, dn as importFromClaudeCode, dr as INTERACTION_GUIDANCE_NO_PROMPTS, dt as createInteractionTools, en as buildRunModel, er as pickActiveRunId, et as useMcpAuthDispatch, f as useStreamBuffer, fn as mcpsWritePath, fr as PLAN_MODE_DOCTRINE, ft as isInteractionTool, g as renderSession, gn as dedupMcpServersByName, gr as buildBuildSystem, gt as serializeInteractionResponse, h as discoverProjectSkills, hn as buildMcpServers, hr as TOKEN_DISCIPLINE_DOCTRINE, ht as pendingInteractionsFromTurns, i as useSelectStyle, in as providerKeySetChanged, it as ASK_USER_TOOL, j as formatPathForCwd, jn as performSelfUpdate, jt as SETTINGS_TOGGLES, k as suggestSafelistEntries, kn as parseSemver, kr as marginTopFor, kt as SETTINGS_CHOICES, l as renderSystemMdSeed, ln as countClaudeSessionFiles, lr as IDENTITY_PREFIX, lt as buildResumedToolResultsTurn, m as defaultSkillScanPaths, mn as upsertMcpServer, mr as SUBAGENT_GUIDANCE, mt as makeRequestInteraction, n as ThemeProvider, nn as chainsEqual, nr as selectActiveTodos, nt as getMcpAuthStatus, o as useSyntaxStyles, on as sanitizeModelChain, or as ACTIONS_WITH_CARE_DOCTRINE, ot as HOST_INTERACTION_ID_PREFIX, p as buildSkillsConfig, pn as removeMcpServer, pr as PLAN_MODE_DOCTRINE_NO_PROMPTS, pt as isModelInteraction, q as buildVisibleMcpRows, qn as TODOWRITE_TOOL, qt as DiscoveryProvider, r as useColors, rn as filterChainFallbacks, rr as setTodosForRun, rt as reduceMcpAuth, s as useTheme, sn as toggleChainEntry, sr as COMMUNICATION_DOCTRINE, st as InteractionsProvider, t as computeTurnAnchors, tn as chainPositionOf, tr as pruneTodosByRun, tt as useMcpAuthState, un as hasClaudeCodeSetup, ur as INTERACTION_GUIDANCE, ut as createAutomaticInteractionResponse, v as writeSessionExport, vn as discoverProjectMcps, vr as envSection, vt as useInteractionsQueue, w as getSafelist, wn as useUpdateCheck, wr as deriveSessionTitle, wt as shortChord, x as useSafeModeQueue, xn as bootProfileEnabled, xt as hintsLength, y as SafeModeProvider, yn as parseMcpsFile, yr as chatReferenceTokensForPrompt, yt as EMPTY_HINTS, z as loadMcpToolsCache, zn as DEFAULT_BUDGET_EXCLUDE_TOOLS, zt as VAPORWAVE_THEME } from "./transcript-anchors-BvC8t7dt.js";
12
+ import { $ as McpAuthProvider, $n as isTodoTool, $t as resolveStoragePaths, A as writeProjects, An as performInPlaceSelfUpdate, Ar as saveState, At as SETTINGS_INPUTS, B as mcpToolsCachePath, Bn as DEFAULT_PERSIST_EXCLUDE_TOOLS, Bt as GRUVBOX_DARK, C as addToSafelist, Cn as buildUpdateHint, Cr as createStateStore, Ct as buildHints, D as projectsFilePath, Dn as detectLibc, Dr as listSessionMeta, Dt as DEFAULT_SETTINGS, E as matchesSafelistEntry, En as compareSemver, Er as lastContextSizeFromTurns, Et as useEnabledToggleSet, F as oauthUsesManualCodePaste, Fn as renderAgentsMdBlock, Fr as toolCallPreview, Ft as BUILTIN_THEMES, G as useMcpToolToggleMap, Gn as TODOREAD_TOOL, Gt as CATPPUCCIN_MOCHA, H as saveMcpToolsCache, Hn as accentColor, Ht as CATPPUCCIN_FRAPPE, I as runOAuthLogin, In as BUILD_AGENT, Ir as toolResultText, It as DEFAULT_THEME, J as indexOfServerRow, Jn as TODO_STATUS_GLYPHS, Jt as useDiscovery, K as useMcpToolToggleSet, Kn as TODOS_METADATA_KEY, Kt as createDiscoverySlot, L as supportsOAuth, Ln as BUILTIN_AGENTS, Lr as updateToolEventOutcomes, Lt as resolveChipColor, M as fetchOAuthRedirect, Mn as resolvePlatformPackage, Mr as stripSpawnTokensLine, Mt as SettingsProvider, N as normalizeRedirectPaste, Nn as chatAutoCompactBehavior, Nr as sumRunCosts, O as readProjects, On as detectPackageManager, Or as loadState, Ot as SETTINGS_CATEGORIES, P as redirectUriFromAuthUrl, Pn as discoverAgentsMd, Pr as titleFromTurns, Pt as useSettings, Q as patchMcpCredential, Qn as getTodosForRun, Qt as resolveConfig, R as clearMcpToolsCache, Rn as DEFAULT_AGENT_ID, Rr as usageByModel, Rt as resolveTheme, S as IMPLICITLY_SAFE_TOOLS, Sn as bootTick, Sr as compactSummaryEvent, St as truncateTrailing, T as isOnSafelist, Tn as checkForUpdate, Tr as eventsFromTurns, Tt as listProjectFiles, U as subscribeMcpToolsCache, Un as resolveAgentId, Ut as CATPPUCCIN_LATTE, V as refreshMcpToolsCatalog, Vn as PLAN_AGENT, Vt as GRUVBOX_LIGHT, W as buildToolToggle, Wn as singleAgentRegistry, Wt as CATPPUCCIN_MACCHIATO, X as createFileMcpCredentialStore, Xn as createTodoTools, Xt as ConfigProvider, Y as parentServerName, Yn as TODO_WRITE_COUNTS_METADATA_KEY, Yt as useDiscoveryOptional, Z as mcpCredentialsPath, Zn as getArchivedTodosForRun, Zt as useConfig, _ as resolveSessionExportTarget, _n as defaultMcpsConfigPaths, _r as buildPlanSystem, _t as useInteractionsActions, a as useSurfaces, an as restoreChainFallbacks, ar as useActiveTodos, at as AUTOMATIC_INTERACTION_INSTRUCTION, b as useSafeModeActions, bn as tryOpenBrowser, br as createChatTurnsReadTool, bt as clipHintsToWidth, c as discoverSystemMd, cn as useCompletion, cr as DOING_TASKS_DOCTRINE, ct as PRESENT_PLAN_TOOL, d as userSystemMdPath, dn as importFromClaudeCode, dr as INTERACTION_GUIDANCE_NO_PROMPTS, dt as createInteractionTools, en as buildRunModel, er as pickActiveRunId, et as useMcpAuthDispatch, f as useStreamBuffer, fn as mcpsWritePath, fr as PLAN_MODE_DOCTRINE, ft as isInteractionTool, g as renderSession, gn as dedupMcpServersByName, gr as buildBuildSystem, gt as serializeInteractionResponse, h as discoverProjectSkills, hn as buildMcpServers, hr as TOKEN_DISCIPLINE_DOCTRINE, ht as pendingInteractionsFromTurns, i as useSelectStyle, in as providerKeySetChanged, it as ASK_USER_TOOL, j as formatPathForCwd, jn as performSelfUpdate, jt as SETTINGS_TOGGLES, k as suggestSafelistEntries, kn as parseSemver, kr as marginTopFor, kt as SETTINGS_CHOICES, l as renderSystemMdSeed, ln as countClaudeSessionFiles, lr as IDENTITY_PREFIX, lt as buildResumedToolResultsTurn, m as defaultSkillScanPaths, mn as upsertMcpServer, mr as SUBAGENT_GUIDANCE, mt as makeRequestInteraction, n as ThemeProvider, nn as chainsEqual, nr as selectActiveTodos, nt as getMcpAuthStatus, o as useSyntaxStyles, on as sanitizeModelChain, or as ACTIONS_WITH_CARE_DOCTRINE, ot as HOST_INTERACTION_ID_PREFIX, p as buildSkillsConfig, pn as removeMcpServer, pr as PLAN_MODE_DOCTRINE_NO_PROMPTS, pt as isModelInteraction, q as buildVisibleMcpRows, qn as TODOWRITE_TOOL, qt as DiscoveryProvider, r as useColors, rn as filterChainFallbacks, rr as setTodosForRun, rt as reduceMcpAuth, s as useTheme, sn as toggleChainEntry, sr as COMMUNICATION_DOCTRINE, st as InteractionsProvider, t as computeTurnAnchors, tn as chainPositionOf, tr as pruneTodosByRun, tt as useMcpAuthState, un as hasClaudeCodeSetup, ur as INTERACTION_GUIDANCE, ut as createAutomaticInteractionResponse, v as writeSessionExport, vn as discoverProjectMcps, vr as envSection, vt as useInteractionsQueue, w as getSafelist, wn as useUpdateCheck, wr as deriveSessionTitle, wt as shortChord, x as useSafeModeQueue, xn as bootProfileEnabled, xt as hintsLength, y as SafeModeProvider, yn as parseMcpsFile, yr as chatReferenceTokensForPrompt, yt as EMPTY_HINTS, z as loadMcpToolsCache, zn as DEFAULT_BUDGET_EXCLUDE_TOOLS, zt as VAPORWAVE_THEME } from "./transcript-anchors-D-Yuimif.js";
13
13
  //#region src/chat/auto-update-cli.ts
14
14
  const UPGRADE_HELP = `Usage: zidane upgrade [options]
15
15
 
@@ -260,6 +260,6 @@ function createActiveTodoAnchorHooks(options = {}) {
260
260
  } };
261
261
  }
262
262
  //#endregion
263
- export { ACTIONS_WITH_CARE_DOCTRINE, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, ConfigProvider, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, FILES_TRIGGER, GRUVBOX_DARK, GRUVBOX_LIGHT, HOST_INTERACTION_ID_PREFIX, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, McpAuthProvider, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, SafeModeProvider, SettingsProvider, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, ThemeProvider, VAPORWAVE_THEME, accentColor, addToSafelist, ageString, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
263
+ export { ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, BUILD_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_THEMES, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, ConfigProvider, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_KEYBINDINGS, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DiscoveryProvider, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, FILES_TRIGGER, GRUVBOX_DARK, GRUVBOX_LIGHT, HOST_INTERACTION_ID_PREFIX, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, InteractionsProvider, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_TRANSCRIPT_EVENTS, McpAuthProvider, OUTPUT_RESERVE_TOKENS, PLAN_AGENT, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PRESENT_PLAN_TOOL, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_INPUTS, SETTINGS_TOGGLES, SKILLS_TRIGGER, SUBAGENT_GUIDANCE, SafeModeProvider, SettingsProvider, TODOREAD_TOOL, TODOS_METADATA_KEY, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TODO_WRITE_COUNTS_METADATA_KEY, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_TRIM_TO_EVENTS, ThemeProvider, VAPORWAVE_THEME, accentColor, addToSafelist, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyInsert, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildPlanSystem, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, capTranscriptEvents, cerebrasDescriptor, chainPositionOf, chainsEqual, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, checkForUpdate, chunkMarkdownForRender, cleanTitle, clearMcpToolsCache, clipHintsToWidth, collectReferences, commandSteps, compactPath, compactSummaryEvent, compareSemver, composeExtensionPreset, computeInlineDiff, computeLineDiff, computeTurnAnchors, countClaudeSessionFiles, countNeighbors, createActiveTodoAnchorHooks, createAutomaticInteractionResponse, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createFileMcpCredentialStore, createFilesCompletionProvider, createInteractionTools, createPathAutocompleteProvider, createSkillsCompletionProvider, createStateStore, createTodoTools, credKeyOf, credentialsPath, dedupMcpServersByName, defaultExtensionScanPaths, defaultMcpsConfigPaths, defaultSkillScanPaths, defineExtension, deleteTurnSafely, deriveSessionTitle, detectAuth, detectLibc, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, effectiveContextWindow, enabledModelOptions, ensureKeybindingsFile, envSection, eventsFromTurns, executeCommand, extractEditPayload, fetchOAuthRedirect, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, fmtCost, fmtTokens, formatBindingForDisplay, formatDuration, formatPathForCwd, formatTaskStatus, formatTaskSummary, formatToolCall, generateSessionTitle, generateStructuredData, getArchivedTodosForRun, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getTodosForRun, groupBindings, hasClaudeCodeSetup, highlightSegments, hintsLength, importFromClaudeCode, indexOfEntry, indexOfServerRow, inlineLoadedExtension, isEditErrorResult, isInteractionTool, isModelInteraction, isOnSafelist, isReservedCredKey, isTodoTool, isTurnHighlighted, isVisible, keybindingsPath, lastContextSizeFromTurns, listProjectFiles, listSessionMeta, loadMcpToolsCache, loadState, localDescriptor, makeRequestInteraction, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeContributions, mergeKeybindings, mergeReferences, mergeSuggestions, modelOptionsFor, modelSupportsReasoning, modelsForDescriptor, normalizeMarkdownCodeFences, normalizeRedirectPaste, oauthUsesManualCodePaste, openaiDescriptor, openrouterDescriptor, parentServerName, parseBindingSpec, parseCommandInvocation, parseEditOutcomesFromResult, parseMcpsFile, parseSemver, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, pickActiveRunId, previewEditPayload, previewLine, projectUserPaths, projectsFilePath, providerKeySetChanged, pruneTodosByRun, readCredentials, readKeybindings, readKeybindingsRaw, readProjects, readProviderCredential, readProviderCredentialPair, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, removeMcpServer, removeProviderCredential, renderActiveTodoAnchor, renderAgentsMdBlock, renderSession, renderSystemMdSeed, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePlatformPackage, resolveSessionExportTarget, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, rewriteMultiEditHeader, runOAuthLogin, runUpdateCommand, sanitizeModelChain, saveMcpToolsCache, saveState, scanExtensionDirectories, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchableTurnText, selectActiveTodos, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, setPreferredCredential, setProviderCredential, setTodosForRun, shortChord, shortId, shouldAutoCompact, shouldAutoGenerateTitle, singleAgentRegistry, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeEditPayload, summarizeOutcomes, supportsOAuth, titleFromTurns, toggleChainEntry, tokenEndingAtCursor, tokenize, toolCallPreview, toolResultText, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, updateToolEventOutcomes, upsertMcpServer, usageByModel, useActiveTodos, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userSystemMdPath, writeCredentials, writeProjects, writeSessionExport };
264
264
 
265
265
  //# sourceMappingURL=chat.js.map
@@ -1,4 +1,4 @@
1
- import { Yu as Logger } from "../index-BYKzzYzi.js";
1
+ import { Yu as Logger } from "../index-ZWibV230.js";
2
2
  import { s as ExecResult } from "../types-M2DauK2D.js";
3
3
  import { t as SandboxProvider } from "../sandbox-DLY6uah7.js";
4
4
  import { Buffer } from "node:buffer";
@@ -1,4 +1,4 @@
1
- import { Yu as Logger } from "../index-BYKzzYzi.js";
1
+ import { Yu as Logger } from "../index-ZWibV230.js";
2
2
  import { t as SandboxProvider } from "../sandbox-DLY6uah7.js";
3
3
 
4
4
  //#region src/contexts/e2b.d.ts
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-BYKzzYzi.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-ZWibV230.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 };
package/dist/eval.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { r as createProcessContext } from "./contexts-DWVt7MvF.js";
2
2
  import { t as alwaysQuote } from "./shell-quote-BmnhZmdM.js";
3
- import { d as createMemoryStore, t as createSession } from "./session-cqN5NbO-.js";
3
+ import { d as createMemoryStore, t as createSession } from "./session-CyRLSsVa.js";
4
4
  import { headlessEventToJsonl, runHeadless } from "./headless.js";
5
5
  import { join, relative, resolve } from "node:path";
6
6
  import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
@@ -1,2 +1,2 @@
1
- import { $a as ExtensionConfigStringItem, $i as ExtensionCatalogPartition, $o as ExtensionToolResultMetadataRegistration, Aa as discoverExtensions, Ao as ExtensionManifest, Ba as defineExtension, Bo as ExtensionRunTransform, Ca as readExtensionInstallProvenance, Co as ExtensionCustomRendererEntry, Cs as ExtensionSessionsSurface, Da as ENTRY_CANDIDATES, Do as ExtensionGuiSurface, Ds as createWorkspaceSurface, Ea as registerExtensionHostModules, Eo as ExtensionGuiPanel, Es as createExtensionHostRuntimeBridge, Fa as DiscoverAndBuildExtensionRegistryOptions, Fo as ExtensionPaths, Ga as ExtensionConfigCategory, Go as ExtensionStorageScope, Ha as ExtensionConfigActionResult, Ho as ExtensionSessionStateSurface, Ia as discoverAndBuildExtensionRegistry, Io as ExtensionPermission, Ja as ExtensionConfigItem, Jo as ExtensionToolPolicy, Ka as ExtensionConfigChangeBehavior, Ko as ExtensionStorageSurface, La as ExtensionPromptBridge, Lo as ExtensionPromptTransform, Ma as isExtensionDefinition, Mo as ExtensionModal, Na as parseExtensionScanPathEnv, No as ExtensionModalNode, Oa as ExtensionScanEntry, Oo as ExtensionKeybinding, Pa as scanExtensionDirectories, Po as ExtensionOrderedContribution, Qa as ExtensionConfigScope, Qi as BuildExtensionRegistryOptions, Qo as ExtensionToolRendererRegistration, Ra as ExtensionPromptDelivery, Ro as ExtensionProviderMiddleware, Sa as parseExtensionInstallSource, So as ExtensionCustomRenderer, Ss as ExtensionSessionSummary, Ta as updateInstalledExtension, To as ExtensionFooterHint, Ts as ExtensionWorkspaceSurface, Ua as ExtensionConfigActionStatus, Uo as ExtensionSkillPolicy, Va as ExtensionConfigActionItem, Vo as ExtensionRuntimeEnv, Wa as ExtensionConfigBooleanItem, Wo as ExtensionSource, Xa as ExtensionConfigModelItem, Xo as ExtensionToolRenderer, Ya as ExtensionConfigItemBase, Yo as ExtensionToolRenderProps, Za as ExtensionConfigNumberItem, Zo as ExtensionToolRendererEntry, _a as InstallExtensionFromSpecOptions, _o as ExtensionBehaviorTransform, _s as createExtensionHud, aa as filterRegistryPlugins, ao as WireExtensionConfigSchema, as as LoadedExtension, ba as installExtensionFromSpec, bo as ExtensionContextTransform, bs as ExtensionModelEntry, ca as ExtensionFetchResult, co as isValidExtensionConfigItem, cs as ExtensionBannerOptions, da as ExtensionInstallErrorCode, do as resolveExtensionConfigValue, ds as ExtensionHudStatus, ea as buildExtensionPreset, eo as ExtensionConfigSurface, es as ExtensionToolResultPatch, fa as ExtensionInstallIo, fo as sanitizeExtensionConfigActionPatch, fs as ExtensionHudWriter, ga as ExtensionInstallSource, go as ExtensionApiVersion, gs as ExtensionStatusOptions, ha as ExtensionInstallScope, ho as ExtensionAgentPluginOptions, hs as ExtensionNotifyTone, ia as filterExtensionRegistry, io as WireExtensionConfigItem, is as GuiContributions, ja as inlineLoadedExtension, jo as ExtensionMcpConfigTransform, ka as defaultExtensionScanPaths, ko as ExtensionKeybindingDispatchContext, la as ExtensionInstallCandidate, lo as isValidExtensionConfigValue, ls as ExtensionHud, ma as ExtensionInstallResult, mo as EMPTY_EXTENSION_REGISTRY, ms as ExtensionNotifyOptions, na as composeExtensionPreset, no as ExtensionConfigValueItem, ns as ExtensionToolVerdict, oa as mergeContributions, oo as clampExtensionConfigNumber, os as LoadedPluginRecord, pa as ExtensionInstallProvenance, po as toWireConfigSchema, ps as ExtensionNotification, qa as ExtensionConfigEnumItem, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, ro as StoredExtensionConfigItem, rs as ExtensionTuiSurface, sa as partitionExtensionCatalog, so as coerceExtensionConfigInput, ss as TuiContributions, ta as buildExtensionRegistry, to as ExtensionConfigValue, ts as ExtensionToolResultTransform, ua as ExtensionInstallError, uo as resolveExtensionConfig, us as ExtensionHudState, va as InstalledExtensionTargetOptions, vo as ExtensionCapability, vs as ExtensionHostRuntimeBridge, wa as removeInstalledExtension, wo as ExtensionDefinition, ws as ExtensionWorkspacePair, xa as listExtensionCandidates, xo as ExtensionContributions, xs as ExtensionRuntimeSurface, ya as fetchExtensionSource, yo as ExtensionContext, ys as ExtensionHostRuntimeImpl, za as createExtensionPromptBridge, zo as ExtensionRegistry } from "./index-BYKzzYzi.js";
1
+ import { $a as ExtensionConfigStringItem, $i as ExtensionCatalogPartition, $o as ExtensionToolResultMetadataRegistration, Aa as discoverExtensions, Ao as ExtensionManifest, Ba as defineExtension, Bo as ExtensionRunTransform, Ca as readExtensionInstallProvenance, Co as ExtensionCustomRendererEntry, Cs as ExtensionSessionsSurface, Da as ENTRY_CANDIDATES, Do as ExtensionGuiSurface, Ds as createWorkspaceSurface, Ea as registerExtensionHostModules, Eo as ExtensionGuiPanel, Es as createExtensionHostRuntimeBridge, Fa as DiscoverAndBuildExtensionRegistryOptions, Fo as ExtensionPaths, Ga as ExtensionConfigCategory, Go as ExtensionStorageScope, Ha as ExtensionConfigActionResult, Ho as ExtensionSessionStateSurface, Ia as discoverAndBuildExtensionRegistry, Io as ExtensionPermission, Ja as ExtensionConfigItem, Jo as ExtensionToolPolicy, Ka as ExtensionConfigChangeBehavior, Ko as ExtensionStorageSurface, La as ExtensionPromptBridge, Lo as ExtensionPromptTransform, Ma as isExtensionDefinition, Mo as ExtensionModal, Na as parseExtensionScanPathEnv, No as ExtensionModalNode, Oa as ExtensionScanEntry, Oo as ExtensionKeybinding, Pa as scanExtensionDirectories, Po as ExtensionOrderedContribution, Qa as ExtensionConfigScope, Qi as BuildExtensionRegistryOptions, Qo as ExtensionToolRendererRegistration, Ra as ExtensionPromptDelivery, Ro as ExtensionProviderMiddleware, Sa as parseExtensionInstallSource, So as ExtensionCustomRenderer, Ss as ExtensionSessionSummary, Ta as updateInstalledExtension, To as ExtensionFooterHint, Ts as ExtensionWorkspaceSurface, Ua as ExtensionConfigActionStatus, Uo as ExtensionSkillPolicy, Va as ExtensionConfigActionItem, Vo as ExtensionRuntimeEnv, Wa as ExtensionConfigBooleanItem, Wo as ExtensionSource, Xa as ExtensionConfigModelItem, Xo as ExtensionToolRenderer, Ya as ExtensionConfigItemBase, Yo as ExtensionToolRenderProps, Za as ExtensionConfigNumberItem, Zo as ExtensionToolRendererEntry, _a as InstallExtensionFromSpecOptions, _o as ExtensionBehaviorTransform, _s as createExtensionHud, aa as filterRegistryPlugins, ao as WireExtensionConfigSchema, as as LoadedExtension, ba as installExtensionFromSpec, bo as ExtensionContextTransform, bs as ExtensionModelEntry, ca as ExtensionFetchResult, co as isValidExtensionConfigItem, cs as ExtensionBannerOptions, da as ExtensionInstallErrorCode, do as resolveExtensionConfigValue, ds as ExtensionHudStatus, ea as buildExtensionPreset, eo as ExtensionConfigSurface, es as ExtensionToolResultPatch, fa as ExtensionInstallIo, fo as sanitizeExtensionConfigActionPatch, fs as ExtensionHudWriter, ga as ExtensionInstallSource, go as ExtensionApiVersion, gs as ExtensionStatusOptions, ha as ExtensionInstallScope, ho as ExtensionAgentPluginOptions, hs as ExtensionNotifyTone, ia as filterExtensionRegistry, io as WireExtensionConfigItem, is as GuiContributions, ja as inlineLoadedExtension, jo as ExtensionMcpConfigTransform, ka as defaultExtensionScanPaths, ko as ExtensionKeybindingDispatchContext, la as ExtensionInstallCandidate, lo as isValidExtensionConfigValue, ls as ExtensionHud, ma as ExtensionInstallResult, mo as EMPTY_EXTENSION_REGISTRY, ms as ExtensionNotifyOptions, na as composeExtensionPreset, no as ExtensionConfigValueItem, ns as ExtensionToolVerdict, oa as mergeContributions, oo as clampExtensionConfigNumber, os as LoadedPluginRecord, pa as ExtensionInstallProvenance, po as toWireConfigSchema, ps as ExtensionNotification, qa as ExtensionConfigEnumItem, qo as ExtensionToolCatalogTransform, ra as disposeExtensionRegistry, ro as StoredExtensionConfigItem, rs as ExtensionTuiSurface, sa as partitionExtensionCatalog, so as coerceExtensionConfigInput, ss as TuiContributions, ta as buildExtensionRegistry, to as ExtensionConfigValue, ts as ExtensionToolResultTransform, ua as ExtensionInstallError, uo as resolveExtensionConfig, us as ExtensionHudState, va as InstalledExtensionTargetOptions, vo as ExtensionCapability, vs as ExtensionHostRuntimeBridge, wa as removeInstalledExtension, wo as ExtensionDefinition, ws as ExtensionWorkspacePair, xa as listExtensionCandidates, xo as ExtensionContributions, xs as ExtensionRuntimeSurface, ya as fetchExtensionSource, yo as ExtensionContext, ys as ExtensionHostRuntimeImpl, za as createExtensionPromptBridge, zo as ExtensionRegistry } from "./index-ZWibV230.js";
2
2
  export { type BuildExtensionRegistryOptions, type DiscoverAndBuildExtensionRegistryOptions, EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, type ExtensionAgentPluginOptions, type ExtensionApiVersion, type ExtensionBannerOptions, type ExtensionBehaviorTransform, 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, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, composeExtensionPreset, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, filterExtensionRegistry, filterRegistryPlugins, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, partitionExtensionCatalog, readExtensionInstallProvenance, registerExtensionHostModules, removeInstalledExtension, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, toWireConfigSchema, updateInstalledExtension };
@@ -1,2 +1,2 @@
1
- import { $ as installExtensionFromSpec, Cn as resolveExtensionConfigValue, Q as fetchExtensionSource, Sn as resolveExtensionConfig, Tn as toWireConfigSchema, X as createExtensionPromptBridge, Y as EMPTY_EXTENSION_REGISTRY, Z as ExtensionInstallError, _n as defineExtension, at as createExtensionHud, bn as isValidExtensionConfigItem, cn as registerExtensionHostModules, ct as buildExtensionRegistry, dn as discoverExtensions, dt as filterExtensionRegistry, et as listExtensionCandidates, fn as inlineLoadedExtension, ft as filterRegistryPlugins, gt as createWorkspaceSurface, hn as scanExtensionDirectories, ht as createExtensionHostRuntimeBridge, it as updateInstalledExtension, ln as ENTRY_CANDIDATES, lt as composeExtensionPreset, mn as parseExtensionScanPathEnv, mt as partitionExtensionCatalog, nt as readExtensionInstallProvenance, ot as discoverAndBuildExtensionRegistry, pn as isExtensionDefinition, pt as mergeContributions, rt as removeInstalledExtension, st as buildExtensionPreset, tt as parseExtensionInstallSource, un as defaultExtensionScanPaths, ut as disposeExtensionRegistry, vn as clampExtensionConfigNumber, wn as sanitizeExtensionConfigActionPatch, xn as isValidExtensionConfigValue, yn as coerceExtensionConfigInput } from "./agent-gZjHsUft.js";
1
+ import { $ as installExtensionFromSpec, Cn as isValidExtensionConfigItem, Dn as sanitizeExtensionConfigActionPatch, En as resolveExtensionConfigValue, On as toWireConfigSchema, Q as fetchExtensionSource, Sn as coerceExtensionConfigInput, Tn as resolveExtensionConfig, X as createExtensionPromptBridge, Y as EMPTY_EXTENSION_REGISTRY, Z as ExtensionInstallError, _n as parseExtensionScanPathEnv, at as createExtensionHud, bn as defineExtension, ct as buildExtensionRegistry, dn as registerExtensionHostModules, dt as filterExtensionRegistry, et as listExtensionCandidates, fn as ENTRY_CANDIDATES, ft as filterRegistryPlugins, gn as isExtensionDefinition, gt as createWorkspaceSurface, hn as inlineLoadedExtension, ht as createExtensionHostRuntimeBridge, it as updateInstalledExtension, lt as composeExtensionPreset, mn as discoverExtensions, mt as partitionExtensionCatalog, nt as readExtensionInstallProvenance, ot as discoverAndBuildExtensionRegistry, pn as defaultExtensionScanPaths, pt as mergeContributions, rt as removeInstalledExtension, st as buildExtensionPreset, tt as parseExtensionInstallSource, ut as disposeExtensionRegistry, vn as scanExtensionDirectories, wn as isValidExtensionConfigValue, xn as clampExtensionConfigNumber } from "./agent-CcTWL-Z6.js";
2
2
  export { EMPTY_EXTENSION_REGISTRY, ENTRY_CANDIDATES, ExtensionInstallError, buildExtensionPreset, buildExtensionRegistry, clampExtensionConfigNumber, coerceExtensionConfigInput, composeExtensionPreset, createExtensionHostRuntimeBridge, createExtensionHud, createExtensionPromptBridge, createWorkspaceSurface, defaultExtensionScanPaths, defineExtension, discoverAndBuildExtensionRegistry, discoverExtensions, disposeExtensionRegistry, fetchExtensionSource, filterExtensionRegistry, filterRegistryPlugins, inlineLoadedExtension, installExtensionFromSpec, isExtensionDefinition, isValidExtensionConfigItem, isValidExtensionConfigValue, listExtensionCandidates, mergeContributions, parseExtensionInstallSource, parseExtensionScanPathEnv, partitionExtensionCatalog, readExtensionInstallProvenance, registerExtensionHostModules, removeInstalledExtension, resolveExtensionConfig, resolveExtensionConfigValue, sanitizeExtensionConfigActionPatch, scanExtensionDirectories, 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-BYKzzYzi.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-ZWibV230.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,9 +1,9 @@
1
1
  import { a as isWireTurn, i as documentBlockMarker, l as toolResultToText, n as assertResolvedMediaBlock } from "./types-BIarq1qE.js";
2
- import { bt as basic_default, t as createAgent } from "./agent-gZjHsUft.js";
2
+ import { bt as basic_default, t as createAgent } from "./agent-CcTWL-Z6.js";
3
3
  import { r as createProcessContext } from "./contexts-DWVt7MvF.js";
4
4
  import { t as audioFormatFromMediaType } from "./media-sniff-UKijEaiQ.js";
5
- import { c as ensureToolResultPairing, g as toAnthropic } from "./messages-CVVg5jUL.js";
6
- import { d as createMemoryStore, t as createSession } from "./session-cqN5NbO-.js";
5
+ import { c as ensureToolResultPairing, g as toAnthropic } from "./messages-CZMUuKzo.js";
6
+ import { d as createMemoryStore, t as createSession } from "./session-CyRLSsVa.js";
7
7
  import { t as createRunSummaryCollector } from "./run-summary-BU_NgwUT.js";
8
8
  //#region src/headless.ts
9
9
  function exitCodeForHeadlessResult(result) {