zidane 9.1.5 → 9.1.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.
- package/dist/{acp-BWLdmJDt.js → acp-DMIhIsAi.js} +3 -3
- package/dist/{acp-BWLdmJDt.js.map → acp-DMIhIsAi.js.map} +1 -1
- package/dist/acp-cli.js +4 -4
- package/dist/acp.d.ts +2 -2
- package/dist/acp.js +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/{auth-store-port-DYsWAuUj.js → auth-store-port-BHEXS3VS.js} +2 -2
- package/dist/{auth-store-port-DYsWAuUj.js.map → auth-store-port-BHEXS3VS.js.map} +1 -1
- package/dist/{auto-update-restart-BLW0dTui.js → auto-update-restart-Dkdz6rq4.js} +10 -10
- package/dist/{auto-update-restart-BLW0dTui.js.map → auto-update-restart-Dkdz6rq4.js.map} +1 -1
- package/dist/{browser-entry-CHX7eDd5.d.ts → browser-entry-DP6PZ2Ar.d.ts} +4 -4
- package/dist/{browser-entry-CHX7eDd5.d.ts.map → browser-entry-DP6PZ2Ar.d.ts.map} +1 -1
- package/dist/channels.d.ts +5 -5
- package/dist/chat/browser.d.ts +3 -3
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +4 -4
- package/dist/chat.js +9 -9
- package/dist/{cli-shared-DyAIGvCc.js → cli-shared-VGYq10bZ.js} +3 -3
- package/dist/{cli-shared-DyAIGvCc.js.map → cli-shared-VGYq10bZ.js.map} +1 -1
- package/dist/{client-core-BdLvnaYK.d.ts → client-core-CG_5I6Ol.d.ts} +4 -4
- package/dist/{client-core-BdLvnaYK.d.ts.map → client-core-CG_5I6Ol.d.ts.map} +1 -1
- package/dist/{client-CK_UrIhx.d.ts → client-tLbAFn0W.d.ts} +2 -2
- package/dist/{client-CK_UrIhx.d.ts.map → client-tLbAFn0W.d.ts.map} +1 -1
- package/dist/{connection-loop--yxMYRBl.d.ts → connection-loop-CPeQsGRl.d.ts} +4 -4
- package/dist/{connection-loop--yxMYRBl.d.ts.map → connection-loop-CPeQsGRl.d.ts.map} +1 -1
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/{credentials-CKZXFn6X.js → credentials-Bf8Bz4X-.js} +2 -2
- package/dist/{credentials-CKZXFn6X.js.map → credentials-Bf8Bz4X-.js.map} +1 -1
- package/dist/daemon-cli.js +2 -2
- package/dist/{discovery-Cma3l0tG.js → discovery-CC6Uhvm8.js} +4 -4
- package/dist/{discovery-Cma3l0tG.js.map → discovery-CC6Uhvm8.js.map} +1 -1
- package/dist/durable/sqlite.d.ts +2 -2
- package/dist/durable.d.ts +1 -1
- package/dist/{engine-DH7FBsXF.js → engine-d8V1hEDw.js} +3 -3
- package/dist/{engine-DH7FBsXF.js.map → engine-d8V1hEDw.js.map} +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/{executor-Cj6ilahP.js → executor-C5VCLmPj.js} +2 -2
- package/dist/{executor-Cj6ilahP.js.map → executor-C5VCLmPj.js.map} +1 -1
- package/dist/extensions/testing.d.ts +1 -1
- package/dist/extensions/testing.js +2 -2
- package/dist/{extensions-client-CGL8cTfx.d.ts → extensions-client-ke2jcWfp.d.ts} +4 -4
- package/dist/{extensions-client-CGL8cTfx.d.ts.map → extensions-client-ke2jcWfp.d.ts.map} +1 -1
- package/dist/{extensions-DjEPVNyg.js → extensions-hHKXiXSo.js} +6 -6
- package/dist/{extensions-DjEPVNyg.js.map → extensions-hHKXiXSo.js.map} +1 -1
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +5 -5
- package/dist/{fold-rules-C6udT9hM.d.ts → fold-rules-NGK3F6IS.d.ts} +2 -2
- package/dist/{fold-rules-C6udT9hM.d.ts.map → fold-rules-NGK3F6IS.d.ts.map} +1 -1
- package/dist/{google-DJV9Hjyw.js → google-BxIUmp_8.js} +2 -2
- package/dist/{google-DJV9Hjyw.js.map → google-BxIUmp_8.js.map} +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/{host-9vLbGyJq.js → host-n1AYC9-H.js} +9 -9
- package/dist/{host-9vLbGyJq.js.map → host-n1AYC9-H.js.map} +1 -1
- package/dist/{host-signals-DMndC3WQ.js → host-signals-eQf9F1Rl.js} +5 -5
- package/dist/{host-signals-DMndC3WQ.js.map → host-signals-eQf9F1Rl.js.map} +1 -1
- package/dist/{host-version-B6zEy_l1.js → host-version-EkzK6xdV.js} +2 -2
- package/dist/{host-version-B6zEy_l1.js.map → host-version-EkzK6xdV.js.map} +1 -1
- package/dist/{index-D2HJUCR1.d.ts → index-BypbUp-D.d.ts} +4 -4
- package/dist/{index-D2HJUCR1.d.ts.map → index-BypbUp-D.d.ts.map} +1 -1
- package/dist/{index-ByR7Be4d.d.ts → index-CNq4AYES.d.ts} +37 -10
- package/dist/index-CNq4AYES.d.ts.map +1 -0
- package/dist/{index-BI6RZc60.d.ts → index-DqCio7Nd.d.ts} +7 -4
- package/dist/{index-BI6RZc60.d.ts.map → index-DqCio7Nd.d.ts.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/ipc/browser.d.ts +3 -3
- package/dist/ipc/remote.d.ts +6 -6
- package/dist/ipc/remote.js +3 -3
- package/dist/{ipc-DBOylNnG.js → ipc-DUqSK-SB.js} +4 -4
- package/dist/{ipc-DBOylNnG.js.map → ipc-DUqSK-SB.js.map} +1 -1
- package/dist/ipc.d.ts +10 -10
- package/dist/ipc.js +5 -5
- package/dist/{links-DMWKvAmD.js → links-DivTLyDT.js} +8 -8
- package/dist/{links-DMWKvAmD.js.map → links-DivTLyDT.js.map} +1 -1
- package/dist/{loaded-entry-CaFgDCMz.js → loaded-entry-D93ZwfH8.js} +2 -2
- package/dist/{loaded-entry-CaFgDCMz.js.map → loaded-entry-D93ZwfH8.js.map} +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/{media-type-DDrpCEf9.d.ts → media-type-vJuUTlW5.d.ts} +2 -2
- package/dist/{media-type-DDrpCEf9.d.ts.map → media-type-vJuUTlW5.d.ts.map} +1 -1
- package/dist/{memory-CoaLfuI2.js → memory-D060YOj_.js} +27 -19
- package/dist/memory-D060YOj_.js.map +1 -0
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/{path-display-DV6PlTOE.js → path-display-Dm4nSwwF.js} +3 -3
- package/dist/{path-display-DV6PlTOE.js.map → path-display-Dm4nSwwF.js.map} +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/{protocol-BAXNtbj5.d.ts → protocol-DlFZqIbu.d.ts} +5 -5
- package/dist/{protocol-BAXNtbj5.d.ts.map → protocol-DlFZqIbu.d.ts.map} +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/arcee.d.ts +1 -1
- package/dist/providers/baseten.d.ts +1 -1
- package/dist/providers/cerebras.d.ts +1 -1
- package/dist/providers/google.d.ts +1 -1
- package/dist/providers/google.js +1 -1
- package/dist/providers/local.d.ts +1 -1
- package/dist/providers/neuralwatt.d.ts +1 -1
- package/dist/providers/openai-compat.d.ts +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/openrouter.d.ts +1 -1
- package/dist/providers/xai.d.ts +1 -1
- package/dist/{providers-cSrUyM2h.js → providers-CuMn0Kkq.js} +2 -2
- package/dist/{providers-cSrUyM2h.js.map → providers-CuMn0Kkq.js.map} +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +1 -1
- package/dist/{registry-4T13yxMT.js → registry-CGYWxMNj.js} +2 -2
- package/dist/{registry-4T13yxMT.js.map → registry-CGYWxMNj.js.map} +1 -1
- package/dist/{registry-8mnp3zJf.js → registry-DWYR40B2.js} +2 -2
- package/dist/{registry-8mnp3zJf.js.map → registry-DWYR40B2.js.map} +1 -1
- package/dist/{registry-BBzysAGz.js → registry-yhXC9O2x.js} +2 -2
- package/dist/{registry-BBzysAGz.js.map → registry-yhXC9O2x.js.map} +1 -1
- package/dist/{remote-hosts-G62uJ45a.js → remote-hosts-DpAyu0ER.js} +4 -4
- package/dist/{remote-hosts-G62uJ45a.js.map → remote-hosts-DpAyu0ER.js.map} +1 -1
- package/dist/restate.d.ts +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/{setting-BWlU8Liz.js → setting-wx57dbgJ.js} +2 -2
- package/dist/{setting-BWlU8Liz.js.map → setting-wx57dbgJ.js.map} +1 -1
- package/dist/{settings-keys-DpQ5m5oZ.js → settings-keys-Dmig23l3.js} +2 -2
- package/dist/{settings-keys-DpQ5m5oZ.js.map → settings-keys-Dmig23l3.js.map} +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{sqlite-runtime-D7WG9VL_.d.ts → sqlite-runtime-D2N0m9XE.d.ts} +2 -2
- package/dist/sqlite-runtime-D2N0m9XE.d.ts.map +1 -0
- package/dist/{system-freeze-CGSHvvCg.js → system-freeze-C3g8HY4t.js} +2 -2
- package/dist/{system-freeze-CGSHvvCg.js.map → system-freeze-C3g8HY4t.js.map} +1 -1
- package/dist/tools/fetch-url.d.ts +1 -1
- package/dist/tools/web-search.d.ts +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tui.d.ts +9 -9
- package/dist/tui.js +15 -15
- package/dist/{types-DVuB6yk8.d.ts → types-CPxqnCeG.d.ts} +2 -2
- package/dist/{types-DVuB6yk8.d.ts.map → types-CPxqnCeG.d.ts.map} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{version-BoECn_c8.js → version-3w8QMAyl.js} +2 -2
- package/dist/{version-BoECn_c8.js.map → version-3w8QMAyl.js.map} +1 -1
- package/dist/{wire-DYBrjw6p.js → wire-Ct6nuXL5.js} +2 -2
- package/dist/{wire-DYBrjw6p.js.map → wire-Ct6nuXL5.js.map} +1 -1
- package/dist/{ws-client-iv10YsKH.js → ws-client-DAm6UPtq.js} +2 -2
- package/dist/{ws-client-iv10YsKH.js.map → ws-client-DAm6UPtq.js.map} +1 -1
- package/dist/{ws-ByUKaCyV.js → ws-olbe6ZfF.js} +4 -4
- package/dist/{ws-ByUKaCyV.js.map → ws-olbe6ZfF.js.map} +1 -1
- package/docs/EXTENSIONS.md +1 -1
- package/package.json +1 -1
- package/dist/index-ByR7Be4d.d.ts.map +0 -1
- package/dist/memory-CoaLfuI2.js.map +0 -1
- package/dist/sqlite-runtime-D7WG9VL_.d.ts.map +0 -1
package/dist/chat.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $A as providerFieldViews, $C as MAX_PLAN_STEPS, $D as ToolCallDecision, $E as EnvironmentAction, $S as parseCommandInvocation, $T as formatTokenCount, $_ as WebviewItem, $b as PaletteProviderSpec, $d as EditOutcome, $g as ExtensionContext, $k as cerebrasDescriptor, $v as SessionFacetSpec, $x as resolveChipColor, AC as buildResumedToolResultsTurn, AD as workspacePath, AS as findActiveTrigger, AT as parseSessionEventXml, A_ as SidebarFilter, Ab as RpcCallError, Ad as AgentRegistry, Af as extensionSpace, Am as ExtensionReferenceCardFact, Ap as PanelKeyValueRow, Av as SettingBase, Aw as TODOWRITE_TOOL, BA as PreferCredentialResult, BD as HooksDomain, BE as EnvironmentDescriptor, BS as CommandInteraction, BT as RUN_RECEIPT_GLYPH, B_ as SidebarSort, Bb as RpcRegistration, Bd as availableAgents, Bf as spaceMetadata, Bh as SidebarRowWire, Bp as PanelStartSession, Bv as Connection, Bx as StorageMode, Bz as ScheduleFire, CA as ProviderUsageResets, CC as QuestionPayload, CD as availableEnvironmentActions, CE as chainAccountConflict, CO as LiveAccessor, CS as CompletionContext, CT as SessionEventStatus, C_ as SelectOption, Cb as SessionQueryNot, Cd as SkillsDomain, Cf as SpaceIcon, Cg as parseBindingSpecs, Cl as composeExtensionPreset, Cp as PanelFocus, Cv as ActionSettingValue, Cw as planProgress, DB as SessionArtifact, DD as resolveExecution, DT as WORKER_REPORT_FRAGMENT, D_ as SidebarChip, Db as SchedulesDomain, Dd as Transform, Df as defaultSessionAgent, Dh as ComponentWire, Dp as PanelIcon, Dv as NumberSetting, Dw as CreatePlanToolsOptions, EA as ProviderUsageWindow, EC as QuestionType, ED as readSessionEnvironment, EE as chainsEqual, EO as Schema, ES as CompletionReference, E_ as SidebarBadge, Eb as ScheduleFireEvent, Ed as ToolsDomain, Ef as activeSpaceOf, Eh as BadgeActionWire, Ep as PanelHomeLayout, Ev as ModelSetting, Ew as viewPlans, FC as makeRequestInteraction, FD as detectAuth, FS as CommandAgentResult, FT as sessionEventMeta, F_ as SidebarRow, Fb as RpcEvent, Fd as DEFAULT_AGENT_ID, Ff as normalizeSpaces, Fh as SettingsPageWire, Fm as ExtensionRegistry, Fp as PanelMore, Fv as SettingsPageSpec, Fw as sanitizeTodoItems, GA as StoredCredential, GD as Interceptors, GE as EnvironmentSettingsWrite, GS as CommandStep, GT as RunReceiptCellKind, G_ as SlotName, Gb as RegistryToken, Gd as profileComposition, Gk as CustomField, Gm as LoadedExtension, Gv as IntegrationCustomMethod, Gx as ChipColorMap, Gz as SchedulePatch, HA as ProviderCredential, HD as HttpResponseInput, HE as EnvironmentSecrets, HS as CommandOutputBlock, H_ as SidebarText, Hb as ContractToken, Hd as compositionByKey, Hf as spaceOfSwitchItem, Hh as SlotWire, Hm as ExtensionSkillPolicy, Hp as PanelStatsItem, Hv as GenerateDomain, Hx as resolveStorageDirs, Hz as ScheduleInput, IC as pendingInteractionsFromTurns, ID as DurabilityMode, IE as restoreChainFallbacks, IS as CommandArgSuggestion, IT as shortSessionId, I_ as SidebarRowAction, Ib as RpcEventSpec, Id as DEFAULT_BUDGET_EXCLUDE_TOOLS, If as readSessionSpaceId, Ih as SidebarDecorationWire, Ip as PanelRowAction, Iv as SettingsSchema, Iw as TODO_STATUS_GLYPHS, Iz as Schedule, JA as configuredProviderFields, JC as ActivePlanSummary, JD as PromptInput, JE as describeEnvironments, JS as CommandStepResult, JT as fitRunReceiptCells, J_ as SpaceNewSession, Jb as CommandSpec, Jd as sessionComposition, Jk as ProviderDescriptor, Ju as ContextSegmentFile, Jv as IntegrationHandle, Jx as SyntaxTokenStyle, KA as applyApiKeyEnv, KD as McpToolDescriptor, KE as applyEnvironmentSettingsChange, KS as CommandStepContext, KT as RunReceiptSegment, Kd as profileTools, Kh as WebviewWire, Kk as ModelInfo, Km as LoadedExtensionSource, Kv as IntegrationCustomResult, Kx as DEFAULT_THEME, Kz as ScheduleTrigger, LA as ApiKeyCredential, LC as serializeInteractionResponse, LD as AgentAccent, LE as sanitizeModelChain, LS as CommandAttachment, LT as sideSessionParent, L_ as SidebarRowItem, Lb as RpcEvents, Ld as DEFAULT_PERSIST_EXCLUDE_TOOLS, Lf as resolveSessionSpace, Lh as SidebarFilterWire, Lp as PanelRowItem, Lv as StringSetting, Lz as ScheduleAction, MA as mostConstrainedWindow, MC as createInteractionTools, MD as ProviderAccount, MS as mergeSuggestions, MT as sessionDirLabel, M_ as SidebarFilterOption, Mb as RpcContract, Md as BUILD_CODEMODE_AGENT, Mf as isExtensionSpaceId, Mh as PanelWire, Mm as ExtensionReferenceProvider, Mv as SettingValue, Mw as TodoStatus, NC as isInteractionTool, ND as ProviderAuth, NE as providerKeySetChanged, NT as sessionEventExcerpt, N_ as SidebarGroup, Nb as RpcDomain, Nd as BUILTIN_AGENTS, Nf as newSessionModel, Nh as RendererWire, Nm as ExtensionReferenceSurface, Np as PanelLoadScope, Nw as createPlanTools, OA as activeSnapshotFor, OB as SessionArtifactInput, OC as SelectQuestion, OD as runSessionEnvironmentAction, OE as filterChainFallbacks, OS as applyInsert, OT as isMainSession, O_ as SidebarDecoration, Ob as Rpc, Od as AgentComposition, Of as defaultSessionKnobs, Oh as ContextSectionWire, Op as PanelItem, Ov as Setting, Ow as DEFAULT_MAX_TODO_ITEMS, PA as showsAccount, PC as isModelInteraction, PD as ProviderKey, PS as Command, PT as sessionEventLabel, P_ as SidebarGroupItem, Pb as RpcError, Pd as BuiltInPrompt, Pf as newSpaceId, Ph as ScreenWire, Pm as ExtensionReferenceView, Pp as PanelMarkdownItem, Pv as SettingsDomain, Pw as isTodoTool, QA as providerFactoryOptions, QC as MAX_PLAN_HISTORY, QD as ToolCall, QE as ENVIRONMENT_METADATA_KEY, QS as executeCommand, QT as formatRunReceiptLine, Q_ as Webview, Qb as KeymapEntry, Qd as EditHunk, Qg as defineExtension, Qk as anthropicDescriptor, Qv as IntegrationsDomain, Qx as ThemeSurfaces, Qy as escapeTemplate, RA as CredentialsFile, RD as accentColor, RE as toggleChainEntry, RS as CommandExecution, RT as truncateTitle, R_ as SidebarRowOpen, Rb as RpcImplementation, Rd as PLAN_AGENT, Rf as sessionSpaceFilter, Rh as SidebarGroupWire, Rm as ExtensionRunTransform, Rp as PanelSearch, Rv as ValueKeys, Rx as ResolveStorageDirsOptions, Rz as ScheduleCatchUp, SA as ProviderUsageCredits, SC as QuestionChoice, SD as assertEnvironmentReady, SE as buildRunModel, SO as Live, SS as ActiveTrigger, ST as SessionEvent, S_ as ScreenItem, Sb as SessionQueryIssue, Sc as filterExtensionRegistry, Sd as ProvidersDomain, Sf as Space, Sg as parseBindingSpec, Sh as WireSettingsExtension, Sl as buildExtensionPreset, Sm as ExtensionMcpConfigTransform, Sp as PanelCustomItem, Sv as ActionSettingStatusContext, Sw as migrateTodosBag, TA as ProviderUsageStatus, TC as QuestionResponse, TD as environmentActionSummaries, TE as chainPositionOf, TO as Readable, TS as CompletionProvider, TT as SessionEventTone, T_ as SettingsPageItem, Tb as SessionSort, Td as ToolMetadataNamespace, Tf as SpacesSettings, Tm as ExtensionOrderedContribution, Tp as PanelHeatmapItem, Tv as EnumSetting, Tw as readPlansBag, UA as ProviderFieldView, UD as InterceptOptions, UE as EnvironmentSettings, US as CommandSpawnResult, UT as RunReceipt, U_ as Slot, Ub as ContractsDomain, Ud as compositionFits, Uf as spaceSwitchItems, Uh as SpaceWire, Um as ExtensionToolCatalogTransform, Up as PanelSurface, Us as ExtensionInstallOrigin, Uv as GenerateImageOptions, Ux as BUILTIN_THEMES, Uz as ScheduleListFilter, VA as PreferredCredentialTarget, VD as HttpRequestInput, VE as EnvironmentFieldDescriptor, VS as CommandInvocation, V_ as SidebarSortItem, Vb as Contract, Vd as builtInPromptOf, Vf as spaceModelDefault, Vh as SidebarSortWire, Vp as PanelStat, Vv as Credential, Vx as StorageSlot, Vz as ScheduleFireOutcome, WA as SetProviderCredentialOptions, WD as InterceptorHandler, WE as EnvironmentSettingsChange, WS as CommandSpawnTask, WT as RunReceiptCell, W_ as SlotItem, Wb as Registry, Wd as compositionTools, Wf as spacesEnabled, Wk as BUILTIN_PROVIDERS, Wm as ExtensionToolResultMetadataRegistration, Wp as PanelView, Wv as GeneratedImage, Wx as ChipColor, Wz as ScheduleNewSession, XA as ensureCredentialIds, XC as CLOSED_PLAN_STATES, XE as readEnvironmentSettings, XT as formatRunDuration, X_ as UiDomain, Xb as KeyScope, Xd as ApprovalMode, Xg as EXTENSION_API_VERSION, Xk as ProviderUsageProbe, Xu as ContextSegmentsInput, Xv as IntegrationSpec, Xx as ThemeColors, YA as credentialsPath, YC as ApplyPlanResult, YD as RunSettledEvent, YE as isEnvironmentEnabled, YT as formatCostUsd, Y_ as ThemeToken, Yb as CommandsDomain, Yd as singleAgentRegistry, Yk as ProviderFactoryOptions, Ym as TuiContributions, Yu as ContextSegmentOrigin, Yv as IntegrationMethod, Yx as Theme, ZA as isSecretCustomField, ZC as MAX_CLOSED_PLANS_PER_SCOPE, ZD as SyncInterceptorName, ZE as resolveProviderConfig, ZS as commandSteps, ZT as formatRunReceiptCells, Z_ as UiToken, Zb as KeymapDomain, Zd as EditDiffDisplay, Zg as ExtensionDefinition, Zk as ProviderUsageReport, Zu as buildContextSegments, Zv as IntegrationSpecPatch, Zx as ThemeSelect, _A as OUTPUT_RESERVE_TOKENS, _C as PlanProposal, _D as EnvironmentState, _E as formatTaskSummary, _O as ExtensionPaths, _S as ContextItem, _T as ORCHESTRATED_BY_KEY, __ as Reference, _b as SessionQuery, _f as DEFAULT_SPACE_ID, _g as CommandListing, _l as inlineLoadedExtension, _m as ExtensionContributions, _p as PanelBarsPoint, aA as localDescriptor, aC as AnswerValue, aD as EnvironmentCheckout, aO as StoragePathScope, aS as tokenEndingAtCursor, a_ as ContextSectionItem, ab as compileQuery, af as OpenInTarget, aj as removeProviderCredential, am as EMPTY_EXTENSION_REGISTRY, av as BadgeTargetKind, aw as PlanRevision, ay as SessionListQuery, bA as ProviderResetCredit, bC as PlanResponse, bD as LOCAL_ENVIRONMENT, bO as Infer, bS as ContextUsageSplit, bT as SESSION_EVENT_STATUS_STYLE, b_ as RendererTarget, bb as SessionQueryEnvironment, bc as disposeExtensionRegistry, bd as PluginsDomain, bf as SPACE_METADATA_KEY, bg as bindingAlternatives, bm as ExtensionKeybindingDispatchContext, bp as PanelControl, bv as ActionSettingResult, bw as formatPlanForModel, cA as modelSupportsReasoning, cC as HOST_INTERACTION_ID_PREFIX, cD as EnvironmentConfigValue, cE as compactPath, cO as StoreOptions, cS as ContextBreakdown, c_ as DialogTimeoutError, cb as QueryBound, cd as AgentEditor, cf as Screen, cj as setPreferredCredential, cm as ExtensionArtifactKindRegistration, cw as PlanStopReason, cy as SessionSnapshot, dA as openrouterDescriptor, dC as InteractionRequest, dD as EnvironmentNotReadyError, dE as fmtTokens, dO as Bindable, dS as ContextBreakdownOptions, d_ as LinkSource, db as SessionFieldName, dd as CatalogEditor, df as SessionMeta, dj as storedCredentialsOf, dm as ExtensionArtifactRowFact, dp as ExtensionPanel, dw as SESSION_SCOPE, dy as integrationMethodFromOAuthProvider, eA as credKeyOf, eC as InteractionsProvider, eD as EnvironmentActionInput, eE as formatTokensPerSecond, eO as ToolCallResult, eS as resolveTheme, e_ as ExtensionInfo, ef as EditOutcomeKind, ej as readCredentialEntry, em as panelViewValue, ev as BadgeAction$1, ew as PLANS_METADATA_KEY, ey as SessionFacetTrigger, fA as piIdOf, fC as InteractionResponse, fD as EnvironmentPrepareInput, fO as Cleanup, fS as ContextCategory, f_ as Menu, fb as SessionFieldPath, fd as InstructionsDomain, ff as Settings, fj as writeCredentialEntry, fm as ExtensionBadgeColor, fw as StepCancelledBy, fy as ExtensionApprovalDecision, gA as AutoCompactInput, gC as PlanDecision, gD as EnvironmentRequest, gE as formatTaskStatus, gO as ExtensionHostKind, gS as ContextExtensionSection, g_ as PanelItem$1, gc as BuildExtensionRegistryOptions, gd as ModelEditor, gf as TranscriptDensity, gl as discoverExtensions, gm as ExtensionContextPanelSection, gp as PanelBarsItem, hA as AutoCompactDecision, hC as PendingInteractionEntry, hD as EnvironmentRegistry, hO as DisposedError, hS as ContextExtensionRow, h_ as Panel, hb as SessionGroupOrder, hf as ToolCallDisplay, hl as defaultExtensionScanPaths, hm as ExtensionBehaviorTransform, hp as PanelAction, hw as applyingPlan, iA as getModelInfo, iC as AUTOMATIC_INTERACTION_INSTRUCTION, iD as EnvironmentAvailabilityInput, iO as StorageDomain, iS as resolveInlineSuggestion, i_ as ContextSection, if as ModelApprovalChoice, ij as readProviderCredentials, iv as BadgeTarget, iw as PlanProgress, iy as SessionListPage, jA as formatUsagePercent, jC as createAutomaticInteractionResponse, jD as AuthMethod, jS as mergeReferences, jT as renderSessionEventXml, j_ as SidebarFilterItem, jb as RpcClient, jd as BUILD_AGENT, jf as findSpace, jh as MenuWire, jm as ExtensionReferencePattern, jp as PanelLoadContext, jv as SettingScope, jw as TodoItem, kC as TextQuestion, kD as verifyEnvironment, kE as modelPickKey, kS as collectReferences, kT as orchestratedBy, k_ as SidebarDecorationItem, kb as RpcCallContext, kd as AgentProfile, kf as defaultSessionModel, km as ExtensionReferenceCard, kp as PanelKeyValueItem, kv as SettingApply, kw as TODOREAD_TOOL, lA as modelsForDescriptor, lD as EnvironmentExecution, lO as AccessScope, lS as ContextBreakdownContributionContext, l_ as LinkHandler, lb as QueryValue, ld as AgentsDomain, lf as SessionEnvironmentSummary, lj as setProviderCredential, lm as ExtensionArtifactQuery, lw as PlanView, ly as SessionsDomain, mA as AUTO_COMPACT_MIN_GROWTH_FRACTION, mC as PRESENT_PLAN_TOOL, mD as EnvironmentProvider, mE as formatDuration, mO as Disposable, mS as ContextExactCounts, m_ as NoUiError, mb as SessionGroupBy, md as McpDomain, mf as StreamEvent, mm as ExtensionBadgeTone, mw as applyPlanEvent, my as ExtensionCreateSessionParams, nA as enabledModelOptions, nC as useInteractionsQueue, nD as EnvironmentActionSummary, nE as nameFromModelId, nO as Json, nS as InlineAutocompleteProvider, n_ as BadgeAction, nf as InteractionMode, nj as readProviderCredential, nv as BadgeActionsMatch, nw as PlanEditOp, ny as SessionFields, oA as modelLabel, oC as ConfirmQuestion, oD as EnvironmentConfig, oO as StorageScope, oS as InlineGhost, o_ as DesktopDomain, of as Owner, oj as removeStoredCredential, om as ExtensionApiVersion, ov as ExtensionBadgeActions, ow as PlanState, oy as SessionListRow, pA as restoreModelOptions, pC as InteractionsActions, pD as EnvironmentPrepareResult, pO as ComponentRef, pS as ContextCategoryId, p_ as MenuItem, pd as ItemOrigin, pf as SpawnEndInfo, pj as writeCredentials, pm as ExtensionBadgeIcon, pw as activePlanSummary, qA as configureProviderCredential, qD as OnOptions, qE as defaultEnvironmentKind, qS as CommandStepFn, qT as RunReceiptSegmentKind, q_ as SpaceItem, qb as CommandSource, qd as resolveAgentId, qk as ModelOption, qu as ContextSegment, qv as IntegrationFlowIO, qx as SyntaxStyles, rA as getContextWindow, rC as ASK_USER_TOOL, rD as EnvironmentAvailability, rE as runReceiptFromRun, rO as KeyValue, rS as createPathAutocompleteProvider, r_ as ComposerDomain, rb as querySessions, rf as ModelApproval, rj as readProviderCredentialPair, rw as PlanEvent, ry as SessionInfo, sA as modelOptionsFor, sC as CreateInteractionToolsOptions, sD as EnvironmentConfigField, sE as ageString, sO as Store, sS as patchInlineGhost, s_ as DialogOptions, sb as FacetPath, sf as Picked, sh as UiEntry, sj as setCredentialLabel, sm as ExtensionArtifactDetection, sw as PlanStep, sy as SessionListStatus, tA as defaultModelOf, tC as useInteractionsActions, tD as EnvironmentActionResult, tE as hasRunReceipt, tO as ToolResultDecision, tS as InlineAutocompleteContext, t_ as AddFn, tf as EditPayload, tj as readCredentials, tm as panelViewValues, tv as BadgeActionEffect, tw as Plan, ty as SessionFacetsDomain, uA as openaiDescriptor, uC as InteractionOrigin, uD as EnvironmentExecutionInput, uE as fmtCost, uO as AppInfo, uS as ContextBreakdownContributor, u_ as LinkHandlerItem, ub as SessionCondition, ud as CatalogDomain, uf as SessionHeader, uh as DialogRequest, uj as storedCredentialById, um as ExtensionArtifactRow, uw as PlansBag, uy as WorkspaceDomain, vA as effectiveContextWindow, vC as PlanProposalStep, vD as EnvironmentTeardownResult, vE as previewLine, vO as ExtensionSource, vS as ContextMcpGroup, v_ as Renderer, vb as SessionQueryAll, vd as ModelsDomain, vf as DEFAULT_SPACE_NAME, vm as ExtensionFooterHint, vo as GenerateStructuredDataOptions, vp as PanelBarsSeries, vv as ActionSetting, vw as checkPlanInvariants, wA as ProviderUsageSnapshot, wC as QuestionRequest, wD as createEnvironmentRegistry, wE as chainEntryKey, wS as CompletionItem, wT as SessionEventStatusStyle, w_ as SettingsPage, wc as partitionExtensionCatalog, wd as ToolEditor, wf as SpaceModelDefault, wp as PanelHeatmapDay, wv as BooleanSetting, ww as planProgressLabel, xA as ProviderResetOutcome, xC as Question, xD as SessionEnvironment, xE as ModelChainEntry, xO as JsonSchema, xS as buildContextBreakdown, xT as SESSION_ROLE_KEY, xb as SessionQueryError, xd as ProviderEditor, xf as SessionKnobs, xh as WireSettings, xl as scanExtensionDirectories, xm as ExtensionManifest, xp as PanelControlOption, xv as ActionSettingStatus, xw as formatStoppedNotice, yA as shouldAutoCompact, yC as PlanRequest, yD as EnvironmentVerifyResult, yE as shortId, yO as Handle, yS as ContextSnapshot, y_ as RendererItem, yb as SessionQueryAny, yc as buildExtensionRegistry, yd as NamedTool, yf as ExtensionSpaceSource, yg as ParsedBinding, ym as ExtensionKeybinding, yo as generateStructuredData, yp as PanelContent, yv as ActionSettingContext, yw as emptyPlansBag, zA as OAuthCredential, zD as HookEvents, zT as ModelNamer, z_ as SidebarRowStatus, zb as RpcMethodSpec, zd as ProfileSwitchNoteContext, zf as spaceIdForNewSession, zh as SidebarRowActionWire, zm as ExtensionRuntimeEnv, zp as PanelSection, zv as ArtifactsDomain, zx as StorageDirs, zz as ScheduleCreator } from "./index-BI6RZc60.js";
|
|
1
|
+
import { $A as providerFactoryOptions, $C as MAX_PLAN_HISTORY, $D as ToolCall, $E as ENVIRONMENT_METADATA_KEY, $S as executeCommand, $T as formatRunReceiptLine, $_ as Webview, $b as KeymapEntry, $d as EditHunk, $g as defineExtension, $k as anthropicDescriptor, $v as IntegrationsDomain, $x as ThemeSurfaces, $y as escapeTemplate, AC as TextQuestion, AD as verifyEnvironment, AE as modelPickKey, AS as collectReferences, AT as orchestratedBy, A_ as SidebarDecorationItem, Ab as RpcCallContext, Ad as AgentProfile, Af as defaultSessionModel, Am as ExtensionReferenceCard, Ap as PanelKeyValueItem, Av as SettingApply, Aw as TODOREAD_TOOL, BA as OAuthCredential, BD as HookEvents, BT as ModelNamer, B_ as SidebarRowStatus, Bb as RpcMethodSpec, Bd as ProfileSwitchNoteContext, Bf as spaceIdForNewSession, Bh as SidebarRowActionWire, Bm as ExtensionRuntimeEnv, Bp as PanelSection, Bv as ArtifactsDomain, Bx as StorageDirs, Bz as ScheduleCreator, CA as ProviderUsageCredits, CC as QuestionChoice, CD as assertEnvironmentReady, CE as buildRunModel, CO as Live, CS as ActiveTrigger, CT as SessionEvent, C_ as ScreenItem, Cb as SessionQueryIssue, Cd as ProvidersDomain, Cf as Space, Cg as parseBindingSpec, Ch as WireSettingsExtension, Cl as composeExtensionPreset, Cm as ExtensionMcpConfigTransform, Cp as PanelCustomItem, Cv as ActionSettingStatusContext, Cw as migrateTodosBag, DA as ProviderUsageWindow, DC as QuestionType, DD as readSessionEnvironment, DE as chainsEqual, DO as Schema, DS as CompletionReference, D_ as SidebarBadge, Db as ScheduleFireEvent, Dd as ToolsDomain, Df as activeSpaceOf, Dh as BadgeActionWire, Dp as PanelHomeLayout, Dv as ModelSetting, Dw as viewPlans, EA as ProviderUsageStatus, EC as QuestionResponse, ED as environmentActionSummaries, EE as chainPositionOf, EO as Readable, ES as CompletionProvider, ET as SessionEventTone, E_ as SettingsPageItem, Eb as SessionSort, Ed as ToolMetadataNamespace, Ef as SpacesSettings, Em as ExtensionOrderedContribution, Ep as PanelHeatmapItem, Ev as EnumSetting, Ew as readPlansBag, FA as showsAccount, FC as isModelInteraction, FD as ProviderKey, FS as Command, FT as sessionEventLabel, F_ as SidebarGroupItem, Fb as RpcError, Fd as BuiltInPrompt, Ff as newSpaceId, Fh as ScreenWire, Fm as ExtensionReferenceView, Fp as PanelMarkdownItem, Fv as SettingsDomain, Fw as isTodoTool, GA as SetProviderCredentialOptions, GD as InterceptorHandler, GE as EnvironmentSettingsChange, GS as CommandSpawnTask, GT as RunReceiptCell, G_ as SlotItem, Gb as Registry, Gd as compositionTools, Gf as spacesEnabled, Gk as BUILTIN_PROVIDERS, Gm as ExtensionToolResultMetadataRegistration, Gp as PanelView, Gv as GeneratedImage, Gx as ChipColor, Gz as ScheduleNewSession, HA as PreferredCredentialTarget, HD as HttpRequestInput, HE as EnvironmentFieldDescriptor, HS as CommandInvocation, H_ as SidebarSortItem, Hb as Contract, Hd as builtInPromptOf, Hf as spaceModelDefault, Hh as SidebarSortWire, Hp as PanelStat, Hv as Credential, Hx as StorageSlot, Hz as ScheduleFireOutcome, IC as makeRequestInteraction, ID as detectAuth, IS as CommandAgentResult, IT as sessionEventMeta, I_ as SidebarRow, Ib as RpcEvent, Id as DEFAULT_AGENT_ID, If as normalizeSpaces, Ih as SettingsPageWire, Im as ExtensionRegistry, Ip as PanelMore, Iv as SettingsPageSpec, Iw as sanitizeTodoItems, JA as configureProviderCredential, JD as OnOptions, JE as defaultEnvironmentKind, JS as CommandStepFn, JT as RunReceiptSegmentKind, J_ as SpaceItem, Jb as CommandSource, Jd as resolveAgentId, Jk as ModelOption, Ju as ContextSegmentFile, Jv as IntegrationFlowIO, Jx as SyntaxStyles, KA as StoredCredential, KD as Interceptors, KE as EnvironmentSettingsWrite, KS as CommandStep, KT as RunReceiptCellKind, K_ as SlotName, Kb as RegistryToken, Kd as profileComposition, Kk as CustomField, Km as LoadedExtension, Kv as IntegrationCustomMethod, Kx as ChipColorMap, Kz as SchedulePatch, LC as pendingInteractionsFromTurns, LD as DurabilityMode, LE as restoreChainFallbacks, LS as CommandArgSuggestion, LT as shortSessionId, L_ as SidebarRowAction, Lb as RpcEventSpec, Ld as DEFAULT_BUDGET_EXCLUDE_TOOLS, Lf as readSessionSpaceId, Lh as SidebarDecorationWire, Lp as PanelRowAction, Lv as SettingsSchema, Lw as TODO_STATUS_GLYPHS, Lz as Schedule, MA as formatUsagePercent, MC as createAutomaticInteractionResponse, MD as AuthMethod, MS as mergeReferences, MT as renderSessionEventXml, M_ as SidebarFilterItem, Mb as RpcClient, Md as BUILD_AGENT, Mf as findSpace, Mh as MenuWire, Mm as ExtensionReferencePattern, Mp as PanelLoadContext, Mv as SettingScope, Mw as TodoItem, NA as mostConstrainedWindow, NC as createInteractionTools, ND as ProviderAccount, NS as mergeSuggestions, NT as sessionDirLabel, N_ as SidebarFilterOption, Nb as RpcContract, Nd as BUILD_CODEMODE_AGENT, Nf as isExtensionSpaceId, Nh as PanelWire, Nm as ExtensionReferenceProvider, Nv as SettingValue, Nw as TodoStatus, OB as SessionArtifact, OD as resolveExecution, OT as WORKER_REPORT_FRAGMENT, O_ as SidebarChip, Ob as SchedulesDomain, Od as Transform, Of as defaultSessionAgent, Oh as ComponentWire, Op as PanelIcon, Ov as NumberSetting, Ow as CreatePlanToolsOptions, PC as isInteractionTool, PD as ProviderAuth, PE as providerKeySetChanged, PT as sessionEventExcerpt, P_ as SidebarGroup, Pb as RpcDomain, Pd as BUILTIN_AGENTS, Pf as newSessionModel, Ph as RendererWire, Pm as ExtensionReferenceSurface, Pp as PanelLoadScope, Pw as createPlanTools, QA as isSecretCustomField, QC as MAX_CLOSED_PLANS_PER_SCOPE, QD as SyncInterceptorName, QE as resolveProviderConfig, QS as commandSteps, QT as formatRunReceiptCells, Q_ as UiToken, Qb as KeymapDomain, Qd as EditDiffDisplay, Qg as ExtensionDefinition, Qk as ProviderUsageReport, Qv as IntegrationSpecPatch, Qx as ThemeSelect, RA as ApiKeyCredential, RC as serializeInteractionResponse, RD as AgentAccent, RE as sanitizeModelChain, RS as CommandAttachment, RT as sideSessionParent, R_ as SidebarRowItem, Rb as RpcEvents, Rd as DEFAULT_PERSIST_EXCLUDE_TOOLS, Rf as resolveSessionSpace, Rh as SidebarFilterWire, Rp as PanelRowItem, Rv as StringSetting, Rz as ScheduleAction, SA as ProviderResetOutcome, SC as Question, SD as SessionEnvironment, SE as ModelChainEntry, SO as JsonSchema, SS as buildContextBreakdown, ST as SESSION_ROLE_KEY, Sb as SessionQueryError, Sc as filterExtensionRegistry, Sd as ProviderEditor, Sf as SessionKnobs, Sh as WireSettings, Sl as buildExtensionPreset, Sm as ExtensionManifest, Sp as PanelControlOption, Sv as ActionSettingStatus, Sw as formatStoppedNotice, TA as ProviderUsageSnapshot, TC as QuestionRequest, TD as createEnvironmentRegistry, TE as chainEntryKey, TS as CompletionItem, TT as SessionEventStatusStyle, T_ as SettingsPage, Td as ToolEditor, Tf as SpaceModelDefault, Tp as PanelHeatmapDay, Tv as BooleanSetting, Tw as planProgressLabel, UA as ProviderCredential, UD as HttpResponseInput, UE as EnvironmentSecrets, US as CommandOutputBlock, U_ as SidebarText, Ub as ContractToken, Ud as compositionByKey, Uf as spaceOfSwitchItem, Uh as SlotWire, Um as ExtensionSkillPolicy, Up as PanelStatsItem, Us as ExtensionInstallOrigin, Uv as GenerateDomain, Ux as resolveStorageDirs, Uz as ScheduleInput, VA as PreferCredentialResult, VD as HooksDomain, VE as EnvironmentDescriptor, VS as CommandInteraction, VT as RUN_RECEIPT_GLYPH, V_ as SidebarSort, Vb as RpcRegistration, Vd as availableAgents, Vf as spaceMetadata, Vh as SidebarRowWire, Vp as PanelStartSession, Vv as Connection, Vx as StorageMode, Vz as ScheduleFire, WA as ProviderFieldView, WD as InterceptOptions, WE as EnvironmentSettings, WS as CommandSpawnResult, WT as RunReceipt, W_ as Slot, Wb as ContractsDomain, Wd as compositionFits, Wf as spaceSwitchItems, Wh as SpaceWire, Wm as ExtensionToolCatalogTransform, Wp as PanelSurface, Wv as GenerateImageOptions, Wx as BUILTIN_THEMES, Wz as ScheduleListFilter, XA as credentialsPath, XC as ApplyPlanResult, XD as RunSettledEvent, XE as isEnvironmentEnabled, XT as formatCostUsd, X_ as ThemeToken, Xb as CommandsDomain, Xd as singleAgentRegistry, Xk as ProviderFactoryOptions, Xm as TuiContributions, Xu as ContextSegmentsInput, Xv as IntegrationMethod, Xx as Theme, YA as configuredProviderFields, YC as ActivePlanSummary, YD as PromptInput, YE as describeEnvironments, YS as CommandStepResult, YT as fitRunReceiptCells, Y_ as SpaceNewSession, Yb as CommandSpec, Yd as sessionComposition, Yk as ProviderDescriptor, Yu as ContextSegmentOrigin, Yv as IntegrationHandle, Yx as SyntaxTokenStyle, ZA as ensureCredentialIds, ZC as CLOSED_PLAN_STATES, ZE as readEnvironmentSettings, ZT as formatRunDuration, Z_ as UiDomain, Zb as KeyScope, Zd as ApprovalMode, Zg as EXTENSION_API_VERSION, Zk as ProviderUsageProbe, Zu as buildContextSegments, Zv as IntegrationSpec, Zx as ThemeColors, _A as AutoCompactInput, _C as PlanDecision, _D as EnvironmentRequest, _E as formatTaskStatus, _O as ExtensionHostKind, _S as ContextExtensionSection, __ as PanelItem$1, _d as ModelEditor, _f as TranscriptDensity, _l as inlineLoadedExtension, _m as ExtensionContextPanelSection, _p as PanelBarsItem, aA as getModelInfo, aC as AUTOMATIC_INTERACTION_INSTRUCTION, aD as EnvironmentAvailabilityInput, aO as StorageDomain, aS as resolveInlineSuggestion, a_ as ContextSection, af as ModelApprovalChoice, aj as readProviderCredentials, av as BadgeTarget, aw as PlanProgress, ay as SessionListPage, bA as shouldAutoCompact, bC as PlanRequest, bD as EnvironmentVerifyResult, bE as shortId, bO as Handle, bS as ContextSnapshot, b_ as RendererItem, bb as SessionQueryAny, bc as disposeExtensionRegistry, bd as NamedTool, bf as ExtensionSpaceSource, bg as ParsedBinding, bm as ExtensionKeybinding, bp as PanelContent, bv as ActionSettingContext, bw as emptyPlansBag, cA as modelOptionsFor, cC as CreateInteractionToolsOptions, cD as EnvironmentConfigField, cE as ageString, cO as Store, cS as patchInlineGhost, c_ as DialogOptions, cb as FacetPath, cf as Picked, ch as UiEntry, cj as setCredentialLabel, cm as ExtensionArtifactDetection, cw as PlanStep, cy as SessionListStatus, dA as openaiDescriptor, dC as InteractionOrigin, dD as EnvironmentExecutionInput, dE as fmtCost, dO as AppInfo, dS as ContextBreakdownContributor, d_ as LinkHandlerItem, db as SessionCondition, dd as CatalogDomain, df as SessionHeader, dh as DialogRequest, dj as storedCredentialById, dm as ExtensionArtifactRow, dw as PlansBag, dy as WorkspaceDomain, eA as cerebrasDescriptor, eC as parseCommandInvocation, eD as EnvironmentAction, eE as formatTokenCount, eO as ToolCallDecision, eS as resolveChipColor, e_ as ExtensionContext, ef as EditOutcome, ej as providerFieldViews, ev as WebviewItem, ew as MAX_PLAN_STEPS, ex as PaletteProviderSpec, ey as SessionFacetSpec, fA as openrouterDescriptor, fC as InteractionRequest, fD as EnvironmentNotReadyError, fE as fmtTokens, fO as Bindable, fS as ContextBreakdownOptions, f_ as LinkSource, fb as SessionFieldName, fd as CatalogEditor, ff as SessionMeta, fj as storedCredentialsOf, fm as ExtensionArtifactRowFact, fp as ExtensionPanel, fw as SESSION_SCOPE, fy as integrationMethodFromOAuthProvider, gA as AutoCompactDecision, gC as PendingInteractionEntry, gD as EnvironmentRegistry, gO as DisposedError, gS as ContextExtensionRow, g_ as Panel, gb as SessionGroupOrder, gc as BuildExtensionRegistryOptions, gf as ToolCallDisplay, gl as discoverExtensions, gm as ExtensionBehaviorTransform, gp as PanelAction, gw as applyingPlan, hA as AUTO_COMPACT_MIN_GROWTH_FRACTION, hC as PRESENT_PLAN_TOOL, hD as EnvironmentProvider, hE as formatDuration, hO as Disposable, hS as ContextExactCounts, h_ as NoUiError, hb as SessionGroupBy, hd as McpDomain, hf as StreamEvent, hl as defaultExtensionScanPaths, hm as ExtensionBadgeTone, hw as applyPlanEvent, hy as ExtensionCreateSessionParams, iA as getContextWindow, iC as ASK_USER_TOOL, iD as EnvironmentAvailability, iE as runReceiptFromRun, iO as KeyValue, iS as createPathAutocompleteProvider, i_ as ComposerDomain, ib as querySessions, if as ModelApproval, ij as readProviderCredentialPair, iw as PlanEvent, iy as SessionInfo, jC as buildResumedToolResultsTurn, jD as workspacePath, jS as findActiveTrigger, jT as parseSessionEventXml, j_ as SidebarFilter, jb as RpcCallError, jd as AgentRegistry, jf as extensionSpace, jm as ExtensionReferenceCardFact, jp as PanelKeyValueRow, jv as SettingBase, jw as TODOWRITE_TOOL, kA as activeSnapshotFor, kB as SessionArtifactInput, kC as SelectQuestion, kD as runSessionEnvironmentAction, kE as filterChainFallbacks, kS as applyInsert, kT as isMainSession, k_ as SidebarDecoration, kb as Rpc, kd as AgentComposition, kf as defaultSessionKnobs, kh as ContextSectionWire, kp as PanelItem, kv as Setting, kw as DEFAULT_MAX_TODO_ITEMS, lA as modelSupportsReasoning, lC as HOST_INTERACTION_ID_PREFIX, lD as EnvironmentConfigValue, lE as compactPath, lO as StoreOptions, lS as ContextBreakdown, l_ as DialogTimeoutError, lb as QueryBound, ld as AgentEditor, lf as Screen, lj as setPreferredCredential, lm as ExtensionArtifactKindRegistration, lw as PlanStopReason, ly as SessionSnapshot, mA as restoreModelOptions, mC as InteractionsActions, mD as EnvironmentPrepareResult, mO as ComponentRef, mS as ContextCategoryId, m_ as MenuItem, md as ItemOrigin, mf as SpawnEndInfo, mj as writeCredentials, mm as ExtensionBadgeIcon, mw as activePlanSummary, nA as defaultModelOf, nC as useInteractionsActions, nD as EnvironmentActionResult, nE as hasRunReceipt, nO as ToolResultDecision, nS as InlineAutocompleteContext, n_ as AddFn, nf as EditPayload, nj as readCredentials, nm as panelViewValues, nv as BadgeActionEffect, nw as Plan, ny as SessionFacetsDomain, oA as localDescriptor, oC as AnswerValue, oD as EnvironmentCheckout, oO as StoragePathScope, oS as tokenEndingAtCursor, o_ as ContextSectionItem, ob as compileQuery, of as OpenInTarget, oj as removeProviderCredential, om as EMPTY_EXTENSION_REGISTRY, ov as BadgeTargetKind, ow as PlanRevision, oy as SessionListQuery, pA as piIdOf, pC as InteractionResponse, pD as EnvironmentPrepareInput, pO as Cleanup, pS as ContextCategory, p_ as Menu, pb as SessionFieldPath, pd as InstructionsDomain, pf as Settings, pj as writeCredentialEntry, pm as ExtensionBadgeColor, pw as StepCancelledBy, py as ExtensionApprovalDecision, qA as applyApiKeyEnv, qD as McpToolDescriptor, qE as applyEnvironmentSettingsChange, qS as CommandStepContext, qT as RunReceiptSegment, qd as profileTools, qh as WebviewWire, qk as ModelInfo, qm as LoadedExtensionSource, qu as ContextSegment, qv as IntegrationCustomResult, qx as DEFAULT_THEME, qz as ScheduleTrigger, rA as enabledModelOptions, rC as useInteractionsQueue, rD as EnvironmentActionSummary, rE as nameFromModelId, rO as Json, rS as InlineAutocompleteProvider, r_ as BadgeAction, rf as InteractionMode, rj as readProviderCredential, rv as BadgeActionsMatch, rw as PlanEditOp, ry as SessionFields, sA as modelLabel, sC as ConfirmQuestion, sD as EnvironmentConfig, sO as StorageScope, sS as InlineGhost, s_ as DesktopDomain, sf as Owner, sj as removeStoredCredential, sm as ExtensionApiVersion, sv as ExtensionBadgeActions, sw as PlanState, sy as SessionListRow, tA as credKeyOf, tC as InteractionsProvider, tD as EnvironmentActionInput, tE as formatTokensPerSecond, tO as ToolCallResult, tS as resolveTheme, t_ as ExtensionInfo, tf as EditOutcomeKind, tj as readCredentialEntry, tm as panelViewValue, tv as BadgeAction$1, tw as PLANS_METADATA_KEY, ty as SessionFacetTrigger, uA as modelsForDescriptor, uD as EnvironmentExecution, uO as AccessScope, uS as ContextBreakdownContributionContext, u_ as LinkHandler, ub as QueryValue, ud as AgentsDomain, uf as SessionEnvironmentSummary, uj as setProviderCredential, um as ExtensionArtifactQuery, uw as PlanView, uy as SessionsDomain, vA as OUTPUT_RESERVE_TOKENS, vC as PlanProposal, vD as EnvironmentState, vE as formatTaskSummary, vO as ExtensionPaths, vS as ContextItem, vT as ORCHESTRATED_BY_KEY, v_ as Reference, vb as SessionQuery, vf as DEFAULT_SPACE_ID, vg as CommandListing, vm as ExtensionContributions, vo as GenerateStructuredDataOptions, vp as PanelBarsPoint, wA as ProviderUsageResets, wC as QuestionPayload, wD as availableEnvironmentActions, wE as chainAccountConflict, wO as LiveAccessor, wS as CompletionContext, wT as SessionEventStatus, w_ as SelectOption, wb as SessionQueryNot, wc as partitionExtensionCatalog, wd as SkillsDomain, wf as SpaceIcon, wg as parseBindingSpecs, wp as PanelFocus, wv as ActionSettingValue, ww as planProgress, xA as ProviderResetCredit, xC as PlanResponse, xD as LOCAL_ENVIRONMENT, xO as Infer, xS as ContextUsageSplit, xT as SESSION_EVENT_STATUS_STYLE, x_ as RendererTarget, xb as SessionQueryEnvironment, xd as PluginsDomain, xf as SPACE_METADATA_KEY, xg as bindingAlternatives, xl as scanExtensionDirectories, xm as ExtensionKeybindingDispatchContext, xp as PanelControl, xv as ActionSettingResult, xw as formatPlanForModel, yA as effectiveContextWindow, yC as PlanProposalStep, yD as EnvironmentTeardownResult, yE as previewLine, yO as ExtensionSource, yS as ContextMcpGroup, y_ as Renderer, yb as SessionQueryAll, yc as buildExtensionRegistry, yd as ModelsDomain, yf as DEFAULT_SPACE_NAME, ym as ExtensionFooterHint, yo as generateStructuredData, yp as PanelBarsSeries, yv as ActionSetting, yw as checkPlanInvariants, zA as CredentialsFile, zD as accentColor, zE as toggleChainEntry, zS as CommandExecution, zT as truncateTitle, z_ as SidebarRowOpen, zb as RpcImplementation, zd as PLAN_AGENT, zf as sessionSpaceFilter, zh as SidebarGroupWire, zm as ExtensionRunTransform, zp as PanelSearch, zv as ValueKeys, zx as ResolveStorageDirsOptions, zz as ScheduleCatchUp } from "./index-DqCio7Nd.js";
|
|
2
2
|
import { c as EntryKind, l as EntryPort } from "./types-2HrgolQz.js";
|
|
3
|
-
import { $ as RUN_STATUS_TIME_MS, $a as SerializedPreview, $d as OnboardingAppearance, $f as settingKeywords, $i as DAEMON_HEALTH_GLYPH, $l as HunkResolution, $n as LOCAL_SERVER_BRANDS, $o as SessionExecutionCache, $p as ALTERNATE_CRED_KEY_SUFFIX, $r as IndexedSearchTurn, $s as PlanRunNotes, $t as joinNames, $u as isTurnHighlighted, A as TRANSCRIPT_TRIM_TO_EVENTS, Aa as discoverProjectPlugins, Ad as fileEntriesFromPaths, Af as OnboardingTaskKind, An as OnboardingFlowState, Ar as McpNeedsAuthReason, As as ForkSessionResult, At as createOnboardingRun, Au as headerFromData, Ba as PendingApprovalsStore, Bd as nativeExtensionEntry, Bf as SETTINGS_CATEGORIES, Bi as remoteHostsGate, Bn as ONBOARDING_FEATURE_GROUPS, Bp as ResolvedExtensionKeybinding, Bs as modelChainMetadata, Bt as onboardingSettingsChange, Bu as stripSpawnTokensLine, C as MAX_TRANSCRIPT_EVENTS, Ca as CompactionEntry, Cd as AgentsMdFile, Cf as OnboardingSignInState, Ci as CacheChipContent, Cl as estimateReadout, Cn as nativeExtensionByName, Cr as classifyMcpTest, Cs as entryParent, Ct as OnboardingPhase, Cu as StateStoreApi, Da as linkCatalogs, Dd as renderAgentsMdBlock, Df as OnboardingStepScope, Di as cacheBreakNoticeText, Dn as ONBOARDING_SETTING_KEYS, Dr as McpAuthEvent, Ds as joinEntry, Dt as OnboardingRunOptions, Du as deriveSessionTitle, Ea as createCatalogPorts, Ed as discoverAgentsMd, Ef as OnboardingStepMeta, Ei as cacheBreakChip, En as importsSomething, Er as MCP_STATUS_LABEL, Es as importEntries, Et as OnboardingRunHost, Eu as createStateStore, F as capTranscriptEvents, Fa as ApprovalHub, Fd as ExtensionSourceErrorCode, Ff as TranscriptPresetKey, Fi as FeatureGateOptions, Fn as createOnboardingFlow, Fo as PromptSubmitHost, Fp as KEYBINDING_KEY_COL_WIDTH, Fr as enabledMcpsWithout, Fs as describeForkFailure, Ft as mergeOnboardingState, Fu as replayTurns, G as turnContextSize, Ga as HostSettings, Gd as ConnectorInput, Gf as SettingsCategory, Gi as buildEditOutcomesAnnotation, Gn as CONNECTORS, Go as DiscoveryError, Gp as matchesBinding, Gr as HostErrorCode, Gs as commitPlanEventToStore, Gt as ConnectorAuthWords, Gu as updateToolEventOutcomes, Ha as CommandArgSuggestionSummary, Hd as ConnectorAuth, Hf as SETTINGS_INPUTS, Hi as ExtensionMarkInput, Hn as OnboardingFeatureGroupMeta, Hp as formatBindingForDisplay, Hs as sessionModelFallbacks, Ht as OnboardingSwitchedFeatures, Hu as titleFromTurns, Ia as ApprovalRequestInput, Id as ExtensionSourceInfo, If as TranscriptPresetSettings, Ii as daemonGate, In as currentOnboardingStep, Io as SendTransform, Ip as KeyAction, Is as forkSession, It as migratedOnboardingRecords, Iu as runInProgress, J as spawnLaneResolver, Ja as PromptAttachment, Jd as NativeExtensionCommandNeed, Jf as SettingsInput, Ji as parseEditOutcomesFromResult, Jn as InstalledServerRef, Jo as dedupMcpServersByName, Jp as readKeybindings, Jr as HostProbeResult, Js as planScopeForRun, Jt as ONBOARDING_AGENT_NAMES, K as SpawnTreeRow, Ka as HostSignal, Kd as ConnectorTokenAuth, Kf as SettingsCategoryDescriptor, Ki as maskToOutcomeKinds, Kn as CONNECTOR_CATEGORIES, Ko as DiscoveryResult, Kp as mergeKeybindings, Kr as HostIdentity, Ks as decideEvent, Kt as LOCAL_SERVER_NAMES, Ku as usageByModel, L as finalizeStreamingMarkdown, La as createApprovalHub, Ld as ExtensionSourceKind, Lf as APPROVAL_MODE_OPTIONS, Li as defineFeatureGate, Ln as onboardingProgress, Lo as createPromptSubmissions, Lp as KeyBindingDef, Lr as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, Ls as newSession, Lt as needsOnboarding, Lu as runProgress, Ma as resolveSessionModel, Md as DEFAULT_EXTENSION_SOURCE, Mf as OnboardingTradeoff, Mn as OnboardingStart, Mp as DEFAULT_KEYBINDINGS, Mr as mcpFailureEvent, Ms as createMainSession, Mt as buildOnboardingResult, Mu as listSessionMeta, Na as EditOutcomeLedger, Nd as DEFAULT_EXTENSION_SOURCE_UNREACHABLE, Nf as TranscriptPreset, Ni as FEATURE_GATES, Nn as applySettingsPatch, No as PromptConsumed, Np as KEYBINDING_DEFS, Nr as reduceMcpAuth, Ns as createSessionInStore, Nt as effectiveOnboardingMode, Nu as loadState, Oa as DiscoveredPlugin, Od as FileEntry, Of as OnboardingSurface, Oi as compactingLabel, Ol as runEstimateView, On as ONBOARDING_STEP_SETTINGS, Or as McpAuthStateMap, Os as CreateSessionInStoreParams, Ot as OnboardingRunSetup, Ou as eventsFromTurns, Pa as PendingAnnotation, Pd as ExtensionSourceEntry, Pf as TranscriptPresetId, Pi as FeatureGate, Pn as canSkipOnboardingStep, Po as PromptSubmissions, Pp as KEYBINDING_DEF_BY_ACTION, Pr as enabledMcpsWith, Ps as deleteSessionData, Pt as isExistingInstall, Pu as marginTopFor, Q as LiveRunStatus, Qa as SendOptions, Qd as OnboardingAgentId, Qf as requirementMet, Qi as summarizeOutcomes, Ql as EditSummary, Qn as connectorServerConfig, Qo as SessionExecution, Qp as ACCOUNT_CRED_KEY_INFIX, Qr as HighlightSegment, Qs as PLAN_STOPPED_NOTE_KIND, Qt as joinFewNames, Qu as isEditErrorResult, R as finalizeStreamingMarkdownForOwner, Ra as createMemoryApprovalsStore, Rd as ExtensionSourceListing, Rf as BooleanSettingKey, Ri as engagedKillSwitches, Rn as onboardingReducer, Rp as KeyBindingSection, Rr as MarkdownSegment, Rs as ModelFallbackTarget, Rt as onboardingRecord, Ru as saveState, S as toolInputCode, Sa as cacheHintText, Sd as userSystemMdPath, Sf as OnboardingSettingsChange, Si as shouldAutoGenerateTitle, Sn as NativeExtensionGroupMeta, Sr as McpTestResult, Ss as entryName, St as OnboardingImportPreviewState, Su as RunProgress, Ta as runCompaction, Td as DiscoverAgentsMdOptions, Tf as OnboardingStepId, Tl as formatEstimate, Tn as defaultImportSelection, Tr as mcpFailureLine, Ts as freeEntryName, Tt as OnboardingRun, Tu as compactSummaryEvent, U as stepTranscriptCap, Ua as CommandSummary, Ud as ConnectorCategory, Uf as SETTINGS_SECTIONS, Ui as extensionMark, Un as onboardingFeatureCopy, Up as groupBindings, Ur as splitMarkdownCodeBlocks, Us as PlanSession, Ut as onboardingImportParts, Uu as toolCallPreview, Va as ApprovalOriginator, Vd as nativeExtensionListing, Vf as SETTINGS_CHOICES, Vi as ExtensionMark, Vn as OnboardingFeatureCopy, Vp as ensureKeybindingsFile, Vr as normalizeMarkdownCodeFences, Vs as readSessionAccount, Vt as OnboardingImportWords, Vu as sumRunCosts, Wd as ConnectorEntry, Wf as SETTINGS_TOGGLES, Wi as ResolvedApproval, Wn as onboardingFeatures, Wo as DiscoveredMcp, Wp as keybindingsPath, Wr as HostEntry, Ws as commitPlanEvent, Wt as onboardingSwitchedFeatures, Wu as toolResultText, X as oneLineTitle, Xa as QueuedItem, Xd as NativeExtensionGroup, Xf as StringSettingKey, Xi as rewriteMultiEditHeader, Xl as DiffOp, Xn as connectorInputError, Xo as discoverProjectMcps, Xp as resolveExtensionKeybindings, Xr as HostTestResult, Xs as readSessionPlans, Xt as OnboardingWords, Y as spawnParents, Ya as QueuedAttachment, Yd as NativeExtensionEntry, Yf as SettingsToggle, Yi as resolveApprovalForPayload, Yl as DiffLine, Yn as connectorById, Yo as defaultMcpsConfigPaths, Yp as readKeybindingsRaw, Yr as HostRegistryError, Ys as proposeEvent, Yt as ONBOARDING_WORDS, Z as titleFromText, Za as RunningWorkItem, Zd as NativeExtensionNeed, Zf as enforceSettingsInvariants, Zi as stripEditOutcomesAnnotation, Zl as EditHunkSummary, Zn as connectorInstalled, Zo as parseMcpsFile, Zp as stripJsonComments, Zr as HighlightRange, Zs as PLAN_EDITED_NOTE_KIND, Zt as connectorAuthText, _ as TOOL_DISPLAY, _a as createChatsCompletionProvider, _d as SystemMdFile, _f as OnboardingProvider, _i as searchTurns, _n as transcriptPresetPalettePicker, _r as indexOfEntry, _s as EntryOps, _t as ONBOARDING_VERSION, _u as ResolvedConfig, a as UsageRange, aa as createSkillsCompletionProvider, af as OnboardingFeatureBadge, ai as SessionSearchIndex, am as credentialSlotOf, an as TutorialWords, ao as ContextSegmentsReport, ap as decisionsEnabled, ar as parseModelSetting, at as runFoldStatus, au as buildUnifiedDiff, b as displayNameFor, ba as buildLinearRamp, bc as changedCatalogItems, bd as renderSystemMdSeed, bf as OnboardingResult, bi as cleanTitle, bl as RunEstimateView, bn as NATIVE_EXTENSIONS_REPO, br as MCP_KEY_REFUSED_HINT, bs as copyNames, bt as onboardingStep, bu as resolveStoragePaths, c as summarizeUsage, ca as createFilesCompletionProvider, cd as turnSelectionOwnership, cf as OnboardingGithubIdentity, ci as filterSessionSearchCatalog, cm as oauthAccountLabel, cn as ONBOARDING_PREVIEW_EVENTS, co as TextModelCandidate, cp as sparseSettingsUpdate, cr as compareModelVersion, ct as runTailActivity, cu as extractEditPayload, d as editableTurnText, da as createCommandsCompletionProvider, dd as RequestApproval, df as OnboardingImportSelection, di as searchSessionHistory, dn as TRANSCRIPT_PRESET_PALETTE_ID, do as TextModelSource, dr as parseModelId, ds as ENTRY_IMPORT_MAX_ENTRIES, dt as inferPromptRefs, du as splitLines, ea as DAEMON_HEALTH_STYLE, ec as planRunNotes, ef as OnboardingCredentialSource, ei as SearchExcerpt, em as API_KEY_ACCOUNT_LABEL, en as nativeExtensionNeedText, eo as SessionPresence, ep as toggleApplies, er as ONBOARDING_AGENT_BRANDS, es as createSessionExecutionCache, et as RUN_WAITING_DELAY_MS, eu as InlineDiff, f as replaceTurnTextBlocks, fa as CHATS_TRIGGER, fd as SafeModeActions, ff as OnboardingImportSessionCounts, fi as searchSessionHistoryIndex, fn as transcriptPreset, fo as autoTextModelId, fr as CatalogEntry, fs as ENTRY_IMPORT_MAX_FILE_BYTES, fu as summarizeEditPayload, g as reconcileEvents, ga as chatReferenceTokensFromText, gd as DiscoverSystemMdOptions, gf as OnboardingPlanContext, gi as searchSessionTurns, gl as EstimateReadout, gn as transcriptPresetPaletteItem, gr as filterModelCatalog, gs as EntryImportResult, gt as ONBOARDING_STEPS, gu as ProviderRegistry, h as ReconcilableEvent, ha as ChatReferenceScope, hd as useSafeModeQueue, hf as OnboardingMode, hi as searchSessionIndexAsync, hn as transcriptPresetOfPaletteItem, hr as customModelTargets, hs as EntryImportLimits, ht as SETTING_TRADEOFFS, hu as ChatOptions, ia as SKILLS_TRIGGER, if as OnboardingFeature, ii as SessionSearchExcerpt, im as alternateCredKey, in as TutorialTopic, io as ChatHost, ip as SETTINGS_DEFAULTS_VERSION_KEY, ir as formatModelSetting, is as createInteractionHub, it as RunTailActivity, iu as buildContextualDiff, ja as createProviderBuilder, jd as listProjectFiles, jf as OnboardingTaskStatus, ji as retryLabel, jn as OnboardingProgress, jr as getMcpAuthStatus, js as ForkSource, jt as OnboardingGateInput, ju as lastContextSizeFromTurns, k as TRANSCRIPT_TRIM_STEP_EVENTS, ka as buildPluginContributions, kd as ListProjectFilesOptions, kf as OnboardingTask, kl as runningEstimateViews, kn as OnboardingAction, kr as McpAuthStatus, ks as ForkSessionParams, kt as connectorsFromImport, ku as getSessionHeader, l as countNeighbors, la as uniqueFilesFromReferences, ld as ApprovalDecision, lf as OnboardingImportCategory, li as highlightSegments, ln as TRANSCRIPT_PRESETS, lo as TextModelOptions, lr as currentModelKeys, ls as ENTRY_EMPTY_DIRS_LIMIT, lt as PromptSegment, lu as filetypeFromPath, m as turnAsText, ma as ChatReferenceEntry, md as useSafeModeActions, mf as OnboardingLocalServer, mi as searchSessionIndex, mn as transcriptPresetOf, mr as buildModelCatalog, ms as EntryImportItem, mt as APPROVAL_MODE_TRADEOFFS, mu as AutoUpdateConfig, na as DaemonHealthStyle, nf as OnboardingDetection, ni as SearchTurnResult, nm as DEFAULT_OAUTH_ACCOUNT_LABEL, nn as TUTORIAL_TOPICS, no as WireApprovalRequest, np as DEFAULT_SETTINGS, nr as providerBrand, ns as normalizeLaunchOverrides, nt as RunFoldStatus, nu as PreviewResult, o as UsageSummary, oa as uniqueSkillNamesFromReferences, od as selectableTurnIds, of as OnboardingFeatureGroup, oi as buildSessionSearchIndex, om as isAccountCredKey, on as tutorialOnServer, oo as CreateSessionRequest, op as migrateStoredSettings, or as LineupEntry, ot as runRetryingLabel, ou as computeInlineDiff, p as truncateTurnsAt, pa as ChatReferenceData, pd as SafeModeProvider, pf as OnboardingInstallSignals, pi as searchSessionHistoryIndexAsync, pn as transcriptPresetNotice, pr as CustomModelTarget, ps as EntryCreateOptions, pt as splitPromptSegments, pu as tokenize, q as spawnLane, qa as PendingInteraction, qd as ConnectorTransport, qf as SettingsChoice, qi as mergeApprovalAndBodyOutcomes, qn as ConnectorCategoryMeta, qo as buildMcpServers, qp as normalizeBindingValue, qr as HostProbe, qs as parentPlanScope, qt as NativeExtensionNeedWords, ra as DaemonHealthTone, rf as OnboardingDraft, ri as SessionHistoryMatch, rm as accountCredKey, rn as TutorialStep, ro as PlansSnapshot, rp as SETTINGS_DEFAULTS_VERSION, rr as ModelSettingPick, rs as InteractionHub, rt as RunRetry, ru as applyEditPayload, s as localDayString, sa as FILES_TRIGGER, sd as selectionAfterTurnRemoval, sf as OnboardingGate, si as buildSessionSearchIndexAsync, sm as isReservedCredKey, sn as ONBOARDING_PREVIEW_ATTACHMENTS, sp as settingsFromStored, sr as ModelIdParts, st as runStatusKey, su as computeLineDiff, ta as DaemonHealth, td as isVisible, tf as OnboardingCustomField, ti as SearchSessionResult, tm as CRED_KEY_SLOT_SEPARATOR, tn as TUTORIALS, to as StreamProgressInfo, tp as toggleHeldOn, tr as PROVIDER_BRANDS, ts as SessionLaunchOverrides, tt as RUN_WAITING_LABEL, tu as InlineSegment, u as deleteTurnSafely, ua as COMMANDS_TRIGGER, ud as ApprovalRequest, uf as OnboardingImportPreview, ui as searchHighlightRanges, un as TRANSCRIPT_PRESET_KEYS, uo as TextModelPick, ur as currentModels, us as ENTRY_IMPORT_MAX_BYTES, ut as PromptSegmentRef, uu as previewEditPayload, v as ToolDisplayMeta, va as uniqueChatIdsFromReferences, vd as SystemMdResult, vf as OnboardingProviderPick, vi as searchableTurnText, vn as EXCLUDED_NATIVE_EXTENSIONS, vs as EntryRefusal, vt as SETUP_PALETTE_ITEM, vu as ResolvedPaths, wa as CompactionReport, wd as AgentsMdResult, wf as OnboardingState, wi as CacheChipTone, wn as nativeExtensionSource, wr as isMcpAuthRefusal, ws as entryPath, wt as OnboardingReadable, wu as TuiState, x as formatToolCall, xa as CACHE_HINT_MIN_TOKENS, xc as liveAgentProfiles, xd as userScopeOverridesLoad, xf as OnboardingRunStart, xi as generateSessionTitle, xl as calibrationFactor, xn as NATIVE_EXTENSION_GROUPS, xr as McpTestOutcomeKind, xs as createEntryOps, xt as planOnboarding, xu as ModelUsageSummary, y as ToolFormatLine, ya as blendHsl, yd as discoverSystemMd, yf as OnboardingRecord, yi as GenerateSessionTitleOptions, yn as NATIVE_EXTENSIONS, yr as modelConcern, ys as EntryResult, yt as SetupPaletteItem, yu as resolveConfig, za as ChatHostEnvironment, zd as defaultExtensionSource, zf as DURABILITY_OPTIONS, zi as isKillSwitchEngaged, zn as ONBOARDING_FEATURES, zp as KeyBindings, zr as chunkMarkdownForRender, zs as SESSION_ACCOUNT_METADATA_KEY, zt as onboardingRecords, zu as sessionEnvironmentSummary } from "./media-type-DDrpCEf9.js";
|
|
4
|
-
import { $ as useSyntaxStyles, $a as WatchInstalledVersionOptions, $i as envSection, $n as hostCredentialKey, $o as createChatHost, $r as provisionSessionEnvironment, $t as planWorktreeProjectRootRemaps, A as supersededTools, Aa as RunUpdateCommandResult, Ai as TITLE_CHECKED_KEY, An as subscribeMcpToolsCache, Ao as checkTarballAvailable, Ar as gitBranches, As as useCompletion, At as safelistProjectKey, B as TranscriptItem, Ba as isTransientFailure, Bi as BuildSystemOptions, Bn as VisibleMcpRow, Bo as ArtifactViewGroup, Br as BuildHintsOptions, Bt as fetchProviderUsage, C as readWorkspaceFile, Ca as useUpdateCheck, Ci as ArtifactReferenceData, Cn as CachedMcpToolList, Co as PerformSelfUpdateOptions, Cr as createGitWatches, Cs as ClaudeSessionImportResult, Ct as getSafelistForCwd, D as WorkspaceEntry, Da as hintsLength, Di as bootProfileEnabled, Dn as mcpToolsCachePath, Do as TarballAvailabilityOptions, Dr as fetchRepoInfo, Ds as importFromClaudeCode, Dt as projectsFilePath, E as ResolvedPath, Ea as clipHintsToWidth, Ei as scoreArtifacts, En as loadMcpToolsCache, Eo as SelfUpdateResult, Er as FetchRepoInfoOptions, Es as hasClaudeCodeSetup, Et as matchesSafelistEntry, F as Diagnostic, Fa as FailedUpdateRecord, Fi as autoTitleAction, Fn as McpAuthState, Fo as performInPlaceSelfUpdate, Fr as gitPrList, Ft as runEndNotice, G as CATPPUCCIN_FRAPPE, Ga as UpgradePackageResult, Gi as INTERACTION_GUIDANCE, Gn as useMcpAuthDispatch, Go as chatReferenceTokensForPrompt, Gr as BuiltinEnvironmentOptions, Gt as usageSourceFor, H as VAPORWAVE_THEME, Ha as upgradeError, Hi as DOING_TASKS_DOCTRINE, Hn as indexOfServerRow, Ho as groupArtifacts, Hr as shortChord, Ht as providerUsageSupported, I as DiagnosticSeverity, Ia as UPDATE_FAILED_FILE, Ii as describeTitleStatus, In as McpServerStatus, Io as performSelfUpdate, Ir as gitSwitch, It as FetchProviderUsageOptions, J as CATPPUCCIN_MOCHA, Ja as upgradeInstalledPackages, Ji as PLAN_MODE_DOCTRINE_NO_PROMPTS, Jn as imageGenerationTools, Jo as loadMarkdownAgents, Jr as WorktreeRef, Jt as findGitRoot, K as CATPPUCCIN_LATTE, Ka as UpgradeProgressEvent, Ki as INTERACTION_GUIDANCE_NO_PROMPTS, Kn as useMcpAuthState, Ko as createChatTurnsReadTool, Kr as builtinEnvironmentProviders, Kt as FolderLocation, L as DiagnosticsResult, La as autoInstallUpdate, Li as isTitleStale, Ln as McpStatusTracker, Lo as resolvePlatformPackage, Lr as CloneRun, Lt as USAGE_CACHE_TTL_MS, M as listDiagnosticsTools, Ma as AUTO_INSTALL_RETRY_BACKOFF_MS, Mi as TITLE_SOURCE_KEY, Mn as buildToolToggle, Mo as detectLibc, Mr as gitCreateBranch, Mt as writeProjects, N as runDiagnostics, Na as AutoInstallOutcome, Ni as TitleCheckRecord, Nn as useMcpToolToggleMap, No as detectPackageManager, Nr as gitInfo, Nt as hasUntimedOpenCalls, O as WorkspaceFile, Oa as truncateTrailing, Oi as bootTick, On as refreshMcpToolsCatalog, Oo as UpdateStatus, Or as githubRepoOf, Os as previewClaudeImport, Ot as readProjects, P as makeToolContext, Pa as AutoInstallSkipReason, Pi as TitleSource, Pn as useMcpToolToggleSet, Po as parseSemver, Pr as gitPr, Pt as withRunningCallStarts, Q as useSurfaces, Qa as UpdateAppliedMarker, Qi as buildPlanSystem, Qn as createHostRegistry, Qo as MarkdownDefDiagnostic, Qr as ProvisionSessionEnvironmentResult, Qt as normalizeRemoteUrl, R as DiagnosticsToolContext, Ra as clearFailedUpdate, Ri as userPromptCount, Rn as McpTestOutcome, Ro as updateChecksOptedOut, Rr as cloneRepository, Rt as clearProviderUsageCache, S as listWorkspace, Sa as useRestartRequired, Si as ARTIFACTS_COMPLETION_PROVIDER_ID, Sn as upsertMcpServer, So as PerformInPlaceUpdateOptions, Sr as StartGitWatch, Ss as ClaudeImportSummary, St as getSafelist, T as GitStatusEntry, Ta as Hint, Ti as createArtifactsCompletionProvider, Tn as clearMcpToolsCache, To as SELF_UPDATE_TIMEOUT_MS, Tr as gitSync, Ts as countClaudeSessionFiles, Tt as listSafelists, U as GRUVBOX_DARK, Ua as writeFailedUpdate, Ui as EnvSectionOptions, Un as parentServerName, Uo as summarizeArtifactCounts, Ur as CreateExtensionMcpHostOptions, Ut as redeemProviderReset, V as computeTurnAnchors, Va as readFailedUpdate, Vi as COMMUNICATION_DOCTRINE, Vn as buildVisibleMcpRows, Vo as ArtifactViewRow, Vr as buildHints, Vt as fetchProviderUsageAccounts, W as GRUVBOX_LIGHT, Wa as UpgradeInstalledPackagesOptions, Wi as IDENTITY_PREFIX, Wn as McpAuthProvider, Wo as ChatTurnsReadToolOptions, Wr as createExtensionMcpHost, Wt as usageChecksOptedOut, X as useColors, Xa as InstalledVersionWatcher, Xi as TOKEN_DISCIPLINE_DOCTRINE, Xn as listImageModels, Xo as BUILTIN_SUBAGENTS, Xr as localEnvironmentProvider, Xt as folderLocation, Y as ThemeProvider, Ya as InstalledVersionState, Yi as SUBAGENT_GUIDANCE, Yn as imageModelSources, Yo as loadMarkdownCommands, Yr as createWorktreeEnvironmentProvider, Yt as findProjectRoot, Z as useSelectStyle, Za as UPDATE_APPLIED_MARKER, Zi as buildBuildSystem, Zn as HostRegistry, Zo as ModelAliasContext, Zr as ProvisionSessionEnvironmentInput, Zt as mainCheckoutRoot, _ as confineToWorkspace, _a as UseRestartRequiredOptions, _i as parseDecisionModel, _n as McpConfigScope, _o as CheckForUpdateOptions, _r as splitHostSettingsPatch, _s as RepoProgress, _t as ProjectEntry, a as searchWorkspace, aa as UPDATE_LOG_FILE, ai as Commit, an as fetchOAuthRedirect, ao as writeUpdateAppliedMarker, ar as OnboardingInstallSignalsInput, as as projectUserPaths, at as buildSpawnEndEvent, b as gitStatus, ba as buildUpdateHint, bi as ConfigProvider, bn as mcpsWritePath, bo as PackageManagerCommand, br as GitChange, bs as ClaudeImportActiveHost, bt as addToSafelist, c as WorkspaceMediaRequest, ca as UpdateWorkerRequest, ci as Walk, cn as OAuthFlowOptions, co as UpdateLockHolder, cr as detectOnboardingEnvironment, cs as GitInfo, ct as useSettings, d as containedEntryPath, da as autoInstallViaWorker, di as DiscoveryProvider, dn as runIntegrationSignIn, do as isUpdateLockStale, dr as probeLocalModelServers, ds as GitPrListResult, dt as SessionExportTarget, ea as CALL_TOOL_NAME, ei as EnabledAllowlistKey, en as projectRootOf, eo as hasUpdateAppliedMarker, er as hostsFilePath, es as isStaleRunMarker, et as useTheme, f as hostImportItems, fa as followRunningUpdate, fi as useDiscovery, fn as runOAuthLogin, fo as readUpdateLock, fr as HOST_ENABLED_LISTS, fs as GitSwitchResult, ft as exportFilename, g as assembleDiff, ga as BuildUpdateHintOptions, gi as listDecisionModels, gn as testModel, go as findInstalledCompanion, gr as settingsToWire, gs as RepoInfo, gt as IMPLICITLY_SAFE_TOOLS, h as WORKSPACE_MAX_FILE_BYTES, ha as startUpdateWorker, hi as DecisionTestResult, hn as ModelTestResult, ho as InstalledCompanion, hr as overlayHostSettings, hs as RepoCloneResult, ht as writeSessionExport, i as TextMatchOptions, ia as StartUpdateWorkerOptions, ii as quoteForShell, in as FetchOAuthRedirectResult, io as watchInstalledVersion, ir as DetectOtherAgentsOptions, is as ProjectUserPath, it as SpawnStartRecord, j as invalidateDiagnostics, ja as runUpdateCommand, ji as TITLE_CHECK_KEY, jn as McpToolToggleSet, jo as compareSemver, jr as gitCommit, jt as suggestSafelistEntries, k as WorkspaceWriteResult, ka as RunUpdateCommandOptions, ki as AutoTitleAction, kn as saveMcpToolsCache, ko as checkForUpdate, kr as forgetGitCaches, ks as CompletionState, kt as removeFromSafelist, l as serveWorkspaceMedia, la as UpdateWorkerResult, li as createDiscoverySlot, ln as OAuthPrompt, lo as acquireUpdateLock, lr as detectOtherAgents, ls as GitPr, lt as SessionExportAnchor, m as WORKSPACE_MAX_ENTRIES, ma as runUpdateWorkerMain, mi as DecisionModelEntry, mn as supportsOAuth, mo as CompanionSpec, mr as isWindowOnlySetting, ms as GitSyncResult, mt as resolveSessionExportTarget, n as ContentSearchOptions, na as unwrapCallTool, ni as useEnabledToggleSet, nn as PlanLifecycleHooksOptions, no as readUpdateAppliedMarker, nr as onboardingProviders, ns as chatAutoCompactBehavior, nt as StreamSource, o as resolvePaths, oa as UPDATE_RESULT_FILE, oi as DiscoverySlot, on as normalizeRedirectPaste, oo as UPDATE_LOCK_FILE, or as ProbeLocalModelServersOptions, os as GitBranchRow, ot as buildSpawnStartEvent, p as workspaceEntryOps, pa as readUpdateWorkerResult, pi as useDiscoveryOptional, pn as signsInWithIntegration, po as updateLockPath, pr as WINDOW_LOCAL_SETTINGS, ps as GitSwitchTarget, pt as renderSession, q as CATPPUCCIN_MACCHIATO, qa as UpgradeReport, qi as PLAN_MODE_DOCTRINE, qn as ImageModelEntry, qo as applyMarkdownSubagents, qr as WORKTREE_ENVIRONMENT_KIND, qt as cachedRepoKeyOf, r as ContentSearchResult, ra as FollowRunningUpdateOptions, ri as parseEditorCommand, rn as createPlanLifecycleHooks, ro as updateAppliedMarkerPath, rr as DetectOnboardingOptions, rs as chatWindowBehavior, rt as useStreamBuffer, s as WorkspaceMediaOptions, sa as UpdateWorkerOutcome, si as DiscoverySlotOptions, sn as redirectUriFromAuthUrl, so as UPDATE_LOCK_STALE_MS, sr as connectorGithubToken, ss as GitCommitInfo, st as SettingsProvider, t as ContentMatch, ta as UnwrappedToolCall, ti as EnabledToggleSet, tn as repoKeyOf, to as probeInstalledVersion, tr as FEATURED_PROVIDERS, ts as storeHasDurability, tt as StreamBuffer, u as LocalEntryOps, ua as UpdateWorkerUpgradeCommand, ui as DiscoveryContextValue, un as oauthUsesManualCodePaste, uo as describeUpdateLockHolder, ur as onboardingInstallSignals, us as GitPrItem, ut as SessionExportFormat, v as gitDiff, va as UseUpdateCheckOptions, vi as resolveDecisionsOption, vn as RemoveMcpResult, vo as DetectPackageManagerOptions, vr as FetchGithubUsageOptions, vs as CLAUDE_IMPORT_NOTES, vt as ProjectsFile, w as writeWorkspaceFile, wa as EMPTY_HINTS, wi as ArtifactReferenceEntry, wn as McpToolsCache, wo as PlatformTarballOptions, wr as watchGitRepository, ws as claudeImportHostNote, wt as isOnSafelist, x as gitStatusOf, xa as useAutoInstallUpdate, xi as useConfig, xn as removeMcpServer, xo as PackageManagerId, xr as GitWatches, xs as ClaudeImportOptions, xt as addToSafelistForCwd, y as gitShowHead, ya as buildRestartHint, yi as testDecisionModel, yn as UpsertMcpResult, yo as InPlaceUpdateResult, yr as fetchGithubUsage, ys as ClaudeCopyResult, yt as SafelistProject, z as DiagnosticsToolInfo, za as isAutoInstallCandidate, zi as ACTIONS_WITH_CARE_DOCTRINE, zn as createMcpStatusTracker, zo as ArtifactScope, zr as gitOriginUrl, zt as fetchAllProviderUsage } from "./browser-entry-CHX7eDd5.js";
|
|
3
|
+
import { $ as RUN_STATUS_TIME_MS, $a as SerializedPreview, $d as OnboardingAppearance, $f as settingKeywords, $i as DAEMON_HEALTH_GLYPH, $l as HunkResolution, $n as LOCAL_SERVER_BRANDS, $o as SessionExecutionCache, $p as ALTERNATE_CRED_KEY_SUFFIX, $r as IndexedSearchTurn, $s as PlanRunNotes, $t as joinNames, $u as isTurnHighlighted, A as TRANSCRIPT_TRIM_TO_EVENTS, Aa as discoverProjectPlugins, Ad as fileEntriesFromPaths, Af as OnboardingTaskKind, An as OnboardingFlowState, Ar as McpNeedsAuthReason, As as ForkSessionResult, At as createOnboardingRun, Au as headerFromData, Ba as PendingApprovalsStore, Bd as nativeExtensionEntry, Bf as SETTINGS_CATEGORIES, Bi as remoteHostsGate, Bn as ONBOARDING_FEATURE_GROUPS, Bp as ResolvedExtensionKeybinding, Bs as modelChainMetadata, Bt as onboardingSettingsChange, Bu as stripSpawnTokensLine, C as MAX_TRANSCRIPT_EVENTS, Ca as CompactionEntry, Cd as AgentsMdFile, Cf as OnboardingSignInState, Ci as CacheChipContent, Cl as estimateReadout, Cn as nativeExtensionByName, Cr as classifyMcpTest, Cs as entryParent, Ct as OnboardingPhase, Cu as StateStoreApi, Da as linkCatalogs, Dd as renderAgentsMdBlock, Df as OnboardingStepScope, Di as cacheBreakNoticeText, Dn as ONBOARDING_SETTING_KEYS, Dr as McpAuthEvent, Ds as joinEntry, Dt as OnboardingRunOptions, Du as deriveSessionTitle, Ea as createCatalogPorts, Ed as discoverAgentsMd, Ef as OnboardingStepMeta, Ei as cacheBreakChip, En as importsSomething, Er as MCP_STATUS_LABEL, Es as importEntries, Et as OnboardingRunHost, Eu as createStateStore, F as capTranscriptEvents, Fa as ApprovalHub, Fd as ExtensionSourceErrorCode, Ff as TranscriptPresetKey, Fi as FeatureGateOptions, Fn as createOnboardingFlow, Fo as PromptSubmitHost, Fp as KEYBINDING_KEY_COL_WIDTH, Fr as enabledMcpsWithout, Fs as describeForkFailure, Ft as mergeOnboardingState, Fu as replayTurns, G as turnContextSize, Ga as HostSettings, Gd as ConnectorInput, Gf as SettingsCategory, Gi as buildEditOutcomesAnnotation, Gn as CONNECTORS, Go as DiscoveryError, Gp as matchesBinding, Gr as HostErrorCode, Gs as commitPlanEventToStore, Gt as ConnectorAuthWords, Gu as updateToolEventOutcomes, Ha as CommandArgSuggestionSummary, Hd as ConnectorAuth, Hf as SETTINGS_INPUTS, Hi as ExtensionMarkInput, Hn as OnboardingFeatureGroupMeta, Hp as formatBindingForDisplay, Hs as sessionModelFallbacks, Ht as OnboardingSwitchedFeatures, Hu as titleFromTurns, Ia as ApprovalRequestInput, Id as ExtensionSourceInfo, If as TranscriptPresetSettings, Ii as daemonGate, In as currentOnboardingStep, Io as SendTransform, Ip as KeyAction, Is as forkSession, It as migratedOnboardingRecords, Iu as runInProgress, J as spawnLaneResolver, Ja as PromptAttachment, Jd as NativeExtensionCommandNeed, Jf as SettingsInput, Ji as parseEditOutcomesFromResult, Jn as InstalledServerRef, Jo as dedupMcpServersByName, Jp as readKeybindings, Jr as HostProbeResult, Js as planScopeForRun, Jt as ONBOARDING_AGENT_NAMES, K as SpawnTreeRow, Ka as HostSignal, Kd as ConnectorTokenAuth, Kf as SettingsCategoryDescriptor, Ki as maskToOutcomeKinds, Kn as CONNECTOR_CATEGORIES, Ko as DiscoveryResult, Kp as mergeKeybindings, Kr as HostIdentity, Ks as decideEvent, Kt as LOCAL_SERVER_NAMES, Ku as usageByModel, L as finalizeStreamingMarkdown, La as createApprovalHub, Ld as ExtensionSourceKind, Lf as APPROVAL_MODE_OPTIONS, Li as defineFeatureGate, Ln as onboardingProgress, Lo as createPromptSubmissions, Lp as KeyBindingDef, Lr as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, Ls as newSession, Lt as needsOnboarding, Lu as runProgress, Ma as resolveSessionModel, Md as DEFAULT_EXTENSION_SOURCE, Mf as OnboardingTradeoff, Mn as OnboardingStart, Mp as DEFAULT_KEYBINDINGS, Mr as mcpFailureEvent, Ms as createMainSession, Mt as buildOnboardingResult, Mu as listSessionMeta, Na as EditOutcomeLedger, Nd as DEFAULT_EXTENSION_SOURCE_UNREACHABLE, Nf as TranscriptPreset, Ni as FEATURE_GATES, Nn as applySettingsPatch, No as PromptConsumed, Np as KEYBINDING_DEFS, Nr as reduceMcpAuth, Ns as createSessionInStore, Nt as effectiveOnboardingMode, Nu as loadState, Oa as DiscoveredPlugin, Od as FileEntry, Of as OnboardingSurface, Oi as compactingLabel, Ol as runEstimateView, On as ONBOARDING_STEP_SETTINGS, Or as McpAuthStateMap, Os as CreateSessionInStoreParams, Ot as OnboardingRunSetup, Ou as eventsFromTurns, Pa as PendingAnnotation, Pd as ExtensionSourceEntry, Pf as TranscriptPresetId, Pi as FeatureGate, Pn as canSkipOnboardingStep, Po as PromptSubmissions, Pp as KEYBINDING_DEF_BY_ACTION, Pr as enabledMcpsWith, Ps as deleteSessionData, Pt as isExistingInstall, Pu as marginTopFor, Q as LiveRunStatus, Qa as SendOptions, Qd as OnboardingAgentId, Qf as requirementMet, Qi as summarizeOutcomes, Ql as EditSummary, Qn as connectorServerConfig, Qo as SessionExecution, Qp as ACCOUNT_CRED_KEY_INFIX, Qr as HighlightSegment, Qs as PLAN_STOPPED_NOTE_KIND, Qt as joinFewNames, Qu as isEditErrorResult, R as finalizeStreamingMarkdownForOwner, Ra as createMemoryApprovalsStore, Rd as ExtensionSourceListing, Rf as BooleanSettingKey, Ri as engagedKillSwitches, Rn as onboardingReducer, Rp as KeyBindingSection, Rr as MarkdownSegment, Rs as ModelFallbackTarget, Rt as onboardingRecord, Ru as saveState, S as toolInputCode, Sa as cacheHintText, Sd as userSystemMdPath, Sf as OnboardingSettingsChange, Si as shouldAutoGenerateTitle, Sn as NativeExtensionGroupMeta, Sr as McpTestResult, Ss as entryName, St as OnboardingImportPreviewState, Su as RunProgress, Ta as runCompaction, Td as DiscoverAgentsMdOptions, Tf as OnboardingStepId, Tl as formatEstimate, Tn as defaultImportSelection, Tr as mcpFailureLine, Ts as freeEntryName, Tt as OnboardingRun, Tu as compactSummaryEvent, U as stepTranscriptCap, Ua as CommandSummary, Ud as ConnectorCategory, Uf as SETTINGS_SECTIONS, Ui as extensionMark, Un as onboardingFeatureCopy, Up as groupBindings, Ur as splitMarkdownCodeBlocks, Us as PlanSession, Ut as onboardingImportParts, Uu as toolCallPreview, Va as ApprovalOriginator, Vd as nativeExtensionListing, Vf as SETTINGS_CHOICES, Vi as ExtensionMark, Vn as OnboardingFeatureCopy, Vp as ensureKeybindingsFile, Vr as normalizeMarkdownCodeFences, Vs as readSessionAccount, Vt as OnboardingImportWords, Vu as sumRunCosts, Wd as ConnectorEntry, Wf as SETTINGS_TOGGLES, Wi as ResolvedApproval, Wn as onboardingFeatures, Wo as DiscoveredMcp, Wp as keybindingsPath, Wr as HostEntry, Ws as commitPlanEvent, Wt as onboardingSwitchedFeatures, Wu as toolResultText, X as oneLineTitle, Xa as QueuedItem, Xd as NativeExtensionGroup, Xf as StringSettingKey, Xi as rewriteMultiEditHeader, Xl as DiffOp, Xn as connectorInputError, Xo as discoverProjectMcps, Xp as resolveExtensionKeybindings, Xr as HostTestResult, Xs as readSessionPlans, Xt as OnboardingWords, Y as spawnParents, Ya as QueuedAttachment, Yd as NativeExtensionEntry, Yf as SettingsToggle, Yi as resolveApprovalForPayload, Yl as DiffLine, Yn as connectorById, Yo as defaultMcpsConfigPaths, Yp as readKeybindingsRaw, Yr as HostRegistryError, Ys as proposeEvent, Yt as ONBOARDING_WORDS, Z as titleFromText, Za as RunningWorkItem, Zd as NativeExtensionNeed, Zf as enforceSettingsInvariants, Zi as stripEditOutcomesAnnotation, Zl as EditHunkSummary, Zn as connectorInstalled, Zo as parseMcpsFile, Zp as stripJsonComments, Zr as HighlightRange, Zs as PLAN_EDITED_NOTE_KIND, Zt as connectorAuthText, _ as TOOL_DISPLAY, _a as createChatsCompletionProvider, _d as SystemMdFile, _f as OnboardingProvider, _i as searchTurns, _n as transcriptPresetPalettePicker, _r as indexOfEntry, _s as EntryOps, _t as ONBOARDING_VERSION, _u as ResolvedConfig, a as UsageRange, aa as createSkillsCompletionProvider, af as OnboardingFeatureBadge, ai as SessionSearchIndex, am as credentialSlotOf, an as TutorialWords, ao as ContextSegmentsReport, ap as decisionsEnabled, ar as parseModelSetting, at as runFoldStatus, au as buildUnifiedDiff, b as displayNameFor, ba as buildLinearRamp, bc as changedCatalogItems, bd as renderSystemMdSeed, bf as OnboardingResult, bi as cleanTitle, bl as RunEstimateView, bn as NATIVE_EXTENSIONS_REPO, br as MCP_KEY_REFUSED_HINT, bs as copyNames, bt as onboardingStep, bu as resolveStoragePaths, c as summarizeUsage, ca as createFilesCompletionProvider, cd as turnSelectionOwnership, cf as OnboardingGithubIdentity, ci as filterSessionSearchCatalog, cm as oauthAccountLabel, cn as ONBOARDING_PREVIEW_EVENTS, co as TextModelCandidate, cp as sparseSettingsUpdate, cr as compareModelVersion, ct as runTailActivity, cu as extractEditPayload, d as editableTurnText, da as createCommandsCompletionProvider, dd as RequestApproval, df as OnboardingImportSelection, di as searchSessionHistory, dn as TRANSCRIPT_PRESET_PALETTE_ID, do as TextModelSource, dr as parseModelId, ds as ENTRY_IMPORT_MAX_ENTRIES, dt as inferPromptRefs, du as splitLines, ea as DAEMON_HEALTH_STYLE, ec as planRunNotes, ef as OnboardingCredentialSource, ei as SearchExcerpt, em as API_KEY_ACCOUNT_LABEL, en as nativeExtensionNeedText, eo as SessionPresence, ep as toggleApplies, er as ONBOARDING_AGENT_BRANDS, es as createSessionExecutionCache, et as RUN_WAITING_DELAY_MS, eu as InlineDiff, f as replaceTurnTextBlocks, fa as CHATS_TRIGGER, fd as SafeModeActions, ff as OnboardingImportSessionCounts, fi as searchSessionHistoryIndex, fn as transcriptPreset, fo as autoTextModelId, fr as CatalogEntry, fs as ENTRY_IMPORT_MAX_FILE_BYTES, fu as summarizeEditPayload, g as reconcileEvents, ga as chatReferenceTokensFromText, gd as DiscoverSystemMdOptions, gf as OnboardingPlanContext, gi as searchSessionTurns, gl as EstimateReadout, gn as transcriptPresetPaletteItem, gr as filterModelCatalog, gs as EntryImportResult, gt as ONBOARDING_STEPS, gu as ProviderRegistry, h as ReconcilableEvent, ha as ChatReferenceScope, hd as useSafeModeQueue, hf as OnboardingMode, hi as searchSessionIndexAsync, hn as transcriptPresetOfPaletteItem, hr as customModelTargets, hs as EntryImportLimits, ht as SETTING_TRADEOFFS, hu as ChatOptions, ia as SKILLS_TRIGGER, if as OnboardingFeature, ii as SessionSearchExcerpt, im as alternateCredKey, in as TutorialTopic, io as ChatHost, ip as SETTINGS_DEFAULTS_VERSION_KEY, ir as formatModelSetting, is as createInteractionHub, it as RunTailActivity, iu as buildContextualDiff, ja as createProviderBuilder, jd as listProjectFiles, jf as OnboardingTaskStatus, ji as retryLabel, jn as OnboardingProgress, jr as getMcpAuthStatus, js as ForkSource, jt as OnboardingGateInput, ju as lastContextSizeFromTurns, k as TRANSCRIPT_TRIM_STEP_EVENTS, ka as buildPluginContributions, kd as ListProjectFilesOptions, kf as OnboardingTask, kl as runningEstimateViews, kn as OnboardingAction, kr as McpAuthStatus, ks as ForkSessionParams, kt as connectorsFromImport, ku as getSessionHeader, l as countNeighbors, la as uniqueFilesFromReferences, ld as ApprovalDecision, lf as OnboardingImportCategory, li as highlightSegments, ln as TRANSCRIPT_PRESETS, lo as TextModelOptions, lr as currentModelKeys, ls as ENTRY_EMPTY_DIRS_LIMIT, lt as PromptSegment, lu as filetypeFromPath, m as turnAsText, ma as ChatReferenceEntry, md as useSafeModeActions, mf as OnboardingLocalServer, mi as searchSessionIndex, mn as transcriptPresetOf, mr as buildModelCatalog, ms as EntryImportItem, mt as APPROVAL_MODE_TRADEOFFS, mu as AutoUpdateConfig, na as DaemonHealthStyle, nf as OnboardingDetection, ni as SearchTurnResult, nm as DEFAULT_OAUTH_ACCOUNT_LABEL, nn as TUTORIAL_TOPICS, no as WireApprovalRequest, np as DEFAULT_SETTINGS, nr as providerBrand, ns as normalizeLaunchOverrides, nt as RunFoldStatus, nu as PreviewResult, o as UsageSummary, oa as uniqueSkillNamesFromReferences, od as selectableTurnIds, of as OnboardingFeatureGroup, oi as buildSessionSearchIndex, om as isAccountCredKey, on as tutorialOnServer, oo as CreateSessionRequest, op as migrateStoredSettings, or as LineupEntry, ot as runRetryingLabel, ou as computeInlineDiff, p as truncateTurnsAt, pa as ChatReferenceData, pd as SafeModeProvider, pf as OnboardingInstallSignals, pi as searchSessionHistoryIndexAsync, pn as transcriptPresetNotice, pr as CustomModelTarget, ps as EntryCreateOptions, pt as splitPromptSegments, pu as tokenize, q as spawnLane, qa as PendingInteraction, qd as ConnectorTransport, qf as SettingsChoice, qi as mergeApprovalAndBodyOutcomes, qn as ConnectorCategoryMeta, qo as buildMcpServers, qp as normalizeBindingValue, qr as HostProbe, qs as parentPlanScope, qt as NativeExtensionNeedWords, ra as DaemonHealthTone, rf as OnboardingDraft, ri as SessionHistoryMatch, rm as accountCredKey, rn as TutorialStep, ro as PlansSnapshot, rp as SETTINGS_DEFAULTS_VERSION, rr as ModelSettingPick, rs as InteractionHub, rt as RunRetry, ru as applyEditPayload, s as localDayString, sa as FILES_TRIGGER, sd as selectionAfterTurnRemoval, sf as OnboardingGate, si as buildSessionSearchIndexAsync, sm as isReservedCredKey, sn as ONBOARDING_PREVIEW_ATTACHMENTS, sp as settingsFromStored, sr as ModelIdParts, st as runStatusKey, su as computeLineDiff, ta as DaemonHealth, td as isVisible, tf as OnboardingCustomField, ti as SearchSessionResult, tm as CRED_KEY_SLOT_SEPARATOR, tn as TUTORIALS, to as StreamProgressInfo, tp as toggleHeldOn, tr as PROVIDER_BRANDS, ts as SessionLaunchOverrides, tt as RUN_WAITING_LABEL, tu as InlineSegment, u as deleteTurnSafely, ua as COMMANDS_TRIGGER, ud as ApprovalRequest, uf as OnboardingImportPreview, ui as searchHighlightRanges, un as TRANSCRIPT_PRESET_KEYS, uo as TextModelPick, ur as currentModels, us as ENTRY_IMPORT_MAX_BYTES, ut as PromptSegmentRef, uu as previewEditPayload, v as ToolDisplayMeta, va as uniqueChatIdsFromReferences, vd as SystemMdResult, vf as OnboardingProviderPick, vi as searchableTurnText, vn as EXCLUDED_NATIVE_EXTENSIONS, vs as EntryRefusal, vt as SETUP_PALETTE_ITEM, vu as ResolvedPaths, wa as CompactionReport, wd as AgentsMdResult, wf as OnboardingState, wi as CacheChipTone, wn as nativeExtensionSource, wr as isMcpAuthRefusal, ws as entryPath, wt as OnboardingReadable, wu as TuiState, x as formatToolCall, xa as CACHE_HINT_MIN_TOKENS, xc as liveAgentProfiles, xd as userScopeOverridesLoad, xf as OnboardingRunStart, xi as generateSessionTitle, xl as calibrationFactor, xn as NATIVE_EXTENSION_GROUPS, xr as McpTestOutcomeKind, xs as createEntryOps, xt as planOnboarding, xu as ModelUsageSummary, y as ToolFormatLine, ya as blendHsl, yd as discoverSystemMd, yf as OnboardingRecord, yi as GenerateSessionTitleOptions, yn as NATIVE_EXTENSIONS, yr as modelConcern, ys as EntryResult, yt as SetupPaletteItem, yu as resolveConfig, za as ChatHostEnvironment, zd as defaultExtensionSource, zf as DURABILITY_OPTIONS, zi as isKillSwitchEngaged, zn as ONBOARDING_FEATURES, zp as KeyBindings, zr as chunkMarkdownForRender, zs as SESSION_ACCOUNT_METADATA_KEY, zt as onboardingRecords, zu as sessionEnvironmentSummary } from "./media-type-vJuUTlW5.js";
|
|
4
|
+
import { $ as useSyntaxStyles, $a as WatchInstalledVersionOptions, $i as envSection, $n as hostCredentialKey, $o as createChatHost, $r as provisionSessionEnvironment, $t as planWorktreeProjectRootRemaps, A as supersededTools, Aa as RunUpdateCommandResult, Ai as TITLE_CHECKED_KEY, An as subscribeMcpToolsCache, Ao as checkTarballAvailable, Ar as gitBranches, As as useCompletion, At as safelistProjectKey, B as TranscriptItem, Ba as isTransientFailure, Bi as BuildSystemOptions, Bn as VisibleMcpRow, Bo as ArtifactViewGroup, Br as BuildHintsOptions, Bt as fetchProviderUsage, C as readWorkspaceFile, Ca as useUpdateCheck, Ci as ArtifactReferenceData, Cn as CachedMcpToolList, Co as PerformSelfUpdateOptions, Cr as createGitWatches, Cs as ClaudeSessionImportResult, Ct as getSafelistForCwd, D as WorkspaceEntry, Da as hintsLength, Di as bootProfileEnabled, Dn as mcpToolsCachePath, Do as TarballAvailabilityOptions, Dr as fetchRepoInfo, Ds as importFromClaudeCode, Dt as projectsFilePath, E as ResolvedPath, Ea as clipHintsToWidth, Ei as scoreArtifacts, En as loadMcpToolsCache, Eo as SelfUpdateResult, Er as FetchRepoInfoOptions, Es as hasClaudeCodeSetup, Et as matchesSafelistEntry, F as Diagnostic, Fa as FailedUpdateRecord, Fi as autoTitleAction, Fn as McpAuthState, Fo as performInPlaceSelfUpdate, Fr as gitPrList, Ft as runEndNotice, G as CATPPUCCIN_FRAPPE, Ga as UpgradePackageResult, Gi as INTERACTION_GUIDANCE, Gn as useMcpAuthDispatch, Go as chatReferenceTokensForPrompt, Gr as BuiltinEnvironmentOptions, Gt as usageSourceFor, H as VAPORWAVE_THEME, Ha as upgradeError, Hi as DOING_TASKS_DOCTRINE, Hn as indexOfServerRow, Ho as groupArtifacts, Hr as shortChord, Ht as providerUsageSupported, I as DiagnosticSeverity, Ia as UPDATE_FAILED_FILE, Ii as describeTitleStatus, In as McpServerStatus, Io as performSelfUpdate, Ir as gitSwitch, It as FetchProviderUsageOptions, J as CATPPUCCIN_MOCHA, Ja as upgradeInstalledPackages, Ji as PLAN_MODE_DOCTRINE_NO_PROMPTS, Jn as imageGenerationTools, Jo as loadMarkdownAgents, Jr as WorktreeRef, Jt as findGitRoot, K as CATPPUCCIN_LATTE, Ka as UpgradeProgressEvent, Ki as INTERACTION_GUIDANCE_NO_PROMPTS, Kn as useMcpAuthState, Ko as createChatTurnsReadTool, Kr as builtinEnvironmentProviders, Kt as FolderLocation, L as DiagnosticsResult, La as autoInstallUpdate, Li as isTitleStale, Ln as McpStatusTracker, Lo as resolvePlatformPackage, Lr as CloneRun, Lt as USAGE_CACHE_TTL_MS, M as listDiagnosticsTools, Ma as AUTO_INSTALL_RETRY_BACKOFF_MS, Mi as TITLE_SOURCE_KEY, Mn as buildToolToggle, Mo as detectLibc, Mr as gitCreateBranch, Mt as writeProjects, N as runDiagnostics, Na as AutoInstallOutcome, Ni as TitleCheckRecord, Nn as useMcpToolToggleMap, No as detectPackageManager, Nr as gitInfo, Nt as hasUntimedOpenCalls, O as WorkspaceFile, Oa as truncateTrailing, Oi as bootTick, On as refreshMcpToolsCatalog, Oo as UpdateStatus, Or as githubRepoOf, Os as previewClaudeImport, Ot as readProjects, P as makeToolContext, Pa as AutoInstallSkipReason, Pi as TitleSource, Pn as useMcpToolToggleSet, Po as parseSemver, Pr as gitPr, Pt as withRunningCallStarts, Q as useSurfaces, Qa as UpdateAppliedMarker, Qi as buildPlanSystem, Qn as createHostRegistry, Qo as MarkdownDefDiagnostic, Qr as ProvisionSessionEnvironmentResult, Qt as normalizeRemoteUrl, R as DiagnosticsToolContext, Ra as clearFailedUpdate, Ri as userPromptCount, Rn as McpTestOutcome, Ro as updateChecksOptedOut, Rr as cloneRepository, Rt as clearProviderUsageCache, S as listWorkspace, Sa as useRestartRequired, Si as ARTIFACTS_COMPLETION_PROVIDER_ID, Sn as upsertMcpServer, So as PerformInPlaceUpdateOptions, Sr as StartGitWatch, Ss as ClaudeImportSummary, St as getSafelist, T as GitStatusEntry, Ta as Hint, Ti as createArtifactsCompletionProvider, Tn as clearMcpToolsCache, To as SELF_UPDATE_TIMEOUT_MS, Tr as gitSync, Ts as countClaudeSessionFiles, Tt as listSafelists, U as GRUVBOX_DARK, Ua as writeFailedUpdate, Ui as EnvSectionOptions, Un as parentServerName, Uo as summarizeArtifactCounts, Ur as CreateExtensionMcpHostOptions, Ut as redeemProviderReset, V as computeTurnAnchors, Va as readFailedUpdate, Vi as COMMUNICATION_DOCTRINE, Vn as buildVisibleMcpRows, Vo as ArtifactViewRow, Vr as buildHints, Vt as fetchProviderUsageAccounts, W as GRUVBOX_LIGHT, Wa as UpgradeInstalledPackagesOptions, Wi as IDENTITY_PREFIX, Wn as McpAuthProvider, Wo as ChatTurnsReadToolOptions, Wr as createExtensionMcpHost, Wt as usageChecksOptedOut, X as useColors, Xa as InstalledVersionWatcher, Xi as TOKEN_DISCIPLINE_DOCTRINE, Xn as listImageModels, Xo as BUILTIN_SUBAGENTS, Xr as localEnvironmentProvider, Xt as folderLocation, Y as ThemeProvider, Ya as InstalledVersionState, Yi as SUBAGENT_GUIDANCE, Yn as imageModelSources, Yo as loadMarkdownCommands, Yr as createWorktreeEnvironmentProvider, Yt as findProjectRoot, Z as useSelectStyle, Za as UPDATE_APPLIED_MARKER, Zi as buildBuildSystem, Zn as HostRegistry, Zo as ModelAliasContext, Zr as ProvisionSessionEnvironmentInput, Zt as mainCheckoutRoot, _ as confineToWorkspace, _a as UseRestartRequiredOptions, _i as parseDecisionModel, _n as McpConfigScope, _o as CheckForUpdateOptions, _r as splitHostSettingsPatch, _s as RepoProgress, _t as ProjectEntry, a as searchWorkspace, aa as UPDATE_LOG_FILE, ai as Commit, an as fetchOAuthRedirect, ao as writeUpdateAppliedMarker, ar as OnboardingInstallSignalsInput, as as projectUserPaths, at as buildSpawnEndEvent, b as gitStatus, ba as buildUpdateHint, bi as ConfigProvider, bn as mcpsWritePath, bo as PackageManagerCommand, br as GitChange, bs as ClaudeImportActiveHost, bt as addToSafelist, c as WorkspaceMediaRequest, ca as UpdateWorkerRequest, ci as Walk, cn as OAuthFlowOptions, co as UpdateLockHolder, cr as detectOnboardingEnvironment, cs as GitInfo, ct as useSettings, d as containedEntryPath, da as autoInstallViaWorker, di as DiscoveryProvider, dn as runIntegrationSignIn, do as isUpdateLockStale, dr as probeLocalModelServers, ds as GitPrListResult, dt as SessionExportTarget, ea as CALL_TOOL_NAME, ei as EnabledAllowlistKey, en as projectRootOf, eo as hasUpdateAppliedMarker, er as hostsFilePath, es as isStaleRunMarker, et as useTheme, f as hostImportItems, fa as followRunningUpdate, fi as useDiscovery, fn as runOAuthLogin, fo as readUpdateLock, fr as HOST_ENABLED_LISTS, fs as GitSwitchResult, ft as exportFilename, g as assembleDiff, ga as BuildUpdateHintOptions, gi as listDecisionModels, gn as testModel, go as findInstalledCompanion, gr as settingsToWire, gs as RepoInfo, gt as IMPLICITLY_SAFE_TOOLS, h as WORKSPACE_MAX_FILE_BYTES, ha as startUpdateWorker, hi as DecisionTestResult, hn as ModelTestResult, ho as InstalledCompanion, hr as overlayHostSettings, hs as RepoCloneResult, ht as writeSessionExport, i as TextMatchOptions, ia as StartUpdateWorkerOptions, ii as quoteForShell, in as FetchOAuthRedirectResult, io as watchInstalledVersion, ir as DetectOtherAgentsOptions, is as ProjectUserPath, it as SpawnStartRecord, j as invalidateDiagnostics, ja as runUpdateCommand, ji as TITLE_CHECK_KEY, jn as McpToolToggleSet, jo as compareSemver, jr as gitCommit, jt as suggestSafelistEntries, k as WorkspaceWriteResult, ka as RunUpdateCommandOptions, ki as AutoTitleAction, kn as saveMcpToolsCache, ko as checkForUpdate, kr as forgetGitCaches, ks as CompletionState, kt as removeFromSafelist, l as serveWorkspaceMedia, la as UpdateWorkerResult, li as createDiscoverySlot, ln as OAuthPrompt, lo as acquireUpdateLock, lr as detectOtherAgents, ls as GitPr, lt as SessionExportAnchor, m as WORKSPACE_MAX_ENTRIES, ma as runUpdateWorkerMain, mi as DecisionModelEntry, mn as supportsOAuth, mo as CompanionSpec, mr as isWindowOnlySetting, ms as GitSyncResult, mt as resolveSessionExportTarget, n as ContentSearchOptions, na as unwrapCallTool, ni as useEnabledToggleSet, nn as PlanLifecycleHooksOptions, no as readUpdateAppliedMarker, nr as onboardingProviders, ns as chatAutoCompactBehavior, nt as StreamSource, o as resolvePaths, oa as UPDATE_RESULT_FILE, oi as DiscoverySlot, on as normalizeRedirectPaste, oo as UPDATE_LOCK_FILE, or as ProbeLocalModelServersOptions, os as GitBranchRow, ot as buildSpawnStartEvent, p as workspaceEntryOps, pa as readUpdateWorkerResult, pi as useDiscoveryOptional, pn as signsInWithIntegration, po as updateLockPath, pr as WINDOW_LOCAL_SETTINGS, ps as GitSwitchTarget, pt as renderSession, q as CATPPUCCIN_MACCHIATO, qa as UpgradeReport, qi as PLAN_MODE_DOCTRINE, qn as ImageModelEntry, qo as applyMarkdownSubagents, qr as WORKTREE_ENVIRONMENT_KIND, qt as cachedRepoKeyOf, r as ContentSearchResult, ra as FollowRunningUpdateOptions, ri as parseEditorCommand, rn as createPlanLifecycleHooks, ro as updateAppliedMarkerPath, rr as DetectOnboardingOptions, rs as chatWindowBehavior, rt as useStreamBuffer, s as WorkspaceMediaOptions, sa as UpdateWorkerOutcome, si as DiscoverySlotOptions, sn as redirectUriFromAuthUrl, so as UPDATE_LOCK_STALE_MS, sr as connectorGithubToken, ss as GitCommitInfo, st as SettingsProvider, t as ContentMatch, ta as UnwrappedToolCall, ti as EnabledToggleSet, tn as repoKeyOf, to as probeInstalledVersion, tr as FEATURED_PROVIDERS, ts as storeHasDurability, tt as StreamBuffer, u as LocalEntryOps, ua as UpdateWorkerUpgradeCommand, ui as DiscoveryContextValue, un as oauthUsesManualCodePaste, uo as describeUpdateLockHolder, ur as onboardingInstallSignals, us as GitPrItem, ut as SessionExportFormat, v as gitDiff, va as UseUpdateCheckOptions, vi as resolveDecisionsOption, vn as RemoveMcpResult, vo as DetectPackageManagerOptions, vr as FetchGithubUsageOptions, vs as CLAUDE_IMPORT_NOTES, vt as ProjectsFile, w as writeWorkspaceFile, wa as EMPTY_HINTS, wi as ArtifactReferenceEntry, wn as McpToolsCache, wo as PlatformTarballOptions, wr as watchGitRepository, ws as claudeImportHostNote, wt as isOnSafelist, x as gitStatusOf, xa as useAutoInstallUpdate, xi as useConfig, xn as removeMcpServer, xo as PackageManagerId, xr as GitWatches, xs as ClaudeImportOptions, xt as addToSafelistForCwd, y as gitShowHead, ya as buildRestartHint, yi as testDecisionModel, yn as UpsertMcpResult, yo as InPlaceUpdateResult, yr as fetchGithubUsage, ys as ClaudeCopyResult, yt as SafelistProject, z as DiagnosticsToolInfo, za as isAutoInstallCandidate, zi as ACTIONS_WITH_CARE_DOCTRINE, zn as createMcpStatusTracker, zo as ArtifactScope, zr as gitOriginUrl, zt as fetchAllProviderUsage } from "./browser-entry-DP6PZ2Ar.js";
|
|
5
5
|
import { r as parseRemoteHostUrl, t as RemoteHostError } from "./url-Cd-mpFST.js";
|
|
6
|
-
import { C as createCapabilityProbe, S as environmentCredentialsPath, _ as ListExtensionSourceOptions, a as resolveSessionCwd, b as createFileEnvironmentSecrets, c as createFileMcpCredentialStore, d as extractEditPayloadForGate, f as readFileSafe, g as createArtifactKindsHost, h as ArtifactKindsHost, i as folderlessCwd, l as mcpCredentialsPath, m as serializePreview, n as defaultSkillScanPaths, o as scopeCwd, p as resolveCwdPath, r as discoverProjectSkills, s as formatPathForCwd, t as buildSkillsConfig, u as patchMcpCredential, v as clearExtensionSourceCache, w as tryOpenBrowser, x as createMemoryEnvironmentSecrets, y as listExtensionSource } from "./index-
|
|
6
|
+
import { C as createCapabilityProbe, S as environmentCredentialsPath, _ as ListExtensionSourceOptions, a as resolveSessionCwd, b as createFileEnvironmentSecrets, c as createFileMcpCredentialStore, d as extractEditPayloadForGate, f as readFileSafe, g as createArtifactKindsHost, h as ArtifactKindsHost, i as folderlessCwd, l as mcpCredentialsPath, m as serializePreview, n as defaultSkillScanPaths, o as scopeCwd, p as resolveCwdPath, r as discoverProjectSkills, s as formatPathForCwd, t as buildSkillsConfig, u as patchMcpCredential, v as clearExtensionSourceCache, w as tryOpenBrowser, x as createMemoryEnvironmentSecrets, y as listExtensionSource } from "./index-BypbUp-D.js";
|
|
7
7
|
export { ACCOUNT_CRED_KEY_INFIX, ACTIONS_WITH_CARE_DOCTRINE, ALTERNATE_CRED_KEY_SUFFIX, API_KEY_ACCOUNT_LABEL, APPROVAL_MODE_OPTIONS, APPROVAL_MODE_TRADEOFFS, ARTIFACTS_COMPLETION_PROVIDER_ID, ASK_USER_TOOL, AUTOMATIC_INTERACTION_INSTRUCTION, AUTO_COMPACT_MIN_GROWTH_FRACTION, AUTO_INSTALL_RETRY_BACKOFF_MS, type AccessScope, type ActionSetting, type ActionSettingContext, type ActionSettingResult, type ActionSettingStatus, type ActionSettingStatusContext, type ActionSettingValue, type ActivePlanSummary, type ActiveTrigger, type AddFn, type AgentAccent, type AgentComposition, type AgentEditor, type AgentProfile, type AgentRegistry, type AgentsDomain, type AgentsMdFile, type AgentsMdResult, type AnswerValue, type ApiKeyCredential, type AppInfo, type ApplyPlanResult, type ApprovalDecision, type ApprovalHub, type ApprovalMode, type ApprovalOriginator, type ApprovalRequest, type ApprovalRequestInput, type ArtifactKindsHost, type ArtifactReferenceData, type ArtifactReferenceEntry, type ArtifactScope, type ArtifactViewGroup, type ArtifactViewRow, type ArtifactsDomain, type AuthMethod, type AutoCompactDecision, type AutoCompactInput, type AutoInstallOutcome, type AutoInstallSkipReason, type AutoTitleAction, type AutoUpdateConfig, BUILD_AGENT, BUILD_CODEMODE_AGENT, BUILTIN_AGENTS, BUILTIN_PROVIDERS, BUILTIN_SUBAGENTS, BUILTIN_THEMES, type BadgeAction, type BadgeActionEffect, type BadgeAction$1 as BadgeActionSpec, type BadgeActionWire, type BadgeActionsMatch, type BadgeTarget, type BadgeTargetKind, type Bindable, type BooleanSetting, type BooleanSettingKey, type BuildExtensionRegistryOptions, type BuildHintsOptions, type BuildSystemOptions, type BuildUpdateHintOptions, type BuiltInPrompt, type BuiltinEnvironmentOptions, CACHE_HINT_MIN_TOKENS, CALL_TOOL_NAME, CATPPUCCIN_FRAPPE, CATPPUCCIN_LATTE, CATPPUCCIN_MACCHIATO, CATPPUCCIN_MOCHA, CHATS_TRIGGER, CLAUDE_IMPORT_NOTES, CLOSED_PLAN_STATES, COMMANDS_TRIGGER, COMMUNICATION_DOCTRINE, CONNECTORS, CONNECTOR_CATEGORIES, CRED_KEY_SLOT_SEPARATOR, type CacheChipContent, type CacheChipTone, type CachedMcpToolList, type CatalogDomain, type CatalogEditor, type CatalogEntry, type ChatHost, type ChatHostEnvironment, type ChatOptions, type ChatReferenceData, type ChatReferenceEntry, type ChatReferenceScope, type ChatTurnsReadToolOptions, type CheckForUpdateOptions, type ChipColor, type ChipColorMap, type ClaudeCopyResult, type ClaudeImportActiveHost, type ClaudeImportOptions, type ClaudeImportSummary, type ClaudeSessionImportResult, type Cleanup, type CloneRun, type Command, type CommandAgentResult, type CommandArgSuggestion, type CommandArgSuggestionSummary, type CommandAttachment, type CommandExecution, type CommandInteraction, type CommandInvocation, type CommandListing, type CommandOutputBlock, type CommandSource, type CommandSpawnResult, type CommandSpawnTask, type CommandSpec, type CommandStep, type CommandStepContext, type CommandStepFn, type CommandStepResult, type CommandSummary, type CommandsDomain, type Commit, type CompactionEntry, type CompactionReport, type CompanionSpec, type CompletionContext, type CompletionItem, type CompletionProvider, type CompletionReference, type CompletionState, type ComponentRef, type ComponentWire, type ComposerDomain, ConfigProvider, type ConfirmQuestion, type Connection, type ConnectorAuth, type ConnectorAuthWords, type ConnectorCategory, type ConnectorCategoryMeta, type ConnectorEntry, type ConnectorInput, type ConnectorTokenAuth, type ConnectorTransport, type ContentMatch, type ContentSearchOptions, type ContentSearchResult, type ContextBreakdown, type ContextBreakdownContributionContext, type ContextBreakdownContributor, type ContextBreakdownOptions, type ContextCategory, type ContextCategoryId, type ContextExactCounts, type ContextExtensionRow, type ContextExtensionSection, type ContextItem, type ContextMcpGroup, type ContextSection, type ContextSectionItem, type ContextSectionWire, type ContextSegment, type ContextSegmentFile, type ContextSegmentOrigin, type ContextSegmentsInput, type ContextSegmentsReport, type ContextSnapshot, type ContextUsageSplit, type Contract, type ContractToken, type ContractsDomain, type CreateExtensionMcpHostOptions, type CreateInteractionToolsOptions, type CreatePlanToolsOptions, type CreateSessionInStoreParams, type CreateSessionRequest, type Credential, type CredentialsFile, type CustomField, type CustomModelTarget, DAEMON_HEALTH_GLYPH, DAEMON_HEALTH_STYLE, DEFAULT_AGENT_ID, DEFAULT_BUDGET_EXCLUDE_TOOLS, DEFAULT_EXTENSION_SOURCE, DEFAULT_EXTENSION_SOURCE_UNREACHABLE, DEFAULT_KEYBINDINGS, DEFAULT_MAX_TODO_ITEMS, DEFAULT_OAUTH_ACCOUNT_LABEL, DEFAULT_PERSIST_EXCLUDE_TOOLS, DEFAULT_SETTINGS, DEFAULT_SPACE_ID, DEFAULT_SPACE_NAME, DEFAULT_THEME, DOING_TASKS_DOCTRINE, DURABILITY_OPTIONS, type DaemonHealth, type DaemonHealthStyle, type DaemonHealthTone, type DecisionModelEntry, type DecisionTestResult, type DesktopDomain, type DetectOnboardingOptions, type DetectOtherAgentsOptions, type DetectPackageManagerOptions, type Diagnostic, type DiagnosticSeverity, type DiagnosticsResult, type DiagnosticsToolContext, type DiagnosticsToolInfo, type DialogOptions, type DialogRequest, type DialogTimeoutError, type DiffLine, type DiffOp, type DiscoverAgentsMdOptions, type DiscoverSystemMdOptions, type DiscoveredMcp, type DiscoveredPlugin, type DiscoveryContextValue, type DiscoveryError, DiscoveryProvider, type DiscoveryResult, type DiscoverySlot, type DiscoverySlotOptions, type Disposable, type DisposedError, type DurabilityMode, EMPTY_EXTENSION_REGISTRY, EMPTY_HINTS, ENTRY_EMPTY_DIRS_LIMIT, ENTRY_IMPORT_MAX_BYTES, ENTRY_IMPORT_MAX_ENTRIES, ENTRY_IMPORT_MAX_FILE_BYTES, ENVIRONMENT_METADATA_KEY, EXCLUDED_NATIVE_EXTENSIONS, type EXTENSION_API_VERSION, type EditDiffDisplay, type EditHunk, type EditHunkSummary, type EditOutcome, type EditOutcomeKind, EditOutcomeLedger, type EditPayload, type EditSummary, type EnabledAllowlistKey, type EnabledToggleSet, type EntryCreateOptions, type EntryImportItem, type EntryImportLimits, type EntryImportResult, type EntryKind, type EntryOps, type EntryPort, type EntryRefusal, type EntryResult, type EnumSetting, type EnvSectionOptions, type EnvironmentAction, type EnvironmentActionInput, type EnvironmentActionResult, type EnvironmentActionSummary, type EnvironmentAvailability, type EnvironmentAvailabilityInput, type EnvironmentCheckout, type EnvironmentConfig, type EnvironmentConfigField, type EnvironmentConfigValue, type EnvironmentDescriptor, type EnvironmentExecution, type EnvironmentExecutionInput, type EnvironmentFieldDescriptor, EnvironmentNotReadyError, type EnvironmentPrepareInput, type EnvironmentPrepareResult, type EnvironmentProvider, type EnvironmentRegistry, type EnvironmentRequest, type EnvironmentSecrets, type EnvironmentSettings, type EnvironmentSettingsChange, type EnvironmentSettingsWrite, type EnvironmentState, type EnvironmentTeardownResult, type EnvironmentVerifyResult, type EstimateReadout, type ExtensionApiVersion, type ExtensionApprovalDecision, type ExtensionArtifactDetection, type ExtensionArtifactKindRegistration, type ExtensionArtifactQuery, type ExtensionArtifactRow, type ExtensionArtifactRowFact, type ExtensionBadgeActions, type ExtensionBadgeColor, type ExtensionBadgeIcon, type ExtensionBadgeTone, type ExtensionBehaviorTransform, type ExtensionContext, type ExtensionContextPanelSection, type ExtensionContributions, type ExtensionCreateSessionParams, type ExtensionDefinition, type ExtensionFooterHint, type ExtensionHostKind, type ExtensionInfo, type ExtensionInstallOrigin, type ExtensionKeybinding, type ExtensionKeybindingDispatchContext, type ExtensionManifest, type ExtensionMark, type ExtensionMarkInput, type ExtensionMcpConfigTransform, type ExtensionOrderedContribution, type ExtensionPanel, type ExtensionPaths, type ExtensionReferenceCard, type ExtensionReferenceCardFact, type ExtensionReferencePattern, type ExtensionReferenceProvider, type ExtensionReferenceSurface, type ExtensionReferenceView, type ExtensionRegistry, type ExtensionRunTransform, type ExtensionRuntimeEnv, type ExtensionSkillPolicy, type ExtensionSource, type ExtensionSourceEntry, type ExtensionSourceErrorCode, type ExtensionSourceInfo, type ExtensionSourceKind, type ExtensionSourceListing, type ExtensionSpaceSource, type ExtensionToolCatalogTransform, type ExtensionToolResultMetadataRegistration, FEATURED_PROVIDERS, FEATURE_GATES, FILES_TRIGGER, type FacetPath, type FailedUpdateRecord, type FeatureGate, type FeatureGateOptions, type FetchGithubUsageOptions, type FetchOAuthRedirectResult, type FetchProviderUsageOptions, type FetchRepoInfoOptions, type FileEntry, type FolderLocation, type FollowRunningUpdateOptions, type ForkSessionParams, type ForkSessionResult, type ForkSource, GRUVBOX_DARK, GRUVBOX_LIGHT, type GenerateDomain, type GenerateImageOptions, type GenerateSessionTitleOptions, type GenerateStructuredDataOptions, type GeneratedImage, type GitBranchRow, type GitChange, type GitCommitInfo, type GitInfo, type GitPr, type GitPrItem, type GitPrListResult, type GitStatusEntry, type GitSwitchResult, type GitSwitchTarget, type GitSyncResult, type GitWatches, HOST_ENABLED_LISTS, HOST_INTERACTION_ID_PREFIX, type Handle, type HighlightRange, type HighlightSegment, type Hint, type HookEvents, type HooksDomain, type HostEntry, type HostErrorCode, type HostIdentity, type HostProbe, type HostProbeResult, type HostRegistry, HostRegistryError, type HostSettings, type HostSignal, type HostTestResult, type HttpRequestInput, type HttpResponseInput, type HunkResolution, IDENTITY_PREFIX, IMPLICITLY_SAFE_TOOLS, INTERACTION_GUIDANCE, INTERACTION_GUIDANCE_NO_PROMPTS, type ImageModelEntry, type InPlaceUpdateResult, type IndexedSearchTurn, type Infer, type InlineAutocompleteContext, type InlineAutocompleteProvider, type InlineDiff, type InlineGhost, type InlineSegment, type InstalledCompanion, type InstalledServerRef, type InstalledVersionState, type InstalledVersionWatcher, type InstructionsDomain, type IntegrationCustomMethod, type IntegrationCustomResult, type IntegrationFlowIO, type IntegrationHandle, type IntegrationMethod, type IntegrationSpec, type IntegrationSpecPatch, type IntegrationsDomain, type InteractionHub, type InteractionMode, type InteractionOrigin, type InteractionRequest, type InteractionResponse, type InteractionsActions, InteractionsProvider, type InterceptOptions, type InterceptorHandler, type Interceptors, type ItemOrigin, type Json, type JsonSchema, KEYBINDING_DEFS, KEYBINDING_DEF_BY_ACTION, KEYBINDING_KEY_COL_WIDTH, type KeyAction, type KeyBindingDef, type KeyBindingSection, type KeyBindings, type KeyScope, type KeyValue, type KeymapDomain, type KeymapEntry, LOCAL_ENVIRONMENT, LOCAL_SERVER_BRANDS, LOCAL_SERVER_NAMES, type LineupEntry, type LinkHandler, type LinkHandlerItem, type LinkSource, type ListExtensionSourceOptions, type ListProjectFilesOptions, type Live, type LiveAccessor, type LiveRunStatus, type LoadedExtension, type LoadedExtensionSource, type LocalEntryOps, MARKDOWN_RENDER_CHUNK_TARGET_BYTES, MAX_CLOSED_PLANS_PER_SCOPE, MAX_PLAN_HISTORY, MAX_PLAN_STEPS, MAX_TRANSCRIPT_EVENTS, MCP_KEY_REFUSED_HINT, MCP_STATUS_LABEL, type MarkdownDefDiagnostic, type MarkdownSegment, type McpAuthEvent, McpAuthProvider, type McpAuthState, type McpAuthStateMap, type McpAuthStatus, type McpConfigScope, type McpDomain, type McpNeedsAuthReason, type McpServerStatus, type McpStatusTracker, type McpTestOutcome, type McpTestOutcomeKind, type McpTestResult, type McpToolDescriptor, type McpToolToggleSet, type McpToolsCache, type Menu, type MenuItem, type MenuWire, type ModelAliasContext, type ModelApproval, type ModelApprovalChoice, type ModelChainEntry, type ModelEditor, type ModelFallbackTarget, type ModelIdParts, type ModelInfo, type ModelNamer, type ModelOption, type ModelSetting, type ModelSettingPick, type ModelTestResult, type ModelUsageSummary, type ModelsDomain, NATIVE_EXTENSIONS, NATIVE_EXTENSIONS_REPO, NATIVE_EXTENSION_GROUPS, type NamedTool, type NativeExtensionCommandNeed, type NativeExtensionEntry, type NativeExtensionGroup, type NativeExtensionGroupMeta, type NativeExtensionNeed, type NativeExtensionNeedWords, type NoUiError, type NumberSetting, type OAuthCredential, type OAuthFlowOptions, type OAuthPrompt, ONBOARDING_AGENT_BRANDS, ONBOARDING_AGENT_NAMES, ONBOARDING_FEATURES, ONBOARDING_FEATURE_GROUPS, ONBOARDING_PREVIEW_ATTACHMENTS, ONBOARDING_PREVIEW_EVENTS, ONBOARDING_SETTING_KEYS, ONBOARDING_STEPS, ONBOARDING_STEP_SETTINGS, ONBOARDING_VERSION, ONBOARDING_WORDS, ORCHESTRATED_BY_KEY, OUTPUT_RESERVE_TOKENS, type OnOptions, type OnboardingAction, type OnboardingAgentId, type OnboardingAppearance, type OnboardingCredentialSource, type OnboardingCustomField, type OnboardingDetection, type OnboardingDraft, type OnboardingFeature, type OnboardingFeatureBadge, type OnboardingFeatureCopy, type OnboardingFeatureGroup, type OnboardingFeatureGroupMeta, type OnboardingFlowState, type OnboardingGate, type OnboardingGateInput, type OnboardingGithubIdentity, type OnboardingImportCategory, type OnboardingImportPreview, type OnboardingImportPreviewState, type OnboardingImportSelection, type OnboardingImportSessionCounts, type OnboardingImportWords, type OnboardingInstallSignals, type OnboardingInstallSignalsInput, type OnboardingLocalServer, type OnboardingMode, type OnboardingPhase, type OnboardingPlanContext, type OnboardingProgress, type OnboardingProvider, type OnboardingProviderPick, type OnboardingReadable, type OnboardingRecord, type OnboardingResult, type OnboardingRun, type OnboardingRunHost, type OnboardingRunOptions, type OnboardingRunSetup, type OnboardingRunStart, type OnboardingSettingsChange, type OnboardingSignInState, type OnboardingStart, type OnboardingState, type OnboardingStepId, type OnboardingStepMeta, type OnboardingStepScope, type OnboardingSurface, type OnboardingSwitchedFeatures, type OnboardingTask, type OnboardingTaskKind, type OnboardingTaskStatus, type OnboardingTradeoff, type OnboardingWords, type OpenInTarget, type Owner, PLANS_METADATA_KEY, PLAN_AGENT, PLAN_EDITED_NOTE_KIND, PLAN_MODE_DOCTRINE, PLAN_MODE_DOCTRINE_NO_PROMPTS, PLAN_STOPPED_NOTE_KIND, PRESENT_PLAN_TOOL, PROVIDER_BRANDS, type PackageManagerCommand, type PackageManagerId, type PaletteProviderSpec, type Panel, type PanelAction, type PanelBarsItem, type PanelBarsPoint, type PanelBarsSeries, type PanelContent, type PanelItem as PanelContentItem, type PanelControl, type PanelControlOption, type PanelCustomItem, type PanelFocus, type PanelHeatmapDay, type PanelHeatmapItem, type PanelHomeLayout, type PanelIcon, type PanelItem$1 as PanelItem, type PanelKeyValueItem, type PanelKeyValueRow, type PanelLoadContext, type PanelLoadScope, type PanelMarkdownItem, type PanelMore, type PanelRowAction, type PanelRowItem, type PanelSearch, type PanelSection, type PanelStartSession, type PanelStat, type PanelStatsItem, type PanelSurface, type PanelView, type PanelWire, type ParsedBinding, type PendingAnnotation, type PendingApprovalsStore, type PendingInteraction, type PendingInteractionEntry, type PerformInPlaceUpdateOptions, type PerformSelfUpdateOptions, type Picked, type Plan, type PlanDecision, type PlanEditOp, type PlanEvent, type PlanLifecycleHooksOptions, type PlanProgress, type PlanProposal, type PlanProposalStep, type PlanRequest, type PlanResponse, type PlanRevision, type PlanRunNotes, type PlanSession, type PlanState, type PlanStep, type PlanStopReason, type PlanView, type PlansBag, type PlansSnapshot, type PlatformTarballOptions, type PluginsDomain, type PreferCredentialResult, type PreferredCredentialTarget, type PreviewResult, type ProbeLocalModelServersOptions, type ProfileSwitchNoteContext, type ProjectEntry, type ProjectUserPath, type ProjectsFile, type PromptAttachment, type PromptConsumed, type PromptInput, type PromptSegment, type PromptSegmentRef, type PromptSubmissions, type PromptSubmitHost, type ProviderAccount, type ProviderAuth, type ProviderCredential, type ProviderDescriptor, type ProviderEditor, type ProviderFactoryOptions, type ProviderFieldView, type ProviderKey, type ProviderRegistry, type ProviderResetCredit, type ProviderResetOutcome, type ProviderUsageCredits, type ProviderUsageProbe, type ProviderUsageReport, type ProviderUsageResets, type ProviderUsageSnapshot, type ProviderUsageStatus, type ProviderUsageWindow, type ProvidersDomain, type ProvisionSessionEnvironmentInput, type ProvisionSessionEnvironmentResult, type QueryBound, type QueryValue, type Question, type QuestionChoice, type QuestionPayload, type QuestionRequest, type QuestionResponse, type QuestionType, type QueuedAttachment, type QueuedItem, RUN_RECEIPT_GLYPH, RUN_STATUS_TIME_MS, RUN_WAITING_DELAY_MS, RUN_WAITING_LABEL, type Readable, type ReconcilableEvent, type Reference, type Registry, type RegistryToken, RemoteHostError, type RemoveMcpResult, type Renderer, type RendererItem, type RendererTarget, type RendererWire, type RepoCloneResult, type RepoInfo, type RepoProgress, type RequestApproval, type ResolveStorageDirsOptions, type ResolvedApproval, type ResolvedConfig, type ResolvedExtensionKeybinding, type ResolvedPath, type ResolvedPaths, type Rpc, type RpcCallContext, type RpcCallError, type RpcClient, type RpcContract, type RpcDomain, type RpcError, type RpcEvent, type RpcEventSpec, type RpcEvents, type RpcImplementation, type RpcMethodSpec, type RpcRegistration, type RunEstimateView, type RunFoldStatus, type RunProgress, type RunReceipt, type RunReceiptCell, type RunReceiptCellKind, type RunReceiptSegment, type RunReceiptSegmentKind, type RunRetry, type RunSettledEvent, type RunTailActivity, type RunUpdateCommandOptions, type RunUpdateCommandResult, type RunningWorkItem, SELF_UPDATE_TIMEOUT_MS, SESSION_ACCOUNT_METADATA_KEY, SESSION_EVENT_STATUS_STYLE, SESSION_ROLE_KEY, SESSION_SCOPE, SETTINGS_CATEGORIES, SETTINGS_CHOICES, SETTINGS_DEFAULTS_VERSION, SETTINGS_DEFAULTS_VERSION_KEY, SETTINGS_INPUTS, SETTINGS_SECTIONS, SETTINGS_TOGGLES, SETTING_TRADEOFFS, SETUP_PALETTE_ITEM, SKILLS_TRIGGER, SPACE_METADATA_KEY, SUBAGENT_GUIDANCE, type SafeModeActions, SafeModeProvider, type SafelistProject, type Schedule, type ScheduleAction, type ScheduleCatchUp, type ScheduleCreator, type ScheduleFire, type ScheduleFireEvent, type ScheduleFireOutcome, type ScheduleInput, type ScheduleListFilter, type ScheduleNewSession, type SchedulePatch, type ScheduleTrigger, type SchedulesDomain, type Schema, type Screen, type ScreenItem, type ScreenWire, type SearchExcerpt, type SearchSessionResult, type SearchTurnResult, type SelectOption, type SelectQuestion, type SelfUpdateResult, type SendOptions, type SendTransform, type SerializedPreview, type SessionArtifact, type SessionArtifactInput, type SessionCondition, type SessionEnvironment, type SessionEnvironmentSummary, type SessionEvent, type SessionEventStatus, type SessionEventStatusStyle, type SessionEventTone, type SessionExecution, type SessionExecutionCache, type SessionExportAnchor, type SessionExportFormat, type SessionExportTarget, type SessionFacetSpec, type SessionFacetTrigger, type SessionFacetsDomain, type SessionFieldName, type SessionFieldPath, type SessionFields, type SessionGroupBy, type SessionGroupOrder, type SessionHeader, type SessionHistoryMatch, type SessionInfo, type SessionKnobs, type SessionLaunchOverrides, type SessionListPage, type SessionListQuery, type SessionListRow, type SessionListStatus, type SessionMeta, type SessionPresence, type SessionQuery, type SessionQueryAll, type SessionQueryAny, type SessionQueryEnvironment, type SessionQueryError, type SessionQueryIssue, type SessionQueryNot, type SessionSearchExcerpt, type SessionSearchIndex, type SessionSnapshot, type SessionSort, type SessionsDomain, type SetProviderCredentialOptions, type Setting, type SettingApply, type SettingBase, type SettingScope, type SettingValue, type Settings, type SettingsCategory, type SettingsCategoryDescriptor, type SettingsChoice, type SettingsDomain, type SettingsInput, type SettingsPage, type SettingsPageItem, type SettingsPageSpec, type SettingsPageWire, SettingsProvider, type SettingsSchema, type SettingsToggle, type SetupPaletteItem, type SidebarBadge, type SidebarChip, type SidebarDecoration, type SidebarDecorationItem, type SidebarDecorationWire, type SidebarFilter, type SidebarFilterItem, type SidebarFilterOption, type SidebarFilterWire, type SidebarGroup, type SidebarGroupItem, type SidebarGroupWire, type SidebarRow, type SidebarRowAction, type SidebarRowActionWire, type SidebarRowItem, type SidebarRowOpen, type SidebarRowStatus, type SidebarRowWire, type SidebarSort, type SidebarSortItem, type SidebarSortWire, type SidebarText, type SkillsDomain, type Slot, type SlotItem, type SlotName, type SlotWire, type Space, type SpaceIcon, type SpaceItem, type SpaceModelDefault, type SpaceNewSession, type SpaceWire, type SpacesSettings, type SpawnEndInfo, type SpawnStartRecord, type SpawnTreeRow, type StartGitWatch, type StartUpdateWorkerOptions, type StateStoreApi, type StepCancelledBy, type StorageDirs, type StorageDomain, type StorageMode, type StoragePathScope, type StorageScope, type StorageSlot, type Store, type StoreOptions, type StoredCredential, type StreamBuffer, type StreamEvent, type StreamProgressInfo, type StreamSource, type StringSetting, type StringSettingKey, type SyncInterceptorName, type SyntaxStyles, type SyntaxTokenStyle, type SystemMdFile, type SystemMdResult, TITLE_CHECKED_KEY, TITLE_CHECK_KEY, TITLE_SOURCE_KEY, TODOREAD_TOOL, TODOWRITE_TOOL, TODO_STATUS_GLYPHS, TOKEN_DISCIPLINE_DOCTRINE, TOOL_DISPLAY, TRANSCRIPT_PRESETS, TRANSCRIPT_PRESET_KEYS, TRANSCRIPT_PRESET_PALETTE_ID, TRANSCRIPT_TRIM_STEP_EVENTS, TRANSCRIPT_TRIM_TO_EVENTS, TUTORIALS, TUTORIAL_TOPICS, type TarballAvailabilityOptions, type TextMatchOptions, type TextModelCandidate, type TextModelOptions, type TextModelPick, type TextModelSource, type TextQuestion, type Theme, type ThemeColors, ThemeProvider, type ThemeSelect, type ThemeSurfaces, type ThemeToken, type TitleCheckRecord, type TitleSource, type TodoItem, type TodoStatus, type ToolCall, type ToolCallDecision, type ToolCallDisplay, type ToolCallResult, type ToolDisplayMeta, type ToolEditor, type ToolFormatLine, type ToolMetadataNamespace, type ToolResultDecision, type ToolsDomain, type TranscriptDensity, type TranscriptItem, type TranscriptPreset, type TranscriptPresetId, type TranscriptPresetKey, type TranscriptPresetSettings, type Transform, type TuiContributions, type TuiState, type TutorialStep, type TutorialTopic, type TutorialWords, UPDATE_APPLIED_MARKER, UPDATE_FAILED_FILE, UPDATE_LOCK_FILE, UPDATE_LOCK_STALE_MS, UPDATE_LOG_FILE, UPDATE_RESULT_FILE, USAGE_CACHE_TTL_MS, type UiDomain, type UiEntry, type UiToken, type UnwrappedToolCall, type UpdateAppliedMarker, type UpdateLockHolder, type UpdateStatus, type UpdateWorkerOutcome, type UpdateWorkerRequest, type UpdateWorkerResult, type UpdateWorkerUpgradeCommand, type UpgradeInstalledPackagesOptions, type UpgradePackageResult, type UpgradeProgressEvent, type UpgradeReport, type UpsertMcpResult, type UsageRange, type UsageSummary, type UseRestartRequiredOptions, type UseUpdateCheckOptions, VAPORWAVE_THEME, type ValueKeys, type VisibleMcpRow, WINDOW_LOCAL_SETTINGS, WORKER_REPORT_FRAGMENT, WORKSPACE_MAX_ENTRIES, WORKSPACE_MAX_FILE_BYTES, WORKTREE_ENVIRONMENT_KIND, type Walk, type WatchInstalledVersionOptions, type Webview, type WebviewItem, type WebviewWire, type WireApprovalRequest, type WireSettings, type WireSettingsExtension, type WorkspaceDomain, type WorkspaceEntry, type WorkspaceFile, type WorkspaceMediaOptions, type WorkspaceMediaRequest, type WorkspaceWriteResult, type WorktreeRef, accentColor, accountCredKey, acquireUpdateLock, activePlanSummary, activeSnapshotFor, activeSpaceOf, addToSafelist, addToSafelistForCwd, ageString, alternateCredKey, anthropicDescriptor, applyApiKeyEnv, applyEditPayload, applyEnvironmentSettingsChange, applyInsert, applyMarkdownSubagents, applyPlanEvent, applySettingsPatch, applyingPlan, assembleDiff, assertEnvironmentReady, autoInstallUpdate, autoInstallViaWorker, autoTextModelId, autoTitleAction, availableAgents, availableEnvironmentActions, bindingAlternatives, blendHsl, bootProfileEnabled, bootTick, buildBuildSystem, buildContextBreakdown, buildContextSegments, buildContextualDiff, buildEditOutcomesAnnotation, buildExtensionPreset, buildExtensionRegistry, buildHints, buildLinearRamp, buildMcpServers, buildModelCatalog, buildOnboardingResult, buildPlanSystem, buildPluginContributions, buildRestartHint, buildResumedToolResultsTurn, buildRunModel, buildSessionSearchIndex, buildSessionSearchIndexAsync, buildSkillsConfig, buildSpawnEndEvent, buildSpawnStartEvent, buildToolToggle, buildUnifiedDiff, buildUpdateHint, buildVisibleMcpRows, builtInPromptOf, builtinEnvironmentProviders, cacheBreakChip, cacheBreakNoticeText, cacheHintText, cachedRepoKeyOf, calibrationFactor, canSkipOnboardingStep, capTranscriptEvents, cerebrasDescriptor, chainAccountConflict, chainEntryKey, chainPositionOf, chainsEqual, changedCatalogItems, chatAutoCompactBehavior, chatReferenceTokensForPrompt, chatReferenceTokensFromText, chatWindowBehavior, checkForUpdate, checkPlanInvariants, checkTarballAvailable, chunkMarkdownForRender, classifyMcpTest, claudeImportHostNote, cleanTitle, clearExtensionSourceCache, clearFailedUpdate, clearMcpToolsCache, clearProviderUsageCache, clipHintsToWidth, cloneRepository, collectReferences, commandSteps, commitPlanEvent, commitPlanEventToStore, compactPath, compactSummaryEvent, compactingLabel, compareModelVersion, compareSemver, type compileQuery, composeExtensionPreset, compositionByKey, compositionFits, compositionTools, computeInlineDiff, computeLineDiff, computeTurnAnchors, configureProviderCredential, configuredProviderFields, confineToWorkspace, connectorAuthText, connectorById, connectorGithubToken, connectorInputError, connectorInstalled, connectorServerConfig, connectorsFromImport, containedEntryPath, copyNames, countClaudeSessionFiles, countNeighbors, createApprovalHub, createArtifactKindsHost, createArtifactsCompletionProvider, createAutomaticInteractionResponse, createCapabilityProbe, createCatalogPorts, createChatHost, createChatTurnsReadTool, createChatsCompletionProvider, createCommandsCompletionProvider, createDiscoverySlot, createEntryOps, createEnvironmentRegistry, createExtensionMcpHost, createFileEnvironmentSecrets, createFileMcpCredentialStore, createFilesCompletionProvider, createGitWatches, createHostRegistry, createInteractionHub, createInteractionTools, createMainSession, createMcpStatusTracker, createMemoryApprovalsStore, createMemoryEnvironmentSecrets, createOnboardingFlow, createOnboardingRun, createPathAutocompleteProvider, createPlanLifecycleHooks, createPlanTools, createPromptSubmissions, createProviderBuilder, createSessionExecutionCache, createSessionInStore, createSkillsCompletionProvider, createStateStore, createWorktreeEnvironmentProvider, credKeyOf, credentialSlotOf, credentialsPath, currentModelKeys, currentModels, currentOnboardingStep, customModelTargets, daemonGate, decideEvent, decisionsEnabled, dedupMcpServersByName, defaultEnvironmentKind, defaultExtensionScanPaths, defaultExtensionSource, defaultImportSelection, defaultMcpsConfigPaths, defaultModelOf, defaultSessionAgent, defaultSessionKnobs, defaultSessionModel, defaultSkillScanPaths, defineExtension, defineFeatureGate, deleteSessionData, deleteTurnSafely, deriveSessionTitle, describeEnvironments, describeForkFailure, describeTitleStatus, describeUpdateLockHolder, detectAuth, detectLibc, detectOnboardingEnvironment, detectOtherAgents, detectPackageManager, discoverAgentsMd, discoverExtensions, discoverProjectMcps, discoverProjectPlugins, discoverProjectSkills, discoverSystemMd, displayNameFor, disposeExtensionRegistry, editableTurnText, effectiveContextWindow, effectiveOnboardingMode, emptyPlansBag, enabledMcpsWith, enabledMcpsWithout, enabledModelOptions, enforceSettingsInvariants, engagedKillSwitches, ensureCredentialIds, ensureKeybindingsFile, entryName, entryParent, entryPath, envSection, environmentActionSummaries, environmentCredentialsPath, type escapeTemplate, estimateReadout, eventsFromTurns, executeCommand, exportFilename, extensionMark, extensionSpace, extractEditPayload, extractEditPayloadForGate, fetchAllProviderUsage, fetchGithubUsage, fetchOAuthRedirect, fetchProviderUsage, fetchProviderUsageAccounts, fetchRepoInfo, fileEntriesFromPaths, filetypeFromPath, filterChainFallbacks, filterExtensionRegistry, filterModelCatalog, filterSessionSearchCatalog, finalizeStreamingMarkdown, finalizeStreamingMarkdownForOwner, findActiveTrigger, findGitRoot, findInstalledCompanion, findProjectRoot, findSpace, fitRunReceiptCells, fmtCost, fmtTokens, folderLocation, folderlessCwd, followRunningUpdate, forgetGitCaches, forkSession, formatBindingForDisplay, formatCostUsd, formatDuration, formatEstimate, formatModelSetting, formatPathForCwd, formatPlanForModel, formatRunDuration, formatRunReceiptCells, formatRunReceiptLine, formatStoppedNotice, formatTaskStatus, formatTaskSummary, formatTokenCount, formatTokensPerSecond, formatToolCall, formatUsagePercent, freeEntryName, generateSessionTitle, generateStructuredData, getContextWindow, getMcpAuthStatus, getModelInfo, getSafelist, getSafelistForCwd, getSessionHeader, gitBranches, gitCommit, gitCreateBranch, gitDiff, gitInfo, gitOriginUrl, gitPr, gitPrList, gitShowHead, gitStatus, gitStatusOf, gitSwitch, gitSync, githubRepoOf, groupArtifacts, groupBindings, hasClaudeCodeSetup, hasRunReceipt, hasUntimedOpenCalls, hasUpdateAppliedMarker, headerFromData, highlightSegments, hintsLength, hostCredentialKey, hostImportItems, hostsFilePath, imageGenerationTools, imageModelSources, importEntries, importFromClaudeCode, importsSomething, indexOfEntry, indexOfServerRow, inferPromptRefs, inlineLoadedExtension, type integrationMethodFromOAuthProvider, invalidateDiagnostics, isAccountCredKey, isAutoInstallCandidate, isEditErrorResult, isEnvironmentEnabled, isExistingInstall, isExtensionSpaceId, isInteractionTool, isKillSwitchEngaged, isMainSession, isMcpAuthRefusal, isModelInteraction, isOnSafelist, isReservedCredKey, isSecretCustomField, isStaleRunMarker, isTitleStale, isTodoTool, isTransientFailure, isTurnHighlighted, isUpdateLockStale, isVisible, isWindowOnlySetting, joinEntry, joinFewNames, joinNames, keybindingsPath, lastContextSizeFromTurns, linkCatalogs, listDecisionModels, listDiagnosticsTools, listExtensionSource, listImageModels, listProjectFiles, listSafelists, listSessionMeta, listWorkspace, liveAgentProfiles, loadMarkdownAgents, loadMarkdownCommands, loadMcpToolsCache, loadState, localDayString, localDescriptor, localEnvironmentProvider, mainCheckoutRoot, makeRequestInteraction, makeToolContext, marginTopFor, maskToOutcomeKinds, matchesBinding, matchesSafelistEntry, mcpCredentialsPath, mcpFailureEvent, mcpFailureLine, mcpToolsCachePath, mcpsWritePath, mergeApprovalAndBodyOutcomes, mergeKeybindings, mergeOnboardingState, mergeReferences, mergeSuggestions, migrateStoredSettings, migrateTodosBag, migratedOnboardingRecords, modelChainMetadata, modelConcern, modelLabel, modelOptionsFor, modelPickKey, modelSupportsReasoning, modelsForDescriptor, mostConstrainedWindow, nameFromModelId, nativeExtensionByName, nativeExtensionEntry, nativeExtensionListing, nativeExtensionNeedText, nativeExtensionSource, needsOnboarding, newSession, newSessionModel, newSpaceId, normalizeBindingValue, normalizeLaunchOverrides, normalizeMarkdownCodeFences, normalizeRedirectPaste, normalizeRemoteUrl, normalizeSpaces, oauthAccountLabel, oauthUsesManualCodePaste, onboardingFeatureCopy, onboardingFeatures, onboardingImportParts, onboardingInstallSignals, onboardingProgress, onboardingProviders, onboardingRecord, onboardingRecords, onboardingReducer, onboardingSettingsChange, onboardingStep, onboardingSwitchedFeatures, oneLineTitle, openaiDescriptor, openrouterDescriptor, orchestratedBy, overlayHostSettings, type panelViewValue, type panelViewValues, parentPlanScope, parentServerName, parseBindingSpec, parseBindingSpecs, parseCommandInvocation, parseDecisionModel, parseEditOutcomesFromResult, parseEditorCommand, parseMcpsFile, parseModelId, parseModelSetting, parseRemoteHostUrl, parseSemver, parseSessionEventXml, partitionExtensionCatalog, patchInlineGhost, patchMcpCredential, pendingInteractionsFromTurns, performInPlaceSelfUpdate, performSelfUpdate, piIdOf, planOnboarding, planProgress, planProgressLabel, planRunNotes, planScopeForRun, planWorktreeProjectRootRemaps, previewClaudeImport, previewEditPayload, previewLine, probeInstalledVersion, probeLocalModelServers, profileComposition, profileTools, projectRootOf, projectUserPaths, projectsFilePath, proposeEvent, providerBrand, providerFactoryOptions, providerFieldViews, providerKeySetChanged, providerUsageSupported, provisionSessionEnvironment, type querySessions, quoteForShell, readCredentialEntry, readCredentials, readEnvironmentSettings, readFailedUpdate, readFileSafe, readKeybindings, readKeybindingsRaw, readPlansBag, readProjects, readProviderCredential, readProviderCredentialPair, readProviderCredentials, readSessionAccount, readSessionEnvironment, readSessionPlans, readSessionSpaceId, readUpdateAppliedMarker, readUpdateLock, readUpdateWorkerResult, readWorkspaceFile, reconcileEvents, redeemProviderReset, redirectUriFromAuthUrl, reduceMcpAuth, refreshMcpToolsCatalog, remoteHostsGate, removeFromSafelist, removeMcpServer, removeProviderCredential, removeStoredCredential, renderAgentsMdBlock, renderSession, renderSessionEventXml, renderSystemMdSeed, replaceTurnTextBlocks, replayTurns, repoKeyOf, requirementMet, resolveAgentId, resolveApprovalForPayload, resolveChipColor, resolveConfig, resolveCwdPath, resolveDecisionsOption, resolveExecution, resolveExtensionKeybindings, resolveInlineSuggestion, resolvePaths, resolvePlatformPackage, resolveProviderConfig, resolveSessionCwd, resolveSessionExportTarget, resolveSessionModel, resolveSessionSpace, resolveStorageDirs, resolveStoragePaths, resolveTheme, restoreChainFallbacks, restoreModelOptions, retryLabel, rewriteMultiEditHeader, runCompaction, runDiagnostics, runEndNotice, runEstimateView, runFoldStatus, runInProgress, runIntegrationSignIn, runOAuthLogin, runProgress, runReceiptFromRun, runRetryingLabel, runSessionEnvironmentAction, runStatusKey, runTailActivity, runUpdateCommand, runUpdateWorkerMain, runningEstimateViews, safelistProjectKey, sanitizeModelChain, sanitizeTodoItems, saveMcpToolsCache, saveState, scanExtensionDirectories, scopeCwd, scoreArtifacts, searchHighlightRanges, searchSessionHistory, searchSessionHistoryIndex, searchSessionHistoryIndexAsync, searchSessionIndex, searchSessionIndexAsync, searchSessionTurns, searchTurns, searchWorkspace, searchableTurnText, selectableTurnIds, selectionAfterTurnRemoval, serializeInteractionResponse, serializePreview, serveWorkspaceMedia, sessionComposition, sessionDirLabel, sessionEnvironmentSummary, sessionEventExcerpt, sessionEventLabel, sessionEventMeta, sessionModelFallbacks, sessionSpaceFilter, setCredentialLabel, setPreferredCredential, setProviderCredential, settingKeywords, settingsFromStored, settingsToWire, shortChord, shortId, shortSessionId, shouldAutoCompact, shouldAutoGenerateTitle, showsAccount, sideSessionParent, signsInWithIntegration, singleAgentRegistry, spaceIdForNewSession, spaceMetadata, spaceModelDefault, spaceOfSwitchItem, spaceSwitchItems, spacesEnabled, sparseSettingsUpdate, spawnLane, spawnLaneResolver, spawnParents, splitHostSettingsPatch, splitLines, splitMarkdownCodeBlocks, splitPromptSegments, startUpdateWorker, stepTranscriptCap, storeHasDurability, storedCredentialById, storedCredentialsOf, stripEditOutcomesAnnotation, stripJsonComments, stripSpawnTokensLine, subscribeMcpToolsCache, suggestSafelistEntries, sumRunCosts, summarizeArtifactCounts, summarizeEditPayload, summarizeOutcomes, summarizeUsage, supersededTools, supportsOAuth, testDecisionModel, testModel, titleFromText, titleFromTurns, toggleApplies, toggleChainEntry, toggleHeldOn, tokenEndingAtCursor, tokenize, toolCallPreview, toolInputCode, toolResultText, transcriptPreset, transcriptPresetNotice, transcriptPresetOf, transcriptPresetOfPaletteItem, transcriptPresetPaletteItem, transcriptPresetPalettePicker, truncateTitle, truncateTrailing, truncateTurnsAt, tryOpenBrowser, turnAsText, turnContextSize, turnSelectionOwnership, tutorialOnServer, uniqueChatIdsFromReferences, uniqueFilesFromReferences, uniqueSkillNamesFromReferences, unwrapCallTool, updateAppliedMarkerPath, updateChecksOptedOut, updateLockPath, updateToolEventOutcomes, upgradeError, upgradeInstalledPackages, upsertMcpServer, usageByModel, usageChecksOptedOut, usageSourceFor, useAutoInstallUpdate, useColors, useCompletion, useConfig, useDiscovery, useDiscoveryOptional, useEnabledToggleSet, useInteractionsActions, useInteractionsQueue, useMcpAuthDispatch, useMcpAuthState, useMcpToolToggleMap, useMcpToolToggleSet, useRestartRequired, useSafeModeActions, useSafeModeQueue, useSelectStyle, useSettings, useStreamBuffer, useSurfaces, useSyntaxStyles, useTheme, useUpdateCheck, userPromptCount, userScopeOverridesLoad, userSystemMdPath, verifyEnvironment, viewPlans, watchGitRepository, watchInstalledVersion, withRunningCallStarts, workspaceEntryOps, workspacePath, writeCredentialEntry, writeCredentials, writeFailedUpdate, writeProjects, writeSessionExport, writeUpdateAppliedMarker, writeWorkspaceFile };
|
package/dist/chat.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as composeExtensionPreset, t as buildExtensionPreset } from "./compose-preset-1td8qO5b.js";
|
|
2
|
-
import { At as ensureKeybindingsFile, Bt as stripJsonComments, Dt as KEYBINDING_DEFS, Et as DEFAULT_KEYBINDINGS, Ft as mergeKeybindings, It as normalizeBindingValue, Lt as readKeybindings, Mt as groupBindings, Nt as keybindingsPath, Ot as KEYBINDING_DEF_BY_ACTION, Pt as matchesBinding, Rt as readKeybindingsRaw, jt as formatBindingForDisplay, kt as KEYBINDING_KEY_COL_WIDTH, zt as resolveExtensionKeybindings } from "./registry-
|
|
2
|
+
import { At as ensureKeybindingsFile, Bt as stripJsonComments, Dt as KEYBINDING_DEFS, Et as DEFAULT_KEYBINDINGS, Ft as mergeKeybindings, It as normalizeBindingValue, Lt as readKeybindings, Mt as groupBindings, Nt as keybindingsPath, Ot as KEYBINDING_DEF_BY_ACTION, Pt as matchesBinding, Rt as readKeybindingsRaw, jt as formatBindingForDisplay, kt as KEYBINDING_KEY_COL_WIDTH, zt as resolveExtensionKeybindings } from "./registry-DWYR40B2.js";
|
|
3
3
|
import { i as nodeEntryPort } from "./contexts-DLZTSRHU.js";
|
|
4
4
|
import { i as shouldAutoCompact, n as OUTPUT_RESERVE_TOKENS, r as effectiveContextWindow, t as AUTO_COMPACT_MIN_GROWTH_FRACTION } from "./policy-Cr07FrCw.js";
|
|
5
5
|
import { a as mainCheckoutRoot, c as projectRootOf, i as folderLocation, l as repoKeyOf, n as findGitRoot, o as normalizeRemoteUrl, r as findProjectRoot, s as planWorktreeProjectRootRemaps, t as cachedRepoKeyOf } from "./project-root-BZcgGJMi.js";
|
|
@@ -17,21 +17,21 @@ import { t as projectUserPaths } from "./project-user-paths-Chsi83mp.js";
|
|
|
17
17
|
import { r as EMPTY_EXTENSION_REGISTRY } from "./row-fields-CAYcZogp.js";
|
|
18
18
|
import { n as githubAvatarUrl, r as githubPreviewImageUrl } from "./sources-h464u_hH.js";
|
|
19
19
|
import { F as bindingAlternatives, L as parseBindingSpec, R as parseBindingSpecs } from "./references-4kd0dyV5.js";
|
|
20
|
-
import { b as defineExtension, c as inlineLoadedExtension, i as discoverExtensions, m as scanExtensionDirectories, n as defaultExtensionScanPaths } from "./discovery-
|
|
21
|
-
import { I as filterExtensionRegistry, N as buildExtensionRegistry, P as disposeExtensionRegistry, R as partitionExtensionCatalog } from "./extensions-
|
|
20
|
+
import { b as defineExtension, c as inlineLoadedExtension, i as discoverExtensions, m as scanExtensionDirectories, n as defaultExtensionScanPaths } from "./discovery-CC6Uhvm8.js";
|
|
21
|
+
import { I as filterExtensionRegistry, N as buildExtensionRegistry, P as disposeExtensionRegistry, R as partitionExtensionCatalog } from "./extensions-hHKXiXSo.js";
|
|
22
22
|
import { t as resolveStorageDirs } from "./xdg-DFSAQQG8.js";
|
|
23
23
|
import { a as DEFAULT_OAUTH_ACCOUNT_LABEL, d as isReservedCredKey, i as CRED_KEY_SLOT_SEPARATOR, l as credentialSlotOf, n as ALTERNATE_CRED_KEY_SUFFIX, o as accountCredKey, p as oauthAccountLabel, r as API_KEY_ACCOUNT_LABEL, s as alternateCredKey, t as ACCOUNT_CRED_KEY_INFIX, u as isAccountCredKey } from "./cred-keys-C0KaSRp7.js";
|
|
24
|
-
import { A as getContextWindow, B as restoreModelOptions, C as writeCredentials, D as credKeyOf, E as cerebrasDescriptor, F as modelSupportsReasoning, I as modelsForDescriptor, L as openaiDescriptor, M as localDescriptor, N as modelLabel, O as defaultModelOf, P as modelOptionsFor, R as openrouterDescriptor, S as writeCredentialEntry, T as anthropicDescriptor, _ as setCredentialLabel, a as ensureCredentialIds, b as storedCredentialById, c as providerFactoryOptions, d as readCredentials, f as readProviderCredential, g as removeStoredCredential, h as removeProviderCredential, i as credentialsPath, j as getModelInfo, k as enabledModelOptions, l as providerFieldViews, m as readProviderCredentials, n as configureProviderCredential, o as isSecretCustomField, p as readProviderCredentialPair, r as configuredProviderFields, t as applyApiKeyEnv, u as readCredentialEntry, v as setPreferredCredential, w as BUILTIN_PROVIDERS, x as storedCredentialsOf, y as setProviderCredential, z as piIdOf } from "./credentials-
|
|
24
|
+
import { A as getContextWindow, B as restoreModelOptions, C as writeCredentials, D as credKeyOf, E as cerebrasDescriptor, F as modelSupportsReasoning, I as modelsForDescriptor, L as openaiDescriptor, M as localDescriptor, N as modelLabel, O as defaultModelOf, P as modelOptionsFor, R as openrouterDescriptor, S as writeCredentialEntry, T as anthropicDescriptor, _ as setCredentialLabel, a as ensureCredentialIds, b as storedCredentialById, c as providerFactoryOptions, d as readCredentials, f as readProviderCredential, g as removeStoredCredential, h as removeProviderCredential, i as credentialsPath, j as getModelInfo, k as enabledModelOptions, l as providerFieldViews, m as readProviderCredentials, n as configureProviderCredential, o as isSecretCustomField, p as readProviderCredentialPair, r as configuredProviderFields, t as applyApiKeyEnv, u as readCredentialEntry, v as setPreferredCredential, w as BUILTIN_PROVIDERS, x as storedCredentialsOf, y as setProviderCredential, z as piIdOf } from "./credentials-Bf8Bz4X-.js";
|
|
25
25
|
import { a as INTERACTION_GUIDANCE, c as PLAN_MODE_DOCTRINE_NO_PROMPTS, d as buildBuildSystem, f as buildPlanSystem, i as IDENTITY_PREFIX, l as SUBAGENT_GUIDANCE, n as COMMUNICATION_DOCTRINE, o as INTERACTION_GUIDANCE_NO_PROMPTS, p as envSection, r as DOING_TASKS_DOCTRINE, s as PLAN_MODE_DOCTRINE, t as ACTIONS_WITH_CARE_DOCTRINE, u as TOKEN_DISCIPLINE_DOCTRINE } from "./agent-prompt-BXVwL89Y.js";
|
|
26
26
|
import { A as formatPlanForModel, C as applyPlanEvent, D as checkPlanInvariants, F as planProgressLabel, L as readPlansBag, N as migrateTodosBag, O as emptyPlansBag, P as planProgress, R as viewPlans, S as activePlanSummary, _ as MAX_PLAN_HISTORY, b as PLANS_METADATA_KEY, g as MAX_CLOSED_PLANS_PER_SCOPE, h as CLOSED_PLAN_STATES, j as formatStoppedNotice, v as MAX_PLAN_STEPS, w as applyingPlan, x as SESSION_SCOPE } from "./protocol-741icQKD.js";
|
|
27
27
|
import { C as planScopeForRun, S as parentPlanScope, T as readSessionPlans, a as buildResumedToolResultsTurn, b as commitPlanEventToStore, h as pendingInteractionsFromTurns, i as PRESENT_PLAN_TOOL, l as isInteractionTool, m as makeRequestInteraction, n as AUTOMATIC_INTERACTION_INSTRUCTION, o as createAutomaticInteractionResponse, r as HOST_INTERACTION_ID_PREFIX, s as createInteractionTools, t as ASK_USER_TOOL, u as isModelInteraction, v as serializeInteractionResponse, w as proposeEvent, x as decideEvent, y as commitPlanEvent } from "./interactions-protocol-8n_AKn7Q.js";
|
|
28
|
-
import { A as createPlanTools, C as profileTools, D as DEFAULT_MAX_TODO_ITEMS, E as singleAgentRegistry, M as sanitizeTodoItems, N as createPlanLifecycleHooks, O as TODOREAD_TOOL, S as profileComposition, T as sessionComposition, _ as availableAgents, a as deleteSessionData, b as compositionFits, c as newSession, d as BUILTIN_AGENTS, f as DEFAULT_AGENT_ID, h as PLAN_AGENT, i as createSessionInStore, j as isTodoTool, k as TODOWRITE_TOOL, l as BUILD_AGENT, m as DEFAULT_PERSIST_EXCLUDE_TOOLS, o as describeForkFailure, p as DEFAULT_BUDGET_EXCLUDE_TOOLS, r as createMainSession, s as forkSession, u as BUILD_CODEMODE_AGENT, v as builtInPromptOf, w as resolveAgentId, x as compositionTools, y as compositionByKey } from "./setting-
|
|
28
|
+
import { A as createPlanTools, C as profileTools, D as DEFAULT_MAX_TODO_ITEMS, E as singleAgentRegistry, M as sanitizeTodoItems, N as createPlanLifecycleHooks, O as TODOREAD_TOOL, S as profileComposition, T as sessionComposition, _ as availableAgents, a as deleteSessionData, b as compositionFits, c as newSession, d as BUILTIN_AGENTS, f as DEFAULT_AGENT_ID, h as PLAN_AGENT, i as createSessionInStore, j as isTodoTool, k as TODOWRITE_TOOL, l as BUILD_AGENT, m as DEFAULT_PERSIST_EXCLUDE_TOOLS, o as describeForkFailure, p as DEFAULT_BUDGET_EXCLUDE_TOOLS, r as createMainSession, s as forkSession, u as BUILD_CODEMODE_AGENT, v as builtInPromptOf, w as resolveAgentId, x as compositionTools, y as compositionByKey } from "./setting-wx57dbgJ.js";
|
|
29
29
|
import { a as mostConstrainedWindow, d as TODO_STATUS_GLYPHS, i as formatUsagePercent, s as showsAccount, t as activeSnapshotFor, u as accentColor } from "./provider-usage-format-cOCNGSjh.js";
|
|
30
30
|
import { a as availableEnvironmentActions, g as runSessionEnvironmentAction, h as resolveExecution, i as assertEnvironmentReady, n as EnvironmentNotReadyError, o as createEnvironmentRegistry, p as readSessionEnvironment, r as LOCAL_ENVIRONMENT, s as environmentActionSummaries, t as ENVIRONMENT_METADATA_KEY, v as verifyEnvironment, y as workspacePath } from "./environment-DAZPEz-r.js";
|
|
31
31
|
import { C as providerKeySetChanged, D as sanitizeModelChain, E as restoreChainFallbacks, O as toggleChainEntry, a as replaceTurnTextBlocks, c as SESSION_ACCOUNT_METADATA_KEY, d as sessionModelFallbacks, f as buildRunModel, g as chainsEqual, h as chainPositionOf, l as modelChainMetadata, m as chainEntryKey, n as deleteTurnSafely, o as truncateTurnsAt, p as chainAccountConflict, r as editableTurnText, s as turnAsText, t as countNeighbors, u as readSessionAccount, v as filterChainFallbacks, y as modelPickKey } from "./turn-operations-CWoCTC_L.js";
|
|
32
32
|
import { A as SESSION_EVENT_STATUS_STYLE, C as formatModelSetting, K as renderSessionEventXml, O as ORCHESTRATED_BY_KEY, P as WORKER_REPORT_FRAGMENT, Q as sessionEventMeta, R as isMainSession, S as spacesEnabled, U as parseSessionEventXml, V as orchestratedBy, X as sessionEventExcerpt, Y as sessionDirLabel, Z as sessionEventLabel, _ as spaceIdForNewSession, a as defaultSessionAgent, b as spaceOfSwitchItem, c as extensionSpace, ct as formatCostUsd, d as newSessionModel, dt as formatRunReceiptLine, f as newSpaceId, ft as formatTokenCount, g as sessionSpaceFilter, gt as runReceiptFromRun, h as resolveSessionSpace, ht as nameFromModelId, i as activeSpaceOf, it as RUN_RECEIPT_GLYPH, j as SESSION_ROLE_KEY, l as findSpace, lt as formatRunDuration, m as readSessionSpaceId, mt as hasRunReceipt, n as DEFAULT_SPACE_NAME, nt as sideSessionParent, o as defaultSessionKnobs, p as normalizeSpaces, pt as formatTokensPerSecond, r as SPACE_METADATA_KEY, rt as truncateTitle, s as defaultSessionModel, st as fitRunReceiptCells, t as DEFAULT_SPACE_ID, tt as shortSessionId, u as isExtensionSpaceId, ut as formatRunReceiptCells, v as spaceMetadata, w as parseModelSetting, x as spaceSwitchItems, y as spaceModelDefault } from "./spaces-BdDAbJDx.js";
|
|
33
33
|
import { A as readProjects, C as addToSafelistForCwd, D as listSafelists, E as isOnSafelist, M as safelistProjectKey, N as suggestSafelistEntries, O as matchesSafelistEntry, P as writeProjects, S as addToSafelist, T as getSafelistForCwd, a as renderSystemMdSeed, c as buildMcpServers, d as discoverProjectMcps, i as discoverSystemMd, j as removeFromSafelist, k as projectsFilePath, l as dedupMcpServersByName, n as createMemoryEnvironmentSecrets, o as userScopeOverridesLoad, p as parseMcpsFile, r as environmentCredentialsPath, s as userSystemMdPath, t as createFileEnvironmentSecrets, u as defaultMcpsConfigPaths, w as getSafelist, x as IMPLICITLY_SAFE_TOOLS } from "./environment-credentials-B0nivYLV.js";
|
|
34
|
-
import { $ as CLAUDE_IMPORT_NOTES, $n as folderlessCwd, $t as createExtensionMcpHost, A as clearProviderUsageCache, An as createChatTurnsReadTool, At as writeWorkspaceFile, B as exportFilename, Bn as localEnvironmentProvider, Bt as mcpsWritePath, C as parseSemver, Cn as buildSkillsConfig, Cr as createMemoryApprovalsStore, Ct as confineToWorkspace, D as resolvePlatformPackage, Dt as gitStatusOf, E as reinstallHint, En as discoverProjectSkills, Et as gitStatus, F as redeemProviderReset, Fn as resolveSessionModel, Ft as supersededTools, G as detectOnboardingEnvironment, Gt as runIntegrationSignIn, H as resolveSessionExportTarget, Hn as createWorktreeEnvironmentProvider, Ht as upsertMcpServer, I as usageChecksOptedOut, It as makeToolContext, J as probeLocalModelServers, Jt as supportsOAuth, K as detectOtherAgents, Kt as runOAuthLogin, L as usageSourceFor, Lt as fileEntriesFromPaths, M as fetchProviderUsage, Mn as discoverAgentsMd, Mt as invalidateDiagnostics, N as fetchProviderUsageAccounts, Nn as renderAgentsMdBlock, Nt as listDiagnosticsTools, O as updateChecksOptedOut, Ot as listWorkspace, P as providerUsageSupported, Pn as createProviderBuilder, Pt as runDiagnostics, Q as listExtensionSource, Qn as serializePreview, Qt as createArtifactKindsHost, R as fetchGithubUsage, Rt as listProjectFiles, S as overrideManager, Sn as createPromptSubmissions, Sr as createApprovalHub, St as assembleDiff, T as performSelfUpdate, Tn as defaultSkillScanPaths, Tt as gitShowHead, U as writeSessionExport, Ut as oauthUsesManualCodePaste, V as renderSession, Vn as WORKTREE_ENVIRONMENT_KIND, Vt as removeMcpServer, W as connectorGithubToken, X as onboardingProviders, Xn as readFileSafe, Y as FEATURED_PROVIDERS, Yn as extractEditPayloadForGate, Yt as tryOpenBrowser, Z as clearExtensionSourceCache, Zn as resolveCwdPath, Zt as createMcpStatusTracker, _ as checkForUpdate, _n as storeHasDurability, _r as testDecisionModel, _t as gitOriginUrl, a as updateAppliedMarkerPath, ar as clearMcpToolsCache, at as createGitWatches, b as detectLibc, bn as PLAN_STOPPED_NOTE_KIND, br as liveAgentProfiles, bt as WORKSPACE_MAX_ENTRIES, c as UPDATE_LOCK_FILE, cn as patchMcpCredential, cr as refreshMcpToolsCatalog, ct as forgetGitCaches, d as describeUpdateLockHolder, dr as imageGenerationTools, dt as gitCreateBranch, en as resolveConfig, er as resolveSessionCwd, et as claudeImportHostNote, f as isUpdateLockStale, fn as createCatalogPorts, fr as imageModelSources, ft as gitInfo, g as SELF_UPDATE_TIMEOUT_MS, gr as resolveDecisionsOption, gt as cloneRepository, h as findInstalledCompanion, hr as parseDecisionModel, ht as gitSwitch, i as readUpdateAppliedMarker, it as previewClaudeImport, j as fetchAllProviderUsage, jt as resolvePaths, k as USAGE_CACHE_TTL_MS, kn as chatReferenceTokensForPrompt, kt as readWorkspaceFile, l as UPDATE_LOCK_STALE_MS, ln as provisionSessionEnvironment, lr as saveMcpToolsCache, lt as gitBranches, m as updateLockPath, mr as listDecisionModels, mt as gitPrList, n as hasUpdateAppliedMarker, nn as createChatHost, nr as buildPluginContributions, nt as hasClaudeCodeSetup, o as watchInstalledVersion, on as createFileMcpCredentialStore, or as loadMcpToolsCache, ot as watchGitRepository, p as readUpdateLock, pn as linkCatalogs, pr as listImageModels, pt as gitPr, q as onboardingInstallSignals, qt as signsInWithIntegration, r as probeInstalledVersion, rn as createInteractionHub, rr as discoverProjectPlugins, rt as importFromClaudeCode, s as writeUpdateAppliedMarker, sn as mcpCredentialsPath, sr as mcpToolsCachePath, st as gitSync, t as UPDATE_APPLIED_MARKER, tn as resolveStoragePaths, tr as scopeCwd, tt as countClaudeSessionFiles, u as acquireUpdateLock, ur as subscribeMcpToolsCache, ut as gitCommit, v as checkTarballAvailable, vn as isStaleRunMarker, vt as createCapabilityProbe, w as performInPlaceSelfUpdate, wt as gitDiff, x as detectPackageManager, xn as planRunNotes, xr as runCompaction, xt as WORKSPACE_MAX_FILE_BYTES, y as compareSemver, yn as PLAN_EDITED_NOTE_KIND, yr as changedCatalogItems, yt as searchWorkspace, zn as builtinEnvironmentProviders } from "./auto-update-restart-
|
|
34
|
+
import { $ as CLAUDE_IMPORT_NOTES, $n as folderlessCwd, $t as createExtensionMcpHost, A as clearProviderUsageCache, An as createChatTurnsReadTool, At as writeWorkspaceFile, B as exportFilename, Bn as localEnvironmentProvider, Bt as mcpsWritePath, C as parseSemver, Cn as buildSkillsConfig, Cr as createMemoryApprovalsStore, Ct as confineToWorkspace, D as resolvePlatformPackage, Dt as gitStatusOf, E as reinstallHint, En as discoverProjectSkills, Et as gitStatus, F as redeemProviderReset, Fn as resolveSessionModel, Ft as supersededTools, G as detectOnboardingEnvironment, Gt as runIntegrationSignIn, H as resolveSessionExportTarget, Hn as createWorktreeEnvironmentProvider, Ht as upsertMcpServer, I as usageChecksOptedOut, It as makeToolContext, J as probeLocalModelServers, Jt as supportsOAuth, K as detectOtherAgents, Kt as runOAuthLogin, L as usageSourceFor, Lt as fileEntriesFromPaths, M as fetchProviderUsage, Mn as discoverAgentsMd, Mt as invalidateDiagnostics, N as fetchProviderUsageAccounts, Nn as renderAgentsMdBlock, Nt as listDiagnosticsTools, O as updateChecksOptedOut, Ot as listWorkspace, P as providerUsageSupported, Pn as createProviderBuilder, Pt as runDiagnostics, Q as listExtensionSource, Qn as serializePreview, Qt as createArtifactKindsHost, R as fetchGithubUsage, Rt as listProjectFiles, S as overrideManager, Sn as createPromptSubmissions, Sr as createApprovalHub, St as assembleDiff, T as performSelfUpdate, Tn as defaultSkillScanPaths, Tt as gitShowHead, U as writeSessionExport, Ut as oauthUsesManualCodePaste, V as renderSession, Vn as WORKTREE_ENVIRONMENT_KIND, Vt as removeMcpServer, W as connectorGithubToken, X as onboardingProviders, Xn as readFileSafe, Y as FEATURED_PROVIDERS, Yn as extractEditPayloadForGate, Yt as tryOpenBrowser, Z as clearExtensionSourceCache, Zn as resolveCwdPath, Zt as createMcpStatusTracker, _ as checkForUpdate, _n as storeHasDurability, _r as testDecisionModel, _t as gitOriginUrl, a as updateAppliedMarkerPath, ar as clearMcpToolsCache, at as createGitWatches, b as detectLibc, bn as PLAN_STOPPED_NOTE_KIND, br as liveAgentProfiles, bt as WORKSPACE_MAX_ENTRIES, c as UPDATE_LOCK_FILE, cn as patchMcpCredential, cr as refreshMcpToolsCatalog, ct as forgetGitCaches, d as describeUpdateLockHolder, dr as imageGenerationTools, dt as gitCreateBranch, en as resolveConfig, er as resolveSessionCwd, et as claudeImportHostNote, f as isUpdateLockStale, fn as createCatalogPorts, fr as imageModelSources, ft as gitInfo, g as SELF_UPDATE_TIMEOUT_MS, gr as resolveDecisionsOption, gt as cloneRepository, h as findInstalledCompanion, hr as parseDecisionModel, ht as gitSwitch, i as readUpdateAppliedMarker, it as previewClaudeImport, j as fetchAllProviderUsage, jt as resolvePaths, k as USAGE_CACHE_TTL_MS, kn as chatReferenceTokensForPrompt, kt as readWorkspaceFile, l as UPDATE_LOCK_STALE_MS, ln as provisionSessionEnvironment, lr as saveMcpToolsCache, lt as gitBranches, m as updateLockPath, mr as listDecisionModels, mt as gitPrList, n as hasUpdateAppliedMarker, nn as createChatHost, nr as buildPluginContributions, nt as hasClaudeCodeSetup, o as watchInstalledVersion, on as createFileMcpCredentialStore, or as loadMcpToolsCache, ot as watchGitRepository, p as readUpdateLock, pn as linkCatalogs, pr as listImageModels, pt as gitPr, q as onboardingInstallSignals, qt as signsInWithIntegration, r as probeInstalledVersion, rn as createInteractionHub, rr as discoverProjectPlugins, rt as importFromClaudeCode, s as writeUpdateAppliedMarker, sn as mcpCredentialsPath, sr as mcpToolsCachePath, st as gitSync, t as UPDATE_APPLIED_MARKER, tn as resolveStoragePaths, tr as scopeCwd, tt as countClaudeSessionFiles, u as acquireUpdateLock, ur as subscribeMcpToolsCache, ut as gitCommit, v as checkTarballAvailable, vn as isStaleRunMarker, vt as createCapabilityProbe, w as performInPlaceSelfUpdate, wt as gitDiff, x as detectPackageManager, xn as planRunNotes, xr as runCompaction, xt as WORKSPACE_MAX_FILE_BYTES, y as compareSemver, yn as PLAN_EDITED_NOTE_KIND, yr as changedCatalogItems, yt as searchWorkspace, zn as builtinEnvironmentProviders } from "./auto-update-restart-Dkdz6rq4.js";
|
|
35
35
|
import { A as summarizeOutcomes, C as buildEditOutcomesAnnotation, D as resolveApprovalForPayload, E as parseEditOutcomesFromResult, O as rewriteMultiEditHeader, S as tokenize, T as mergeApprovalAndBodyOutcomes, _ as extractEditPayload, b as splitLines, c as inferPromptRefs, d as applyEditPayload, f as buildContextualDiff, g as computeLineDiff, h as computeInlineDiff, k as stripEditOutcomesAnnotation, n as titleFromText, o as modelConcern, p as buildUnifiedDiff, t as oneLineTitle, u as splitPromptSegments, v as filetypeFromPath, w as maskToOutcomeKinds, x as summarizeEditPayload, y as previewEditPayload } from "./session-title-text-CQvgo3yS.js";
|
|
36
36
|
import { C as titleFromTurns, D as usageByModel, E as updateToolEventOutcomes, S as sumRunCosts, T as toolResultText, _ as runProgress, a as eventsFromTurns, b as sessionEnvironmentSummary, c as headerFromData, d as loadState, f as marginTopFor, g as runInProgress, h as replayTurns, i as deriveSessionTitle, l as lastContextSizeFromTurns, n as compactSummaryEvent, o as getSessionHeader, r as createStateStore, u as listSessionMeta, v as saveState, w as toolCallPreview, x as stripSpawnTokensLine } from "./store-CjpqVefW.js";
|
|
37
37
|
import { r as buildSpawnStartEvent, t as buildSpawnEndEvent } from "./spawn-markers-Dn8JJJFW.js";
|
|
@@ -40,13 +40,13 @@ import { A as entryParent, C as ENTRY_EMPTY_DIRS_LIMIT, D as copyNames, Dt as is
|
|
|
40
40
|
import { a as TITLE_SOURCE_KEY, f as normalizeLaunchOverrides, g as EditOutcomeLedger, h as runEndNotice, i as TITLE_CHECK_KEY, l as isTitleStale, m as chatWindowBehavior, n as createSessionExecutionCache, o as autoTitleAction, p as chatAutoCompactBehavior, r as TITLE_CHECKED_KEY, s as describeTitleStatus, t as testModel, u as userPromptCount } from "./model-test-B-Y0ne-s.js";
|
|
41
41
|
import { A as decisionsEnabled, C as CATPPUCCIN_LATTE, D as SETTINGS_DEFAULTS_VERSION, E as DEFAULT_SETTINGS, M as settingsFromStored, N as sparseSettingsUpdate, O as SETTINGS_DEFAULTS_VERSION_KEY, S as CATPPUCCIN_FRAPPE, T as CATPPUCCIN_MOCHA, _ as resolveChipColor, a as SETTINGS_INPUTS, b as GRUVBOX_DARK, d as settingKeywords, g as DEFAULT_THEME, h as BUILTIN_THEMES, i as SETTINGS_CHOICES, j as migrateStoredSettings, l as enforceSettingsInvariants, m as toggleHeldOn, n as DURABILITY_OPTIONS, o as SETTINGS_SECTIONS, p as toggleApplies, r as SETTINGS_CATEGORIES, s as SETTINGS_TOGGLES, t as APPROVAL_MODE_OPTIONS, u as requirementMet, v as resolveTheme, w as CATPPUCCIN_MACCHIATO, x as GRUVBOX_LIGHT, y as VAPORWAVE_THEME } from "./settings-catalog-C8uSElb9.js";
|
|
42
42
|
import { $ as nativeExtensionSource, A as transcriptPresetNotice, At as currentModelKeys, B as ONBOARDING_AGENT_BRANDS, C as SETUP_PALETTE_ITEM, Ct as runningEstimateViews, D as TRANSCRIPT_PRESET_KEYS, Dt as autoTextModelId, E as TRANSCRIPT_PRESETS, F as ONBOARDING_FEATURES, Ft as createChatsCompletionProvider, G as defaultExtensionSource, Gt as daemonGate, H as providerBrand, Ht as retryLabel, I as ONBOARDING_FEATURE_GROUPS, It as uniqueChatIdsFromReferences, J as EXCLUDED_NATIVE_EXTENSIONS, Jt as isKillSwitchEngaged, K as nativeExtensionEntry, Kt as defineFeatureGate, L as onboardingFeatureCopy, Lt as cacheBreakChip, M as transcriptPresetOfPaletteItem, Mt as parseModelId, N as transcriptPresetPaletteItem, Nt as CHATS_TRIGGER, O as TRANSCRIPT_PRESET_PALETTE_ID, P as transcriptPresetPalettePicker, Pt as chatReferenceTokensFromText, Q as nativeExtensionByName, R as onboardingFeatures, Rt as cacheBreakNoticeText, S as ONBOARDING_VERSION, St as runEstimateView, T as planOnboarding, U as DEFAULT_EXTENSION_SOURCE, V as PROVIDER_BRANDS, W as DEFAULT_EXTENSION_SOURCE_UNREACHABLE, Wt as FEATURE_GATES, X as NATIVE_EXTENSIONS_REPO, Y as NATIVE_EXTENSIONS, Yt as remoteHostsGate, Z as NATIVE_EXTENSION_GROUPS, _ as createOnboardingFlow, _t as estimateReadout, a as effectiveOnboardingMode, at as mcpFailureLine, b as onboardingReducer, c as migratedOnboardingRecords, d as onboardingRecords, et as enabledMcpsWith, f as onboardingSettingsChange, g as canSkipOnboardingStep, h as applySettingsPatch, ht as calibrationFactor, i as buildOnboardingResult, it as isMcpAuthRefusal, j as transcriptPresetOf, jt as currentModels, k as transcriptPreset, kt as compareModelVersion, l as needsOnboarding, m as ONBOARDING_STEP_SETTINGS, n as localDayString, nt as MCP_KEY_REFUSED_HINT, o as isExistingInstall, p as ONBOARDING_SETTING_KEYS, q as nativeExtensionListing, qt as engagedKillSwitches, r as summarizeUsage, rt as classifyMcpTest, s as mergeOnboardingState, tt as enabledMcpsWithout, u as onboardingRecord, v as currentOnboardingStep, w as onboardingStep, x as ONBOARDING_STEPS, y as onboardingProgress, yt as formatEstimate, z as LOCAL_SERVER_BRANDS, zt as compactingLabel } from "./usage-summary-3xm9Zadp.js";
|
|
43
|
-
import { i as detectAuth } from "./cli-shared-
|
|
43
|
+
import { i as detectAuth } from "./cli-shared-VGYq10bZ.js";
|
|
44
44
|
import { c as applyEnvironmentSettingsChange, d as isEnvironmentEnabled, f as readEnvironmentSettings, i as overlayHostSettings, l as defaultEnvironmentKind, n as WINDOW_LOCAL_SETTINGS, o as settingsToWire, p as resolveProviderConfig, r as isWindowOnlySetting, s as splitHostSettingsPatch, t as HOST_ENABLED_LISTS, u as describeEnvironments } from "./host-scoped-settings-jlq5zWs4.js";
|
|
45
45
|
import { t as HostRegistryError } from "./types-CiUp8oom.js";
|
|
46
46
|
import { r as parseRemoteHostUrl, t as RemoteHostError } from "./url-znC3tmKE.js";
|
|
47
|
-
import { n as hostCredentialKey, r as hostsFilePath, t as createHostRegistry } from "./registry-
|
|
47
|
+
import { n as hostCredentialKey, r as hostsFilePath, t as createHostRegistry } from "./registry-yhXC9O2x.js";
|
|
48
48
|
import { t as cliStyle } from "./cli-style-DBEm6CyT.js";
|
|
49
|
-
import { C as upgradeError, D as summarizeArtifactCounts, E as groupArtifacts, S as readFailedUpdate, T as upgradeInstalledPackages, _ as UPDATE_FAILED_FILE, a as UPDATE_RESULT_FILE, b as isAutoInstallCandidate, c as readUpdateWorkerResult, d as buildRestartHint, f as buildUpdateHint, g as AUTO_INSTALL_RETRY_BACKOFF_MS, h as useUpdateCheck, i as UPDATE_LOG_FILE, l as runUpdateWorkerMain, m as useRestartRequired, n as buildHints, o as autoInstallViaWorker, p as useAutoInstallUpdate, r as shortChord, s as followRunningUpdate, t as formatPathForCwd, u as startUpdateWorker, v as autoInstallUpdate, w as writeFailedUpdate, x as isTransientFailure, y as clearFailedUpdate } from "./path-display-
|
|
49
|
+
import { C as upgradeError, D as summarizeArtifactCounts, E as groupArtifacts, S as readFailedUpdate, T as upgradeInstalledPackages, _ as UPDATE_FAILED_FILE, a as UPDATE_RESULT_FILE, b as isAutoInstallCandidate, c as readUpdateWorkerResult, d as buildRestartHint, f as buildUpdateHint, g as AUTO_INSTALL_RETRY_BACKOFF_MS, h as useUpdateCheck, i as UPDATE_LOG_FILE, l as runUpdateWorkerMain, m as useRestartRequired, n as buildHints, o as autoInstallViaWorker, p as useAutoInstallUpdate, r as shortChord, s as followRunningUpdate, t as formatPathForCwd, u as startUpdateWorker, v as autoInstallUpdate, w as writeFailedUpdate, x as isTransientFailure, y as clearFailedUpdate } from "./path-display-Dm4nSwwF.js";
|
|
50
50
|
import { A as clipHintsToWidth, B as createDiscoverySlot, C as McpAuthProvider, D as useInteractionsActions, E as InteractionsProvider, G as ConfigProvider, H as useDiscovery, I as SettingsProvider, J as createArtifactsCompletionProvider, K as useConfig, L as useSettings, M as hintsLength, N as truncateTrailing, O as useInteractionsQueue, P as useEnabledToggleSet, Q as bootTick, R as parseEditorCommand, S as parentServerName, T as useMcpAuthState, U as useDiscoveryOptional, V as DiscoveryProvider, X as useCompletion, Y as scoreArtifacts, Z as bootProfileEnabled, _ as buildToolToggle, a as useSurfaces, b as buildVisibleMcpRows, c as useStreamBuffer, d as useSafeModeQueue, f as hasUntimedOpenCalls, g as redirectUriFromAuthUrl, h as normalizeRedirectPaste, i as useSelectStyle, k as EMPTY_HINTS, l as SafeModeProvider, m as fetchOAuthRedirect, n as ThemeProvider, o as useSyntaxStyles, p as withRunningCallStarts, q as ARTIFACTS_COMPLETION_PROVIDER_ID, r as useColors, s as useTheme, t as computeTurnAnchors, u as useSafeModeActions, v as useMcpToolToggleMap, w as useMcpAuthDispatch, x as indexOfServerRow, y as useMcpToolToggleSet, z as quoteForShell } from "./transcript-anchors-CJDv-zeW.js";
|
|
51
51
|
import { $ as ONBOARDING_WORDS, A as stepTranscriptCap, B as RUN_WAITING_LABEL, Bt as FILES_TRIGGER, Ct as getMcpAuthStatus, Dt as chunkMarkdownForRender, Et as MARKDOWN_RENDER_CHUNK_TARGET_BYTES, F as spawnLane, Ft as DAEMON_HEALTH_GLYPH, G as APPROVAL_MODE_TRADEOFFS, Gt as blendHsl, H as runRetryingLabel, Ht as uniqueFilesFromReferences, I as spawnLaneResolver, It as DAEMON_HEALTH_STYLE, J as createOnboardingRun, Jt as cacheHintText, K as SETTING_TRADEOFFS, Kt as buildLinearRamp, L as spawnParents, Lt as SKILLS_TRIGGER, N as turnContextSize, Nt as splitMarkdownCodeBlocks, Q as ONBOARDING_AGENT_NAMES, R as RUN_STATUS_TIME_MS, Rt as createSkillsCompletionProvider, St as MCP_STATUS_LABEL, Tt as reduceMcpAuth, U as runStatusKey, Ut as COMMANDS_TRIGGER, V as runFoldStatus, Vt as createFilesCompletionProvider, W as runTailActivity, Wt as createCommandsCompletionProvider, X as onboardingSwitchedFeatures, Y as onboardingImportParts, Z as LOCAL_SERVER_NAMES, _ as capTranscriptEvents, _t as buildModelCatalog, a as displayNameFor, at as TUTORIAL_TOPICS, b as finalizeStreamingMarkdown, bt as indexOfEntry, c as MAX_TRANSCRIPT_EVENTS, ct as ONBOARDING_PREVIEW_EVENTS, dt as CONNECTORS, et as connectorAuthText, ft as CONNECTOR_CATEGORIES, gt as connectorServerConfig, ht as connectorInstalled, it as TUTORIALS, jt as normalizeMarkdownCodeFences, lt as defaultImportSelection, m as TRANSCRIPT_TRIM_TO_EVENTS, mt as connectorInputError, n as reconcileEvents, nt as joinNames, o as formatToolCall, ot as tutorialOnServer, p as TRANSCRIPT_TRIM_STEP_EVENTS, pt as connectorById, q as connectorsFromImport, qt as CACHE_HINT_MIN_TOKENS, r as TOOL_DISPLAY, rt as nativeExtensionNeedText, s as toolInputCode, st as ONBOARDING_PREVIEW_ATTACHMENTS, tt as joinFewNames, ut as importsSomething, vt as customModelTargets, wt as mcpFailureEvent, x as finalizeStreamingMarkdownForOwner, yt as filterModelCatalog, z as RUN_WAITING_DELAY_MS, zt as uniqueSkillNamesFromReferences } from "./transcript-reconcile-Y_ukF9uY.js";
|
|
52
52
|
import { t as extensionMark } from "./extension-mark-QjhM8g4v.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createProcessContext } from "./contexts-DLZTSRHU.js";
|
|
2
2
|
import { createSandboxContext } from "./contexts/sandbox.js";
|
|
3
3
|
import { p as oauthAccountLabel, r as API_KEY_ACCOUNT_LABEL } from "./cred-keys-C0KaSRp7.js";
|
|
4
|
-
import { D as credKeyOf, d as readCredentials, x as storedCredentialsOf } from "./credentials-
|
|
5
|
-
import { i as integrationCredentialKey, r as fromEntries } from "./auth-store-port-
|
|
4
|
+
import { D as credKeyOf, d as readCredentials, x as storedCredentialsOf } from "./credentials-Bf8Bz4X-.js";
|
|
5
|
+
import { i as integrationCredentialKey, r as fromEntries } from "./auth-store-port-BHEXS3VS.js";
|
|
6
6
|
import { t as createDaytonaProvider } from "./daytona-BzRqVoAn.js";
|
|
7
7
|
import { n as hostWorkspaceMounts, t as createDockerContext } from "./docker-D3CARts8.js";
|
|
8
8
|
import { t as createE2BProvider } from "./e2b-4ByYdO1e.js";
|
|
@@ -256,4 +256,4 @@ function isRemoteSandboxContext(type) {
|
|
|
256
256
|
//#endregion
|
|
257
257
|
export { integrationCredentialsOf as a, detectAuth as i, isRemoteSandboxContext as n, isIntegrationCredentialKey as o, activeAccountOf as r, createCliExecution as t };
|
|
258
258
|
|
|
259
|
-
//# sourceMappingURL=cli-shared-
|
|
259
|
+
//# sourceMappingURL=cli-shared-VGYq10bZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-shared-DyAIGvCc.js","names":[],"sources":["../src/chat/providers-integration.ts","../src/chat/auth.ts","../src/cli-shared.ts"],"sourcesContent":["/**\n * Providers that sign in through an integration (`ProviderDescriptor.integration`):\n * their connections, read from the integration's entry in `credentials.json`\n * and shaped like provider credentials, for the code that asks \"is this\n * provider signed in, and as whom\" (`detectAuth`) and the usage probes.\n *\n * Read from the file, not from a registry: pickers and probes run in every\n * host and process, with or without the extension runtime that registered\n * the integration, and the file is what every runtime writes.\n */\n\nimport type { CredentialsFile, ProviderCredential } from './credentials'\nimport { fromEntries, integrationCredentialKey } from '../extensions/integrations/auth-store-port'\n\n/** One connection of a provider's integration, as a provider credential. */\nexport interface IntegrationProviderCredential {\n /** Identity of the connection for lists and caches (`integration:<id>@<account>`); not a credentials-file key. */\n key: string\n /** The connection's credential: an OAuth grant (its extras spread in), or an API key / token as `apikey`. `id` is the account. */\n credential: ProviderCredential\n /** The integration's default connection. */\n active: boolean\n /** The connection's account (its stable id). */\n account: string\n /** What to show for it. */\n label: string\n}\n\n/**\n * The connections of `integrationId` in a read credentials file, the default first.\n *\n * @param all - The parsed credentials file.\n * @param integrationId - The integration the provider signs in with.\n */\nexport function integrationCredentialsOf(all: CredentialsFile, integrationId: string): IntegrationProviderCredential[] {\n const fileKey = integrationCredentialKey(integrationId)\n const entry = all[fileKey]\n const stored = entry ? fromEntries(integrationId, entry) ?? [] : []\n return stored.map(({ connection, credential, refreshToken }, i) => {\n const label = connection.label ?? connection.account\n const asProvider: ProviderCredential = credential.type === 'oauth'\n ? {\n ...credential.extra,\n kind: 'oauth',\n access: credential.accessToken,\n ...(refreshToken ? { refresh: refreshToken } : {}),\n ...(credential.expiresAt !== undefined ? { expires: credential.expiresAt } : {}),\n label,\n id: connection.account,\n }\n : { kind: 'apikey', value: credential.type === 'apiKey' ? credential.key : credential.token, id: connection.account }\n return { key: `${fileKey}@${connection.account}`, credential: asProvider, active: i === 0, account: connection.account, label }\n })\n}\n\n/**\n * Whether a usage credential key names an integration connection (whose\n * refresh only the integration's registry can run).\n *\n * @param key - A {@link IntegrationProviderCredential.key} or a credentials-file key.\n */\nexport function isIntegrationCredentialKey(key: string): boolean {\n return key.startsWith(integrationCredentialKey(''))\n}\n","import type { ProviderCredential } from './credentials'\nimport type { ProviderDescriptor } from './providers'\nimport { API_KEY_ACCOUNT_LABEL } from './cred-keys'\nimport { oauthAccountLabel, readCredentials, storedCredentialsOf } from './credentials'\nimport { credKeyOf } from './providers'\nimport { integrationCredentialsOf } from './providers-integration'\n\nexport { API_KEY_ACCOUNT_LABEL } from './cred-keys'\n\n/**\n * Provider identifier as known to the TUI. Built-in keys include `anthropic`,\n * `openai`, `openrouter` and `cerebras`, and hosts can register additional\n * keys via {@link ProviderDescriptor} — so the type is open.\n */\nexport type ProviderKey = string\n\n/** One credential source detected for a provider. */\nexport interface AuthMethod {\n /** Where the credential comes from: an environment variable, a stored OAuth grant, or a stored API key. */\n source: 'env' | 'oauth' | 'apikey'\n /**\n * Human-readable detail: the env var name, the credentials file, or an\n * OAuth grant's expiry. The OAuth account name is in `label`, not here.\n */\n detail: string\n /**\n * True for the credential every reader actually resolves.\n *\n * Exactly one STORED credential is active: the one in the canonical file key\n * (see `alternateCredKey`). A provider can hold an API key and any number of\n * OAuth accounts, so the list alone does not say which one wins. `env` is\n * never marked active — it is an observable signal, not a stored credential\n * the user can promote.\n *\n * Optional so hosts that build `ProviderAuth` themselves (this type is public\n * via `zidane/chat`) keep compiling; absent reads as \"not active\".\n * {@link detectAuth} always sets it.\n */\n active?: boolean\n /**\n * Credentials-file key of a STORED credential — the identity to hand to\n * `setPreferredCredential({ key })` / `removeStoredCredential`. Several OAuth\n * accounts share `source: 'oauth'`, so `source` alone does not select one.\n * Absent for `env`.\n */\n key?: string\n /**\n * Account name — always set for stored OAuth credentials: the user-given one,\n * or `DEFAULT_OAUTH_ACCOUNT_LABEL` when the grant was never named.\n */\n label?: string\n /**\n * Set for a connection of the provider's integration\n * (`ProviderDescriptor.integration`): sign it in, out or make it the\n * default through the integration, not the provider's credential slots\n * (such a method has no {@link key}). `id` is its account.\n */\n integration?: { id: string, account: string }\n /**\n * Stable id of a STORED credential (`ProviderCredential.id`): unlike\n * {@link key}, it does not move when another account is promoted. What a\n * session pinned to this account stores. Absent for `env`, and for an entry\n * written before ids until its next write.\n */\n id?: string\n}\n\n/** One stored credential of a provider that a session can run on (see {@link ProviderAuth.accounts}). */\nexport interface ProviderAccount {\n /** The credential's stable id: what a session pins (`metadata.account`). */\n id: string\n /** Display name: the OAuth account's label, or `API key`. */\n label: string\n /** Whether the account is an OAuth grant or an API key. */\n kind: 'oauth' | 'apikey'\n /** The provider's active credential (what an unpinned session runs on). */\n active: boolean\n}\n\n/** Authentication state of one provider, as listed by {@link detectAuth}. */\nexport interface ProviderAuth {\n /** Provider key. */\n key: ProviderKey\n /** Display name of the provider. */\n label: string\n /** True when at least one credential source is present. */\n available: boolean\n /** Credential sources currently present, stored credentials first. */\n methods: AuthMethod[]\n /**\n * The stored credentials a session can be pinned to, active first — set\n * only when there is a choice: the provider's factory takes an account\n * (`ProviderDescriptor.accounts`) and at least two are stored. Absent:\n * one account (or none), so pickers show the provider as before.\n */\n accounts?: ProviderAccount[]\n /**\n * Env var this provider reads, when it declares one.\n *\n * Carried separately from {@link methods} because the settings list shows the\n * env slot even when it holds nothing. `methods` only ever lists sources that\n * are actually present, since `available` is derived from it.\n */\n envKey?: string\n}\n\n/** The stored, id-carrying credentials among `methods`, as accounts (order kept: active first). */\nfunction accountsOf(methods: readonly AuthMethod[]): ProviderAccount[] {\n const out: ProviderAccount[] = []\n for (const method of methods) {\n if (!method.id || (method.source !== 'oauth' && method.source !== 'apikey'))\n continue\n out.push({\n id: method.id,\n label: method.source === 'oauth' ? (method.label ?? 'Default') : API_KEY_ACCOUNT_LABEL,\n kind: method.source,\n active: method.active === true,\n })\n }\n return out\n}\n\n/**\n * Detect available auth for every registered provider.\n *\n * A method appears in `methods` for every layer that has a credential:\n *\n * - `kind: 'apikey'` from `credentials.json` (injected into env at TUI launch)\n * - explicit env var (descriptor's `envKey`)\n * - `kind: 'oauth'` from `credentials.json` (migrated on first read from a\n * legacy `.credentials.json`, see `readCredentials`), one per stored account\n *\n * The preferred credential lives in the canonical file key and is flagged\n * {@link AuthMethod.active}; the others sit in sibling slots and are reported\n * too, keyed by {@link AuthMethod.key}, so the UI can offer to promote or\n * remove them. Order within `methods` is presentational — active first — not a\n * resolution order, because the active flag answers that directly.\n *\n * Never refreshes tokens or rewrites existing credentials. The one write is\n * the first-read migration of a legacy `.credentials.json` when\n * `credentials.json` does not exist yet (see `readCredentials`).\n *\n * @param dataDir - Directory holding `credentials.json`.\n * @param registry - Provider descriptors keyed by id.\n * @param env - Environment used to look for ambient credentials. Defaults to `process.env`.\n */\nexport function detectAuth(\n dataDir: string,\n registry: Readonly<Record<string, ProviderDescriptor>>,\n env: Record<string, string | undefined> = process.env,\n): ProviderAuth[] {\n const creds = readCredentials(dataDir)\n\n return Object.values(registry).map((descriptor) => {\n const methods: AuthMethod[] = []\n const stored = storedCredentialsOf(creds, credKeyOf(descriptor))\n const fileEntry = stored.find(s => s.active)?.credential\n\n // 1. Stored API key / OAuth accounts, active first. Every slot goes through\n // the same description so a parked credential renders identically to the\n // preferred one, differing only in `active`.\n const describeStored = (key: string, entry: ProviderCredential, active: boolean): AuthMethod | undefined => {\n const id = typeof entry.id === 'string' && entry.id ? { id: entry.id } : {}\n if (entry.kind === 'apikey' && entry.value)\n return { source: 'apikey', detail: 'credentials.json', active, key, ...id }\n if (entry.kind === 'oauth' && entry.access) {\n const label = oauthAccountLabel(entry)\n const expiry = typeof entry.expires === 'number'\n ? `expires ${new Date(entry.expires).toLocaleString()}`\n : 'credentials.json'\n return { source: 'oauth', detail: expiry, active, key, label, ...id }\n }\n return undefined\n }\n\n for (const slot of stored) {\n const method = describeStored(slot.key, slot.credential, slot.active)\n if (method)\n methods.push(method)\n }\n\n // 1a. Connections of the integration the provider signs in with. The\n // default is active unless a slot of the provider's own already is.\n if (descriptor.integration) {\n const ownActive = methods.some(m => m.active)\n for (const connection of integrationCredentialsOf(creds, descriptor.integration)) {\n const method = describeStored(connection.key, connection.credential, connection.active && !ownActive)\n if (!method)\n continue\n const { key: _key, ...rest } = method\n methods.push({ ...rest, label: connection.label, id: connection.account, integration: { id: descriptor.integration, account: connection.account } })\n }\n }\n\n // 1b. customFields-only credential (descriptor has no `envKey` and is\n // authenticated entirely by configuration — e.g. the `local` provider,\n // where the auth signal is the configured base URL). The credential\n // is \"present\" when every required field has a stored value.\n if (\n fileEntry?.kind === 'apikey'\n && !fileEntry.value\n && descriptor.customFields\n && descriptor.customFields.length > 0\n ) {\n const stored = fileEntry.customFields ?? {}\n const required = descriptor.customFields.filter(f => f.required)\n const allRequiredPresent = required.every(\n f => typeof stored[f.key] === 'string' && (stored[f.key] as string).length > 0,\n )\n if (allRequiredPresent) {\n methods.push({ source: 'apikey', detail: 'credentials.json (configured)', active: true })\n }\n }\n\n // 1c. Env-only custom field configuration. This lets local/OpenAI-compatible\n // endpoints participate in auth/model detection when configured through\n // `LOCAL_LLM_BASE_URL` without first writing credentials.json.\n if (descriptor.customFields && descriptor.customFields.length > 0) {\n const required = descriptor.customFields.filter(f => f.required)\n const allRequiredPresent = required.length > 0 && required.every(\n f => typeof env[f.envVar] === 'string' && (env[f.envVar] as string).length > 0,\n )\n\n if (allRequiredPresent) {\n methods.push({ source: 'env', detail: required.map(f => f.envVar).join(', '), active: false })\n }\n }\n\n // 2. Env var (may be set by `applyApiKeyEnv` from a stored key, or by the\n // user's shell. Either way, treated as the same observable signal.)\n if (descriptor.envKey && env[descriptor.envKey])\n methods.push({ source: 'env', detail: descriptor.envKey, active: false })\n\n // Selection identity is the file key for stored credentials and `source`\n // for everything else. Two API-key rows cannot be a choice the user can\n // express (there is one API key per provider) — a customFields-configured\n // credential sitting beside a stored one, or a stale duplicate from an\n // older build, collapses to the FIRST, which the order above makes the\n // active one. OAuth accounts are distinct by key and all survive.\n const unique: AuthMethod[] = []\n for (const method of methods) {\n const duplicate = unique.some(seen =>\n method.source === 'oauth'\n ? seen.key !== undefined && seen.key === method.key\n : seen.source === method.source,\n )\n if (!duplicate)\n unique.push(method)\n }\n\n const accounts = descriptor.accounts === true ? accountsOf(unique) : []\n return {\n key: descriptor.key,\n label: descriptor.label,\n available: unique.length > 0,\n methods: unique,\n ...(accounts.length >= 2 ? { accounts } : {}),\n ...(descriptor.envKey ? { envKey: descriptor.envKey } : {}),\n }\n })\n}\n\n/**\n * The id of the account a provider's unpinned sessions run on: its active\n * stored credential, or its integration's default connection. `undefined`\n * when it has no stored account (env only, or signed out).\n *\n * @param dataDir - Directory holding `credentials.json`.\n * @param descriptor - The provider.\n * @param env - Environment used to look for ambient credentials. Defaults to `process.env`.\n */\nexport function activeAccountOf(dataDir: string, descriptor: ProviderDescriptor, env: Record<string, string | undefined> = process.env): string | undefined {\n const [auth] = detectAuth(dataDir, { [descriptor.key]: descriptor }, env)\n return auth?.methods.find(method => method.active === true && method.id)?.id\n}\n","/**\n * Shared glue for the CLI entrypoints (`start.ts` — human renderer,\n * `headless-cli.ts` — machine contract). Both build an execution context,\n * resolve a session (memory or sqlite), and parse `--mcp` config the same way;\n * this module is the single source of truth for that wiring so the two CLIs\n * stay in lockstep without duplicating it.\n */\n\nimport type { ExecutionContext } from './contexts'\nimport type { DurabilityMode } from './durable/setting'\nimport type { DurableOptions, DurableRuntime } from './durable/types'\nimport type { Session } from './session'\nimport { createProcessContext, createSandboxContext } from './contexts'\nimport { createDaytonaProvider } from './contexts/daytona'\nimport { createDockerContext, hostWorkspaceMounts } from './contexts/docker'\nimport { createE2BProvider } from './contexts/e2b'\nimport { LEASE_STALE_MS } from './durable/lease'\nimport { DEFAULT_DURABILITY } from './durable/setting'\nimport { sqliteRuntimeForStore } from './durable/sqlite-runtime'\nimport { createMemoryStore, createSession, loadSession } from './session'\n\nexport { parseMcpConfig } from './start/shared-options'\n\n/**\n * Build the execution context for a CLI run: `process` (default), `docker`,\n * `e2b`, or `daytona`.\n *\n * The `e2b` backend reads its `E2B_API_KEY` / `E2B_DOMAIN` / `E2B_TEMPLATE`\n * from the environment (point `E2B_DOMAIN` at a self-hosted cluster, and set\n * `E2B_TEMPLATE` to a template that exists there — the default `base` does\n * not); `--cwd` becomes the sandbox working directory.\n *\n * The Daytona backend reads `DAYTONA_API_KEY` / `DAYTONA_API_URL` /\n * `DAYTONA_TARGET` from the environment. `--cwd` becomes the sandbox working\n * directory.\n *\n * Docker: when `--cwd` is an existing host directory, its git worktree (and\n * the git common dir, for linked worktrees) is bind-mounted at the same\n * absolute path (git hooks/config read-only); otherwise, or when that tree\n * is `/`, `$HOME`, or an ancestor of it, `--cwd` is a container-only path.\n *\n * `env` (from `--env` / `--pass-env`) is forwarded to whichever context is\n * selected: baked into remote sandboxes at create time, set on the Docker\n * container, or merged into the in-process command environment.\n *\n * `pregame` (from `--pregame`) is supported by the remote sandbox providers:\n * a setup script uploaded and run in the sandbox once it's ready, before\n * prompting begins.\n *\n * `sandboxId` (from `--sandbox`) attaches to a pre-existing remote sandbox\n * instead of creating a fresh one.\n */\nexport function createCliExecution(type: string, opts: { image?: string, cwd?: string, env?: Record<string, string>, pregame?: { name: string, content: string }, sandboxId?: string, sandboxOnDestroy?: 'kill' | 'pause' | 'leave' }): ExecutionContext {\n switch (type) {\n case 'docker': {\n // An existing host dir is bind-mounted at the same path so the agent\n // works on the real checkout; a container-only path mounts nothing.\n const mounts = opts.cwd ? hostWorkspaceMounts(opts.cwd) : []\n return createDockerContext({ image: opts.image, cwd: opts.cwd, env: opts.env, ...(mounts.length > 0 ? { mounts } : {}) })\n }\n case 'e2b':\n return createSandboxContext(createE2BProvider({ cwd: opts.cwd, env: opts.env, ...(opts.pregame ? { pregame: opts.pregame } : {}), ...(opts.sandboxId ? { sandboxId: opts.sandboxId } : {}), ...(opts.sandboxOnDestroy ? { onDestroy: opts.sandboxOnDestroy } : {}) }))\n case 'daytona':\n return createSandboxContext(createDaytonaProvider({ cwd: opts.cwd, env: opts.env, ...(opts.pregame ? { pregame: opts.pregame } : {}), ...(opts.sandboxId ? { sandboxId: opts.sandboxId } : {}), ...(opts.sandboxOnDestroy ? { onDestroy: opts.sandboxOnDestroy } : {}) }))\n case 'process':\n default:\n return createProcessContext({ cwd: opts.cwd, env: opts.env })\n }\n}\n\n/**\n * Contexts whose filesystem is a remote sandbox: host paths don't exist\n * there, so host-derived cwds must not be forwarded.\n */\nexport function isRemoteSandboxContext(type: string): boolean {\n return type === 'e2b' || type === 'daytona'\n}\n\n/** The session of a CLI run, with what durability gives it. */\nexport interface CliSession {\n session: Session\n /**\n * `createAgent`'s `durable`: the SQLite runtime the session is stored on,\n * unless `durability` is `off` or the session lives in memory. `on`\n * resumes an interrupted run before a run; `resume-ask` heals it.\n */\n durable?: DurableOptions\n /** A checkpoint run a dead process left in the session, to continue (`agent.resume`) before the prompt. */\n resumeRunId?: string\n}\n\n/**\n * Resolve the session for a CLI run.\n * - `sessionDb` set → sqlite-backed; resume `sessionId` if it exists, else\n * create it (or a fresh id when `sessionId` is omitted).\n * - `sessionDb` absent → in-memory store (no durability).\n *\n * Fresh sessions are saved immediately so the store has a header row from\n * the start — incremental `appendTurns` against a header-less sqlite store\n * would otherwise be silent no-ops, and an error / Ctrl+C before the final\n * save would lose the whole run.\n *\n * Durability (`Settings.durability`, default `resume-ask`): unless `off`,\n * runs keep checkpoints on the session's SQLite file. An existing session\n * whose last run a dead process left is resumed (`on`), or resumed when\n * `ask` says so (`resume-ask`; without `ask`, nobody to ask, it is\n * not); otherwise its interrupted tool calls are healed\n * (`healInterruptedToolCalls`).\n * @param sessionDb - SQLite sessions file.\n * @param sessionId - Session to resume or create.\n * @param options - Durability of the run, and how to ask before resuming.\n * @param options.durability - `on`, `resume-ask` or `off`.\n * @param options.ask - Ask the user whether to resume an interrupted run.\n */\nexport async function createCliSession(sessionDb?: string, sessionId?: string, options: { durability?: DurabilityMode, ask?: () => Promise<boolean> } = {}): Promise<CliSession> {\n if (sessionDb) {\n const { createSqliteStore } = await import('./session/sqlite')\n const store = createSqliteStore({ path: sessionDb })\n const durability = options.durability ?? DEFAULT_DURABILITY\n const durable = durability === 'off' ? undefined : sqliteRuntimeForStore(store)\n const withDurable = (session: Session, resumeRunId?: string): CliSession => ({\n session,\n ...(durable ? { durable: { runtime: durable, onInterrupted: durability === 'on' ? 'resume' : 'heal' } } : {}),\n ...(resumeRunId !== undefined ? { resumeRunId } : {}),\n })\n if (sessionId) {\n const existing = await loadSession(store, sessionId)\n if (existing) {\n const resumeRunId = durable ? await interruptedRun(durable, sessionId, durability, options.ask) : undefined\n // No run claim on this path: resolving the session IS the run start,\n // so heal here (see `healInterruptedToolCalls`). A resumed run\n // dispatches its pending calls itself.\n if (resumeRunId === undefined)\n await existing.healInterruptedToolCalls()\n return withDurable(existing, resumeRunId)\n }\n const session = await createSession({ store, id: sessionId })\n await session.save()\n return withDurable(session)\n }\n const session = await createSession({ store })\n await session.save()\n return withDurable(session)\n }\n return { session: await createSession({ store: createMemoryStore() }) }\n}\n\n/** The run of `sessionId` a dead process left, when the durability says to resume it. */\nasync function interruptedRun(durable: DurableRuntime, sessionId: string, durability: DurabilityMode, ask: (() => Promise<boolean>) | undefined): Promise<string | undefined> {\n const pending = (await durable.lease?.resumable({ staleAt: Date.now() - LEASE_STALE_MS }) ?? []).filter(run => run.sessionId === sessionId).at(-1)\n if (!pending)\n return undefined\n if (durability === 'on' || (durability === 'resume-ask' && await ask?.()))\n return pending.runId\n return undefined\n}\n\n/**\n * Install SIGINT/SIGTERM handlers for a CLI run. The first signal aborts the\n * returned `AbortSignal` so the running agent can unwind cleanly (persist the\n * session, destroy execution contexts) and the process exits through the\n * normal path — which is what fires the `process.on('exit')` orphan reaper\n * for detached background process groups. A second signal force-exits\n * immediately (the synchronous 'exit' reaper still runs, but async cleanup\n * such as Docker container teardown is skipped).\n */\nexport function installCliSignalHandlers(): AbortSignal {\n const controller = new AbortController()\n const onSignal = (name: NodeJS.Signals): void => {\n if (controller.signal.aborted)\n process.exit(name === 'SIGTERM' ? 143 : 130) // 128 + signal number\n controller.abort(new Error(`Received ${name}, stopping the run`))\n }\n process.on('SIGINT', () => onSignal('SIGINT'))\n process.on('SIGTERM', () => onSignal('SIGTERM'))\n return controller.signal\n}\n"],"mappings":";;;;;;;;;;;;;;;AAkCA,SAAgB,yBAAyB,KAAsB,eAAwD;CACrH,MAAM,UAAU,yBAAyB,aAAa;CACtD,MAAM,QAAQ,IAAI;CAElB,QADe,QAAQ,YAAY,eAAe,KAAK,KAAK,CAAC,IAAI,CAAC,EAAA,CACpD,KAAK,EAAE,YAAY,YAAY,gBAAgB,MAAM;EACjE,MAAM,QAAQ,WAAW,SAAS,WAAW;EAC7C,MAAM,aAAiC,WAAW,SAAS,UACvD;GACE,GAAG,WAAW;GACd,MAAM;GACN,QAAQ,WAAW;GACnB,GAAI,eAAe,EAAE,SAAS,aAAa,IAAI,CAAC;GAChD,GAAI,WAAW,cAAc,KAAA,IAAY,EAAE,SAAS,WAAW,UAAU,IAAI,CAAC;GAC9E;GACA,IAAI,WAAW;EACjB,IACA;GAAE,MAAM;GAAU,OAAO,WAAW,SAAS,WAAW,WAAW,MAAM,WAAW;GAAO,IAAI,WAAW;EAAQ;EACtH,OAAO;GAAE,KAAK,GAAG,QAAQ,GAAG,WAAW;GAAW,YAAY;GAAY,QAAQ,MAAM;GAAG,SAAS,WAAW;GAAS;EAAM;CAChI,CAAC;AACH;;;;;;;AAQA,SAAgB,2BAA2B,KAAsB;CAC/D,OAAO,IAAI,WAAW,yBAAyB,EAAE,CAAC;AACpD;;;;AC4CA,SAAS,WAAW,SAAmD;CACrE,MAAM,MAAyB,CAAC;CAChC,KAAK,MAAM,UAAU,SAAS;EAC5B,IAAI,CAAC,OAAO,MAAO,OAAO,WAAW,WAAW,OAAO,WAAW,UAChE;EACF,IAAI,KAAK;GACP,IAAI,OAAO;GACX,OAAO,OAAO,WAAW,UAAW,OAAO,SAAS,YAAa;GACjE,MAAM,OAAO;GACb,QAAQ,OAAO,WAAW;EAC5B,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,SAAgB,WACd,SACA,UACA,MAA0C,QAAQ,KAClC;CAChB,MAAM,QAAQ,gBAAgB,OAAO;CAErC,OAAO,OAAO,OAAO,QAAQ,CAAC,CAAC,KAAK,eAAe;EACjD,MAAM,UAAwB,CAAC;EAC/B,MAAM,SAAS,oBAAoB,OAAO,UAAU,UAAU,CAAC;EAC/D,MAAM,YAAY,OAAO,MAAK,MAAK,EAAE,MAAM,CAAC,EAAE;EAK9C,MAAM,kBAAkB,KAAa,OAA2B,WAA4C;GAC1G,MAAM,KAAK,OAAO,MAAM,OAAO,YAAY,MAAM,KAAK,EAAE,IAAI,MAAM,GAAG,IAAI,CAAC;GAC1E,IAAI,MAAM,SAAS,YAAY,MAAM,OACnC,OAAO;IAAE,QAAQ;IAAU,QAAQ;IAAoB;IAAQ;IAAK,GAAG;GAAG;GAC5E,IAAI,MAAM,SAAS,WAAW,MAAM,QAAQ;IAC1C,MAAM,QAAQ,kBAAkB,KAAK;IAIrC,OAAO;KAAE,QAAQ;KAAS,QAHX,OAAO,MAAM,YAAY,WACpC,WAAW,IAAI,KAAK,MAAM,OAAO,CAAC,CAAC,eAAe,MAClD;KACsC;KAAQ;KAAK;KAAO,GAAG;IAAG;GACtE;EAEF;EAEA,KAAK,MAAM,QAAQ,QAAQ;GACzB,MAAM,SAAS,eAAe,KAAK,KAAK,KAAK,YAAY,KAAK,MAAM;GACpE,IAAI,QACF,QAAQ,KAAK,MAAM;EACvB;EAIA,IAAI,WAAW,aAAa;GAC1B,MAAM,YAAY,QAAQ,MAAK,MAAK,EAAE,MAAM;GAC5C,KAAK,MAAM,cAAc,yBAAyB,OAAO,WAAW,WAAW,GAAG;IAChF,MAAM,SAAS,eAAe,WAAW,KAAK,WAAW,YAAY,WAAW,UAAU,CAAC,SAAS;IACpG,IAAI,CAAC,QACH;IACF,MAAM,EAAE,KAAK,MAAM,GAAG,SAAS;IAC/B,QAAQ,KAAK;KAAE,GAAG;KAAM,OAAO,WAAW;KAAO,IAAI,WAAW;KAAS,aAAa;MAAE,IAAI,WAAW;MAAa,SAAS,WAAW;KAAQ;IAAE,CAAC;GACrJ;EACF;EAMA,IACE,WAAW,SAAS,YACjB,CAAC,UAAU,SACX,WAAW,gBACX,WAAW,aAAa,SAAS,GACpC;GACA,MAAM,SAAS,UAAU,gBAAgB,CAAC;GAK1C,IAJiB,WAAW,aAAa,QAAO,MAAK,EAAE,QACrB,CAAC,CAAC,OAClC,MAAK,OAAO,OAAO,EAAE,SAAS,YAAa,OAAO,EAAE,IAAI,CAAY,SAAS,CAE1D,GACnB,QAAQ,KAAK;IAAE,QAAQ;IAAU,QAAQ;IAAiC,QAAQ;GAAK,CAAC;EAE5F;EAKA,IAAI,WAAW,gBAAgB,WAAW,aAAa,SAAS,GAAG;GACjE,MAAM,WAAW,WAAW,aAAa,QAAO,MAAK,EAAE,QAAQ;GAK/D,IAJ2B,SAAS,SAAS,KAAK,SAAS,OACzD,MAAK,OAAO,IAAI,EAAE,YAAY,YAAa,IAAI,EAAE,OAAO,CAAY,SAAS,CAC/E,GAGE,QAAQ,KAAK;IAAE,QAAQ;IAAO,QAAQ,SAAS,KAAI,MAAK,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI;IAAG,QAAQ;GAAM,CAAC;EAEjG;EAIA,IAAI,WAAW,UAAU,IAAI,WAAW,SACtC,QAAQ,KAAK;GAAE,QAAQ;GAAO,QAAQ,WAAW;GAAQ,QAAQ;EAAM,CAAC;EAQ1E,MAAM,SAAuB,CAAC;EAC9B,KAAK,MAAM,UAAU,SAMnB,IAAI,CALc,OAAO,MAAK,SAC5B,OAAO,WAAW,UACd,KAAK,QAAQ,KAAA,KAAa,KAAK,QAAQ,OAAO,MAC9C,KAAK,WAAW,OAAO,MAEhB,GACX,OAAO,KAAK,MAAM;EAGtB,MAAM,WAAW,WAAW,aAAa,OAAO,WAAW,MAAM,IAAI,CAAC;EACtE,OAAO;GACL,KAAK,WAAW;GAChB,OAAO,WAAW;GAClB,WAAW,OAAO,SAAS;GAC3B,SAAS;GACT,GAAI,SAAS,UAAU,IAAI,EAAE,SAAS,IAAI,CAAC;GAC3C,GAAI,WAAW,SAAS,EAAE,QAAQ,WAAW,OAAO,IAAI,CAAC;EAC3D;CACF,CAAC;AACH;;;;;;;;;;AAWA,SAAgB,gBAAgB,SAAiB,YAAgC,MAA0C,QAAQ,KAAyB;CAC1J,MAAM,CAAC,QAAQ,WAAW,SAAS,GAAG,WAAW,MAAM,WAAW,GAAG,GAAG;CACxE,OAAO,MAAM,QAAQ,MAAK,WAAU,OAAO,WAAW,QAAQ,OAAO,EAAE,CAAC,EAAE;AAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9NA,SAAgB,mBAAmB,MAAc,MAAwM;CACvP,QAAQ,MAAR;EACE,KAAK,UAAU;GAGb,MAAM,SAAS,KAAK,MAAM,oBAAoB,KAAK,GAAG,IAAI,CAAC;GAC3D,OAAO,oBAAoB;IAAE,OAAO,KAAK;IAAO,KAAK,KAAK;IAAK,KAAK,KAAK;IAAK,GAAI,OAAO,SAAS,IAAI,EAAE,OAAO,IAAI,CAAC;GAAG,CAAC;EAC1H;EACA,KAAK,OACH,OAAO,qBAAqB,kBAAkB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;GAAK,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;GAAI,GAAI,KAAK,YAAY,EAAE,WAAW,KAAK,UAAU,IAAI,CAAC;GAAI,GAAI,KAAK,mBAAmB,EAAE,WAAW,KAAK,iBAAiB,IAAI,CAAC;EAAG,CAAC,CAAC;EACvQ,KAAK,WACH,OAAO,qBAAqB,sBAAsB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;GAAK,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;GAAI,GAAI,KAAK,YAAY,EAAE,WAAW,KAAK,UAAU,IAAI,CAAC;GAAI,GAAI,KAAK,mBAAmB,EAAE,WAAW,KAAK,iBAAiB,IAAI,CAAC;EAAG,CAAC,CAAC;EAE3Q,SACE,OAAO,qBAAqB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;EAAI,CAAC;CAChE;AACF;;;;;AAMA,SAAgB,uBAAuB,MAAuB;CAC5D,OAAO,SAAS,SAAS,SAAS;AACpC"}
|
|
1
|
+
{"version":3,"file":"cli-shared-VGYq10bZ.js","names":[],"sources":["../src/chat/providers-integration.ts","../src/chat/auth.ts","../src/cli-shared.ts"],"sourcesContent":["/**\n * Providers that sign in through an integration (`ProviderDescriptor.integration`):\n * their connections, read from the integration's entry in `credentials.json`\n * and shaped like provider credentials, for the code that asks \"is this\n * provider signed in, and as whom\" (`detectAuth`) and the usage probes.\n *\n * Read from the file, not from a registry: pickers and probes run in every\n * host and process, with or without the extension runtime that registered\n * the integration, and the file is what every runtime writes.\n */\n\nimport type { CredentialsFile, ProviderCredential } from './credentials'\nimport { fromEntries, integrationCredentialKey } from '../extensions/integrations/auth-store-port'\n\n/** One connection of a provider's integration, as a provider credential. */\nexport interface IntegrationProviderCredential {\n /** Identity of the connection for lists and caches (`integration:<id>@<account>`); not a credentials-file key. */\n key: string\n /** The connection's credential: an OAuth grant (its extras spread in), or an API key / token as `apikey`. `id` is the account. */\n credential: ProviderCredential\n /** The integration's default connection. */\n active: boolean\n /** The connection's account (its stable id). */\n account: string\n /** What to show for it. */\n label: string\n}\n\n/**\n * The connections of `integrationId` in a read credentials file, the default first.\n *\n * @param all - The parsed credentials file.\n * @param integrationId - The integration the provider signs in with.\n */\nexport function integrationCredentialsOf(all: CredentialsFile, integrationId: string): IntegrationProviderCredential[] {\n const fileKey = integrationCredentialKey(integrationId)\n const entry = all[fileKey]\n const stored = entry ? fromEntries(integrationId, entry) ?? [] : []\n return stored.map(({ connection, credential, refreshToken }, i) => {\n const label = connection.label ?? connection.account\n const asProvider: ProviderCredential = credential.type === 'oauth'\n ? {\n ...credential.extra,\n kind: 'oauth',\n access: credential.accessToken,\n ...(refreshToken ? { refresh: refreshToken } : {}),\n ...(credential.expiresAt !== undefined ? { expires: credential.expiresAt } : {}),\n label,\n id: connection.account,\n }\n : { kind: 'apikey', value: credential.type === 'apiKey' ? credential.key : credential.token, id: connection.account }\n return { key: `${fileKey}@${connection.account}`, credential: asProvider, active: i === 0, account: connection.account, label }\n })\n}\n\n/**\n * Whether a usage credential key names an integration connection (whose\n * refresh only the integration's registry can run).\n *\n * @param key - A {@link IntegrationProviderCredential.key} or a credentials-file key.\n */\nexport function isIntegrationCredentialKey(key: string): boolean {\n return key.startsWith(integrationCredentialKey(''))\n}\n","import type { ProviderCredential } from './credentials'\nimport type { ProviderDescriptor } from './providers'\nimport { API_KEY_ACCOUNT_LABEL } from './cred-keys'\nimport { oauthAccountLabel, readCredentials, storedCredentialsOf } from './credentials'\nimport { credKeyOf } from './providers'\nimport { integrationCredentialsOf } from './providers-integration'\n\nexport { API_KEY_ACCOUNT_LABEL } from './cred-keys'\n\n/**\n * Provider identifier as known to the TUI. Built-in keys include `anthropic`,\n * `openai`, `openrouter` and `cerebras`, and hosts can register additional\n * keys via {@link ProviderDescriptor} — so the type is open.\n */\nexport type ProviderKey = string\n\n/** One credential source detected for a provider. */\nexport interface AuthMethod {\n /** Where the credential comes from: an environment variable, a stored OAuth grant, or a stored API key. */\n source: 'env' | 'oauth' | 'apikey'\n /**\n * Human-readable detail: the env var name, the credentials file, or an\n * OAuth grant's expiry. The OAuth account name is in `label`, not here.\n */\n detail: string\n /**\n * True for the credential every reader actually resolves.\n *\n * Exactly one STORED credential is active: the one in the canonical file key\n * (see `alternateCredKey`). A provider can hold an API key and any number of\n * OAuth accounts, so the list alone does not say which one wins. `env` is\n * never marked active — it is an observable signal, not a stored credential\n * the user can promote.\n *\n * Optional so hosts that build `ProviderAuth` themselves (this type is public\n * via `zidane/chat`) keep compiling; absent reads as \"not active\".\n * {@link detectAuth} always sets it.\n */\n active?: boolean\n /**\n * Credentials-file key of a STORED credential — the identity to hand to\n * `setPreferredCredential({ key })` / `removeStoredCredential`. Several OAuth\n * accounts share `source: 'oauth'`, so `source` alone does not select one.\n * Absent for `env`.\n */\n key?: string\n /**\n * Account name — always set for stored OAuth credentials: the user-given one,\n * or `DEFAULT_OAUTH_ACCOUNT_LABEL` when the grant was never named.\n */\n label?: string\n /**\n * Set for a connection of the provider's integration\n * (`ProviderDescriptor.integration`): sign it in, out or make it the\n * default through the integration, not the provider's credential slots\n * (such a method has no {@link key}). `id` is its account.\n */\n integration?: { id: string, account: string }\n /**\n * Stable id of a STORED credential (`ProviderCredential.id`): unlike\n * {@link key}, it does not move when another account is promoted. What a\n * session pinned to this account stores. Absent for `env`, and for an entry\n * written before ids until its next write.\n */\n id?: string\n}\n\n/** One stored credential of a provider that a session can run on (see {@link ProviderAuth.accounts}). */\nexport interface ProviderAccount {\n /** The credential's stable id: what a session pins (`metadata.account`). */\n id: string\n /** Display name: the OAuth account's label, or `API key`. */\n label: string\n /** Whether the account is an OAuth grant or an API key. */\n kind: 'oauth' | 'apikey'\n /** The provider's active credential (what an unpinned session runs on). */\n active: boolean\n}\n\n/** Authentication state of one provider, as listed by {@link detectAuth}. */\nexport interface ProviderAuth {\n /** Provider key. */\n key: ProviderKey\n /** Display name of the provider. */\n label: string\n /** True when at least one credential source is present. */\n available: boolean\n /** Credential sources currently present, stored credentials first. */\n methods: AuthMethod[]\n /**\n * The stored credentials a session can be pinned to, active first — set\n * only when there is a choice: the provider's factory takes an account\n * (`ProviderDescriptor.accounts`) and at least two are stored. Absent:\n * one account (or none), so pickers show the provider as before.\n */\n accounts?: ProviderAccount[]\n /**\n * Env var this provider reads, when it declares one.\n *\n * Carried separately from {@link methods} because the settings list shows the\n * env slot even when it holds nothing. `methods` only ever lists sources that\n * are actually present, since `available` is derived from it.\n */\n envKey?: string\n}\n\n/** The stored, id-carrying credentials among `methods`, as accounts (order kept: active first). */\nfunction accountsOf(methods: readonly AuthMethod[]): ProviderAccount[] {\n const out: ProviderAccount[] = []\n for (const method of methods) {\n if (!method.id || (method.source !== 'oauth' && method.source !== 'apikey'))\n continue\n out.push({\n id: method.id,\n label: method.source === 'oauth' ? (method.label ?? 'Default') : API_KEY_ACCOUNT_LABEL,\n kind: method.source,\n active: method.active === true,\n })\n }\n return out\n}\n\n/**\n * Detect available auth for every registered provider.\n *\n * A method appears in `methods` for every layer that has a credential:\n *\n * - `kind: 'apikey'` from `credentials.json` (injected into env at TUI launch)\n * - explicit env var (descriptor's `envKey`)\n * - `kind: 'oauth'` from `credentials.json` (migrated on first read from a\n * legacy `.credentials.json`, see `readCredentials`), one per stored account\n *\n * The preferred credential lives in the canonical file key and is flagged\n * {@link AuthMethod.active}; the others sit in sibling slots and are reported\n * too, keyed by {@link AuthMethod.key}, so the UI can offer to promote or\n * remove them. Order within `methods` is presentational — active first — not a\n * resolution order, because the active flag answers that directly.\n *\n * Never refreshes tokens or rewrites existing credentials. The one write is\n * the first-read migration of a legacy `.credentials.json` when\n * `credentials.json` does not exist yet (see `readCredentials`).\n *\n * @param dataDir - Directory holding `credentials.json`.\n * @param registry - Provider descriptors keyed by id.\n * @param env - Environment used to look for ambient credentials. Defaults to `process.env`.\n */\nexport function detectAuth(\n dataDir: string,\n registry: Readonly<Record<string, ProviderDescriptor>>,\n env: Record<string, string | undefined> = process.env,\n): ProviderAuth[] {\n const creds = readCredentials(dataDir)\n\n return Object.values(registry).map((descriptor) => {\n const methods: AuthMethod[] = []\n const stored = storedCredentialsOf(creds, credKeyOf(descriptor))\n const fileEntry = stored.find(s => s.active)?.credential\n\n // 1. Stored API key / OAuth accounts, active first. Every slot goes through\n // the same description so a parked credential renders identically to the\n // preferred one, differing only in `active`.\n const describeStored = (key: string, entry: ProviderCredential, active: boolean): AuthMethod | undefined => {\n const id = typeof entry.id === 'string' && entry.id ? { id: entry.id } : {}\n if (entry.kind === 'apikey' && entry.value)\n return { source: 'apikey', detail: 'credentials.json', active, key, ...id }\n if (entry.kind === 'oauth' && entry.access) {\n const label = oauthAccountLabel(entry)\n const expiry = typeof entry.expires === 'number'\n ? `expires ${new Date(entry.expires).toLocaleString()}`\n : 'credentials.json'\n return { source: 'oauth', detail: expiry, active, key, label, ...id }\n }\n return undefined\n }\n\n for (const slot of stored) {\n const method = describeStored(slot.key, slot.credential, slot.active)\n if (method)\n methods.push(method)\n }\n\n // 1a. Connections of the integration the provider signs in with. The\n // default is active unless a slot of the provider's own already is.\n if (descriptor.integration) {\n const ownActive = methods.some(m => m.active)\n for (const connection of integrationCredentialsOf(creds, descriptor.integration)) {\n const method = describeStored(connection.key, connection.credential, connection.active && !ownActive)\n if (!method)\n continue\n const { key: _key, ...rest } = method\n methods.push({ ...rest, label: connection.label, id: connection.account, integration: { id: descriptor.integration, account: connection.account } })\n }\n }\n\n // 1b. customFields-only credential (descriptor has no `envKey` and is\n // authenticated entirely by configuration — e.g. the `local` provider,\n // where the auth signal is the configured base URL). The credential\n // is \"present\" when every required field has a stored value.\n if (\n fileEntry?.kind === 'apikey'\n && !fileEntry.value\n && descriptor.customFields\n && descriptor.customFields.length > 0\n ) {\n const stored = fileEntry.customFields ?? {}\n const required = descriptor.customFields.filter(f => f.required)\n const allRequiredPresent = required.every(\n f => typeof stored[f.key] === 'string' && (stored[f.key] as string).length > 0,\n )\n if (allRequiredPresent) {\n methods.push({ source: 'apikey', detail: 'credentials.json (configured)', active: true })\n }\n }\n\n // 1c. Env-only custom field configuration. This lets local/OpenAI-compatible\n // endpoints participate in auth/model detection when configured through\n // `LOCAL_LLM_BASE_URL` without first writing credentials.json.\n if (descriptor.customFields && descriptor.customFields.length > 0) {\n const required = descriptor.customFields.filter(f => f.required)\n const allRequiredPresent = required.length > 0 && required.every(\n f => typeof env[f.envVar] === 'string' && (env[f.envVar] as string).length > 0,\n )\n\n if (allRequiredPresent) {\n methods.push({ source: 'env', detail: required.map(f => f.envVar).join(', '), active: false })\n }\n }\n\n // 2. Env var (may be set by `applyApiKeyEnv` from a stored key, or by the\n // user's shell. Either way, treated as the same observable signal.)\n if (descriptor.envKey && env[descriptor.envKey])\n methods.push({ source: 'env', detail: descriptor.envKey, active: false })\n\n // Selection identity is the file key for stored credentials and `source`\n // for everything else. Two API-key rows cannot be a choice the user can\n // express (there is one API key per provider) — a customFields-configured\n // credential sitting beside a stored one, or a stale duplicate from an\n // older build, collapses to the FIRST, which the order above makes the\n // active one. OAuth accounts are distinct by key and all survive.\n const unique: AuthMethod[] = []\n for (const method of methods) {\n const duplicate = unique.some(seen =>\n method.source === 'oauth'\n ? seen.key !== undefined && seen.key === method.key\n : seen.source === method.source,\n )\n if (!duplicate)\n unique.push(method)\n }\n\n const accounts = descriptor.accounts === true ? accountsOf(unique) : []\n return {\n key: descriptor.key,\n label: descriptor.label,\n available: unique.length > 0,\n methods: unique,\n ...(accounts.length >= 2 ? { accounts } : {}),\n ...(descriptor.envKey ? { envKey: descriptor.envKey } : {}),\n }\n })\n}\n\n/**\n * The id of the account a provider's unpinned sessions run on: its active\n * stored credential, or its integration's default connection. `undefined`\n * when it has no stored account (env only, or signed out).\n *\n * @param dataDir - Directory holding `credentials.json`.\n * @param descriptor - The provider.\n * @param env - Environment used to look for ambient credentials. Defaults to `process.env`.\n */\nexport function activeAccountOf(dataDir: string, descriptor: ProviderDescriptor, env: Record<string, string | undefined> = process.env): string | undefined {\n const [auth] = detectAuth(dataDir, { [descriptor.key]: descriptor }, env)\n return auth?.methods.find(method => method.active === true && method.id)?.id\n}\n","/**\n * Shared glue for the CLI entrypoints (`start.ts` — human renderer,\n * `headless-cli.ts` — machine contract). Both build an execution context,\n * resolve a session (memory or sqlite), and parse `--mcp` config the same way;\n * this module is the single source of truth for that wiring so the two CLIs\n * stay in lockstep without duplicating it.\n */\n\nimport type { ExecutionContext } from './contexts'\nimport type { DurabilityMode } from './durable/setting'\nimport type { DurableOptions, DurableRuntime } from './durable/types'\nimport type { Session } from './session'\nimport { createProcessContext, createSandboxContext } from './contexts'\nimport { createDaytonaProvider } from './contexts/daytona'\nimport { createDockerContext, hostWorkspaceMounts } from './contexts/docker'\nimport { createE2BProvider } from './contexts/e2b'\nimport { LEASE_STALE_MS } from './durable/lease'\nimport { DEFAULT_DURABILITY } from './durable/setting'\nimport { sqliteRuntimeForStore } from './durable/sqlite-runtime'\nimport { createMemoryStore, createSession, loadSession } from './session'\n\nexport { parseMcpConfig } from './start/shared-options'\n\n/**\n * Build the execution context for a CLI run: `process` (default), `docker`,\n * `e2b`, or `daytona`.\n *\n * The `e2b` backend reads its `E2B_API_KEY` / `E2B_DOMAIN` / `E2B_TEMPLATE`\n * from the environment (point `E2B_DOMAIN` at a self-hosted cluster, and set\n * `E2B_TEMPLATE` to a template that exists there — the default `base` does\n * not); `--cwd` becomes the sandbox working directory.\n *\n * The Daytona backend reads `DAYTONA_API_KEY` / `DAYTONA_API_URL` /\n * `DAYTONA_TARGET` from the environment. `--cwd` becomes the sandbox working\n * directory.\n *\n * Docker: when `--cwd` is an existing host directory, its git worktree (and\n * the git common dir, for linked worktrees) is bind-mounted at the same\n * absolute path (git hooks/config read-only); otherwise, or when that tree\n * is `/`, `$HOME`, or an ancestor of it, `--cwd` is a container-only path.\n *\n * `env` (from `--env` / `--pass-env`) is forwarded to whichever context is\n * selected: baked into remote sandboxes at create time, set on the Docker\n * container, or merged into the in-process command environment.\n *\n * `pregame` (from `--pregame`) is supported by the remote sandbox providers:\n * a setup script uploaded and run in the sandbox once it's ready, before\n * prompting begins.\n *\n * `sandboxId` (from `--sandbox`) attaches to a pre-existing remote sandbox\n * instead of creating a fresh one.\n */\nexport function createCliExecution(type: string, opts: { image?: string, cwd?: string, env?: Record<string, string>, pregame?: { name: string, content: string }, sandboxId?: string, sandboxOnDestroy?: 'kill' | 'pause' | 'leave' }): ExecutionContext {\n switch (type) {\n case 'docker': {\n // An existing host dir is bind-mounted at the same path so the agent\n // works on the real checkout; a container-only path mounts nothing.\n const mounts = opts.cwd ? hostWorkspaceMounts(opts.cwd) : []\n return createDockerContext({ image: opts.image, cwd: opts.cwd, env: opts.env, ...(mounts.length > 0 ? { mounts } : {}) })\n }\n case 'e2b':\n return createSandboxContext(createE2BProvider({ cwd: opts.cwd, env: opts.env, ...(opts.pregame ? { pregame: opts.pregame } : {}), ...(opts.sandboxId ? { sandboxId: opts.sandboxId } : {}), ...(opts.sandboxOnDestroy ? { onDestroy: opts.sandboxOnDestroy } : {}) }))\n case 'daytona':\n return createSandboxContext(createDaytonaProvider({ cwd: opts.cwd, env: opts.env, ...(opts.pregame ? { pregame: opts.pregame } : {}), ...(opts.sandboxId ? { sandboxId: opts.sandboxId } : {}), ...(opts.sandboxOnDestroy ? { onDestroy: opts.sandboxOnDestroy } : {}) }))\n case 'process':\n default:\n return createProcessContext({ cwd: opts.cwd, env: opts.env })\n }\n}\n\n/**\n * Contexts whose filesystem is a remote sandbox: host paths don't exist\n * there, so host-derived cwds must not be forwarded.\n */\nexport function isRemoteSandboxContext(type: string): boolean {\n return type === 'e2b' || type === 'daytona'\n}\n\n/** The session of a CLI run, with what durability gives it. */\nexport interface CliSession {\n session: Session\n /**\n * `createAgent`'s `durable`: the SQLite runtime the session is stored on,\n * unless `durability` is `off` or the session lives in memory. `on`\n * resumes an interrupted run before a run; `resume-ask` heals it.\n */\n durable?: DurableOptions\n /** A checkpoint run a dead process left in the session, to continue (`agent.resume`) before the prompt. */\n resumeRunId?: string\n}\n\n/**\n * Resolve the session for a CLI run.\n * - `sessionDb` set → sqlite-backed; resume `sessionId` if it exists, else\n * create it (or a fresh id when `sessionId` is omitted).\n * - `sessionDb` absent → in-memory store (no durability).\n *\n * Fresh sessions are saved immediately so the store has a header row from\n * the start — incremental `appendTurns` against a header-less sqlite store\n * would otherwise be silent no-ops, and an error / Ctrl+C before the final\n * save would lose the whole run.\n *\n * Durability (`Settings.durability`, default `resume-ask`): unless `off`,\n * runs keep checkpoints on the session's SQLite file. An existing session\n * whose last run a dead process left is resumed (`on`), or resumed when\n * `ask` says so (`resume-ask`; without `ask`, nobody to ask, it is\n * not); otherwise its interrupted tool calls are healed\n * (`healInterruptedToolCalls`).\n * @param sessionDb - SQLite sessions file.\n * @param sessionId - Session to resume or create.\n * @param options - Durability of the run, and how to ask before resuming.\n * @param options.durability - `on`, `resume-ask` or `off`.\n * @param options.ask - Ask the user whether to resume an interrupted run.\n */\nexport async function createCliSession(sessionDb?: string, sessionId?: string, options: { durability?: DurabilityMode, ask?: () => Promise<boolean> } = {}): Promise<CliSession> {\n if (sessionDb) {\n const { createSqliteStore } = await import('./session/sqlite')\n const store = createSqliteStore({ path: sessionDb })\n const durability = options.durability ?? DEFAULT_DURABILITY\n const durable = durability === 'off' ? undefined : sqliteRuntimeForStore(store)\n const withDurable = (session: Session, resumeRunId?: string): CliSession => ({\n session,\n ...(durable ? { durable: { runtime: durable, onInterrupted: durability === 'on' ? 'resume' : 'heal' } } : {}),\n ...(resumeRunId !== undefined ? { resumeRunId } : {}),\n })\n if (sessionId) {\n const existing = await loadSession(store, sessionId)\n if (existing) {\n const resumeRunId = durable ? await interruptedRun(durable, sessionId, durability, options.ask) : undefined\n // No run claim on this path: resolving the session IS the run start,\n // so heal here (see `healInterruptedToolCalls`). A resumed run\n // dispatches its pending calls itself.\n if (resumeRunId === undefined)\n await existing.healInterruptedToolCalls()\n return withDurable(existing, resumeRunId)\n }\n const session = await createSession({ store, id: sessionId })\n await session.save()\n return withDurable(session)\n }\n const session = await createSession({ store })\n await session.save()\n return withDurable(session)\n }\n return { session: await createSession({ store: createMemoryStore() }) }\n}\n\n/** The run of `sessionId` a dead process left, when the durability says to resume it. */\nasync function interruptedRun(durable: DurableRuntime, sessionId: string, durability: DurabilityMode, ask: (() => Promise<boolean>) | undefined): Promise<string | undefined> {\n const pending = (await durable.lease?.resumable({ staleAt: Date.now() - LEASE_STALE_MS }) ?? []).filter(run => run.sessionId === sessionId).at(-1)\n if (!pending)\n return undefined\n if (durability === 'on' || (durability === 'resume-ask' && await ask?.()))\n return pending.runId\n return undefined\n}\n\n/**\n * Install SIGINT/SIGTERM handlers for a CLI run. The first signal aborts the\n * returned `AbortSignal` so the running agent can unwind cleanly (persist the\n * session, destroy execution contexts) and the process exits through the\n * normal path — which is what fires the `process.on('exit')` orphan reaper\n * for detached background process groups. A second signal force-exits\n * immediately (the synchronous 'exit' reaper still runs, but async cleanup\n * such as Docker container teardown is skipped).\n */\nexport function installCliSignalHandlers(): AbortSignal {\n const controller = new AbortController()\n const onSignal = (name: NodeJS.Signals): void => {\n if (controller.signal.aborted)\n process.exit(name === 'SIGTERM' ? 143 : 130) // 128 + signal number\n controller.abort(new Error(`Received ${name}, stopping the run`))\n }\n process.on('SIGINT', () => onSignal('SIGINT'))\n process.on('SIGTERM', () => onSignal('SIGTERM'))\n return controller.signal\n}\n"],"mappings":";;;;;;;;;;;;;;;AAkCA,SAAgB,yBAAyB,KAAsB,eAAwD;CACrH,MAAM,UAAU,yBAAyB,aAAa;CACtD,MAAM,QAAQ,IAAI;CAElB,QADe,QAAQ,YAAY,eAAe,KAAK,KAAK,CAAC,IAAI,CAAC,EAAA,CACpD,KAAK,EAAE,YAAY,YAAY,gBAAgB,MAAM;EACjE,MAAM,QAAQ,WAAW,SAAS,WAAW;EAC7C,MAAM,aAAiC,WAAW,SAAS,UACvD;GACE,GAAG,WAAW;GACd,MAAM;GACN,QAAQ,WAAW;GACnB,GAAI,eAAe,EAAE,SAAS,aAAa,IAAI,CAAC;GAChD,GAAI,WAAW,cAAc,KAAA,IAAY,EAAE,SAAS,WAAW,UAAU,IAAI,CAAC;GAC9E;GACA,IAAI,WAAW;EACjB,IACA;GAAE,MAAM;GAAU,OAAO,WAAW,SAAS,WAAW,WAAW,MAAM,WAAW;GAAO,IAAI,WAAW;EAAQ;EACtH,OAAO;GAAE,KAAK,GAAG,QAAQ,GAAG,WAAW;GAAW,YAAY;GAAY,QAAQ,MAAM;GAAG,SAAS,WAAW;GAAS;EAAM;CAChI,CAAC;AACH;;;;;;;AAQA,SAAgB,2BAA2B,KAAsB;CAC/D,OAAO,IAAI,WAAW,yBAAyB,EAAE,CAAC;AACpD;;;;AC4CA,SAAS,WAAW,SAAmD;CACrE,MAAM,MAAyB,CAAC;CAChC,KAAK,MAAM,UAAU,SAAS;EAC5B,IAAI,CAAC,OAAO,MAAO,OAAO,WAAW,WAAW,OAAO,WAAW,UAChE;EACF,IAAI,KAAK;GACP,IAAI,OAAO;GACX,OAAO,OAAO,WAAW,UAAW,OAAO,SAAS,YAAa;GACjE,MAAM,OAAO;GACb,QAAQ,OAAO,WAAW;EAC5B,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,SAAgB,WACd,SACA,UACA,MAA0C,QAAQ,KAClC;CAChB,MAAM,QAAQ,gBAAgB,OAAO;CAErC,OAAO,OAAO,OAAO,QAAQ,CAAC,CAAC,KAAK,eAAe;EACjD,MAAM,UAAwB,CAAC;EAC/B,MAAM,SAAS,oBAAoB,OAAO,UAAU,UAAU,CAAC;EAC/D,MAAM,YAAY,OAAO,MAAK,MAAK,EAAE,MAAM,CAAC,EAAE;EAK9C,MAAM,kBAAkB,KAAa,OAA2B,WAA4C;GAC1G,MAAM,KAAK,OAAO,MAAM,OAAO,YAAY,MAAM,KAAK,EAAE,IAAI,MAAM,GAAG,IAAI,CAAC;GAC1E,IAAI,MAAM,SAAS,YAAY,MAAM,OACnC,OAAO;IAAE,QAAQ;IAAU,QAAQ;IAAoB;IAAQ;IAAK,GAAG;GAAG;GAC5E,IAAI,MAAM,SAAS,WAAW,MAAM,QAAQ;IAC1C,MAAM,QAAQ,kBAAkB,KAAK;IAIrC,OAAO;KAAE,QAAQ;KAAS,QAHX,OAAO,MAAM,YAAY,WACpC,WAAW,IAAI,KAAK,MAAM,OAAO,CAAC,CAAC,eAAe,MAClD;KACsC;KAAQ;KAAK;KAAO,GAAG;IAAG;GACtE;EAEF;EAEA,KAAK,MAAM,QAAQ,QAAQ;GACzB,MAAM,SAAS,eAAe,KAAK,KAAK,KAAK,YAAY,KAAK,MAAM;GACpE,IAAI,QACF,QAAQ,KAAK,MAAM;EACvB;EAIA,IAAI,WAAW,aAAa;GAC1B,MAAM,YAAY,QAAQ,MAAK,MAAK,EAAE,MAAM;GAC5C,KAAK,MAAM,cAAc,yBAAyB,OAAO,WAAW,WAAW,GAAG;IAChF,MAAM,SAAS,eAAe,WAAW,KAAK,WAAW,YAAY,WAAW,UAAU,CAAC,SAAS;IACpG,IAAI,CAAC,QACH;IACF,MAAM,EAAE,KAAK,MAAM,GAAG,SAAS;IAC/B,QAAQ,KAAK;KAAE,GAAG;KAAM,OAAO,WAAW;KAAO,IAAI,WAAW;KAAS,aAAa;MAAE,IAAI,WAAW;MAAa,SAAS,WAAW;KAAQ;IAAE,CAAC;GACrJ;EACF;EAMA,IACE,WAAW,SAAS,YACjB,CAAC,UAAU,SACX,WAAW,gBACX,WAAW,aAAa,SAAS,GACpC;GACA,MAAM,SAAS,UAAU,gBAAgB,CAAC;GAK1C,IAJiB,WAAW,aAAa,QAAO,MAAK,EAAE,QACrB,CAAC,CAAC,OAClC,MAAK,OAAO,OAAO,EAAE,SAAS,YAAa,OAAO,EAAE,IAAI,CAAY,SAAS,CAE1D,GACnB,QAAQ,KAAK;IAAE,QAAQ;IAAU,QAAQ;IAAiC,QAAQ;GAAK,CAAC;EAE5F;EAKA,IAAI,WAAW,gBAAgB,WAAW,aAAa,SAAS,GAAG;GACjE,MAAM,WAAW,WAAW,aAAa,QAAO,MAAK,EAAE,QAAQ;GAK/D,IAJ2B,SAAS,SAAS,KAAK,SAAS,OACzD,MAAK,OAAO,IAAI,EAAE,YAAY,YAAa,IAAI,EAAE,OAAO,CAAY,SAAS,CAC/E,GAGE,QAAQ,KAAK;IAAE,QAAQ;IAAO,QAAQ,SAAS,KAAI,MAAK,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI;IAAG,QAAQ;GAAM,CAAC;EAEjG;EAIA,IAAI,WAAW,UAAU,IAAI,WAAW,SACtC,QAAQ,KAAK;GAAE,QAAQ;GAAO,QAAQ,WAAW;GAAQ,QAAQ;EAAM,CAAC;EAQ1E,MAAM,SAAuB,CAAC;EAC9B,KAAK,MAAM,UAAU,SAMnB,IAAI,CALc,OAAO,MAAK,SAC5B,OAAO,WAAW,UACd,KAAK,QAAQ,KAAA,KAAa,KAAK,QAAQ,OAAO,MAC9C,KAAK,WAAW,OAAO,MAEhB,GACX,OAAO,KAAK,MAAM;EAGtB,MAAM,WAAW,WAAW,aAAa,OAAO,WAAW,MAAM,IAAI,CAAC;EACtE,OAAO;GACL,KAAK,WAAW;GAChB,OAAO,WAAW;GAClB,WAAW,OAAO,SAAS;GAC3B,SAAS;GACT,GAAI,SAAS,UAAU,IAAI,EAAE,SAAS,IAAI,CAAC;GAC3C,GAAI,WAAW,SAAS,EAAE,QAAQ,WAAW,OAAO,IAAI,CAAC;EAC3D;CACF,CAAC;AACH;;;;;;;;;;AAWA,SAAgB,gBAAgB,SAAiB,YAAgC,MAA0C,QAAQ,KAAyB;CAC1J,MAAM,CAAC,QAAQ,WAAW,SAAS,GAAG,WAAW,MAAM,WAAW,GAAG,GAAG;CACxE,OAAO,MAAM,QAAQ,MAAK,WAAU,OAAO,WAAW,QAAQ,OAAO,EAAE,CAAC,EAAE;AAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9NA,SAAgB,mBAAmB,MAAc,MAAwM;CACvP,QAAQ,MAAR;EACE,KAAK,UAAU;GAGb,MAAM,SAAS,KAAK,MAAM,oBAAoB,KAAK,GAAG,IAAI,CAAC;GAC3D,OAAO,oBAAoB;IAAE,OAAO,KAAK;IAAO,KAAK,KAAK;IAAK,KAAK,KAAK;IAAK,GAAI,OAAO,SAAS,IAAI,EAAE,OAAO,IAAI,CAAC;GAAG,CAAC;EAC1H;EACA,KAAK,OACH,OAAO,qBAAqB,kBAAkB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;GAAK,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;GAAI,GAAI,KAAK,YAAY,EAAE,WAAW,KAAK,UAAU,IAAI,CAAC;GAAI,GAAI,KAAK,mBAAmB,EAAE,WAAW,KAAK,iBAAiB,IAAI,CAAC;EAAG,CAAC,CAAC;EACvQ,KAAK,WACH,OAAO,qBAAqB,sBAAsB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;GAAK,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;GAAI,GAAI,KAAK,YAAY,EAAE,WAAW,KAAK,UAAU,IAAI,CAAC;GAAI,GAAI,KAAK,mBAAmB,EAAE,WAAW,KAAK,iBAAiB,IAAI,CAAC;EAAG,CAAC,CAAC;EAE3Q,SACE,OAAO,qBAAqB;GAAE,KAAK,KAAK;GAAK,KAAK,KAAK;EAAI,CAAC;CAChE;AACF;;;;;AAMA,SAAgB,uBAAuB,MAAuB;CAC5D,OAAO,SAAS,SAAS,SAAS;AACpC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ka as HostSignal } from "./media-type-
|
|
2
|
-
import "./types-
|
|
3
|
-
import { D as IpcParams, H as SignalMeta, O as IpcResult, T as IpcMethodName, s as HelloResult } from "./protocol-
|
|
1
|
+
import { Ka as HostSignal } from "./media-type-vJuUTlW5.js";
|
|
2
|
+
import "./types-CPxqnCeG.js";
|
|
3
|
+
import { D as IpcParams, H as SignalMeta, O as IpcResult, T as IpcMethodName, s as HelloResult } from "./protocol-DlFZqIbu.js";
|
|
4
4
|
//#region src/ipc/transports/client-core.d.ts
|
|
5
5
|
/** A connected host client, shared by every transport. Requests are checked against {@link IpcMethods}. */
|
|
6
6
|
interface IpcClient {
|
|
@@ -35,4 +35,4 @@ declare class IpcVersionMismatchError extends Error {
|
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
37
|
export { IpcVersionMismatchError as n, IpcClient as t };
|
|
38
|
-
//# sourceMappingURL=client-core-
|
|
38
|
+
//# sourceMappingURL=client-core-CG_5I6Ol.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-core-
|
|
1
|
+
{"version":3,"file":"client-core-CG_5I6Ol.d.ts","names":[],"sources":["../src/ipc/transports/client-core.ts"],"mappings":";;;;;UAeiB;;EAEf,OAAO;;;;;EAKP,UAAU,UAAU,eAAe,QAAQ,GAAG,QAAQ,UAAU,OAAO,QAAQ,UAAU;;;;;;;EAOzF,SAAS,UAAU,eAAe,QAAQ,GAAG,QAAQ,UAAU;;EAE/D,WAAW,IAAI;;EAEf;;KAGU,kBAAkB,QAAQ,YAAY,OAAO;;cAG5C,gCAAgC;WAKL,SAAS;;;;;EAAnC,YAAA,iBAA0B,SAAS"}
|