@ordewell/core 0.10.0 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{IFileSystem-BCJBHFwB.d.ts → IFileSystem-CyTIoiSn.d.ts} +1 -1
  2. package/dist/{IFileSystem-Bj6fy1cG.d.mts → IFileSystem-j0naIoAQ.d.mts} +1 -1
  3. package/dist/{IRunner-C7_SSpzG.d.ts → IRunner---PfQVdc.d.mts} +25 -20
  4. package/dist/{IRunner-hWAJC4hg.d.mts → IRunner-WwL-Bjqq.d.ts} +25 -20
  5. package/dist/{ModeResolver-u5ZhRC8x.d.ts → ModeResolver-CjQ7zqTN.d.mts} +1 -1
  6. package/dist/{ModeResolver-m1d8Cb-j.d.mts → ModeResolver-DrMU-5lw.d.ts} +1 -1
  7. package/dist/{Task-CxwnCJLi.d.mts → Task-AfA1m4qW.d.mts} +35 -7
  8. package/dist/{Task-CxwnCJLi.d.ts → Task-AfA1m4qW.d.ts} +35 -7
  9. package/dist/{chunk-DJAPDO6E.mjs → chunk-3LNZDBCX.mjs} +8 -7
  10. package/dist/chunk-3LNZDBCX.mjs.map +1 -0
  11. package/dist/{chunk-DNFT4SQG.mjs → chunk-4FEARWTS.mjs} +3 -3
  12. package/dist/{chunk-2IIRSBEQ.mjs → chunk-CIL3BQIF.mjs} +4 -2
  13. package/dist/chunk-CIL3BQIF.mjs.map +1 -0
  14. package/dist/{chunk-CH5IGWFS.mjs → chunk-UQGR3UCA.mjs} +35 -3
  15. package/dist/chunk-UQGR3UCA.mjs.map +1 -0
  16. package/dist/index.d.mts +49 -36
  17. package/dist/index.d.ts +49 -36
  18. package/dist/index.js +15816 -15877
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +14846 -14941
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/parsing.d.mts +2 -2
  23. package/dist/parsing.d.ts +2 -2
  24. package/dist/parsing.js +3 -2
  25. package/dist/parsing.js.map +1 -1
  26. package/dist/parsing.mjs +3 -3
  27. package/dist/{plan-utils-CKXdD1AD.d.mts → plan-utils-DL7yOuJs.d.mts} +39 -8
  28. package/dist/{plan-utils-B6yJdpgi.d.ts → plan-utils-gpeqV-Lp.d.ts} +39 -8
  29. package/dist/plan-utils.d.mts +4 -4
  30. package/dist/plan-utils.d.ts +4 -4
  31. package/dist/plan-utils.js +44 -0
  32. package/dist/plan-utils.js.map +1 -1
  33. package/dist/plan-utils.mjs +7 -3
  34. package/dist/testing.d.mts +3 -3
  35. package/dist/testing.d.ts +3 -3
  36. package/dist/testing.js.map +1 -1
  37. package/dist/testing.mjs +1 -1
  38. package/package.json +5 -1
  39. package/dist/chunk-2IIRSBEQ.mjs.map +0 -1
  40. package/dist/chunk-CH5IGWFS.mjs.map +0 -1
  41. package/dist/chunk-DJAPDO6E.mjs.map +0 -1
  42. /package/dist/{chunk-DNFT4SQG.mjs.map → chunk-4FEARWTS.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { ac as Task, E as ExecutionActor, q as IsolationMergeResult, e as ExecutionRecord, f as GuardTrip, ab as SupervisorLevel, d as ExecutionCommandName, G as GuardTarget, $ as RunnerId, c as DiscoveredModel, W as ResearchProgress, V as ResearchLogEntry, C as ConversationMessage, a4 as SkillInfo, a5 as SkillLoad, a9 as SkillsService, L as LegacyPlanState, K as PlanStatus, m as IsolationLandedTask, I as IWorktreeIsolation, z as IsolationTaskStatus, H as PlanIsolation, ao as UsageRecord, Z as ResearchToolType, O as PlannerUsage, ak as TaskSnapshot, J as PlanState, F as IsolationView, aq as Verdict, aj as TaskSkillSnapshot } from './Task-CxwnCJLi.mjs';
2
- export { A as AttemptUsage, a as AwaitingReason, B as BUILTIN_SKILL_NAMES, D as DEFAULT_RUNNERS, b as DEFAULT_SUPERVISOR_RETRY_LIMIT, g as IntegrationDisposal, h as InvalidSkill, i as IsolationAvailability, j as IsolationHandoff, k as IsolationHandoffRepo, l as IsolationInactiveReason, n as IsolationLanding, o as IsolationMergeBlock, p as IsolationMergeBlockReason, r as IsolationOutcome, s as IsolationPruneResult, t as IsolationRemoval, u as IsolationRepo, v as IsolationRun, w as IsolationTaskRecord, x as IsolationTaskRef, y as IsolationTaskRepo, M as ModelUsage, N as PlanUsage, Q as PreparedTask, R as PreservedWork, S as RefusedRemoval, T as RepairEvidence, U as RepoGroupLayout, X as ResearchStep, Y as ResearchStepOutcome, _ as RunSettings, a0 as SetupFailure, a1 as ShadowedSkill, a2 as SkillAppliesTo, a3 as SkillCatalog, a6 as SkillLoadNotice, a7 as SkillMetadata, a8 as SkillSource, af as TaskIsolation, ag as TaskIsolationState, ah as TaskModelAssignment, al as TaskStatus, am as TreeSnapshot, an as UsageLine, ap as UsageTotals, ar as VerificationCheck, as as addAttemptUsage, at as addModelUsage, au as addPlannerUsage, av as addUsage, aw as addUsageTotals, ax as createEmptyPlan, ay as createSkillsService, az as createTask, aA as endAttemptUsage, aB as flattenTasks, aC as flattenTasksWithParents, aD as isAwaitingReason, aE as isMeasured, aF as isSupervisorLevel, aG as isUserMessage, aH as migratePlanState, aI as partedPromptUsage, aJ as pausedOnLimit, aK as planUsage, aL as plannerContextFill, aM as rejoinPlanTree, aN as startAttemptUsage, aO as usageLine } from './Task-CxwnCJLi.mjs';
3
- import { v as LiveTailOptions, L as LiveTail, R as PlannerModes, ao as TaskOp, t as IsolatedExecution, a6 as SessionBroadcaster, b as ApplyTaskOpsResult, ab as SkillLookup, a8 as SessionNotice, q as EditCatalog, a7 as SessionMessage, Q as PlanStore, ap as TaskOrchestrator, u as IsolationRunController, O as OrchestratorObserver, am as TaskLogEvent, I as INotification, s as GlobalRunSettings, _ as RunView, W as RunMergeView, as as TaskOutputSource, aJ as UserSettings, ag as SurfacePlan, ah as SurfacePlanState } from './plan-utils-CKXdD1AD.mjs';
4
- export { A as ACT_RISK, a as AUTORUN_RISK, c as ApprovalBlock, d as ApprovalStatus, e as AutoMergeTrigger, B as BlockingSubject, C as CHECKPOINT_TRUNCATE_LENGTH, f as CommandBlock, g as CommandStatus, h as CompactionBlock, i as ConversationInput, j as ConversationView, D as DiffRow, k as DiffRowKind, l as DiffStat, m as DisplayBlock, E as EMPTY_CONVERSATION, n as EMPTY_HOLD, o as EMPTY_RUN, p as EMPTY_TASK_LOG, r as ExecutionSummary, G as GatedConversation, w as LocalEntry, M as MessageBlock, x as MessageRole, N as NOT_STARTED, y as NO_TURN, z as NewTaskFields, F as NotificationAction, H as OutputPreview, P as PlanBlock, J as PlanMarkerStatus, K as PlanSnapshot, S as PromptHold, T as RUN_SETTINGS_DEFAULTS, V as RunInput, X as RunSettingsError, Y as RunTask, Z as RunTaskStatus, $ as RunnerLoadedBlock, a0 as SUPERVISOR_LEVEL_LABEL, a1 as SerializedConversationMessage, a2 as SerializedPendingTurn, a3 as SerializedPlan, a4 as SerializedTask, a5 as SerializedTaskStatus, a9 as SettingsService, aa as SkillLoadBlock, ac as SkillToken, ad as SubagentBlock, ae as SubagentChild, af as SubagentStatus, ai as SurfaceTask, aj as TakenPrompt, ak as TaskAttemptSnapshot, al as TaskControlError, an as TaskLogView, aq as TaskOrchestratorDeps, ar as TaskOrchestratorOptions, at as TaskRef, au as TaskRowAction, av as TaskRowContext, aw as TaskRowIsolation, ax as TaskRowKind, ay as TaskRowPlacement, az as TaskRowSubject, aA as TaskRowUsage, aB as TaskRowView, aC as TaskStatusKind, aD as ThinkingDisplayBlock, aE as ToolBlock, aF as ToolHeadline, aG as ToolStatus, aH as TurnGate, aI as UsageBlock, aK as aheadOfDraft, aL as applyTaskOps, aM as approvalLabel, aN as automergeSummary, aO as autorunSummary, aP as awaitingLabel, aQ as blockedByLabel, aR as blockingFailures, aS as canMergeTasks, aT as canSetDependencies, aU as canSplitTask, aV as capConflictFiles, aW as classifyOutcome, aX as coalesceTaskLog, aY as dependencyCandidates, aZ as dependentsNotice, a_ as dependentsOf, a$ as diffRows, b0 as diffStat, b1 as diffSummary, b2 as digestTaskLog, b3 as drainNext, b4 as executionSummary, b5 as followTurn, b6 as fromTranscript, b7 as getSettingsPath, b8 as hasHiddenDetail, b9 as holdPrompt, ba as isTaskRunning, bb as loadedSkillTokens, bc as markAction, bd as markRequestFor, be as namedRepos, bf as newTaskFields, bg as opsEditable, bh as outputLines, bi as outputPreview, bj as parseCount, bk as parseSwitch, bl as parseTaskOpsJson, bm as pastGateConfirmation, bn as reduceConversation, bo as reduceRun, bp as reduceTaskLog, bq as replayTaskLog, br as resolveTaskRef, bs as resumeLabel, bt as resumeTime, bu as runSettingsOf, bv as runnerToolSubject, bw as serializePlan, bx as serializeTask, by as serializeTaskStatus, bz as skillTokens, bA as skippedLabel, bB as stopTurn, bC as summarizeToolCall, bD as supervisorSummary, bE as surfacePlan, bF as surfacePlanState, bG as takeAt, bH as taskLogForSurface, bI as taskOrderLabel, bJ as taskRef, bK as taskRefOf, bL as taskRowActions, bM as taskRowView, bN as taskStartedNotice, bO as taskStatusKind, bP as textHasTaskOps, bQ as titledRefs, bR as titledTaskRef, bS as titledTaskRefOf, bT as toTaskLogEvent, bU as toolHeadline, bV as trimToolOutput, bW as truncateCheckpointSummary, bX as unsendAll, bY as unsendLatest } from './plan-utils-CKXdD1AD.mjs';
5
- import { I as IApproval, y as IConfig, d as AgentProcessDeps, a as AgentAdapter, _ as OrdewellMcpServer, a5 as PlannerToolHandler, ac as ResearchShell, p as ApprovalRequest, j as ApprovalDecision, i as ApprovalAnswer, z as IRunner, f as AiProvider, a8 as ProviderModelLists, m as ApprovalModeSetting, ap as RunnerRegistry, Z as OrchestratorOption, aC as TaskModeAgentAdapter, e as AgentStartOptions, c as AgentEvent, ah as RunnerCommand, a6 as ProjectMcpServer, n as ApprovalPolicy, B as IRunnerSession, az as TaskCompleteArgs, r as CheckpointAnswer, au as StructuredTurnEnd, at as StructuredEvent, aB as TaskMessageFrom, aa as QueuedTaskMessage, aH as TaskStartOptions, aI as TaskTokenScope, al as RunnerManifest, aG as TaskRunnerFlags } from './IRunner-hWAJC4hg.mjs';
6
- export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, k as ApprovalKind, l as ApprovalMode, o as ApprovalPolicyOptions, q as ApprovalSource, C as CatalogModel, s as CheckpointArgs, t as CommandClassification, u as CommandTier, v as CommandWords, D as DEFAULT_PLANNER_ALLOWLIST, w as DENY_ALL, x as DiscoveryCommand, E as EditPlanArgs, F as FetchAllProviderModelsOptions, G as GIT_READONLY_SUBCOMMANDS, H as InvokedCommand, L as LineBuffer, J as ListModelsArgs, K as ListRunnersArgs, M as LoadSkillArgs, N as McpClientConfig, O as McpCredential, P as McpTool, Q as McpToolContext, R as McpToolReply, S as MessageTaskArgs, T as ModelCatalog, U as ModelShortcut, V as ORCHESTRATOR_SHORTCUTS, W as ORDEWELL_MCP_PATH, X as ORDEWELL_MCP_SERVER_NAME, Y as OneTaskArgs, $ as OwnerOnlyFile, a0 as PLANNER_EXECUTION_TOOLS, a1 as PLANNER_TOOLS, a2 as PlannerAllowlist, a3 as PlannerStartOptions, a4 as PlannerTokenScope, a7 as ProviderCredentialSource, a9 as ProviderModelsResult, ab as REFUSED_COMMANDS, ad as ResearchShellDeps, ae as RetryTaskArgs, af as RunCommandArgs, ag as RunPlanArgs, ai as RunnerCommandKind, aj as RunnerEntry, ak as RunnerFeatures, am as RunnerMcpServer, an as RunnerMode, ao as RunnerModelDiscovery, aq as ShellDialect, ar as SpawnFn, as as StandingDecision, av as SubmitPlanArgs, aw as TASK_COMPLETE_TOOL, ax as TASK_COMPLETION_CONTRACT, ay as TASK_TOOLS, aA as TaskDiffArgs, aD as TaskModeUnsupportedError, aE as TaskOutputArgs, aF as TaskQueryArgs, aJ as TaskToolHandler, aK as approvalScopes, aL as classifyCommand, aM as clearResearchShellCache, aN as collectProviderCredentials, aO as commandAllowedBy, aP as effectiveApprovalMode, aQ as enabledRunners, aR as fetchAllProviderModels, aS as findRunnerCommand, aT as isGranted, aU as isRunnerApproval, aV as knownModelId, aW as mcpClientConfig, aX as ownerOnlyConfigFile, aY as parseAllowlist, aZ as parseApprovalModeSetting, a_ as researchShellWarning, a$ as researchToolsPath, b0 as resolveModelShortcut, b1 as resolveProvider, b2 as resolveResearchShell, b3 as scopeAllowed, b4 as sharedMcpServer, b5 as toApprovalDecision, b6 as toOrchestratorOptions, b7 as toolAllowed } from './IRunner-hWAJC4hg.mjs';
7
- import { T as ToolOutcome, I as IFileSystem, R as ReadFileOpts, b as GrepOptions, a as GlobOptions, F as FindSymbolOptions } from './IFileSystem-Bj6fy1cG.mjs';
8
- export { G as GREP_DEFAULT_HEAD_LIMIT, c as GrepOutputMode, S as SEARCH_EXCLUSIONS } from './IFileSystem-Bj6fy1cG.mjs';
9
- import { R as RunnerModeInfo } from './ModeResolver-m1d8Cb-j.mjs';
10
- export { a as autonomyLevelLabel, p as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-m1d8Cb-j.mjs';
1
+ import { ae as Task, E as ExecutionActor, q as IsolationMergeResult, e as ExecutionRecord, f as GuardTrip, ad as SupervisorLevel, d as ExecutionCommandName, G as GuardTarget, a1 as RunnerId, c as DiscoveredModel, Y as ResearchProgress, X as ResearchLogEntry, C as ConversationMessage, a6 as SkillInfo, a7 as SkillLoad, ab as SkillsService, L as LegacyPlanState, K as PlanStatus, m as IsolationLandedTask, I as IWorktreeIsolation, z as IsolationTaskStatus, H as PlanIsolation, aq as UsageRecord, $ as ResearchToolType, O as PlannerUsage, am as TaskSnapshot, J as PlanState, F as IsolationView, as as Verdict, al as TaskSkillSnapshot } from './Task-AfA1m4qW.mjs';
2
+ export { A as AttemptUsage, a as AwaitingReason, B as BUILTIN_SKILL_NAMES, D as DEFAULT_RUNNERS, b as DEFAULT_SUPERVISOR_RETRY_LIMIT, g as IntegrationDisposal, h as InvalidSkill, i as IsolationAvailability, j as IsolationHandoff, k as IsolationHandoffRepo, l as IsolationInactiveReason, n as IsolationLanding, o as IsolationMergeBlock, p as IsolationMergeBlockReason, r as IsolationOutcome, s as IsolationPruneResult, t as IsolationRemoval, u as IsolationRepo, v as IsolationRun, w as IsolationTaskRecord, x as IsolationTaskRef, y as IsolationTaskRepo, M as ModelUsage, N as PlanUsage, Q as PrepareIntent, R as PreparedTask, S as PreservedWork, T as PreviousWork, U as RefusedRemoval, V as RepairEvidence, W as RepoGroupLayout, Z as ResearchStep, _ as ResearchStepOutcome, a0 as RunSettings, a2 as SetupFailure, a3 as ShadowedSkill, a4 as SkillAppliesTo, a5 as SkillCatalog, a8 as SkillLoadNotice, a9 as SkillMetadata, aa as SkillSource, ah as TaskIsolation, ai as TaskIsolationState, aj as TaskModelAssignment, an as TaskStatus, ao as TreeSnapshot, ap as UsageLine, ar as UsageTotals, at as VerificationCheck, au as addAttemptUsage, av as addModelUsage, aw as addPlannerUsage, ax as addUsage, ay as addUsageTotals, az as createEmptyPlan, aA as createSkillsService, aB as createTask, aC as endAttemptUsage, aD as flattenTasks, aE as flattenTasksWithParents, aF as isAwaitingReason, aG as isMeasured, aH as isSupervisorLevel, aI as isUserMessage, aJ as migratePlanState, aK as partedPromptUsage, aL as pausedOnLimit, aM as planUsage, aN as plannerContextFill, aO as rejoinPlanTree, aP as startAttemptUsage, aQ as usageLine } from './Task-AfA1m4qW.mjs';
3
+ import { v as LiveTailOptions, L as LiveTail, S as PlannerModes, ap as TaskOp, t as IsolatedExecution, a7 as SessionBroadcaster, b as ApplyTaskOpsResult, ac as SkillLookup, a9 as SessionNotice, q as EditCatalog, a8 as SessionMessage, R as PlanStore, aq as TaskOrchestrator, u as IsolationRunController, O as OrchestratorObserver, an as TaskLogEvent, I as INotification, s as GlobalRunSettings, $ as RunView, X as RunMergeView, at as TaskOutputSource, aK as UserSettings, ah as SurfacePlan, ai as SurfacePlanState } from './plan-utils-DL7yOuJs.mjs';
4
+ export { A as ACT_RISK, a as AUTORUN_RISK, c as ApprovalBlock, d as ApprovalStatus, e as AutoMergeTrigger, B as BlockingSubject, C as CHECKPOINT_TRUNCATE_LENGTH, f as CommandBlock, g as CommandStatus, h as CompactionBlock, i as ConversationInput, j as ConversationView, D as DiffRow, k as DiffRowKind, l as DiffStat, m as DisplayBlock, E as EMPTY_CONVERSATION, n as EMPTY_HOLD, o as EMPTY_RUN, p as EMPTY_TASK_LOG, r as ExecutionSummary, G as GatedConversation, w as LocalEntry, M as MarkdownToken, x as MessageBlock, y as MessageRole, N as NOT_STARTED, z as NO_TURN, F as NewTaskFields, H as NotificationAction, J as OutputPreview, P as PlanBlock, K as PlanMarkerStatus, Q as PlanSnapshot, T as PromptHold, U as RUN_SETTINGS_DEFAULTS, W as RunInput, Y as RunSettingsError, Z as RunTask, _ as RunTaskStatus, a0 as RunnerLoadedBlock, a1 as SUPERVISOR_LEVEL_LABEL, a2 as SerializedConversationMessage, a3 as SerializedPendingTurn, a4 as SerializedPlan, a5 as SerializedTask, a6 as SerializedTaskStatus, aa as SettingsService, ab as SkillLoadBlock, ad as SkillToken, ae as SubagentBlock, af as SubagentChild, ag as SubagentStatus, aj as SurfaceTask, ak as TakenPrompt, al as TaskAttemptSnapshot, am as TaskControlError, ao as TaskLogView, ar as TaskOrchestratorDeps, as as TaskOrchestratorOptions, au as TaskRef, av as TaskRowAction, aw as TaskRowContext, ax as TaskRowIsolation, ay as TaskRowKind, az as TaskRowPlacement, aA as TaskRowSubject, aB as TaskRowUsage, aC as TaskRowView, aD as TaskStatusKind, aE as ThinkingDisplayBlock, aF as ToolBlock, aG as ToolHeadline, aH as ToolStatus, aI as TurnGate, aJ as UsageBlock, aL as aheadOfDraft, aM as applyTaskOps, aN as approvalLabel, aO as automergeSummary, aP as autorunSummary, aQ as awaitingLabel, aR as blockedByLabel, aS as blockingFailures, aT as canMergeTasks, aU as canSetDependencies, aV as canSplitTask, aW as capConflictFiles, aX as classifyOutcome, aY as coalesceTaskLog, aZ as dependencyCandidates, a_ as dependentsNotice, a$ as dependentsOf, b0 as diffRows, b1 as diffStat, b2 as diffSummary, b3 as digestTaskLog, b4 as drainNext, b5 as executionSummary, b6 as followTurn, b7 as fromTranscript, b8 as getSettingsPath, b9 as hasHiddenDetail, ba as holdPrompt, bb as isTaskRunning, bc as loadedSkillTokens, bd as markAction, be as markRequestFor, bf as markdownHtml, bg as markdownTokens, bh as namedRepos, bi as newTaskFields, bj as opsEditable, bk as outputLines, bl as outputPreview, bm as parseCount, bn as parseSwitch, bo as parseTaskOpsJson, bp as pastGateConfirmation, bq as reduceConversation, br as reduceRun, bs as reduceTaskLog, bt as replayTaskLog, bu as resolveTaskRef, bv as resumeLabel, bw as resumeTime, bx as runSettingsOf, by as runnerToolSubject, bz as serializePlan, bA as serializeTask, bB as serializeTaskStatus, bC as skillTokens, bD as skippedLabel, bE as stopTurn, bF as summarizeToolCall, bG as supervisorSummary, bH as surfacePlan, bI as surfacePlanState, bJ as takeAt, bK as taskLogForSurface, bL as taskOrderLabel, bM as taskRef, bN as taskRefOf, bO as taskRowActions, bP as taskRowView, bQ as taskStartedNotice, bR as taskStatusKind, bS as textHasTaskOps, bT as titledRefs, bU as titledTaskRef, bV as titledTaskRefOf, bW as toTaskLogEvent, bX as toolHeadline, bY as trimToolOutput, bZ as truncateCheckpointSummary, b_ as unsendAll, b$ as unsendLatest } from './plan-utils-DL7yOuJs.mjs';
5
+ import { I as IApproval, y as IConfig, d as AgentProcessDeps, a as AgentAdapter, _ as OrdewellMcpServer, a6 as PlannerToolHandler, ad as ResearchShell, p as ApprovalRequest, j as ApprovalDecision, i as ApprovalAnswer, z as IRunner, a3 as PlannerBackendId, a9 as ProviderModelLists, f as AiProvider, m as ApprovalModeSetting, aq as RunnerRegistry, Z as OrchestratorOption, aD as TaskModeAgentAdapter, e as AgentStartOptions, c as AgentEvent, ai as RunnerCommand, a7 as ProjectMcpServer, n as ApprovalPolicy, B as IRunnerSession, aA as TaskCompleteArgs, r as CheckpointAnswer, av as StructuredTurnEnd, au as StructuredEvent, aC as TaskMessageFrom, ab as QueuedTaskMessage, aI as TaskStartOptions, aJ as TaskTokenScope, am as RunnerManifest, aH as TaskRunnerFlags } from './IRunner---PfQVdc.mjs';
6
+ export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, k as ApprovalKind, l as ApprovalMode, o as ApprovalPolicyOptions, q as ApprovalSource, C as CatalogModel, s as CheckpointArgs, t as CommandClassification, u as CommandTier, v as CommandWords, D as DEFAULT_PLANNER_ALLOWLIST, w as DENY_ALL, x as DiscoveryCommand, E as EditPlanArgs, F as FetchAllProviderModelsOptions, G as GIT_READONLY_SUBCOMMANDS, H as InvokedCommand, L as LineBuffer, J as ListModelsArgs, K as ListRunnersArgs, M as LoadSkillArgs, N as McpClientConfig, O as McpCredential, P as McpTool, Q as McpToolContext, R as McpToolReply, S as MessageTaskArgs, T as ModelCatalog, U as ModelShortcut, V as ORCHESTRATOR_SHORTCUTS, W as ORDEWELL_MCP_PATH, X as ORDEWELL_MCP_SERVER_NAME, Y as OneTaskArgs, $ as OwnerOnlyFile, a0 as PLANNER_EXECUTION_TOOLS, a1 as PLANNER_TOOLS, a2 as PlannerAllowlist, a4 as PlannerStartOptions, a5 as PlannerTokenScope, a8 as ProviderCredentialSource, aa as ProviderModelsResult, ac as REFUSED_COMMANDS, ae as ResearchShellDeps, af as RetryTaskArgs, ag as RunCommandArgs, ah as RunPlanArgs, aj as RunnerCommandKind, ak as RunnerEntry, al as RunnerFeatures, an as RunnerMcpServer, ao as RunnerMode, ap as RunnerModelDiscovery, ar as ShellDialect, as as SpawnFn, at as StandingDecision, aw as SubmitPlanArgs, ax as TASK_COMPLETE_TOOL, ay as TASK_COMPLETION_CONTRACT, az as TASK_TOOLS, aB as TaskDiffArgs, aE as TaskModeUnsupportedError, aF as TaskOutputArgs, aG as TaskQueryArgs, aK as TaskToolHandler, aL as approvalScopes, aM as classifyCommand, aN as clearResearchShellCache, aO as collectProviderCredentials, aP as commandAllowedBy, aQ as effectiveApprovalMode, aR as enabledRunners, aS as fetchAllProviderModels, aT as findRunnerCommand, aU as isGranted, aV as isRunnerApproval, aW as knownModelId, aX as mcpClientConfig, aY as ownerOnlyConfigFile, aZ as parseAllowlist, a_ as parseApprovalModeSetting, a$ as researchShellWarning, b0 as researchToolsPath, b1 as resolveModelShortcut, b2 as resolveProvider, b3 as resolveResearchShell, b4 as scopeAllowed, b5 as sharedMcpServer, b6 as toApprovalDecision, b7 as toOrchestratorOptions, b8 as toolAllowed } from './IRunner---PfQVdc.mjs';
7
+ import { T as ToolOutcome, I as IFileSystem, R as ReadFileOpts, b as GrepOptions, a as GlobOptions, F as FindSymbolOptions } from './IFileSystem-j0naIoAQ.mjs';
8
+ export { G as GREP_DEFAULT_HEAD_LIMIT, c as GrepOutputMode, S as SEARCH_EXCLUSIONS } from './IFileSystem-j0naIoAQ.mjs';
9
+ import { R as RunnerModeInfo } from './ModeResolver-CjQ7zqTN.mjs';
10
+ export { a as autonomyLevelLabel, p as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-CjQ7zqTN.mjs';
11
11
  import { ChildProcess } from 'child_process';
12
12
  import { EventEmitter } from 'events';
13
13
  import 'zod/v4';
@@ -1848,7 +1848,7 @@ declare function formatSearchOutput(capped: CappedRows, root: string, opts: {
1848
1848
 
1849
1849
  declare function normalizeGeminiModel(id: string): string;
1850
1850
  declare abstract class BaseConfig implements IConfig {
1851
- abstract aiProvider: AiProvider;
1851
+ abstract aiProvider: PlannerBackendId;
1852
1852
  abstract apiKey: string;
1853
1853
  abstract planningModel: string;
1854
1854
  abstract enabledRunners: string[];
@@ -1928,7 +1928,7 @@ declare abstract class BaseConfig implements IConfig {
1928
1928
  get webReadBudget(): number;
1929
1929
  get approvalDefaults(): boolean;
1930
1930
  get approvalPreApproved(): string[];
1931
- protected static detectProvider(fallback: AiProvider): AiProvider;
1931
+ protected static detectProvider(fallback: PlannerBackendId): PlannerBackendId;
1932
1932
  }
1933
1933
 
1934
1934
  /**
@@ -1938,7 +1938,7 @@ declare abstract class BaseConfig implements IConfig {
1938
1938
  * subclass only supplies the abstract members from the environment.
1939
1939
  */
1940
1940
  declare class EnvConfig extends BaseConfig {
1941
- get aiProvider(): AiProvider;
1941
+ get aiProvider(): PlannerBackendId;
1942
1942
  get apiKey(): string;
1943
1943
  get planningModel(): string;
1944
1944
  get enabledRunners(): string[];
@@ -2160,6 +2160,8 @@ declare class OpenAiService extends BaseAiService implements IAiService {
2160
2160
  * key the user had already replaced.
2161
2161
  */
2162
2162
  private getClient;
2163
+ /** The vendor this service talks to; `createAiService` routes every other planner elsewhere. */
2164
+ private vendor;
2163
2165
  ensureInit(): void;
2164
2166
  private requireModel;
2165
2167
  reset(): void;
@@ -2338,16 +2340,14 @@ declare class RunnerInstallation {
2338
2340
  clear(): void;
2339
2341
  }
2340
2342
 
2341
- declare const PROVIDER_LABEL: Record<AiProvider, string>;
2342
- declare const PROVIDER_SHORT_LABEL: Record<AiProvider, string>;
2343
2343
  interface ProviderRegistration {
2344
- id: AiProvider;
2344
+ id: PlannerBackendId;
2345
2345
  label: string;
2346
2346
  shortLabel: string;
2347
2347
  /** `cli` is a harness planner (ADR-0009): a local coding agent, not an HTTP vendor. */
2348
2348
  serviceType: 'openai' | 'google' | 'cli';
2349
2349
  /** Harness planners only: the runner id whose manifest, models and binary this provider drives. */
2350
- runnerId?: string;
2350
+ runnerId?: RunnerId;
2351
2351
  defaultBaseUrl: string;
2352
2352
  apiKeyEnvVar: string;
2353
2353
  detectEnvVars: string[];
@@ -2358,10 +2358,25 @@ interface ProviderRegistration {
2358
2358
  discoversModels: boolean;
2359
2359
  modelPrefix?: string;
2360
2360
  }
2361
- declare const ALL_PROVIDERS: Record<AiProvider, ProviderRegistration>;
2361
+ declare const PROVIDER_PRIORITY: AiProvider[];
2362
+ declare const PROVIDER_DETECT_PRIORITY: AiProvider[];
2363
+
2364
+ /**
2365
+ * Keyed by planner backend: every vendor has an entry, and a runner id has one
2366
+ * only when that runner can plan, which the type cannot know.
2367
+ */
2368
+ type ByPlannerBackend<T> = Readonly<Record<AiProvider, T>> & Readonly<Partial<Record<RunnerId, T>>>;
2369
+ declare const ALL_PROVIDERS: ByPlannerBackend<ProviderRegistration>;
2370
+ declare const PROVIDER_LABEL: ByPlannerBackend<string>;
2371
+ declare const PROVIDER_SHORT_LABEL: ByPlannerBackend<string>;
2362
2372
  declare function getProviderMeta(id: AiProvider): ProviderRegistration;
2363
- declare function prefixModelId(provider: AiProvider, modelId: string): string;
2364
- declare function stripModelPrefix(id: string, provider: AiProvider): string;
2373
+ declare function getProviderMeta(id: PlannerBackendId): ProviderRegistration | undefined;
2374
+ /** Whether a planner backend id names an API vendor, the kind that takes a key and a base URL. */
2375
+ declare function isApiProvider(id: PlannerBackendId): id is AiProvider;
2376
+ /** Whether an id names a planner backend at all: a vendor, or a runner that can plan. */
2377
+ declare function isPlannerBackend(id: string): id is PlannerBackendId;
2378
+ declare function prefixModelId(provider: PlannerBackendId, modelId: string): string;
2379
+ declare function stripModelPrefix(id: string, provider: PlannerBackendId): string;
2365
2380
  declare function resolveProviderFromPrefix(id: string): AiProvider | null;
2366
2381
  /**
2367
2382
  * The harness planners, in display order. Deliberately NOT part of
@@ -2371,10 +2386,8 @@ declare function resolveProviderFromPrefix(id: string): AiProvider | null;
2371
2386
  * that offer a planner picker concatenate the two lists and gate these on
2372
2387
  * `RunnerInstallation.plannerUsability`.
2373
2388
  */
2374
- declare const CLI_PROVIDERS: AiProvider[];
2375
- declare const PROVIDER_PRIORITY: AiProvider[];
2376
- declare const PROVIDER_DETECT_PRIORITY: AiProvider[];
2377
- declare function isOpenAiProvider(id: AiProvider): boolean;
2389
+ declare const CLI_PROVIDERS: readonly RunnerId[];
2390
+ declare function isOpenAiProvider(id: PlannerBackendId): boolean;
2378
2391
  /**
2379
2392
  * The one guard that separates a harness planner from an LLM vendor (ADR-0009).
2380
2393
  * Three places consult it: API-key resolution (skipped — the subscription is
@@ -2382,24 +2395,24 @@ declare function isOpenAiProvider(id: AiProvider): boolean;
2382
2395
  * the planner-model picker (fed by per-runner discovery, not the vendor
2383
2396
  * catalog).
2384
2397
  */
2385
- declare function isCliProvider(id: AiProvider): boolean;
2386
- /** The runner a harness planner drives, or null for a vendor provider. */
2387
- declare function runnerForProvider(id: AiProvider): string | null;
2398
+ declare function isCliProvider(id: PlannerBackendId): boolean;
2399
+ /** The runner a harness planner drives, or null for a vendor provider or an unknown id. */
2400
+ declare function runnerForProvider(id: PlannerBackendId): RunnerId | null;
2388
2401
  /** The harness planner that wraps a given runner, or null when none does. */
2389
- declare function providerForRunner(runner: string): AiProvider | null;
2402
+ declare function providerForRunner(runner: RunnerId): PlannerBackendId | null;
2390
2403
  /** One runner's planner usability, as `RunnerInstallation.plannerUsability` reports it. */
2391
2404
  interface PlannerUsability {
2392
2405
  usable: boolean;
2393
2406
  reason?: string;
2394
2407
  }
2395
2408
  /**
2396
- * One entry of the planner backend list (ADR-0009). `id` is the `AiProvider`
2397
- * either way; `runner` is set only for a harness planner, whose model catalog
2409
+ * One entry of the planner backend list (ADR-0009). `id` is the
2410
+ * `PlannerBackendId` either way; `runner` is set only for a harness planner, whose model catalog
2398
2411
  * comes from that runner, and `reason` is the second line a surface renders —
2399
2412
  * the block detail for a harness planner, the API-key variable for a vendor.
2400
2413
  */
2401
2414
  interface PlannerBackendEntry {
2402
- id: AiProvider;
2415
+ id: PlannerBackendId;
2403
2416
  label: string;
2404
2417
  kind: 'harness' | 'vendor';
2405
2418
  runner?: string;
@@ -4323,8 +4336,8 @@ interface TaskLogResponse {
4323
4336
  type SessionListResponse = SessionMeta[];
4324
4337
  interface SettingsResponse {
4325
4338
  orchestratorModel: string;
4326
- /** Who plans (ADR-0009) — a vendor id, or one of the three harness planners. */
4327
- aiProvider: AiProvider;
4339
+ /** Who plans (ADR-0009) — a vendor id, or a runner serving as a harness planner. */
4340
+ aiProvider: PlannerBackendId;
4328
4341
  plannerThinkingEffort: string;
4329
4342
  maxParallel: number;
4330
4343
  modelAllowlist: UserSettings['modelAllowlist'];
@@ -5180,13 +5193,13 @@ declare function savePrdMarkdown(workspace: string, slug: string, markdown: stri
5180
5193
 
5181
5194
  /** Who plans, with which model and effort. Blank means unset. */
5182
5195
  interface PlannerSelectionState {
5183
- provider: AiProvider;
5196
+ provider: PlannerBackendId;
5184
5197
  model: string;
5185
5198
  effort: string;
5186
5199
  }
5187
5200
  /** What one user action asked for; an absent field leaves that part alone. */
5188
5201
  interface PlannerSelectionChange {
5189
- provider?: AiProvider;
5202
+ provider?: PlannerBackendId;
5190
5203
  model?: string;
5191
5204
  effort?: string;
5192
5205
  }
@@ -5216,4 +5229,4 @@ declare const DEFAULT_MAX_PARALLEL = 5;
5216
5229
  */
5217
5230
  declare function parseMaxParallel(value: unknown): number | null;
5218
5231
 
5219
- export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, type AdoptSessionResponse, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApplyTaskOpsResult, ApprovalAnswer, type ApprovalAnswerResponse, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, ApprovalRequest, type ApprovalsResponse, type AskOptions, BaseAiService, BaseConfig, BaseFileSystem, BufferedTaskOutputSource, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CMD_EXE_MAX_COMMAND_LINE, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CancelPlanningResponse, type CancelResumeResponse, type CappedRows, CheckpointAnswer, type CheckpointListener, ClaudeCodeAdapter, CliAgentAiService, type CliAgentAiServiceDeps, CodexAdapter, CodexSandboxAvailability, type CommandDescriptor, CommandLineTooLongError, type CommandOutcome, type CommandsResponse, type Consent, ConsoleLogger, ContextCollector, type Continuability, ConversationBusyError, type ConversationCompactResponse, type ConversationCompaction, ConversationEditError, type ConversationFork, type ConversationForkResponse, ConversationMessage, type ConversationRequest, type ConversationRewind, type ConversationRewindResponse, type ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, DEFAULT_WEB_READ_BUDGET, type DaemonErrorCode, type DecideOptions, type DirEntry, DiscoveredModel, DuckDuckGoSearchProvider, EmbeddedNewlineError, type EnvAdmission, EnvConfig, type ErrorBody, type ExecImpl, ExecutableNotFoundError, type ExecuteResponse, ExecutionActor, type ExecutionCommand, ExecutionCommandName, ExecutionCommands, type ExecutionHost, ExecutionRecord, FindSymbolOptions, type ForceSendResponse, GREP_PCRE_PROBE_ARGS, GeminiService, type GeneratePlanResponse, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, GuardTarget, GuardTrip, HARNESS_PLANNER_REASON, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, type IAiService, IApproval, IConfig, IFileSystem, type ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, type IsolationDiffResponse, IsolationLandedTask, type IsolationMergeResponse, IsolationMergeResult, IsolationTaskStatus, IsolationView, type KillTreeDeps, type LaunchDeps, type LaunchPlan, LegacyPlanState, type LiveOutputLookup, LiveTail, LiveTailOptions, type LoopGuard, type MappedTool, type MergeGateEntry, type MergeGateResponse, ModelResolver, type ModelResolverDeps, type ModelsResponse, NoPlanError, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OUTPUT_LINES_DEFAULT, OUTPUT_LINES_MAX, type OkResponse, OpenAiService, OpenCodeAdapter, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type PendingApproval, PendingApprovals, type PendingApprovalsOptions, PlanEditError, PlanIsolation, type PlanRequest, type PlanResponse, PlanState, PlanStore, Planner, type PlannerBackendEntry, type PlannerModelCandidate, type PlannerModelChoice, type PlannerModelLookup, PlannerModelMemory, type PlannerModelRecall, type PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionResult, type PlannerSelectionState, type PlannerSubmission, PlannerToolHandler, PlannerTurnDiscardedError, PlannerTurnStoppedError, type PlannerUsability, PlannerUsage, type PrdBlock, type PrdResponse, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, type RemoveMessageResponse, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolveConflictResponse, type RewindTarget, type RewindTargetsResponse, RunMergeView, type RunSnapshotFrame, RunView, RunnerApprovals, RunnerCommand, RunnerId, RunnerInstallation, RunnerManifest, RunnerModeInfo, RunnerRegistry, type RunnerSpawnOptions, type RunnersResponse, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SUPERVISOR_LEVELS, SYMBOL_LANGUAGES, type SaveSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionData, type SessionDeps, type SessionListResponse, SessionMessage, type SessionMeta, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionResponse, type SessionRuntimeSettings, type SettingsResponse, type SettingsUpdateResponse, SkillInfo, type SkillInvocation, SkillLoad, SkillsService, type SpawnSpec, StdioAgentAdapter, type StopResponse, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SupervisorLevel, type SupervisorPolicy, SurfacePlan, SurfacePlanState, TASK_QUERY_ANSWER_MAX_CHARS, TASK_QUERY_ANSWER_OR_OPS, TASK_QUERY_FIELDS, TASK_QUERY_PROTOCOL, TASK_QUERY_REMINDER, Task, TaskCompleteArgs, type TaskLogAttemptsResponse, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, type TaskLogResponse, TaskMessageFrom, type TaskMessageResponse, TaskModeAgentAdapter, TaskOp, TaskOrchestrator, TaskOutputSource, type TaskQuery, type TaskQueryCatalog, type TaskQueryField, TaskRunnerFlags, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VerdictEngine, type VerdictListener, WINDOWS_MAX_COMMAND_LINE, type WebRead, type WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorkspacesResponse, type WorktreeIsolationDeps, abbreviateHome, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexSandboxNotice, configuredProviders, continuability, createAiService, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultLogger, definitionPattern, deleteSession, describeMergeResult, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, formatSearchOutput, getLatestSession, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, idSegment, includeGlobFor, isCliProvider, isExecutableResolved, isOpenAiProvider, killTree, languageForId, listSessions, listTaskLogAttempts, listTree, loadSession, loadSessionPlanState, loadState, looksLikeChallenge, mapAgentTool, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, normalizeAgentArgs, normalizeGeminiModel, openTaskLog, parseMaxParallel, parseSearchHits, parseTaskQueryJson, planDirectLaunch, plannerBackendEntries, plannerMessage, plannerTranscript, prefixModelId, providerForRunner, readDaemonToken, readTaskLog, referencePattern, removedPluginNotice, renderTaskQueryAnswer, resolveProviderFromPrefix, resolveSkillInvocation, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveSession, saveState, selectPlanner, sessionDataDir, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskQuerySignature, textHasTaskQuery, tokenSubprotocols, tokensMatch, wellKnownBinDirs, windowsCommandLine, withPath, writePrivateFile };
5232
+ export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, type AdoptSessionResponse, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApplyTaskOpsResult, ApprovalAnswer, type ApprovalAnswerResponse, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, ApprovalRequest, type ApprovalsResponse, type AskOptions, BaseAiService, BaseConfig, BaseFileSystem, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CMD_EXE_MAX_COMMAND_LINE, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CancelPlanningResponse, type CancelResumeResponse, type CappedRows, CheckpointAnswer, type CheckpointListener, ClaudeCodeAdapter, CliAgentAiService, type CliAgentAiServiceDeps, CodexAdapter, CodexSandboxAvailability, type CommandDescriptor, CommandLineTooLongError, type CommandOutcome, type CommandsResponse, type Consent, ConsoleLogger, ContextCollector, type Continuability, ConversationBusyError, type ConversationCompactResponse, type ConversationCompaction, ConversationEditError, type ConversationFork, type ConversationForkResponse, ConversationMessage, type ConversationRequest, type ConversationRewind, type ConversationRewindResponse, type ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, DEFAULT_WEB_READ_BUDGET, type DaemonErrorCode, type DecideOptions, type DirEntry, DiscoveredModel, DuckDuckGoSearchProvider, EmbeddedNewlineError, type EnvAdmission, EnvConfig, type ErrorBody, type ExecImpl, ExecutableNotFoundError, type ExecuteResponse, ExecutionActor, type ExecutionCommand, ExecutionCommandName, ExecutionCommands, type ExecutionHost, ExecutionRecord, FindSymbolOptions, type ForceSendResponse, GREP_PCRE_PROBE_ARGS, GeminiService, type GeneratePlanResponse, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, GuardTarget, GuardTrip, HARNESS_PLANNER_REASON, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, type IAiService, IApproval, IConfig, IFileSystem, type ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, type IsolationDiffResponse, IsolationLandedTask, type IsolationMergeResponse, IsolationMergeResult, IsolationTaskStatus, IsolationView, type KillTreeDeps, type LaunchDeps, type LaunchPlan, LegacyPlanState, type LiveOutputLookup, LiveTail, LiveTailOptions, type LoopGuard, type MappedTool, type MergeGateEntry, type MergeGateResponse, ModelResolver, type ModelResolverDeps, type ModelsResponse, NoPlanError, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OUTPUT_LINES_DEFAULT, OUTPUT_LINES_MAX, type OkResponse, OpenAiService, OpenCodeAdapter, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type PendingApproval, PendingApprovals, type PendingApprovalsOptions, PlanEditError, PlanIsolation, type PlanRequest, type PlanResponse, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerModelCandidate, type PlannerModelChoice, type PlannerModelLookup, PlannerModelMemory, type PlannerModelRecall, type PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionResult, type PlannerSelectionState, type PlannerSubmission, PlannerToolHandler, PlannerTurnDiscardedError, PlannerTurnStoppedError, type PlannerUsability, PlannerUsage, type PrdBlock, type PrdResponse, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, type RemoveMessageResponse, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolveConflictResponse, type RewindTarget, type RewindTargetsResponse, RunMergeView, type RunSnapshotFrame, RunView, RunnerApprovals, RunnerCommand, RunnerId, RunnerInstallation, RunnerManifest, RunnerModeInfo, RunnerRegistry, type RunnerSpawnOptions, type RunnersResponse, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SUPERVISOR_LEVELS, SYMBOL_LANGUAGES, type SaveSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionData, type SessionDeps, type SessionListResponse, SessionMessage, type SessionMeta, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionResponse, type SessionRuntimeSettings, type SettingsResponse, type SettingsUpdateResponse, SkillInfo, type SkillInvocation, SkillLoad, SkillsService, type SpawnSpec, StdioAgentAdapter, type StopResponse, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SupervisorLevel, type SupervisorPolicy, SurfacePlan, SurfacePlanState, TASK_QUERY_ANSWER_MAX_CHARS, TASK_QUERY_ANSWER_OR_OPS, TASK_QUERY_FIELDS, TASK_QUERY_PROTOCOL, TASK_QUERY_REMINDER, Task, TaskCompleteArgs, type TaskLogAttemptsResponse, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, type TaskLogResponse, TaskMessageFrom, type TaskMessageResponse, TaskModeAgentAdapter, TaskOp, TaskOrchestrator, TaskOutputSource, type TaskQuery, type TaskQueryCatalog, type TaskQueryField, TaskRunnerFlags, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VerdictEngine, type VerdictListener, WINDOWS_MAX_COMMAND_LINE, type WebRead, type WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorkspacesResponse, type WorktreeIsolationDeps, abbreviateHome, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexSandboxNotice, configuredProviders, continuability, createAiService, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultLogger, definitionPattern, deleteSession, describeMergeResult, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, formatSearchOutput, getLatestSession, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, idSegment, includeGlobFor, isApiProvider, isCliProvider, isExecutableResolved, isOpenAiProvider, isPlannerBackend, killTree, languageForId, listSessions, listTaskLogAttempts, listTree, loadSession, loadSessionPlanState, loadState, looksLikeChallenge, mapAgentTool, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, normalizeAgentArgs, normalizeGeminiModel, openTaskLog, parseMaxParallel, parseSearchHits, parseTaskQueryJson, planDirectLaunch, plannerBackendEntries, plannerMessage, plannerTranscript, prefixModelId, providerForRunner, readDaemonToken, readTaskLog, referencePattern, removedPluginNotice, renderTaskQueryAnswer, resolveProviderFromPrefix, resolveSkillInvocation, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveSession, saveState, selectPlanner, sessionDataDir, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskQuerySignature, textHasTaskQuery, tokenSubprotocols, tokensMatch, wellKnownBinDirs, windowsCommandLine, withPath, writePrivateFile };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { ac as Task, E as ExecutionActor, q as IsolationMergeResult, e as ExecutionRecord, f as GuardTrip, ab as SupervisorLevel, d as ExecutionCommandName, G as GuardTarget, $ as RunnerId, c as DiscoveredModel, W as ResearchProgress, V as ResearchLogEntry, C as ConversationMessage, a4 as SkillInfo, a5 as SkillLoad, a9 as SkillsService, L as LegacyPlanState, K as PlanStatus, m as IsolationLandedTask, I as IWorktreeIsolation, z as IsolationTaskStatus, H as PlanIsolation, ao as UsageRecord, Z as ResearchToolType, O as PlannerUsage, ak as TaskSnapshot, J as PlanState, F as IsolationView, aq as Verdict, aj as TaskSkillSnapshot } from './Task-CxwnCJLi.js';
2
- export { A as AttemptUsage, a as AwaitingReason, B as BUILTIN_SKILL_NAMES, D as DEFAULT_RUNNERS, b as DEFAULT_SUPERVISOR_RETRY_LIMIT, g as IntegrationDisposal, h as InvalidSkill, i as IsolationAvailability, j as IsolationHandoff, k as IsolationHandoffRepo, l as IsolationInactiveReason, n as IsolationLanding, o as IsolationMergeBlock, p as IsolationMergeBlockReason, r as IsolationOutcome, s as IsolationPruneResult, t as IsolationRemoval, u as IsolationRepo, v as IsolationRun, w as IsolationTaskRecord, x as IsolationTaskRef, y as IsolationTaskRepo, M as ModelUsage, N as PlanUsage, Q as PreparedTask, R as PreservedWork, S as RefusedRemoval, T as RepairEvidence, U as RepoGroupLayout, X as ResearchStep, Y as ResearchStepOutcome, _ as RunSettings, a0 as SetupFailure, a1 as ShadowedSkill, a2 as SkillAppliesTo, a3 as SkillCatalog, a6 as SkillLoadNotice, a7 as SkillMetadata, a8 as SkillSource, af as TaskIsolation, ag as TaskIsolationState, ah as TaskModelAssignment, al as TaskStatus, am as TreeSnapshot, an as UsageLine, ap as UsageTotals, ar as VerificationCheck, as as addAttemptUsage, at as addModelUsage, au as addPlannerUsage, av as addUsage, aw as addUsageTotals, ax as createEmptyPlan, ay as createSkillsService, az as createTask, aA as endAttemptUsage, aB as flattenTasks, aC as flattenTasksWithParents, aD as isAwaitingReason, aE as isMeasured, aF as isSupervisorLevel, aG as isUserMessage, aH as migratePlanState, aI as partedPromptUsage, aJ as pausedOnLimit, aK as planUsage, aL as plannerContextFill, aM as rejoinPlanTree, aN as startAttemptUsage, aO as usageLine } from './Task-CxwnCJLi.js';
3
- import { v as LiveTailOptions, L as LiveTail, R as PlannerModes, ao as TaskOp, t as IsolatedExecution, a6 as SessionBroadcaster, b as ApplyTaskOpsResult, ab as SkillLookup, a8 as SessionNotice, q as EditCatalog, a7 as SessionMessage, Q as PlanStore, ap as TaskOrchestrator, u as IsolationRunController, O as OrchestratorObserver, am as TaskLogEvent, I as INotification, s as GlobalRunSettings, _ as RunView, W as RunMergeView, as as TaskOutputSource, aJ as UserSettings, ag as SurfacePlan, ah as SurfacePlanState } from './plan-utils-B6yJdpgi.js';
4
- export { A as ACT_RISK, a as AUTORUN_RISK, c as ApprovalBlock, d as ApprovalStatus, e as AutoMergeTrigger, B as BlockingSubject, C as CHECKPOINT_TRUNCATE_LENGTH, f as CommandBlock, g as CommandStatus, h as CompactionBlock, i as ConversationInput, j as ConversationView, D as DiffRow, k as DiffRowKind, l as DiffStat, m as DisplayBlock, E as EMPTY_CONVERSATION, n as EMPTY_HOLD, o as EMPTY_RUN, p as EMPTY_TASK_LOG, r as ExecutionSummary, G as GatedConversation, w as LocalEntry, M as MessageBlock, x as MessageRole, N as NOT_STARTED, y as NO_TURN, z as NewTaskFields, F as NotificationAction, H as OutputPreview, P as PlanBlock, J as PlanMarkerStatus, K as PlanSnapshot, S as PromptHold, T as RUN_SETTINGS_DEFAULTS, V as RunInput, X as RunSettingsError, Y as RunTask, Z as RunTaskStatus, $ as RunnerLoadedBlock, a0 as SUPERVISOR_LEVEL_LABEL, a1 as SerializedConversationMessage, a2 as SerializedPendingTurn, a3 as SerializedPlan, a4 as SerializedTask, a5 as SerializedTaskStatus, a9 as SettingsService, aa as SkillLoadBlock, ac as SkillToken, ad as SubagentBlock, ae as SubagentChild, af as SubagentStatus, ai as SurfaceTask, aj as TakenPrompt, ak as TaskAttemptSnapshot, al as TaskControlError, an as TaskLogView, aq as TaskOrchestratorDeps, ar as TaskOrchestratorOptions, at as TaskRef, au as TaskRowAction, av as TaskRowContext, aw as TaskRowIsolation, ax as TaskRowKind, ay as TaskRowPlacement, az as TaskRowSubject, aA as TaskRowUsage, aB as TaskRowView, aC as TaskStatusKind, aD as ThinkingDisplayBlock, aE as ToolBlock, aF as ToolHeadline, aG as ToolStatus, aH as TurnGate, aI as UsageBlock, aK as aheadOfDraft, aL as applyTaskOps, aM as approvalLabel, aN as automergeSummary, aO as autorunSummary, aP as awaitingLabel, aQ as blockedByLabel, aR as blockingFailures, aS as canMergeTasks, aT as canSetDependencies, aU as canSplitTask, aV as capConflictFiles, aW as classifyOutcome, aX as coalesceTaskLog, aY as dependencyCandidates, aZ as dependentsNotice, a_ as dependentsOf, a$ as diffRows, b0 as diffStat, b1 as diffSummary, b2 as digestTaskLog, b3 as drainNext, b4 as executionSummary, b5 as followTurn, b6 as fromTranscript, b7 as getSettingsPath, b8 as hasHiddenDetail, b9 as holdPrompt, ba as isTaskRunning, bb as loadedSkillTokens, bc as markAction, bd as markRequestFor, be as namedRepos, bf as newTaskFields, bg as opsEditable, bh as outputLines, bi as outputPreview, bj as parseCount, bk as parseSwitch, bl as parseTaskOpsJson, bm as pastGateConfirmation, bn as reduceConversation, bo as reduceRun, bp as reduceTaskLog, bq as replayTaskLog, br as resolveTaskRef, bs as resumeLabel, bt as resumeTime, bu as runSettingsOf, bv as runnerToolSubject, bw as serializePlan, bx as serializeTask, by as serializeTaskStatus, bz as skillTokens, bA as skippedLabel, bB as stopTurn, bC as summarizeToolCall, bD as supervisorSummary, bE as surfacePlan, bF as surfacePlanState, bG as takeAt, bH as taskLogForSurface, bI as taskOrderLabel, bJ as taskRef, bK as taskRefOf, bL as taskRowActions, bM as taskRowView, bN as taskStartedNotice, bO as taskStatusKind, bP as textHasTaskOps, bQ as titledRefs, bR as titledTaskRef, bS as titledTaskRefOf, bT as toTaskLogEvent, bU as toolHeadline, bV as trimToolOutput, bW as truncateCheckpointSummary, bX as unsendAll, bY as unsendLatest } from './plan-utils-B6yJdpgi.js';
5
- import { I as IApproval, y as IConfig, d as AgentProcessDeps, a as AgentAdapter, _ as OrdewellMcpServer, a5 as PlannerToolHandler, ac as ResearchShell, p as ApprovalRequest, j as ApprovalDecision, i as ApprovalAnswer, z as IRunner, f as AiProvider, a8 as ProviderModelLists, m as ApprovalModeSetting, ap as RunnerRegistry, Z as OrchestratorOption, aC as TaskModeAgentAdapter, e as AgentStartOptions, c as AgentEvent, ah as RunnerCommand, a6 as ProjectMcpServer, n as ApprovalPolicy, B as IRunnerSession, az as TaskCompleteArgs, r as CheckpointAnswer, au as StructuredTurnEnd, at as StructuredEvent, aB as TaskMessageFrom, aa as QueuedTaskMessage, aH as TaskStartOptions, aI as TaskTokenScope, al as RunnerManifest, aG as TaskRunnerFlags } from './IRunner-C7_SSpzG.js';
6
- export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, k as ApprovalKind, l as ApprovalMode, o as ApprovalPolicyOptions, q as ApprovalSource, C as CatalogModel, s as CheckpointArgs, t as CommandClassification, u as CommandTier, v as CommandWords, D as DEFAULT_PLANNER_ALLOWLIST, w as DENY_ALL, x as DiscoveryCommand, E as EditPlanArgs, F as FetchAllProviderModelsOptions, G as GIT_READONLY_SUBCOMMANDS, H as InvokedCommand, L as LineBuffer, J as ListModelsArgs, K as ListRunnersArgs, M as LoadSkillArgs, N as McpClientConfig, O as McpCredential, P as McpTool, Q as McpToolContext, R as McpToolReply, S as MessageTaskArgs, T as ModelCatalog, U as ModelShortcut, V as ORCHESTRATOR_SHORTCUTS, W as ORDEWELL_MCP_PATH, X as ORDEWELL_MCP_SERVER_NAME, Y as OneTaskArgs, $ as OwnerOnlyFile, a0 as PLANNER_EXECUTION_TOOLS, a1 as PLANNER_TOOLS, a2 as PlannerAllowlist, a3 as PlannerStartOptions, a4 as PlannerTokenScope, a7 as ProviderCredentialSource, a9 as ProviderModelsResult, ab as REFUSED_COMMANDS, ad as ResearchShellDeps, ae as RetryTaskArgs, af as RunCommandArgs, ag as RunPlanArgs, ai as RunnerCommandKind, aj as RunnerEntry, ak as RunnerFeatures, am as RunnerMcpServer, an as RunnerMode, ao as RunnerModelDiscovery, aq as ShellDialect, ar as SpawnFn, as as StandingDecision, av as SubmitPlanArgs, aw as TASK_COMPLETE_TOOL, ax as TASK_COMPLETION_CONTRACT, ay as TASK_TOOLS, aA as TaskDiffArgs, aD as TaskModeUnsupportedError, aE as TaskOutputArgs, aF as TaskQueryArgs, aJ as TaskToolHandler, aK as approvalScopes, aL as classifyCommand, aM as clearResearchShellCache, aN as collectProviderCredentials, aO as commandAllowedBy, aP as effectiveApprovalMode, aQ as enabledRunners, aR as fetchAllProviderModels, aS as findRunnerCommand, aT as isGranted, aU as isRunnerApproval, aV as knownModelId, aW as mcpClientConfig, aX as ownerOnlyConfigFile, aY as parseAllowlist, aZ as parseApprovalModeSetting, a_ as researchShellWarning, a$ as researchToolsPath, b0 as resolveModelShortcut, b1 as resolveProvider, b2 as resolveResearchShell, b3 as scopeAllowed, b4 as sharedMcpServer, b5 as toApprovalDecision, b6 as toOrchestratorOptions, b7 as toolAllowed } from './IRunner-C7_SSpzG.js';
7
- import { T as ToolOutcome, I as IFileSystem, R as ReadFileOpts, b as GrepOptions, a as GlobOptions, F as FindSymbolOptions } from './IFileSystem-BCJBHFwB.js';
8
- export { G as GREP_DEFAULT_HEAD_LIMIT, c as GrepOutputMode, S as SEARCH_EXCLUSIONS } from './IFileSystem-BCJBHFwB.js';
9
- import { R as RunnerModeInfo } from './ModeResolver-u5ZhRC8x.js';
10
- export { a as autonomyLevelLabel, p as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-u5ZhRC8x.js';
1
+ import { ae as Task, E as ExecutionActor, q as IsolationMergeResult, e as ExecutionRecord, f as GuardTrip, ad as SupervisorLevel, d as ExecutionCommandName, G as GuardTarget, a1 as RunnerId, c as DiscoveredModel, Y as ResearchProgress, X as ResearchLogEntry, C as ConversationMessage, a6 as SkillInfo, a7 as SkillLoad, ab as SkillsService, L as LegacyPlanState, K as PlanStatus, m as IsolationLandedTask, I as IWorktreeIsolation, z as IsolationTaskStatus, H as PlanIsolation, aq as UsageRecord, $ as ResearchToolType, O as PlannerUsage, am as TaskSnapshot, J as PlanState, F as IsolationView, as as Verdict, al as TaskSkillSnapshot } from './Task-AfA1m4qW.js';
2
+ export { A as AttemptUsage, a as AwaitingReason, B as BUILTIN_SKILL_NAMES, D as DEFAULT_RUNNERS, b as DEFAULT_SUPERVISOR_RETRY_LIMIT, g as IntegrationDisposal, h as InvalidSkill, i as IsolationAvailability, j as IsolationHandoff, k as IsolationHandoffRepo, l as IsolationInactiveReason, n as IsolationLanding, o as IsolationMergeBlock, p as IsolationMergeBlockReason, r as IsolationOutcome, s as IsolationPruneResult, t as IsolationRemoval, u as IsolationRepo, v as IsolationRun, w as IsolationTaskRecord, x as IsolationTaskRef, y as IsolationTaskRepo, M as ModelUsage, N as PlanUsage, Q as PrepareIntent, R as PreparedTask, S as PreservedWork, T as PreviousWork, U as RefusedRemoval, V as RepairEvidence, W as RepoGroupLayout, Z as ResearchStep, _ as ResearchStepOutcome, a0 as RunSettings, a2 as SetupFailure, a3 as ShadowedSkill, a4 as SkillAppliesTo, a5 as SkillCatalog, a8 as SkillLoadNotice, a9 as SkillMetadata, aa as SkillSource, ah as TaskIsolation, ai as TaskIsolationState, aj as TaskModelAssignment, an as TaskStatus, ao as TreeSnapshot, ap as UsageLine, ar as UsageTotals, at as VerificationCheck, au as addAttemptUsage, av as addModelUsage, aw as addPlannerUsage, ax as addUsage, ay as addUsageTotals, az as createEmptyPlan, aA as createSkillsService, aB as createTask, aC as endAttemptUsage, aD as flattenTasks, aE as flattenTasksWithParents, aF as isAwaitingReason, aG as isMeasured, aH as isSupervisorLevel, aI as isUserMessage, aJ as migratePlanState, aK as partedPromptUsage, aL as pausedOnLimit, aM as planUsage, aN as plannerContextFill, aO as rejoinPlanTree, aP as startAttemptUsage, aQ as usageLine } from './Task-AfA1m4qW.js';
3
+ import { v as LiveTailOptions, L as LiveTail, S as PlannerModes, ap as TaskOp, t as IsolatedExecution, a7 as SessionBroadcaster, b as ApplyTaskOpsResult, ac as SkillLookup, a9 as SessionNotice, q as EditCatalog, a8 as SessionMessage, R as PlanStore, aq as TaskOrchestrator, u as IsolationRunController, O as OrchestratorObserver, an as TaskLogEvent, I as INotification, s as GlobalRunSettings, $ as RunView, X as RunMergeView, at as TaskOutputSource, aK as UserSettings, ah as SurfacePlan, ai as SurfacePlanState } from './plan-utils-gpeqV-Lp.js';
4
+ export { A as ACT_RISK, a as AUTORUN_RISK, c as ApprovalBlock, d as ApprovalStatus, e as AutoMergeTrigger, B as BlockingSubject, C as CHECKPOINT_TRUNCATE_LENGTH, f as CommandBlock, g as CommandStatus, h as CompactionBlock, i as ConversationInput, j as ConversationView, D as DiffRow, k as DiffRowKind, l as DiffStat, m as DisplayBlock, E as EMPTY_CONVERSATION, n as EMPTY_HOLD, o as EMPTY_RUN, p as EMPTY_TASK_LOG, r as ExecutionSummary, G as GatedConversation, w as LocalEntry, M as MarkdownToken, x as MessageBlock, y as MessageRole, N as NOT_STARTED, z as NO_TURN, F as NewTaskFields, H as NotificationAction, J as OutputPreview, P as PlanBlock, K as PlanMarkerStatus, Q as PlanSnapshot, T as PromptHold, U as RUN_SETTINGS_DEFAULTS, W as RunInput, Y as RunSettingsError, Z as RunTask, _ as RunTaskStatus, a0 as RunnerLoadedBlock, a1 as SUPERVISOR_LEVEL_LABEL, a2 as SerializedConversationMessage, a3 as SerializedPendingTurn, a4 as SerializedPlan, a5 as SerializedTask, a6 as SerializedTaskStatus, aa as SettingsService, ab as SkillLoadBlock, ad as SkillToken, ae as SubagentBlock, af as SubagentChild, ag as SubagentStatus, aj as SurfaceTask, ak as TakenPrompt, al as TaskAttemptSnapshot, am as TaskControlError, ao as TaskLogView, ar as TaskOrchestratorDeps, as as TaskOrchestratorOptions, au as TaskRef, av as TaskRowAction, aw as TaskRowContext, ax as TaskRowIsolation, ay as TaskRowKind, az as TaskRowPlacement, aA as TaskRowSubject, aB as TaskRowUsage, aC as TaskRowView, aD as TaskStatusKind, aE as ThinkingDisplayBlock, aF as ToolBlock, aG as ToolHeadline, aH as ToolStatus, aI as TurnGate, aJ as UsageBlock, aL as aheadOfDraft, aM as applyTaskOps, aN as approvalLabel, aO as automergeSummary, aP as autorunSummary, aQ as awaitingLabel, aR as blockedByLabel, aS as blockingFailures, aT as canMergeTasks, aU as canSetDependencies, aV as canSplitTask, aW as capConflictFiles, aX as classifyOutcome, aY as coalesceTaskLog, aZ as dependencyCandidates, a_ as dependentsNotice, a$ as dependentsOf, b0 as diffRows, b1 as diffStat, b2 as diffSummary, b3 as digestTaskLog, b4 as drainNext, b5 as executionSummary, b6 as followTurn, b7 as fromTranscript, b8 as getSettingsPath, b9 as hasHiddenDetail, ba as holdPrompt, bb as isTaskRunning, bc as loadedSkillTokens, bd as markAction, be as markRequestFor, bf as markdownHtml, bg as markdownTokens, bh as namedRepos, bi as newTaskFields, bj as opsEditable, bk as outputLines, bl as outputPreview, bm as parseCount, bn as parseSwitch, bo as parseTaskOpsJson, bp as pastGateConfirmation, bq as reduceConversation, br as reduceRun, bs as reduceTaskLog, bt as replayTaskLog, bu as resolveTaskRef, bv as resumeLabel, bw as resumeTime, bx as runSettingsOf, by as runnerToolSubject, bz as serializePlan, bA as serializeTask, bB as serializeTaskStatus, bC as skillTokens, bD as skippedLabel, bE as stopTurn, bF as summarizeToolCall, bG as supervisorSummary, bH as surfacePlan, bI as surfacePlanState, bJ as takeAt, bK as taskLogForSurface, bL as taskOrderLabel, bM as taskRef, bN as taskRefOf, bO as taskRowActions, bP as taskRowView, bQ as taskStartedNotice, bR as taskStatusKind, bS as textHasTaskOps, bT as titledRefs, bU as titledTaskRef, bV as titledTaskRefOf, bW as toTaskLogEvent, bX as toolHeadline, bY as trimToolOutput, bZ as truncateCheckpointSummary, b_ as unsendAll, b$ as unsendLatest } from './plan-utils-gpeqV-Lp.js';
5
+ import { I as IApproval, y as IConfig, d as AgentProcessDeps, a as AgentAdapter, _ as OrdewellMcpServer, a6 as PlannerToolHandler, ad as ResearchShell, p as ApprovalRequest, j as ApprovalDecision, i as ApprovalAnswer, z as IRunner, a3 as PlannerBackendId, a9 as ProviderModelLists, f as AiProvider, m as ApprovalModeSetting, aq as RunnerRegistry, Z as OrchestratorOption, aD as TaskModeAgentAdapter, e as AgentStartOptions, c as AgentEvent, ai as RunnerCommand, a7 as ProjectMcpServer, n as ApprovalPolicy, B as IRunnerSession, aA as TaskCompleteArgs, r as CheckpointAnswer, av as StructuredTurnEnd, au as StructuredEvent, aC as TaskMessageFrom, ab as QueuedTaskMessage, aI as TaskStartOptions, aJ as TaskTokenScope, am as RunnerManifest, aH as TaskRunnerFlags } from './IRunner-WwL-Bjqq.js';
6
+ export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, k as ApprovalKind, l as ApprovalMode, o as ApprovalPolicyOptions, q as ApprovalSource, C as CatalogModel, s as CheckpointArgs, t as CommandClassification, u as CommandTier, v as CommandWords, D as DEFAULT_PLANNER_ALLOWLIST, w as DENY_ALL, x as DiscoveryCommand, E as EditPlanArgs, F as FetchAllProviderModelsOptions, G as GIT_READONLY_SUBCOMMANDS, H as InvokedCommand, L as LineBuffer, J as ListModelsArgs, K as ListRunnersArgs, M as LoadSkillArgs, N as McpClientConfig, O as McpCredential, P as McpTool, Q as McpToolContext, R as McpToolReply, S as MessageTaskArgs, T as ModelCatalog, U as ModelShortcut, V as ORCHESTRATOR_SHORTCUTS, W as ORDEWELL_MCP_PATH, X as ORDEWELL_MCP_SERVER_NAME, Y as OneTaskArgs, $ as OwnerOnlyFile, a0 as PLANNER_EXECUTION_TOOLS, a1 as PLANNER_TOOLS, a2 as PlannerAllowlist, a4 as PlannerStartOptions, a5 as PlannerTokenScope, a8 as ProviderCredentialSource, aa as ProviderModelsResult, ac as REFUSED_COMMANDS, ae as ResearchShellDeps, af as RetryTaskArgs, ag as RunCommandArgs, ah as RunPlanArgs, aj as RunnerCommandKind, ak as RunnerEntry, al as RunnerFeatures, an as RunnerMcpServer, ao as RunnerMode, ap as RunnerModelDiscovery, ar as ShellDialect, as as SpawnFn, at as StandingDecision, aw as SubmitPlanArgs, ax as TASK_COMPLETE_TOOL, ay as TASK_COMPLETION_CONTRACT, az as TASK_TOOLS, aB as TaskDiffArgs, aE as TaskModeUnsupportedError, aF as TaskOutputArgs, aG as TaskQueryArgs, aK as TaskToolHandler, aL as approvalScopes, aM as classifyCommand, aN as clearResearchShellCache, aO as collectProviderCredentials, aP as commandAllowedBy, aQ as effectiveApprovalMode, aR as enabledRunners, aS as fetchAllProviderModels, aT as findRunnerCommand, aU as isGranted, aV as isRunnerApproval, aW as knownModelId, aX as mcpClientConfig, aY as ownerOnlyConfigFile, aZ as parseAllowlist, a_ as parseApprovalModeSetting, a$ as researchShellWarning, b0 as researchToolsPath, b1 as resolveModelShortcut, b2 as resolveProvider, b3 as resolveResearchShell, b4 as scopeAllowed, b5 as sharedMcpServer, b6 as toApprovalDecision, b7 as toOrchestratorOptions, b8 as toolAllowed } from './IRunner-WwL-Bjqq.js';
7
+ import { T as ToolOutcome, I as IFileSystem, R as ReadFileOpts, b as GrepOptions, a as GlobOptions, F as FindSymbolOptions } from './IFileSystem-CyTIoiSn.js';
8
+ export { G as GREP_DEFAULT_HEAD_LIMIT, c as GrepOutputMode, S as SEARCH_EXCLUSIONS } from './IFileSystem-CyTIoiSn.js';
9
+ import { R as RunnerModeInfo } from './ModeResolver-DrMU-5lw.js';
10
+ export { a as autonomyLevelLabel, p as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-DrMU-5lw.js';
11
11
  import { ChildProcess } from 'child_process';
12
12
  import { EventEmitter } from 'events';
13
13
  import 'zod/v4';
@@ -1848,7 +1848,7 @@ declare function formatSearchOutput(capped: CappedRows, root: string, opts: {
1848
1848
 
1849
1849
  declare function normalizeGeminiModel(id: string): string;
1850
1850
  declare abstract class BaseConfig implements IConfig {
1851
- abstract aiProvider: AiProvider;
1851
+ abstract aiProvider: PlannerBackendId;
1852
1852
  abstract apiKey: string;
1853
1853
  abstract planningModel: string;
1854
1854
  abstract enabledRunners: string[];
@@ -1928,7 +1928,7 @@ declare abstract class BaseConfig implements IConfig {
1928
1928
  get webReadBudget(): number;
1929
1929
  get approvalDefaults(): boolean;
1930
1930
  get approvalPreApproved(): string[];
1931
- protected static detectProvider(fallback: AiProvider): AiProvider;
1931
+ protected static detectProvider(fallback: PlannerBackendId): PlannerBackendId;
1932
1932
  }
1933
1933
 
1934
1934
  /**
@@ -1938,7 +1938,7 @@ declare abstract class BaseConfig implements IConfig {
1938
1938
  * subclass only supplies the abstract members from the environment.
1939
1939
  */
1940
1940
  declare class EnvConfig extends BaseConfig {
1941
- get aiProvider(): AiProvider;
1941
+ get aiProvider(): PlannerBackendId;
1942
1942
  get apiKey(): string;
1943
1943
  get planningModel(): string;
1944
1944
  get enabledRunners(): string[];
@@ -2160,6 +2160,8 @@ declare class OpenAiService extends BaseAiService implements IAiService {
2160
2160
  * key the user had already replaced.
2161
2161
  */
2162
2162
  private getClient;
2163
+ /** The vendor this service talks to; `createAiService` routes every other planner elsewhere. */
2164
+ private vendor;
2163
2165
  ensureInit(): void;
2164
2166
  private requireModel;
2165
2167
  reset(): void;
@@ -2338,16 +2340,14 @@ declare class RunnerInstallation {
2338
2340
  clear(): void;
2339
2341
  }
2340
2342
 
2341
- declare const PROVIDER_LABEL: Record<AiProvider, string>;
2342
- declare const PROVIDER_SHORT_LABEL: Record<AiProvider, string>;
2343
2343
  interface ProviderRegistration {
2344
- id: AiProvider;
2344
+ id: PlannerBackendId;
2345
2345
  label: string;
2346
2346
  shortLabel: string;
2347
2347
  /** `cli` is a harness planner (ADR-0009): a local coding agent, not an HTTP vendor. */
2348
2348
  serviceType: 'openai' | 'google' | 'cli';
2349
2349
  /** Harness planners only: the runner id whose manifest, models and binary this provider drives. */
2350
- runnerId?: string;
2350
+ runnerId?: RunnerId;
2351
2351
  defaultBaseUrl: string;
2352
2352
  apiKeyEnvVar: string;
2353
2353
  detectEnvVars: string[];
@@ -2358,10 +2358,25 @@ interface ProviderRegistration {
2358
2358
  discoversModels: boolean;
2359
2359
  modelPrefix?: string;
2360
2360
  }
2361
- declare const ALL_PROVIDERS: Record<AiProvider, ProviderRegistration>;
2361
+ declare const PROVIDER_PRIORITY: AiProvider[];
2362
+ declare const PROVIDER_DETECT_PRIORITY: AiProvider[];
2363
+
2364
+ /**
2365
+ * Keyed by planner backend: every vendor has an entry, and a runner id has one
2366
+ * only when that runner can plan, which the type cannot know.
2367
+ */
2368
+ type ByPlannerBackend<T> = Readonly<Record<AiProvider, T>> & Readonly<Partial<Record<RunnerId, T>>>;
2369
+ declare const ALL_PROVIDERS: ByPlannerBackend<ProviderRegistration>;
2370
+ declare const PROVIDER_LABEL: ByPlannerBackend<string>;
2371
+ declare const PROVIDER_SHORT_LABEL: ByPlannerBackend<string>;
2362
2372
  declare function getProviderMeta(id: AiProvider): ProviderRegistration;
2363
- declare function prefixModelId(provider: AiProvider, modelId: string): string;
2364
- declare function stripModelPrefix(id: string, provider: AiProvider): string;
2373
+ declare function getProviderMeta(id: PlannerBackendId): ProviderRegistration | undefined;
2374
+ /** Whether a planner backend id names an API vendor, the kind that takes a key and a base URL. */
2375
+ declare function isApiProvider(id: PlannerBackendId): id is AiProvider;
2376
+ /** Whether an id names a planner backend at all: a vendor, or a runner that can plan. */
2377
+ declare function isPlannerBackend(id: string): id is PlannerBackendId;
2378
+ declare function prefixModelId(provider: PlannerBackendId, modelId: string): string;
2379
+ declare function stripModelPrefix(id: string, provider: PlannerBackendId): string;
2365
2380
  declare function resolveProviderFromPrefix(id: string): AiProvider | null;
2366
2381
  /**
2367
2382
  * The harness planners, in display order. Deliberately NOT part of
@@ -2371,10 +2386,8 @@ declare function resolveProviderFromPrefix(id: string): AiProvider | null;
2371
2386
  * that offer a planner picker concatenate the two lists and gate these on
2372
2387
  * `RunnerInstallation.plannerUsability`.
2373
2388
  */
2374
- declare const CLI_PROVIDERS: AiProvider[];
2375
- declare const PROVIDER_PRIORITY: AiProvider[];
2376
- declare const PROVIDER_DETECT_PRIORITY: AiProvider[];
2377
- declare function isOpenAiProvider(id: AiProvider): boolean;
2389
+ declare const CLI_PROVIDERS: readonly RunnerId[];
2390
+ declare function isOpenAiProvider(id: PlannerBackendId): boolean;
2378
2391
  /**
2379
2392
  * The one guard that separates a harness planner from an LLM vendor (ADR-0009).
2380
2393
  * Three places consult it: API-key resolution (skipped — the subscription is
@@ -2382,24 +2395,24 @@ declare function isOpenAiProvider(id: AiProvider): boolean;
2382
2395
  * the planner-model picker (fed by per-runner discovery, not the vendor
2383
2396
  * catalog).
2384
2397
  */
2385
- declare function isCliProvider(id: AiProvider): boolean;
2386
- /** The runner a harness planner drives, or null for a vendor provider. */
2387
- declare function runnerForProvider(id: AiProvider): string | null;
2398
+ declare function isCliProvider(id: PlannerBackendId): boolean;
2399
+ /** The runner a harness planner drives, or null for a vendor provider or an unknown id. */
2400
+ declare function runnerForProvider(id: PlannerBackendId): RunnerId | null;
2388
2401
  /** The harness planner that wraps a given runner, or null when none does. */
2389
- declare function providerForRunner(runner: string): AiProvider | null;
2402
+ declare function providerForRunner(runner: RunnerId): PlannerBackendId | null;
2390
2403
  /** One runner's planner usability, as `RunnerInstallation.plannerUsability` reports it. */
2391
2404
  interface PlannerUsability {
2392
2405
  usable: boolean;
2393
2406
  reason?: string;
2394
2407
  }
2395
2408
  /**
2396
- * One entry of the planner backend list (ADR-0009). `id` is the `AiProvider`
2397
- * either way; `runner` is set only for a harness planner, whose model catalog
2409
+ * One entry of the planner backend list (ADR-0009). `id` is the
2410
+ * `PlannerBackendId` either way; `runner` is set only for a harness planner, whose model catalog
2398
2411
  * comes from that runner, and `reason` is the second line a surface renders —
2399
2412
  * the block detail for a harness planner, the API-key variable for a vendor.
2400
2413
  */
2401
2414
  interface PlannerBackendEntry {
2402
- id: AiProvider;
2415
+ id: PlannerBackendId;
2403
2416
  label: string;
2404
2417
  kind: 'harness' | 'vendor';
2405
2418
  runner?: string;
@@ -4323,8 +4336,8 @@ interface TaskLogResponse {
4323
4336
  type SessionListResponse = SessionMeta[];
4324
4337
  interface SettingsResponse {
4325
4338
  orchestratorModel: string;
4326
- /** Who plans (ADR-0009) — a vendor id, or one of the three harness planners. */
4327
- aiProvider: AiProvider;
4339
+ /** Who plans (ADR-0009) — a vendor id, or a runner serving as a harness planner. */
4340
+ aiProvider: PlannerBackendId;
4328
4341
  plannerThinkingEffort: string;
4329
4342
  maxParallel: number;
4330
4343
  modelAllowlist: UserSettings['modelAllowlist'];
@@ -5180,13 +5193,13 @@ declare function savePrdMarkdown(workspace: string, slug: string, markdown: stri
5180
5193
 
5181
5194
  /** Who plans, with which model and effort. Blank means unset. */
5182
5195
  interface PlannerSelectionState {
5183
- provider: AiProvider;
5196
+ provider: PlannerBackendId;
5184
5197
  model: string;
5185
5198
  effort: string;
5186
5199
  }
5187
5200
  /** What one user action asked for; an absent field leaves that part alone. */
5188
5201
  interface PlannerSelectionChange {
5189
- provider?: AiProvider;
5202
+ provider?: PlannerBackendId;
5190
5203
  model?: string;
5191
5204
  effort?: string;
5192
5205
  }
@@ -5216,4 +5229,4 @@ declare const DEFAULT_MAX_PARALLEL = 5;
5216
5229
  */
5217
5230
  declare function parseMaxParallel(value: unknown): number | null;
5218
5231
 
5219
- export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, type AdoptSessionResponse, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApplyTaskOpsResult, ApprovalAnswer, type ApprovalAnswerResponse, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, ApprovalRequest, type ApprovalsResponse, type AskOptions, BaseAiService, BaseConfig, BaseFileSystem, BufferedTaskOutputSource, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CMD_EXE_MAX_COMMAND_LINE, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CancelPlanningResponse, type CancelResumeResponse, type CappedRows, CheckpointAnswer, type CheckpointListener, ClaudeCodeAdapter, CliAgentAiService, type CliAgentAiServiceDeps, CodexAdapter, CodexSandboxAvailability, type CommandDescriptor, CommandLineTooLongError, type CommandOutcome, type CommandsResponse, type Consent, ConsoleLogger, ContextCollector, type Continuability, ConversationBusyError, type ConversationCompactResponse, type ConversationCompaction, ConversationEditError, type ConversationFork, type ConversationForkResponse, ConversationMessage, type ConversationRequest, type ConversationRewind, type ConversationRewindResponse, type ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, DEFAULT_WEB_READ_BUDGET, type DaemonErrorCode, type DecideOptions, type DirEntry, DiscoveredModel, DuckDuckGoSearchProvider, EmbeddedNewlineError, type EnvAdmission, EnvConfig, type ErrorBody, type ExecImpl, ExecutableNotFoundError, type ExecuteResponse, ExecutionActor, type ExecutionCommand, ExecutionCommandName, ExecutionCommands, type ExecutionHost, ExecutionRecord, FindSymbolOptions, type ForceSendResponse, GREP_PCRE_PROBE_ARGS, GeminiService, type GeneratePlanResponse, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, GuardTarget, GuardTrip, HARNESS_PLANNER_REASON, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, type IAiService, IApproval, IConfig, IFileSystem, type ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, type IsolationDiffResponse, IsolationLandedTask, type IsolationMergeResponse, IsolationMergeResult, IsolationTaskStatus, IsolationView, type KillTreeDeps, type LaunchDeps, type LaunchPlan, LegacyPlanState, type LiveOutputLookup, LiveTail, LiveTailOptions, type LoopGuard, type MappedTool, type MergeGateEntry, type MergeGateResponse, ModelResolver, type ModelResolverDeps, type ModelsResponse, NoPlanError, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OUTPUT_LINES_DEFAULT, OUTPUT_LINES_MAX, type OkResponse, OpenAiService, OpenCodeAdapter, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type PendingApproval, PendingApprovals, type PendingApprovalsOptions, PlanEditError, PlanIsolation, type PlanRequest, type PlanResponse, PlanState, PlanStore, Planner, type PlannerBackendEntry, type PlannerModelCandidate, type PlannerModelChoice, type PlannerModelLookup, PlannerModelMemory, type PlannerModelRecall, type PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionResult, type PlannerSelectionState, type PlannerSubmission, PlannerToolHandler, PlannerTurnDiscardedError, PlannerTurnStoppedError, type PlannerUsability, PlannerUsage, type PrdBlock, type PrdResponse, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, type RemoveMessageResponse, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolveConflictResponse, type RewindTarget, type RewindTargetsResponse, RunMergeView, type RunSnapshotFrame, RunView, RunnerApprovals, RunnerCommand, RunnerId, RunnerInstallation, RunnerManifest, RunnerModeInfo, RunnerRegistry, type RunnerSpawnOptions, type RunnersResponse, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SUPERVISOR_LEVELS, SYMBOL_LANGUAGES, type SaveSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionData, type SessionDeps, type SessionListResponse, SessionMessage, type SessionMeta, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionResponse, type SessionRuntimeSettings, type SettingsResponse, type SettingsUpdateResponse, SkillInfo, type SkillInvocation, SkillLoad, SkillsService, type SpawnSpec, StdioAgentAdapter, type StopResponse, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SupervisorLevel, type SupervisorPolicy, SurfacePlan, SurfacePlanState, TASK_QUERY_ANSWER_MAX_CHARS, TASK_QUERY_ANSWER_OR_OPS, TASK_QUERY_FIELDS, TASK_QUERY_PROTOCOL, TASK_QUERY_REMINDER, Task, TaskCompleteArgs, type TaskLogAttemptsResponse, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, type TaskLogResponse, TaskMessageFrom, type TaskMessageResponse, TaskModeAgentAdapter, TaskOp, TaskOrchestrator, TaskOutputSource, type TaskQuery, type TaskQueryCatalog, type TaskQueryField, TaskRunnerFlags, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VerdictEngine, type VerdictListener, WINDOWS_MAX_COMMAND_LINE, type WebRead, type WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorkspacesResponse, type WorktreeIsolationDeps, abbreviateHome, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexSandboxNotice, configuredProviders, continuability, createAiService, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultLogger, definitionPattern, deleteSession, describeMergeResult, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, formatSearchOutput, getLatestSession, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, idSegment, includeGlobFor, isCliProvider, isExecutableResolved, isOpenAiProvider, killTree, languageForId, listSessions, listTaskLogAttempts, listTree, loadSession, loadSessionPlanState, loadState, looksLikeChallenge, mapAgentTool, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, normalizeAgentArgs, normalizeGeminiModel, openTaskLog, parseMaxParallel, parseSearchHits, parseTaskQueryJson, planDirectLaunch, plannerBackendEntries, plannerMessage, plannerTranscript, prefixModelId, providerForRunner, readDaemonToken, readTaskLog, referencePattern, removedPluginNotice, renderTaskQueryAnswer, resolveProviderFromPrefix, resolveSkillInvocation, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveSession, saveState, selectPlanner, sessionDataDir, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskQuerySignature, textHasTaskQuery, tokenSubprotocols, tokensMatch, wellKnownBinDirs, windowsCommandLine, withPath, writePrivateFile };
5232
+ export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, type AdoptSessionResponse, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApplyTaskOpsResult, ApprovalAnswer, type ApprovalAnswerResponse, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, ApprovalRequest, type ApprovalsResponse, type AskOptions, BaseAiService, BaseConfig, BaseFileSystem, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CMD_EXE_MAX_COMMAND_LINE, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CancelPlanningResponse, type CancelResumeResponse, type CappedRows, CheckpointAnswer, type CheckpointListener, ClaudeCodeAdapter, CliAgentAiService, type CliAgentAiServiceDeps, CodexAdapter, CodexSandboxAvailability, type CommandDescriptor, CommandLineTooLongError, type CommandOutcome, type CommandsResponse, type Consent, ConsoleLogger, ContextCollector, type Continuability, ConversationBusyError, type ConversationCompactResponse, type ConversationCompaction, ConversationEditError, type ConversationFork, type ConversationForkResponse, ConversationMessage, type ConversationRequest, type ConversationRewind, type ConversationRewindResponse, type ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, DEFAULT_WEB_READ_BUDGET, type DaemonErrorCode, type DecideOptions, type DirEntry, DiscoveredModel, DuckDuckGoSearchProvider, EmbeddedNewlineError, type EnvAdmission, EnvConfig, type ErrorBody, type ExecImpl, ExecutableNotFoundError, type ExecuteResponse, ExecutionActor, type ExecutionCommand, ExecutionCommandName, ExecutionCommands, type ExecutionHost, ExecutionRecord, FindSymbolOptions, type ForceSendResponse, GREP_PCRE_PROBE_ARGS, GeminiService, type GeneratePlanResponse, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, GuardTarget, GuardTrip, HARNESS_PLANNER_REASON, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, type IAiService, IApproval, IConfig, IFileSystem, type ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, type IsolationDiffResponse, IsolationLandedTask, type IsolationMergeResponse, IsolationMergeResult, IsolationTaskStatus, IsolationView, type KillTreeDeps, type LaunchDeps, type LaunchPlan, LegacyPlanState, type LiveOutputLookup, LiveTail, LiveTailOptions, type LoopGuard, type MappedTool, type MergeGateEntry, type MergeGateResponse, ModelResolver, type ModelResolverDeps, type ModelsResponse, NoPlanError, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OUTPUT_LINES_DEFAULT, OUTPUT_LINES_MAX, type OkResponse, OpenAiService, OpenCodeAdapter, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type PendingApproval, PendingApprovals, type PendingApprovalsOptions, PlanEditError, PlanIsolation, type PlanRequest, type PlanResponse, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerModelCandidate, type PlannerModelChoice, type PlannerModelLookup, PlannerModelMemory, type PlannerModelRecall, type PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionResult, type PlannerSelectionState, type PlannerSubmission, PlannerToolHandler, PlannerTurnDiscardedError, PlannerTurnStoppedError, type PlannerUsability, PlannerUsage, type PrdBlock, type PrdResponse, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, type RemoveMessageResponse, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolveConflictResponse, type RewindTarget, type RewindTargetsResponse, RunMergeView, type RunSnapshotFrame, RunView, RunnerApprovals, RunnerCommand, RunnerId, RunnerInstallation, RunnerManifest, RunnerModeInfo, RunnerRegistry, type RunnerSpawnOptions, type RunnersResponse, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SUPERVISOR_LEVELS, SYMBOL_LANGUAGES, type SaveSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionData, type SessionDeps, type SessionListResponse, SessionMessage, type SessionMeta, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionResponse, type SessionRuntimeSettings, type SettingsResponse, type SettingsUpdateResponse, SkillInfo, type SkillInvocation, SkillLoad, SkillsService, type SpawnSpec, StdioAgentAdapter, type StopResponse, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SupervisorLevel, type SupervisorPolicy, SurfacePlan, SurfacePlanState, TASK_QUERY_ANSWER_MAX_CHARS, TASK_QUERY_ANSWER_OR_OPS, TASK_QUERY_FIELDS, TASK_QUERY_PROTOCOL, TASK_QUERY_REMINDER, Task, TaskCompleteArgs, type TaskLogAttemptsResponse, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, type TaskLogResponse, TaskMessageFrom, type TaskMessageResponse, TaskModeAgentAdapter, TaskOp, TaskOrchestrator, TaskOutputSource, type TaskQuery, type TaskQueryCatalog, type TaskQueryField, TaskRunnerFlags, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VerdictEngine, type VerdictListener, WINDOWS_MAX_COMMAND_LINE, type WebRead, type WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorkspacesResponse, type WorktreeIsolationDeps, abbreviateHome, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexSandboxNotice, configuredProviders, continuability, createAiService, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultLogger, definitionPattern, deleteSession, describeMergeResult, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, formatSearchOutput, getLatestSession, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, idSegment, includeGlobFor, isApiProvider, isCliProvider, isExecutableResolved, isOpenAiProvider, isPlannerBackend, killTree, languageForId, listSessions, listTaskLogAttempts, listTree, loadSession, loadSessionPlanState, loadState, looksLikeChallenge, mapAgentTool, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, normalizeAgentArgs, normalizeGeminiModel, openTaskLog, parseMaxParallel, parseSearchHits, parseTaskQueryJson, planDirectLaunch, plannerBackendEntries, plannerMessage, plannerTranscript, prefixModelId, providerForRunner, readDaemonToken, readTaskLog, referencePattern, removedPluginNotice, renderTaskQueryAnswer, resolveProviderFromPrefix, resolveSkillInvocation, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveSession, saveState, selectPlanner, sessionDataDir, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskQuerySignature, textHasTaskQuery, tokenSubprotocols, tokensMatch, wellKnownBinDirs, windowsCommandLine, withPath, writePrivateFile };