@ordewell/core 0.8.0 → 0.8.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 +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ dependencies, shared by the CLI, the terminal UI, the VS Code extension and the
|
|
|
5
5
|
local API server.
|
|
6
6
|
|
|
7
7
|
This package is published so those surfaces can depend on it. It has no CLI of
|
|
8
|
-
its own
|
|
8
|
+
its own. If you want to *use* Ordewell, install
|
|
9
9
|
**[@ordewell/cli](https://www.npmjs.com/package/@ordewell/cli)** instead.
|
|
10
10
|
|
|
11
11
|
```bash
|
|
@@ -16,11 +16,11 @@ npm install @ordewell/core
|
|
|
16
16
|
|
|
17
17
|
| Module | Responsibility |
|
|
18
18
|
| --- | --- |
|
|
19
|
-
| `Session` | One plan's full lifecycle
|
|
19
|
+
| `Session` | One plan's full lifecycle: generation, execution, mutation, persistence |
|
|
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
|
-
| `TaskOrchestrator` | Pure scheduler
|
|
23
|
-
| `VerdictEngine` | Completion verification
|
|
22
|
+
| `TaskOrchestrator` | Pure scheduler: dependency order and parallelism |
|
|
23
|
+
| `VerdictEngine` | Completion verification from the runner's attempt-bound `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 runner manifests |
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ Subpath exports: `@ordewell/core/parsing`, `/plan-utils`, `/testing`.
|
|
|
32
32
|
## Stability
|
|
33
33
|
|
|
34
34
|
Pre-1.0. The surfaces in this monorepo are the intended consumers, and the API
|
|
35
|
-
changes with them
|
|
35
|
+
changes with them. Pin an exact version if you depend on it directly.
|
|
36
36
|
|
|
37
37
|
The domain vocabulary these names come from is defined in
|
|
38
38
|
[CONTEXT.md](https://github.com/ordewell/ordewell/blob/main/CONTEXT.md).
|
package/dist/index.d.mts
CHANGED
|
@@ -5905,7 +5905,7 @@ declare function sanitizeSlug(raw: string): string;
|
|
|
5905
5905
|
declare function savePrdMarkdown(workspace: string, slug: string, markdown: string): string;
|
|
5906
5906
|
|
|
5907
5907
|
/** How many AI tasks may run at once: `ORDEWELL_MAX_PARALLEL`, `/parallel`, `ordewell.maxParallelSessions`. */
|
|
5908
|
-
declare const DEFAULT_MAX_PARALLEL =
|
|
5908
|
+
declare const DEFAULT_MAX_PARALLEL = 5;
|
|
5909
5909
|
/**
|
|
5910
5910
|
* A usable limit from what a user typed or a setting holds: any whole number
|
|
5911
5911
|
* of at least 1 — there is no ceiling, the machine and the runners' own rate
|
package/dist/index.d.ts
CHANGED
|
@@ -5905,7 +5905,7 @@ declare function sanitizeSlug(raw: string): string;
|
|
|
5905
5905
|
declare function savePrdMarkdown(workspace: string, slug: string, markdown: string): string;
|
|
5906
5906
|
|
|
5907
5907
|
/** How many AI tasks may run at once: `ORDEWELL_MAX_PARALLEL`, `/parallel`, `ordewell.maxParallelSessions`. */
|
|
5908
|
-
declare const DEFAULT_MAX_PARALLEL =
|
|
5908
|
+
declare const DEFAULT_MAX_PARALLEL = 5;
|
|
5909
5909
|
/**
|
|
5910
5910
|
* A usable limit from what a user typed or a setting holds: any whole number
|
|
5911
5911
|
* of at least 1 — there is no ceiling, the machine and the runners' own rate
|
package/dist/index.js
CHANGED
|
@@ -6455,7 +6455,7 @@ function configuredProviders(config) {
|
|
|
6455
6455
|
}
|
|
6456
6456
|
|
|
6457
6457
|
// src/utils/maxParallel.ts
|
|
6458
|
-
var DEFAULT_MAX_PARALLEL =
|
|
6458
|
+
var DEFAULT_MAX_PARALLEL = 5;
|
|
6459
6459
|
function parseMaxParallel(value) {
|
|
6460
6460
|
const text2 = String(value ?? "").trim();
|
|
6461
6461
|
const n = typeof value === "number" ? value : Number(text2);
|