@orkestrel/scaffold 0.0.138 → 0.0.140
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/agents/skills/orkestrel-parallel/scripts/lane.js +489 -23
- package/dist/bin/main.js +89 -29
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-parallel/scripts/lane.ts +628 -41
- package/dist/host/claude/agents/orkestrel.md +52 -52
- package/dist/host/guides/abort.md +2 -0
- package/dist/host/guides/browser.md +1 -1
- package/dist/host/guides/contract.md +314 -210
- package/dist/host/guides/guide.md +10 -2
- package/dist/host/guides/mcp.md +9 -9
- package/dist/host/guides/middleware.md +474 -259
- package/dist/host/guides/probe.md +1 -2
- package/dist/host/guides/router.md +282 -165
- package/dist/host/guides/scaffold.md +27 -18
- package/dist/host/guides/server.md +419 -183
- package/dist/host/manifest.json +14 -14
- package/dist/host/scripts/browsers.sh +0 -0
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/npm.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/src/core/index.cjs +17 -17
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.js +17 -17
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +6 -24
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +1 -1
- package/dist/src/server/index.d.ts +1 -1
- package/dist/src/server/index.js +7 -25
- package/dist/src/server/index.js.map +1 -1
- package/package.json +14 -14
|
@@ -43,58 +43,58 @@ Treat generated package identifiers, versions, layers, and dependency ranges as
|
|
|
43
43
|
|
|
44
44
|
| Package | Version | Layer | Runtime dependencies | Peer dependencies |
|
|
45
45
|
| ----------------------- | --------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
46
|
-
| `@orkestrel/abort` | `0.0.
|
|
47
|
-
| `@orkestrel/agent` | `0.0.
|
|
48
|
-
| `@orkestrel/brief` | `0.0.
|
|
49
|
-
| `@orkestrel/browser` | `0.0.
|
|
50
|
-
| `@orkestrel/budget` | `0.0.
|
|
51
|
-
| `@orkestrel/capture` | `0.0.
|
|
52
|
-
| `@orkestrel/codec` | `0.0.
|
|
53
|
-
| `@orkestrel/console` | `0.0.
|
|
54
|
-
| `@orkestrel/contract` | `0.0.
|
|
55
|
-
| `@orkestrel/csv` | `0.0.
|
|
56
|
-
| `@orkestrel/database` | `0.0.
|
|
57
|
-
| `@orkestrel/emitter` | `0.0.
|
|
58
|
-
| `@orkestrel/form` | `0.0.
|
|
59
|
-
| `@orkestrel/guide` | `0.0.
|
|
60
|
-
| `@orkestrel/html` | `0.0.
|
|
61
|
-
| `@orkestrel/indexeddb` | `0.0.
|
|
62
|
-
| `@orkestrel/interpret` | `0.0.
|
|
63
|
-
| `@orkestrel/jsonrpc` | `0.0.
|
|
64
|
-
| `@orkestrel/lsp` | `0.0.
|
|
65
|
-
| `@orkestrel/markdown` | `0.0.
|
|
66
|
-
| `@orkestrel/mcp` | `0.0.
|
|
67
|
-
| `@orkestrel/middleware` | `0.0.
|
|
68
|
-
| `@orkestrel/msg` | `0.0.
|
|
69
|
-
| `@orkestrel/ndjson` | `0.0.
|
|
70
|
-
| `@orkestrel/ollama` | `0.0.
|
|
71
|
-
| `@orkestrel/pool` | `0.0.
|
|
72
|
-
| `@orkestrel/probe` | `0.0.
|
|
73
|
-
| `@orkestrel/process` | `0.0.
|
|
74
|
-
| `@orkestrel/program` | `0.0.
|
|
75
|
-
| `@orkestrel/qualifier` | `0.0.
|
|
76
|
-
| `@orkestrel/queue` | `0.0.
|
|
77
|
-
| `@orkestrel/rater` | `0.0.
|
|
78
|
-
| `@orkestrel/reason` | `0.0.
|
|
79
|
-
| `@orkestrel/relation` | `0.0.
|
|
80
|
-
| `@orkestrel/router` | `0.0.
|
|
81
|
-
| `@orkestrel/scaffold` | `0.0.
|
|
82
|
-
| `@orkestrel/sea` | `0.0.
|
|
83
|
-
| `@orkestrel/server` | `0.0.
|
|
84
|
-
| `@orkestrel/sqlite` | `0.0.
|
|
85
|
-
| `@orkestrel/sse` | `0.0.
|
|
86
|
-
| `@orkestrel/study` | `0.0.
|
|
87
|
-
| `@orkestrel/table` | `0.0.
|
|
88
|
-
| `@orkestrel/template` | `0.0.
|
|
89
|
-
| `@orkestrel/terminal` | `0.0.
|
|
90
|
-
| `@orkestrel/test` | `0.0.
|
|
91
|
-
| `@orkestrel/timeout` | `0.0.
|
|
92
|
-
| `@orkestrel/tool` | `0.0.
|
|
93
|
-
| `@orkestrel/toolbox` | `0.0.
|
|
94
|
-
| `@orkestrel/websocket` | `0.0.
|
|
95
|
-
| `@orkestrel/worker` | `0.0.
|
|
96
|
-
| `@orkestrel/workflow` | `0.0.
|
|
97
|
-
| `@orkestrel/workspace` | `0.0.
|
|
46
|
+
| `@orkestrel/abort` | `0.0.19` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
47
|
+
| `@orkestrel/agent` | `0.0.46` | L5 | `@orkestrel/tool` `^0.0.25`, `@orkestrel/abort` `^0.0.19`, `@orkestrel/queue` `^0.0.25`, `@orkestrel/budget` `^0.0.20`, `@orkestrel/ndjson` `^0.0.19`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28`, `@orkestrel/workflow` `^0.0.31`, `@orkestrel/workspace` `^0.0.21` | |
|
|
48
|
+
| `@orkestrel/brief` | `0.0.20` | L4 | `@orkestrel/reason` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/interpret` `^0.0.25` | |
|
|
49
|
+
| `@orkestrel/browser` | `0.0.35` | L5 | `@orkestrel/mcp` `^0.0.45`, `@orkestrel/html` `^0.0.18`, `@orkestrel/pool` `^0.0.23`, `@orkestrel/tool` `^0.0.25`, `@orkestrel/codec` `^0.0.12`, `@orkestrel/router` `^0.0.24`, `@orkestrel/server` `^0.0.30`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/markdown` `^0.0.23`, `@orkestrel/websocket` `^0.0.21` | |
|
|
50
|
+
| `@orkestrel/budget` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
51
|
+
| `@orkestrel/capture` | `0.0.11` | L3 | `@orkestrel/process` `^0.0.22`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26` | `vite` `^8.3.8`, `vitest` `^5.1.0`, `playwright` `^1.65.0`, `@orkestrel/test` `~0.0.41`, `@vitest/browser-playwright` `^5.0.5` |
|
|
52
|
+
| `@orkestrel/codec` | `0.0.12` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
53
|
+
| `@orkestrel/console` | `0.0.22` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
54
|
+
| `@orkestrel/contract` | `0.0.26` | L0 | | |
|
|
55
|
+
| `@orkestrel/csv` | `0.0.16` | L2 | `@orkestrel/codec` `^0.0.12`, `@orkestrel/contract` `^0.0.26` | |
|
|
56
|
+
| `@orkestrel/database` | `0.0.28` | L2 | `@orkestrel/sqlite` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/indexeddb` `^0.0.20` | |
|
|
57
|
+
| `@orkestrel/emitter` | `0.0.18` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
58
|
+
| `@orkestrel/form` | `0.0.20` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
59
|
+
| `@orkestrel/guide` | `0.0.33` | L3 | `@orkestrel/contract` `^0.0.26`, `@orkestrel/markdown` `^0.0.23` | |
|
|
60
|
+
| `@orkestrel/html` | `0.0.18` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
61
|
+
| `@orkestrel/indexeddb` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
62
|
+
| `@orkestrel/interpret` | `0.0.25` | L3 | `@orkestrel/reason` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/template` `^0.0.16` | |
|
|
63
|
+
| `@orkestrel/jsonrpc` | `0.0.5` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
64
|
+
| `@orkestrel/lsp` | `0.0.17` | L3 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/jsonrpc` `^0.0.5`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26` | |
|
|
65
|
+
| `@orkestrel/markdown` | `0.0.23` | L2 | `@orkestrel/html` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
66
|
+
| `@orkestrel/mcp` | `0.0.45` | L4 | `@orkestrel/sse` `^0.0.16`, `@orkestrel/tool` `^0.0.25`, `@orkestrel/codec` `^0.0.12`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/jsonrpc` `^0.0.5`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/websocket` `^0.0.21` | `@orkestrel/router` `^0.0.24`, `@orkestrel/server` `^0.0.30` |
|
|
67
|
+
| `@orkestrel/middleware` | `0.0.36` | L4 | `@orkestrel/budget` `^0.0.20`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26` | `@orkestrel/router` `^0.0.24`, `@orkestrel/server` `^0.0.30`, `@orkestrel/database` `^0.0.28` |
|
|
68
|
+
| `@orkestrel/msg` | `0.0.19` | L2 | `@orkestrel/codec` `^0.0.12`, `@orkestrel/contract` `^0.0.26` | |
|
|
69
|
+
| `@orkestrel/ndjson` | `0.0.19` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
70
|
+
| `@orkestrel/ollama` | `0.0.40` | L6 | `@orkestrel/tool` `^0.0.25`, `@orkestrel/agent` `^0.0.46`, `@orkestrel/budget` `^0.0.20`, `@orkestrel/ndjson` `^0.0.19`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26` | |
|
|
71
|
+
| `@orkestrel/pool` | `0.0.23` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
72
|
+
| `@orkestrel/probe` | `0.0.32` | L5 | `@orkestrel/lsp` `^0.0.17`, `@orkestrel/mcp` `^0.0.45`, `@orkestrel/pool` `^0.0.23`, `@orkestrel/tool` `^0.0.25`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/process` `^0.0.22`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26` | `vitest` `^4.1.12 \|\| ^5.1.0`, `typescript` `^6.0.3 \|\| ^7.0.2` |
|
|
73
|
+
| `@orkestrel/process` | `0.0.22` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
74
|
+
| `@orkestrel/program` | `0.0.23` | L4 | `@orkestrel/rater` `^0.0.24`, `@orkestrel/reason` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/qualifier` `^0.0.24` | |
|
|
75
|
+
| `@orkestrel/qualifier` | `0.0.24` | L3 | `@orkestrel/reason` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
76
|
+
| `@orkestrel/queue` | `0.0.25` | L3 | `@orkestrel/abort` `^0.0.19`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
77
|
+
| `@orkestrel/rater` | `0.0.24` | L3 | `@orkestrel/reason` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
78
|
+
| `@orkestrel/reason` | `0.0.20` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
79
|
+
| `@orkestrel/relation` | `0.0.26` | L3 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
80
|
+
| `@orkestrel/router` | `0.0.24` | L2 | `@orkestrel/abort` `^0.0.19`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
81
|
+
| `@orkestrel/scaffold` | `0.0.139` | L3 | `@orkestrel/console` `^0.0.21`, `@orkestrel/emitter` `^0.0.17`, `@orkestrel/process` `^0.0.21`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/markdown` `^0.0.22`, `@orkestrel/template` `^0.0.15` | |
|
|
82
|
+
| `@orkestrel/sea` | `0.0.25` | L3 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26` | |
|
|
83
|
+
| `@orkestrel/server` | `0.0.30` | L3 | `@orkestrel/abort` `^0.0.19`, `@orkestrel/codec` `^0.0.12`, `@orkestrel/router` `^0.0.24`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26` | |
|
|
84
|
+
| `@orkestrel/sqlite` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
85
|
+
| `@orkestrel/sse` | `0.0.16` | L2 | `@orkestrel/codec` `^0.0.12`, `@orkestrel/contract` `^0.0.26` | |
|
|
86
|
+
| `@orkestrel/study` | `0.0.22` | L7 | `@orkestrel/tool` `^0.0.25`, `@orkestrel/abort` `^0.0.19`, `@orkestrel/agent` `^0.0.46`, `@orkestrel/budget` `^0.0.20`, `@orkestrel/ollama` `^0.0.40`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26` | |
|
|
87
|
+
| `@orkestrel/table` | `0.0.19` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
88
|
+
| `@orkestrel/template` | `0.0.16` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
89
|
+
| `@orkestrel/terminal` | `0.0.28` | L3 | `@orkestrel/sse` `^0.0.16`, `@orkestrel/form` `^0.0.20`, `@orkestrel/console` `^0.0.22`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
90
|
+
| `@orkestrel/test` | `0.0.44` | L1 | `@orkestrel/contract` `^0.0.26` | `vitest` `^5.1.0`, `playwright` `^1.65.0` |
|
|
91
|
+
| `@orkestrel/timeout` | `0.0.19` | L1 | `@orkestrel/contract` `^0.0.26` | |
|
|
92
|
+
| `@orkestrel/tool` | `0.0.25` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
93
|
+
| `@orkestrel/toolbox` | `0.0.35` | L6 | `@orkestrel/form` `^0.0.20`, `@orkestrel/tool` `^0.0.25`, `@orkestrel/agent` `^0.0.46`, `@orkestrel/server` `^0.0.30`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28`, `@orkestrel/relation` `^0.0.26`, `@orkestrel/terminal` `^0.0.28`, `@orkestrel/workflow` `^0.0.31`, `@orkestrel/workspace` `^0.0.21` | |
|
|
94
|
+
| `@orkestrel/websocket` | `0.0.21` | L2 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26` | |
|
|
95
|
+
| `@orkestrel/worker` | `0.0.25` | L4 | `@orkestrel/pool` `^0.0.23`, `@orkestrel/queue` `^0.0.25`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
96
|
+
| `@orkestrel/workflow` | `0.0.31` | L4 | `@orkestrel/abort` `^0.0.19`, `@orkestrel/queue` `^0.0.25`, `@orkestrel/budget` `^0.0.20`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/timeout` `^0.0.19`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
97
|
+
| `@orkestrel/workspace` | `0.0.21` | L3 | `@orkestrel/emitter` `^0.0.18`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/database` `^0.0.28` | |
|
|
98
98
|
|
|
99
99
|
<!-- /orkestrel:catalog -->
|
|
100
100
|
|
|
@@ -28,6 +28,8 @@ abort.abort() // cancels the in-flight fetch through the native signal; `aborted
|
|
|
28
28
|
|
|
29
29
|
The `signal` is a plain `AbortSignal`, so it drops into anything that takes one. Call `abort()` to cancel and `abort(reason)` to attach a value the cancelled work can read off `signal.reason`. Aborting is idempotent — the first call wins, and a second is a safe no-op. Pass a parent `signal` to link cancellation: the child's `signal` then fires when the parent aborts, so one cancellation cascades to every linked handle (through `AbortSignal.any`, no listener bookkeeping). Pass `id` to label a handle for tracing, or let it default to a random UUID.
|
|
30
30
|
|
|
31
|
+
The `signal` option links through `AbortSignal.any`. Node 22 keeps about 176 B per link for the lifetime of a run-lived parent, where Node 24.22.3 and Chromium 153 keep none. Router 0.0.23's `buildRequest` avoids the retention with a per-use controller whose listener is removed when the use ends.
|
|
32
|
+
|
|
31
33
|
Construction is a strict JavaScript boundary. `validateAbortOptions` normalizes omitted options to a fresh empty object; otherwise it requires a plain record, reads `id` and `signal` exactly once inside a contained boundary, and returns a fresh copy omitting absent keys. A provided `id` must be a string and a provided parent `signal` must be native. Invalid values fail immediately with a coded `ContractError`: malformed or unreadable options use `bound`, a nonstring id uses `literal`, and a nonnative option signal uses `placement`, with exact `options`, `options.id`, or `options.signal` context, limits, safe previews, and the originating cause for unreadable records. Direct `linkSignal` calls independently validate `own` and `parent` as native signals with `placement` context. An `undefined` `id` still generates a UUID, while an empty string remains a valid explicit id.
|
|
32
34
|
|
|
33
35
|
### Factories
|
|
@@ -273,7 +273,7 @@ The core supplies the entities a browser session and an agent use. Its host-spec
|
|
|
273
273
|
| `BROWSER_DEFAULT_VIEWPORT_HEIGHT` | const | `720` | Sets the default viewport height, `720` pixels. |
|
|
274
274
|
| `BROWSER_DEFAULT_VIEWPORT_WIDTH` | const | `1280` | Sets the default viewport width, `1280` pixels. |
|
|
275
275
|
| `BROWSER_FRAME_WORLD_NAME` | const | `"__orkestrelBrowserFrame"` | Names the isolated world used for iframe evaluation, `'__orkestrelBrowserFrame'`. |
|
|
276
|
-
| `BROWSER_HAR_CREATOR` | const | `Readonly<{ name: "@orkestrel/browser"; version: "0.0.
|
|
276
|
+
| `BROWSER_HAR_CREATOR` | const | `Readonly<{ name: "@orkestrel/browser"; version: "0.0.35"; }>` | Names the tool identity embedded in HAR 1.2 documents. |
|
|
277
277
|
| `BROWSER_KEY_MODIFIERS` | const | `Readonly<Record<string, number>>` | Maps a canonical modifier name to its CDP Input modifier bit value. |
|
|
278
278
|
| `BROWSER_MOUSE_BUTTON_MASKS` | const | `Readonly<Record<BrowserMouseButton, number>>` | Maps each public mouse button to its CDP Input pressed-button bit value. |
|
|
279
279
|
| `BROWSER_NAVIGATION_REASONS` | const | `readonly BrowserNavigationReason[]` | Lists every CDP `Page.ClientNavigationReason` value a page accepts as a navigation's reason, as of Chromium 141; a page reads any other reason as undefined. |
|