@ordewell/core 0.12.4 → 0.12.5

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,6 +1,6 @@
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';
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-DywaLmlZ.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
- import './eventStore-BcoMsZtU.mjs';
3
+ import './eventStore-BbMmQDBw.mjs';
4
4
  import 'child_process';
5
5
  import 'zod/v4';
6
6
  import './ModeResolver-CkZnbIqs.mjs';
@@ -1,6 +1,6 @@
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';
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-CmPkgAuJ.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
- import './eventStore-CSFKy48Y.js';
3
+ import './eventStore-br1Tvuh6.js';
4
4
  import 'child_process';
5
5
  import 'zod/v4';
6
6
  import './ModeResolver-DS-aCVOP.js';
@@ -1,5 +1,5 @@
1
1
  import { b4 as RunnerId, bq as Task, p as DiscoveredModel, bm as StoredHandoff, bB as TaskSnapshot, b as AwaitingReason, bH as UsageRecord, b5 as RunnerSessionCost, J as HandoffCommit, bJ as Verdict, aj as LegacyPlanState, by as TaskReportTo, bA as TaskSkillSnapshot, bz as TaskSkillNotice, bn as SubagentOutcome, c as BelowPlan, C as CheckWord, am as Mandate, aq as MandateRequest, ap as MandateRefusal, ad as IsolationTaskRef, b0 as RevertCommand, aa as IsolationRevertTask, h as ConversationMessage, bi as SkillLoadNotice, aw as PendingPlanTurn, K as HandoffDigest, a as AttemptUsage, bw as TaskLoop, bu as TaskIsolation, o as DelegatedRow, b3 as RunSettings, X as IsolationHandoff, aA as PlanUsage, a2 as IsolationMergeResult, aS as ReplyRun, bb as SessionBilling, ar as ModelUsage, bI as UsageTotals, g as ContextFill, aC as PlannerCompaction, s as ExecutionRecord, aZ as ResearchStep, ay as PlanState, ab as IsolationRun, T as IWorktreeIsolation, aR as RepairWait, ag as IsolationView, a9 as IsolationRevertResult, bC as TaskStatus, q as ExecutionActor, w as GuardTrip, at as NodeAuthority, v as GuardTarget, b8 as ScriptBody, r as ExecutionCommandName, aF as PlannerNativeSession, aY as ResearchProgress, aX as ResearchLogEntry, bg as SkillInfo, bh as SkillLoad, bl as SkillsService, aE as PlannerContextPause, a0 as IsolationMergeBlock, _ as IsolationLandedTask, a4 as IsolationPreview, a$ as ResearchToolType, bp as SupervisorLevel, ak as LoopSubject, a_ as ResearchStepOutcome, aD as PlannerCompactionOutcome, aH as PlannerUsage, t as FindingSeverity, bD as TaskType, bo as SubtreeReport, av as PatchView, bv as TaskIsolationState, bE as TaskUsageSummary } from './Task-D3O49EUo.js';
2
- import { q as ApprovalRequest, r as ApprovalSource, U as IApproval, bP as ToolOutcome, _ as IRunnerSession, a1 as IsolationRunController, V as IConfig, bS as UsageLimitSignal, bB as TaskMessageFrom, b5 as RunnerModelRef, aX as RunnerCommand, b2 as RunnerMcpServer, bt as StructuredTurnEnd, k as ApprovalDecision, bh as ScriptRun, bi as ScriptStatus, bs as StructuredEvent, aj as NodePath, u as BoardDraft, v as BoardEntry, w as BoardPost, t as BoardAuthor, af as McpToolReply, J as EventStore, j as ApprovalAnswer, aK as QueuedTaskMessage, l as ApprovalKind, Y as INotification, Z as IRunner, b7 as RunnerRegistry, bp as SkillLookup, bK as TaskShellSite, bJ as TaskShell, K as ExecutionBackend, aR as ReservedLease, d as AgentProcessDeps, a as AgentAdapter, ar as OrdewellMcpServer, ap as OpenLease, W as IFileSystem, ay as PlannerModes, a0 as IsolatedExecution, aE as PlannerToolHandler, bH as TaskRunnerConfig, b1 as RunnerManifest, S as Guarantee, b0 as RunnerLaunch, T as GuaranteeReport, f as AiProvider, ax as PlannerBackendId, aq as OrchestratorOption, bm as SessionMeta } from './eventStore-CSFKy48Y.js';
2
+ import { q as ApprovalRequest, r as ApprovalSource, U as IApproval, bP as ToolOutcome, _ as IRunnerSession, a1 as IsolationRunController, V as IConfig, bS as UsageLimitSignal, bB as TaskMessageFrom, b5 as RunnerModelRef, aX as RunnerCommand, b2 as RunnerMcpServer, bt as StructuredTurnEnd, k as ApprovalDecision, bh as ScriptRun, bi as ScriptStatus, bs as StructuredEvent, aj as NodePath, u as BoardDraft, v as BoardEntry, w as BoardPost, t as BoardAuthor, af as McpToolReply, J as EventStore, j as ApprovalAnswer, aK as QueuedTaskMessage, l as ApprovalKind, Y as INotification, Z as IRunner, b7 as RunnerRegistry, bp as SkillLookup, bK as TaskShellSite, bJ as TaskShell, K as ExecutionBackend, aR as ReservedLease, d as AgentProcessDeps, a as AgentAdapter, ar as OrdewellMcpServer, ap as OpenLease, W as IFileSystem, ay as PlannerModes, a0 as IsolatedExecution, aE as PlannerToolHandler, bH as TaskRunnerConfig, b1 as RunnerManifest, S as Guarantee, b0 as RunnerLaunch, T as GuaranteeReport, f as AiProvider, ax as PlannerBackendId, aq as OrchestratorOption, bm as SessionMeta } from './eventStore-br1Tvuh6.js';
3
3
  import { R as RunnerModeInfo } from './ModeResolver-DS-aCVOP.js';
4
4
  import { ChildProcess } from 'child_process';
5
5
 
@@ -5188,6 +5188,8 @@ declare class CliAgentAiService implements IAiService {
5188
5188
  private compacted;
5189
5189
  constructor(config: IConfig, deps?: CliAgentAiServiceDeps);
5190
5190
  hasActiveConversation(): boolean;
5191
+ /** On Windows, the shell `run_command` runs, which a coding agent there would take for PowerShell (ADR-0010). */
5192
+ private researchShell;
5191
5193
  /**
5192
5194
  * False when the running agent process was spawned under a model/effort the
5193
5195
  * user has since changed in the picker. Unlike a vendor backend, the model
@@ -5385,7 +5387,7 @@ interface LandedHistory {
5385
5387
  */
5386
5388
  interface PlannerToolsOffer {
5387
5389
  sessionId: string;
5388
- /** The tools a child's grants leave out of its list, fixed as its session starts (ADR-0056 M6); the root's list is not filtered. */
5390
+ /** The tools left out of the list, fixed as the session starts: those a child's grants leave out (ADR-0056 M6), and `run_command` where no session runs one (a one-shot plan). */
5389
5391
  withheld?: readonly string[];
5390
5392
  handler: PlannerToolHandler;
5391
5393
  /** Its `submit_plan` takes a delegated task (ADR-0055 D1). */
@@ -6762,6 +6764,8 @@ interface LaunchDeps {
6762
6764
  powerShell?: () => string;
6763
6765
  /** PATHEXT, as the environment reports it. */
6764
6766
  pathExt?: () => string;
6767
+ /** The text of a batch shim, or undefined when it cannot be read. */
6768
+ readShim?: (file: string) => string | undefined;
6765
6769
  }
6766
6770
  /**
6767
6771
  * Thrown when a command's arguments do not fit the buffer of the only
@@ -1,5 +1,5 @@
1
1
  import { b4 as RunnerId, bq as Task, p as DiscoveredModel, bm as StoredHandoff, bB as TaskSnapshot, b as AwaitingReason, bH as UsageRecord, b5 as RunnerSessionCost, J as HandoffCommit, bJ as Verdict, aj as LegacyPlanState, by as TaskReportTo, bA as TaskSkillSnapshot, bz as TaskSkillNotice, bn as SubagentOutcome, c as BelowPlan, C as CheckWord, am as Mandate, aq as MandateRequest, ap as MandateRefusal, ad as IsolationTaskRef, b0 as RevertCommand, aa as IsolationRevertTask, h as ConversationMessage, bi as SkillLoadNotice, aw as PendingPlanTurn, K as HandoffDigest, a as AttemptUsage, bw as TaskLoop, bu as TaskIsolation, o as DelegatedRow, b3 as RunSettings, X as IsolationHandoff, aA as PlanUsage, a2 as IsolationMergeResult, aS as ReplyRun, bb as SessionBilling, ar as ModelUsage, bI as UsageTotals, g as ContextFill, aC as PlannerCompaction, s as ExecutionRecord, aZ as ResearchStep, ay as PlanState, ab as IsolationRun, T as IWorktreeIsolation, aR as RepairWait, ag as IsolationView, a9 as IsolationRevertResult, bC as TaskStatus, q as ExecutionActor, w as GuardTrip, at as NodeAuthority, v as GuardTarget, b8 as ScriptBody, r as ExecutionCommandName, aF as PlannerNativeSession, aY as ResearchProgress, aX as ResearchLogEntry, bg as SkillInfo, bh as SkillLoad, bl as SkillsService, aE as PlannerContextPause, a0 as IsolationMergeBlock, _ as IsolationLandedTask, a4 as IsolationPreview, a$ as ResearchToolType, bp as SupervisorLevel, ak as LoopSubject, a_ as ResearchStepOutcome, aD as PlannerCompactionOutcome, aH as PlannerUsage, t as FindingSeverity, bD as TaskType, bo as SubtreeReport, av as PatchView, bv as TaskIsolationState, bE as TaskUsageSummary } from './Task-D3O49EUo.mjs';
2
- import { q as ApprovalRequest, r as ApprovalSource, U as IApproval, bP as ToolOutcome, _ as IRunnerSession, a1 as IsolationRunController, V as IConfig, bS as UsageLimitSignal, bB as TaskMessageFrom, b5 as RunnerModelRef, aX as RunnerCommand, b2 as RunnerMcpServer, bt as StructuredTurnEnd, k as ApprovalDecision, bh as ScriptRun, bi as ScriptStatus, bs as StructuredEvent, aj as NodePath, u as BoardDraft, v as BoardEntry, w as BoardPost, t as BoardAuthor, af as McpToolReply, J as EventStore, j as ApprovalAnswer, aK as QueuedTaskMessage, l as ApprovalKind, Y as INotification, Z as IRunner, b7 as RunnerRegistry, bp as SkillLookup, bK as TaskShellSite, bJ as TaskShell, K as ExecutionBackend, aR as ReservedLease, d as AgentProcessDeps, a as AgentAdapter, ar as OrdewellMcpServer, ap as OpenLease, W as IFileSystem, ay as PlannerModes, a0 as IsolatedExecution, aE as PlannerToolHandler, bH as TaskRunnerConfig, b1 as RunnerManifest, S as Guarantee, b0 as RunnerLaunch, T as GuaranteeReport, f as AiProvider, ax as PlannerBackendId, aq as OrchestratorOption, bm as SessionMeta } from './eventStore-BcoMsZtU.mjs';
2
+ import { q as ApprovalRequest, r as ApprovalSource, U as IApproval, bP as ToolOutcome, _ as IRunnerSession, a1 as IsolationRunController, V as IConfig, bS as UsageLimitSignal, bB as TaskMessageFrom, b5 as RunnerModelRef, aX as RunnerCommand, b2 as RunnerMcpServer, bt as StructuredTurnEnd, k as ApprovalDecision, bh as ScriptRun, bi as ScriptStatus, bs as StructuredEvent, aj as NodePath, u as BoardDraft, v as BoardEntry, w as BoardPost, t as BoardAuthor, af as McpToolReply, J as EventStore, j as ApprovalAnswer, aK as QueuedTaskMessage, l as ApprovalKind, Y as INotification, Z as IRunner, b7 as RunnerRegistry, bp as SkillLookup, bK as TaskShellSite, bJ as TaskShell, K as ExecutionBackend, aR as ReservedLease, d as AgentProcessDeps, a as AgentAdapter, ar as OrdewellMcpServer, ap as OpenLease, W as IFileSystem, ay as PlannerModes, a0 as IsolatedExecution, aE as PlannerToolHandler, bH as TaskRunnerConfig, b1 as RunnerManifest, S as Guarantee, b0 as RunnerLaunch, T as GuaranteeReport, f as AiProvider, ax as PlannerBackendId, aq as OrchestratorOption, bm as SessionMeta } from './eventStore-BbMmQDBw.mjs';
3
3
  import { R as RunnerModeInfo } from './ModeResolver-CkZnbIqs.mjs';
4
4
  import { ChildProcess } from 'child_process';
5
5
 
@@ -5188,6 +5188,8 @@ declare class CliAgentAiService implements IAiService {
5188
5188
  private compacted;
5189
5189
  constructor(config: IConfig, deps?: CliAgentAiServiceDeps);
5190
5190
  hasActiveConversation(): boolean;
5191
+ /** On Windows, the shell `run_command` runs, which a coding agent there would take for PowerShell (ADR-0010). */
5192
+ private researchShell;
5191
5193
  /**
5192
5194
  * False when the running agent process was spawned under a model/effort the
5193
5195
  * user has since changed in the picker. Unlike a vendor backend, the model
@@ -5385,7 +5387,7 @@ interface LandedHistory {
5385
5387
  */
5386
5388
  interface PlannerToolsOffer {
5387
5389
  sessionId: string;
5388
- /** The tools a child's grants leave out of its list, fixed as its session starts (ADR-0056 M6); the root's list is not filtered. */
5390
+ /** The tools left out of the list, fixed as the session starts: those a child's grants leave out (ADR-0056 M6), and `run_command` where no session runs one (a one-shot plan). */
5389
5391
  withheld?: readonly string[];
5390
5392
  handler: PlannerToolHandler;
5391
5393
  /** Its `submit_plan` takes a delegated task (ADR-0055 D1). */
@@ -6762,6 +6764,8 @@ interface LaunchDeps {
6762
6764
  powerShell?: () => string;
6763
6765
  /** PATHEXT, as the environment reports it. */
6764
6766
  pathExt?: () => string;
6767
+ /** The text of a batch shim, or undefined when it cannot be read. */
6768
+ readShim?: (file: string) => string | undefined;
6765
6769
  }
6766
6770
  /**
6767
6771
  * Thrown when a command's arguments do not fit the buffer of the only
@@ -1,8 +1,10 @@
1
- import { J as EventStore, bQ as TreeEvent, bR as TreeFact, aj as NodePath, K as ExecutionBackend, a4 as LeaseRequest, a5 as LeaseSpec, S as Guarantee, a3 as LeaseRepo, b6 as RunnerPlacement, a2 as LeaseRecord, T as GuaranteeReport, aR as ReservedLease, _ as IRunnerSession, aK as QueuedTaskMessage, bt as StructuredTurnEnd, bs as StructuredEvent, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, bB as TaskMessageFrom, aX as RunnerCommand, $ as InvokedCommand, k as ApprovalDecision, V as IConfig, W as IFileSystem } from './eventStore-BcoMsZtU.mjs';
1
+ import { J as EventStore, bQ as TreeEvent, bR as TreeFact, aj as NodePath, K as ExecutionBackend, a4 as LeaseRequest, a5 as LeaseSpec, S as Guarantee, a3 as LeaseRepo, b6 as RunnerPlacement, a2 as LeaseRecord, T as GuaranteeReport, aR as ReservedLease, _ as IRunnerSession, aK as QueuedTaskMessage, bt as StructuredTurnEnd, bs as StructuredEvent, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, bB as TaskMessageFrom, aX as RunnerCommand, $ as InvokedCommand, k as ApprovalDecision, V as IConfig, W as IFileSystem } from './eventStore-BbMmQDBw.mjs';
2
2
  import { U as IntegrationDisposal, b5 as RunnerSessionCost, T as IWorktreeIsolation, W as IsolationAvailability, a2 as IsolationMergeResult, bF as TreeSnapshot, bc as SetupFailure, a5 as IsolationPruneResult, a6 as IsolationRemoval, a3 as IsolationOutcome, a9 as IsolationRevertResult, b0 as RevertCommand, aQ as RepairEvidence, ab as IsolationRun, bq as Task, aI as PrepareIntent, aJ as PreparedTask, J as HandoffCommit, ai as LandedWork, b1 as RevertWatch, X as IsolationHandoff } from './Task-D3O49EUo.mjs';
3
3
  import 'child_process';
4
4
  import 'zod/v4';
5
5
 
6
+ /** A test's own limit, `ms` on Linux and macOS, as much longer as {@link PACE} says here. */
7
+ declare function patient(ms: number): number;
6
8
  /**
7
9
  * Remove a test's scratch directory, waiting out whatever still holds it.
8
10
  * Windows removes no directory a process works in, and a process tree it was
@@ -359,4 +361,4 @@ declare class FakeWorktreeIsolation implements IWorktreeIsolation {
359
361
  sweep(): Promise<void>;
360
362
  }
361
363
 
362
- export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, removeDir, setEnv, writeStandIn };
364
+ export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, patient, removeDir, setEnv, writeStandIn };
package/dist/testing.d.ts CHANGED
@@ -1,8 +1,10 @@
1
- import { J as EventStore, bQ as TreeEvent, bR as TreeFact, aj as NodePath, K as ExecutionBackend, a4 as LeaseRequest, a5 as LeaseSpec, S as Guarantee, a3 as LeaseRepo, b6 as RunnerPlacement, a2 as LeaseRecord, T as GuaranteeReport, aR as ReservedLease, _ as IRunnerSession, aK as QueuedTaskMessage, bt as StructuredTurnEnd, bs as StructuredEvent, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, bB as TaskMessageFrom, aX as RunnerCommand, $ as InvokedCommand, k as ApprovalDecision, V as IConfig, W as IFileSystem } from './eventStore-CSFKy48Y.js';
1
+ import { J as EventStore, bQ as TreeEvent, bR as TreeFact, aj as NodePath, K as ExecutionBackend, a4 as LeaseRequest, a5 as LeaseSpec, S as Guarantee, a3 as LeaseRepo, b6 as RunnerPlacement, a2 as LeaseRecord, T as GuaranteeReport, aR as ReservedLease, _ as IRunnerSession, aK as QueuedTaskMessage, bt as StructuredTurnEnd, bs as StructuredEvent, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, bB as TaskMessageFrom, aX as RunnerCommand, $ as InvokedCommand, k as ApprovalDecision, V as IConfig, W as IFileSystem } from './eventStore-br1Tvuh6.js';
2
2
  import { U as IntegrationDisposal, b5 as RunnerSessionCost, T as IWorktreeIsolation, W as IsolationAvailability, a2 as IsolationMergeResult, bF as TreeSnapshot, bc as SetupFailure, a5 as IsolationPruneResult, a6 as IsolationRemoval, a3 as IsolationOutcome, a9 as IsolationRevertResult, b0 as RevertCommand, aQ as RepairEvidence, ab as IsolationRun, bq as Task, aI as PrepareIntent, aJ as PreparedTask, J as HandoffCommit, ai as LandedWork, b1 as RevertWatch, X as IsolationHandoff } from './Task-D3O49EUo.js';
3
3
  import 'child_process';
4
4
  import 'zod/v4';
5
5
 
6
+ /** A test's own limit, `ms` on Linux and macOS, as much longer as {@link PACE} says here. */
7
+ declare function patient(ms: number): number;
6
8
  /**
7
9
  * Remove a test's scratch directory, waiting out whatever still holds it.
8
10
  * Windows removes no directory a process works in, and a process tree it was
@@ -359,4 +361,4 @@ declare class FakeWorktreeIsolation implements IWorktreeIsolation {
359
361
  sweep(): Promise<void>;
360
362
  }
361
363
 
362
- export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, removeDir, setEnv, writeStandIn };
364
+ export { FakeEventStore, FakeExecutionBackend, type FakeIsolationCall, FakeRunnerSession, FakeWorktreeIsolation, fakeConfig, fakeFileSystem, flushMicrotasks, homeEnv, pathWithFake, patient, removeDir, setEnv, writeStandIn };
package/dist/testing.js CHANGED
@@ -39,6 +39,7 @@ __export(testing_exports, {
39
39
  flushMicrotasks: () => flushMicrotasks,
40
40
  homeEnv: () => homeEnv,
41
41
  pathWithFake: () => pathWithFake,
42
+ patient: () => patient,
42
43
  removeDir: () => removeDir,
43
44
  setEnv: () => setEnv,
44
45
  writeStandIn: () => writeStandIn
@@ -113,6 +114,10 @@ function isWithin(node, ancestor) {
113
114
  // src/testEnv.ts
114
115
  var fs = __toESM(require("fs"));
115
116
  var path = __toESM(require("path"));
117
+ var PACE = process.platform === "win32" ? 3 : 1;
118
+ function patient(ms) {
119
+ return ms * PACE;
120
+ }
116
121
  function removeDir(dir) {
117
122
  return fs.promises.rm(dir, { recursive: true, force: true, maxRetries: 10, retryDelay: 100 });
118
123
  }
@@ -840,6 +845,7 @@ var FakeWorktreeIsolation = class {
840
845
  flushMicrotasks,
841
846
  homeEnv,
842
847
  pathWithFake,
848
+ patient,
843
849
  removeDir,
844
850
  setEnv,
845
851
  writeStandIn