@ordewell/core 0.6.4 → 0.7.1
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/README.md +1 -1
- package/dist/{IFileSystem-Qj2MWHn_.d.mts → IFileSystem-BnLh-_SK.d.mts} +1 -1
- package/dist/{IFileSystem-DQEKyC6H.d.ts → IFileSystem-DofiRcCo.d.ts} +1 -1
- package/dist/{ModeResolver-rqaY_4Ex.d.mts → ModeResolver-DZzJSdIU.d.mts} +3 -3
- package/dist/{ModeResolver-ByNpC0EP.d.ts → ModeResolver-DkMYf4uS.d.ts} +3 -3
- package/dist/{Task-xqdxugt2.d.mts → Task-BnLxkVQF.d.mts} +414 -22
- package/dist/{Task-xqdxugt2.d.ts → Task-BnLxkVQF.d.ts} +414 -22
- package/dist/{chunk-JRZPSNRO.mjs → chunk-LGQNXPBX.mjs} +10 -2
- package/dist/chunk-LGQNXPBX.mjs.map +1 -0
- package/dist/{chunk-N66ZHFGN.mjs → chunk-OYUSADFM.mjs} +11 -1
- package/dist/chunk-OYUSADFM.mjs.map +1 -0
- package/dist/{chunk-HPNUFBIT.mjs → chunk-V3JHS7AX.mjs} +9 -1
- package/dist/chunk-V3JHS7AX.mjs.map +1 -0
- package/dist/{chunk-I6U3PVHL.mjs → chunk-Y36NIASW.mjs} +255 -32
- package/dist/chunk-Y36NIASW.mjs.map +1 -0
- package/dist/{chunk-M4KXBEFJ.mjs → chunk-ZV5LDNCO.mjs} +44 -43
- package/dist/chunk-ZV5LDNCO.mjs.map +1 -0
- package/dist/index.d.mts +518 -238
- package/dist/index.d.ts +518 -238
- package/dist/index.js +3925 -1568
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3525 -1393
- package/dist/index.mjs.map +1 -1
- package/dist/order-labels.d.mts +16 -2
- package/dist/order-labels.d.ts +16 -2
- package/dist/order-labels.js +12 -2
- package/dist/order-labels.js.map +1 -1
- package/dist/order-labels.mjs +7 -3
- package/dist/{parsing-DDZ1rUYa.d.mts → parsing-B6ctfF80.d.mts} +24 -3
- package/dist/{parsing-COPG8-Ep.d.ts → parsing-ddZXZFP4.d.ts} +24 -3
- package/dist/parsing.d.mts +4 -3
- package/dist/parsing.d.ts +4 -3
- package/dist/parsing.js +42 -41
- package/dist/parsing.js.map +1 -1
- package/dist/parsing.mjs +3 -3
- package/dist/{plan-utils-Br8UAoiu.d.ts → plan-utils--kQRzSE-.d.ts} +251 -7
- package/dist/{plan-utils-DMgajMvd.d.mts → plan-utils-CKgNtDwQ.d.mts} +251 -7
- package/dist/plan-utils.d.mts +5 -3
- package/dist/plan-utils.d.ts +5 -3
- package/dist/plan-utils.js +313 -61
- package/dist/plan-utils.js.map +1 -1
- package/dist/plan-utils.mjs +46 -3
- package/dist/testing.d.mts +26 -5
- package/dist/testing.d.ts +26 -5
- package/dist/testing.js +62 -2
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +62 -4
- package/dist/testing.mjs.map +1 -1
- package/package.json +4 -2
- package/dist/chunk-HPNUFBIT.mjs.map +0 -1
- package/dist/chunk-I6U3PVHL.mjs.map +0 -1
- package/dist/chunk-JRZPSNRO.mjs.map +0 -1
- package/dist/chunk-M4KXBEFJ.mjs.map +0 -1
- package/dist/chunk-N66ZHFGN.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ npm install @ordewell/core
|
|
|
20
20
|
| `PlanStore` | All plan-shaped state: the task tree, status sets, runner set |
|
|
21
21
|
| `Planner` | The read-only model that researches a repo and emits the plan |
|
|
22
22
|
| `TaskOrchestrator` | Pure scheduler — dependency order and parallelism |
|
|
23
|
-
| `VerdictEngine` | Completion
|
|
23
|
+
| `VerdictEngine` | Completion verification — the marker or the runner's `task_complete` call; the model is never the tie-breaker |
|
|
24
24
|
| `ModelResolver` / `ModeResolver` | Per-task model routing and mode resolution |
|
|
25
25
|
| `RunnerRegistry` | Built-in runners plus the plugin manifest engine |
|
|
26
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a$ as RunnerId } from './Task-BnLxkVQF.mjs';
|
|
2
2
|
|
|
3
3
|
interface RunnerModeInfo {
|
|
4
4
|
id: string;
|
|
@@ -39,8 +39,8 @@ declare function resolveDefaultMode(modes: RunnerModeInfo[] | undefined, autonom
|
|
|
39
39
|
*/
|
|
40
40
|
declare function filteredBuildModes(modes: RunnerModeInfo[], autonomousDefault: boolean): RunnerModeInfo[];
|
|
41
41
|
/** The user-facing name of the `autonomousMode` boolean's two states. */
|
|
42
|
-
declare function autonomyLevelLabel(autonomous: boolean): 'Full
|
|
43
|
-
/** `full`/`
|
|
42
|
+
declare function autonomyLevelLabel(autonomous: boolean): 'Full' | 'Guarded';
|
|
43
|
+
/** `full`/`guarded` name the levels; `on`/`off` and `auto` are older words for them. Null for anything else. */
|
|
44
44
|
declare function parseAutonomyLevel(arg: string | undefined): boolean | null;
|
|
45
45
|
declare function buildModeGuide(runnerModes: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): string;
|
|
46
46
|
declare function resolveTaskMode(emittedMode: string | undefined, runnerId: RunnerId, runnerModes: Record<RunnerId, RunnerModeInfo[]> | undefined, autonomousDefault?: boolean): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a$ as RunnerId } from './Task-BnLxkVQF.js';
|
|
2
2
|
|
|
3
3
|
interface RunnerModeInfo {
|
|
4
4
|
id: string;
|
|
@@ -39,8 +39,8 @@ declare function resolveDefaultMode(modes: RunnerModeInfo[] | undefined, autonom
|
|
|
39
39
|
*/
|
|
40
40
|
declare function filteredBuildModes(modes: RunnerModeInfo[], autonomousDefault: boolean): RunnerModeInfo[];
|
|
41
41
|
/** The user-facing name of the `autonomousMode` boolean's two states. */
|
|
42
|
-
declare function autonomyLevelLabel(autonomous: boolean): 'Full
|
|
43
|
-
/** `full`/`
|
|
42
|
+
declare function autonomyLevelLabel(autonomous: boolean): 'Full' | 'Guarded';
|
|
43
|
+
/** `full`/`guarded` name the levels; `on`/`off` and `auto` are older words for them. Null for anything else. */
|
|
44
44
|
declare function parseAutonomyLevel(arg: string | undefined): boolean | null;
|
|
45
45
|
declare function buildModeGuide(runnerModes: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): string;
|
|
46
46
|
declare function resolveTaskMode(emittedMode: string | undefined, runnerId: RunnerId, runnerModes: Record<RunnerId, RunnerModeInfo[]> | undefined, autonomousDefault?: boolean): string;
|