@ordewell/core 0.10.1 → 0.10.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.
- package/dist/{IFileSystem-BCJBHFwB.d.ts → IFileSystem-CyTIoiSn.d.ts} +1 -1
- package/dist/{IFileSystem-Bj6fy1cG.d.mts → IFileSystem-j0naIoAQ.d.mts} +1 -1
- package/dist/{IRunner-C7_SSpzG.d.ts → IRunner---PfQVdc.d.mts} +25 -20
- package/dist/{IRunner-hWAJC4hg.d.mts → IRunner-WwL-Bjqq.d.ts} +25 -20
- package/dist/{ModeResolver-u5ZhRC8x.d.ts → ModeResolver-CjQ7zqTN.d.mts} +1 -1
- package/dist/{ModeResolver-m1d8Cb-j.d.mts → ModeResolver-DrMU-5lw.d.ts} +1 -1
- package/dist/{Task-CxwnCJLi.d.mts → Task-AfA1m4qW.d.mts} +35 -7
- package/dist/{Task-CxwnCJLi.d.ts → Task-AfA1m4qW.d.ts} +35 -7
- package/dist/{chunk-DJAPDO6E.mjs → chunk-3LNZDBCX.mjs} +8 -7
- package/dist/chunk-3LNZDBCX.mjs.map +1 -0
- package/dist/{chunk-DNFT4SQG.mjs → chunk-4FEARWTS.mjs} +3 -3
- package/dist/{chunk-2IIRSBEQ.mjs → chunk-CIL3BQIF.mjs} +4 -2
- package/dist/chunk-CIL3BQIF.mjs.map +1 -0
- package/dist/{chunk-CH5IGWFS.mjs → chunk-UQGR3UCA.mjs} +35 -3
- package/dist/chunk-UQGR3UCA.mjs.map +1 -0
- package/dist/index.d.mts +49 -36
- package/dist/index.d.ts +49 -36
- package/dist/index.js +15816 -15877
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14846 -14941
- 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 +3 -2
- package/dist/parsing.js.map +1 -1
- package/dist/parsing.mjs +3 -3
- package/dist/{plan-utils-CKXdD1AD.d.mts → plan-utils-DL7yOuJs.d.mts} +39 -8
- package/dist/{plan-utils-B6yJdpgi.d.ts → plan-utils-gpeqV-Lp.d.ts} +39 -8
- package/dist/plan-utils.d.mts +4 -4
- package/dist/plan-utils.d.ts +4 -4
- package/dist/plan-utils.js +44 -0
- package/dist/plan-utils.js.map +1 -1
- package/dist/plan-utils.mjs +7 -3
- package/dist/testing.d.mts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +5 -1
- package/dist/chunk-2IIRSBEQ.mjs.map +0 -1
- package/dist/chunk-CH5IGWFS.mjs.map +0 -1
- package/dist/chunk-DJAPDO6E.mjs.map +0 -1
- /package/dist/{chunk-DNFT4SQG.mjs.map → chunk-4FEARWTS.mjs.map} +0 -0
package/dist/parsing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { a1 as RunnerId, ae as Task } from './Task-AfA1m4qW.mjs';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-CjQ7zqTN.mjs';
|
|
3
3
|
|
|
4
4
|
declare function parsePlanJson(raw: string, runners: RunnerId[], runnerModes?: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): Task[];
|
|
5
5
|
|
package/dist/parsing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { a1 as RunnerId, ae as Task } from './Task-AfA1m4qW.js';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-DrMU-5lw.js';
|
|
3
3
|
|
|
4
4
|
declare function parsePlanJson(raw: string, runners: RunnerId[], runnerModes?: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): Task[];
|
|
5
5
|
|
package/dist/parsing.js
CHANGED
|
@@ -57,7 +57,7 @@ function createTask(overrides = {}) {
|
|
|
57
57
|
outputSummary: overrides.outputSummary,
|
|
58
58
|
...overrides.attemptUsage ? { attemptUsage: structuredClone(overrides.attemptUsage) } : {},
|
|
59
59
|
assignedModel: overrides.assignedModel,
|
|
60
|
-
assignedRunner: overrides.assignedRunner ??
|
|
60
|
+
assignedRunner: overrides.assignedRunner ?? DEFAULT_RUNNERS[0],
|
|
61
61
|
taskMode: overrides.taskMode ?? "build",
|
|
62
62
|
autonomy: overrides.autonomy,
|
|
63
63
|
sliceType: overrides.sliceType,
|
|
@@ -83,6 +83,7 @@ function inheritedSkills(chosen, inherited) {
|
|
|
83
83
|
function opsFlag(value, type = "ai") {
|
|
84
84
|
return value === true && type === "ai" ? true : void 0;
|
|
85
85
|
}
|
|
86
|
+
var DEFAULT_RUNNERS = ["claude-code"];
|
|
86
87
|
function flattenTasksWithParents(tasks) {
|
|
87
88
|
const rows = [];
|
|
88
89
|
const walk = (t, parent, parentLabel) => {
|
|
@@ -372,7 +373,7 @@ function plannedTask(spec, catalog, at = {}) {
|
|
|
372
373
|
if (freshIds && plannerId) renamed.set(plannerId, id);
|
|
373
374
|
const type = raw.type === "user" || raw.type === "ai" ? raw.type : base.type ?? "ai";
|
|
374
375
|
const ai = type === "ai";
|
|
375
|
-
const assignedRunner = text(raw.assignedRunner) ?? base.assignedRunner ?? catalog.runners[0] ??
|
|
376
|
+
const assignedRunner = text(raw.assignedRunner) ?? base.assignedRunner ?? catalog.runners[0] ?? DEFAULT_RUNNERS[0];
|
|
376
377
|
const description = text(raw.description) ?? base.description ?? title;
|
|
377
378
|
if (raw.ops === true && !ai) errors.push({ taskId: id, field: "ops", message: `${where} ${opsPlacementRefusal(type, !!parent)}` });
|
|
378
379
|
if (raw.taskMode !== void 0) ignored.push({ taskId: id, field: "taskMode", message: `${where}: ${MODE_NOT_THE_PLANNERS}` });
|