@ordewell/core 0.6.1 → 0.6.3
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.
- package/dist/{IFileSystem-DuEiG_kA.d.ts → IFileSystem-DQEKyC6H.d.ts} +1 -1
- package/dist/{IFileSystem-d_SV7jAH.d.mts → IFileSystem-Qj2MWHn_.d.mts} +1 -1
- package/dist/{ModeResolver-DXxV4n_V.d.ts → ModeResolver-ByNpC0EP.d.ts} +1 -1
- package/dist/{ModeResolver-DIReYAOq.d.mts → ModeResolver-rqaY_4Ex.d.mts} +1 -1
- package/dist/{Task-ib_U0YP7.d.mts → Task-xqdxugt2.d.mts} +31 -1
- package/dist/{Task-ib_U0YP7.d.ts → Task-xqdxugt2.d.ts} +31 -1
- package/dist/index.d.mts +139 -97
- package/dist/index.d.ts +139 -97
- package/dist/index.js +934 -78
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +914 -61
- package/dist/index.mjs.map +1 -1
- package/dist/order-labels.d.mts +1 -1
- package/dist/order-labels.d.ts +1 -1
- package/dist/{parsing-C8Z22twN.d.ts → parsing-COPG8-Ep.d.ts} +2 -2
- package/dist/{parsing-DjRJJX-y.d.mts → parsing-DDZ1rUYa.d.mts} +2 -2
- package/dist/parsing.d.mts +3 -3
- package/dist/parsing.d.ts +3 -3
- package/dist/{plan-utils-DvHPzAfV.d.ts → plan-utils-Br8UAoiu.d.ts} +8 -3
- package/dist/{plan-utils-D4ioaM8q.d.mts → plan-utils-DMgajMvd.d.mts} +8 -3
- package/dist/plan-utils.d.mts +3 -3
- package/dist/plan-utils.d.ts +3 -3
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/package.json +1 -1
package/dist/order-labels.d.mts
CHANGED
package/dist/order-labels.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { bg as ValidationContext, bh as ValidationResult, aG as RunnerId, aV as Task } from './Task-xqdxugt2.js';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-ByNpC0EP.js';
|
|
3
3
|
|
|
4
4
|
/** The envelope key a full plan reply is keyed by: `{"tasks":[...]}`. */
|
|
5
5
|
declare const PLAN_ENVELOPE_KEY = "tasks";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { bg as ValidationContext, bh as ValidationResult, aG as RunnerId, aV as Task } from './Task-xqdxugt2.mjs';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-rqaY_4Ex.mjs';
|
|
3
3
|
|
|
4
4
|
/** The envelope key a full plan reply is keyed by: `{"tasks":[...]}`. */
|
|
5
5
|
declare const PLAN_ENVELOPE_KEY = "tasks";
|
package/dist/parsing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as PartialPlanTask, b as PlanParseError, j as extractJsonObject, p as parsePartialPlan, n as parsePlanJson } from './parsing-
|
|
2
|
-
import './Task-
|
|
1
|
+
export { a as PartialPlanTask, b as PlanParseError, j as extractJsonObject, p as parsePartialPlan, n as parsePlanJson } from './parsing-DDZ1rUYa.mjs';
|
|
2
|
+
import './Task-xqdxugt2.mjs';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
|
-
import './ModeResolver-
|
|
5
|
+
import './ModeResolver-rqaY_4Ex.mjs';
|
package/dist/parsing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as PartialPlanTask, b as PlanParseError, j as extractJsonObject, p as parsePartialPlan, n as parsePlanJson } from './parsing-
|
|
2
|
-
import './Task-
|
|
1
|
+
export { a as PartialPlanTask, b as PlanParseError, j as extractJsonObject, p as parsePartialPlan, n as parsePlanJson } from './parsing-COPG8-Ep.js';
|
|
2
|
+
import './Task-xqdxugt2.js';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
|
-
import './ModeResolver-
|
|
5
|
+
import './ModeResolver-ByNpC0EP.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { aS as StructuredTurnEnd, aU as SubagentOutcome, bb as UsageRecord, k as ApprovalDecision, aQ as StructuredEvent, aG as RunnerId, w as DiscoveredModel, aV as Task, a6 as LegacyPlanState, aw as QueuedMessage, bc as UsageTotals, bi as Verdict, aW as TaskIsolation, b5 as TaskTransport, r as AwaitingReason, ax as QueuedTaskMessage, Q as IsolationHandoff, X as IsolationMergeResult, aC as ResearchStep, l as ApprovalKind, q as ApprovalSource, aD as ResearchStepOutcome, u as ConversationMessage, aA as ResearchLogEntry, ai as PlannerUsage } from './Task-xqdxugt2.js';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-ByNpC0EP.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* One entry of a structured task's log (ADR-0018, P1): what a runner did,
|
|
@@ -122,6 +122,11 @@ declare function toTaskLogEvent(event: StructuredEvent): TaskLogEvent | null;
|
|
|
122
122
|
* and the view folds to the same blocks either way.
|
|
123
123
|
*/
|
|
124
124
|
declare function coalesceTaskLog(events: readonly TaskLogEvent[]): TaskLogEvent[];
|
|
125
|
+
/**
|
|
126
|
+
* What an attempt did to the world, for the retry of a task whose effects
|
|
127
|
+
* outlive it (ADR-0020): one line per tool call and how it ended.
|
|
128
|
+
*/
|
|
129
|
+
declare function digestTaskLog(events: readonly TaskLogEvent[], maxCalls: number): string;
|
|
125
130
|
|
|
126
131
|
/**
|
|
127
132
|
* Pure, no-imports helper so a browser surface can format a conflict's files
|
|
@@ -895,4 +900,4 @@ declare function hasHiddenDetail(blocks: readonly DisplayBlock[]): boolean;
|
|
|
895
900
|
/** The conversation line for a task starting, worded the same on every surface. */
|
|
896
901
|
declare function taskStartedNotice(title: string, runner?: string): string;
|
|
897
902
|
|
|
898
|
-
export {
|
|
903
|
+
export { followTurn as $, type ApplyTaskOpsResult as A, type TurnGate as B, CHECKPOINT_TRUNCATE_LENGTH as C, type DisplayBlock as D, EMPTY_CONVERSATION as E, aheadOfDraft as F, type GatedConversation as G, applyTaskOps as H, canMergeTasks as I, canSetDependencies as J, canSplitTask as K, type LocalEntry as L, type MergeGateView as M, NO_TURN as N, type OutputPreview as O, type PlanBlock as P, capConflictFiles as Q, classifyOutcome as R, type SerializedPlan as S, type TakenPrompt as T, type UsageBlock as U, coalesceTaskLog as V, dependencyCandidates as W, dependentsOf as X, digestTaskLog as Y, drainNext as Z, executionSummary as _, type ApprovalBlock as a, fromTranscript as a0, hasHiddenDetail as a1, holdPrompt as a2, outputLines as a3, outputPreview as a4, parseTaskOpsJson as a5, reduceConversation as a6, reduceTaskLog as a7, replayTaskLog as a8, runnerToolSubject as a9, serializePlan as aa, serializeTask as ab, serializeTaskStatus as ac, stopTurn as ad, summarizeToolCall as ae, taskStartedNotice as af, textHasTaskOps as ag, toTaskLogEvent as ah, toolHeadline as ai, trimToolOutput as aj, truncateCheckpointSummary as ak, unsendAll as al, unsendLatest as am, type ApprovalStatus as b, type ConversationInput as c, type ConversationView as d, EMPTY_HOLD as e, EMPTY_TASK_LOG as f, type MessageBlock as g, type MessageRole as h, type PlanMarkerStatus as i, type PromptHold as j, type SerializedTask as k, type SerializedTaskStatus as l, type SessionBroadcaster as m, type SessionMessage as n, type SessionNotice as o, type SubagentBlock as p, type SubagentChild as q, type SubagentStatus as r, type TaskLogEvent as s, type TaskLogView as t, type TaskOp as u, type TaskRef as v, type ThinkingDisplayBlock as w, type ToolBlock as x, type ToolHeadline as y, type ToolStatus as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { aS as StructuredTurnEnd, aU as SubagentOutcome, bb as UsageRecord, k as ApprovalDecision, aQ as StructuredEvent, aG as RunnerId, w as DiscoveredModel, aV as Task, a6 as LegacyPlanState, aw as QueuedMessage, bc as UsageTotals, bi as Verdict, aW as TaskIsolation, b5 as TaskTransport, r as AwaitingReason, ax as QueuedTaskMessage, Q as IsolationHandoff, X as IsolationMergeResult, aC as ResearchStep, l as ApprovalKind, q as ApprovalSource, aD as ResearchStepOutcome, u as ConversationMessage, aA as ResearchLogEntry, ai as PlannerUsage } from './Task-xqdxugt2.mjs';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-rqaY_4Ex.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* One entry of a structured task's log (ADR-0018, P1): what a runner did,
|
|
@@ -122,6 +122,11 @@ declare function toTaskLogEvent(event: StructuredEvent): TaskLogEvent | null;
|
|
|
122
122
|
* and the view folds to the same blocks either way.
|
|
123
123
|
*/
|
|
124
124
|
declare function coalesceTaskLog(events: readonly TaskLogEvent[]): TaskLogEvent[];
|
|
125
|
+
/**
|
|
126
|
+
* What an attempt did to the world, for the retry of a task whose effects
|
|
127
|
+
* outlive it (ADR-0020): one line per tool call and how it ended.
|
|
128
|
+
*/
|
|
129
|
+
declare function digestTaskLog(events: readonly TaskLogEvent[], maxCalls: number): string;
|
|
125
130
|
|
|
126
131
|
/**
|
|
127
132
|
* Pure, no-imports helper so a browser surface can format a conflict's files
|
|
@@ -895,4 +900,4 @@ declare function hasHiddenDetail(blocks: readonly DisplayBlock[]): boolean;
|
|
|
895
900
|
/** The conversation line for a task starting, worded the same on every surface. */
|
|
896
901
|
declare function taskStartedNotice(title: string, runner?: string): string;
|
|
897
902
|
|
|
898
|
-
export {
|
|
903
|
+
export { followTurn as $, type ApplyTaskOpsResult as A, type TurnGate as B, CHECKPOINT_TRUNCATE_LENGTH as C, type DisplayBlock as D, EMPTY_CONVERSATION as E, aheadOfDraft as F, type GatedConversation as G, applyTaskOps as H, canMergeTasks as I, canSetDependencies as J, canSplitTask as K, type LocalEntry as L, type MergeGateView as M, NO_TURN as N, type OutputPreview as O, type PlanBlock as P, capConflictFiles as Q, classifyOutcome as R, type SerializedPlan as S, type TakenPrompt as T, type UsageBlock as U, coalesceTaskLog as V, dependencyCandidates as W, dependentsOf as X, digestTaskLog as Y, drainNext as Z, executionSummary as _, type ApprovalBlock as a, fromTranscript as a0, hasHiddenDetail as a1, holdPrompt as a2, outputLines as a3, outputPreview as a4, parseTaskOpsJson as a5, reduceConversation as a6, reduceTaskLog as a7, replayTaskLog as a8, runnerToolSubject as a9, serializePlan as aa, serializeTask as ab, serializeTaskStatus as ac, stopTurn as ad, summarizeToolCall as ae, taskStartedNotice as af, textHasTaskOps as ag, toTaskLogEvent as ah, toolHeadline as ai, trimToolOutput as aj, truncateCheckpointSummary as ak, unsendAll as al, unsendLatest as am, type ApprovalStatus as b, type ConversationInput as c, type ConversationView as d, EMPTY_HOLD as e, EMPTY_TASK_LOG as f, type MessageBlock as g, type MessageRole as h, type PlanMarkerStatus as i, type PromptHold as j, type SerializedTask as k, type SerializedTaskStatus as l, type SessionBroadcaster as m, type SessionMessage as n, type SessionNotice as o, type SubagentBlock as p, type SubagentChild as q, type SubagentStatus as r, type TaskLogEvent as s, type TaskLogView as t, type TaskOp as u, type TaskRef as v, type ThinkingDisplayBlock as w, type ToolBlock as x, type ToolHeadline as y, type ToolStatus as z };
|
package/dist/plan-utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as ApprovalBlock, b as ApprovalStatus, C as CHECKPOINT_TRUNCATE_LENGTH, c as ConversationInput, d as ConversationView, D as DisplayBlock, E as EMPTY_CONVERSATION, e as EMPTY_HOLD, f as EMPTY_TASK_LOG, G as GatedConversation, L as LocalEntry, g as MessageBlock, h as MessageRole, N as NO_TURN, O as OutputPreview, P as PlanBlock, i as PlanMarkerStatus, j as PromptHold, p as SubagentBlock, q as SubagentChild, r as SubagentStatus, T as TakenPrompt, t as TaskLogView, v as TaskRef, w as ThinkingDisplayBlock, x as ToolBlock, y as ToolHeadline, z as ToolStatus, B as TurnGate, U as UsageBlock, F as aheadOfDraft, I as canMergeTasks, J as canSetDependencies, K as canSplitTask, Q as capConflictFiles, W as dependencyCandidates, X as dependentsOf,
|
|
2
|
-
import './Task-
|
|
1
|
+
export { a as ApprovalBlock, b as ApprovalStatus, C as CHECKPOINT_TRUNCATE_LENGTH, c as ConversationInput, d as ConversationView, D as DisplayBlock, E as EMPTY_CONVERSATION, e as EMPTY_HOLD, f as EMPTY_TASK_LOG, G as GatedConversation, L as LocalEntry, g as MessageBlock, h as MessageRole, N as NO_TURN, O as OutputPreview, P as PlanBlock, i as PlanMarkerStatus, j as PromptHold, p as SubagentBlock, q as SubagentChild, r as SubagentStatus, T as TakenPrompt, t as TaskLogView, v as TaskRef, w as ThinkingDisplayBlock, x as ToolBlock, y as ToolHeadline, z as ToolStatus, B as TurnGate, U as UsageBlock, F as aheadOfDraft, I as canMergeTasks, J as canSetDependencies, K as canSplitTask, Q as capConflictFiles, W as dependencyCandidates, X as dependentsOf, Z as drainNext, $ as followTurn, a0 as fromTranscript, a1 as hasHiddenDetail, a2 as holdPrompt, a3 as outputLines, a4 as outputPreview, a6 as reduceConversation, a7 as reduceTaskLog, a8 as replayTaskLog, a9 as runnerToolSubject, ad as stopTurn, ae as summarizeToolCall, af as taskStartedNotice, ai as toolHeadline, ak as truncateCheckpointSummary, al as unsendAll, am as unsendLatest } from './plan-utils-DMgajMvd.mjs';
|
|
2
|
+
import './Task-xqdxugt2.mjs';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
|
-
import './ModeResolver-
|
|
5
|
+
import './ModeResolver-rqaY_4Ex.mjs';
|
package/dist/plan-utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as ApprovalBlock, b as ApprovalStatus, C as CHECKPOINT_TRUNCATE_LENGTH, c as ConversationInput, d as ConversationView, D as DisplayBlock, E as EMPTY_CONVERSATION, e as EMPTY_HOLD, f as EMPTY_TASK_LOG, G as GatedConversation, L as LocalEntry, g as MessageBlock, h as MessageRole, N as NO_TURN, O as OutputPreview, P as PlanBlock, i as PlanMarkerStatus, j as PromptHold, p as SubagentBlock, q as SubagentChild, r as SubagentStatus, T as TakenPrompt, t as TaskLogView, v as TaskRef, w as ThinkingDisplayBlock, x as ToolBlock, y as ToolHeadline, z as ToolStatus, B as TurnGate, U as UsageBlock, F as aheadOfDraft, I as canMergeTasks, J as canSetDependencies, K as canSplitTask, Q as capConflictFiles, W as dependencyCandidates, X as dependentsOf,
|
|
2
|
-
import './Task-
|
|
1
|
+
export { a as ApprovalBlock, b as ApprovalStatus, C as CHECKPOINT_TRUNCATE_LENGTH, c as ConversationInput, d as ConversationView, D as DisplayBlock, E as EMPTY_CONVERSATION, e as EMPTY_HOLD, f as EMPTY_TASK_LOG, G as GatedConversation, L as LocalEntry, g as MessageBlock, h as MessageRole, N as NO_TURN, O as OutputPreview, P as PlanBlock, i as PlanMarkerStatus, j as PromptHold, p as SubagentBlock, q as SubagentChild, r as SubagentStatus, T as TakenPrompt, t as TaskLogView, v as TaskRef, w as ThinkingDisplayBlock, x as ToolBlock, y as ToolHeadline, z as ToolStatus, B as TurnGate, U as UsageBlock, F as aheadOfDraft, I as canMergeTasks, J as canSetDependencies, K as canSplitTask, Q as capConflictFiles, W as dependencyCandidates, X as dependentsOf, Z as drainNext, $ as followTurn, a0 as fromTranscript, a1 as hasHiddenDetail, a2 as holdPrompt, a3 as outputLines, a4 as outputPreview, a6 as reduceConversation, a7 as reduceTaskLog, a8 as replayTaskLog, a9 as runnerToolSubject, ad as stopTurn, ae as summarizeToolCall, af as taskStartedNotice, ai as toolHeadline, ak as truncateCheckpointSummary, al as unsendAll, am as unsendLatest } from './plan-utils-Br8UAoiu.js';
|
|
2
|
+
import './Task-xqdxugt2.js';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
|
-
import './ModeResolver-
|
|
5
|
+
import './ModeResolver-ByNpC0EP.js';
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as IntegrationDisposal, M as ITerminalSession,
|
|
2
|
-
import { I as IFileSystem } from './IFileSystem-
|
|
1
|
+
import { O as IntegrationDisposal, M as ITerminalSession, aR as StructuredSessionCapability, ax as QueuedTaskMessage, aS as StructuredTurnEnd, aQ as StructuredEvent, k as ApprovalDecision, N as IWorktreeIsolation, P as IsolationAvailability, X as IsolationMergeResult, b9 as TreeSnapshot, Z as IsolationPruneResult, Y as IsolationOutcome, ay as RepairEvidence, $ as IsolationRun, aV as Task, aq as PreparedTask, Q as IsolationHandoff, J as IConfig } from './Task-xqdxugt2.mjs';
|
|
2
|
+
import { I as IFileSystem } from './IFileSystem-Qj2MWHn_.mjs';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
5
|
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as IntegrationDisposal, M as ITerminalSession,
|
|
2
|
-
import { I as IFileSystem } from './IFileSystem-
|
|
1
|
+
import { O as IntegrationDisposal, M as ITerminalSession, aR as StructuredSessionCapability, ax as QueuedTaskMessage, aS as StructuredTurnEnd, aQ as StructuredEvent, k as ApprovalDecision, N as IWorktreeIsolation, P as IsolationAvailability, X as IsolationMergeResult, b9 as TreeSnapshot, Z as IsolationPruneResult, Y as IsolationOutcome, ay as RepairEvidence, $ as IsolationRun, aV as Task, aq as PreparedTask, Q as IsolationHandoff, J as IConfig } from './Task-xqdxugt2.js';
|
|
2
|
+
import { I as IFileSystem } from './IFileSystem-DQEKyC6H.js';
|
|
3
3
|
import 'child_process';
|
|
4
4
|
import 'events';
|
|
5
5
|
|