@ordewell/core 0.12.4 → 0.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/{ModeResolver-DS-aCVOP.d.ts → ModeResolver-CW8TEJjB.d.ts} +1 -1
  2. package/dist/{ModeResolver-CkZnbIqs.d.mts → ModeResolver-Clrk1OfJ.d.mts} +1 -1
  3. package/dist/{Task-D3O49EUo.d.mts → Task-jF9O6eWO.d.mts} +8 -2
  4. package/dist/{Task-D3O49EUo.d.ts → Task-jF9O6eWO.d.ts} +8 -2
  5. package/dist/{chunk-3S5IVTZM.mjs → chunk-GH5ZORAM.mjs} +1545 -9
  6. package/dist/chunk-GH5ZORAM.mjs.map +1 -0
  7. package/dist/{eventStore-CSFKy48Y.d.ts → eventStore-1iW5KeCk.d.mts} +209 -9
  8. package/dist/{eventStore-BcoMsZtU.d.mts → eventStore-COZ9fxn7.d.ts} +209 -9
  9. package/dist/index.d.mts +151 -49
  10. package/dist/index.d.ts +151 -49
  11. package/dist/index.js +6499 -2537
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.mjs +4856 -2405
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/parsing.d.mts +2 -2
  16. package/dist/parsing.d.ts +2 -2
  17. package/dist/plan-utils.d.mts +4 -4
  18. package/dist/plan-utils.d.ts +4 -4
  19. package/dist/plan-utils.js +54 -0
  20. package/dist/plan-utils.js.map +1 -1
  21. package/dist/plan-utils.mjs +13 -1
  22. package/dist/plan-utils.mjs.map +1 -1
  23. package/dist/{runSettingsText-BFaZSPRG.d.ts → runSettingsText--fMBMiPs.d.mts} +133 -12
  24. package/dist/{runSettingsText-DWsmcnBq.d.mts → runSettingsText-DCu4ItQN.d.ts} +133 -12
  25. package/dist/testing.d.mts +5 -3
  26. package/dist/testing.d.ts +5 -3
  27. package/dist/testing.js +6 -0
  28. package/dist/testing.js.map +1 -1
  29. package/dist/testing.mjs +5 -0
  30. package/dist/testing.mjs.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-3S5IVTZM.mjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { b4 as RunnerId, aY as ResearchProgress, bH as UsageRecord, aX as ResearchLogEntry, bq as Task, p as DiscoveredModel, S as IIsolationPreview, T as IWorktreeIsolation, a6 as IsolationRemoval, af as IsolationTaskStatus, ag as IsolationView, ax as PlanIsolation, aj as LegacyPlanState, b5 as RunnerSessionCost, ao as MandateLimits, I as HandoffCheck, bo as SubtreeReport, d as ChildTaskCounts, bK as VerificationCheck, aW as ReportedWindow, aH as PlannerUsage, o as DelegatedRow, bA as TaskSkillSnapshot, bl as SkillsService, at as NodeAuthority, q as ExecutionActor, am as Mandate, aq as MandateRequest, bB as TaskSnapshot, ay as PlanState, bJ as Verdict, bm as StoredHandoff, b8 as ScriptBody } from './Task-D3O49EUo.js';
2
- export { A as ApprovalRecord, a as AttemptUsage, b as AwaitingReason, B as BUILTIN_SKILL_NAMES, c as BelowPlan, e as CommandWords, f as ContextCheckpoint, g as ContextFill, h as ConversationMessage, i as CostProvenance, D as DEFAULT_LOOP_ROUNDS, j as DEFAULT_PLANNER_ALLOWLIST, k as DEFAULT_RUNNERS, l as DEFAULT_SCRIPT_TIMEOUT_MS, m as DEFAULT_SUPERVISOR_RETRY_LIMIT, n as DIGEST_FINDINGS, E as EffectRules, r as ExecutionCommandName, s as ExecutionRecord, F as FLOOR_GRANTS, t as FindingSeverity, G as GRANTS, u as Grant, v as GuardTarget, w as GuardTrip, H as HANDOFF_LIMITS, x as HANDOFF_PUSH_CHARS, y as Handoff, z as HandoffArtifact, J as HandoffCommit, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, N as HandoffLogs, O as HandoffPatch, P as HandoffPins, Q as HandoffPreviewOptions, R as HandoffTaskName, U as IntegrationDisposal, V as InvalidSkill, W as IsolationAvailability, X as IsolationHandoff, Y as IsolationHandoffRepo, Z as IsolationInactiveReason, _ as IsolationLandedTask, $ as IsolationLanding, a0 as IsolationMergeBlock, a1 as IsolationMergeBlockReason, a2 as IsolationMergeResult, a3 as IsolationOutcome, a4 as IsolationPreview, a5 as IsolationPruneResult, a7 as IsolationRepo, a8 as IsolationRepoRevert, a9 as IsolationRevertResult, aa as IsolationRevertTask, ab as IsolationRun, ac as IsolationTaskRecord, ad as IsolationTaskRef, ae as IsolationTaskRepo, ah as LandedTask, ai as LandedWork, ak as LoopSubject, al as MAX_LOOP_ROUNDS, an as MandateExclusions, ap as MandateRefusal, ar as ModelUsage, as as Narrowed, au as PatchFlag, av as PatchView, az as PlanStatus, aA as PlanUsage, aB as PlannerAllowlist, aC as PlannerCompaction, aD as PlannerCompactionOutcome, aE as PlannerContextPause, aG as PlannerResendState, aI as PrepareIntent, aJ as PreparedTask, aK as PreservedWork, aL as PreviewRepo, aM as PreviousWork, aN as REPORT_MAX_CHARS, aO as ROOT_NODE, aP as RefusedRemoval, aQ as RepairEvidence, aR as RepairWait, aS as ReplyRun, aT as RepoGroupLayout, aU as RepoHead, aV as ReportItem, aZ as ResearchStep, a_ as ResearchStepOutcome, b0 as RevertCommand, b1 as RevertWatch, b2 as RootSettings, b3 as RunSettings, b6 as SEVERITY_LABEL, b7 as SHAPE_LIMITS, b9 as ScriptConsent, ba as ScriptResult, bb as SessionBilling, bc as SetupFailure, bd as ShadowedSkill, be as SkillAppliesTo, bf as SkillCatalog, bg as SkillInfo, bh as SkillLoad, bi as SkillLoadNotice, bj as SkillMetadata, bk as SkillSource, bp as SupervisorLevel, bt as TaskEvidence, bu as TaskIsolation, bv as TaskIsolationState, bw as TaskLoop, bx as TaskModelAssignment, bC as TaskStatus, bD as TaskType, bE as TaskUsageSummary, bF as TreeSnapshot, bG as UsageLine, bI as UsageTotals, bL as WrittenTaskRef, bM as actorAuthority, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bS as artifactLines, bT as betweenRounds, bU as boundedHandoffLines, bV as byteSize, bW as checkHandoff, bX as checkOf, bY as commandAllowedBy, bZ as commandLine, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c2 as createEmptyPlan, c3 as createSkillsService, c4 as createTask, c5 as effectRuleFor, c6 as endAttemptUsage, c7 as findingLines, c8 as findingRefText, c9 as flattenTasks, ca as flattenTasksWithParents, cb as formatCost, cc as formatTokenCount, cd as handoffDigest, ce as handoffLines, cf as handoffPreviewLines, cg as handoffReferenceText, ch as handoffWakeLines, ci as heldHandoff, cj as heldMandate, ck as heldWords, cl as inLoop, cm as isAwaitingReason, cn as isMeasured, co as isSupervisorLevel, cp as isUserMessage, cq as loopRemovalRefusal, cr as loopRoundOf, cs as mandateRefusalText, ct as migratePlanState, cu as modelCostTitle, cv as namedHandoff, cw as narrow, cx as nodeText, cy as openingLines, cz as outOfRounds, cA as parseAllowlist, cB as parseEffectAllowlist, cC as parseFindingRef, cD as parseListingPage, cE as parsePlanPath, cF as partedPromptUsage, cG as patchChangesText, cH as patchFlagText, cI as patchLines, cJ as patchLinesText, cK as patchText, cL as patchView, cM as pausedOnLimit, cN as pinReference, cO as planUsage, cP as plannerContextFill, cQ as readableTaskIds, cR as rejoinPlanTree, cS as removedAttempt, cT as resolveWrittenRef, cU as resumedSessionWindow, cV as rootAuthority, cW as rootMandate, cX as savedPatchOf, cY as savedPatchView, cZ as savedPatchViews, c_ as scopeAllowed, c$ as scriptBodyOf, d0 as scriptBodyText, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d5 as storedHandoff, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, d9 as timeLimitText, da as toolAllowed, db as usageLine, dc as usageText, dd as waitsForApproval, de as withPatch, df as wordsFrom, dg as worstSeverity } from './Task-D3O49EUo.js';
3
- import { V as IConfig, W as IFileSystem, aE as PlannerToolHandler, ay as PlannerModes, aB as PlannerShellSandbox, aP as ResearchShell, U as IApproval, aN as ReadFileOpts, bP as ToolOutcome, Q as GrepOptions, bo as ShellLaunch, P as GlobOptions, M as FindSymbolOptions, B as BashOptions, bK as TaskShellSite, bJ as TaskShell, Z as IRunner, ax as PlannerBackendId, aI as ProviderModelLists, f as AiProvider, n as ApprovalModeSetting, b7 as RunnerRegistry, a_ as RunnerEnv, aq as OrchestratorOption, d as AgentProcessDeps, bC as TaskModeAgentAdapter, e as AgentStartOptions, a as AgentAdapter, c as AgentEvent, aX as RunnerCommand$1, s as AttachState, k as ApprovalDecision, aG as ProjectMcpServer, _ as IRunnerSession, bt as StructuredTurnEnd, bs as StructuredEvent, bB as TaskMessageFrom, aK as QueuedTaskMessage, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, af as McpToolReply, X as ILogger, Y as INotification, bH as TaskRunnerConfig, a1 as IsolationRunController, o as ApprovalPolicy, J as EventStore, j as ApprovalAnswer, ap as OpenLease, aF as PostArgs, aO as ReadTaskArgs, ar as OrdewellMcpServer, bL as TaskStartOptions, bM as TaskTokenScope, bO as TaskWebReads, i as ApplyPatchArgs, b6 as RunnerPlacement, b1 as RunnerManifest, bI as TaskRunnerFlags } from './eventStore-CSFKy48Y.js';
4
- export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, l as ApprovalKind, m as ApprovalMode, p as ApprovalPolicyOptions, q as ApprovalRequest, r as ApprovalSource, C as CatalogModel, y as CheckpointArgs, z as ChildSessionPlace, D as CommandClassification, E as CommandTier, F as ConsoleLogger, G as DENY_ALL, H as DiscoveryCommand, I as EditPlanArgs, L as FetchAllProviderModelsOptions, N as GIT_READONLY_SUBCOMMANDS, O as GREP_DEFAULT_HEAD_LIMIT, R as GrepOutputMode, $ as InvokedCommand, a6 as LineBuffer, a7 as ListModelsArgs, a8 as ListRunnersArgs, a9 as LoadSkillArgs, aa as McpClientConfig, ab as McpCredential, ac as McpRefusal, ad as McpTool, ae as McpToolContext, ag as MessageTaskArgs, ah as ModelCatalog, ai as ModelShortcut, ak as NotificationAction, al as ORCHESTRATOR_SHORTCUTS, am as ORDEWELL_MCP_PATH, an as ORDEWELL_MCP_SERVER_NAME, ao as OneTaskArgs, as as OwnSealedRuns, at as OwnerOnlyFile, au as PLANNER_EXECUTION_TOOLS, av as PLANNER_SANDBOX_DOCS, aw as PLANNER_TOOLS, az as PlannerSandboxAvailability, aA as PlannerSandboxDeps, aC as PlannerStartOptions, aD as PlannerTokenScope, aH as ProviderCredentialSource, aJ as ProviderModelsResult, aL as READ_ONLY_TASK_TOOLS, aM as REFUSED_COMMANDS, aQ as ResearchShellDeps, aS as RetryTaskArgs, aT as RunCommandArgs, aU as RunPlanArgs, aV as RunnerAuthSpec, aW as RunnerAuthStatus, aY as RunnerCommandKind, aZ as RunnerEntry, a$ as RunnerFeatures, b2 as RunnerMcpServer, b3 as RunnerMode, b4 as RunnerModelDiscovery, b5 as RunnerModelRef, b8 as SEALED_LIMITS, b9 as SEARCH_EXCLUSIONS, ba as SandboxBackend, bb as SandboxInvocation, bc as SandboxLaunch, bd as SandboxLimits, be as SandboxProfile, bg as ScriptFullOutput, bh as ScriptRun, bi as ScriptStatus, bj as SealedAvailability, bk as SealedRunOptions, bl as SessionData, bm as SessionMeta, bn as ShellDialect, bq as SpawnFn, br as StandingDecision, bu as SubmitPlanArgs, bv as TASK_COMPLETE_TOOL, bw as TASK_COMPLETION_CONTRACT, bx as TASK_SEALED_LIMITS, by as TASK_TOOLS, bA as TaskDiffArgs, bD as TaskModeUnsupportedError, bE as TaskOutputArgs, bF as TaskQueryArgs, bG as TaskRunCommandArgs, bN as TaskToolHandler, bT as approvalScopes, bU as classifyCommand, bV as clearPlannerSandboxCache, bW as clearResearchShellCache, bX as collectProviderCredentials, bY as defaultLogger, bZ as deleteSession, b_ as effectiveApprovalMode, b$ as enabledRunners, c0 as fetchAllProviderModels, c1 as findRunnerCommand, c2 as getLatestSession, c3 as idSegment, c4 as isGranted, c5 as isRunnerApproval, c6 as knownModelId, c7 as listChildSessions, c8 as listSessions, c9 as loadChildSession, ca as loadSession, cb as loadSessionPlanState, cc as mcpClientConfig, cd as ownerOnlyConfigFile, ce as parseApprovalModeSetting, cf as plannerToolSet, cg as researchShellWarning, ch as researchToolsPath, ci as resolveModelShortcut, cj as resolvePlannerSandbox, ck as resolveProvider, cl as resolveResearchShell, cm as saveChildSession, cn as saveSession, co as sessionDataDir, cp as sharedMcpServer, cq as taskCompletionContract, cr as taskToolSet, cs as toApprovalDecision, ct as toOrchestratorOptions, cu as toolListing } from './eventStore-CSFKy48Y.js';
5
- import { dW as TurnBudgets, bB as PlanIntake, aT as IWebFetcher, ad as ConversationTurn, c2 as ResolveAll, e4 as WebReadPolicy, e1 as WebRead, e2 as WebReadDecision, e3 as WebReadOptions, bx as PendingApprovals, aR as IAiService, bH as PlannerContextDeps, bI as PlannerContextStatus, a4 as ContextCondenseRequest, ab as ConversationRequest, bL as PlannerModelCandidate, cj as RunnerAuthExec, a_ as LaunchDeps, ci as RunnerAuth, b as AccountLimitBucket, c as AccountLimitSnapshot, u as AssignmentWriter, t as AssignmentScope, dy as TaskQueryCatalog, r as AssignmentCatalog, cm as RunnerCatalog, dg as TaskLogEvent, dU as TreeLedger, H as ChildMessageOutcome, L as ChildPlanView, M as ChildTaskControl, F as ChildControlOutcome, cJ as SessionMessage, cK as SessionNotice, J as ChildPlanEntry, cC as SessionBroadcaster, bF as PlanStore, ds as TaskOrchestrator, aw as Escalation, bs as OrchestratorObserver, cE as SessionHeld, cS as SlotPool, bm as NodeBudget, c1 as ResearchTasks, aM as GlobalRunSettings, cG as SessionLease, bK as PlannerConversationHost, bJ as PlannerConversation, cZ as SubplannerBrief, aG as ExecutionCommand, U as CommandOutcome, bw as PendingApproval, E as Carved, bl as NodeBoard, c_ as Subtree, a7 as ConversationCompaction, c8 as RewindTarget, ch as RunView, dB as TaskRevertPreview, cc as RunMergeView, ca as RunActivity, dv as TaskOutputSource, b0 as LeaseHost, du as TaskOrchestratorOptions, dZ as UserSettings, ao as DockerCli, b5 as LiveTailOptions, b4 as LiveTail, bP as PlannerModelStore, bO as PlannerModelRecall } from './runSettingsText-BFaZSPRG.js';
6
- export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BatchQuoteError, w as BlockingSubject, C as CHAT_COMMANDS, x as CHECKPOINT_TRUNCATE_LENGTH, y as CMD_EXE_MAX_COMMAND_LINE, z as CancelPlanningResponse, D as CancelResumeResponse, G as ChildListResponse, I as ChildMessageResponse, K as ChildPlanResponse, N as ChildTaskControlResponse, O as ChildTreeFrame, P as CliAgentAiService, Q as CliAgentAiServiceDeps, R as CommandBlock, S as CommandDescriptor, T as CommandLineTooLongError, V as CommandPayload, W as CommandStatus, X as CommandsResponse, Y as CompactionBlock, Z as CompactionStatus, _ as Consent, $ as ContainerChange, a0 as ContainerChangeResponse, a1 as ContainerGuaranteeLine, a2 as ContainerProblem, a3 as ContainerStatus, a5 as ConversationBusyError, a6 as ConversationCompactResponse, a8 as ConversationEditError, a9 as ConversationForkResponse, aa as ConversationInput, ac as ConversationRewindResponse, ae as ConversationView, af as DEFAULT_WEB_READ_BUDGET, ag as DELEGATION_OFFERED, ah as DELEGATION_RISK, ai as DaemonErrorCode, aj as DecideOptions, ak as DiffRow, al as DiffRowKind, am as DiffStat, an as DisplayBlock, ap as EMPTY_CONVERSATION, aq as EMPTY_HOLD, ar as EMPTY_RUN, as as EMPTY_TASK_LOG, at as EMPTY_TASK_LOG_FOLLOW, au as EmbeddedNewlineError, av as ErrorBody, ax as EscalationInput, ay as EscalationKind, az as EscalationOption, aA as EscalationOptionId, aB as EscalationRun, aC as EscalationsResponse, aD as ExecutableNotFoundError, aE as ExecuteCommandResponse, aF as ExecuteResponse, aH as ExecutionCommands, aI as ExecutionHost, aJ as ExecutionSummary, aK as GatedConversation, aL as GeneratePlanResponse, aN as HEADLESS_CLI_COMMANDS, aO as HandoffBlock, aP as HandoffForkRepo, aQ as HandoffPeekSubject, aS as IDLE_ACTIVITY, aU as IsolationDiffResponse, aV as IsolationMergeResponse, aW as IsolationPreviewNotice, aX as IsolationPreviewResponse, aY as LEASE_HEARTBEAT_MS, aZ as LEASE_STALE_MS, a$ as LaunchPlan, b1 as LeaseHostKind, b2 as LeaseHostOptions, b3 as LiveOutputLookup, b6 as LocalEntry, b7 as LoopCheckFacts, b8 as LoopCheckState, b9 as LoopGuard, ba as MappedTool, bb as MarkdownToken, bc as MergeGateEntry, bd as MergeGateResponse, be as MergeWordingHandoff, bf as MessageBlock, bg as MessageRole, bh as ModelsResponse, bi as NOT_STARTED, bj as NO_TURN, bk as NewTaskFields, bn as OUTPUT_LINES_DEFAULT, bo as OUTPUT_LINES_MAX, bp as OkResponse, bq as OpRef, br as OpRefusal, bt as OutputPreview, bu as OverrideDirection, bv as PLANNED_WITH_LABEL, by as PendingApprovalsOptions, bz as PlanBlock, bA as PlanBlocks, bC as PlanMarkerStatus, bD as PlanResponse, bE as PlanSnapshot, bG as PlannerCommandSyntax, bM as PlannerModelChoice, bN as PlannerModelMemory, bQ as PlannerNotReady, bR as PlannerNotReadyError, bS as PlannerReadinessConfig, bT as PlannerSubmission, bU as PlannerTurnDiscardedError, bV as PlannerTurnStoppedError, bW as PlannerUsageLimitError, bX as PrdResponse, bY as PromptHold, bZ as REPORT_PREVIEW_LINES, b_ as RUN_SETTINGS_DEFAULTS, b$ as ReadRunnerAuthOptions, c3 as ResolveConflictResponse, c4 as RevertPreviewTask, c5 as RevertRefusal, c6 as RevertRefusalReason, c7 as RevertScope, c9 as RewindTargetsResponse, cb as RunInput, cd as RunSettingsError, ce as RunSnapshotFrame, cf as RunTask, cg as RunTaskStatus, ck as RunnerAuthExecOptions, cl as RunnerAuthExecResult, cn as RunnerLoadedBlock, co as RunnersResponse, cp as STALLED_LABEL, cq as STOPPED_BEFORE_START, cr as STOPPING_LABEL, cs as SUBPLANNER_ACCOUNTING, ct as SUBPLANNER_CHILD, cu as SUBPLANNER_SCOPE, cv as SUPERVISOR_LEVEL_LABEL, cw as SerializedConversationMessage, cx as SerializedPendingTurn, cy as SerializedPlan, cz as SerializedTask, cA as SerializedTaskStatus, cB as ServerInfoResponse, cD as SessionFrame, cF as SessionHeldError, cH as SessionLeaseRecord, cI as SessionListResponse, cL as SessionResponse, cM as SettingsResponse, cN as SettingsService, cO as SettingsUpdateResponse, cP as SkillInvocation, cQ as SkillLoadBlock, cR as SkillToken, cT as StartAdmission, cU as StopResponse, cV as StreamStamp, cW as SubagentBlock, cX as SubagentChild, cY as SubagentStatus, c$ as SubtreeItemView, d0 as SubtreeView, d1 as SurfacePlan, d2 as SurfacePlanState, d3 as SurfaceTask, d4 as TASK_QUERY_ANSWER_MAX_CHARS, d5 as TASK_QUERY_ANSWER_OR_OPS, d6 as TASK_QUERY_FIELDS, d7 as TASK_QUERY_PROTOCOL, d8 as TASK_QUERY_REMINDER, d9 as TERMINAL_UI_COMMANDS, da as TakenPrompt, db as TaskAction, dc as TaskActivity, dd as TaskAttemptSnapshot, de as TaskLogAttemptsResponse, df as TaskLogBatch, dh as TaskLogFollow, di as TaskLogFollowInput, dj as TaskLogHeaderKind, dk as TaskLogHeaderTask, dl as TaskLogHeaderUsage, dm as TaskLogHeaderView, dn as TaskLogResponse, dp as TaskLogView, dq as TaskMessageResponse, dr as TaskOp, dt as TaskOrchestratorDeps, dw as TaskPlacement, dx as TaskQuery, dz as TaskQueryField, dA as TaskRef, dC as TaskRevertPreviewResponse, dD as TaskRowAction, dE as TaskRowContext, dF as TaskRowDelegated, dG as TaskRowHandoff, dH as TaskRowIsolation, dI as TaskRowKind, dJ as TaskRowLoop, dK as TaskRowPlacement, dL as TaskRowSubject, dM as TaskRowUsage, dN as TaskRowView, dO as TaskRunFacts, dP as TaskStatusKind, dQ as ThinkingDisplayBlock, dR as ToolBlock, dS as ToolHeadline, dT as ToolStatus, dV as TreeTask, dX as TurnGate, dY as UsageBlock, d_ as WAITS_FOR_APPROVAL_LABEL, d$ as WINDOWS_MAX_COMMAND_LINE, e0 as WakeUpItem, e5 as Worded, e6 as WorkspacesResponse, e7 as abbreviateHome, e8 as accountLimitPercentText, e9 as accountLimitWindowLabel, ea as accountLimitsOf, eb as accountLimitsText, ec as accountLimitsTitle, ed as activityLabel, ee as aheadOfDraft, ef as applyTaskOps, eg as approvalKindText, eh as approvalLabel, ei as approvalStatusText, ej as assignedRunnerOf, ek as assignmentIssue, el as assignmentIssueText, em as attachingLabel, en as automergeSummary, eo as autorunSummary, ep as awaitingLabel, eq as blockNotice, er as blockNotices, es as blockedByLabel, et as blockingFailures, eu as canMergeTasks, ev as canSetDependencies, ew as canSplitTask, ex as capConflictFiles, ey as cardEditNeedsUnstarted, ez as cardEditable, eA as changeContainers, eB as checkoutRule, eC as classifyOutcome, eD as closeTurn, eE as coalesceTaskLog, eF as compactionText, eG as confirmedOverride, eH as containerStatus, eI as containersOffered, eJ as createAiService, eK as delegatedRowView, eL as delegationSummary, eM as dependencyCandidates, eN as dependentsNotice, eO as dependentsOf, eP as describeContainers, eQ as describeHeld, eR as describeHolder, eS as describeIsolationPreview, eT as describeMergeResult, eU as describePlannerNotReady, eV as describeProblems, eW as diffRows, eX as diffStat, eY as diffSummary, eZ as digestTaskLog, e_ as drainNext, e$ as editableWhileRunning, f0 as elapsedSince, f1 as escalations, f2 as executionSummary, f3 as followTaskLog, f4 as followTurn, f5 as formatElapsed, f6 as fromTranscript, f7 as getSettingsPath, f8 as handoffBaseLine, f9 as handoffBranchName, fa as handoffFindingsText, fb as handoffPeekParts, fc as hasAccountLimits, fd as hasHiddenDetail, fe as hasLongReport, ff as holdLabel, fg as holdPrompt, fh as isExecutableResolved, fj as isRepoGroup, fk as isTaskRunning, fl as keptDelegationBudget, fm as lastServedModel, fn as loadedSkillTokens, fo as logContinues, fp as logResumes, fq as loopBodyLabel, fr as loopBodyRound, fs as loopCheckLabel, ft as loopCheckState, fu as loopLeaveNotice, fv as loopRowParts, fw as manualOverrideConfirmation, fx as manualOverrideStopFirst, fy as mapAgentTool, fz as markAction, fA as markdownHtml, fB as markdownTokens, fC as mergeOutcome, fD as mergePastChecksConfirmation, fE as mergeTarget, fF as namedRepos, fG as newTaskFields, fH as noExecutorRefusal, fI as normalizeAgentArgs, fJ as opRefusalText, fK as opsEditable, fL as outputLines, fM as outputPreview, fN as overrideNeedsConfirmation, fO as parseCount, fP as parseDelegation, fQ as parseSwitch, fR as parseTaskOpsJson, fS as parseTaskQueryJson, fT as pastGateConfirmation, fU as planBlocks, fV as planDirectLaunch, fW as planMarkerParts, fX as plannerMessage, fY as plannerNotReady, fZ as plannerNotReadyFor, f_ as plannerTranscript, f$ as processLeaseHost, g0 as ranSealed, g1 as readRunnerAuth, g2 as receiptLabel, g3 as reconcileApprovals, g4 as recordRunnerAuth, g5 as recordedRunnerAuth, g6 as reduceConversation, g7 as reduceRun, g8 as reduceTaskLog, g9 as rememberDelegationBudget, ga as renderTaskQueryAnswer, gb as repairWaitLabel, gc as repairedLanded, gd as repairedNotice, ge as repeatingChecks, gf as replayTaskLog, gg as repoBaseLine, gh as repoResultLines, gi as reposWithWork, gj as resetRunnerAuth, gk as resolveSkillInvocation, gl as resolveTaskRef, gm as resolveUserTaskRef, gn as resumeLabel, go as resumeTime, gp as revertEffect, gq as revertListLine, gr as revertTaskRef, gs as runHoldsEditors, gt as runSettingsOf, gu as runnerToolSubject, gv as scriptExitText, gw as scriptRunText, gx as secondsText, gy as serializePlan, gz as serializeTask, gA as serializeTaskStatus, gB as skillTokens, gC as skippedLabel, gD as stopTurn, gE as subtreeIds, gF as subtreeView, gG as summarizeToolCall, gH as supervisorSummary, gI as surfacePlan, gJ as surfacePlanState, gK as takeAt, gL as taskActionCommand, gM as taskActivity, gN as taskChatAvailable, gO as taskLogCommands, gP as taskLogForSurface, gQ as taskLogHeaderView, gR as taskOrderLabel, gS as taskPlacement, gT as taskQuerySignature, gU as taskRef, gV as taskRefOf, gW as taskRowActions, gX as taskRowView, gY as taskStartedNotice, gZ as taskStatusKind, g_ as textHasTaskOps, g$ as textHasTaskQuery, h0 as titledRefs, h1 as titledTaskRef, h2 as titledTaskRefOf, h3 as toTaskLogEvent, h4 as toolHeadline, h5 as trailerSummary, h6 as trimToolOutput, h7 as truncateCheckpointSummary, h8 as unsendAll, h9 as unsendLatest, ha as wakeUpItems, hb as walkPlan, hc as windowsCommandLine, hd as withoutSealedMark, he as workspaceEnvOf } from './runSettingsText-BFaZSPRG.js';
7
- import { R as RunnerModeInfo } from './ModeResolver-DS-aCVOP.js';
8
- export { a as autonomyLevelLabel, p as parseAutonomyFlag, b as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-DS-aCVOP.js';
1
+ import { b4 as RunnerId, aY as ResearchProgress, bH as UsageRecord, aX as ResearchLogEntry, bq as Task, p as DiscoveredModel, S as IIsolationPreview, T as IWorktreeIsolation, a6 as IsolationRemoval, af as IsolationTaskStatus, ag as IsolationView, ax as PlanIsolation, aj as LegacyPlanState, b5 as RunnerSessionCost, ao as MandateLimits, I as HandoffCheck, bo as SubtreeReport, d as ChildTaskCounts, bK as VerificationCheck, aW as ReportedWindow, aH as PlannerUsage, o as DelegatedRow, bA as TaskSkillSnapshot, bl as SkillsService, at as NodeAuthority, q as ExecutionActor, am as Mandate, aq as MandateRequest, bB as TaskSnapshot, ay as PlanState, bJ as Verdict, bm as StoredHandoff, b8 as ScriptBody } from './Task-jF9O6eWO.js';
2
+ export { A as ApprovalRecord, a as AttemptUsage, b as AwaitingReason, B as BUILTIN_SKILL_NAMES, c as BelowPlan, e as CommandWords, f as ContextCheckpoint, g as ContextFill, h as ConversationMessage, i as CostProvenance, D as DEFAULT_LOOP_ROUNDS, j as DEFAULT_PLANNER_ALLOWLIST, k as DEFAULT_RUNNERS, l as DEFAULT_SCRIPT_TIMEOUT_MS, m as DEFAULT_SUPERVISOR_RETRY_LIMIT, n as DIGEST_FINDINGS, E as EffectRules, r as ExecutionCommandName, s as ExecutionRecord, F as FLOOR_GRANTS, t as FindingSeverity, G as GRANTS, u as Grant, v as GuardTarget, w as GuardTrip, H as HANDOFF_LIMITS, x as HANDOFF_PUSH_CHARS, y as Handoff, z as HandoffArtifact, J as HandoffCommit, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, N as HandoffLogs, O as HandoffPatch, P as HandoffPins, Q as HandoffPreviewOptions, R as HandoffTaskName, U as IntegrationDisposal, V as InvalidSkill, W as IsolationAvailability, X as IsolationHandoff, Y as IsolationHandoffRepo, Z as IsolationInactiveReason, _ as IsolationLandedTask, $ as IsolationLanding, a0 as IsolationMergeBlock, a1 as IsolationMergeBlockReason, a2 as IsolationMergeResult, a3 as IsolationOutcome, a4 as IsolationPreview, a5 as IsolationPruneResult, a7 as IsolationRepo, a8 as IsolationRepoRevert, a9 as IsolationRevertResult, aa as IsolationRevertTask, ab as IsolationRun, ac as IsolationTaskRecord, ad as IsolationTaskRef, ae as IsolationTaskRepo, ah as LandedTask, ai as LandedWork, ak as LoopSubject, al as MAX_LOOP_ROUNDS, an as MandateExclusions, ap as MandateRefusal, ar as ModelUsage, as as Narrowed, au as PatchFlag, av as PatchView, az as PlanStatus, aA as PlanUsage, aB as PlannerAllowlist, aC as PlannerCompaction, aD as PlannerCompactionOutcome, aE as PlannerContextPause, aG as PlannerResendState, aI as PrepareIntent, aJ as PreparedTask, aK as PreservedWork, aL as PreviewRepo, aM as PreviousWork, aN as REPORT_MAX_CHARS, aO as ROOT_NODE, aP as RefusedRemoval, aQ as RepairEvidence, aR as RepairWait, aS as ReplyRun, aT as RepoGroupLayout, aU as RepoHead, aV as ReportItem, aZ as ResearchStep, a_ as ResearchStepOutcome, b0 as RevertCommand, b1 as RevertWatch, b2 as RootSettings, b3 as RunSettings, b6 as SEVERITY_LABEL, b7 as SHAPE_LIMITS, b9 as ScriptConsent, ba as ScriptResult, bb as SessionBilling, bc as SetupFailure, bd as ShadowedSkill, be as SkillAppliesTo, bf as SkillCatalog, bg as SkillInfo, bh as SkillLoad, bi as SkillLoadNotice, bj as SkillMetadata, bk as SkillSource, bp as SupervisorLevel, bt as TaskEvidence, bu as TaskIsolation, bv as TaskIsolationState, bw as TaskLoop, bx as TaskModelAssignment, bC as TaskStatus, bD as TaskType, bE as TaskUsageSummary, bF as TreeSnapshot, bG as UsageLine, bI as UsageTotals, bL as WrittenTaskRef, bM as actorAuthority, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bS as artifactLines, bT as betweenRounds, bU as boundedHandoffLines, bV as byteSize, bW as checkHandoff, bX as checkOf, bY as commandAllowedBy, bZ as commandLine, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c2 as createEmptyPlan, c3 as createSkillsService, c4 as createTask, c5 as effectRuleFor, c6 as endAttemptUsage, c7 as findingLines, c8 as findingRefText, c9 as flattenTasks, ca as flattenTasksWithParents, cb as formatCost, cc as formatTokenCount, cd as handoffDigest, ce as handoffLines, cf as handoffPreviewLines, cg as handoffReferenceText, ch as handoffWakeLines, ci as heldHandoff, cj as heldMandate, ck as heldWords, cl as inLoop, cm as isAwaitingReason, cn as isMeasured, co as isSupervisorLevel, cp as isUserMessage, cq as loopRemovalRefusal, cr as loopRoundOf, cs as mandateRefusalText, ct as migratePlanState, cu as modelCostTitle, cv as namedHandoff, cw as narrow, cx as nodeText, cy as openingLines, cz as outOfRounds, cA as parseAllowlist, cB as parseEffectAllowlist, cC as parseFindingRef, cD as parseListingPage, cE as parsePlanPath, cF as partedPromptUsage, cG as patchChangesText, cH as patchFlagText, cI as patchLines, cJ as patchLinesText, cK as patchText, cL as patchView, cM as pausedOnLimit, cN as pinReference, cO as planUsage, cP as plannerContextFill, cQ as readableTaskIds, cR as rejoinPlanTree, cS as removedAttempt, cT as resolveWrittenRef, cU as resumedSessionWindow, cV as rootAuthority, cW as rootMandate, cX as savedPatchOf, cY as savedPatchView, cZ as savedPatchViews, c_ as scopeAllowed, c$ as scriptBodyOf, d0 as scriptBodyText, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d5 as storedHandoff, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, d9 as timeLimitText, da as toolAllowed, db as usageLine, dc as usageText, dd as waitsForApproval, de as withPatch, df as wordsFrom, dg as worstSeverity } from './Task-jF9O6eWO.js';
3
+ import { W as IConfig, X as IFileSystem, aG as PlannerToolHandler, aA as PlannerModes, aD as PlannerShellSandbox, aR as ResearchShell, V as IApproval, aP as ReadFileOpts, bR as ToolOutcome, Q as GrepOptions, bq as ShellLaunch, P as GlobOptions, M as FindSymbolOptions, B as BashOptions, bM as TaskShellSite, bL as TaskShell, _ as IRunner, az as PlannerBackendId, aK as ProviderModelLists, f as AiProvider, n as ApprovalModeSetting, b9 as RunnerRegistry, b0 as RunnerEnv, as as OrchestratorOption, d as AgentProcessDeps, bE as TaskModeAgentAdapter, e as AgentStartOptions, a as AgentAdapter, c as AgentEvent, aZ as RunnerCommand$1, s as AttachState, k as ApprovalDecision, aI as ProjectMcpServer, $ as IRunnerSession, U as HeldSecrets, bv as StructuredTurnEnd, bu as StructuredEvent, bD as TaskMessageFrom, aM as QueuedTaskMessage, bB as TaskCompleteArgs, x as CheckpointAnswer, bh as ScriptExit, ah as McpToolReply, Y as ILogger, Z as INotification, bJ as TaskRunnerConfig, a2 as IsolationRunController, o as ApprovalPolicy, J as EventStore, j as ApprovalAnswer, ar as OpenLease, aH as PostArgs, aQ as ReadTaskArgs, at as OrdewellMcpServer, bN as TaskStartOptions, bO as TaskTokenScope, bQ as TaskWebReads, i as ApplyPatchArgs, b8 as RunnerPlacement, b3 as RunnerManifest, bK as TaskRunnerFlags } from './eventStore-COZ9fxn7.js';
4
+ export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, l as ApprovalKind, m as ApprovalMode, p as ApprovalPolicyOptions, q as ApprovalRequest, r as ApprovalSource, C as CatalogModel, y as CheckpointArgs, z as ChildSessionPlace, D as CommandClassification, E as CommandTier, F as ConsoleLogger, G as DENY_ALL, H as DiscoveryCommand, I as EditPlanArgs, L as FetchAllProviderModelsOptions, N as GIT_READONLY_SUBCOMMANDS, O as GREP_DEFAULT_HEAD_LIMIT, R as GrepOutputMode, a0 as InvokedCommand, a7 as LineBuffer, a8 as ListModelsArgs, a9 as ListRunnersArgs, aa as LoadSkillArgs, ab as McpClientConfig, ac as McpContact, ad as McpCredential, ae as McpRefusal, af as McpTool, ag as McpToolContext, ai as MessageTaskArgs, aj as ModelCatalog, ak as ModelShortcut, am as NotificationAction, an as ORCHESTRATOR_SHORTCUTS, ao as ORDEWELL_MCP_PATH, ap as ORDEWELL_MCP_SERVER_NAME, aq as OneTaskArgs, au as OwnSealedRuns, av as OwnerOnlyFile, aw as PLANNER_EXECUTION_TOOLS, ax as PLANNER_SANDBOX_DOCS, ay as PLANNER_TOOLS, aB as PlannerSandboxAvailability, aC as PlannerSandboxDeps, aE as PlannerStartOptions, aF as PlannerTokenScope, aJ as ProviderCredentialSource, aL as ProviderModelsResult, aN as READ_ONLY_TASK_TOOLS, aO as REFUSED_COMMANDS, aS as ResearchShellDeps, aU as RetryTaskArgs, aV as RunCommandArgs, aW as RunPlanArgs, aX as RunnerAuthSpec, aY as RunnerAuthStatus, a_ as RunnerCommandKind, a$ as RunnerEntry, b1 as RunnerFeatures, b4 as RunnerMcpServer, b5 as RunnerMode, b6 as RunnerModelDiscovery, b7 as RunnerModelRef, ba as SEALED_LIMITS, bb as SEARCH_EXCLUSIONS, bc as SandboxBackend, bd as SandboxInvocation, be as SandboxLaunch, bf as SandboxLimits, bg as SandboxProfile, bi as ScriptFullOutput, bj as ScriptRun, bk as ScriptStatus, bl as SealedAvailability, bm as SealedRunOptions, bn as SessionData, bo as SessionMeta, bp as ShellDialect, bs as SpawnFn, bt as StandingDecision, bw as SubmitPlanArgs, bx as TASK_COMPLETE_TOOL, by as TASK_COMPLETION_CONTRACT, bz as TASK_SEALED_LIMITS, bA as TASK_TOOLS, bC as TaskDiffArgs, bF as TaskModeUnsupportedError, bG as TaskOutputArgs, bH as TaskQueryArgs, bI as TaskRunCommandArgs, bP as TaskToolHandler, bV as approvalScopes, bW as classifyCommand, bX as clearPlannerSandboxCache, bY as clearResearchShellCache, bZ as collectProviderCredentials, b_ as defaultLogger, b$ as deleteSession, c0 as effectiveApprovalMode, c1 as enabledRunners, c2 as fetchAllProviderModels, c3 as findRunnerCommand, c4 as getLatestSession, c5 as grantScopeFor, c6 as idSegment, c7 as isGranted, c8 as isRunnerApproval, c9 as knownModelId, ca as listChildSessions, cb as listSessions, cc as loadChildSession, cd as loadSession, ce as loadSessionPlanState, cf as mcpClientConfig, cg as ownerOnlyConfigFile, ch as parseApprovalModeSetting, ci as plannerToolSet, cj as researchShellWarning, ck as researchToolsPath, cl as resolveModelShortcut, cm as resolvePlannerSandbox, cn as resolveProvider, co as resolveResearchShell, cp as resolveWithin, cq as saveChildSession, cr as saveSession, cs as sessionDataDir, ct as sharedMcpServer, cu as taskCompletionContract, cv as taskToolSet, cw as toApprovalDecision, cx as toOrchestratorOptions, cy as toolListing } from './eventStore-COZ9fxn7.js';
5
+ import { d$ as TurnBudgets, bD as PlanIntake, aU as IWebFetcher, ad as ConversationTurn, c4 as ResolveAll, e9 as WebReadPolicy, e6 as WebRead, e7 as WebReadDecision, e8 as WebReadOptions, bz as PendingApprovals, aS as IAiService, bJ as PlannerContextDeps, bK as PlannerContextStatus, a4 as ContextCondenseRequest, ab as ConversationRequest, bN as PlannerModelCandidate, cl as RunnerAuthExec, b0 as LaunchDeps, ck as RunnerAuth, b as AccountLimitBucket, c as AccountLimitSnapshot, u as AssignmentWriter, t as AssignmentScope, dD as TaskQueryCatalog, r as AssignmentCatalog, co as RunnerCatalog, dl as TaskLogEvent, dZ as TreeLedger, H as ChildMessageOutcome, L as ChildPlanView, M as ChildTaskControl, F as ChildControlOutcome, cM as SessionMessage, cN as SessionNotice, J as ChildPlanEntry, cF as SessionBroadcaster, bH as PlanStore, dx as TaskOrchestrator, aw as Escalation, bu as OrchestratorObserver, cH as SessionHeld, cW as SlotPool, bo as NodeBudget, c3 as ResearchTasks, aM as GlobalRunSettings, cJ as SessionLease, bM as PlannerConversationHost, bL as PlannerConversation, d1 as SubplannerBrief, aG as ExecutionCommand, U as CommandOutcome, by as PendingApproval, E as Carved, bn as NodeBoard, d2 as Subtree, a7 as ConversationCompaction, ca as RewindTarget, cj as RunView, dG as TaskRevertPreview, ce as RunMergeView, cc as RunActivity, dA as TaskOutputSource, b2 as LeaseHost, dz as TaskOrchestratorOptions, e2 as UserSettings, ao as DockerCli, b7 as LiveTailOptions, b6 as LiveTail, bR as PlannerModelStore, bQ as PlannerModelRecall } from './runSettingsText-DCu4ItQN.js';
6
+ export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BatchQuoteError, w as BlockingSubject, C as CHAT_COMMANDS, x as CHECKPOINT_TRUNCATE_LENGTH, y as CMD_EXE_MAX_COMMAND_LINE, z as CancelPlanningResponse, D as CancelResumeResponse, G as ChildListResponse, I as ChildMessageResponse, K as ChildPlanResponse, N as ChildTaskControlResponse, O as ChildTreeFrame, P as CliAgentAiService, Q as CliAgentAiServiceDeps, R as CommandBlock, S as CommandDescriptor, T as CommandLineTooLongError, V as CommandPayload, W as CommandStatus, X as CommandsResponse, Y as CompactionBlock, Z as CompactionStatus, _ as Consent, $ as ContainerChange, a0 as ContainerChangeResponse, a1 as ContainerGuaranteeLine, a2 as ContainerProblem, a3 as ContainerStatus, a5 as ConversationBusyError, a6 as ConversationCompactResponse, a8 as ConversationEditError, a9 as ConversationForkResponse, aa as ConversationInput, ac as ConversationRewindResponse, ae as ConversationView, af as DEFAULT_WEB_READ_BUDGET, ag as DELEGATION_OFFERED, ah as DELEGATION_RISK, ai as DaemonErrorCode, aj as DecideOptions, ak as DiffRow, al as DiffRowKind, am as DiffStat, an as DisplayBlock, ap as EMPTY_CONVERSATION, aq as EMPTY_HOLD, ar as EMPTY_RUN, as as EMPTY_TASK_LOG, at as EMPTY_TASK_LOG_FOLLOW, au as EmbeddedNewlineError, av as ErrorBody, ax as EscalationInput, ay as EscalationKind, az as EscalationOption, aA as EscalationOptionId, aB as EscalationRun, aC as EscalationsResponse, aD as ExecutableNotFoundError, aE as ExecuteCommandResponse, aF as ExecuteResponse, aH as ExecutionCommands, aI as ExecutionHost, aJ as ExecutionSummary, aK as GatedConversation, aL as GeneratePlanResponse, aN as HEADLESS_CLI_COMMANDS, aO as HEADLESS_CLI_SIGN_IN, aP as HandoffBlock, aQ as HandoffForkRepo, aR as HandoffPeekSubject, aT as IDLE_ACTIVITY, aV as IsolationDiffResponse, aW as IsolationMergeResponse, aX as IsolationPreviewNotice, aY as IsolationPreviewResponse, aZ as KeySignInRoute, a_ as LEASE_HEARTBEAT_MS, a$ as LEASE_STALE_MS, b1 as LaunchPlan, b3 as LeaseHostKind, b4 as LeaseHostOptions, b5 as LiveOutputLookup, b8 as LocalEntry, b9 as LoopCheckFacts, ba as LoopCheckState, bb as LoopGuard, bc as MappedTool, bd as MarkdownToken, be as MergeGateEntry, bf as MergeGateResponse, bg as MergeWordingHandoff, bh as MessageBlock, bi as MessageRole, bj as ModelsResponse, bk as NOT_STARTED, bl as NO_TURN, bm as NewTaskFields, bp as OUTPUT_LINES_DEFAULT, bq as OUTPUT_LINES_MAX, br as OkResponse, bs as OpRef, bt as OpRefusal, bv as OutputPreview, bw as OverrideDirection, bx as PLANNED_WITH_LABEL, bA as PendingApprovalsOptions, bB as PlanBlock, bC as PlanBlocks, bE as PlanMarkerStatus, bF as PlanResponse, bG as PlanSnapshot, bI as PlannerCommandSyntax, bO as PlannerModelChoice, bP as PlannerModelMemory, bS as PlannerNotReady, bT as PlannerNotReadyError, bU as PlannerReadinessConfig, bV as PlannerSubmission, bW as PlannerTurnDiscardedError, bX as PlannerTurnStoppedError, bY as PlannerUsageLimitError, bZ as PrdResponse, b_ as PromptHold, b$ as REPORT_PREVIEW_LINES, c0 as RUN_SETTINGS_DEFAULTS, c1 as ReadRunnerAuthOptions, c5 as ResolveConflictResponse, c6 as RevertPreviewTask, c7 as RevertRefusal, c8 as RevertRefusalReason, c9 as RevertScope, cb as RewindTargetsResponse, cd as RunInput, cf as RunSettingsError, cg as RunSnapshotFrame, ch as RunTask, ci as RunTaskStatus, cm as RunnerAuthExecOptions, cn as RunnerAuthExecResult, cp as RunnerLoadedBlock, cq as RunnerSignIn, cr as RunnersResponse, cs as STALLED_LABEL, ct as STOPPED_BEFORE_START, cu as STOPPING_LABEL, cv as SUBPLANNER_ACCOUNTING, cw as SUBPLANNER_CHILD, cx as SUBPLANNER_SCOPE, cy as SUPERVISOR_LEVEL_LABEL, cz as SerializedConversationMessage, cA as SerializedPendingTurn, cB as SerializedPlan, cC as SerializedTask, cD as SerializedTaskStatus, cE as ServerInfoResponse, cG as SessionFrame, cI as SessionHeldError, cK as SessionLeaseRecord, cL as SessionListResponse, cO as SessionResponse, cP as SettingsResponse, cQ as SettingsService, cR as SettingsUpdateResponse, cS as SignInSyntax, cT as SkillInvocation, cU as SkillLoadBlock, cV as SkillToken, cX as StartAdmission, cY as StopResponse, cZ as StreamStamp, c_ as SubagentBlock, c$ as SubagentChild, d0 as SubagentStatus, d3 as SubtreeItemView, d4 as SubtreeView, d5 as SurfacePlan, d6 as SurfacePlanState, d7 as SurfaceTask, d8 as TASK_QUERY_ANSWER_MAX_CHARS, d9 as TASK_QUERY_ANSWER_OR_OPS, da as TASK_QUERY_FIELDS, db as TASK_QUERY_PROTOCOL, dc as TASK_QUERY_REMINDER, dd as TERMINAL_UI_COMMANDS, de as TERMINAL_UI_SIGN_IN, df as TakenPrompt, dg as TaskAction, dh as TaskActivity, di as TaskAttemptSnapshot, dj as TaskLogAttemptsResponse, dk as TaskLogBatch, dm as TaskLogFollow, dn as TaskLogFollowInput, dp as TaskLogHeaderKind, dq as TaskLogHeaderTask, dr as TaskLogHeaderUsage, ds as TaskLogHeaderView, dt as TaskLogResponse, du as TaskLogView, dv as TaskMessageResponse, dw as TaskOp, dy as TaskOrchestratorDeps, dB as TaskPlacement, dC as TaskQuery, dE as TaskQueryField, dF as TaskRef, dH as TaskRevertPreviewResponse, dI as TaskRowAction, dJ as TaskRowContext, dK as TaskRowDelegated, dL as TaskRowHandoff, dM as TaskRowIsolation, dN as TaskRowKind, dO as TaskRowLoop, dP as TaskRowPlacement, dQ as TaskRowSubject, dR as TaskRowUsage, dS as TaskRowView, dT as TaskRunFacts, dU as TaskStatusKind, dV as ThinkingDisplayBlock, dW as ToolBlock, dX as ToolHeadline, dY as ToolStatus, d_ as TreeTask, e0 as TurnGate, e1 as UsageBlock, e3 as WAITS_FOR_APPROVAL_LABEL, e4 as WINDOWS_MAX_COMMAND_LINE, e5 as WakeUpItem, ea as Worded, eb as WorkspacesResponse, ec as abbreviateHome, ed as accountLimitPercentText, ee as accountLimitWindowLabel, ef as accountLimitsOf, eg as accountLimitsText, eh as accountLimitsTitle, ei as activityLabel, ej as aheadOfDraft, ek as applyTaskOps, el as approvalKindText, em as approvalLabel, en as approvalStatusText, eo as assignedRunnerOf, ep as assignmentIssue, eq as assignmentIssueText, er as attachingLabel, es as automergeSummary, et as autorunSummary, eu as awaitingLabel, ev as blockNotice, ew as blockNotices, ex as blockedByLabel, ey as blockingFailures, ez as canMergeTasks, eA as canSetDependencies, eB as canSplitTask, eC as capConflictFiles, eD as cardEditNeedsUnstarted, eE as cardEditable, eF as changeContainers, eG as checkoutRule, eH as classifyOutcome, eI as closeTurn, eJ as coalesceTaskLog, eK as compactionText, eL as confirmedOverride, eM as containerStatus, eN as containersOffered, eO as createAiService, eP as delegatedRowView, eQ as delegationSummary, eR as dependencyCandidates, eS as dependentsNotice, eT as dependentsOf, eU as describeContainers, eV as describeHeld, eW as describeHolder, eX as describeIsolationPreview, eY as describeMergeResult, eZ as describePlannerNotReady, e_ as describeProblems, e$ as describeRunnerSignIn, f0 as describeSignIn, f1 as describeSignInWays, f2 as diffRows, f3 as diffStat, f4 as diffSummary, f5 as digestTaskLog, f6 as drainNext, f7 as editableWhileRunning, f8 as elapsedSince, f9 as escalations, fa as executionSummary, fb as followTaskLog, fc as followTurn, fd as forgetSignedOutRunnerAuth, fe as formatElapsed, ff as fromTranscript, fg as getSettingsPath, fh as handoffBaseLine, fi as handoffBranchName, fj as handoffFindingsText, fk as handoffPeekParts, fl as hasAccountLimits, fm as hasHiddenDetail, fn as hasLongReport, fo as holdLabel, fp as holdPrompt, fq as isExecutableResolved, fs as isRepoGroup, ft as isTaskRunning, fu as keptDelegationBudget, fv as lastServedModel, fw as loadedSkillTokens, fx as logContinues, fy as logResumes, fz as loopBodyLabel, fA as loopBodyRound, fB as loopCheckLabel, fC as loopCheckState, fD as loopLeaveNotice, fE as loopRowParts, fF as manualOverrideConfirmation, fG as manualOverrideStopFirst, fH as mapAgentTool, fI as markAction, fJ as markdownHtml, fK as markdownTokens, fL as mergeOutcome, fM as mergePastChecksConfirmation, fN as mergeTarget, fO as namedRepos, fP as newTaskFields, fQ as noExecutorRefusal, fR as normalizeAgentArgs, fS as opRefusalText, fT as opsEditable, fU as outputLines, fV as outputPreview, fW as overrideNeedsConfirmation, fX as parseCount, fY as parseDelegation, fZ as parseSwitch, f_ as parseTaskOpsJson, f$ as parseTaskQueryJson, g0 as pastGateConfirmation, g1 as planBlocks, g2 as planDirectLaunch, g3 as planMarkerParts, g4 as plannerMessage, g5 as plannerNotReady, g6 as plannerNotReadyFor, g7 as plannerTranscript, g8 as processLeaseHost, g9 as ranSealed, ga as readRunnerAuth, gb as receiptLabel, gc as reconcileApprovals, gd as recordRunnerAuth, ge as recordedRunnerAuth, gf as reduceConversation, gg as reduceRun, gh as reduceTaskLog, gi as rememberDelegationBudget, gj as renderTaskQueryAnswer, gk as repairWaitLabel, gl as repairedLanded, gm as repairedNotice, gn as repeatingChecks, go as replayTaskLog, gp as repoBaseLine, gq as repoResultLines, gr as reposWithWork, gs as resetRunnerAuth, gt as resolveSkillInvocation, gu as resolveTaskRef, gv as resolveUserTaskRef, gw as resumeLabel, gx as resumeTime, gy as revertEffect, gz as revertListLine, gA as revertTaskRef, gB as rewordSignIn, gC as runHoldsEditors, gD as runSettingsOf, gE as runnerSignIn, gF as runnerToolSubject, gG as scriptExitText, gH as scriptRunText, gI as secondsText, gJ as serializePlan, gK as serializeTask, gL as serializeTaskStatus, gM as signInAction, gN as signInOf, gO as signInOfVerdict, gP as signedOutFromFailure, gQ as skillTokens, gR as skippedLabel, gS as stopTurn, gT as subtreeIds, gU as subtreeView, gV as summarizeToolCall, gW as supervisorSummary, gX as surfacePlan, gY as surfacePlanState, gZ as takeAt, g_ as taskActionCommand, g$ as taskActivity, h0 as taskChatAvailable, h1 as taskLogCommands, h2 as taskLogForSurface, h3 as taskLogHeaderView, h4 as taskOrderLabel, h5 as taskPlacement, h6 as taskQuerySignature, h7 as taskRef, h8 as taskRefOf, h9 as taskRowActions, ha as taskRowView, hb as taskStartedNotice, hc as taskStatusKind, hd as textHasTaskOps, he as textHasTaskQuery, hf as titledRefs, hg as titledTaskRef, hh as titledTaskRefOf, hi as toTaskLogEvent, hj as toolHeadline, hk as trailerSummary, hl as trimToolOutput, hm as truncateCheckpointSummary, hn as unsendAll, ho as unsendLatest, hp as wakeUpItems, hq as walkPlan, hr as windowsCommandLine, hs as withoutSealedMark, ht as workspaceEnvOf } from './runSettingsText-DCu4ItQN.js';
7
+ import { R as RunnerModeInfo } from './ModeResolver-CW8TEJjB.js';
8
+ export { a as autonomyLevelLabel, p as parseAutonomyFlag, b as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-CW8TEJjB.js';
9
9
  import { WorkerOptions, Worker } from 'worker_threads';
10
10
  import { ChildProcess } from 'child_process';
11
11
  import { EventEmitter } from 'events';
@@ -371,27 +371,6 @@ declare function listTree(root: string, depth: number, readEntries: (abs: string
371
371
  */
372
372
  declare const STOPPED_TOOL_RESULT = "Stopped by the user \u2014 this call was not executed, and no further tool calls will run this turn.";
373
373
 
374
- /**
375
- * Workspace containment, in one place. Both the filesystem policy layer
376
- * (which may ask the user to approve an escape) and the research-subagent
377
- * wrapper (which may not, because nothing can prompt on its behalf) need the
378
- * same answer to "is this path inside the workspace", so neither re-derives it.
379
- *
380
- * Symlinks are resolved lexically, not on disk: a symlink inside the workspace
381
- * pointing outward still reads as inside. Closing that would mean a `realpath`
382
- * syscall on every path check, and the threat model here is an LLM wandering,
383
- * not an adversary planting links in a repo the user already trusts enough to
384
- * point Ordewell at.
385
- */
386
- interface ResolvedPath {
387
- abs: string;
388
- inside: boolean;
389
- }
390
- /** `from` is where a relative `target` starts; containment is still judged against `root`. */
391
- declare function resolveWithin(root: string, target: string, from?: string): ResolvedPath;
392
- /** The directory a grant covers for `target` — its parent for files, itself for directories. */
393
- declare function grantScopeFor(abs: string, kind: 'file' | 'directory'): string;
394
-
395
374
  /**
396
375
  * A web-search backend behind a narrow seam (ADR-0027). The fetcher carries
397
376
  * the bytes through its vetted transport; a provider owns only the endpoint,
@@ -1214,6 +1193,13 @@ declare class ContextCollector {
1214
1193
  private readIfExists;
1215
1194
  }
1216
1195
 
1196
+ /**
1197
+ * An ACP agent's answer when asked for its models: what its session offers;
1198
+ * `'signed-out'` when it refused to open one until signed in, which is the
1199
+ * reason a surface gives for an empty list; null on any other failure.
1200
+ */
1201
+ type AcpModelsAnswer = DiscoveredModel[] | 'signed-out' | null;
1202
+
1217
1203
  /**
1218
1204
  * Injectable command runner. Defaults to the real `child_process` exec wrapper;
1219
1205
  * tests pass a fake so discovery never spawns a process.
@@ -1224,6 +1210,17 @@ type ExecImpl = (command: string, options?: {
1224
1210
  }) => Promise<{
1225
1211
  stdout: string;
1226
1212
  }>;
1213
+ /**
1214
+ * Injectable ACP client: start the agent, open a session and return what it
1215
+ * offers. `'signed-out'` when the agent would open none until signed in, null
1216
+ * on any other failure (spawn error, timeout, malformed answer); either way
1217
+ * discovery falls through to the manifest's other methods. An empty list means
1218
+ * the agent answered and offered no model choice.
1219
+ */
1220
+ type AcpClientImpl = (command: string, args: string[], options?: {
1221
+ timeout?: number;
1222
+ env?: RunnerEnv;
1223
+ }) => Promise<AcpModelsAnswer>;
1227
1224
  declare function discoverGeminiModels(apiKey: string, baseUrl?: string, fetchImpl?: typeof fetch): Promise<DiscoveredModel[]>;
1228
1225
 
1229
1226
  interface ModelResolverDeps {
@@ -1231,6 +1228,7 @@ interface ModelResolverDeps {
1231
1228
  execImpl?: ExecImpl;
1232
1229
  /** The environment runners are launched with, which can move a runner's own files (`CLAUDE_CONFIG_DIR`). Defaults to this process's. */
1233
1230
  env?: () => Promise<RunnerEnv>;
1231
+ acpClient?: AcpClientImpl;
1234
1232
  }
1235
1233
  declare class ModelResolver {
1236
1234
  private registry;
@@ -1238,6 +1236,7 @@ declare class ModelResolver {
1238
1236
  private discovery;
1239
1237
  private fetchImpl?;
1240
1238
  private execImpl?;
1239
+ private acpClient?;
1241
1240
  private shared;
1242
1241
  constructor(registry: RunnerRegistry, config: IConfig, deps?: ModelResolverDeps);
1243
1242
  private get vendor();
@@ -1269,6 +1268,13 @@ declare class ModelResolver {
1269
1268
  * key/endpoint is set but whose catalog could not be reached.
1270
1269
  */
1271
1270
  getDiscoveryErrors(): Record<string, string>;
1271
+ /**
1272
+ * Why each runner whose catalog the last `modelsForRunners` found empty
1273
+ * offers nothing, keyed by runner id, in this resolver's environment: a
1274
+ * signed-out runner is told with the ways to sign it in, since a refresh
1275
+ * alone cannot fill its list. Empty when no runner said why.
1276
+ */
1277
+ getRunnerDiscoveryErrors(): Record<string, string>;
1272
1278
  refresh(): Promise<ProviderModelLists>;
1273
1279
  /** Forget every runner catalog, each workspace's included; the vendor catalogs stay. */
1274
1280
  refreshRunnerModels(): void;
@@ -1332,6 +1338,12 @@ interface RunnerInstallationOptions {
1332
1338
  * augmented PATH, per-process cache. A runner that isn't installed should never
1333
1339
  * be offered for selection in any surface.
1334
1340
  */
1341
+ /** Whether an agent can be started, why not, and its login verdict beside it. */
1342
+ interface RunnerUsability {
1343
+ usable: boolean;
1344
+ reason?: string;
1345
+ auth?: RunnerAuth;
1346
+ }
1335
1347
  declare class RunnerInstallation {
1336
1348
  private cache;
1337
1349
  private inflight;
@@ -1365,11 +1377,14 @@ declare class RunnerInstallation {
1365
1377
  * it is installed, and the user may log in from the same picker — so the
1366
1378
  * auth verdict rides beside usability, never inside it.
1367
1379
  */
1368
- plannerUsability(runner: string): Promise<{
1369
- usable: boolean;
1370
- reason?: string;
1371
- auth?: RunnerAuth;
1372
- }>;
1380
+ plannerUsability(runner: string): Promise<RunnerUsability>;
1381
+ /**
1382
+ * {@link plannerUsability} without the question of planning: whether the
1383
+ * agent's CLI is installed and can be started, with its login verdict. The
1384
+ * runner list and the login flows ask this, because a task runner that cannot
1385
+ * plan yet (an ACP agent) is still offered and still needs signing in.
1386
+ */
1387
+ runnerUsability(runner: string): Promise<RunnerUsability>;
1373
1388
  /**
1374
1389
  * The runner's own login verdict, cached briefly and asked once when several
1375
1390
  * callers arrive together. Recorded per workspace for the synchronous planner
@@ -1828,6 +1843,12 @@ interface RunnerCommand {
1828
1843
  * credentials a native-shell planner keeps out of its process (ADR-0036 N2.2).
1829
1844
  */
1830
1845
  envDrop?: (name: string) => boolean;
1846
+ /**
1847
+ * Where the process starts, when not in the workspace it serves, whose
1848
+ * variables it still gets. A placement starts its runner where it puts it,
1849
+ * so a placed launch cannot name one.
1850
+ */
1851
+ cwd?: string;
1831
1852
  }
1832
1853
  interface RunnerExit {
1833
1854
  code: number | null;
@@ -1853,8 +1874,10 @@ declare class RunnerProcess {
1853
1874
  private exitStatus;
1854
1875
  /** The process itself reported its end, before its pipes drained; see {@link hasExited}. */
1855
1876
  private exitReported;
1856
- private stderrTail;
1877
+ private readonly stderr;
1857
1878
  private spawnEnv;
1879
+ /** Secrets handed to the process, in its environment or some other way, which no message of its may carry. */
1880
+ private readonly held;
1858
1881
  /** What a lease launched in this process's place, where one did (ADR-0059 L5). */
1859
1882
  private placed;
1860
1883
  /** Stdout readers' end-of-stream flushes, for an end the pipe itself never reports. */
@@ -1868,9 +1891,10 @@ declare class RunnerProcess {
1868
1891
  *
1869
1892
  * `command` is asked for only once `cwd` is known to exist, and `handshake`
1870
1893
  * is called in the same tick as the spawn, so a listener it attaches hears
1871
- * the process's first output.
1894
+ * the process's first output. It may answer later, for a launch that reads
1895
+ * something of the workspace's variables first.
1872
1896
  */
1873
- start(cwd: string, command: (workspace: Record<string, string>) => RunnerCommand, handshake: (child: ChildProcess) => Promise<void>): Promise<void>;
1897
+ start(cwd: string, command: (workspace: Record<string, string>) => RunnerCommand | Promise<RunnerCommand>, handshake: (child: ChildProcess) => Promise<void>): Promise<void>;
1874
1898
  private launch;
1875
1899
  /**
1876
1900
  * Hear the process's stdout as text, until the returned function is called.
@@ -1900,16 +1924,24 @@ declare class RunnerProcess {
1900
1924
  describeExit(): string;
1901
1925
  /** Fail-safe contract: a dead runner reports its own last words, never an empty bubble. */
1902
1926
  withStderrTail(headline: string): string;
1927
+ /** Keep `values`, secrets the process is handed some other way than its environment, out of its messages too. */
1928
+ withhold(...values: string[]): void;
1929
+ /**
1930
+ * Text the process wrote, fit for an error: a CLI that prints its settings
1931
+ * or its environment echoes the key it was spawned with, and an error goes
1932
+ * to the task log, the timeline and the planner chat (ADR-0060, R9). Pass it
1933
+ * whole, before any cut: a cut can part a credential's name from its value.
1934
+ */
1935
+ redact(text: string): string;
1903
1936
  /**
1904
1937
  * Tree-wide, because the direct child may be a CLI whose shells, MCP servers
1905
- * and test runs would outlive it — or, on Windows, the cmd.exe shim rather
1906
- * than the runner. The forced follow-up is scheduled and unref'd, so a
1938
+ * and test runs would outlive it — or, on Windows, the cmd.exe or PowerShell
1939
+ * that runs a shim rather than the runner. The forced follow-up is scheduled and unref'd, so a
1907
1940
  * disposed runner is never the reason the host refuses to exit.
1908
1941
  */
1909
1942
  dispose(): void;
1910
1943
  private end;
1911
1944
  private placedEnded;
1912
- private appendStderr;
1913
1945
  }
1914
1946
 
1915
1947
  /**
@@ -1992,7 +2024,7 @@ declare abstract class ProcessLifecycle {
1992
2024
  * the process down and frees what the adapter owns with it: no caller keeps
1993
2025
  * an adapter whose start threw.
1994
2026
  */
1995
- protected startProcess(cwd: string, command: (workspace: Record<string, string>) => RunnerCommand, handshake: (child: ChildProcess) => Promise<void>): Promise<void>;
2027
+ protected startProcess(cwd: string, command: (workspace: Record<string, string>) => RunnerCommand | Promise<RunnerCommand>, handshake: (child: ChildProcess) => Promise<void>): Promise<void>;
1996
2028
  /**
1997
2029
  * Hand `release` to the process: it runs once, when the process ends or the
1998
2030
  * adapter is disposed, whichever comes first. A second claim on a name frees
@@ -2019,6 +2051,8 @@ interface SpawnSpec {
2019
2051
  envDrop?: (name: string) => boolean;
2020
2052
  /** Paths on this host, named in `args`, that the process reads. */
2021
2053
  files?: readonly string[];
2054
+ /** Where the process starts, when not in the workspace. */
2055
+ cwd?: string;
2022
2056
  }
2023
2057
  /**
2024
2058
  * Shared plumbing for the agents that speak newline-delimited JSON over stdio.
@@ -2063,7 +2097,7 @@ declare abstract class StdioAgentAdapter extends ProcessLifecycle implements Age
2063
2097
  * The command line that starts this agent in its read-only mode, given the
2064
2098
  * workspace's own variables (ADR-0016) the process will run under.
2065
2099
  */
2066
- protected abstract spawnSpec(opts: AgentStartOptions, workspace: Record<string, string>): SpawnSpec;
2100
+ protected abstract spawnSpec(opts: AgentStartOptions, workspace: Record<string, string>): SpawnSpec | Promise<SpawnSpec>;
2067
2101
  /** The bytes written to stdin to open one user turn. Must end with a newline. */
2068
2102
  protected abstract turnPayload(message: string): string;
2069
2103
  /**
@@ -2079,7 +2113,7 @@ declare abstract class StdioAgentAdapter extends ProcessLifecycle implements Age
2079
2113
  * planner's or a task's launch; a launch that is neither — a query that
2080
2114
  * never opens a turn — comes through here with its own command line.
2081
2115
  */
2082
- protected launch(cwd: string, spec: (workspace: Record<string, string>) => SpawnSpec, handshake: () => Promise<void>): Promise<void>;
2116
+ protected launch(cwd: string, spec: (workspace: Record<string, string>) => SpawnSpec | Promise<SpawnSpec>, handshake: () => Promise<void>): Promise<void>;
2083
2117
  /**
2084
2118
  * Every protocol line goes to `handleLine`, turn or no turn: an agent's
2085
2119
  * handshake and its session-id announcement both arrive before the first
@@ -2489,7 +2523,9 @@ declare class CodexAdapter extends StdioAgentAdapter implements TaskModeAgentAda
2489
2523
  /** The row each announced file of an in-flight `fileChange` item is shown under, by the file's shown path. */
2490
2524
  private readonly fileChangeRows;
2491
2525
  private sandbox;
2492
- /** A planner on a host where no sandbox starts: Codex's own shell is off, and `run_command` is its only one (ADR-0033). */
2526
+ /** Whether the user set up Codex's Windows sandbox, asked for a change task on a Windows host; null where nothing asked or Codex did not say. */
2527
+ private windowsSandbox;
2528
+ /** Codex's own shell is off, and `run_command` is the only one: a read-only task's, and a planner's on a host where no sandbox starts (ADR-0033) or on Windows (ADR-0010). */
2493
2529
  private ownShellOff;
2494
2530
  /** A read-only task's: every MCP server Codex would start beside Ordewell's, each switched off for its thread (ADR-0046). */
2495
2531
  private withheldServers;
@@ -2523,6 +2559,20 @@ declare class CodexAdapter extends StdioAgentAdapter implements TaskModeAgentAda
2523
2559
  * would pretend it was resumed.
2524
2560
  */
2525
2561
  private openThread;
2562
+ /**
2563
+ * Codex runs on this Windows host, not placed on another machine. Its
2564
+ * sandboxes here cannot keep a planner's command off the network: with none
2565
+ * set up there is none, and under the non-admin one Node reaches the network
2566
+ * (measured, ADR-0010). So a planner's own shell is off here, and every
2567
+ * command goes through Ordewell's `run_command`, as every other planner's
2568
+ * does on Windows (ADR-0026). A one-shot plan, which runs no command, keeps
2569
+ * Codex's shell with its approvals declined: it has no other way to read.
2570
+ */
2571
+ private onWindowsHost;
2572
+ /** A change task whose commands Codex runs in its own Windows sandbox, which the user may not have set up. */
2573
+ private runsWindowsSandbox;
2574
+ /** Codex's answer, or null from a Codex that has no such question: that one is left as it configures itself. */
2575
+ private windowsSandboxReadiness;
2526
2576
  commands(): RunnerCommand$1[];
2527
2577
  invokeCommand(name: string, args: string, onEvent: (event: AgentEvent) => void, signal?: AbortSignal): Promise<void>;
2528
2578
  /** The path the runner knows its work by: placed, this host's means nothing to it (ADR-0059 L5). */
@@ -2536,6 +2586,7 @@ declare class CodexAdapter extends StdioAgentAdapter implements TaskModeAgentAda
2536
2586
  * Not knowing them, the task does not start.
2537
2587
  */
2538
2588
  private configuredServers;
2589
+ /** The thread, the model it runs, and the sandbox Codex granted it, which need not be the one asked for. */
2539
2590
  private requestThread;
2540
2591
  private threadParams;
2541
2592
  /**
@@ -3250,6 +3301,7 @@ type RunnerSpawnOptions = Parameters<IRunner['spawn']>[0];
3250
3301
  declare abstract class AbstractRunnerSession implements IRunnerSession {
3251
3302
  id: string;
3252
3303
  taskId: string;
3304
+ readonly secrets: HeldSecrets;
3253
3305
  protected exited: boolean;
3254
3306
  protected outputEmitter: EventEmitter<any>;
3255
3307
  protected exitEmitter: EventEmitter<any>;
@@ -5336,7 +5388,20 @@ declare class BufferedTaskOutputSource implements TaskOutputSource {
5336
5388
  report(taskId: string): string | undefined;
5337
5389
  handoff(taskId: string): StoredHandoff | undefined;
5338
5390
  liveTail(taskId: string, opts: LiveTailOptions): LiveTail | null;
5391
+ /**
5392
+ * The output from `from`, in the buffer, redacted with the start of its
5393
+ * line: the name of a value split across two chunks is in the part already
5394
+ * read. A value known only by a line above it, a private key's body or a
5395
+ * value below its name, is read from that line ({@link openValueStart}), or,
5396
+ * when the buffer's cut dropped it, from the head the cut kept hidden.
5397
+ */
5398
+ private readFrom;
5339
5399
  private append;
5400
+ /**
5401
+ * Bound the buffer by whole lines, as LineTail does: a cut inside a
5402
+ * line can keep a value and drop the name that marks it, before any read
5403
+ * has redacted the two together.
5404
+ */
5340
5405
  private cutTo;
5341
5406
  }
5342
5407
 
@@ -5390,6 +5455,13 @@ declare class StructuredSession extends AbstractRunnerSession {
5390
5455
  private generation;
5391
5456
  private output;
5392
5457
  private readonly text;
5458
+ /**
5459
+ * The channel's writes, held secrets hidden as one stream rather than write
5460
+ * by write: the channel writes a line at a time and flushes one run's open
5461
+ * line when another speaks, so writes that each hold under a part of a value
5462
+ * meet in the output with nothing between them (ADR-0061, H1).
5463
+ */
5464
+ private readonly shownText;
5393
5465
  private state;
5394
5466
  private turn;
5395
5467
  /** A `task_complete` report waiting for its turn to close; the verdict is published then. */
@@ -5420,12 +5492,17 @@ declare class StructuredSession extends AbstractRunnerSession {
5420
5492
  /** This attempt's MCP token, until the session ends (ADR-0022, A2). */
5421
5493
  private toolToken;
5422
5494
  private checkpointHandler;
5495
+ /** Set while the task's first turn is the attach check, until the caller hears it (ADR-0060, R5). */
5496
+ private held;
5423
5497
  constructor(id: string, taskId: string, launch: SessionLaunch);
5424
5498
  /**
5425
5499
  * Start the runner with the attempt's tools attached and send the task's
5426
5500
  * prompt as its first turn. `task_complete` is the only way a task reports
5427
- * it is done, so a runner without the tools is never sent the task: it is
5428
- * killed and respawned once, and a second miss is a timeout the task holds.
5501
+ * it is done, so no result is accepted from a runner without the tools: it
5502
+ * is killed and respawned once, and a second miss is a timeout the task
5503
+ * holds. A runner that uses its token only once a turn starts it is sent the
5504
+ * task as the check, and that turn counts only if the token was used before
5505
+ * it ended (ADR-0060, R5).
5429
5506
  */
5430
5507
  start(prompt: string): Promise<void>;
5431
5508
  getOutput(): string;
@@ -5437,9 +5514,19 @@ declare class StructuredSession extends AbstractRunnerSession {
5437
5514
  * The runner on a fresh token, attached or respawned once (ADR-0025). Done
5438
5515
  * once the runner reports the server connected — or once the session ended
5439
5516
  * meanwhile, which leaves nothing to start. A runner that cannot be spawned
5440
- * at all throws instead: spawning it again would fail the same way.
5517
+ * at all throws instead: spawning it again would fail the same way. With a
5518
+ * `prompt`, a runner that attaches on its first turn is sent it as the check
5519
+ * (ADR-0060, R5); without one, as after an interrupt, it cannot attach.
5441
5520
  */
5442
5521
  private startAttached;
5522
+ private attach;
5523
+ /** The task's prompt as the attach check: what it says is held until the check passed and the caller listens. */
5524
+ private sendFirstTurn;
5525
+ /**
5526
+ * The check failed, so its turn was never the task's: nothing it said, asked
5527
+ * or reported is heard, and its process goes with it (ADR-0060, R5).
5528
+ */
5529
+ private discardFirstTurn;
5443
5530
  private revokeTools;
5444
5531
  protected baseHandleExit(code: number): void;
5445
5532
  /**
@@ -5554,6 +5641,11 @@ declare class StructuredSession extends AbstractRunnerSession {
5554
5641
  private deliverNext;
5555
5642
  private undeliverQueued;
5556
5643
  private emitEvent;
5644
+ /** The turn's text written out, what the stream held back with it, so a reader told the turn ended has all of it. */
5645
+ private endText;
5646
+ private show;
5647
+ /** Said now, or kept while the first turn is the attach check. */
5648
+ private say;
5557
5649
  }
5558
5650
  /**
5559
5651
  * The structured transport (ADR-0018): a task's runner as a plain child
@@ -5667,6 +5759,9 @@ declare class ScriptSession extends AbstractRunnerSession {
5667
5759
  private readonly sealedEnd;
5668
5760
  private markGone;
5669
5761
  private readonly gone;
5762
+ /** Each pipe's text with what the session holds hidden, before the output, the log, the saved file or the error tail keeps any of it (ADR-0061, H1). */
5763
+ private readonly shownOut;
5764
+ private readonly shownErr;
5670
5765
  constructor(id: string, taskId: string, setup: ScriptSessionSetup);
5671
5766
  /** Whoever spawned it attaches its listeners when the spawn resolves, so the body starts a macrotask later. */
5672
5767
  begin(): void;
@@ -5770,6 +5865,13 @@ declare function stripAnsi(text: string): string;
5770
5865
  /** `text` as one word of a POSIX shell, whatever it holds. */
5771
5866
  declare function shellQuoted(text: string): string;
5772
5867
 
5868
+ /**
5869
+ * The longest run of whole lines from the start of `text` within `maxChars`,
5870
+ * for output that is cut before it is redacted: a cut between lines keeps
5871
+ * every credential's name beside its value.
5872
+ */
5873
+ declare function headLines(text: string, maxChars: number): string;
5874
+
5773
5875
  /**
5774
5876
  * A workspace path that does not exist, or exists but is not a directory.
5775
5877
  * Checked at every surface that starts a planner or spawns an agent inside
@@ -5933,7 +6035,7 @@ declare function clearAugmentedPathCache(): void;
5933
6035
  * under both keys, so the bug was latent rather than live; this makes it
5934
6036
  * impossible instead of unlikely.
5935
6037
  */
5936
- declare function withPath(base: NodeJS.ProcessEnv, resolvedPath: string, overrides?: Record<string, string>): NodeJS.ProcessEnv;
6038
+ declare function withPath(base: NodeJS.ProcessEnv, resolvedPath: string, overrides?: Record<string, string>, platform?: NodeJS.Platform): NodeJS.ProcessEnv;
5937
6039
 
5938
6040
  type HasBinFn = (bin: string) => boolean;
5939
6041
  /**
@@ -6062,4 +6164,4 @@ declare function parseVersion(version: string): number[] | null;
6062
6164
  /** Negative, zero or positive as `a` is older than, the same as, or newer than `b`; an unreadable version sorts oldest. */
6063
6165
  declare function compareVersions(a: string, b: string): number;
6064
6166
 
6065
- export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CappedRows, CheckpointAnswer, type CheckpointListener, ChildControlOutcome, ChildDirectory, type ChildFrame, ChildMessageOutcome, type ChildPlacement, ChildPlanEntry, type ChildPlanHandle, ChildPlanView, ChildTaskControl, type ClaudeAccountLimitOptions, ClaudeCodeAdapter, type CodexAccountLimitOptions, CodexAdapter, CodexSandboxAvailability, CommandOutcome, type ConfiguredPlanner, ContextCollector, type Continuability, ConversationCompaction, type ConversationFork, ConversationRequest, type ConversationRewind, ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, type DirEntry, DiscoveredModel, DockerCli, DuckDuckGoSearchProvider, type EnvAdmission, EnvConfig, Escalation, type ExecImpl, ExecutionActor, ExecutionCommand, FindSymbolOptions, GREP_PCRE_PROBE_ARGS, GeminiService, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, HARNESS_PLANNER_REASON, HandoffCheck, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, IAiService, IApproval, IConfig, IFileSystem, IIsolationPreview, ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, IsolationRemoval, IsolationTaskStatus, IsolationView, type KillTreeDeps, LaunchDeps, LeaseHost, LegacyPlanState, LiveTail, LiveTailOptions, Mandate, MandateLimits, MandateRequest, McpToolReply, ModelResolver, type ModelResolverDeps, type NativeShellLauncher, type NativeShellOffer, NoPlanError, NodeAuthority, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OpenAiService, OpenCodeAdapter, type OpenCodeGoAccountLimitOptions, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type ParsedCommand, PendingApproval, PendingApprovals, type PingFetch, PlanEditError, PlanIsolation, type PlanRequest, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerChoice, PlannerModelCandidate, type PlannerModelLookup, PlannerModelRecall, type PlannerModelSource, PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionCurrent, type PlannerSelectionResult, type PlannerSelectionState, PlannerShellSandbox, PlannerToolHandler, type PlannerUsability, PlannerUsage, PostArgs, type PrdBlock, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, ReadTaskArgs, ReportedWindow, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolvedChoice, type ResolvedPlanner, RewindTarget, RunActivity, RunMergeView, RunView, RunnerApprovals, RunnerAuth, RunnerAuthExec, RunnerCommand$1 as RunnerCommand, RunnerId, RunnerInstallation, type RunnerInstallationOptions, RunnerManifest, RunnerModeInfo, RunnerRegistry, RunnerSessionCost, type RunnerSpawnOptions, SCRIPT_RUNNER, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SYMBOL_LANGUAGES, type SaveSession, type SavedState, ScriptBody, ScriptExit, ScriptRunner, ScriptSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionDeps, SessionHeld, SessionLease, SessionMessage, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionRuntimeSettings, ShellLaunch, SkillsService, type SpawnSpec, StdioAgentAdapter, StoredHandoff, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SubtreeReport, Task, TaskCompleteArgs, TaskControlError, type TaskEditOptions, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, TaskMessageFrom, TaskModeAgentAdapter, TaskOrchestrator, TaskOrchestratorOptions, TaskOutputSource, TaskQueryCatalog, TaskRevertPreview, TaskRunnerConfig, TaskRunnerFlags, TaskShell, TaskShellSite, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VERSION_CHECK_NOTICE, VERSION_CHECK_URL, VerdictEngine, type VerdictListener, VerificationCheck, type VersionCheck, type VersionCheckOptions, WebRead, WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorktreeIsolationDeps, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, claudeAccountLimitCollector, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexAccountLimitCollector, codexSandboxNotice, compareVersions, configuredProviders, continuability, createIsolationPreview, createNativeShellLauncher, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultEnabledRunners, definitionPattern, detectInstalledPlanner, discardChildRuns, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, findInstalledPlanner, formatSearchOutput, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, includeGlobFor, installedPlannerAnswered, installedPlannerDetected, isApiProvider, isCliProvider, isOpenAiProvider, isPlannerBackend, isVendorModelFor, isolationViewOfPlan, killTree, languageForId, listTaskLogAttempts, listTree, loadState, looksLikeChallenge, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, nativeShellInvocation, nativeShellOffer, normalizeGeminiModel, notifyCommandOf, openCodeGoAccountLimitCollector, openTaskLog, parseExecutionCommand, parseMaxParallel, parseSearchHits, parseVersion, plannerBackendEntries, prefixModelId, prepareTaskOutputFile, providerForRunner, readDaemonToken, readTaskLog, readTaskPatch, reclaimContainers, recordInstalledPlanner, recordedInstalledPlanner, referencePattern, removedPluginNotice, repositoryRunnerConfigPaths, resetInstalledPlanner, resolveProviderFromPrefix, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveState, saveTaskPatch, selectPlanner, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, shellQuoted, startVersionCheck, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskPatchFile, tokenSubprotocols, tokensMatch, wellKnownBinDirs, withPath, writeFileAtomic, writePrivateFile };
6167
+ export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CappedRows, CheckpointAnswer, type CheckpointListener, ChildControlOutcome, ChildDirectory, type ChildFrame, ChildMessageOutcome, type ChildPlacement, ChildPlanEntry, type ChildPlanHandle, ChildPlanView, ChildTaskControl, type ClaudeAccountLimitOptions, ClaudeCodeAdapter, type CodexAccountLimitOptions, CodexAdapter, CodexSandboxAvailability, CommandOutcome, type ConfiguredPlanner, ContextCollector, type Continuability, ConversationCompaction, type ConversationFork, ConversationRequest, type ConversationRewind, ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, type DirEntry, DiscoveredModel, DockerCli, DuckDuckGoSearchProvider, type EnvAdmission, EnvConfig, Escalation, type ExecImpl, ExecutionActor, ExecutionCommand, FindSymbolOptions, GREP_PCRE_PROBE_ARGS, GeminiService, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, HARNESS_PLANNER_REASON, HandoffCheck, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, IAiService, IApproval, IConfig, IFileSystem, IIsolationPreview, ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, IsolationRemoval, IsolationTaskStatus, IsolationView, type KillTreeDeps, LaunchDeps, LeaseHost, LegacyPlanState, LiveTail, LiveTailOptions, Mandate, MandateLimits, MandateRequest, McpToolReply, ModelResolver, type ModelResolverDeps, type NativeShellLauncher, type NativeShellOffer, NoPlanError, NodeAuthority, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OpenAiService, OpenCodeAdapter, type OpenCodeGoAccountLimitOptions, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type ParsedCommand, PendingApproval, PendingApprovals, type PingFetch, PlanEditError, PlanIsolation, type PlanRequest, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerChoice, PlannerModelCandidate, type PlannerModelLookup, PlannerModelRecall, type PlannerModelSource, PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionCurrent, type PlannerSelectionResult, type PlannerSelectionState, PlannerShellSandbox, PlannerToolHandler, type PlannerUsability, PlannerUsage, PostArgs, type PrdBlock, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, ReadTaskArgs, ReportedWindow, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolvedChoice, type ResolvedPlanner, RewindTarget, RunActivity, RunMergeView, RunView, RunnerApprovals, RunnerAuth, RunnerAuthExec, RunnerCommand$1 as RunnerCommand, RunnerId, RunnerInstallation, type RunnerInstallationOptions, RunnerManifest, RunnerModeInfo, RunnerRegistry, RunnerSessionCost, type RunnerSpawnOptions, type RunnerUsability, SCRIPT_RUNNER, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SYMBOL_LANGUAGES, type SaveSession, type SavedState, ScriptBody, ScriptExit, ScriptRunner, ScriptSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionDeps, SessionHeld, SessionLease, SessionMessage, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionRuntimeSettings, ShellLaunch, SkillsService, type SpawnSpec, StdioAgentAdapter, StoredHandoff, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SubtreeReport, Task, TaskCompleteArgs, TaskControlError, type TaskEditOptions, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, TaskMessageFrom, TaskModeAgentAdapter, TaskOrchestrator, TaskOrchestratorOptions, TaskOutputSource, TaskQueryCatalog, TaskRevertPreview, TaskRunnerConfig, TaskRunnerFlags, TaskShell, TaskShellSite, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VERSION_CHECK_NOTICE, VERSION_CHECK_URL, VerdictEngine, type VerdictListener, VerificationCheck, type VersionCheck, type VersionCheckOptions, WebRead, WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorktreeIsolationDeps, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, claudeAccountLimitCollector, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexAccountLimitCollector, codexSandboxNotice, compareVersions, configuredProviders, continuability, createIsolationPreview, createNativeShellLauncher, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultEnabledRunners, definitionPattern, detectInstalledPlanner, discardChildRuns, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, findInstalledPlanner, formatSearchOutput, getProviderMeta, getStateDir, globalDataDir, grepRegexFromProbe, headLines, includeGlobFor, installedPlannerAnswered, installedPlannerDetected, isApiProvider, isCliProvider, isOpenAiProvider, isPlannerBackend, isVendorModelFor, isolationViewOfPlan, killTree, languageForId, listTaskLogAttempts, listTree, loadState, looksLikeChallenge, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, nativeShellInvocation, nativeShellOffer, normalizeGeminiModel, notifyCommandOf, openCodeGoAccountLimitCollector, openTaskLog, parseExecutionCommand, parseMaxParallel, parseSearchHits, parseVersion, plannerBackendEntries, prefixModelId, prepareTaskOutputFile, providerForRunner, readDaemonToken, readTaskLog, readTaskPatch, reclaimContainers, recordInstalledPlanner, recordedInstalledPlanner, referencePattern, removedPluginNotice, repositoryRunnerConfigPaths, resetInstalledPlanner, resolveProviderFromPrefix, resolveTaskRunnerFlags, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveState, saveTaskPatch, selectPlanner, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, shellQuoted, startVersionCheck, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskPatchFile, tokenSubprotocols, tokensMatch, wellKnownBinDirs, withPath, writeFileAtomic, writePrivateFile };