@ordewell/core 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,7 @@ import {
30
30
  assignedRunnerOf,
31
31
  assignmentIssue,
32
32
  assignmentIssueText,
33
+ attachingLabel,
33
34
  awaitingLabel,
34
35
  blockNotice,
35
36
  blockNotices,
@@ -147,7 +148,7 @@ import {
147
148
  usageText,
148
149
  wakeUpItems,
149
150
  worstSeverity
150
- } from "./chunk-4QXOWEGC.mjs";
151
+ } from "./chunk-7WNLN63J.mjs";
151
152
  import {
152
153
  betweenRounds,
153
154
  checkOf,
@@ -209,6 +210,7 @@ export {
209
210
  assignedRunnerOf,
210
211
  assignmentIssue,
211
212
  assignmentIssueText,
213
+ attachingLabel,
212
214
  awaitingLabel,
213
215
  betweenRounds,
214
216
  blockNotice,
@@ -1,5 +1,5 @@
1
1
  import { aP as StoredHandoff, aS as Task, az as RunnerId, b0 as TaskSnapshot, b as AwaitingReason, b6 as UsageRecord, aA as RunnerSessionCost, i as DiscoveredModel, aO as SkillsService, aJ as SkillInfo, aq as RepoGroupLayout, x as IWorktreeIsolation, X as IsolationRun, K as IsolationHandoff, a8 as PlanIsolation, Y as IsolationTaskRecord, aV as TaskIsolation, a0 as IsolationView, ah as PrepareIntent, al as PreviousWork, q as HandoffCommit, S as IsolationOutcome, ao as RepairEvidence, b4 as TreeSnapshot, aT as TaskDiffRead, aU as TaskDiffResult, R as IsolationMergeResult, b8 as Verdict, a1 as LegacyPlanState, aZ as TaskReportTo, a$ as TaskSkillSnapshot, a_ as TaskSkillNotice, aQ as SubagentOutcome, d as ConversationMessage, aL as SkillLoadNotice, a7 as PendingPlanTurn, r as HandoffDigest, a as AttemptUsage, aX as TaskLoop, ay as RunSettings, ab as PlanUsage, ap as ReplyRun, aE as SessionBilling, a4 as ModelUsage, b7 as UsageTotals, c as ContextFill, ac as PlannerCompaction, k as ExecutionRecord, av as ResearchStep, a9 as PlanState, b1 as TaskStatus, E as ExecutionActor, l as GuardTrip, aR as SupervisorLevel, j as ExecutionCommandName, G as GuardTarget, au as ResearchProgress, at as ResearchLogEntry, aK as SkillLoad, ae as PlannerContextPause, aa as PlanStatus, P as IsolationMergeBlock, N as IsolationLandedTask, T as IsolationPreview, ax as ResearchToolType, a2 as LoopSubject, aw as ResearchStepOutcome, ad as PlannerCompactionOutcome, ag as PlannerUsage, F as FindingSeverity, b2 as TaskType, a6 as PatchView, aW as TaskIsolationState, b3 as TaskUsageSummary } from './Task-BL4Idm9r.js';
2
- import { q as ApprovalRequest, r as ApprovalSource, N as IApproval, bq as ToolOutcome, R as IRunnerSession, O as IConfig, br as UsageLimitSignal, bd as TaskMessageFrom, aM as RunnerModelRef, aE as RunnerCommand, aJ as RunnerMcpServer, b5 as StructuredTurnEnd, k as ApprovalDecision, aY as ScriptRun, aZ as ScriptStatus, b4 as StructuredEvent, ar as QueuedTaskMessage, l as ApprovalKind, Q as IRunner, aN as RunnerRegistry, bl as TaskShellSite, bk as TaskShell, aV as ScriptBody, d as AgentProcessDeps, a as AgentAdapter, a9 as OrdewellMcpServer, P as IFileSystem, am as PlannerToolHandler, j as ApprovalAnswer, aI as RunnerManifest, f as AiProvider, ag as PlannerBackendId, a8 as OrchestratorOption } from './IRunner-B5l9PCTv.js';
2
+ import { q as ApprovalRequest, r as ApprovalSource, N as IApproval, br as ToolOutcome, R as IRunnerSession, O as IConfig, bs as UsageLimitSignal, be as TaskMessageFrom, aN as RunnerModelRef, aE as RunnerCommand, aK as RunnerMcpServer, b6 as StructuredTurnEnd, k as ApprovalDecision, aZ as ScriptRun, a_ as ScriptStatus, b5 as StructuredEvent, ar as QueuedTaskMessage, l as ApprovalKind, Q as IRunner, aO as RunnerRegistry, bm as TaskShellSite, bl as TaskShell, aW as ScriptBody, d as AgentProcessDeps, a as AgentAdapter, a9 as OrdewellMcpServer, P as IFileSystem, am as PlannerToolHandler, j as ApprovalAnswer, aJ as RunnerManifest, f as AiProvider, ag as PlannerBackendId, a8 as OrchestratorOption } from './IRunner-DOMtDTVt.js';
3
3
  import { R as RunnerModeInfo } from './ModeResolver-DyXeZ9ib.js';
4
4
 
5
5
  type NotificationAction = {
@@ -1073,11 +1073,15 @@ declare class Landing {
1073
1073
  * has landed. Its branch is on the integration branch by then, so it merges
1074
1074
  * clean — and one the resolver did not really bring along conflicts again
1075
1075
  * instead of being taken at its word. Null when there is nothing to land.
1076
+ * The task is named before its landing settles, so the caller can hold
1077
+ * its worktree for as long as the merge is in it; one the caller says is
1078
+ * `leaving` the plan is not landed at all.
1076
1079
  */
1077
- landResolved(resolverId: string): Promise<{
1080
+ landResolved(resolverId: string, leaving?: (taskId: string) => boolean): {
1078
1081
  task: Readonly<Task>;
1079
- outcome: LandingOutcome;
1080
- } | null>;
1082
+ outcome: Promise<LandingOutcome>;
1083
+ } | null;
1084
+ private landConflicted;
1081
1085
  /** The repair a conflicted task is owed next; null when repair is off, used up, or there is no isolated run to repair it in. */
1082
1086
  nextRepair(taskId: string): RepairAttempt | null;
1083
1087
  /** What a repair is asked to do; read once `reopen` has recorded the tips it must bring in. */
@@ -1646,6 +1650,13 @@ type SerializedTaskStatus = {
1646
1650
  * ends or a new turn voids the report, and never saved.
1647
1651
  */
1648
1652
  completionReceived?: NonNullable<Verdict['reported']>;
1653
+ /**
1654
+ * Which spawn of a starting runner waits for Ordewell's tools to connect
1655
+ * (ADR-0025): 1, then 2 after its one respawn. Nothing was sent to the
1656
+ * runner yet. Absent once they connect, and when the attempt ends; a second
1657
+ * miss holds the task, which `holdReason` says.
1658
+ */
1659
+ attaching?: 1 | 2;
1649
1660
  /** Absent unless the plan has an isolation run, so a shared-root plan's updates are unchanged. */
1650
1661
  isolation?: TaskIsolation;
1651
1662
  /** What an `awaiting_user` task waits on, when it was saved (ADR-0018, W1). */
@@ -2086,7 +2097,7 @@ type PlanSnapshot = {
2086
2097
  plan: SurfacePlan | SurfacePlanState;
2087
2098
  };
2088
2099
  /** What only the status stream says about a task; a plan refresh keeps these as they were. */
2089
- type RunTaskStatus = Partial<Pick<SerializedTaskStatus, 'verdict' | 'idleSince' | 'completionReceived' | 'isolation' | 'checkpoint' | 'queued' | 'continuable' | 'awaitingApproval' | 'mergeGate' | 'forcedPastGate' | 'waitsForApproval' | 'holdReason' | 'handoff' | 'attempted'>>;
2100
+ type RunTaskStatus = Partial<Pick<SerializedTaskStatus, 'verdict' | 'idleSince' | 'completionReceived' | 'attaching' | 'isolation' | 'checkpoint' | 'queued' | 'continuable' | 'awaitingApproval' | 'mergeGate' | 'forcedPastGate' | 'waitsForApproval' | 'holdReason' | 'handoff' | 'attempted'>>;
2090
2101
  /** A task in the run view: the plan's fields, then the status stream's. */
2091
2102
  type RunTask = Omit<SerializedTask, 'subtasks'> & RunTaskStatus & {
2092
2103
  subtasks: RunTask[];
@@ -2148,7 +2159,7 @@ type SessionNotice = {
2148
2159
  };
2149
2160
  type SessionBroadcaster = (msg: SessionMessage) => void;
2150
2161
  declare function serializeTask(t: SurfaceTask): SerializedTask;
2151
- declare function serializeTaskStatus(t: Task, idleSince?: string | null, isolation?: TaskIsolation | null, queued?: readonly QueuedTaskMessage[], awaitingApproval?: number, mergeGate?: readonly string[], checkpoint?: string, waitsForApproval?: boolean, holdReason?: string | null, completionReceived?: Verdict['reported'] | null): SerializedTaskStatus;
2162
+ declare function serializeTaskStatus(t: Task, idleSince?: string | null, isolation?: TaskIsolation | null, queued?: readonly QueuedTaskMessage[], awaitingApproval?: number, mergeGate?: readonly string[], checkpoint?: string, waitsForApproval?: boolean, holdReason?: string | null, completionReceived?: Verdict['reported'] | null, attaching?: 1 | 2 | null): SerializedTaskStatus;
2152
2163
  /** The one place a plan's skill bodies come off before it leaves the session: every wire path that carries plan state goes through here. */
2153
2164
  declare function surfacePlan({ queuedMessages: _carriedOverAtLoad, ...plan }: LegacyPlanState): SurfacePlan;
2154
2165
  declare function surfacePlanState(state: PlanState): SurfacePlanState;
@@ -2615,10 +2626,14 @@ declare class TaskOrchestrator {
2615
2626
  /** Conflict repairs owed with every slot taken and no scheduler to claim them: a freed slot starts them. */
2616
2627
  private owedRepairs;
2617
2628
  /**
2618
- * Tasks Mark complete is landing after it ended their attempt: in progress
2619
- * with no attempt for as long as that takes, and not orphans for it.
2629
+ * Tasks Mark complete is landing after it ended their attempt, or that
2630
+ * their conflict resolver is landing, and that landing: in progress with
2631
+ * no attempt for as long as it takes, and not orphans for it. Both can be
2632
+ * landing one task at once, so each holds it for itself (see {@link holdWhileLanding}).
2620
2633
  */
2621
2634
  private completing;
2635
+ /** Tasks {@link releaseTask} is tearing down once their landings have settled: none may begin another. */
2636
+ private releasing;
2622
2637
  /** Tasks paused on a usage limit, the run's hold on them, and each runner's wait for its reset (ADR-0018, U1). */
2623
2638
  private readonly limitPauses;
2624
2639
  /**
@@ -2647,6 +2662,8 @@ declare class TaskOrchestrator {
2647
2662
  getIdleSince(taskId: string): string | null;
2648
2663
  /** What a live attempt's runner reported through `task_complete` while it winds down (ADR-0018, L1); null otherwise. */
2649
2664
  getCompletionReceipt(taskId: string): Verdict['reported'] | null;
2665
+ /** Which spawn of a live attempt's runner waits for Ordewell's tools to connect (ADR-0025); null when none does. */
2666
+ getToolsAttaching(taskId: string): 1 | 2 | null;
2650
2667
  /** Recent clean output of a task's latest attempt, running or ended; null if it never ran. */
2651
2668
  getLiveOutput(taskId: string, opts: LiveTailOptions): LiveTail | null;
2652
2669
  get storeInstance(): PlanStore;
@@ -2727,9 +2744,10 @@ declare class TaskOrchestrator {
2727
2744
  /**
2728
2745
  * Something can still start that nobody has to ask for again: a start
2729
2746
  * admitted and not yet claimed, a force start queued behind its
2730
- * dependencies, a task that resumes on its own at its usage limit's
2731
- * reset, or a start a dirty checkout parked for Stash and continue to
2732
- * replay. A Stop is owed to it, whether or not anything runs.
2747
+ * dependencies, a conflict repair owed a slot or the end of a start hold,
2748
+ * a task that resumes on its own at its usage limit's reset, or a start a
2749
+ * dirty checkout parked for Stash and continue to replay. A Stop is owed to
2750
+ * it, whether or not anything runs.
2733
2751
  */
2734
2752
  get startsPending(): boolean;
2735
2753
  /**
@@ -2924,13 +2942,20 @@ declare class TaskOrchestrator {
2924
2942
  * Work that did not land waits on the user — it never fails the task or
2925
2943
  * blocks its dependents — unless its conflict is owed a repair, which takes
2926
2944
  * the slot the ending attempt freed and never one more than the run allows.
2945
+ * A planner turn's start hold holds it as it holds any new spawn (ADR-0029).
2927
2946
  * The repair follows on from the start whose work it repairs: a Stop since
2928
2947
  * that was admitted withdraws it.
2929
2948
  */
2930
2949
  private settleUnlanded;
2931
- /** Start the repairs {@link settleUnlanded} left owed, as slots allow. */
2950
+ /** Start the repairs {@link settleUnlanded} left owed, as slots and any start hold allow. */
2932
2951
  private startOwedRepairs;
2933
2952
  private landResolved;
2953
+ /**
2954
+ * Hold a task for as long as `landing` is merging its worktree. Its end lets
2955
+ * go of its own hold only: another landing of the task begun meanwhile
2956
+ * still holds it.
2957
+ */
2958
+ private holdWhileLanding;
2934
2959
  getReadyTasks(): Task[];
2935
2960
  private readiness;
2936
2961
  private mergesAutomatically;
@@ -2986,8 +3011,12 @@ declare class TaskOrchestrator {
2986
3011
  * as {@link cancelTask} does, but its worktree goes: no task is left to land
2987
3012
  * it into. A spawn still in flight just loses its attempt,
2988
3013
  * which is what makes {@link Attempts} kill the session it is about to
2989
- * receive. The id's cross-attempt bookkeeping goes too — a hold or retry
2990
- * count kept for a task that no longer exists would be inherited by nothing.
3014
+ * receive. Every landing of it in flight — Mark complete's, its resolver's —
3015
+ * settles first, so its worktree is not torn down under a merge, and none
3016
+ * begins while it goes; a repair a landing claims is cancelled as any
3017
+ * running attempt is. The id's cross-attempt bookkeeping
3018
+ * goes too — a hold or retry count kept for a task that no longer exists
3019
+ * would be inherited by nothing.
2991
3020
  */
2992
3021
  releaseTask(taskId: string): Promise<void>;
2993
3022
  markTaskComplete(taskId: string): Promise<void>;
@@ -3128,6 +3157,7 @@ declare class TaskOrchestrator {
3128
3157
  * still under way read as `dependencies` rather than `queued`.
3129
3158
  */
3130
3159
  private holdsQueued;
3160
+ private slotsFull;
3131
3161
  private sayQueuedAtGate;
3132
3162
  private refuseOpsDuringMerge;
3133
3163
  /**
@@ -5566,6 +5596,58 @@ declare function repoResultLines(handoff: {
5566
5596
  }[];
5567
5597
  }): string[];
5568
5598
 
5599
+ /** What the user last picked for one planner backend. */
5600
+ interface PlannerModelChoice {
5601
+ model: string;
5602
+ effort?: string;
5603
+ }
5604
+ /**
5605
+ * A candidate model as this planner's catalog lists it. Deliberately plain
5606
+ * data: a harness planner's catalog is its runner's own model list and a
5607
+ * vendor's is a picker list (ADR-0009), and the rule below is the same for
5608
+ * both — so the caller normalizes, and this module never reaches for a
5609
+ * ModelResolver, a config or the network.
5610
+ */
5611
+ interface PlannerModelCandidate {
5612
+ id: string;
5613
+ variants?: {
5614
+ id: string;
5615
+ }[];
5616
+ }
5617
+ interface PlannerModelRecall {
5618
+ model: string;
5619
+ effort: string;
5620
+ source: 'remembered' | 'catalog-default' | 'none';
5621
+ }
5622
+ /** The slice of `SettingsService` this needs, so tests can pass a plain object. */
5623
+ interface PlannerModelStore {
5624
+ getPlannerModel(provider: string): PlannerModelChoice | undefined;
5625
+ setPlannerModel(provider: string, entry: PlannerModelChoice | undefined): void;
5626
+ }
5627
+ /**
5628
+ * Remembers, per planner backend, the model the user last chose for it.
5629
+ *
5630
+ * Switching the planner has to clear the model — an id is scoped to the agent
5631
+ * that listed it, so an OpenRouter slug handed to Claude Code points it at
5632
+ * something it cannot spawn. That clear is correct and stays; what was missing
5633
+ * is that switching *back* then forced a re-pick of a model the user had
5634
+ * already chosen. The rule itself is `selectPlanner`'s; this is the storage
5635
+ * the surfaces that keep their memory in the settings file hand it.
5636
+ */
5637
+ declare class PlannerModelMemory {
5638
+ private store;
5639
+ constructor(store: PlannerModelStore);
5640
+ /** Record what the user picked for `provider`; a blank model forgets it instead. */
5641
+ remember(provider: string, model: string, effort?: string): void;
5642
+ getPlannerModel(provider: string): PlannerModelChoice | undefined;
5643
+ /**
5644
+ * What the model and effort should become when `provider` takes over the
5645
+ * planner, given the models it actually serves. The `source` is what the
5646
+ * three surfaces word their notice from — restored, defaulted, or nothing.
5647
+ */
5648
+ recall(provider: string, catalog: PlannerModelCandidate[]): PlannerModelRecall;
5649
+ }
5650
+
5569
5651
  /**
5570
5652
  * What a runner's own status command answered (ADR-0009). A surface flags a
5571
5653
  * planner on `signed-out` and never on `unknown`: only the runner can say its
@@ -5842,58 +5924,6 @@ declare class PlannerNotReadyError extends Error {
5842
5924
  constructor(reason: PlannerNotReady);
5843
5925
  }
5844
5926
 
5845
- /** What the user last picked for one planner backend. */
5846
- interface PlannerModelChoice {
5847
- model: string;
5848
- effort?: string;
5849
- }
5850
- /**
5851
- * A candidate model as this planner's catalog lists it. Deliberately plain
5852
- * data: a harness planner's catalog is its runner's own model list and a
5853
- * vendor's is a picker list (ADR-0009), and the rule below is the same for
5854
- * both — so the caller normalizes, and this module never reaches for a
5855
- * ModelResolver, a config or the network.
5856
- */
5857
- interface PlannerModelCandidate {
5858
- id: string;
5859
- variants?: {
5860
- id: string;
5861
- }[];
5862
- }
5863
- interface PlannerModelRecall {
5864
- model: string;
5865
- effort: string;
5866
- source: 'remembered' | 'catalog-default' | 'none';
5867
- }
5868
- /** The slice of `SettingsService` this needs, so tests can pass a plain object. */
5869
- interface PlannerModelStore {
5870
- getPlannerModel(provider: string): PlannerModelChoice | undefined;
5871
- setPlannerModel(provider: string, entry: PlannerModelChoice | undefined): void;
5872
- }
5873
- /**
5874
- * Remembers, per planner backend, the model the user last chose for it.
5875
- *
5876
- * Switching the planner has to clear the model — an id is scoped to the agent
5877
- * that listed it, so an OpenRouter slug handed to Claude Code points it at
5878
- * something it cannot spawn. That clear is correct and stays; what was missing
5879
- * is that switching *back* then forced a re-pick of a model the user had
5880
- * already chosen. The rule itself is `selectPlanner`'s; this is the storage
5881
- * the surfaces that keep their memory in the settings file hand it.
5882
- */
5883
- declare class PlannerModelMemory {
5884
- private store;
5885
- constructor(store: PlannerModelStore);
5886
- /** Record what the user picked for `provider`; a blank model forgets it instead. */
5887
- remember(provider: string, model: string, effort?: string): void;
5888
- getPlannerModel(provider: string): PlannerModelChoice | undefined;
5889
- /**
5890
- * What the model and effort should become when `provider` takes over the
5891
- * planner, given the models it actually serves. The `source` is what the
5892
- * three surfaces word their notice from — restored, defaulted, or nothing.
5893
- */
5894
- recall(provider: string, catalog: PlannerModelCandidate[]): PlannerModelRecall;
5895
- }
5896
-
5897
5927
  /**
5898
5928
  * The daemon contract: every HTTP body the local daemon sends, in one place.
5899
5929
  *
@@ -6852,6 +6882,15 @@ declare function receiptLabel(task: {
6852
6882
  status: string;
6853
6883
  completionReceived?: Verdict['reported'];
6854
6884
  }): string | null;
6885
+ /**
6886
+ * That a running task's runner is up and has not yet reported Ordewell's
6887
+ * tools connected (ADR-0025), on its first spawn or its one respawn; null
6888
+ * otherwise. Nothing was sent to it, and no person is being asked anything.
6889
+ */
6890
+ declare function attachingLabel(task: {
6891
+ status: string;
6892
+ attaching?: 1 | 2;
6893
+ }): string | null;
6855
6894
  /** Runner requests a task waits on (ADR-0018, A1); null when none do. */
6856
6895
  declare function approvalLabel(count: number | undefined): string | null;
6857
6896
  /**
@@ -7027,6 +7066,8 @@ interface TaskRowSubject {
7027
7066
  idleSince?: string | null;
7028
7067
  /** What its runner reported through `task_complete` while the attempt winds down (ADR-0018, L1). */
7029
7068
  completionReceived?: Verdict['reported'];
7069
+ /** Which spawn of its starting runner waits for Ordewell's tools to connect (ADR-0025). */
7070
+ attaching?: 1 | 2;
7030
7071
  awaitingReason?: AwaitingReason;
7031
7072
  skipReason?: string;
7032
7073
  /** When a task paused on a usage limit resumes on its own (ISO time). */
@@ -7175,6 +7216,8 @@ interface TaskRowView {
7175
7216
  approvals: string | null;
7176
7217
  /** "Completion received" while its runner's report waits for the verdict (ADR-0018, L1), in sentence case; null otherwise. Never a pass. */
7177
7218
  receipt: string | null;
7219
+ /** "Connecting Ordewell's tools" while its runner starts and they have not connected (ADR-0025), in sentence case; null otherwise. */
7220
+ attaching: string | null;
7178
7221
  /** That it waits for the user's approval to start, in sentence case; null once it started, or when it needs none. */
7179
7222
  waitsForApproval: string | null;
7180
7223
  /** Why it is held out of the scheduler, in sentence case; null when it is not held. */
@@ -7394,4 +7437,4 @@ declare function parseSwitch(arg: string): boolean | null;
7394
7437
  /** A whole number at least `min`, as typed; null for anything else. */
7395
7438
  declare function parseCount(arg: string | undefined, min: number): number | null;
7396
7439
 
7397
- export { type DiffRowKind as $, ACT_RISK as A, type BlockingSubject as B, CHAT_COMMANDS as C, type CommandBlock as D, type CommandDescriptor as E, type CommandOutcome as F, type CommandPayload as G, type CommandStatus as H, type CommandsResponse as I, type CompactionBlock as J, type CompactionStatus as K, type Consent as L, type ContextCondenseRequest as M, ConversationBusyError as N, type ConversationCompactResponse as O, type ConversationCompaction as P, ConversationEditError as Q, type ConversationForkResponse as R, type ConversationInput as S, type ConversationRequest as T, type ConversationRewindResponse as U, type ConversationTurn as V, type ConversationView as W, DEFAULT_WEB_READ_BUDGET as X, type DaemonErrorCode as Y, type DecideOptions as Z, type DiffRow as _, AUTORUN_RISK as a, type PendingApproval as a$, type DiffStat as a0, type DisplayBlock as a1, EMPTY_CONVERSATION as a2, EMPTY_HOLD as a3, EMPTY_RUN as a4, EMPTY_TASK_LOG as a5, EMPTY_TASK_LOG_FOLLOW as a6, type ErrorBody as a7, type ExecuteCommandResponse as a8, type ExecuteResponse as a9, type LiveTail as aA, type LiveTailOptions as aB, type LocalEntry as aC, type LoopCheckFacts as aD, type LoopCheckState as aE, type LoopGuard as aF, type MappedTool as aG, type MarkdownToken as aH, type MergeGateEntry as aI, type MergeGateResponse as aJ, type MergeWordingHandoff as aK, type MessageBlock as aL, type MessageRole as aM, type ModelsResponse as aN, NOT_STARTED as aO, NO_TURN as aP, type NewTaskFields as aQ, type NotificationAction as aR, OUTPUT_LINES_DEFAULT as aS, OUTPUT_LINES_MAX as aT, type OkResponse as aU, type OpRef as aV, type OpRefusal as aW, type OrchestratorObserver as aX, type OutputPreview as aY, type OverrideDirection as aZ, PLANNED_WITH_LABEL as a_, type ExecutionCommand as aa, ExecutionCommands as ab, type ExecutionHost as ac, type ExecutionSummary as ad, type GatedConversation as ae, type GeneratePlanResponse as af, type GlobalRunSettings as ag, HEADLESS_CLI_COMMANDS as ah, type HandoffBlock as ai, type HandoffForkRepo as aj, type HandoffPeekSubject as ak, type IAiService as al, IDLE_ACTIVITY as am, type INotification as an, type IWebFetcher as ao, type IsolationDiffResponse as ap, type IsolationMergeResponse as aq, type IsolationPreviewNotice as ar, type IsolationPreviewResponse as as, IsolationRunController as at, LEASE_HEARTBEAT_MS as au, LEASE_STALE_MS as av, LeaseHost as aw, type LeaseHostKind as ax, type LeaseHostOptions as ay, type LiveOutputLookup as az, type AccountLimitBucket as b, type SessionData as b$, PendingApprovals as b0, type PendingApprovalsOptions as b1, type PlanBlock as b2, type PlanBlocks as b3, type PlanIntake as b4, type PlanMarkerStatus as b5, type PlanResponse as b6, type PlanSnapshot as b7, PlanStore as b8, type PlannerCommandSyntax as b9, type RewindTarget as bA, type RewindTargetsResponse as bB, type RunActivity as bC, type RunInput as bD, type RunMergeView as bE, RunSettingsError as bF, type RunSnapshotFrame as bG, type RunTask as bH, type RunTaskStatus as bI, type RunView as bJ, type RunnerAuth as bK, type RunnerAuthExec as bL, type RunnerAuthExecOptions as bM, type RunnerAuthExecResult as bN, type RunnerCatalog as bO, type RunnerLoadedBlock as bP, type RunnersResponse as bQ, STOPPED_BEFORE_START as bR, SUPERVISOR_LEVELS as bS, SUPERVISOR_LEVEL_LABEL as bT, type SerializedConversationMessage as bU, type SerializedPendingTurn as bV, type SerializedPlan as bW, type SerializedTask as bX, type SerializedTaskStatus as bY, type ServerInfoResponse as bZ, type SessionBroadcaster as b_, 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 PlannerModes as bj, type PlannerNotReady as bk, PlannerNotReadyError as bl, type PlannerReadinessConfig as bm, type PlannerSubmission as bn, PlannerTurnDiscardedError as bo, PlannerTurnStoppedError as bp, PlannerUsageLimitError as bq, type PrdResponse as br, type PromptHold as bs, REPORT_PREVIEW_LINES as bt, RUN_SETTINGS_DEFAULTS as bu, type ReadRunnerAuthOptions as bv, type RefTask as bw, ResearchTasks as bx, type ResolveAll as by, type ResolveConflictResponse as bz, type AccountLimitSnapshot as c, type TaskRowPlacement as c$, type SessionFrame as c0, type SessionHeld as c1, SessionHeldError as c2, type SessionLease as c3, type SessionLeaseRecord as c4, type SessionListResponse as c5, type SessionMessage as c6, type SessionMeta as c7, type SessionNotice as c8, type SessionResponse as c9, type TaskLogBatch as cA, type TaskLogEvent as cB, type TaskLogFollow as cC, type TaskLogFollowInput as cD, type TaskLogHeaderKind as cE, type TaskLogHeaderTask as cF, type TaskLogHeaderUsage as cG, type TaskLogHeaderView as cH, type TaskLogResponse as cI, type TaskLogView as cJ, type TaskMessageResponse as cK, type TaskOp as cL, TaskOrchestrator as cM, type TaskOrchestratorDeps as cN, type TaskOrchestratorOptions as cO, type TaskOutputSource as cP, type TaskPlacement as cQ, type TaskQuery as cR, type TaskQueryCatalog as cS, type TaskQueryField as cT, type TaskRef as cU, type TaskRowAction as cV, type TaskRowContext as cW, type TaskRowHandoff as cX, type TaskRowIsolation as cY, type TaskRowKind as cZ, type TaskRowLoop as c_, type SettingsResponse as ca, SettingsService as cb, type SettingsUpdateResponse as cc, type SkillInvocation as cd, type SkillLoadBlock as ce, type SkillToken as cf, type StartAdmission as cg, type StopResponse as ch, type StreamStamp as ci, type SubagentBlock as cj, type SubagentChild as ck, type SubagentStatus as cl, type SupervisorPolicy as cm, type SurfacePlan as cn, type SurfacePlanState as co, type SurfaceTask as cp, TASK_QUERY_ANSWER_MAX_CHARS as cq, TASK_QUERY_ANSWER_OR_OPS as cr, TASK_QUERY_FIELDS as cs, TASK_QUERY_PROTOCOL as ct, TASK_QUERY_REMINDER as cu, TERMINAL_UI_COMMANDS as cv, type TakenPrompt as cw, type TaskAction as cx, type TaskAttemptSnapshot as cy, type TaskLogAttemptsResponse as cz, type AccountLimitStatus as d, describePlannerNotReady as d$, type TaskRowSubject as d0, type TaskRowUsage as d1, type TaskRowView as d2, type TaskRunFacts as d3, type TaskStatusKind as d4, type ThinkingDisplayBlock as d5, type ToolBlock as d6, type ToolHeadline as d7, type ToolStatus as d8, type TreeTask as d9, assignmentIssueText as dA, automergeSummary as dB, autorunSummary as dC, awaitingLabel as dD, blockNotice as dE, blockNotices as dF, blockedByLabel as dG, blockingFailures as dH, canMergeTasks as dI, canSetDependencies as dJ, canSplitTask as dK, capConflictFiles as dL, cardEditNeedsUnstarted as dM, cardEditable as dN, checkoutRule as dO, classifyOutcome as dP, coalesceTaskLog as dQ, compactionText as dR, confirmedOverride as dS, createAiService as dT, dependencyCandidates as dU, dependentsNotice as dV, dependentsOf as dW, describeHeld as dX, describeHolder as dY, describeIsolationPreview as dZ, describeMergeResult as d_, TurnBudgets as da, type TurnGate as db, type UsageBlock as dc, type UserSettings as dd, WAITS_FOR_APPROVAL_LABEL as de, type WakeUpItem as df, type WebRead as dg, type WebReadDecision as dh, type WebReadOptions as di, WebReadPolicy as dj, type Worded as dk, type WorkspacesResponse as dl, abbreviateHome as dm, accountLimitPercentText as dn, accountLimitWindowLabel as dp, accountLimitsOf as dq, accountLimitsText as dr, accountLimitsTitle as ds, aheadOfDraft as dt, applyTaskOps as du, approvalKindText as dv, approvalLabel as dw, approvalStatusText as dx, assignedRunnerOf as dy, assignmentIssue as dz, type AccountLimitWindow as e, readRunnerAuth as e$, diffRows as e0, diffStat as e1, diffSummary as e2, digestTaskLog as e3, drainNext as e4, editableWhileRunning as e5, executionSummary as e6, followTaskLog as e7, followTurn as e8, fromTranscript as e9, markAction as eA, markdownHtml as eB, markdownTokens as eC, mergeOutcome as eD, mergeTarget as eE, namedRepos as eF, newTaskFields as eG, noExecutorRefusal as eH, normalizeAgentArgs as eI, opRefusalText as eJ, opsEditable as eK, outputLines as eL, outputPreview as eM, overrideNeedsConfirmation as eN, parseCount as eO, parseSwitch as eP, parseTaskOpsJson as eQ, parseTaskQueryJson as eR, pastGateConfirmation as eS, planBlocks as eT, planMarkerParts as eU, plannerMessage as eV, plannerNotReady as eW, plannerNotReadyFor as eX, plannerTranscript as eY, processLeaseHost as eZ, ranSealed as e_, getSettingsPath as ea, handoffBaseLine as eb, handoffBranchName as ec, handoffFindingsText as ed, handoffPeekParts as ee, hasAccountLimits as ef, hasHiddenDetail as eg, hasLongReport as eh, holdLabel as ei, holdPrompt as ej, isFileEditTool as ek, isRepoGroup as el, isTaskRunning as em, lastServedModel as en, loadedSkillTokens as eo, logContinues as ep, logResumes as eq, loopBodyLabel as er, loopBodyRound as es, loopCheckLabel as et, loopCheckState as eu, loopLeaveNotice as ev, loopRowParts as ew, manualOverrideConfirmation as ex, manualOverrideStopFirst as ey, mapAgentTool as ez, type AccountLimitsFrame as f, unsendAll as f$, receiptLabel as f0, reconcileApprovals as f1, recordRunnerAuth as f2, recordedRunnerAuth as f3, reduceConversation as f4, reduceRun as f5, reduceTaskLog as f6, renderTaskQueryAnswer as f7, repairedLanded as f8, repairedNotice as f9, surfacePlan as fA, surfacePlanState as fB, takeAt as fC, taskActionCommand as fD, taskChatAvailable as fE, taskLogCommands as fF, taskLogForSurface as fG, taskLogHeaderView as fH, taskOrderLabel as fI, taskPlacement as fJ, taskQuerySignature as fK, taskRef as fL, taskRefOf as fM, taskRowActions as fN, taskRowView as fO, taskStartedNotice as fP, taskStatusKind as fQ, textHasTaskOps as fR, textHasTaskQuery as fS, titledRefs as fT, titledTaskRef as fU, titledTaskRefOf as fV, toTaskLogEvent as fW, toolHeadline as fX, trailerSummary as fY, trimToolOutput as fZ, truncateCheckpointSummary as f_, repeatingChecks as fa, replayTaskLog as fb, repoBaseLine as fc, repoResultLines as fd, reposWithWork as fe, resetRunnerAuth as ff, resolveSkillInvocation as fg, resolveTaskRef as fh, resolveUserTaskRef as fi, resumeLabel as fj, resumeTime as fk, runHoldsEditors as fl, runSettingsOf as fm, runnerToolSubject as fn, scriptExitText as fo, scriptRunText as fp, secondsText as fq, serializePlan as fr, serializeTask as fs, serializeTaskStatus as ft, skillTokens as fu, skippedLabel as fv, stopTurn as fw, subtreeIds as fx, summarizeToolCall as fy, supervisorSummary as fz, type AccountLimitsMessage as g, unsendLatest as g0, wakeUpItems as g1, walkPlan as g2, withoutSealedMark as g3, workspaceEnvOf as g4, type AdoptSessionResponse as h, type ApplyTaskOpsResult as i, type ApprovalAnswerResponse as j, type ApprovalBlock as k, type ApprovalRequestMessage as l, type ApprovalStatus as m, type ApprovalsResponse as n, type ApproveReviewResponse as o, type AskOptions as p, type AssignmentCatalog as q, type AssignmentIssue as r, type AssignmentScope as s, type AssignmentWriter as t, type AutoMergeTrigger as u, CHECKPOINT_TRUNCATE_LENGTH as v, type CancelPlanningResponse as w, type CancelResumeResponse as x, CliAgentAiService as y, type CliAgentAiServiceDeps as z };
7440
+ export { type DiffRowKind as $, ACT_RISK as A, type BlockingSubject as B, CHAT_COMMANDS as C, type CommandBlock as D, type CommandDescriptor as E, type CommandOutcome as F, type CommandPayload as G, type CommandStatus as H, type CommandsResponse as I, type CompactionBlock as J, type CompactionStatus as K, type Consent as L, type ContextCondenseRequest as M, ConversationBusyError as N, type ConversationCompactResponse as O, type ConversationCompaction as P, ConversationEditError as Q, type ConversationForkResponse as R, type ConversationInput as S, type ConversationRequest as T, type ConversationRewindResponse as U, type ConversationTurn as V, type ConversationView as W, DEFAULT_WEB_READ_BUDGET as X, type DaemonErrorCode as Y, type DecideOptions as Z, type DiffRow as _, AUTORUN_RISK as a, type PendingApproval as a$, type DiffStat as a0, type DisplayBlock as a1, EMPTY_CONVERSATION as a2, EMPTY_HOLD as a3, EMPTY_RUN as a4, EMPTY_TASK_LOG as a5, EMPTY_TASK_LOG_FOLLOW as a6, type ErrorBody as a7, type ExecuteCommandResponse as a8, type ExecuteResponse as a9, type LiveTail as aA, type LiveTailOptions as aB, type LocalEntry as aC, type LoopCheckFacts as aD, type LoopCheckState as aE, type LoopGuard as aF, type MappedTool as aG, type MarkdownToken as aH, type MergeGateEntry as aI, type MergeGateResponse as aJ, type MergeWordingHandoff as aK, type MessageBlock as aL, type MessageRole as aM, type ModelsResponse as aN, NOT_STARTED as aO, NO_TURN as aP, type NewTaskFields as aQ, type NotificationAction as aR, OUTPUT_LINES_DEFAULT as aS, OUTPUT_LINES_MAX as aT, type OkResponse as aU, type OpRef as aV, type OpRefusal as aW, type OrchestratorObserver as aX, type OutputPreview as aY, type OverrideDirection as aZ, PLANNED_WITH_LABEL as a_, type ExecutionCommand as aa, ExecutionCommands as ab, type ExecutionHost as ac, type ExecutionSummary as ad, type GatedConversation as ae, type GeneratePlanResponse as af, type GlobalRunSettings as ag, HEADLESS_CLI_COMMANDS as ah, type HandoffBlock as ai, type HandoffForkRepo as aj, type HandoffPeekSubject as ak, type IAiService as al, IDLE_ACTIVITY as am, type INotification as an, type IWebFetcher as ao, type IsolationDiffResponse as ap, type IsolationMergeResponse as aq, type IsolationPreviewNotice as ar, type IsolationPreviewResponse as as, IsolationRunController as at, LEASE_HEARTBEAT_MS as au, LEASE_STALE_MS as av, LeaseHost as aw, type LeaseHostKind as ax, type LeaseHostOptions as ay, type LiveOutputLookup as az, type AccountLimitBucket as b, type SessionData as b$, PendingApprovals as b0, type PendingApprovalsOptions as b1, type PlanBlock as b2, type PlanBlocks as b3, type PlanIntake as b4, type PlanMarkerStatus as b5, type PlanResponse as b6, type PlanSnapshot as b7, PlanStore as b8, type PlannerCommandSyntax as b9, type RewindTarget as bA, type RewindTargetsResponse as bB, type RunActivity as bC, type RunInput as bD, type RunMergeView as bE, RunSettingsError as bF, type RunSnapshotFrame as bG, type RunTask as bH, type RunTaskStatus as bI, type RunView as bJ, type RunnerAuth as bK, type RunnerAuthExec as bL, type RunnerAuthExecOptions as bM, type RunnerAuthExecResult as bN, type RunnerCatalog as bO, type RunnerLoadedBlock as bP, type RunnersResponse as bQ, STOPPED_BEFORE_START as bR, SUPERVISOR_LEVELS as bS, SUPERVISOR_LEVEL_LABEL as bT, type SerializedConversationMessage as bU, type SerializedPendingTurn as bV, type SerializedPlan as bW, type SerializedTask as bX, type SerializedTaskStatus as bY, type ServerInfoResponse as bZ, type SessionBroadcaster as b_, 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 PlannerModes as bj, type PlannerNotReady as bk, PlannerNotReadyError as bl, type PlannerReadinessConfig as bm, type PlannerSubmission as bn, PlannerTurnDiscardedError as bo, PlannerTurnStoppedError as bp, PlannerUsageLimitError as bq, type PrdResponse as br, type PromptHold as bs, REPORT_PREVIEW_LINES as bt, RUN_SETTINGS_DEFAULTS as bu, type ReadRunnerAuthOptions as bv, type RefTask as bw, ResearchTasks as bx, type ResolveAll as by, type ResolveConflictResponse as bz, type AccountLimitSnapshot as c, type TaskRowPlacement as c$, type SessionFrame as c0, type SessionHeld as c1, SessionHeldError as c2, type SessionLease as c3, type SessionLeaseRecord as c4, type SessionListResponse as c5, type SessionMessage as c6, type SessionMeta as c7, type SessionNotice as c8, type SessionResponse as c9, type TaskLogBatch as cA, type TaskLogEvent as cB, type TaskLogFollow as cC, type TaskLogFollowInput as cD, type TaskLogHeaderKind as cE, type TaskLogHeaderTask as cF, type TaskLogHeaderUsage as cG, type TaskLogHeaderView as cH, type TaskLogResponse as cI, type TaskLogView as cJ, type TaskMessageResponse as cK, type TaskOp as cL, TaskOrchestrator as cM, type TaskOrchestratorDeps as cN, type TaskOrchestratorOptions as cO, type TaskOutputSource as cP, type TaskPlacement as cQ, type TaskQuery as cR, type TaskQueryCatalog as cS, type TaskQueryField as cT, type TaskRef as cU, type TaskRowAction as cV, type TaskRowContext as cW, type TaskRowHandoff as cX, type TaskRowIsolation as cY, type TaskRowKind as cZ, type TaskRowLoop as c_, type SettingsResponse as ca, SettingsService as cb, type SettingsUpdateResponse as cc, type SkillInvocation as cd, type SkillLoadBlock as ce, type SkillToken as cf, type StartAdmission as cg, type StopResponse as ch, type StreamStamp as ci, type SubagentBlock as cj, type SubagentChild as ck, type SubagentStatus as cl, type SupervisorPolicy as cm, type SurfacePlan as cn, type SurfacePlanState as co, type SurfaceTask as cp, TASK_QUERY_ANSWER_MAX_CHARS as cq, TASK_QUERY_ANSWER_OR_OPS as cr, TASK_QUERY_FIELDS as cs, TASK_QUERY_PROTOCOL as ct, TASK_QUERY_REMINDER as cu, TERMINAL_UI_COMMANDS as cv, type TakenPrompt as cw, type TaskAction as cx, type TaskAttemptSnapshot as cy, type TaskLogAttemptsResponse as cz, type AccountLimitStatus as d, describeMergeResult as d$, type TaskRowSubject as d0, type TaskRowUsage as d1, type TaskRowView as d2, type TaskRunFacts as d3, type TaskStatusKind as d4, type ThinkingDisplayBlock as d5, type ToolBlock as d6, type ToolHeadline as d7, type ToolStatus as d8, type TreeTask as d9, assignmentIssueText as dA, attachingLabel as dB, automergeSummary as dC, autorunSummary as dD, awaitingLabel as dE, blockNotice as dF, blockNotices as dG, blockedByLabel as dH, blockingFailures as dI, canMergeTasks as dJ, canSetDependencies as dK, canSplitTask as dL, capConflictFiles as dM, cardEditNeedsUnstarted as dN, cardEditable as dO, checkoutRule as dP, classifyOutcome as dQ, coalesceTaskLog as dR, compactionText as dS, confirmedOverride as dT, createAiService as dU, dependencyCandidates as dV, dependentsNotice as dW, dependentsOf as dX, describeHeld as dY, describeHolder as dZ, describeIsolationPreview as d_, TurnBudgets as da, type TurnGate as db, type UsageBlock as dc, type UserSettings as dd, WAITS_FOR_APPROVAL_LABEL as de, type WakeUpItem as df, type WebRead as dg, type WebReadDecision as dh, type WebReadOptions as di, WebReadPolicy as dj, type Worded as dk, type WorkspacesResponse as dl, abbreviateHome as dm, accountLimitPercentText as dn, accountLimitWindowLabel as dp, accountLimitsOf as dq, accountLimitsText as dr, accountLimitsTitle as ds, aheadOfDraft as dt, applyTaskOps as du, approvalKindText as dv, approvalLabel as dw, approvalStatusText as dx, assignedRunnerOf as dy, assignmentIssue as dz, type AccountLimitWindow as e, ranSealed as e$, describePlannerNotReady as e0, diffRows as e1, diffStat as e2, diffSummary as e3, digestTaskLog as e4, drainNext as e5, editableWhileRunning as e6, executionSummary as e7, followTaskLog as e8, followTurn as e9, mapAgentTool as eA, markAction as eB, markdownHtml as eC, markdownTokens as eD, mergeOutcome as eE, mergeTarget as eF, namedRepos as eG, newTaskFields as eH, noExecutorRefusal as eI, normalizeAgentArgs as eJ, opRefusalText as eK, opsEditable as eL, outputLines as eM, outputPreview as eN, overrideNeedsConfirmation as eO, parseCount as eP, parseSwitch as eQ, parseTaskOpsJson as eR, parseTaskQueryJson as eS, pastGateConfirmation as eT, planBlocks as eU, planMarkerParts as eV, plannerMessage as eW, plannerNotReady as eX, plannerNotReadyFor as eY, plannerTranscript as eZ, processLeaseHost as e_, fromTranscript as ea, getSettingsPath as eb, handoffBaseLine as ec, handoffBranchName as ed, handoffFindingsText as ee, handoffPeekParts as ef, hasAccountLimits as eg, hasHiddenDetail as eh, hasLongReport as ei, holdLabel as ej, holdPrompt as ek, isFileEditTool as el, isRepoGroup as em, isTaskRunning as en, lastServedModel as eo, loadedSkillTokens as ep, logContinues as eq, logResumes as er, loopBodyLabel as es, loopBodyRound as et, loopCheckLabel as eu, loopCheckState as ev, loopLeaveNotice as ew, loopRowParts as ex, manualOverrideConfirmation as ey, manualOverrideStopFirst as ez, type AccountLimitsFrame as f, truncateCheckpointSummary as f$, readRunnerAuth as f0, receiptLabel as f1, reconcileApprovals as f2, recordRunnerAuth as f3, recordedRunnerAuth as f4, reduceConversation as f5, reduceRun as f6, reduceTaskLog as f7, renderTaskQueryAnswer as f8, repairedLanded as f9, supervisorSummary as fA, surfacePlan as fB, surfacePlanState as fC, takeAt as fD, taskActionCommand as fE, taskChatAvailable as fF, taskLogCommands as fG, taskLogForSurface as fH, taskLogHeaderView as fI, taskOrderLabel as fJ, taskPlacement as fK, taskQuerySignature as fL, taskRef as fM, taskRefOf as fN, taskRowActions as fO, taskRowView as fP, taskStartedNotice as fQ, taskStatusKind as fR, textHasTaskOps as fS, textHasTaskQuery as fT, titledRefs as fU, titledTaskRef as fV, titledTaskRefOf as fW, toTaskLogEvent as fX, toolHeadline as fY, trailerSummary as fZ, trimToolOutput as f_, repairedNotice as fa, repeatingChecks as fb, replayTaskLog as fc, repoBaseLine as fd, repoResultLines as fe, reposWithWork as ff, resetRunnerAuth as fg, resolveSkillInvocation as fh, resolveTaskRef as fi, resolveUserTaskRef as fj, resumeLabel as fk, resumeTime as fl, runHoldsEditors as fm, runSettingsOf as fn, runnerToolSubject as fo, scriptExitText as fp, scriptRunText as fq, secondsText as fr, serializePlan as fs, serializeTask as ft, serializeTaskStatus as fu, skillTokens as fv, skippedLabel as fw, stopTurn as fx, subtreeIds as fy, summarizeToolCall as fz, type AccountLimitsMessage as g, unsendAll as g0, unsendLatest as g1, wakeUpItems as g2, walkPlan as g3, withoutSealedMark as g4, workspaceEnvOf as g5, type AdoptSessionResponse as h, type ApplyTaskOpsResult as i, type ApprovalAnswerResponse as j, type ApprovalBlock as k, type ApprovalRequestMessage as l, type ApprovalStatus as m, type ApprovalsResponse as n, type ApproveReviewResponse as o, type AskOptions as p, type AssignmentCatalog as q, type AssignmentIssue as r, type AssignmentScope as s, type AssignmentWriter as t, type AutoMergeTrigger as u, CHECKPOINT_TRUNCATE_LENGTH as v, type CancelPlanningResponse as w, type CancelResumeResponse as x, CliAgentAiService as y, type CliAgentAiServiceDeps as z };