@ordewell/core 0.12.2 → 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.
Files changed (46) hide show
  1. package/dist/{ModeResolver-CA2fUU9h.d.mts → ModeResolver-CkZnbIqs.d.mts} +1 -1
  2. package/dist/{ModeResolver-B64aUZXJ.d.ts → ModeResolver-DS-aCVOP.d.ts} +1 -1
  3. package/dist/{Task-CxGgN6I0.d.mts → Task-D3O49EUo.d.mts} +43 -6
  4. package/dist/{Task-CxGgN6I0.d.ts → Task-D3O49EUo.d.ts} +43 -6
  5. package/dist/{chunk-RZ23BMVR.mjs → chunk-3S5IVTZM.mjs} +80 -22
  6. package/dist/chunk-3S5IVTZM.mjs.map +1 -0
  7. package/dist/{chunk-FX33UKAD.mjs → chunk-IOYBL3E5.mjs} +3 -3
  8. package/dist/{chunk-UDUATSCJ.mjs → chunk-MJKCU4U7.mjs} +1 -1
  9. package/dist/{chunk-UDUATSCJ.mjs.map → chunk-MJKCU4U7.mjs.map} +1 -1
  10. package/dist/{chunk-PKJTN2PD.mjs → chunk-POD3KZQW.mjs} +7 -1
  11. package/dist/chunk-POD3KZQW.mjs.map +1 -0
  12. package/dist/{chunk-2IFKPYPO.mjs → chunk-YZDWWXCB.mjs} +58 -17
  13. package/dist/chunk-YZDWWXCB.mjs.map +1 -0
  14. package/dist/{eventStore-CTCSKS9E.d.ts → eventStore-BcoMsZtU.d.mts} +23 -7
  15. package/dist/{eventStore-CcB8yELZ.d.mts → eventStore-CSFKy48Y.d.ts} +23 -7
  16. package/dist/index.d.mts +251 -243
  17. package/dist/index.d.ts +251 -243
  18. package/dist/index.js +3059 -1448
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +2716 -1203
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/parsing.d.mts +2 -2
  23. package/dist/parsing.d.ts +2 -2
  24. package/dist/parsing.js +43 -15
  25. package/dist/parsing.js.map +1 -1
  26. package/dist/parsing.mjs +3 -3
  27. package/dist/plan-utils.d.mts +4 -4
  28. package/dist/plan-utils.d.ts +4 -4
  29. package/dist/plan-utils.js +65 -14
  30. package/dist/plan-utils.js.map +1 -1
  31. package/dist/plan-utils.mjs +15 -3
  32. package/dist/plan-utils.mjs.map +1 -1
  33. package/dist/{runSettingsText-lKLDsyli.d.ts → runSettingsText-BFaZSPRG.d.ts} +686 -26
  34. package/dist/{runSettingsText-DFVpe6aU.d.mts → runSettingsText-DWsmcnBq.d.mts} +686 -26
  35. package/dist/testing.d.mts +46 -3
  36. package/dist/testing.d.ts +46 -3
  37. package/dist/testing.js +66 -4
  38. package/dist/testing.js.map +1 -1
  39. package/dist/testing.mjs +52 -5
  40. package/dist/testing.mjs.map +1 -1
  41. package/docker/task.Dockerfile +7 -4
  42. package/package.json +1 -1
  43. package/dist/chunk-2IFKPYPO.mjs.map +0 -1
  44. package/dist/chunk-PKJTN2PD.mjs.map +0 -1
  45. package/dist/chunk-RZ23BMVR.mjs.map +0 -1
  46. /package/dist/{chunk-FX33UKAD.mjs.map → chunk-IOYBL3E5.mjs.map} +0 -0
package/dist/parsing.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parsePlanJson
3
- } from "./chunk-FX33UKAD.mjs";
3
+ } from "./chunk-IOYBL3E5.mjs";
4
4
  import {
5
5
  PlanParseError,
6
6
  extractJsonObject,
7
7
  stripModelNoise
8
- } from "./chunk-2IFKPYPO.mjs";
9
- import "./chunk-PKJTN2PD.mjs";
8
+ } from "./chunk-YZDWWXCB.mjs";
9
+ import "./chunk-POD3KZQW.mjs";
10
10
 
11
11
  // src/services/PartialPlanParser.ts
12
12
  function parsePartialPlan(partial) {
@@ -1,9 +1,9 @@
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, F as CommandBlock, J as CommandStatus, L as CompactionBlock, M as CompactionStatus, U as ConversationInput, Y as ConversationView, _ as DELEGATION_OFFERED, a2 as DiffRow, a3 as DiffRowKind, a4 as DiffStat, a5 as DisplayBlock, a6 as EMPTY_CONVERSATION, a7 as EMPTY_HOLD, a8 as EMPTY_RUN, a9 as EMPTY_TASK_LOG, aa as EMPTY_TASK_LOG_FOLLOW, ap as GatedConversation, at as HandoffBlock, au as HandoffForkRepo, av as HandoffPeekSubject, ax as IDLE_ACTIVITY, aB as IsolationPreviewNotice, aL as LocalEntry, aM as LoopCheckFacts, aN as LoopCheckState, aQ as MarkdownToken, aU as MessageBlock, aV as MessageRole, aX as NOT_STARTED, aY as NO_TURN, aZ as NewTaskFields, b6 as OutputPreview, b7 as OverrideDirection, b8 as PLANNED_WITH_LABEL, bc as PlanBlock, bd as PlanBlocks, bf as PlanMarkerStatus, bB as PromptHold, bC as REPORT_PREVIEW_LINES, bF as RefTask, c0 as RunnerLoadedBlock, c2 as STALLED_LABEL, c4 as STOPPING_LABEL, c5 as SUPERVISOR_LEVEL_LABEL, cq as SkillLoadBlock, cr as SkillToken, cw as SubagentBlock, cx as SubagentChild, cy as SubagentStatus, cB as SubtreeItemView, cC as SubtreeView, cM as TakenPrompt, cN as TaskAction, cO as TaskActivity, cR as TaskLogBatch, cT as TaskLogFollow, cU as TaskLogFollowInput, cV as TaskLogHeaderKind, cW as TaskLogHeaderTask, cX as TaskLogHeaderUsage, cY as TaskLogHeaderView, c_ as TaskLogView, d5 as TaskPlacement, d9 as TaskRef, dc as TaskRowAction, dd as TaskRowContext, de as TaskRowDelegated, df as TaskRowHandoff, dg as TaskRowIsolation, dh as TaskRowKind, di as TaskRowLoop, dj as TaskRowPlacement, dk as TaskRowSubject, dl as TaskRowUsage, dm as TaskRowView, dn 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, dA as WAITS_FOR_APPROVAL_LABEL, dB as WakeUpItem, dJ as accountLimitPercentText, dK as accountLimitWindowLabel, dL as accountLimitsOf, dM as accountLimitsText, dN as accountLimitsTitle, dO as activityLabel, dP as aheadOfDraft, dR as approvalKindText, dS as approvalLabel, dT as approvalStatusText, dU as assignedRunnerOf, dV as assignmentIssue, dW as assignmentIssueText, dX as attachingLabel, d_ as awaitingLabel, d$ as blockNotice, e0 as blockNotices, e1 as blockedByLabel, e2 as blockingFailures, e3 as canMergeTasks, e4 as canSetDependencies, e5 as canSplitTask, e6 as capConflictFiles, e7 as cardEditNeedsUnstarted, e8 as cardEditable, eb as closeTurn, ed as compactionText, ee as confirmedOverride, eg as delegatedRowView, ei as dependencyCandidates, ej as dependentsNotice, ek as dependentsOf, en as describeIsolationPreview, eo as describeMergeResult, eq as diffRows, er as diffStat, es as diffSummary, eu as drainNext, ev as editableWhileRunning, ew as elapsedSince, ez as followTaskLog, eA as followTurn, eB as formatElapsed, eC as fromTranscript, eE as handoffBaseLine, eF as handoffBranchName, eG as handoffFindingsText, eH as handoffPeekParts, eI as hasAccountLimits, eJ as hasHiddenDetail, eK as hasLongReport, eL as holdLabel, eM as holdPrompt, eN as isFileEditTool, eO as isRepoGroup, eP as isTaskRunning, eR as loadedSkillTokens, eS as logContinues, eT as logResumes, eU as loopBodyLabel, eV as loopBodyRound, eW as loopCheckLabel, eX as loopCheckState, eY as loopLeaveNotice, eZ as loopRowParts, e_ as manualOverrideConfirmation, e$ as manualOverrideStopFirst, f1 as markAction, f2 as markdownHtml, f3 as markdownTokens, f4 as mergeOutcome, f5 as mergePastChecksConfirmation, f7 as namedRepos, f8 as newTaskFields, f9 as noExecutorRefusal, fc as opsEditable, fd as outputLines, fe as outputPreview, ff as overrideNeedsConfirmation, fg as parseCount, fl as pastGateConfirmation, fm as planBlocks, fn as planMarkerParts, fv as receiptLabel, fw as reconcileApprovals, fz as reduceConversation, fB as reduceTaskLog, fD as repairWaitLabel, fE as repairedLanded, fF as repairedNotice, fG as repeatingChecks, fH as replayTaskLog, fI as repoBaseLine, fJ as repoResultLines, fN as resolveTaskRef, fO as resolveUserTaskRef, fP as resumeLabel, fQ as resumeTime, fR as revertEffect, fS as revertListLine, fT as revertTaskRef, fU as runHoldsEditors, fW as runnerToolSubject, g1 as skillTokens, g2 as skippedLabel, g3 as stopTurn, g4 as subtreeIds, g5 as subtreeView, g6 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, gA as unsendAll, gB as unsendLatest, gC as wakeUpItems, gD as walkPlan } from './runSettingsText-DFVpe6aU.mjs';
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, aG as PlannerUsage, aV as ReportedWindow, b4 as RunnerSessionCost, b5 as SEVERITY_LABEL, ba as SessionBilling, bl as StoredHandoff, bv as TaskLoop, bD as TaskUsageSummary, bF as UsageLine, bG as UsageRecord, bH as UsageTotals, bM as addAttemptUsage, bN as addModelUsage, bO as addPlannerUsage, bP as addUsage, bQ as addUsageTotals, bS as betweenRounds, bW as checkOf, bZ as contextMeterText, b_ as contextMeterTitle, b$ as costText, c0 as countedSessionCost, c5 as endAttemptUsage, ca as formatCost, cb as formatTokenCount, cf as handoffReferenceText, cj as heldWords, cm as isMeasured, cp as loopRemovalRefusal, cq as loopRoundOf, ct as modelCostTitle, cy as outOfRounds, cD as partedPromptUsage, cJ as patchView, cK as pausedOnLimit, cM as planUsage, cN as plannerContextFill, cS as resumedSessionWindow, cW as savedPatchView, cX as savedPatchViews, c$ as scriptTaskText, d0 as severityLabel, d1 as spentTokens, d2 as startAttemptUsage, d4 as subagentCostTitle, d5 as taskUsageSummary, d6 as tasksTotalText, d9 as usageLine, da as usageText, de as worstSeverity } from './Task-CxGgN6I0.mjs';
3
- import './eventStore-CcB8yELZ.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
+ 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';
4
4
  import 'child_process';
5
5
  import 'zod/v4';
6
- import './ModeResolver-CA2fUU9h.mjs';
6
+ import './ModeResolver-CkZnbIqs.mjs';
7
7
 
8
8
  /**
9
9
  * The tips an empty planner chat composer shows (#137), one table for every
@@ -1,9 +1,9 @@
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, F as CommandBlock, J as CommandStatus, L as CompactionBlock, M as CompactionStatus, U as ConversationInput, Y as ConversationView, _ as DELEGATION_OFFERED, a2 as DiffRow, a3 as DiffRowKind, a4 as DiffStat, a5 as DisplayBlock, a6 as EMPTY_CONVERSATION, a7 as EMPTY_HOLD, a8 as EMPTY_RUN, a9 as EMPTY_TASK_LOG, aa as EMPTY_TASK_LOG_FOLLOW, ap as GatedConversation, at as HandoffBlock, au as HandoffForkRepo, av as HandoffPeekSubject, ax as IDLE_ACTIVITY, aB as IsolationPreviewNotice, aL as LocalEntry, aM as LoopCheckFacts, aN as LoopCheckState, aQ as MarkdownToken, aU as MessageBlock, aV as MessageRole, aX as NOT_STARTED, aY as NO_TURN, aZ as NewTaskFields, b6 as OutputPreview, b7 as OverrideDirection, b8 as PLANNED_WITH_LABEL, bc as PlanBlock, bd as PlanBlocks, bf as PlanMarkerStatus, bB as PromptHold, bC as REPORT_PREVIEW_LINES, bF as RefTask, c0 as RunnerLoadedBlock, c2 as STALLED_LABEL, c4 as STOPPING_LABEL, c5 as SUPERVISOR_LEVEL_LABEL, cq as SkillLoadBlock, cr as SkillToken, cw as SubagentBlock, cx as SubagentChild, cy as SubagentStatus, cB as SubtreeItemView, cC as SubtreeView, cM as TakenPrompt, cN as TaskAction, cO as TaskActivity, cR as TaskLogBatch, cT as TaskLogFollow, cU as TaskLogFollowInput, cV as TaskLogHeaderKind, cW as TaskLogHeaderTask, cX as TaskLogHeaderUsage, cY as TaskLogHeaderView, c_ as TaskLogView, d5 as TaskPlacement, d9 as TaskRef, dc as TaskRowAction, dd as TaskRowContext, de as TaskRowDelegated, df as TaskRowHandoff, dg as TaskRowIsolation, dh as TaskRowKind, di as TaskRowLoop, dj as TaskRowPlacement, dk as TaskRowSubject, dl as TaskRowUsage, dm as TaskRowView, dn 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, dA as WAITS_FOR_APPROVAL_LABEL, dB as WakeUpItem, dJ as accountLimitPercentText, dK as accountLimitWindowLabel, dL as accountLimitsOf, dM as accountLimitsText, dN as accountLimitsTitle, dO as activityLabel, dP as aheadOfDraft, dR as approvalKindText, dS as approvalLabel, dT as approvalStatusText, dU as assignedRunnerOf, dV as assignmentIssue, dW as assignmentIssueText, dX as attachingLabel, d_ as awaitingLabel, d$ as blockNotice, e0 as blockNotices, e1 as blockedByLabel, e2 as blockingFailures, e3 as canMergeTasks, e4 as canSetDependencies, e5 as canSplitTask, e6 as capConflictFiles, e7 as cardEditNeedsUnstarted, e8 as cardEditable, eb as closeTurn, ed as compactionText, ee as confirmedOverride, eg as delegatedRowView, ei as dependencyCandidates, ej as dependentsNotice, ek as dependentsOf, en as describeIsolationPreview, eo as describeMergeResult, eq as diffRows, er as diffStat, es as diffSummary, eu as drainNext, ev as editableWhileRunning, ew as elapsedSince, ez as followTaskLog, eA as followTurn, eB as formatElapsed, eC as fromTranscript, eE as handoffBaseLine, eF as handoffBranchName, eG as handoffFindingsText, eH as handoffPeekParts, eI as hasAccountLimits, eJ as hasHiddenDetail, eK as hasLongReport, eL as holdLabel, eM as holdPrompt, eN as isFileEditTool, eO as isRepoGroup, eP as isTaskRunning, eR as loadedSkillTokens, eS as logContinues, eT as logResumes, eU as loopBodyLabel, eV as loopBodyRound, eW as loopCheckLabel, eX as loopCheckState, eY as loopLeaveNotice, eZ as loopRowParts, e_ as manualOverrideConfirmation, e$ as manualOverrideStopFirst, f1 as markAction, f2 as markdownHtml, f3 as markdownTokens, f4 as mergeOutcome, f5 as mergePastChecksConfirmation, f7 as namedRepos, f8 as newTaskFields, f9 as noExecutorRefusal, fc as opsEditable, fd as outputLines, fe as outputPreview, ff as overrideNeedsConfirmation, fg as parseCount, fl as pastGateConfirmation, fm as planBlocks, fn as planMarkerParts, fv as receiptLabel, fw as reconcileApprovals, fz as reduceConversation, fB as reduceTaskLog, fD as repairWaitLabel, fE as repairedLanded, fF as repairedNotice, fG as repeatingChecks, fH as replayTaskLog, fI as repoBaseLine, fJ as repoResultLines, fN as resolveTaskRef, fO as resolveUserTaskRef, fP as resumeLabel, fQ as resumeTime, fR as revertEffect, fS as revertListLine, fT as revertTaskRef, fU as runHoldsEditors, fW as runnerToolSubject, g1 as skillTokens, g2 as skippedLabel, g3 as stopTurn, g4 as subtreeIds, g5 as subtreeView, g6 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, gA as unsendAll, gB as unsendLatest, gC as wakeUpItems, gD as walkPlan } from './runSettingsText-lKLDsyli.js';
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, aG as PlannerUsage, aV as ReportedWindow, b4 as RunnerSessionCost, b5 as SEVERITY_LABEL, ba as SessionBilling, bl as StoredHandoff, bv as TaskLoop, bD as TaskUsageSummary, bF as UsageLine, bG as UsageRecord, bH as UsageTotals, bM as addAttemptUsage, bN as addModelUsage, bO as addPlannerUsage, bP as addUsage, bQ as addUsageTotals, bS as betweenRounds, bW as checkOf, bZ as contextMeterText, b_ as contextMeterTitle, b$ as costText, c0 as countedSessionCost, c5 as endAttemptUsage, ca as formatCost, cb as formatTokenCount, cf as handoffReferenceText, cj as heldWords, cm as isMeasured, cp as loopRemovalRefusal, cq as loopRoundOf, ct as modelCostTitle, cy as outOfRounds, cD as partedPromptUsage, cJ as patchView, cK as pausedOnLimit, cM as planUsage, cN as plannerContextFill, cS as resumedSessionWindow, cW as savedPatchView, cX as savedPatchViews, c$ as scriptTaskText, d0 as severityLabel, d1 as spentTokens, d2 as startAttemptUsage, d4 as subagentCostTitle, d5 as taskUsageSummary, d6 as tasksTotalText, d9 as usageLine, da as usageText, de as worstSeverity } from './Task-CxGgN6I0.js';
3
- import './eventStore-CTCSKS9E.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
+ 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';
4
4
  import 'child_process';
5
5
  import 'zod/v4';
6
- import './ModeResolver-B64aUZXJ.js';
6
+ import './ModeResolver-DS-aCVOP.js';
7
7
 
8
8
  /**
9
9
  * The tips an empty planner chat composer shows (#137), one table for every
@@ -47,6 +47,9 @@ __export(plan_utils_exports, {
47
47
  SEVERITY_LABEL: () => SEVERITY_LABEL,
48
48
  STALLED_LABEL: () => STALLED_LABEL,
49
49
  STOPPING_LABEL: () => STOPPING_LABEL,
50
+ SUBPLANNER_ACCOUNTING: () => SUBPLANNER_ACCOUNTING,
51
+ SUBPLANNER_CHILD: () => SUBPLANNER_CHILD,
52
+ SUBPLANNER_SCOPE: () => SUBPLANNER_SCOPE,
50
53
  SUPERVISOR_LEVEL_LABEL: () => SUPERVISOR_LEVEL_LABEL,
51
54
  WAITS_FOR_APPROVAL_LABEL: () => WAITS_FOR_APPROVAL_LABEL,
52
55
  accountLimitPercentText: () => accountLimitPercentText,
@@ -86,6 +89,7 @@ __export(plan_utils_exports, {
86
89
  compactionText: () => compactionText,
87
90
  composerTip: () => composerTip,
88
91
  confirmedOverride: () => confirmedOverride,
92
+ containersOffered: () => containersOffered,
89
93
  contextMeterText: () => contextMeterText,
90
94
  contextMeterTitle: () => contextMeterTitle,
91
95
  costText: () => costText,
@@ -124,6 +128,7 @@ __export(plan_utils_exports, {
124
128
  isMeasured: () => isMeasured,
125
129
  isRepoGroup: () => isRepoGroup,
126
130
  isTaskRunning: () => isTaskRunning,
131
+ keptDelegationBudget: () => keptDelegationBudget,
127
132
  loadedSkillTokens: () => loadedSkillTokens,
128
133
  logContinues: () => logContinues,
129
134
  logResumes: () => logResumes,
@@ -165,6 +170,7 @@ __export(plan_utils_exports, {
165
170
  reconcileApprovals: () => reconcileApprovals,
166
171
  reduceConversation: () => reduceConversation,
167
172
  reduceTaskLog: () => reduceTaskLog,
173
+ rememberDelegationBudget: () => rememberDelegationBudget,
168
174
  repairWaitLabel: () => repairWaitLabel,
169
175
  repairedLanded: () => repairedLanded,
170
176
  repairedNotice: () => repairedNotice,
@@ -352,6 +358,11 @@ function taskRefOf(tasks, id) {
352
358
  const found = findTaskRef(tasks, id);
353
359
  return found && `#${found.label}`;
354
360
  }
361
+ function taskRefsOf(tasks) {
362
+ const refs = /* @__PURE__ */ new Map();
363
+ for (const { task, label } of walkPlan(tasks)) if (!refs.has(task.id)) refs.set(task.id, `#${label}`);
364
+ return refs;
365
+ }
355
366
  function titledTaskRefOf(tasks, id) {
356
367
  const found = findTaskRef(tasks, id);
357
368
  return found && `#${found.label} ${found.task.title}`;
@@ -595,6 +606,13 @@ function outOfRounds(check) {
595
606
  function checkOf(tasks, taskId) {
596
607
  return tasks.find((t) => t.loop?.body.includes(taskId));
597
608
  }
609
+ function checksOfBodies(tasks) {
610
+ const checks = /* @__PURE__ */ new Map();
611
+ for (const task of tasks) {
612
+ for (const id of task.loop?.body ?? []) if (!checks.has(id)) checks.set(id, task);
613
+ }
614
+ return checks;
615
+ }
598
616
  function loopRemovalRefusal(task) {
599
617
  return task.loop ? `"${task.title}" is a loop's check: remove its body tasks first, or drop its loop ("loop": null), so they do not run on their own` : null;
600
618
  }
@@ -1224,6 +1242,7 @@ function mergePastChecksConfirmation(checks) {
1224
1242
  // src/services/runSettingsText.ts
1225
1243
  var SUPERVISOR_LEVEL_LABEL = { off: "Off", watch: "Watch", act: "Act" };
1226
1244
  var PLANNED_WITH_LABEL = "Planned-with line in commits Ordewell writes";
1245
+ var keptDelegationBudget = (run) => run.delegationBudget > 0 ? run.delegationBudget : null;
1227
1246
  var DELEGATION_ENV = "ORDEWELL_DELEGATION";
1228
1247
  function delegationSwitchedOn({ env, moduleDir, exists }) {
1229
1248
  if (env !== "1" || moduleDir === null) return false;
@@ -1244,6 +1263,17 @@ function placeHere(variable) {
1244
1263
  return { env: process.env[variable], moduleDir: file.replace(/[\\/][^\\/]*$/, ""), exists: (path) => fs.existsSync(path) };
1245
1264
  }
1246
1265
  var DELEGATION_OFFERED = delegationSwitchedOn(placeHere(DELEGATION_ENV));
1266
+ var CONTAINERS_ENV = "ORDEWELL_CONTAINERS";
1267
+ function containersOffered(place = placeHere(CONTAINERS_ENV)) {
1268
+ return delegationSwitchedOn(place);
1269
+ }
1270
+ function rememberDelegationBudget(changes) {
1271
+ if (changes.delegationBudget !== void 0 || !((changes.delegationTokens ?? 0) > 0)) return changes;
1272
+ return { ...changes, delegationBudget: changes.delegationTokens };
1273
+ }
1274
+ var SUBPLANNER_SCOPE = "Lets a plan hand a separable part of its goal to a subplanner working on its own branch. A subplanner stays inside the mandate it is given and cannot widen it; this setting grants nothing else.";
1275
+ var SUBPLANNER_ACCOUNTING = "The budget is one allowance of tokens for the whole tree, counted approximately from what runners report: usage arrives after a call, so a tree can pass it a little.";
1276
+ var SUBPLANNER_CHILD = "A subplanner plans in Act with autorun: it approves and runs its own plan, and no person reads it. You confirm once, when you turn Subplanners on.";
1247
1277
  function parseCount(arg, min) {
1248
1278
  if (arg === void 0 || !/^\d+$/.test(arg)) return null;
1249
1279
  const n = Number(arg);
@@ -3122,7 +3152,7 @@ function taskChatAvailable(task) {
3122
3152
  if (task.type === "user") return false;
3123
3153
  return task.attempted === true || (task.attemptUsage?.length ?? 0) > 0;
3124
3154
  }
3125
- var refsOf = (ids, tasks) => ids.map((id) => tasks?.length ? taskRefOf(tasks, id) ?? id : id);
3155
+ var refsOf = (ids, reading) => ids.map((id) => reading?.refs.get(id) ?? id);
3126
3156
  var namedRepo = (repo) => repo && repo !== "." ? repo : null;
3127
3157
  var namedRepos = (repos) => (repos ?? []).filter((r) => r !== ".");
3128
3158
  var filesOf = (files) => files?.length ? capConflictFiles(files) : null;
@@ -3133,32 +3163,48 @@ var asBlocking = (tasks) => tasks.map((t) => ({
3133
3163
  subtasks: asBlocking(t.subtasks ?? []),
3134
3164
  ...t.loop ? { loop: t.loop, loopRound: t.loopRound, ...t.verdict ? { verdict: t.verdict } : {} } : {}
3135
3165
  }));
3166
+ function readPlan(tasks) {
3167
+ return {
3168
+ blocks: planBlocks(asBlocking(tasks)),
3169
+ refs: taskRefsOf(tasks),
3170
+ byId: new Map(tasks.map((t) => [t.id, t])),
3171
+ checks: checksOfBodies(tasks)
3172
+ };
3173
+ }
3174
+ var readings = /* @__PURE__ */ new WeakMap();
3175
+ function readingOf(task, tasks) {
3176
+ if (!tasks?.length) return null;
3177
+ const plan = readings.get(tasks) ?? readPlan(tasks);
3178
+ readings.set(tasks, plan);
3179
+ const own = task.loop && plan.byId.get(task.id);
3180
+ if (!own || own.status === task.status && own.loopRound === task.loopRound && own.verdict === task.verdict) return plan;
3181
+ return readPlan(tasks.map((t) => t.id === task.id ? { ...t, status: task.status, loopRound: task.loopRound, verdict: task.verdict } : t));
3182
+ }
3136
3183
  function blockedBy(task, reading) {
3137
3184
  if (!reading || !NOT_STARTED.has(task.status)) return [];
3138
3185
  return reading.blocks.blocked.get(task.id) ?? [];
3139
3186
  }
3140
3187
  function strandedDetail(check, dependencies, reading) {
3141
- const status = (id) => reading?.tasks.find((t) => t.id === id)?.status;
3188
+ const status = (id) => reading?.byId.get(id)?.status;
3142
3189
  const landed = reading && check.loop.body.every((id) => status(id) === "completed");
3143
3190
  const finished = dependencies.every((id) => [void 0, "completed", "skipped"].includes(status(id)));
3144
3191
  return landed && finished ? `Nothing runs it now: start it for round ${loopRoundOf(check) + 1} of ${check.loop.maxRounds}` : "Nothing runs it now: execute the plan and the loop goes on";
3145
3192
  }
3146
3193
  function loopOf(task, reading) {
3147
- const tasks = reading?.tasks;
3148
3194
  if (task.loop) {
3149
3195
  const check2 = { id: task.id, status: task.status, loop: task.loop, loopRound: task.loopRound, ...task.verdict ? { verdict: task.verdict } : {} };
3150
3196
  const state = loopCheckState(check2, !task.loopStranded && (reading ? reading.blocks.repeating.has(task.id) : true));
3151
- const body = refsOf(task.loop.body, tasks);
3197
+ const body = refsOf(task.loop.body, reading);
3152
3198
  const halted = reading ? task.loop.body.filter((id) => {
3153
- const status = reading.tasks.find((t) => t.id === id)?.status;
3199
+ const status = reading.byId.get(id)?.status;
3154
3200
  return status === "failed" || status === "skipped" || reading.blocks.blocked.has(id);
3155
3201
  }) : [];
3156
- const detail = state === "repeating" ? `Found problems: runs again once ${body.join(", ")} ${body.length === 1 ? "has" : "have"} landed` : state === "stopped" ? task.loopStranded ? strandedDetail(check2, task.dependencies, reading) : `${refsOf(halted, tasks).join(", ")} did not pass: retry ${halted.length === 1 ? "it" : "them"} and the loop goes on` : null;
3202
+ const detail = state === "repeating" ? `Found problems: runs again once ${body.join(", ")} ${body.length === 1 ? "has" : "have"} landed` : state === "stopped" ? task.loopStranded ? strandedDetail(check2, task.dependencies, reading) : `${refsOf(halted, reading).join(", ")} did not pass: retry ${halted.length === 1 ? "it" : "them"} and the loop goes on` : null;
3157
3203
  return { role: "check", state, label: loopCheckLabel(check2, state), detail, body };
3158
3204
  }
3159
- const owner = reading && checkOf(reading.tasks, task.id);
3205
+ const owner = reading?.checks.get(task.id);
3160
3206
  if (!owner?.loop) return null;
3161
- const [check] = refsOf([owner.id], tasks);
3207
+ const [check] = refsOf([owner.id], reading);
3162
3208
  const round = loopBodyRound({ status: owner.status ?? "", loopRound: owner.loopRound }, task.status);
3163
3209
  return { role: "body", label: loopBodyLabel(check, round, owner.loop.maxRounds), check, round };
3164
3210
  }
@@ -3182,8 +3228,7 @@ function taskRowView(task, context = {}) {
3182
3228
  const isolation = task.isolation && task.isolation.state !== "none" ? task.isolation : null;
3183
3229
  const spend = taskUsageSummary(task);
3184
3230
  const latestAttempt = task.attemptUsage?.at(-1);
3185
- const tasks = task.loop ? context.tasks?.map((t) => t.id === task.id ? { ...t, status: task.status, loopRound: task.loopRound, verdict: task.verdict } : t) : context.tasks;
3186
- const reading = tasks?.length ? { tasks, blocks: planBlocks(asBlocking(tasks)) } : null;
3231
+ const reading = readingOf(task, context.tasks);
3187
3232
  const blocked = blockedBy(task, reading);
3188
3233
  const loop = loopOf(task, reading);
3189
3234
  return {
@@ -3207,18 +3252,18 @@ function taskRowView(task, context = {}) {
3207
3252
  ...flagOf(task, context.runnerScope),
3208
3253
  autonomous: task.type === "ai" && context.modes?.find((m) => m.id === task.taskMode)?.autonomous === true,
3209
3254
  repos: namedRepos(isolation?.repos),
3210
- conflict: isolation?.state === "conflict" && !isolation.repairWaits ? { repo: namedRepo(isolation.conflictRepo), files: filesOf(isolation.conflictFiles), resolver: isolation.resolver ? refsOf([isolation.resolver], context.tasks)[0] : null } : null,
3255
+ conflict: isolation?.state === "conflict" && !isolation.repairWaits ? { repo: namedRepo(isolation.conflictRepo), files: filesOf(isolation.conflictFiles), resolver: isolation.resolver ? refsOf([isolation.resolver], reading)[0] : null } : null,
3211
3256
  repairWaiting: isolation?.state === "conflict" && isolation.repairWaits ? { label: repairWaitLabel(isolation.repairWaits), files: filesOf(isolation.conflictFiles) } : null,
3212
3257
  repairing: isolation?.state === "repairing" ? { files: filesOf(isolation.conflictFiles), attempt: isolation.repair ?? null } : null,
3213
3258
  repaired: isolation?.repairedFiles?.length ? { files: capConflictFiles(isolation.repairedFiles), landed: isolation.state === "integrated" } : null,
3214
- mergeGate: task.mergeGate?.length ? refsOf(task.mergeGate, context.tasks) : null,
3215
- blockedBy: blocked.length > 0 ? refsOf(blocked, context.tasks) : null,
3259
+ mergeGate: task.mergeGate?.length ? refsOf(task.mergeGate, reading) : null,
3260
+ blockedBy: blocked.length > 0 ? refsOf(blocked, reading) : null,
3216
3261
  skipReason: task.status === "skipped" ? task.skipReason ?? null : null,
3217
3262
  opsChangedFiles: task.status === "awaiting_user" && task.awaitingReason === "files-changed",
3218
3263
  forcedPastGate: task.forcedPastGate?.length ? task.forcedPastGate : null,
3219
3264
  loop,
3220
3265
  handoff: handoffOf(task),
3221
- dependencies: refsOf(task.dependencies, context.tasks),
3266
+ dependencies: refsOf(task.dependencies, reading),
3222
3267
  // A block read off the plan offers what a stored one does: Skip among them.
3223
3268
  actions: taskRowActions({ ...task, ...blocked.length > 0 ? { status: "blocked" } : {}, ...isolation?.repairWaits ? { repairWaits: isolation.repairWaits } : {} }, context.placement ?? (parent ? "subtask" : "task")),
3224
3269
  // Read off the mark itself: a task with merges left and no record has state `none`.
@@ -3427,6 +3472,9 @@ function accountLimitsTitle(snapshot, time) {
3427
3472
  SEVERITY_LABEL,
3428
3473
  STALLED_LABEL,
3429
3474
  STOPPING_LABEL,
3475
+ SUBPLANNER_ACCOUNTING,
3476
+ SUBPLANNER_CHILD,
3477
+ SUBPLANNER_SCOPE,
3430
3478
  SUPERVISOR_LEVEL_LABEL,
3431
3479
  WAITS_FOR_APPROVAL_LABEL,
3432
3480
  accountLimitPercentText,
@@ -3466,6 +3514,7 @@ function accountLimitsTitle(snapshot, time) {
3466
3514
  compactionText,
3467
3515
  composerTip,
3468
3516
  confirmedOverride,
3517
+ containersOffered,
3469
3518
  contextMeterText,
3470
3519
  contextMeterTitle,
3471
3520
  costText,
@@ -3504,6 +3553,7 @@ function accountLimitsTitle(snapshot, time) {
3504
3553
  isMeasured,
3505
3554
  isRepoGroup,
3506
3555
  isTaskRunning,
3556
+ keptDelegationBudget,
3507
3557
  loadedSkillTokens,
3508
3558
  logContinues,
3509
3559
  logResumes,
@@ -3545,6 +3595,7 @@ function accountLimitsTitle(snapshot, time) {
3545
3595
  reconcileApprovals,
3546
3596
  reduceConversation,
3547
3597
  reduceTaskLog,
3598
+ rememberDelegationBudget,
3548
3599
  repairWaitLabel,
3549
3600
  repairedLanded,
3550
3601
  repairedNotice,