@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.
Files changed (54) hide show
  1. package/README.md +1 -1
  2. package/dist/{IFileSystem-Qj2MWHn_.d.mts → IFileSystem-BnLh-_SK.d.mts} +1 -1
  3. package/dist/{IFileSystem-DQEKyC6H.d.ts → IFileSystem-DofiRcCo.d.ts} +1 -1
  4. package/dist/{ModeResolver-rqaY_4Ex.d.mts → ModeResolver-DZzJSdIU.d.mts} +3 -3
  5. package/dist/{ModeResolver-ByNpC0EP.d.ts → ModeResolver-DkMYf4uS.d.ts} +3 -3
  6. package/dist/{Task-xqdxugt2.d.mts → Task-BnLxkVQF.d.mts} +414 -22
  7. package/dist/{Task-xqdxugt2.d.ts → Task-BnLxkVQF.d.ts} +414 -22
  8. package/dist/{chunk-JRZPSNRO.mjs → chunk-LGQNXPBX.mjs} +10 -2
  9. package/dist/chunk-LGQNXPBX.mjs.map +1 -0
  10. package/dist/{chunk-N66ZHFGN.mjs → chunk-OYUSADFM.mjs} +11 -1
  11. package/dist/chunk-OYUSADFM.mjs.map +1 -0
  12. package/dist/{chunk-HPNUFBIT.mjs → chunk-V3JHS7AX.mjs} +9 -1
  13. package/dist/chunk-V3JHS7AX.mjs.map +1 -0
  14. package/dist/{chunk-I6U3PVHL.mjs → chunk-Y36NIASW.mjs} +255 -32
  15. package/dist/chunk-Y36NIASW.mjs.map +1 -0
  16. package/dist/{chunk-M4KXBEFJ.mjs → chunk-ZV5LDNCO.mjs} +44 -43
  17. package/dist/chunk-ZV5LDNCO.mjs.map +1 -0
  18. package/dist/index.d.mts +518 -238
  19. package/dist/index.d.ts +518 -238
  20. package/dist/index.js +3925 -1568
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.mjs +3525 -1393
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/order-labels.d.mts +16 -2
  25. package/dist/order-labels.d.ts +16 -2
  26. package/dist/order-labels.js +12 -2
  27. package/dist/order-labels.js.map +1 -1
  28. package/dist/order-labels.mjs +7 -3
  29. package/dist/{parsing-DDZ1rUYa.d.mts → parsing-B6ctfF80.d.mts} +24 -3
  30. package/dist/{parsing-COPG8-Ep.d.ts → parsing-ddZXZFP4.d.ts} +24 -3
  31. package/dist/parsing.d.mts +4 -3
  32. package/dist/parsing.d.ts +4 -3
  33. package/dist/parsing.js +42 -41
  34. package/dist/parsing.js.map +1 -1
  35. package/dist/parsing.mjs +3 -3
  36. package/dist/{plan-utils-Br8UAoiu.d.ts → plan-utils--kQRzSE-.d.ts} +251 -7
  37. package/dist/{plan-utils-DMgajMvd.d.mts → plan-utils-CKgNtDwQ.d.mts} +251 -7
  38. package/dist/plan-utils.d.mts +5 -3
  39. package/dist/plan-utils.d.ts +5 -3
  40. package/dist/plan-utils.js +313 -61
  41. package/dist/plan-utils.js.map +1 -1
  42. package/dist/plan-utils.mjs +46 -3
  43. package/dist/testing.d.mts +26 -5
  44. package/dist/testing.d.ts +26 -5
  45. package/dist/testing.js +62 -2
  46. package/dist/testing.js.map +1 -1
  47. package/dist/testing.mjs +62 -4
  48. package/dist/testing.mjs.map +1 -1
  49. package/package.json +4 -2
  50. package/dist/chunk-HPNUFBIT.mjs.map +0 -1
  51. package/dist/chunk-I6U3PVHL.mjs.map +0 -1
  52. package/dist/chunk-JRZPSNRO.mjs.map +0 -1
  53. package/dist/chunk-M4KXBEFJ.mjs.map +0 -1
  54. 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-marker verification; the model is never the tie-breaker |
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 { I as IApproval } from './Task-xqdxugt2.mjs';
1
+ import { L as IApproval } from './Task-BnLxkVQF.mjs';
2
2
 
3
3
  interface ToolOutcome {
4
4
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { I as IApproval } from './Task-xqdxugt2.js';
1
+ import { L as IApproval } from './Task-BnLxkVQF.js';
2
2
 
3
3
  interface ToolOutcome {
4
4
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { aG as RunnerId } from './Task-xqdxugt2.mjs';
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 auto' | 'Auto';
43
- /** `full`/`auto` name the levels; `on`/`off` are the toggle's old words for them. Null for anything else. */
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 { aG as RunnerId } from './Task-xqdxugt2.js';
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 auto' | 'Auto';
43
- /** `full`/`auto` name the levels; `on`/`off` are the toggle's old words for them. Null for anything else. */
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;