@ordewell/core 0.10.4 → 0.10.6
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/{IRunner-D_UkkMbJ.d.ts → IFileSystem-C4_mpfze.d.ts} +159 -15
- package/dist/{IRunner-NtTHQgLR.d.mts → IFileSystem-DUgeWWQN.d.mts} +159 -15
- package/dist/{ModeResolver-wnTFsDnF.d.mts → ModeResolver-4qNjxcDs.d.mts} +1 -1
- package/dist/{ModeResolver-Dy3Ef6p-.d.ts → ModeResolver-DGK2rWHE.d.ts} +1 -1
- package/dist/{Task-DZs9eKgg.d.mts → Task-C0o4i3Nn.d.mts} +114 -13
- package/dist/{Task-DZs9eKgg.d.ts → Task-C0o4i3Nn.d.ts} +114 -13
- package/dist/{chunk-FH6M5QZG.mjs → chunk-DMG4ISUG.mjs} +1008 -49
- package/dist/chunk-DMG4ISUG.mjs.map +1 -0
- package/dist/{chunk-SM6BV6XS.mjs → chunk-EEE2GBLG.mjs} +116 -27
- package/dist/chunk-EEE2GBLG.mjs.map +1 -0
- package/dist/chunk-H7QX32BH.mjs +647 -0
- package/dist/chunk-H7QX32BH.mjs.map +1 -0
- package/dist/{chunk-645FALZX.mjs → chunk-LTHKFBKM.mjs} +4 -4
- package/dist/chunk-LTHKFBKM.mjs.map +1 -0
- package/dist/{chunk-OYUSADFM.mjs → chunk-NJGID6BG.mjs} +3 -1
- package/dist/chunk-NJGID6BG.mjs.map +1 -0
- package/dist/index.d.mts +498 -1689
- package/dist/index.d.ts +498 -1689
- package/dist/index.js +4108 -2082
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3380 -1639
- package/dist/index.mjs.map +1 -1
- package/dist/parsing.d.mts +2 -2
- package/dist/parsing.d.ts +2 -2
- package/dist/parsing.js +231 -75
- package/dist/parsing.js.map +1 -1
- package/dist/parsing.mjs +3 -3
- package/dist/plan-utils.d.mts +20 -4
- package/dist/plan-utils.d.ts +20 -4
- package/dist/plan-utils.js +335 -88
- package/dist/plan-utils.js.map +1 -1
- package/dist/plan-utils.mjs +43 -19
- package/dist/{plan-utils-CtKceSsQ.d.mts → runSettingsText-BgOmLxdw.d.mts} +2242 -224
- package/dist/{plan-utils-POIz5d8z.d.ts → runSettingsText-BgXvajj2.d.ts} +2242 -224
- package/dist/testing.d.mts +5 -3
- package/dist/testing.d.ts +5 -3
- package/dist/testing.js +7 -0
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +7 -2
- package/dist/testing.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/IFileSystem-_effm8-b.d.ts +0 -78
- package/dist/IFileSystem-vyqMdL-x.d.mts +0 -78
- package/dist/chunk-645FALZX.mjs.map +0 -1
- package/dist/chunk-A57ITQE7.mjs +0 -1378
- package/dist/chunk-A57ITQE7.mjs.map +0 -1
- package/dist/chunk-FH6M5QZG.mjs.map +0 -1
- package/dist/chunk-OYUSADFM.mjs.map +0 -1
- package/dist/chunk-SM6BV6XS.mjs.map +0 -1
package/dist/parsing.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parsePlanJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTHKFBKM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PlanParseError,
|
|
6
6
|
extractJsonObject,
|
|
7
7
|
stripModelNoise
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-H7QX32BH.mjs";
|
|
9
|
+
import "./chunk-EEE2GBLG.mjs";
|
|
10
10
|
|
|
11
11
|
// src/services/PartialPlanParser.ts
|
|
12
12
|
function parsePartialPlan(partial) {
|
package/dist/plan-utils.d.mts
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { a as AttemptUsage, D as DEFAULT_RUNNERS, M as ModelUsage, O as PlanUsage,
|
|
3
|
-
import './
|
|
4
|
-
import './IRunner-NtTHQgLR.mjs';
|
|
1
|
+
export { e as ApprovalBlock, g as ApprovalStatus, l as AssignmentIssue, m as AssignmentScope, B as BlockingSubject, p as CHECKPOINT_TRUNCATE_LENGTH, u as CommandBlock, w as CommandStatus, y as CompactionBlock, H as ConversationInput, L as ConversationView, P as DiffRow, Q as DiffRowKind, R as DiffStat, S as DisplayBlock, T as EMPTY_CONVERSATION, U as EMPTY_HOLD, V as EMPTY_RUN, W as EMPTY_TASK_LOG, X as EMPTY_TASK_LOG_FOLLOW, a0 as GatedConversation, af as LocalEntry, ag as MarkdownToken, aj as MessageBlock, ak as MessageRole, am as NOT_STARTED, an as NO_TURN, ao as NewTaskFields, au as OutputPreview, ay as PlanBlock, az as PlanMarkerStatus, aU as PromptHold, aW as RefTask, b8 as RunnerLoadedBlock, bb as SUPERVISOR_LEVEL_LABEL, bt as SkillLoadBlock, bu as SkillToken, bz as SubagentBlock, bA as SubagentChild, bB as SubagentStatus, bL as TakenPrompt, bP as TaskLogBatch, bR as TaskLogFollow, bS as TaskLogFollowInput, bU as TaskLogView, b$ as TaskPlacement, c3 as TaskRef, c4 as TaskRowAction, c5 as TaskRowContext, c6 as TaskRowIsolation, c7 as TaskRowKind, c8 as TaskRowPlacement, c9 as TaskRowSubject, ca as TaskRowUsage, cb as TaskRowView, cd as TaskStatusKind, ce as ThinkingDisplayBlock, cf as ToolBlock, cg as ToolHeadline, ch as ToolStatus, ci as TreeTask, cj as TurnGate, ck as UsageBlock, cm as WAITS_FOR_APPROVAL_LABEL, ct as aheadOfDraft, cv as approvalLabel, cw as assignmentIssue, cx as assignmentIssueText, cA as awaitingLabel, cB as blockedByLabel, cC as blockingFailures, cD as canMergeTasks, cE as canSetDependencies, cF as canSplitTask, cG as capConflictFiles, cK as dependencyCandidates, cL as dependentsNotice, cM as dependentsOf, cO as diffRows, cP as diffStat, cQ as diffSummary, cS as drainNext, cU as followTaskLog, cV as followTurn, cW as fromTranscript, cY as hasHiddenDetail, cZ as holdPrompt, c_ as isTaskRunning, c$ as loadedSkillTokens, d0 as markAction, d1 as markRequestFor, d2 as markdownHtml, d3 as markdownTokens, d4 as namedRepos, d5 as newTaskFields, d6 as opsEditable, d7 as outputLines, d8 as outputPreview, d9 as parseCount, dd as pastGateConfirmation, di as reconcileApprovals, dj as reduceConversation, dl as reduceTaskLog, dn as replayTaskLog, dq as resolveTaskRef, dr as resolveUserTaskRef, ds as resumeLabel, dt as resumeTime, dv as runnerToolSubject, dz as skillTokens, dA as skippedLabel, dB as stopTurn, dC as subtreeIds, dD as summarizeToolCall, dH as takeAt, dJ as taskOrderLabel, dK as taskPlacement, dM as taskRef, dN as taskRefOf, dO as taskRowActions, dP as taskRowView, dQ as taskStartedNotice, dR as taskStatusKind, dU as titledRefs, dV as titledTaskRef, dW as titledTaskRefOf, dY as toolHeadline, d_ as truncateCheckpointSummary, d$ as unsendAll, e0 as unsendLatest, e1 as walkPlan } from './runSettingsText-BgOmLxdw.mjs';
|
|
2
|
+
export { a as AttemptUsage, D as DEFAULT_RUNNERS, M as ModelUsage, O as PlanUsage, R as PlannerUsage, a5 as RunnerSessionCost, as as TaskUsageSummary, au as UsageLine, av as UsageRecord, aw as UsageTotals, az as addAttemptUsage, aA as addModelUsage, aB as addPlannerUsage, aC as addUsage, aD as addUsageTotals, aE as countedSessionCost, aI as endAttemptUsage, aM as isMeasured, aQ as partedPromptUsage, aR as pausedOnLimit, aS as planUsage, aT as plannerContextFill, aV as resumedSessionWindow, aW as startAttemptUsage, aX as taskUsageSummary, aY as usageLine } from './Task-C0o4i3Nn.mjs';
|
|
3
|
+
import './IFileSystem-DUgeWWQN.mjs';
|
|
5
4
|
import 'child_process';
|
|
6
5
|
import 'zod/v4';
|
|
6
|
+
import './ModeResolver-4qNjxcDs.mjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The one rule for an effort and a model: the effort a task keeps on a model,
|
|
10
|
+
* whether it was written with it or carried from the model before. Kept where
|
|
11
|
+
* the model offers it; otherwise mapped to the nearest rung the model
|
|
12
|
+
* supports (so a Claude-style "xhigh" on a low/medium/high model becomes
|
|
13
|
+
* "high"); undefined — the runner's own default — when no mapping exists or
|
|
14
|
+
* the model offers no levels, which is how a model discovery does not list
|
|
15
|
+
* reads (`variants` empty). Core's resolver and every surface's model picker
|
|
16
|
+
* call it, so a model change lands on the same effort wherever it is made.
|
|
17
|
+
*/
|
|
18
|
+
declare function clampThinkingEffort(effort: string | undefined, variants: {
|
|
19
|
+
id: string;
|
|
20
|
+
}[]): string | undefined;
|
|
21
|
+
|
|
22
|
+
export { clampThinkingEffort };
|
package/dist/plan-utils.d.ts
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { a as AttemptUsage, D as DEFAULT_RUNNERS, M as ModelUsage, O as PlanUsage,
|
|
3
|
-
import './
|
|
4
|
-
import './IRunner-D_UkkMbJ.js';
|
|
1
|
+
export { e as ApprovalBlock, g as ApprovalStatus, l as AssignmentIssue, m as AssignmentScope, B as BlockingSubject, p as CHECKPOINT_TRUNCATE_LENGTH, u as CommandBlock, w as CommandStatus, y as CompactionBlock, H as ConversationInput, L as ConversationView, P as DiffRow, Q as DiffRowKind, R as DiffStat, S as DisplayBlock, T as EMPTY_CONVERSATION, U as EMPTY_HOLD, V as EMPTY_RUN, W as EMPTY_TASK_LOG, X as EMPTY_TASK_LOG_FOLLOW, a0 as GatedConversation, af as LocalEntry, ag as MarkdownToken, aj as MessageBlock, ak as MessageRole, am as NOT_STARTED, an as NO_TURN, ao as NewTaskFields, au as OutputPreview, ay as PlanBlock, az as PlanMarkerStatus, aU as PromptHold, aW as RefTask, b8 as RunnerLoadedBlock, bb as SUPERVISOR_LEVEL_LABEL, bt as SkillLoadBlock, bu as SkillToken, bz as SubagentBlock, bA as SubagentChild, bB as SubagentStatus, bL as TakenPrompt, bP as TaskLogBatch, bR as TaskLogFollow, bS as TaskLogFollowInput, bU as TaskLogView, b$ as TaskPlacement, c3 as TaskRef, c4 as TaskRowAction, c5 as TaskRowContext, c6 as TaskRowIsolation, c7 as TaskRowKind, c8 as TaskRowPlacement, c9 as TaskRowSubject, ca as TaskRowUsage, cb as TaskRowView, cd as TaskStatusKind, ce as ThinkingDisplayBlock, cf as ToolBlock, cg as ToolHeadline, ch as ToolStatus, ci as TreeTask, cj as TurnGate, ck as UsageBlock, cm as WAITS_FOR_APPROVAL_LABEL, ct as aheadOfDraft, cv as approvalLabel, cw as assignmentIssue, cx as assignmentIssueText, cA as awaitingLabel, cB as blockedByLabel, cC as blockingFailures, cD as canMergeTasks, cE as canSetDependencies, cF as canSplitTask, cG as capConflictFiles, cK as dependencyCandidates, cL as dependentsNotice, cM as dependentsOf, cO as diffRows, cP as diffStat, cQ as diffSummary, cS as drainNext, cU as followTaskLog, cV as followTurn, cW as fromTranscript, cY as hasHiddenDetail, cZ as holdPrompt, c_ as isTaskRunning, c$ as loadedSkillTokens, d0 as markAction, d1 as markRequestFor, d2 as markdownHtml, d3 as markdownTokens, d4 as namedRepos, d5 as newTaskFields, d6 as opsEditable, d7 as outputLines, d8 as outputPreview, d9 as parseCount, dd as pastGateConfirmation, di as reconcileApprovals, dj as reduceConversation, dl as reduceTaskLog, dn as replayTaskLog, dq as resolveTaskRef, dr as resolveUserTaskRef, ds as resumeLabel, dt as resumeTime, dv as runnerToolSubject, dz as skillTokens, dA as skippedLabel, dB as stopTurn, dC as subtreeIds, dD as summarizeToolCall, dH as takeAt, dJ as taskOrderLabel, dK as taskPlacement, dM as taskRef, dN as taskRefOf, dO as taskRowActions, dP as taskRowView, dQ as taskStartedNotice, dR as taskStatusKind, dU as titledRefs, dV as titledTaskRef, dW as titledTaskRefOf, dY as toolHeadline, d_ as truncateCheckpointSummary, d$ as unsendAll, e0 as unsendLatest, e1 as walkPlan } from './runSettingsText-BgXvajj2.js';
|
|
2
|
+
export { a as AttemptUsage, D as DEFAULT_RUNNERS, M as ModelUsage, O as PlanUsage, R as PlannerUsage, a5 as RunnerSessionCost, as as TaskUsageSummary, au as UsageLine, av as UsageRecord, aw as UsageTotals, az as addAttemptUsage, aA as addModelUsage, aB as addPlannerUsage, aC as addUsage, aD as addUsageTotals, aE as countedSessionCost, aI as endAttemptUsage, aM as isMeasured, aQ as partedPromptUsage, aR as pausedOnLimit, aS as planUsage, aT as plannerContextFill, aV as resumedSessionWindow, aW as startAttemptUsage, aX as taskUsageSummary, aY as usageLine } from './Task-C0o4i3Nn.js';
|
|
3
|
+
import './IFileSystem-C4_mpfze.js';
|
|
5
4
|
import 'child_process';
|
|
6
5
|
import 'zod/v4';
|
|
6
|
+
import './ModeResolver-DGK2rWHE.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The one rule for an effort and a model: the effort a task keeps on a model,
|
|
10
|
+
* whether it was written with it or carried from the model before. Kept where
|
|
11
|
+
* the model offers it; otherwise mapped to the nearest rung the model
|
|
12
|
+
* supports (so a Claude-style "xhigh" on a low/medium/high model becomes
|
|
13
|
+
* "high"); undefined — the runner's own default — when no mapping exists or
|
|
14
|
+
* the model offers no levels, which is how a model discovery does not list
|
|
15
|
+
* reads (`variants` empty). Core's resolver and every surface's model picker
|
|
16
|
+
* call it, so a model change lands on the same effort wherever it is made.
|
|
17
|
+
*/
|
|
18
|
+
declare function clampThinkingEffort(effort: string | undefined, variants: {
|
|
19
|
+
id: string;
|
|
20
|
+
}[]): string | undefined;
|
|
21
|
+
|
|
22
|
+
export { clampThinkingEffort };
|