@ordewell/core 0.12.3 → 0.12.4

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.
@@ -1,4 +1,4 @@
1
- export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, B as BlockingSubject, w as CHECKPOINT_TRUNCATE_LENGTH, P as CommandBlock, T as CommandStatus, V as CompactionBlock, W as CompactionStatus, a7 as ConversationInput, ab as ConversationView, ad as DELEGATION_OFFERED, ah as DiffRow, ai as DiffRowKind, aj as DiffStat, ak as DisplayBlock, am as EMPTY_CONVERSATION, an as EMPTY_HOLD, ao as EMPTY_RUN, ap as EMPTY_TASK_LOG, aq as EMPTY_TASK_LOG_FOLLOW, aF as GatedConversation, aJ as HandoffBlock, aK as HandoffForkRepo, aL as HandoffPeekSubject, aN as IDLE_ACTIVITY, aR as IsolationPreviewNotice, a$ as LocalEntry, b0 as LoopCheckFacts, b1 as LoopCheckState, b4 as MarkdownToken, b8 as MessageBlock, b9 as MessageRole, bb as NOT_STARTED, bc as NO_TURN, bd as NewTaskFields, bm as OutputPreview, bn as OverrideDirection, bo as PLANNED_WITH_LABEL, bs as PlanBlock, bt as PlanBlocks, bv as PlanMarkerStatus, bR as PromptHold, bS as REPORT_PREVIEW_LINES, bV as RefTask, cg as RunnerLoadedBlock, ci as STALLED_LABEL, ck as STOPPING_LABEL, cl as SUBPLANNER_ACCOUNTING, cm as SUBPLANNER_CHILD, cn as SUBPLANNER_SCOPE, co as SUPERVISOR_LEVEL_LABEL, cJ as SkillLoadBlock, cK as SkillToken, cP as SubagentBlock, cQ as SubagentChild, cR as SubagentStatus, cU as SubtreeItemView, cV as SubtreeView, d3 as TakenPrompt, d4 as TaskAction, d5 as TaskActivity, d8 as TaskLogBatch, da as TaskLogFollow, db as TaskLogFollowInput, dc as TaskLogHeaderKind, dd as TaskLogHeaderTask, de as TaskLogHeaderUsage, df as TaskLogHeaderView, dh as TaskLogView, dp as TaskPlacement, dt as TaskRef, dw as TaskRowAction, dx as TaskRowContext, dy as TaskRowDelegated, dz as TaskRowHandoff, dA as TaskRowIsolation, dB as TaskRowKind, dC as TaskRowLoop, dD as TaskRowPlacement, dE as TaskRowSubject, dF as TaskRowUsage, dG as TaskRowView, dH as TaskRunFacts, dI as TaskStatusKind, dJ as ThinkingDisplayBlock, dK as ToolBlock, dL as ToolHeadline, dM as ToolStatus, dO as TreeTask, dQ as TurnGate, dR as UsageBlock, dT as WAITS_FOR_APPROVAL_LABEL, dU as WakeUpItem, e0 as accountLimitPercentText, e1 as accountLimitWindowLabel, e2 as accountLimitsOf, e3 as accountLimitsText, e4 as accountLimitsTitle, e5 as activityLabel, e6 as aheadOfDraft, e8 as approvalKindText, e9 as approvalLabel, ea as approvalStatusText, eb as assignedRunnerOf, ec as assignmentIssue, ed as assignmentIssueText, ee as attachingLabel, eh as awaitingLabel, ei as blockNotice, ej as blockNotices, ek as blockedByLabel, el as blockingFailures, em as canMergeTasks, en as canSetDependencies, eo as canSplitTask, ep as capConflictFiles, eq as cardEditNeedsUnstarted, er as cardEditable, ev as closeTurn, ex as compactionText, ey as confirmedOverride, eA as containersOffered, eC as delegatedRowView, eE as dependencyCandidates, eF as dependentsNotice, eG as dependentsOf, eK as describeIsolationPreview, eL as describeMergeResult, eO as diffRows, eP as diffStat, eQ as diffSummary, eS as drainNext, eT as editableWhileRunning, eU as elapsedSince, eX as followTaskLog, eY as followTurn, eZ as formatElapsed, e_ as fromTranscript, f0 as handoffBaseLine, f1 as handoffBranchName, f2 as handoffFindingsText, f3 as handoffPeekParts, f4 as hasAccountLimits, f5 as hasHiddenDetail, f6 as hasLongReport, f7 as holdLabel, f8 as holdPrompt, f9 as isFileEditTool, fa as isRepoGroup, fb as isTaskRunning, fc as keptDelegationBudget, fe as loadedSkillTokens, ff as logContinues, fg as logResumes, fh as loopBodyLabel, fi as loopBodyRound, fj as loopCheckLabel, fk as loopCheckState, fl as loopLeaveNotice, fm as loopRowParts, fn as manualOverrideConfirmation, fo as manualOverrideStopFirst, fq as markAction, fr as markdownHtml, fs as markdownTokens, ft as mergeOutcome, fu as mergePastChecksConfirmation, fw as namedRepos, fx as newTaskFields, fy as noExecutorRefusal, fB as opsEditable, fC as outputLines, fD as outputPreview, fE as overrideNeedsConfirmation, fF as parseCount, fK as pastGateConfirmation, fL as planBlocks, fM as planMarkerParts, fU as receiptLabel, fV as reconcileApprovals, fY as reduceConversation, f_ as reduceTaskLog, f$ as rememberDelegationBudget, g1 as repairWaitLabel, g2 as repairedLanded, g3 as repairedNotice, g4 as repeatingChecks, g5 as replayTaskLog, g6 as repoBaseLine, g7 as repoResultLines, gb as resolveTaskRef, gc as resolveUserTaskRef, gd as resumeLabel, ge as resumeTime, gf as revertEffect, gg as revertListLine, gh as revertTaskRef, gi as runHoldsEditors, gk as runnerToolSubject, gr as skillTokens, gs as skippedLabel, gt as stopTurn, gu as subtreeIds, gv as subtreeView, gw as summarizeToolCall, gA as takeAt, gB as taskActionCommand, gC as taskActivity, gD as taskChatAvailable, gE as taskLogCommands, gG as taskLogHeaderView, gH as taskOrderLabel, gI as taskPlacement, gK as taskRef, gL as taskRefOf, gM as taskRowActions, gN as taskRowView, gO as taskStartedNotice, gP as taskStatusKind, gS as titledRefs, gT as titledTaskRef, gU as titledTaskRefOf, gW as toolHeadline, gZ as truncateCheckpointSummary, g_ as unsendAll, g$ as unsendLatest, h0 as wakeUpItems, h1 as walkPlan } from './runSettingsText-DnzSrB0c.mjs';
1
+ export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation, aO as HandoffBlock, aP as HandoffForkRepo, aQ as HandoffPeekSubject, aS as IDLE_ACTIVITY, aW as IsolationPreviewNotice, b6 as LocalEntry, b7 as LoopCheckFacts, b8 as LoopCheckState, bb as MarkdownToken, bf as MessageBlock, bg as MessageRole, bi as NOT_STARTED, bj as NO_TURN, bk as NewTaskFields, bt as OutputPreview, bu as OverrideDirection, bv as PLANNED_WITH_LABEL, bz as PlanBlock, bA as PlanBlocks, bC as PlanMarkerStatus, bY as PromptHold, bZ as REPORT_PREVIEW_LINES, c0 as RefTask, cn as RunnerLoadedBlock, cp as STALLED_LABEL, cr as STOPPING_LABEL, cs as SUBPLANNER_ACCOUNTING, ct as SUBPLANNER_CHILD, cu as SUBPLANNER_SCOPE, cv as SUPERVISOR_LEVEL_LABEL, cQ as SkillLoadBlock, cR as SkillToken, cW as SubagentBlock, cX as SubagentChild, cY as SubagentStatus, c$ as SubtreeItemView, d0 as SubtreeView, da as TakenPrompt, db as TaskAction, dc as TaskActivity, df as TaskLogBatch, dh as TaskLogFollow, di as TaskLogFollowInput, dj as TaskLogHeaderKind, dk as TaskLogHeaderTask, dl as TaskLogHeaderUsage, dm as TaskLogHeaderView, dp as TaskLogView, dw as TaskPlacement, dA as TaskRef, 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, e0 as WakeUpItem, e8 as accountLimitPercentText, e9 as accountLimitWindowLabel, ea as accountLimitsOf, eb as accountLimitsText, ec as accountLimitsTitle, ed as activityLabel, ee as aheadOfDraft, eg as approvalKindText, eh as approvalLabel, ei as approvalStatusText, ej as assignedRunnerOf, ek as assignmentIssue, el as assignmentIssueText, em as attachingLabel, 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, eD as closeTurn, eF as compactionText, eG as confirmedOverride, eI as containersOffered, eK as delegatedRowView, eM as dependencyCandidates, eN as dependentsNotice, eO as dependentsOf, eS as describeIsolationPreview, eT as describeMergeResult, eW as diffRows, eX as diffStat, eY as diffSummary, e_ as drainNext, e$ as editableWhileRunning, f0 as elapsedSince, f3 as followTaskLog, f4 as followTurn, f5 as formatElapsed, f6 as fromTranscript, 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, fi as isFileEditTool, fj as isRepoGroup, fk as isTaskRunning, fl as keptDelegationBudget, 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, fz as markAction, fA as markdownHtml, fB as markdownTokens, fC as mergeOutcome, fD as mergePastChecksConfirmation, fF as namedRepos, fG as newTaskFields, fH as noExecutorRefusal, fK as opsEditable, fL as outputLines, fM as outputPreview, fN as overrideNeedsConfirmation, fO as parseCount, fT as pastGateConfirmation, fU as planBlocks, fW as planMarkerParts, g2 as receiptLabel, g3 as reconcileApprovals, g6 as reduceConversation, g8 as reduceTaskLog, g9 as rememberDelegationBudget, gb as repairWaitLabel, gc as repairedLanded, gd as repairedNotice, ge as repeatingChecks, gf as replayTaskLog, gg as repoBaseLine, gh as repoResultLines, gl as resolveTaskRef, gm as resolveUserTaskRef, gn as resumeLabel, go as resumeTime, gp as revertEffect, gq as revertListLine, gr as revertTaskRef, gs as runHoldsEditors, gu as runnerToolSubject, gB as skillTokens, gC as skippedLabel, gD as stopTurn, gE as subtreeIds, gF as subtreeView, gG as summarizeToolCall, gK as takeAt, gL as taskActionCommand, gM as taskActivity, gN as taskChatAvailable, gO as taskLogCommands, gQ as taskLogHeaderView, gR as taskOrderLabel, gS as taskPlacement, gU as taskRef, gV as taskRefOf, gW as taskRowActions, gX as taskRowView, gY as taskStartedNotice, gZ as taskStatusKind, h0 as titledRefs, h1 as titledTaskRef, h2 as titledTaskRefOf, h4 as toolHeadline, h7 as truncateCheckpointSummary, h8 as unsendAll, h9 as unsendLatest, ha as wakeUpItems, hb as walkPlan } from './runSettingsText-DWsmcnBq.mjs';
2
2
  export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-D3O49EUo.mjs';
3
3
  import './eventStore-BcoMsZtU.mjs';
4
4
  import 'child_process';
@@ -1,4 +1,4 @@
1
- export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, B as BlockingSubject, w as CHECKPOINT_TRUNCATE_LENGTH, P as CommandBlock, T as CommandStatus, V as CompactionBlock, W as CompactionStatus, a7 as ConversationInput, ab as ConversationView, ad as DELEGATION_OFFERED, ah as DiffRow, ai as DiffRowKind, aj as DiffStat, ak as DisplayBlock, am as EMPTY_CONVERSATION, an as EMPTY_HOLD, ao as EMPTY_RUN, ap as EMPTY_TASK_LOG, aq as EMPTY_TASK_LOG_FOLLOW, aF as GatedConversation, aJ as HandoffBlock, aK as HandoffForkRepo, aL as HandoffPeekSubject, aN as IDLE_ACTIVITY, aR as IsolationPreviewNotice, a$ as LocalEntry, b0 as LoopCheckFacts, b1 as LoopCheckState, b4 as MarkdownToken, b8 as MessageBlock, b9 as MessageRole, bb as NOT_STARTED, bc as NO_TURN, bd as NewTaskFields, bm as OutputPreview, bn as OverrideDirection, bo as PLANNED_WITH_LABEL, bs as PlanBlock, bt as PlanBlocks, bv as PlanMarkerStatus, bR as PromptHold, bS as REPORT_PREVIEW_LINES, bV as RefTask, cg as RunnerLoadedBlock, ci as STALLED_LABEL, ck as STOPPING_LABEL, cl as SUBPLANNER_ACCOUNTING, cm as SUBPLANNER_CHILD, cn as SUBPLANNER_SCOPE, co as SUPERVISOR_LEVEL_LABEL, cJ as SkillLoadBlock, cK as SkillToken, cP as SubagentBlock, cQ as SubagentChild, cR as SubagentStatus, cU as SubtreeItemView, cV as SubtreeView, d3 as TakenPrompt, d4 as TaskAction, d5 as TaskActivity, d8 as TaskLogBatch, da as TaskLogFollow, db as TaskLogFollowInput, dc as TaskLogHeaderKind, dd as TaskLogHeaderTask, de as TaskLogHeaderUsage, df as TaskLogHeaderView, dh as TaskLogView, dp as TaskPlacement, dt as TaskRef, dw as TaskRowAction, dx as TaskRowContext, dy as TaskRowDelegated, dz as TaskRowHandoff, dA as TaskRowIsolation, dB as TaskRowKind, dC as TaskRowLoop, dD as TaskRowPlacement, dE as TaskRowSubject, dF as TaskRowUsage, dG as TaskRowView, dH as TaskRunFacts, dI as TaskStatusKind, dJ as ThinkingDisplayBlock, dK as ToolBlock, dL as ToolHeadline, dM as ToolStatus, dO as TreeTask, dQ as TurnGate, dR as UsageBlock, dT as WAITS_FOR_APPROVAL_LABEL, dU as WakeUpItem, e0 as accountLimitPercentText, e1 as accountLimitWindowLabel, e2 as accountLimitsOf, e3 as accountLimitsText, e4 as accountLimitsTitle, e5 as activityLabel, e6 as aheadOfDraft, e8 as approvalKindText, e9 as approvalLabel, ea as approvalStatusText, eb as assignedRunnerOf, ec as assignmentIssue, ed as assignmentIssueText, ee as attachingLabel, eh as awaitingLabel, ei as blockNotice, ej as blockNotices, ek as blockedByLabel, el as blockingFailures, em as canMergeTasks, en as canSetDependencies, eo as canSplitTask, ep as capConflictFiles, eq as cardEditNeedsUnstarted, er as cardEditable, ev as closeTurn, ex as compactionText, ey as confirmedOverride, eA as containersOffered, eC as delegatedRowView, eE as dependencyCandidates, eF as dependentsNotice, eG as dependentsOf, eK as describeIsolationPreview, eL as describeMergeResult, eO as diffRows, eP as diffStat, eQ as diffSummary, eS as drainNext, eT as editableWhileRunning, eU as elapsedSince, eX as followTaskLog, eY as followTurn, eZ as formatElapsed, e_ as fromTranscript, f0 as handoffBaseLine, f1 as handoffBranchName, f2 as handoffFindingsText, f3 as handoffPeekParts, f4 as hasAccountLimits, f5 as hasHiddenDetail, f6 as hasLongReport, f7 as holdLabel, f8 as holdPrompt, f9 as isFileEditTool, fa as isRepoGroup, fb as isTaskRunning, fc as keptDelegationBudget, fe as loadedSkillTokens, ff as logContinues, fg as logResumes, fh as loopBodyLabel, fi as loopBodyRound, fj as loopCheckLabel, fk as loopCheckState, fl as loopLeaveNotice, fm as loopRowParts, fn as manualOverrideConfirmation, fo as manualOverrideStopFirst, fq as markAction, fr as markdownHtml, fs as markdownTokens, ft as mergeOutcome, fu as mergePastChecksConfirmation, fw as namedRepos, fx as newTaskFields, fy as noExecutorRefusal, fB as opsEditable, fC as outputLines, fD as outputPreview, fE as overrideNeedsConfirmation, fF as parseCount, fK as pastGateConfirmation, fL as planBlocks, fM as planMarkerParts, fU as receiptLabel, fV as reconcileApprovals, fY as reduceConversation, f_ as reduceTaskLog, f$ as rememberDelegationBudget, g1 as repairWaitLabel, g2 as repairedLanded, g3 as repairedNotice, g4 as repeatingChecks, g5 as replayTaskLog, g6 as repoBaseLine, g7 as repoResultLines, gb as resolveTaskRef, gc as resolveUserTaskRef, gd as resumeLabel, ge as resumeTime, gf as revertEffect, gg as revertListLine, gh as revertTaskRef, gi as runHoldsEditors, gk as runnerToolSubject, gr as skillTokens, gs as skippedLabel, gt as stopTurn, gu as subtreeIds, gv as subtreeView, gw as summarizeToolCall, gA as takeAt, gB as taskActionCommand, gC as taskActivity, gD as taskChatAvailable, gE as taskLogCommands, gG as taskLogHeaderView, gH as taskOrderLabel, gI as taskPlacement, gK as taskRef, gL as taskRefOf, gM as taskRowActions, gN as taskRowView, gO as taskStartedNotice, gP as taskStatusKind, gS as titledRefs, gT as titledTaskRef, gU as titledTaskRefOf, gW as toolHeadline, gZ as truncateCheckpointSummary, g_ as unsendAll, g$ as unsendLatest, h0 as wakeUpItems, h1 as walkPlan } from './runSettingsText-C6eto6Uv.js';
1
+ export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation, aO as HandoffBlock, aP as HandoffForkRepo, aQ as HandoffPeekSubject, aS as IDLE_ACTIVITY, aW as IsolationPreviewNotice, b6 as LocalEntry, b7 as LoopCheckFacts, b8 as LoopCheckState, bb as MarkdownToken, bf as MessageBlock, bg as MessageRole, bi as NOT_STARTED, bj as NO_TURN, bk as NewTaskFields, bt as OutputPreview, bu as OverrideDirection, bv as PLANNED_WITH_LABEL, bz as PlanBlock, bA as PlanBlocks, bC as PlanMarkerStatus, bY as PromptHold, bZ as REPORT_PREVIEW_LINES, c0 as RefTask, cn as RunnerLoadedBlock, cp as STALLED_LABEL, cr as STOPPING_LABEL, cs as SUBPLANNER_ACCOUNTING, ct as SUBPLANNER_CHILD, cu as SUBPLANNER_SCOPE, cv as SUPERVISOR_LEVEL_LABEL, cQ as SkillLoadBlock, cR as SkillToken, cW as SubagentBlock, cX as SubagentChild, cY as SubagentStatus, c$ as SubtreeItemView, d0 as SubtreeView, da as TakenPrompt, db as TaskAction, dc as TaskActivity, df as TaskLogBatch, dh as TaskLogFollow, di as TaskLogFollowInput, dj as TaskLogHeaderKind, dk as TaskLogHeaderTask, dl as TaskLogHeaderUsage, dm as TaskLogHeaderView, dp as TaskLogView, dw as TaskPlacement, dA as TaskRef, 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, e0 as WakeUpItem, e8 as accountLimitPercentText, e9 as accountLimitWindowLabel, ea as accountLimitsOf, eb as accountLimitsText, ec as accountLimitsTitle, ed as activityLabel, ee as aheadOfDraft, eg as approvalKindText, eh as approvalLabel, ei as approvalStatusText, ej as assignedRunnerOf, ek as assignmentIssue, el as assignmentIssueText, em as attachingLabel, 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, eD as closeTurn, eF as compactionText, eG as confirmedOverride, eI as containersOffered, eK as delegatedRowView, eM as dependencyCandidates, eN as dependentsNotice, eO as dependentsOf, eS as describeIsolationPreview, eT as describeMergeResult, eW as diffRows, eX as diffStat, eY as diffSummary, e_ as drainNext, e$ as editableWhileRunning, f0 as elapsedSince, f3 as followTaskLog, f4 as followTurn, f5 as formatElapsed, f6 as fromTranscript, 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, fi as isFileEditTool, fj as isRepoGroup, fk as isTaskRunning, fl as keptDelegationBudget, 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, fz as markAction, fA as markdownHtml, fB as markdownTokens, fC as mergeOutcome, fD as mergePastChecksConfirmation, fF as namedRepos, fG as newTaskFields, fH as noExecutorRefusal, fK as opsEditable, fL as outputLines, fM as outputPreview, fN as overrideNeedsConfirmation, fO as parseCount, fT as pastGateConfirmation, fU as planBlocks, fW as planMarkerParts, g2 as receiptLabel, g3 as reconcileApprovals, g6 as reduceConversation, g8 as reduceTaskLog, g9 as rememberDelegationBudget, gb as repairWaitLabel, gc as repairedLanded, gd as repairedNotice, ge as repeatingChecks, gf as replayTaskLog, gg as repoBaseLine, gh as repoResultLines, gl as resolveTaskRef, gm as resolveUserTaskRef, gn as resumeLabel, go as resumeTime, gp as revertEffect, gq as revertListLine, gr as revertTaskRef, gs as runHoldsEditors, gu as runnerToolSubject, gB as skillTokens, gC as skippedLabel, gD as stopTurn, gE as subtreeIds, gF as subtreeView, gG as summarizeToolCall, gK as takeAt, gL as taskActionCommand, gM as taskActivity, gN as taskChatAvailable, gO as taskLogCommands, gQ as taskLogHeaderView, gR as taskOrderLabel, gS as taskPlacement, gU as taskRef, gV as taskRefOf, gW as taskRowActions, gX as taskRowView, gY as taskStartedNotice, gZ as taskStatusKind, h0 as titledRefs, h1 as titledTaskRef, h2 as titledTaskRefOf, h4 as toolHeadline, h7 as truncateCheckpointSummary, h8 as unsendAll, h9 as unsendLatest, ha as wakeUpItems, hb as walkPlan } from './runSettingsText-BFaZSPRG.js';
2
2
  export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-D3O49EUo.js';
3
3
  import './eventStore-CSFKy48Y.js';
4
4
  import 'child_process';
@@ -6725,6 +6725,138 @@ declare class PlannerModelMemory {
6725
6725
  recall(provider: string, catalog: PlannerModelCandidate[]): PlannerModelRecall;
6726
6726
  }
6727
6727
 
6728
+ /**
6729
+ * cmd.exe's command-line buffer. A longer line is truncated rather than
6730
+ * rejected, which would corrupt a planner's system prompt or a task's prompt
6731
+ * mid-sentence and produce a confident answer to half a question — so the
6732
+ * batch route refuses instead. See {@link CommandLineTooLongError}.
6733
+ */
6734
+ declare const CMD_EXE_MAX_COMMAND_LINE = 8191;
6735
+ /**
6736
+ * CreateProcess's own ceiling, which the native and PowerShell routes are
6737
+ * bounded by instead. Windows truncates here too, so the same refusal applies —
6738
+ * it is simply four times further away.
6739
+ */
6740
+ declare const WINDOWS_MAX_COMMAND_LINE = 32767;
6741
+ interface LaunchPlan {
6742
+ /** The executable handed to `spawn()`. */
6743
+ file: string;
6744
+ /** Arguments for `file`. Pass verbatim when {@link verbatim} is set. */
6745
+ args: string[];
6746
+ /**
6747
+ * Windows batch route only: `args` is already a quoted command line and must
6748
+ * not be re-quoted. Maps to `windowsVerbatimArguments` for `spawn`.
6749
+ */
6750
+ verbatim?: boolean;
6751
+ }
6752
+ /** Test seam: every OS touchpoint is injectable, and production uses the defaults. */
6753
+ interface LaunchDeps {
6754
+ platform?: NodeJS.Platform;
6755
+ /** The PATH executables are looked up on. Defaults to the augmented PATH. */
6756
+ resolvePath?: () => Promise<string>;
6757
+ /** True when `candidate` names an existing file. */
6758
+ exists?: (candidate: string) => boolean;
6759
+ /** Absolute path to the Windows command interpreter. */
6760
+ comSpec?: () => string;
6761
+ /** Absolute path to Windows PowerShell. */
6762
+ powerShell?: () => string;
6763
+ /** PATHEXT, as the environment reports it. */
6764
+ pathExt?: () => string;
6765
+ }
6766
+ /**
6767
+ * Thrown when a command's arguments do not fit the buffer of the only
6768
+ * interpreter that can start it. Windows truncates rather than rejecting, and a
6769
+ * system prompt cut off mid-sentence makes the planner answer half a question
6770
+ * confidently — the silent success this repo refuses — so this is raised
6771
+ * instead. `TaskOrchestrator.startTask` catches it and holds the task, so the
6772
+ * message is what the user reads: it names the fix, because they cannot infer
6773
+ * it from a truncated prompt.
6774
+ */
6775
+ declare class CommandLineTooLongError extends Error {
6776
+ readonly command: string;
6777
+ readonly length: number;
6778
+ readonly limit: number;
6779
+ constructor(command: string, length: number, limit?: number);
6780
+ }
6781
+ /**
6782
+ * Thrown when only a batch shim resolved for a multi-line argument. cmd.exe
6783
+ * reads up to the first CR/LF and discards the rest with no error and exit code
6784
+ * 0 — quoting does not help — so the agent would get the first paragraph of its
6785
+ * prompt without the instruction to report through `task_complete`, then exit looking successful.
6786
+ */
6787
+ declare class EmbeddedNewlineError extends Error {
6788
+ readonly command: string;
6789
+ constructor(command: string);
6790
+ }
6791
+ /**
6792
+ * Thrown when only a batch shim resolved for an argument holding a double
6793
+ * quote. cmd.exe flips its quote state at every `"`, whether or not a backslash
6794
+ * precedes it, so the quote ends the quoting we added and the rest of the
6795
+ * argument is read as commands: `--model "x\" & calc & \"y"` runs `calc`.
6796
+ */
6797
+ declare class BatchQuoteError extends Error {
6798
+ readonly command: string;
6799
+ constructor(command: string);
6800
+ }
6801
+ /**
6802
+ * Thrown when `command` cannot be resolved to a real file. Kept distinguishable
6803
+ * from `WorkspaceNotFoundError` (utils/workspace) even though both a missing
6804
+ * cwd and a missing binary surface as the same `spawn` ENOENT to Node — the two
6805
+ * are checked, and named, separately so the failure names the actual cause.
6806
+ */
6807
+ declare class ExecutableNotFoundError extends Error {
6808
+ readonly command: string;
6809
+ readonly searchedPath: string;
6810
+ constructor(command: string, searchedPath: string);
6811
+ }
6812
+ /**
6813
+ * Whether `command` actually resolves to a file, given the plan
6814
+ * {@link planDirectLaunch} produced for it and the PATH it was resolved
6815
+ * against.
6816
+ *
6817
+ * POSIX is deliberately identity in `planDirectLaunch` (execvp does its own
6818
+ * PATH search), so the search is repeated here instead. Windows already did
6819
+ * the search inside `planDirectLaunch` — signalled by the returned file
6820
+ * differing from the bare command name it was given; an unresolved command
6821
+ * comes back unchanged. A command that already names its file, location and
6822
+ * extension both, is found as itself, so that one is checked directly.
6823
+ */
6824
+ declare function isExecutableResolved(command: string, plan: LaunchPlan, PATH: string, deps?: LaunchDeps): boolean;
6825
+ /** The verbatim command line cmd.exe receives after `/d /s /c`, before wrapping. */
6826
+ declare function windowsCommandLine(file: string, args: string[]): string;
6827
+ /**
6828
+ * How to start `command` with `args` through `spawn()`, with no shell.
6829
+ *
6830
+ * POSIX returns its input unchanged — execvp already searches PATH, and adding
6831
+ * a resolution step there would be a new way for a working setup to break.
6832
+ *
6833
+ * Windows resolves the command against PATH × PATHEXT, preferring a native
6834
+ * executable (spawned directly) over a batch shim (through cmd.exe) over a
6835
+ * PowerShell script shim (through `powershell.exe -File`). A command that
6836
+ * resolves to nothing is returned unchanged, so the caller's existing ENOENT —
6837
+ * which names what the user typed — is what surfaces rather than a second,
6838
+ * vaguer error from here.
6839
+ *
6840
+ * The tiers are tried in preference order and the first that *fits* wins, with
6841
+ * one deliberate exception: an overflowing batch shim does not fall through to
6842
+ * PowerShell. Overflow means a very large prompt, which is precisely where
6843
+ * `-File` argument fidelity is least worth betting on, and where a clear held
6844
+ * task beats a plausibly-mangled one. So capacity does not reorder the tiers —
6845
+ * a `.ps1` beside a too-long `.cmd` still raises.
6846
+ *
6847
+ * A line break does reorder them: cmd.exe cannot carry one at any length, so a
6848
+ * `.ps1` beside a `.cmd` wins, and a lone `.cmd` raises. So does a double
6849
+ * quote, which cmd.exe cannot carry safely.
6850
+ *
6851
+ * @throws {CommandLineTooLongError} when the selected route's buffer cannot
6852
+ * carry the arguments.
6853
+ * @throws {EmbeddedNewlineError} when the arguments span lines and only the
6854
+ * batch route resolved.
6855
+ * @throws {BatchQuoteError} when an argument holds a double quote and only the
6856
+ * batch route resolved.
6857
+ */
6858
+ declare function planDirectLaunch(command: string, args: string[], deps?: LaunchDeps): Promise<LaunchPlan>;
6859
+
6728
6860
  /**
6729
6861
  * What a runner's own status command answered (ADR-0009). A surface flags a
6730
6862
  * planner on `signed-out` and never on `unknown`: only the runner can say its
@@ -6746,6 +6878,8 @@ interface RunnerAuthExecResult {
6746
6878
  interface RunnerAuthExecOptions {
6747
6879
  timeout: number;
6748
6880
  env: NodeJS.ProcessEnv;
6881
+ /** The args are one cmd.exe command line already quoted, as `planDirectLaunch`'s batch route hands back. */
6882
+ verbatim?: boolean;
6749
6883
  }
6750
6884
  type RunnerAuthExec = (command: string, args: string[], options: RunnerAuthExecOptions) => Promise<RunnerAuthExecResult>;
6751
6885
  interface ReadRunnerAuthOptions {
@@ -6753,6 +6887,8 @@ interface ReadRunnerAuthOptions {
6753
6887
  /** The workspace's own variables (ADR-0016), merged over the daemon's for the probe. */
6754
6888
  env?: Record<string, string>;
6755
6889
  timeoutMs?: number;
6890
+ /** How the status command is located and started; a test pins the Windows routes from any host. */
6891
+ launch?: LaunchDeps;
6756
6892
  }
6757
6893
  /**
6758
6894
  * Ask one runner whether its user is signed in. Never throws and never reads a
@@ -9065,4 +9201,4 @@ declare function parseDelegation(arg: string): number | null;
9065
9201
  /** A whole number at least `min`, as typed; null for anything else. */
9066
9202
  declare function parseCount(arg: string | undefined, min: number): number | null;
9067
9203
 
9068
- export { type ContainerProblem as $, ACT_RISK as A, type BlockingSubject as B, CHAT_COMMANDS as C, type ChildControlOutcome as D, type ChildListResponse as E, type ChildMessageOutcome as F, type ChildMessageResponse as G, type ChildPlanEntry as H, type ChildPlanResponse as I, type ChildPlanView as J, type ChildTaskControl as K, type ChildTaskControlResponse as L, type ChildTreeFrame as M, CliAgentAiService as N, type CliAgentAiServiceDeps as O, type CommandBlock as P, type CommandDescriptor as Q, type CommandOutcome as R, type CommandPayload as S, type CommandStatus as T, type CommandsResponse as U, type CompactionBlock as V, type CompactionStatus as W, type Consent as X, type ContainerChange as Y, type ContainerChangeResponse as Z, type ContainerGuaranteeLine as _, AUTORUN_RISK as a, type LocalEntry as a$, type ContainerStatus as a0, type ContextCondenseRequest as a1, ConversationBusyError as a2, type ConversationCompactResponse as a3, type ConversationCompaction as a4, ConversationEditError as a5, type ConversationForkResponse as a6, type ConversationInput as a7, type ConversationRequest as a8, type ConversationRewindResponse as a9, type ExecuteResponse as aA, type ExecutionCommand as aB, ExecutionCommands as aC, type ExecutionHost as aD, type ExecutionSummary as aE, type GatedConversation as aF, type GeneratePlanResponse as aG, type GlobalRunSettings as aH, HEADLESS_CLI_COMMANDS as aI, type HandoffBlock as aJ, type HandoffForkRepo as aK, type HandoffPeekSubject as aL, type IAiService as aM, IDLE_ACTIVITY as aN, type IWebFetcher as aO, type IsolationDiffResponse as aP, type IsolationMergeResponse as aQ, type IsolationPreviewNotice as aR, type IsolationPreviewResponse as aS, LEASE_HEARTBEAT_MS as aT, LEASE_STALE_MS as aU, LeaseHost as aV, type LeaseHostKind as aW, type LeaseHostOptions as aX, type LiveOutputLookup as aY, type LiveTail as aZ, type LiveTailOptions as a_, type ConversationTurn as aa, type ConversationView as ab, DEFAULT_WEB_READ_BUDGET as ac, DELEGATION_OFFERED as ad, DELEGATION_RISK as ae, type DaemonErrorCode as af, type DecideOptions as ag, type DiffRow as ah, type DiffRowKind as ai, type DiffStat as aj, type DisplayBlock as ak, type DockerCli as al, EMPTY_CONVERSATION as am, EMPTY_HOLD as an, EMPTY_RUN as ao, EMPTY_TASK_LOG as ap, EMPTY_TASK_LOG_FOLLOW as aq, type ErrorBody as ar, type Escalation as as, type EscalationInput as at, type EscalationKind as au, type EscalationOption as av, type EscalationOptionId as aw, type EscalationRun as ax, type EscalationsResponse as ay, type ExecuteCommandResponse as az, type AccountLimitBucket as b, type RevertRefusalReason as b$, type LoopCheckFacts as b0, type LoopCheckState as b1, type LoopGuard as b2, type MappedTool as b3, type MarkdownToken as b4, type MergeGateEntry as b5, type MergeGateResponse as b6, type MergeWordingHandoff as b7, type MessageBlock as b8, type MessageRole as b9, type PlannerContextDeps as bA, type PlannerContextStatus as bB, PlannerConversation as bC, type PlannerConversationHost as bD, type PlannerModelCandidate as bE, type PlannerModelChoice as bF, PlannerModelMemory as bG, type PlannerModelRecall as bH, type PlannerModelStore as bI, type PlannerNotReady as bJ, PlannerNotReadyError as bK, type PlannerReadinessConfig as bL, type PlannerSubmission as bM, PlannerTurnDiscardedError as bN, PlannerTurnStoppedError as bO, PlannerUsageLimitError as bP, type PrdResponse as bQ, type PromptHold as bR, REPORT_PREVIEW_LINES as bS, RUN_SETTINGS_DEFAULTS as bT, type ReadRunnerAuthOptions as bU, type RefTask as bV, ResearchTasks as bW, type ResolveAll as bX, type ResolveConflictResponse as bY, type RevertPreviewTask as bZ, type RevertRefusal as b_, type ModelsResponse as ba, NOT_STARTED as bb, NO_TURN as bc, type NewTaskFields as bd, NodeBoard as be, type NodeBudget as bf, OUTPUT_LINES_DEFAULT as bg, OUTPUT_LINES_MAX as bh, type OkResponse as bi, type OpRef as bj, type OpRefusal as bk, type OrchestratorObserver as bl, type OutputPreview as bm, type OverrideDirection as bn, PLANNED_WITH_LABEL as bo, type PendingApproval as bp, PendingApprovals as bq, type PendingApprovalsOptions as br, type PlanBlock as bs, type PlanBlocks as bt, type PlanIntake as bu, type PlanMarkerStatus as bv, type PlanResponse as bw, type PlanSnapshot as bx, PlanStore as by, type PlannerCommandSyntax as bz, type AccountLimitSnapshot as c, TASK_QUERY_FIELDS as c$, type RevertScope as c0, type RewindTarget as c1, type RewindTargetsResponse as c2, type RunActivity as c3, type RunInput as c4, type RunMergeView as c5, RunSettingsError as c6, type RunSnapshotFrame as c7, type RunTask as c8, type RunTaskStatus as c9, type SessionLeaseRecord as cA, type SessionListResponse as cB, type SessionMessage as cC, type SessionNotice as cD, type SessionResponse as cE, type SettingsResponse as cF, SettingsService as cG, type SettingsUpdateResponse as cH, type SkillInvocation as cI, type SkillLoadBlock as cJ, type SkillToken as cK, SlotPool as cL, type StartAdmission as cM, type StopResponse as cN, type StreamStamp as cO, type SubagentBlock as cP, type SubagentChild as cQ, type SubagentStatus as cR, type SubplannerBrief as cS, Subtree as cT, type SubtreeItemView as cU, type SubtreeView as cV, type SurfacePlan as cW, type SurfacePlanState as cX, type SurfaceTask as cY, TASK_QUERY_ANSWER_MAX_CHARS as cZ, TASK_QUERY_ANSWER_OR_OPS as c_, type RunView as ca, type RunnerAuth as cb, type RunnerAuthExec as cc, type RunnerAuthExecOptions as cd, type RunnerAuthExecResult as ce, type RunnerCatalog as cf, type RunnerLoadedBlock as cg, type RunnersResponse as ch, STALLED_LABEL as ci, STOPPED_BEFORE_START as cj, STOPPING_LABEL as ck, SUBPLANNER_ACCOUNTING as cl, SUBPLANNER_CHILD as cm, SUBPLANNER_SCOPE as cn, SUPERVISOR_LEVEL_LABEL as co, type SerializedConversationMessage as cp, type SerializedPendingTurn as cq, type SerializedPlan as cr, type SerializedTask as cs, type SerializedTaskStatus as ct, type ServerInfoResponse as cu, type SessionBroadcaster as cv, type SessionFrame as cw, type SessionHeld as cx, SessionHeldError as cy, type SessionLease as cz, type AccountLimitStatus as d, abbreviateHome as d$, TASK_QUERY_PROTOCOL as d0, TASK_QUERY_REMINDER as d1, TERMINAL_UI_COMMANDS as d2, type TakenPrompt as d3, type TaskAction as d4, type TaskActivity as d5, type TaskAttemptSnapshot as d6, type TaskLogAttemptsResponse as d7, type TaskLogBatch as d8, type TaskLogEvent as d9, type TaskRowIsolation as dA, type TaskRowKind as dB, type TaskRowLoop as dC, type TaskRowPlacement as dD, type TaskRowSubject as dE, type TaskRowUsage as dF, type TaskRowView as dG, type TaskRunFacts as dH, type TaskStatusKind as dI, type ThinkingDisplayBlock as dJ, type ToolBlock as dK, type ToolHeadline as dL, type ToolStatus as dM, TreeLedger as dN, type TreeTask as dO, TurnBudgets as dP, type TurnGate as dQ, type UsageBlock as dR, type UserSettings as dS, WAITS_FOR_APPROVAL_LABEL as dT, type WakeUpItem as dU, type WebRead as dV, type WebReadDecision as dW, type WebReadOptions as dX, WebReadPolicy as dY, type Worded as dZ, type WorkspacesResponse as d_, type TaskLogFollow as da, type TaskLogFollowInput as db, type TaskLogHeaderKind as dc, type TaskLogHeaderTask as dd, type TaskLogHeaderUsage as de, type TaskLogHeaderView as df, type TaskLogResponse as dg, type TaskLogView as dh, type TaskMessageResponse as di, type TaskOp as dj, TaskOrchestrator as dk, type TaskOrchestratorDeps as dl, type TaskOrchestratorOptions as dm, type TaskOutputSource as dn, type TaskPlacement as dp, type TaskQuery as dq, type TaskQueryCatalog as dr, type TaskQueryField as ds, type TaskRef as dt, type TaskRevertPreview as du, type TaskRevertPreviewResponse as dv, type TaskRowAction as dw, type TaskRowContext as dx, type TaskRowDelegated as dy, type TaskRowHandoff as dz, type AccountLimitWindow as e, getSettingsPath as e$, accountLimitPercentText as e0, accountLimitWindowLabel as e1, accountLimitsOf as e2, accountLimitsText as e3, accountLimitsTitle as e4, activityLabel as e5, aheadOfDraft as e6, applyTaskOps as e7, approvalKindText as e8, approvalLabel as e9, containersOffered as eA, createAiService as eB, delegatedRowView as eC, delegationSummary as eD, dependencyCandidates as eE, dependentsNotice as eF, dependentsOf as eG, describeContainers as eH, describeHeld as eI, describeHolder as eJ, describeIsolationPreview as eK, describeMergeResult as eL, describePlannerNotReady as eM, describeProblems as eN, diffRows as eO, diffStat as eP, diffSummary as eQ, digestTaskLog as eR, drainNext as eS, editableWhileRunning as eT, elapsedSince as eU, escalations as eV, executionSummary as eW, followTaskLog as eX, followTurn as eY, formatElapsed as eZ, fromTranscript as e_, approvalStatusText as ea, assignedRunnerOf as eb, assignmentIssue as ec, assignmentIssueText as ed, attachingLabel as ee, automergeSummary as ef, autorunSummary as eg, awaitingLabel as eh, blockNotice as ei, blockNotices as ej, blockedByLabel as ek, blockingFailures as el, canMergeTasks as em, canSetDependencies as en, canSplitTask as eo, capConflictFiles as ep, cardEditNeedsUnstarted as eq, cardEditable as er, changeContainers as es, checkoutRule as et, classifyOutcome as eu, closeTurn as ev, coalesceTaskLog as ew, compactionText as ex, confirmedOverride as ey, containerStatus as ez, type AccountLimitsFrame as f, rememberDelegationBudget as f$, handoffBaseLine as f0, handoffBranchName as f1, handoffFindingsText as f2, handoffPeekParts as f3, hasAccountLimits as f4, hasHiddenDetail as f5, hasLongReport as f6, holdLabel as f7, holdPrompt as f8, isFileEditTool as f9, opRefusalText as fA, opsEditable as fB, outputLines as fC, outputPreview as fD, overrideNeedsConfirmation as fE, parseCount as fF, parseDelegation as fG, parseSwitch as fH, parseTaskOpsJson as fI, parseTaskQueryJson as fJ, pastGateConfirmation as fK, planBlocks as fL, planMarkerParts as fM, plannerMessage as fN, plannerNotReady as fO, plannerNotReadyFor as fP, plannerTranscript as fQ, processLeaseHost as fR, ranSealed as fS, readRunnerAuth as fT, receiptLabel as fU, reconcileApprovals as fV, recordRunnerAuth as fW, recordedRunnerAuth as fX, reduceConversation as fY, reduceRun as fZ, reduceTaskLog as f_, isRepoGroup as fa, isTaskRunning as fb, keptDelegationBudget as fc, lastServedModel as fd, loadedSkillTokens as fe, logContinues as ff, logResumes as fg, loopBodyLabel as fh, loopBodyRound as fi, loopCheckLabel as fj, loopCheckState as fk, loopLeaveNotice as fl, loopRowParts as fm, manualOverrideConfirmation as fn, manualOverrideStopFirst as fo, mapAgentTool as fp, markAction as fq, markdownHtml as fr, markdownTokens as fs, mergeOutcome as ft, mergePastChecksConfirmation as fu, mergeTarget as fv, namedRepos as fw, newTaskFields as fx, noExecutorRefusal as fy, normalizeAgentArgs as fz, type AccountLimitsMessage as g, unsendLatest as g$, renderTaskQueryAnswer as g0, repairWaitLabel as g1, repairedLanded as g2, repairedNotice as g3, repeatingChecks as g4, replayTaskLog as g5, repoBaseLine as g6, repoResultLines as g7, reposWithWork as g8, resetRunnerAuth as g9, takeAt as gA, taskActionCommand as gB, taskActivity as gC, taskChatAvailable as gD, taskLogCommands as gE, taskLogForSurface as gF, taskLogHeaderView as gG, taskOrderLabel as gH, taskPlacement as gI, taskQuerySignature as gJ, taskRef as gK, taskRefOf as gL, taskRowActions as gM, taskRowView as gN, taskStartedNotice as gO, taskStatusKind as gP, textHasTaskOps as gQ, textHasTaskQuery as gR, titledRefs as gS, titledTaskRef as gT, titledTaskRefOf as gU, toTaskLogEvent as gV, toolHeadline as gW, trailerSummary as gX, trimToolOutput as gY, truncateCheckpointSummary as gZ, unsendAll as g_, resolveSkillInvocation as ga, resolveTaskRef as gb, resolveUserTaskRef as gc, resumeLabel as gd, resumeTime as ge, revertEffect as gf, revertListLine as gg, revertTaskRef as gh, runHoldsEditors as gi, runSettingsOf as gj, runnerToolSubject as gk, scriptExitText as gl, scriptRunText as gm, secondsText as gn, serializePlan as go, serializeTask as gp, serializeTaskStatus as gq, skillTokens as gr, skippedLabel as gs, stopTurn as gt, subtreeIds as gu, subtreeView as gv, summarizeToolCall as gw, supervisorSummary as gx, surfacePlan as gy, surfacePlanState as gz, type AdoptSessionResponse as h, wakeUpItems as h0, walkPlan as h1, withoutSealedMark as h2, workspaceEnvOf as h3, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, CHECKPOINT_TRUNCATE_LENGTH as w, type CancelPlanningResponse as x, type CancelResumeResponse as y, type Carved as z };
9204
+ export { type ContainerChange as $, ACT_RISK as A, BatchQuoteError as B, CHAT_COMMANDS as C, type CancelResumeResponse as D, type Carved as E, type ChildControlOutcome as F, type ChildListResponse as G, type ChildMessageOutcome as H, type ChildMessageResponse as I, type ChildPlanEntry as J, type ChildPlanResponse as K, type ChildPlanView as L, type ChildTaskControl as M, type ChildTaskControlResponse as N, type ChildTreeFrame as O, CliAgentAiService as P, type CliAgentAiServiceDeps as Q, type CommandBlock as R, type CommandDescriptor as S, CommandLineTooLongError as T, type CommandOutcome as U, type CommandPayload as V, type CommandStatus as W, type CommandsResponse as X, type CompactionBlock as Y, type CompactionStatus as Z, type Consent as _, AUTORUN_RISK as a, type LaunchPlan as a$, type ContainerChangeResponse as a0, type ContainerGuaranteeLine as a1, type ContainerProblem as a2, type ContainerStatus as a3, type ContextCondenseRequest as a4, ConversationBusyError as a5, type ConversationCompactResponse as a6, type ConversationCompaction as a7, ConversationEditError as a8, type ConversationForkResponse as a9, type EscalationOptionId as aA, type EscalationRun as aB, type EscalationsResponse as aC, ExecutableNotFoundError as aD, type ExecuteCommandResponse as aE, type ExecuteResponse as aF, type ExecutionCommand as aG, ExecutionCommands as aH, type ExecutionHost as aI, type ExecutionSummary as aJ, type GatedConversation as aK, type GeneratePlanResponse as aL, type GlobalRunSettings as aM, HEADLESS_CLI_COMMANDS as aN, type HandoffBlock as aO, type HandoffForkRepo as aP, type HandoffPeekSubject as aQ, type IAiService as aR, IDLE_ACTIVITY as aS, type IWebFetcher as aT, type IsolationDiffResponse as aU, type IsolationMergeResponse as aV, type IsolationPreviewNotice as aW, type IsolationPreviewResponse as aX, LEASE_HEARTBEAT_MS as aY, LEASE_STALE_MS as aZ, type LaunchDeps as a_, type ConversationInput as aa, type ConversationRequest as ab, type ConversationRewindResponse as ac, type ConversationTurn as ad, type ConversationView as ae, DEFAULT_WEB_READ_BUDGET as af, DELEGATION_OFFERED as ag, DELEGATION_RISK as ah, type DaemonErrorCode as ai, type DecideOptions as aj, type DiffRow as ak, type DiffRowKind as al, type DiffStat as am, type DisplayBlock as an, type DockerCli as ao, EMPTY_CONVERSATION as ap, EMPTY_HOLD as aq, EMPTY_RUN as ar, EMPTY_TASK_LOG as as, EMPTY_TASK_LOG_FOLLOW as at, EmbeddedNewlineError as au, type ErrorBody as av, type Escalation as aw, type EscalationInput as ax, type EscalationKind as ay, type EscalationOption as az, type AccountLimitBucket as b, type ReadRunnerAuthOptions as b$, LeaseHost as b0, type LeaseHostKind as b1, type LeaseHostOptions as b2, type LiveOutputLookup as b3, type LiveTail as b4, type LiveTailOptions as b5, type LocalEntry as b6, type LoopCheckFacts as b7, type LoopCheckState as b8, type LoopGuard as b9, type PlanBlocks as bA, type PlanIntake as bB, type PlanMarkerStatus as bC, type PlanResponse as bD, type PlanSnapshot as bE, PlanStore as bF, type PlannerCommandSyntax as bG, type PlannerContextDeps as bH, type PlannerContextStatus as bI, PlannerConversation as bJ, type PlannerConversationHost as bK, type PlannerModelCandidate as bL, type PlannerModelChoice as bM, PlannerModelMemory as bN, type PlannerModelRecall as bO, type PlannerModelStore as bP, type PlannerNotReady as bQ, PlannerNotReadyError as bR, type PlannerReadinessConfig as bS, type PlannerSubmission as bT, PlannerTurnDiscardedError as bU, PlannerTurnStoppedError as bV, PlannerUsageLimitError as bW, type PrdResponse as bX, type PromptHold as bY, REPORT_PREVIEW_LINES as bZ, RUN_SETTINGS_DEFAULTS as b_, type MappedTool as ba, type MarkdownToken as bb, type MergeGateEntry as bc, type MergeGateResponse as bd, type MergeWordingHandoff as be, type MessageBlock as bf, type MessageRole as bg, type ModelsResponse as bh, NOT_STARTED as bi, NO_TURN as bj, type NewTaskFields as bk, NodeBoard as bl, type NodeBudget as bm, OUTPUT_LINES_DEFAULT as bn, OUTPUT_LINES_MAX as bo, type OkResponse as bp, type OpRef as bq, type OpRefusal as br, type OrchestratorObserver as bs, type OutputPreview as bt, type OverrideDirection as bu, PLANNED_WITH_LABEL as bv, type PendingApproval as bw, PendingApprovals as bx, type PendingApprovalsOptions as by, type PlanBlock as bz, type AccountLimitSnapshot as c, type SubtreeItemView as c$, type RefTask as c0, ResearchTasks as c1, type ResolveAll as c2, type ResolveConflictResponse as c3, type RevertPreviewTask as c4, type RevertRefusal as c5, type RevertRefusalReason as c6, type RevertScope as c7, type RewindTarget as c8, type RewindTargetsResponse as c9, type SerializedTaskStatus as cA, type ServerInfoResponse as cB, type SessionBroadcaster as cC, type SessionFrame as cD, type SessionHeld as cE, SessionHeldError as cF, type SessionLease as cG, type SessionLeaseRecord as cH, type SessionListResponse as cI, type SessionMessage as cJ, type SessionNotice as cK, type SessionResponse as cL, type SettingsResponse as cM, SettingsService as cN, type SettingsUpdateResponse as cO, type SkillInvocation as cP, type SkillLoadBlock as cQ, type SkillToken as cR, SlotPool as cS, type StartAdmission as cT, type StopResponse as cU, type StreamStamp as cV, type SubagentBlock as cW, type SubagentChild as cX, type SubagentStatus as cY, type SubplannerBrief as cZ, Subtree as c_, type RunActivity as ca, type RunInput as cb, type RunMergeView as cc, RunSettingsError as cd, type RunSnapshotFrame as ce, type RunTask as cf, type RunTaskStatus as cg, type RunView as ch, type RunnerAuth as ci, type RunnerAuthExec as cj, type RunnerAuthExecOptions as ck, type RunnerAuthExecResult as cl, type RunnerCatalog as cm, type RunnerLoadedBlock as cn, type RunnersResponse as co, STALLED_LABEL as cp, STOPPED_BEFORE_START as cq, STOPPING_LABEL as cr, SUBPLANNER_ACCOUNTING as cs, SUBPLANNER_CHILD as ct, SUBPLANNER_SCOPE as cu, SUPERVISOR_LEVEL_LABEL as cv, type SerializedConversationMessage as cw, type SerializedPendingTurn as cx, type SerializedPlan as cy, type SerializedTask as cz, type AccountLimitStatus as d, WINDOWS_MAX_COMMAND_LINE as d$, type SubtreeView as d0, type SurfacePlan as d1, type SurfacePlanState as d2, type SurfaceTask as d3, TASK_QUERY_ANSWER_MAX_CHARS as d4, TASK_QUERY_ANSWER_OR_OPS as d5, TASK_QUERY_FIELDS as d6, TASK_QUERY_PROTOCOL as d7, TASK_QUERY_REMINDER as d8, TERMINAL_UI_COMMANDS as d9, type TaskRef as dA, type TaskRevertPreview as dB, type TaskRevertPreviewResponse as dC, type TaskRowAction as dD, type TaskRowContext as dE, type TaskRowDelegated as dF, type TaskRowHandoff as dG, type TaskRowIsolation as dH, type TaskRowKind as dI, type TaskRowLoop as dJ, type TaskRowPlacement as dK, type TaskRowSubject as dL, type TaskRowUsage as dM, type TaskRowView as dN, type TaskRunFacts as dO, type TaskStatusKind as dP, type ThinkingDisplayBlock as dQ, type ToolBlock as dR, type ToolHeadline as dS, type ToolStatus as dT, TreeLedger as dU, type TreeTask as dV, TurnBudgets as dW, type TurnGate as dX, type UsageBlock as dY, type UserSettings as dZ, WAITS_FOR_APPROVAL_LABEL as d_, type TakenPrompt as da, type TaskAction as db, type TaskActivity as dc, type TaskAttemptSnapshot as dd, type TaskLogAttemptsResponse as de, type TaskLogBatch as df, type TaskLogEvent as dg, type TaskLogFollow as dh, type TaskLogFollowInput as di, type TaskLogHeaderKind as dj, type TaskLogHeaderTask as dk, type TaskLogHeaderUsage as dl, type TaskLogHeaderView as dm, type TaskLogResponse as dn, type TaskLogView as dp, type TaskMessageResponse as dq, type TaskOp as dr, TaskOrchestrator as ds, type TaskOrchestratorDeps as dt, type TaskOrchestratorOptions as du, type TaskOutputSource as dv, type TaskPlacement as dw, type TaskQuery as dx, type TaskQueryCatalog as dy, type TaskQueryField as dz, type AccountLimitWindow as e, editableWhileRunning as e$, type WakeUpItem as e0, type WebRead as e1, type WebReadDecision as e2, type WebReadOptions as e3, WebReadPolicy as e4, type Worded as e5, type WorkspacesResponse as e6, abbreviateHome as e7, accountLimitPercentText as e8, accountLimitWindowLabel as e9, changeContainers as eA, checkoutRule as eB, classifyOutcome as eC, closeTurn as eD, coalesceTaskLog as eE, compactionText as eF, confirmedOverride as eG, containerStatus as eH, containersOffered as eI, createAiService as eJ, delegatedRowView as eK, delegationSummary as eL, dependencyCandidates as eM, dependentsNotice as eN, dependentsOf as eO, describeContainers as eP, describeHeld as eQ, describeHolder as eR, describeIsolationPreview as eS, describeMergeResult as eT, describePlannerNotReady as eU, describeProblems as eV, diffRows as eW, diffStat as eX, diffSummary as eY, digestTaskLog as eZ, drainNext as e_, accountLimitsOf as ea, accountLimitsText as eb, accountLimitsTitle as ec, activityLabel as ed, aheadOfDraft as ee, applyTaskOps as ef, approvalKindText as eg, approvalLabel as eh, approvalStatusText as ei, assignedRunnerOf as ej, assignmentIssue as ek, assignmentIssueText as el, attachingLabel as em, automergeSummary as en, autorunSummary as eo, awaitingLabel as ep, blockNotice as eq, blockNotices as er, blockedByLabel as es, blockingFailures as et, canMergeTasks as eu, canSetDependencies as ev, canSplitTask as ew, capConflictFiles as ex, cardEditNeedsUnstarted as ey, cardEditable as ez, type AccountLimitsFrame as f, processLeaseHost as f$, elapsedSince as f0, escalations as f1, executionSummary as f2, followTaskLog as f3, followTurn as f4, formatElapsed as f5, fromTranscript as f6, getSettingsPath as f7, handoffBaseLine as f8, handoffBranchName as f9, markdownHtml as fA, markdownTokens as fB, mergeOutcome as fC, mergePastChecksConfirmation as fD, mergeTarget as fE, namedRepos as fF, newTaskFields as fG, noExecutorRefusal as fH, normalizeAgentArgs as fI, opRefusalText as fJ, opsEditable as fK, outputLines as fL, outputPreview as fM, overrideNeedsConfirmation as fN, parseCount as fO, parseDelegation as fP, parseSwitch as fQ, parseTaskOpsJson as fR, parseTaskQueryJson as fS, pastGateConfirmation as fT, planBlocks as fU, planDirectLaunch as fV, planMarkerParts as fW, plannerMessage as fX, plannerNotReady as fY, plannerNotReadyFor as fZ, plannerTranscript as f_, handoffFindingsText as fa, handoffPeekParts as fb, hasAccountLimits as fc, hasHiddenDetail as fd, hasLongReport as fe, holdLabel as ff, holdPrompt as fg, isExecutableResolved as fh, isFileEditTool as fi, isRepoGroup as fj, isTaskRunning as fk, keptDelegationBudget as fl, lastServedModel as fm, loadedSkillTokens as fn, logContinues as fo, logResumes as fp, loopBodyLabel as fq, loopBodyRound as fr, loopCheckLabel as fs, loopCheckState as ft, loopLeaveNotice as fu, loopRowParts as fv, manualOverrideConfirmation as fw, manualOverrideStopFirst as fx, mapAgentTool as fy, markAction as fz, type AccountLimitsMessage as g, textHasTaskQuery as g$, ranSealed as g0, readRunnerAuth as g1, receiptLabel as g2, reconcileApprovals as g3, recordRunnerAuth as g4, recordedRunnerAuth as g5, reduceConversation as g6, reduceRun as g7, reduceTaskLog as g8, rememberDelegationBudget as g9, serializeTaskStatus as gA, skillTokens as gB, skippedLabel as gC, stopTurn as gD, subtreeIds as gE, subtreeView as gF, summarizeToolCall as gG, supervisorSummary as gH, surfacePlan as gI, surfacePlanState as gJ, takeAt as gK, taskActionCommand as gL, taskActivity as gM, taskChatAvailable as gN, taskLogCommands as gO, taskLogForSurface as gP, taskLogHeaderView as gQ, taskOrderLabel as gR, taskPlacement as gS, taskQuerySignature as gT, taskRef as gU, taskRefOf as gV, taskRowActions as gW, taskRowView as gX, taskStartedNotice as gY, taskStatusKind as gZ, textHasTaskOps as g_, renderTaskQueryAnswer as ga, repairWaitLabel as gb, repairedLanded as gc, repairedNotice as gd, repeatingChecks as ge, replayTaskLog as gf, repoBaseLine as gg, repoResultLines as gh, reposWithWork as gi, resetRunnerAuth as gj, resolveSkillInvocation as gk, resolveTaskRef as gl, resolveUserTaskRef as gm, resumeLabel as gn, resumeTime as go, revertEffect as gp, revertListLine as gq, revertTaskRef as gr, runHoldsEditors as gs, runSettingsOf as gt, runnerToolSubject as gu, scriptExitText as gv, scriptRunText as gw, secondsText as gx, serializePlan as gy, serializeTask as gz, type AdoptSessionResponse as h, titledRefs as h0, titledTaskRef as h1, titledTaskRefOf as h2, toTaskLogEvent as h3, toolHeadline as h4, trailerSummary as h5, trimToolOutput as h6, truncateCheckpointSummary as h7, unsendAll as h8, unsendLatest as h9, wakeUpItems as ha, walkPlan as hb, windowsCommandLine as hc, withoutSealedMark as hd, workspaceEnvOf as he, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, type BlockingSubject as w, CHECKPOINT_TRUNCATE_LENGTH as x, CMD_EXE_MAX_COMMAND_LINE as y, type CancelPlanningResponse as z };
@@ -6725,6 +6725,138 @@ declare class PlannerModelMemory {
6725
6725
  recall(provider: string, catalog: PlannerModelCandidate[]): PlannerModelRecall;
6726
6726
  }
6727
6727
 
6728
+ /**
6729
+ * cmd.exe's command-line buffer. A longer line is truncated rather than
6730
+ * rejected, which would corrupt a planner's system prompt or a task's prompt
6731
+ * mid-sentence and produce a confident answer to half a question — so the
6732
+ * batch route refuses instead. See {@link CommandLineTooLongError}.
6733
+ */
6734
+ declare const CMD_EXE_MAX_COMMAND_LINE = 8191;
6735
+ /**
6736
+ * CreateProcess's own ceiling, which the native and PowerShell routes are
6737
+ * bounded by instead. Windows truncates here too, so the same refusal applies —
6738
+ * it is simply four times further away.
6739
+ */
6740
+ declare const WINDOWS_MAX_COMMAND_LINE = 32767;
6741
+ interface LaunchPlan {
6742
+ /** The executable handed to `spawn()`. */
6743
+ file: string;
6744
+ /** Arguments for `file`. Pass verbatim when {@link verbatim} is set. */
6745
+ args: string[];
6746
+ /**
6747
+ * Windows batch route only: `args` is already a quoted command line and must
6748
+ * not be re-quoted. Maps to `windowsVerbatimArguments` for `spawn`.
6749
+ */
6750
+ verbatim?: boolean;
6751
+ }
6752
+ /** Test seam: every OS touchpoint is injectable, and production uses the defaults. */
6753
+ interface LaunchDeps {
6754
+ platform?: NodeJS.Platform;
6755
+ /** The PATH executables are looked up on. Defaults to the augmented PATH. */
6756
+ resolvePath?: () => Promise<string>;
6757
+ /** True when `candidate` names an existing file. */
6758
+ exists?: (candidate: string) => boolean;
6759
+ /** Absolute path to the Windows command interpreter. */
6760
+ comSpec?: () => string;
6761
+ /** Absolute path to Windows PowerShell. */
6762
+ powerShell?: () => string;
6763
+ /** PATHEXT, as the environment reports it. */
6764
+ pathExt?: () => string;
6765
+ }
6766
+ /**
6767
+ * Thrown when a command's arguments do not fit the buffer of the only
6768
+ * interpreter that can start it. Windows truncates rather than rejecting, and a
6769
+ * system prompt cut off mid-sentence makes the planner answer half a question
6770
+ * confidently — the silent success this repo refuses — so this is raised
6771
+ * instead. `TaskOrchestrator.startTask` catches it and holds the task, so the
6772
+ * message is what the user reads: it names the fix, because they cannot infer
6773
+ * it from a truncated prompt.
6774
+ */
6775
+ declare class CommandLineTooLongError extends Error {
6776
+ readonly command: string;
6777
+ readonly length: number;
6778
+ readonly limit: number;
6779
+ constructor(command: string, length: number, limit?: number);
6780
+ }
6781
+ /**
6782
+ * Thrown when only a batch shim resolved for a multi-line argument. cmd.exe
6783
+ * reads up to the first CR/LF and discards the rest with no error and exit code
6784
+ * 0 — quoting does not help — so the agent would get the first paragraph of its
6785
+ * prompt without the instruction to report through `task_complete`, then exit looking successful.
6786
+ */
6787
+ declare class EmbeddedNewlineError extends Error {
6788
+ readonly command: string;
6789
+ constructor(command: string);
6790
+ }
6791
+ /**
6792
+ * Thrown when only a batch shim resolved for an argument holding a double
6793
+ * quote. cmd.exe flips its quote state at every `"`, whether or not a backslash
6794
+ * precedes it, so the quote ends the quoting we added and the rest of the
6795
+ * argument is read as commands: `--model "x\" & calc & \"y"` runs `calc`.
6796
+ */
6797
+ declare class BatchQuoteError extends Error {
6798
+ readonly command: string;
6799
+ constructor(command: string);
6800
+ }
6801
+ /**
6802
+ * Thrown when `command` cannot be resolved to a real file. Kept distinguishable
6803
+ * from `WorkspaceNotFoundError` (utils/workspace) even though both a missing
6804
+ * cwd and a missing binary surface as the same `spawn` ENOENT to Node — the two
6805
+ * are checked, and named, separately so the failure names the actual cause.
6806
+ */
6807
+ declare class ExecutableNotFoundError extends Error {
6808
+ readonly command: string;
6809
+ readonly searchedPath: string;
6810
+ constructor(command: string, searchedPath: string);
6811
+ }
6812
+ /**
6813
+ * Whether `command` actually resolves to a file, given the plan
6814
+ * {@link planDirectLaunch} produced for it and the PATH it was resolved
6815
+ * against.
6816
+ *
6817
+ * POSIX is deliberately identity in `planDirectLaunch` (execvp does its own
6818
+ * PATH search), so the search is repeated here instead. Windows already did
6819
+ * the search inside `planDirectLaunch` — signalled by the returned file
6820
+ * differing from the bare command name it was given; an unresolved command
6821
+ * comes back unchanged. A command that already names its file, location and
6822
+ * extension both, is found as itself, so that one is checked directly.
6823
+ */
6824
+ declare function isExecutableResolved(command: string, plan: LaunchPlan, PATH: string, deps?: LaunchDeps): boolean;
6825
+ /** The verbatim command line cmd.exe receives after `/d /s /c`, before wrapping. */
6826
+ declare function windowsCommandLine(file: string, args: string[]): string;
6827
+ /**
6828
+ * How to start `command` with `args` through `spawn()`, with no shell.
6829
+ *
6830
+ * POSIX returns its input unchanged — execvp already searches PATH, and adding
6831
+ * a resolution step there would be a new way for a working setup to break.
6832
+ *
6833
+ * Windows resolves the command against PATH × PATHEXT, preferring a native
6834
+ * executable (spawned directly) over a batch shim (through cmd.exe) over a
6835
+ * PowerShell script shim (through `powershell.exe -File`). A command that
6836
+ * resolves to nothing is returned unchanged, so the caller's existing ENOENT —
6837
+ * which names what the user typed — is what surfaces rather than a second,
6838
+ * vaguer error from here.
6839
+ *
6840
+ * The tiers are tried in preference order and the first that *fits* wins, with
6841
+ * one deliberate exception: an overflowing batch shim does not fall through to
6842
+ * PowerShell. Overflow means a very large prompt, which is precisely where
6843
+ * `-File` argument fidelity is least worth betting on, and where a clear held
6844
+ * task beats a plausibly-mangled one. So capacity does not reorder the tiers —
6845
+ * a `.ps1` beside a too-long `.cmd` still raises.
6846
+ *
6847
+ * A line break does reorder them: cmd.exe cannot carry one at any length, so a
6848
+ * `.ps1` beside a `.cmd` wins, and a lone `.cmd` raises. So does a double
6849
+ * quote, which cmd.exe cannot carry safely.
6850
+ *
6851
+ * @throws {CommandLineTooLongError} when the selected route's buffer cannot
6852
+ * carry the arguments.
6853
+ * @throws {EmbeddedNewlineError} when the arguments span lines and only the
6854
+ * batch route resolved.
6855
+ * @throws {BatchQuoteError} when an argument holds a double quote and only the
6856
+ * batch route resolved.
6857
+ */
6858
+ declare function planDirectLaunch(command: string, args: string[], deps?: LaunchDeps): Promise<LaunchPlan>;
6859
+
6728
6860
  /**
6729
6861
  * What a runner's own status command answered (ADR-0009). A surface flags a
6730
6862
  * planner on `signed-out` and never on `unknown`: only the runner can say its
@@ -6746,6 +6878,8 @@ interface RunnerAuthExecResult {
6746
6878
  interface RunnerAuthExecOptions {
6747
6879
  timeout: number;
6748
6880
  env: NodeJS.ProcessEnv;
6881
+ /** The args are one cmd.exe command line already quoted, as `planDirectLaunch`'s batch route hands back. */
6882
+ verbatim?: boolean;
6749
6883
  }
6750
6884
  type RunnerAuthExec = (command: string, args: string[], options: RunnerAuthExecOptions) => Promise<RunnerAuthExecResult>;
6751
6885
  interface ReadRunnerAuthOptions {
@@ -6753,6 +6887,8 @@ interface ReadRunnerAuthOptions {
6753
6887
  /** The workspace's own variables (ADR-0016), merged over the daemon's for the probe. */
6754
6888
  env?: Record<string, string>;
6755
6889
  timeoutMs?: number;
6890
+ /** How the status command is located and started; a test pins the Windows routes from any host. */
6891
+ launch?: LaunchDeps;
6756
6892
  }
6757
6893
  /**
6758
6894
  * Ask one runner whether its user is signed in. Never throws and never reads a
@@ -9065,4 +9201,4 @@ declare function parseDelegation(arg: string): number | null;
9065
9201
  /** A whole number at least `min`, as typed; null for anything else. */
9066
9202
  declare function parseCount(arg: string | undefined, min: number): number | null;
9067
9203
 
9068
- export { type ContainerProblem as $, ACT_RISK as A, type BlockingSubject as B, CHAT_COMMANDS as C, type ChildControlOutcome as D, type ChildListResponse as E, type ChildMessageOutcome as F, type ChildMessageResponse as G, type ChildPlanEntry as H, type ChildPlanResponse as I, type ChildPlanView as J, type ChildTaskControl as K, type ChildTaskControlResponse as L, type ChildTreeFrame as M, CliAgentAiService as N, type CliAgentAiServiceDeps as O, type CommandBlock as P, type CommandDescriptor as Q, type CommandOutcome as R, type CommandPayload as S, type CommandStatus as T, type CommandsResponse as U, type CompactionBlock as V, type CompactionStatus as W, type Consent as X, type ContainerChange as Y, type ContainerChangeResponse as Z, type ContainerGuaranteeLine as _, AUTORUN_RISK as a, type LocalEntry as a$, type ContainerStatus as a0, type ContextCondenseRequest as a1, ConversationBusyError as a2, type ConversationCompactResponse as a3, type ConversationCompaction as a4, ConversationEditError as a5, type ConversationForkResponse as a6, type ConversationInput as a7, type ConversationRequest as a8, type ConversationRewindResponse as a9, type ExecuteResponse as aA, type ExecutionCommand as aB, ExecutionCommands as aC, type ExecutionHost as aD, type ExecutionSummary as aE, type GatedConversation as aF, type GeneratePlanResponse as aG, type GlobalRunSettings as aH, HEADLESS_CLI_COMMANDS as aI, type HandoffBlock as aJ, type HandoffForkRepo as aK, type HandoffPeekSubject as aL, type IAiService as aM, IDLE_ACTIVITY as aN, type IWebFetcher as aO, type IsolationDiffResponse as aP, type IsolationMergeResponse as aQ, type IsolationPreviewNotice as aR, type IsolationPreviewResponse as aS, LEASE_HEARTBEAT_MS as aT, LEASE_STALE_MS as aU, LeaseHost as aV, type LeaseHostKind as aW, type LeaseHostOptions as aX, type LiveOutputLookup as aY, type LiveTail as aZ, type LiveTailOptions as a_, type ConversationTurn as aa, type ConversationView as ab, DEFAULT_WEB_READ_BUDGET as ac, DELEGATION_OFFERED as ad, DELEGATION_RISK as ae, type DaemonErrorCode as af, type DecideOptions as ag, type DiffRow as ah, type DiffRowKind as ai, type DiffStat as aj, type DisplayBlock as ak, type DockerCli as al, EMPTY_CONVERSATION as am, EMPTY_HOLD as an, EMPTY_RUN as ao, EMPTY_TASK_LOG as ap, EMPTY_TASK_LOG_FOLLOW as aq, type ErrorBody as ar, type Escalation as as, type EscalationInput as at, type EscalationKind as au, type EscalationOption as av, type EscalationOptionId as aw, type EscalationRun as ax, type EscalationsResponse as ay, type ExecuteCommandResponse as az, type AccountLimitBucket as b, type RevertRefusalReason as b$, type LoopCheckFacts as b0, type LoopCheckState as b1, type LoopGuard as b2, type MappedTool as b3, type MarkdownToken as b4, type MergeGateEntry as b5, type MergeGateResponse as b6, type MergeWordingHandoff as b7, type MessageBlock as b8, type MessageRole as b9, type PlannerContextDeps as bA, type PlannerContextStatus as bB, PlannerConversation as bC, type PlannerConversationHost as bD, type PlannerModelCandidate as bE, type PlannerModelChoice as bF, PlannerModelMemory as bG, type PlannerModelRecall as bH, type PlannerModelStore as bI, type PlannerNotReady as bJ, PlannerNotReadyError as bK, type PlannerReadinessConfig as bL, type PlannerSubmission as bM, PlannerTurnDiscardedError as bN, PlannerTurnStoppedError as bO, PlannerUsageLimitError as bP, type PrdResponse as bQ, type PromptHold as bR, REPORT_PREVIEW_LINES as bS, RUN_SETTINGS_DEFAULTS as bT, type ReadRunnerAuthOptions as bU, type RefTask as bV, ResearchTasks as bW, type ResolveAll as bX, type ResolveConflictResponse as bY, type RevertPreviewTask as bZ, type RevertRefusal as b_, type ModelsResponse as ba, NOT_STARTED as bb, NO_TURN as bc, type NewTaskFields as bd, NodeBoard as be, type NodeBudget as bf, OUTPUT_LINES_DEFAULT as bg, OUTPUT_LINES_MAX as bh, type OkResponse as bi, type OpRef as bj, type OpRefusal as bk, type OrchestratorObserver as bl, type OutputPreview as bm, type OverrideDirection as bn, PLANNED_WITH_LABEL as bo, type PendingApproval as bp, PendingApprovals as bq, type PendingApprovalsOptions as br, type PlanBlock as bs, type PlanBlocks as bt, type PlanIntake as bu, type PlanMarkerStatus as bv, type PlanResponse as bw, type PlanSnapshot as bx, PlanStore as by, type PlannerCommandSyntax as bz, type AccountLimitSnapshot as c, TASK_QUERY_FIELDS as c$, type RevertScope as c0, type RewindTarget as c1, type RewindTargetsResponse as c2, type RunActivity as c3, type RunInput as c4, type RunMergeView as c5, RunSettingsError as c6, type RunSnapshotFrame as c7, type RunTask as c8, type RunTaskStatus as c9, type SessionLeaseRecord as cA, type SessionListResponse as cB, type SessionMessage as cC, type SessionNotice as cD, type SessionResponse as cE, type SettingsResponse as cF, SettingsService as cG, type SettingsUpdateResponse as cH, type SkillInvocation as cI, type SkillLoadBlock as cJ, type SkillToken as cK, SlotPool as cL, type StartAdmission as cM, type StopResponse as cN, type StreamStamp as cO, type SubagentBlock as cP, type SubagentChild as cQ, type SubagentStatus as cR, type SubplannerBrief as cS, Subtree as cT, type SubtreeItemView as cU, type SubtreeView as cV, type SurfacePlan as cW, type SurfacePlanState as cX, type SurfaceTask as cY, TASK_QUERY_ANSWER_MAX_CHARS as cZ, TASK_QUERY_ANSWER_OR_OPS as c_, type RunView as ca, type RunnerAuth as cb, type RunnerAuthExec as cc, type RunnerAuthExecOptions as cd, type RunnerAuthExecResult as ce, type RunnerCatalog as cf, type RunnerLoadedBlock as cg, type RunnersResponse as ch, STALLED_LABEL as ci, STOPPED_BEFORE_START as cj, STOPPING_LABEL as ck, SUBPLANNER_ACCOUNTING as cl, SUBPLANNER_CHILD as cm, SUBPLANNER_SCOPE as cn, SUPERVISOR_LEVEL_LABEL as co, type SerializedConversationMessage as cp, type SerializedPendingTurn as cq, type SerializedPlan as cr, type SerializedTask as cs, type SerializedTaskStatus as ct, type ServerInfoResponse as cu, type SessionBroadcaster as cv, type SessionFrame as cw, type SessionHeld as cx, SessionHeldError as cy, type SessionLease as cz, type AccountLimitStatus as d, abbreviateHome as d$, TASK_QUERY_PROTOCOL as d0, TASK_QUERY_REMINDER as d1, TERMINAL_UI_COMMANDS as d2, type TakenPrompt as d3, type TaskAction as d4, type TaskActivity as d5, type TaskAttemptSnapshot as d6, type TaskLogAttemptsResponse as d7, type TaskLogBatch as d8, type TaskLogEvent as d9, type TaskRowIsolation as dA, type TaskRowKind as dB, type TaskRowLoop as dC, type TaskRowPlacement as dD, type TaskRowSubject as dE, type TaskRowUsage as dF, type TaskRowView as dG, type TaskRunFacts as dH, type TaskStatusKind as dI, type ThinkingDisplayBlock as dJ, type ToolBlock as dK, type ToolHeadline as dL, type ToolStatus as dM, TreeLedger as dN, type TreeTask as dO, TurnBudgets as dP, type TurnGate as dQ, type UsageBlock as dR, type UserSettings as dS, WAITS_FOR_APPROVAL_LABEL as dT, type WakeUpItem as dU, type WebRead as dV, type WebReadDecision as dW, type WebReadOptions as dX, WebReadPolicy as dY, type Worded as dZ, type WorkspacesResponse as d_, type TaskLogFollow as da, type TaskLogFollowInput as db, type TaskLogHeaderKind as dc, type TaskLogHeaderTask as dd, type TaskLogHeaderUsage as de, type TaskLogHeaderView as df, type TaskLogResponse as dg, type TaskLogView as dh, type TaskMessageResponse as di, type TaskOp as dj, TaskOrchestrator as dk, type TaskOrchestratorDeps as dl, type TaskOrchestratorOptions as dm, type TaskOutputSource as dn, type TaskPlacement as dp, type TaskQuery as dq, type TaskQueryCatalog as dr, type TaskQueryField as ds, type TaskRef as dt, type TaskRevertPreview as du, type TaskRevertPreviewResponse as dv, type TaskRowAction as dw, type TaskRowContext as dx, type TaskRowDelegated as dy, type TaskRowHandoff as dz, type AccountLimitWindow as e, getSettingsPath as e$, accountLimitPercentText as e0, accountLimitWindowLabel as e1, accountLimitsOf as e2, accountLimitsText as e3, accountLimitsTitle as e4, activityLabel as e5, aheadOfDraft as e6, applyTaskOps as e7, approvalKindText as e8, approvalLabel as e9, containersOffered as eA, createAiService as eB, delegatedRowView as eC, delegationSummary as eD, dependencyCandidates as eE, dependentsNotice as eF, dependentsOf as eG, describeContainers as eH, describeHeld as eI, describeHolder as eJ, describeIsolationPreview as eK, describeMergeResult as eL, describePlannerNotReady as eM, describeProblems as eN, diffRows as eO, diffStat as eP, diffSummary as eQ, digestTaskLog as eR, drainNext as eS, editableWhileRunning as eT, elapsedSince as eU, escalations as eV, executionSummary as eW, followTaskLog as eX, followTurn as eY, formatElapsed as eZ, fromTranscript as e_, approvalStatusText as ea, assignedRunnerOf as eb, assignmentIssue as ec, assignmentIssueText as ed, attachingLabel as ee, automergeSummary as ef, autorunSummary as eg, awaitingLabel as eh, blockNotice as ei, blockNotices as ej, blockedByLabel as ek, blockingFailures as el, canMergeTasks as em, canSetDependencies as en, canSplitTask as eo, capConflictFiles as ep, cardEditNeedsUnstarted as eq, cardEditable as er, changeContainers as es, checkoutRule as et, classifyOutcome as eu, closeTurn as ev, coalesceTaskLog as ew, compactionText as ex, confirmedOverride as ey, containerStatus as ez, type AccountLimitsFrame as f, rememberDelegationBudget as f$, handoffBaseLine as f0, handoffBranchName as f1, handoffFindingsText as f2, handoffPeekParts as f3, hasAccountLimits as f4, hasHiddenDetail as f5, hasLongReport as f6, holdLabel as f7, holdPrompt as f8, isFileEditTool as f9, opRefusalText as fA, opsEditable as fB, outputLines as fC, outputPreview as fD, overrideNeedsConfirmation as fE, parseCount as fF, parseDelegation as fG, parseSwitch as fH, parseTaskOpsJson as fI, parseTaskQueryJson as fJ, pastGateConfirmation as fK, planBlocks as fL, planMarkerParts as fM, plannerMessage as fN, plannerNotReady as fO, plannerNotReadyFor as fP, plannerTranscript as fQ, processLeaseHost as fR, ranSealed as fS, readRunnerAuth as fT, receiptLabel as fU, reconcileApprovals as fV, recordRunnerAuth as fW, recordedRunnerAuth as fX, reduceConversation as fY, reduceRun as fZ, reduceTaskLog as f_, isRepoGroup as fa, isTaskRunning as fb, keptDelegationBudget as fc, lastServedModel as fd, loadedSkillTokens as fe, logContinues as ff, logResumes as fg, loopBodyLabel as fh, loopBodyRound as fi, loopCheckLabel as fj, loopCheckState as fk, loopLeaveNotice as fl, loopRowParts as fm, manualOverrideConfirmation as fn, manualOverrideStopFirst as fo, mapAgentTool as fp, markAction as fq, markdownHtml as fr, markdownTokens as fs, mergeOutcome as ft, mergePastChecksConfirmation as fu, mergeTarget as fv, namedRepos as fw, newTaskFields as fx, noExecutorRefusal as fy, normalizeAgentArgs as fz, type AccountLimitsMessage as g, unsendLatest as g$, renderTaskQueryAnswer as g0, repairWaitLabel as g1, repairedLanded as g2, repairedNotice as g3, repeatingChecks as g4, replayTaskLog as g5, repoBaseLine as g6, repoResultLines as g7, reposWithWork as g8, resetRunnerAuth as g9, takeAt as gA, taskActionCommand as gB, taskActivity as gC, taskChatAvailable as gD, taskLogCommands as gE, taskLogForSurface as gF, taskLogHeaderView as gG, taskOrderLabel as gH, taskPlacement as gI, taskQuerySignature as gJ, taskRef as gK, taskRefOf as gL, taskRowActions as gM, taskRowView as gN, taskStartedNotice as gO, taskStatusKind as gP, textHasTaskOps as gQ, textHasTaskQuery as gR, titledRefs as gS, titledTaskRef as gT, titledTaskRefOf as gU, toTaskLogEvent as gV, toolHeadline as gW, trailerSummary as gX, trimToolOutput as gY, truncateCheckpointSummary as gZ, unsendAll as g_, resolveSkillInvocation as ga, resolveTaskRef as gb, resolveUserTaskRef as gc, resumeLabel as gd, resumeTime as ge, revertEffect as gf, revertListLine as gg, revertTaskRef as gh, runHoldsEditors as gi, runSettingsOf as gj, runnerToolSubject as gk, scriptExitText as gl, scriptRunText as gm, secondsText as gn, serializePlan as go, serializeTask as gp, serializeTaskStatus as gq, skillTokens as gr, skippedLabel as gs, stopTurn as gt, subtreeIds as gu, subtreeView as gv, summarizeToolCall as gw, supervisorSummary as gx, surfacePlan as gy, surfacePlanState as gz, type AdoptSessionResponse as h, wakeUpItems as h0, walkPlan as h1, withoutSealedMark as h2, workspaceEnvOf as h3, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, CHECKPOINT_TRUNCATE_LENGTH as w, type CancelPlanningResponse as x, type CancelResumeResponse as y, type Carved as z };
9204
+ export { type ContainerChange as $, ACT_RISK as A, BatchQuoteError as B, CHAT_COMMANDS as C, type CancelResumeResponse as D, type Carved as E, type ChildControlOutcome as F, type ChildListResponse as G, type ChildMessageOutcome as H, type ChildMessageResponse as I, type ChildPlanEntry as J, type ChildPlanResponse as K, type ChildPlanView as L, type ChildTaskControl as M, type ChildTaskControlResponse as N, type ChildTreeFrame as O, CliAgentAiService as P, type CliAgentAiServiceDeps as Q, type CommandBlock as R, type CommandDescriptor as S, CommandLineTooLongError as T, type CommandOutcome as U, type CommandPayload as V, type CommandStatus as W, type CommandsResponse as X, type CompactionBlock as Y, type CompactionStatus as Z, type Consent as _, AUTORUN_RISK as a, type LaunchPlan as a$, type ContainerChangeResponse as a0, type ContainerGuaranteeLine as a1, type ContainerProblem as a2, type ContainerStatus as a3, type ContextCondenseRequest as a4, ConversationBusyError as a5, type ConversationCompactResponse as a6, type ConversationCompaction as a7, ConversationEditError as a8, type ConversationForkResponse as a9, type EscalationOptionId as aA, type EscalationRun as aB, type EscalationsResponse as aC, ExecutableNotFoundError as aD, type ExecuteCommandResponse as aE, type ExecuteResponse as aF, type ExecutionCommand as aG, ExecutionCommands as aH, type ExecutionHost as aI, type ExecutionSummary as aJ, type GatedConversation as aK, type GeneratePlanResponse as aL, type GlobalRunSettings as aM, HEADLESS_CLI_COMMANDS as aN, type HandoffBlock as aO, type HandoffForkRepo as aP, type HandoffPeekSubject as aQ, type IAiService as aR, IDLE_ACTIVITY as aS, type IWebFetcher as aT, type IsolationDiffResponse as aU, type IsolationMergeResponse as aV, type IsolationPreviewNotice as aW, type IsolationPreviewResponse as aX, LEASE_HEARTBEAT_MS as aY, LEASE_STALE_MS as aZ, type LaunchDeps as a_, type ConversationInput as aa, type ConversationRequest as ab, type ConversationRewindResponse as ac, type ConversationTurn as ad, type ConversationView as ae, DEFAULT_WEB_READ_BUDGET as af, DELEGATION_OFFERED as ag, DELEGATION_RISK as ah, type DaemonErrorCode as ai, type DecideOptions as aj, type DiffRow as ak, type DiffRowKind as al, type DiffStat as am, type DisplayBlock as an, type DockerCli as ao, EMPTY_CONVERSATION as ap, EMPTY_HOLD as aq, EMPTY_RUN as ar, EMPTY_TASK_LOG as as, EMPTY_TASK_LOG_FOLLOW as at, EmbeddedNewlineError as au, type ErrorBody as av, type Escalation as aw, type EscalationInput as ax, type EscalationKind as ay, type EscalationOption as az, type AccountLimitBucket as b, type ReadRunnerAuthOptions as b$, LeaseHost as b0, type LeaseHostKind as b1, type LeaseHostOptions as b2, type LiveOutputLookup as b3, type LiveTail as b4, type LiveTailOptions as b5, type LocalEntry as b6, type LoopCheckFacts as b7, type LoopCheckState as b8, type LoopGuard as b9, type PlanBlocks as bA, type PlanIntake as bB, type PlanMarkerStatus as bC, type PlanResponse as bD, type PlanSnapshot as bE, PlanStore as bF, type PlannerCommandSyntax as bG, type PlannerContextDeps as bH, type PlannerContextStatus as bI, PlannerConversation as bJ, type PlannerConversationHost as bK, type PlannerModelCandidate as bL, type PlannerModelChoice as bM, PlannerModelMemory as bN, type PlannerModelRecall as bO, type PlannerModelStore as bP, type PlannerNotReady as bQ, PlannerNotReadyError as bR, type PlannerReadinessConfig as bS, type PlannerSubmission as bT, PlannerTurnDiscardedError as bU, PlannerTurnStoppedError as bV, PlannerUsageLimitError as bW, type PrdResponse as bX, type PromptHold as bY, REPORT_PREVIEW_LINES as bZ, RUN_SETTINGS_DEFAULTS as b_, type MappedTool as ba, type MarkdownToken as bb, type MergeGateEntry as bc, type MergeGateResponse as bd, type MergeWordingHandoff as be, type MessageBlock as bf, type MessageRole as bg, type ModelsResponse as bh, NOT_STARTED as bi, NO_TURN as bj, type NewTaskFields as bk, NodeBoard as bl, type NodeBudget as bm, OUTPUT_LINES_DEFAULT as bn, OUTPUT_LINES_MAX as bo, type OkResponse as bp, type OpRef as bq, type OpRefusal as br, type OrchestratorObserver as bs, type OutputPreview as bt, type OverrideDirection as bu, PLANNED_WITH_LABEL as bv, type PendingApproval as bw, PendingApprovals as bx, type PendingApprovalsOptions as by, type PlanBlock as bz, type AccountLimitSnapshot as c, type SubtreeItemView as c$, type RefTask as c0, ResearchTasks as c1, type ResolveAll as c2, type ResolveConflictResponse as c3, type RevertPreviewTask as c4, type RevertRefusal as c5, type RevertRefusalReason as c6, type RevertScope as c7, type RewindTarget as c8, type RewindTargetsResponse as c9, type SerializedTaskStatus as cA, type ServerInfoResponse as cB, type SessionBroadcaster as cC, type SessionFrame as cD, type SessionHeld as cE, SessionHeldError as cF, type SessionLease as cG, type SessionLeaseRecord as cH, type SessionListResponse as cI, type SessionMessage as cJ, type SessionNotice as cK, type SessionResponse as cL, type SettingsResponse as cM, SettingsService as cN, type SettingsUpdateResponse as cO, type SkillInvocation as cP, type SkillLoadBlock as cQ, type SkillToken as cR, SlotPool as cS, type StartAdmission as cT, type StopResponse as cU, type StreamStamp as cV, type SubagentBlock as cW, type SubagentChild as cX, type SubagentStatus as cY, type SubplannerBrief as cZ, Subtree as c_, type RunActivity as ca, type RunInput as cb, type RunMergeView as cc, RunSettingsError as cd, type RunSnapshotFrame as ce, type RunTask as cf, type RunTaskStatus as cg, type RunView as ch, type RunnerAuth as ci, type RunnerAuthExec as cj, type RunnerAuthExecOptions as ck, type RunnerAuthExecResult as cl, type RunnerCatalog as cm, type RunnerLoadedBlock as cn, type RunnersResponse as co, STALLED_LABEL as cp, STOPPED_BEFORE_START as cq, STOPPING_LABEL as cr, SUBPLANNER_ACCOUNTING as cs, SUBPLANNER_CHILD as ct, SUBPLANNER_SCOPE as cu, SUPERVISOR_LEVEL_LABEL as cv, type SerializedConversationMessage as cw, type SerializedPendingTurn as cx, type SerializedPlan as cy, type SerializedTask as cz, type AccountLimitStatus as d, WINDOWS_MAX_COMMAND_LINE as d$, type SubtreeView as d0, type SurfacePlan as d1, type SurfacePlanState as d2, type SurfaceTask as d3, TASK_QUERY_ANSWER_MAX_CHARS as d4, TASK_QUERY_ANSWER_OR_OPS as d5, TASK_QUERY_FIELDS as d6, TASK_QUERY_PROTOCOL as d7, TASK_QUERY_REMINDER as d8, TERMINAL_UI_COMMANDS as d9, type TaskRef as dA, type TaskRevertPreview as dB, type TaskRevertPreviewResponse as dC, type TaskRowAction as dD, type TaskRowContext as dE, type TaskRowDelegated as dF, type TaskRowHandoff as dG, type TaskRowIsolation as dH, type TaskRowKind as dI, type TaskRowLoop as dJ, type TaskRowPlacement as dK, type TaskRowSubject as dL, type TaskRowUsage as dM, type TaskRowView as dN, type TaskRunFacts as dO, type TaskStatusKind as dP, type ThinkingDisplayBlock as dQ, type ToolBlock as dR, type ToolHeadline as dS, type ToolStatus as dT, TreeLedger as dU, type TreeTask as dV, TurnBudgets as dW, type TurnGate as dX, type UsageBlock as dY, type UserSettings as dZ, WAITS_FOR_APPROVAL_LABEL as d_, type TakenPrompt as da, type TaskAction as db, type TaskActivity as dc, type TaskAttemptSnapshot as dd, type TaskLogAttemptsResponse as de, type TaskLogBatch as df, type TaskLogEvent as dg, type TaskLogFollow as dh, type TaskLogFollowInput as di, type TaskLogHeaderKind as dj, type TaskLogHeaderTask as dk, type TaskLogHeaderUsage as dl, type TaskLogHeaderView as dm, type TaskLogResponse as dn, type TaskLogView as dp, type TaskMessageResponse as dq, type TaskOp as dr, TaskOrchestrator as ds, type TaskOrchestratorDeps as dt, type TaskOrchestratorOptions as du, type TaskOutputSource as dv, type TaskPlacement as dw, type TaskQuery as dx, type TaskQueryCatalog as dy, type TaskQueryField as dz, type AccountLimitWindow as e, editableWhileRunning as e$, type WakeUpItem as e0, type WebRead as e1, type WebReadDecision as e2, type WebReadOptions as e3, WebReadPolicy as e4, type Worded as e5, type WorkspacesResponse as e6, abbreviateHome as e7, accountLimitPercentText as e8, accountLimitWindowLabel as e9, changeContainers as eA, checkoutRule as eB, classifyOutcome as eC, closeTurn as eD, coalesceTaskLog as eE, compactionText as eF, confirmedOverride as eG, containerStatus as eH, containersOffered as eI, createAiService as eJ, delegatedRowView as eK, delegationSummary as eL, dependencyCandidates as eM, dependentsNotice as eN, dependentsOf as eO, describeContainers as eP, describeHeld as eQ, describeHolder as eR, describeIsolationPreview as eS, describeMergeResult as eT, describePlannerNotReady as eU, describeProblems as eV, diffRows as eW, diffStat as eX, diffSummary as eY, digestTaskLog as eZ, drainNext as e_, accountLimitsOf as ea, accountLimitsText as eb, accountLimitsTitle as ec, activityLabel as ed, aheadOfDraft as ee, applyTaskOps as ef, approvalKindText as eg, approvalLabel as eh, approvalStatusText as ei, assignedRunnerOf as ej, assignmentIssue as ek, assignmentIssueText as el, attachingLabel as em, automergeSummary as en, autorunSummary as eo, awaitingLabel as ep, blockNotice as eq, blockNotices as er, blockedByLabel as es, blockingFailures as et, canMergeTasks as eu, canSetDependencies as ev, canSplitTask as ew, capConflictFiles as ex, cardEditNeedsUnstarted as ey, cardEditable as ez, type AccountLimitsFrame as f, processLeaseHost as f$, elapsedSince as f0, escalations as f1, executionSummary as f2, followTaskLog as f3, followTurn as f4, formatElapsed as f5, fromTranscript as f6, getSettingsPath as f7, handoffBaseLine as f8, handoffBranchName as f9, markdownHtml as fA, markdownTokens as fB, mergeOutcome as fC, mergePastChecksConfirmation as fD, mergeTarget as fE, namedRepos as fF, newTaskFields as fG, noExecutorRefusal as fH, normalizeAgentArgs as fI, opRefusalText as fJ, opsEditable as fK, outputLines as fL, outputPreview as fM, overrideNeedsConfirmation as fN, parseCount as fO, parseDelegation as fP, parseSwitch as fQ, parseTaskOpsJson as fR, parseTaskQueryJson as fS, pastGateConfirmation as fT, planBlocks as fU, planDirectLaunch as fV, planMarkerParts as fW, plannerMessage as fX, plannerNotReady as fY, plannerNotReadyFor as fZ, plannerTranscript as f_, handoffFindingsText as fa, handoffPeekParts as fb, hasAccountLimits as fc, hasHiddenDetail as fd, hasLongReport as fe, holdLabel as ff, holdPrompt as fg, isExecutableResolved as fh, isFileEditTool as fi, isRepoGroup as fj, isTaskRunning as fk, keptDelegationBudget as fl, lastServedModel as fm, loadedSkillTokens as fn, logContinues as fo, logResumes as fp, loopBodyLabel as fq, loopBodyRound as fr, loopCheckLabel as fs, loopCheckState as ft, loopLeaveNotice as fu, loopRowParts as fv, manualOverrideConfirmation as fw, manualOverrideStopFirst as fx, mapAgentTool as fy, markAction as fz, type AccountLimitsMessage as g, textHasTaskQuery as g$, ranSealed as g0, readRunnerAuth as g1, receiptLabel as g2, reconcileApprovals as g3, recordRunnerAuth as g4, recordedRunnerAuth as g5, reduceConversation as g6, reduceRun as g7, reduceTaskLog as g8, rememberDelegationBudget as g9, serializeTaskStatus as gA, skillTokens as gB, skippedLabel as gC, stopTurn as gD, subtreeIds as gE, subtreeView as gF, summarizeToolCall as gG, supervisorSummary as gH, surfacePlan as gI, surfacePlanState as gJ, takeAt as gK, taskActionCommand as gL, taskActivity as gM, taskChatAvailable as gN, taskLogCommands as gO, taskLogForSurface as gP, taskLogHeaderView as gQ, taskOrderLabel as gR, taskPlacement as gS, taskQuerySignature as gT, taskRef as gU, taskRefOf as gV, taskRowActions as gW, taskRowView as gX, taskStartedNotice as gY, taskStatusKind as gZ, textHasTaskOps as g_, renderTaskQueryAnswer as ga, repairWaitLabel as gb, repairedLanded as gc, repairedNotice as gd, repeatingChecks as ge, replayTaskLog as gf, repoBaseLine as gg, repoResultLines as gh, reposWithWork as gi, resetRunnerAuth as gj, resolveSkillInvocation as gk, resolveTaskRef as gl, resolveUserTaskRef as gm, resumeLabel as gn, resumeTime as go, revertEffect as gp, revertListLine as gq, revertTaskRef as gr, runHoldsEditors as gs, runSettingsOf as gt, runnerToolSubject as gu, scriptExitText as gv, scriptRunText as gw, secondsText as gx, serializePlan as gy, serializeTask as gz, type AdoptSessionResponse as h, titledRefs as h0, titledTaskRef as h1, titledTaskRefOf as h2, toTaskLogEvent as h3, toolHeadline as h4, trailerSummary as h5, trimToolOutput as h6, truncateCheckpointSummary as h7, unsendAll as h8, unsendLatest as h9, wakeUpItems as ha, walkPlan as hb, windowsCommandLine as hc, withoutSealedMark as hd, workspaceEnvOf as he, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, type BlockingSubject as w, CHECKPOINT_TRUNCATE_LENGTH as x, CMD_EXE_MAX_COMMAND_LINE as y, type CancelPlanningResponse as z };
@@ -3,6 +3,49 @@ import { U as IntegrationDisposal, b5 as RunnerSessionCost, T as IWorktreeIsolat
3
3
  import 'child_process';
4
4
  import 'zod/v4';
5
5
 
6
+ /**
7
+ * Remove a test's scratch directory, waiting out whatever still holds it.
8
+ * Windows removes no directory a process works in, and a process tree it was
9
+ * told to end takes a moment to go. The retries back off linearly, about five
10
+ * seconds in all, and only a held directory waits. Async, so the event loop is
11
+ * free to run the kill that lets it go.
12
+ */
13
+ declare function removeDir(dir: string): Promise<void>;
14
+ /**
15
+ * The variables that make `home` the user's home, for a test that gives this
16
+ * process, or a child, a home of its own.
17
+ *
18
+ * HOME alone is a POSIX home. Node's `os.homedir()` reads USERPROFILE on
19
+ * Windows, so a test that set only HOME there read and wrote the real
20
+ * `~/.ordewell`. The per-user folders the runner probe searches on Windows
21
+ * (`wellKnownBinDirs`: npm's prefix under APPDATA, WinGet's links under
22
+ * LOCALAPPDATA, Chocolatey's under ProgramData, Scoop's own) hang off variables
23
+ * of their own, so those move too, or a CLI really installed there is found.
24
+ */
25
+ declare function homeEnv(home: string, platform?: NodeJS.Platform): Record<string, string | undefined>;
26
+ /**
27
+ * Set `vars` on this process's environment, and return what puts back the
28
+ * values they replaced. A key given as undefined is deleted: assigning
29
+ * undefined to `process.env` stores the string "undefined".
30
+ */
31
+ declare function setEnv(vars: Record<string, string | undefined>): () => void;
32
+ /**
33
+ * A file `name` resolves to on PATH from `bin`, for a test whose spawn is
34
+ * faked: it is never run. Windows starts a native executable ahead of anything
35
+ * else on PATH (ADR-0010), so there it is a `.exe`.
36
+ */
37
+ declare function writeStandIn(bin: string, name: string): string;
38
+ /**
39
+ * A PATH on which `command` starts the fake in `dir`.
40
+ *
41
+ * First on PATH is enough on POSIX. A fake is a batch shim on Windows, and
42
+ * `planDirectLaunch` prefers a native executable anywhere on PATH to a batch
43
+ * shim ahead of it (ADR-0010), so every directory holding a native `command`
44
+ * is left out as well. With {@link homeEnv}, nothing installed on the machine
45
+ * answers in the fake's place.
46
+ */
47
+ declare function pathWithFake(dir: string, command: string, PATH?: string, platform?: NodeJS.Platform): string;
48
+
6
49
  /**
7
50
  * Let an already-queued promise chain run to its next await before asserting,
8
51
  * without a wall-clock sleep. For a chain whose length is not known, drain the
@@ -316,4 +359,4 @@ declare class FakeWorktreeIsolation implements IWorktreeIsolation {
316
359
  sweep(): Promise<void>;
317
360
  }
318
361
 
319
- export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks };
362
+ export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, removeDir, setEnv, writeStandIn };
package/dist/testing.d.ts CHANGED
@@ -3,6 +3,49 @@ import { U as IntegrationDisposal, b5 as RunnerSessionCost, T as IWorktreeIsolat
3
3
  import 'child_process';
4
4
  import 'zod/v4';
5
5
 
6
+ /**
7
+ * Remove a test's scratch directory, waiting out whatever still holds it.
8
+ * Windows removes no directory a process works in, and a process tree it was
9
+ * told to end takes a moment to go. The retries back off linearly, about five
10
+ * seconds in all, and only a held directory waits. Async, so the event loop is
11
+ * free to run the kill that lets it go.
12
+ */
13
+ declare function removeDir(dir: string): Promise<void>;
14
+ /**
15
+ * The variables that make `home` the user's home, for a test that gives this
16
+ * process, or a child, a home of its own.
17
+ *
18
+ * HOME alone is a POSIX home. Node's `os.homedir()` reads USERPROFILE on
19
+ * Windows, so a test that set only HOME there read and wrote the real
20
+ * `~/.ordewell`. The per-user folders the runner probe searches on Windows
21
+ * (`wellKnownBinDirs`: npm's prefix under APPDATA, WinGet's links under
22
+ * LOCALAPPDATA, Chocolatey's under ProgramData, Scoop's own) hang off variables
23
+ * of their own, so those move too, or a CLI really installed there is found.
24
+ */
25
+ declare function homeEnv(home: string, platform?: NodeJS.Platform): Record<string, string | undefined>;
26
+ /**
27
+ * Set `vars` on this process's environment, and return what puts back the
28
+ * values they replaced. A key given as undefined is deleted: assigning
29
+ * undefined to `process.env` stores the string "undefined".
30
+ */
31
+ declare function setEnv(vars: Record<string, string | undefined>): () => void;
32
+ /**
33
+ * A file `name` resolves to on PATH from `bin`, for a test whose spawn is
34
+ * faked: it is never run. Windows starts a native executable ahead of anything
35
+ * else on PATH (ADR-0010), so there it is a `.exe`.
36
+ */
37
+ declare function writeStandIn(bin: string, name: string): string;
38
+ /**
39
+ * A PATH on which `command` starts the fake in `dir`.
40
+ *
41
+ * First on PATH is enough on POSIX. A fake is a batch shim on Windows, and
42
+ * `planDirectLaunch` prefers a native executable anywhere on PATH to a batch
43
+ * shim ahead of it (ADR-0010), so every directory holding a native `command`
44
+ * is left out as well. With {@link homeEnv}, nothing installed on the machine
45
+ * answers in the fake's place.
46
+ */
47
+ declare function pathWithFake(dir: string, command: string, PATH?: string, platform?: NodeJS.Platform): string;
48
+
6
49
  /**
7
50
  * Let an already-queued promise chain run to its next await before asserting,
8
51
  * without a wall-clock sleep. For a chain whose length is not known, drain the
@@ -316,4 +359,4 @@ declare class FakeWorktreeIsolation implements IWorktreeIsolation {
316
359
  sweep(): Promise<void>;
317
360
  }
318
361
 
319
- export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks };
362
+ export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, removeDir, setEnv, writeStandIn };