@orkestrel/scaffold 0.0.144 → 0.0.145
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/bin/main.js +13 -13
- package/dist/host/claude/agents/orkestrel.md +51 -51
- package/dist/host/guides/browser.md +1 -1
- package/dist/host/guides/codec.md +29 -12
- package/dist/host/guides/scaffold.md +1 -1
- package/dist/host/guides/server.md +1 -1
- package/dist/host/manifest.json +6 -6
- package/dist/src/core/index.cjs +16 -16
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.js +16 -16
- package/dist/src/core/index.js.map +1 -1
- package/package.json +13 -13
package/dist/bin/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { readdirSync } from "node:fs";
|
|
|
10
10
|
import { parseArgs } from "node:util";
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "@orkestrel/scaffold",
|
|
13
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.145",
|
|
14
14
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
15
15
|
keywords: [
|
|
16
16
|
"audit",
|
|
@@ -102,20 +102,20 @@ var package_default = {
|
|
|
102
102
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
103
103
|
},
|
|
104
104
|
dependencies: {
|
|
105
|
-
"@orkestrel/console": "^0.0.
|
|
106
|
-
"@orkestrel/contract": "^0.0.
|
|
107
|
-
"@orkestrel/emitter": "^0.0.
|
|
108
|
-
"@orkestrel/markdown": "^0.0.
|
|
109
|
-
"@orkestrel/process": "^0.0.
|
|
110
|
-
"@orkestrel/template": "^0.0.
|
|
105
|
+
"@orkestrel/console": "^0.0.23",
|
|
106
|
+
"@orkestrel/contract": "^0.0.27",
|
|
107
|
+
"@orkestrel/emitter": "^0.0.19",
|
|
108
|
+
"@orkestrel/markdown": "^0.0.24",
|
|
109
|
+
"@orkestrel/process": "^0.0.23",
|
|
110
|
+
"@orkestrel/template": "^0.0.17"
|
|
111
111
|
},
|
|
112
112
|
devDependencies: {
|
|
113
113
|
"@microsoft/api-extractor": "^7.60.1",
|
|
114
|
-
"@orkestrel/browser": "^0.0.
|
|
115
|
-
"@orkestrel/guide": "^0.0.
|
|
116
|
-
"@orkestrel/html": "^0.0.
|
|
117
|
-
"@orkestrel/probe": "^0.0.
|
|
118
|
-
"@orkestrel/test": "^0.0.
|
|
114
|
+
"@orkestrel/browser": "^0.0.36",
|
|
115
|
+
"@orkestrel/guide": "^0.0.34",
|
|
116
|
+
"@orkestrel/html": "^0.0.19",
|
|
117
|
+
"@orkestrel/probe": "^0.0.33",
|
|
118
|
+
"@orkestrel/test": "^0.0.45",
|
|
119
119
|
"@types/node": "^24.19.2",
|
|
120
120
|
"@vitest/browser-playwright": "^5.1.0",
|
|
121
121
|
"oxfmt": "^0.79.0",
|
|
@@ -123,7 +123,7 @@ var package_default = {
|
|
|
123
123
|
"playwright": "^1.64.1",
|
|
124
124
|
"typescript": "^7.0.2",
|
|
125
125
|
"vite": "^8.3.8",
|
|
126
|
-
"vitest": "^5.1.
|
|
126
|
+
"vitest": "^5.1.1"
|
|
127
127
|
},
|
|
128
128
|
engines: { "node": ">=22.18.0" }
|
|
129
129
|
};
|
|
@@ -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.
|
|
46
|
+
| `@orkestrel/abort` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
47
|
+
| `@orkestrel/agent` | `0.0.48` | L5 | `@orkestrel/tool` `^0.0.26`, `@orkestrel/abort` `^0.0.20`, `@orkestrel/queue` `^0.0.26`, `@orkestrel/budget` `^0.0.21`, `@orkestrel/ndjson` `^0.0.20`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29`, `@orkestrel/workflow` `^0.0.32`, `@orkestrel/workspace` `^0.0.22` | |
|
|
48
|
+
| `@orkestrel/brief` | `0.0.21` | L4 | `@orkestrel/reason` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/interpret` `^0.0.26` | |
|
|
49
|
+
| `@orkestrel/browser` | `0.0.36` | L5 | `@orkestrel/mcp` `^0.0.46`, `@orkestrel/html` `^0.0.19`, `@orkestrel/pool` `^0.0.24`, `@orkestrel/tool` `^0.0.26`, `@orkestrel/codec` `^0.0.13`, `@orkestrel/router` `^0.0.25`, `@orkestrel/server` `^0.0.31`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/process` `^0.0.23`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/markdown` `^0.0.24`, `@orkestrel/websocket` `^0.0.22` | |
|
|
50
|
+
| `@orkestrel/budget` | `0.0.21` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
51
|
+
| `@orkestrel/capture` | `0.0.12` | L3 | `@orkestrel/process` `^0.0.23`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27` | `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.13` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
53
|
+
| `@orkestrel/console` | `0.0.23` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
54
54
|
| `@orkestrel/contract` | `0.0.27` | L0 | | |
|
|
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.
|
|
55
|
+
| `@orkestrel/csv` | `0.0.17` | L2 | `@orkestrel/codec` `^0.0.13`, `@orkestrel/contract` `^0.0.27` | |
|
|
56
|
+
| `@orkestrel/database` | `0.0.29` | L2 | `@orkestrel/sqlite` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/indexeddb` `^0.0.21` | |
|
|
57
|
+
| `@orkestrel/emitter` | `0.0.19` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
58
|
+
| `@orkestrel/form` | `0.0.21` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
59
|
+
| `@orkestrel/guide` | `0.0.34` | L3 | `@orkestrel/contract` `^0.0.27`, `@orkestrel/markdown` `^0.0.24` | |
|
|
60
|
+
| `@orkestrel/html` | `0.0.19` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
61
|
+
| `@orkestrel/indexeddb` | `0.0.21` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
62
|
+
| `@orkestrel/interpret` | `0.0.26` | L3 | `@orkestrel/reason` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/template` `^0.0.17` | |
|
|
63
|
+
| `@orkestrel/jsonrpc` | `0.0.6` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
64
|
+
| `@orkestrel/lsp` | `0.0.18` | L3 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/jsonrpc` `^0.0.6`, `@orkestrel/process` `^0.0.23`, `@orkestrel/contract` `^0.0.27` | |
|
|
65
|
+
| `@orkestrel/markdown` | `0.0.24` | L2 | `@orkestrel/html` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
66
|
+
| `@orkestrel/mcp` | `0.0.46` | L4 | `@orkestrel/sse` `^0.0.17`, `@orkestrel/tool` `^0.0.26`, `@orkestrel/codec` `^0.0.13`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/jsonrpc` `^0.0.6`, `@orkestrel/process` `^0.0.23`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/websocket` `^0.0.22` | `@orkestrel/router` `^0.0.25`, `@orkestrel/server` `^0.0.31` |
|
|
67
|
+
| `@orkestrel/middleware` | `0.0.37` | L4 | `@orkestrel/budget` `^0.0.21`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27` | `@orkestrel/router` `^0.0.25`, `@orkestrel/server` `^0.0.31`, `@orkestrel/database` `^0.0.29` |
|
|
68
|
+
| `@orkestrel/msg` | `0.0.20` | L2 | `@orkestrel/codec` `^0.0.13`, `@orkestrel/contract` `^0.0.27` | |
|
|
69
|
+
| `@orkestrel/ndjson` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
70
|
+
| `@orkestrel/ollama` | `0.0.45` | L6 | `@orkestrel/tool` `^0.0.26`, `@orkestrel/agent` `^0.0.48`, `@orkestrel/budget` `^0.0.21`, `@orkestrel/ndjson` `^0.0.20`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/process` `^0.0.23`, `@orkestrel/contract` `^0.0.27` | |
|
|
71
|
+
| `@orkestrel/pool` | `0.0.24` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
72
|
+
| `@orkestrel/probe` | `0.0.33` | L5 | `@orkestrel/lsp` `^0.0.18`, `@orkestrel/mcp` `^0.0.46`, `@orkestrel/pool` `^0.0.24`, `@orkestrel/tool` `^0.0.26`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/process` `^0.0.23`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27` | `vitest` `^4.1.12 \|\| ^5.1.0`, `typescript` `^6.0.3 \|\| ^7.0.2` |
|
|
73
|
+
| `@orkestrel/process` | `0.0.23` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
74
|
+
| `@orkestrel/program` | `0.0.24` | L4 | `@orkestrel/rater` `^0.0.25`, `@orkestrel/reason` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/qualifier` `^0.0.25` | |
|
|
75
|
+
| `@orkestrel/qualifier` | `0.0.25` | L3 | `@orkestrel/reason` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
76
|
+
| `@orkestrel/queue` | `0.0.26` | L3 | `@orkestrel/abort` `^0.0.20`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
77
|
+
| `@orkestrel/rater` | `0.0.25` | L3 | `@orkestrel/reason` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
78
|
+
| `@orkestrel/reason` | `0.0.21` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
79
|
+
| `@orkestrel/relation` | `0.0.27` | L3 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
80
|
+
| `@orkestrel/router` | `0.0.25` | L2 | `@orkestrel/abort` `^0.0.20`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
81
|
+
| `@orkestrel/scaffold` | `0.0.144` | L3 | `@orkestrel/console` `^0.0.22`, `@orkestrel/emitter` `^0.0.18`, `@orkestrel/process` `^0.0.22`, `@orkestrel/contract` `^0.0.26`, `@orkestrel/markdown` `^0.0.23`, `@orkestrel/template` `^0.0.16` | |
|
|
82
|
+
| `@orkestrel/sea` | `0.0.26` | L3 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/process` `^0.0.23`, `@orkestrel/contract` `^0.0.27` | |
|
|
83
|
+
| `@orkestrel/server` | `0.0.31` | L3 | `@orkestrel/abort` `^0.0.20`, `@orkestrel/codec` `^0.0.13`, `@orkestrel/router` `^0.0.25`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27` | |
|
|
84
|
+
| `@orkestrel/sqlite` | `0.0.21` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
85
|
+
| `@orkestrel/sse` | `0.0.17` | L2 | `@orkestrel/codec` `^0.0.13`, `@orkestrel/contract` `^0.0.27` | |
|
|
86
|
+
| `@orkestrel/study` | `0.0.29` | L7 | `@orkestrel/tool` `^0.0.26`, `@orkestrel/abort` `^0.0.20`, `@orkestrel/agent` `^0.0.48`, `@orkestrel/budget` `^0.0.21`, `@orkestrel/ollama` `^0.0.45`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27` | |
|
|
87
|
+
| `@orkestrel/table` | `0.0.20` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
88
|
+
| `@orkestrel/template` | `0.0.17` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
89
|
+
| `@orkestrel/terminal` | `0.0.29` | L3 | `@orkestrel/sse` `^0.0.17`, `@orkestrel/form` `^0.0.21`, `@orkestrel/console` `^0.0.23`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
90
|
+
| `@orkestrel/test` | `0.0.45` | L1 | `@orkestrel/contract` `^0.0.27` | `vitest` `^5.1.0`, `playwright` `^1.65.0` |
|
|
91
|
+
| `@orkestrel/timeout` | `0.0.20` | L1 | `@orkestrel/contract` `^0.0.27` | |
|
|
92
|
+
| `@orkestrel/tool` | `0.0.26` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
93
|
+
| `@orkestrel/toolbox` | `0.0.36` | L6 | `@orkestrel/form` `^0.0.21`, `@orkestrel/tool` `^0.0.26`, `@orkestrel/agent` `^0.0.48`, `@orkestrel/server` `^0.0.31`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29`, `@orkestrel/relation` `^0.0.27`, `@orkestrel/terminal` `^0.0.29`, `@orkestrel/workflow` `^0.0.32`, `@orkestrel/workspace` `^0.0.22` | |
|
|
94
|
+
| `@orkestrel/websocket` | `0.0.22` | L2 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27` | |
|
|
95
|
+
| `@orkestrel/worker` | `0.0.26` | L4 | `@orkestrel/pool` `^0.0.24`, `@orkestrel/queue` `^0.0.26`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
96
|
+
| `@orkestrel/workflow` | `0.0.32` | L4 | `@orkestrel/abort` `^0.0.20`, `@orkestrel/queue` `^0.0.26`, `@orkestrel/budget` `^0.0.21`, `@orkestrel/emitter` `^0.0.19`, `@orkestrel/timeout` `^0.0.20`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
97
|
+
| `@orkestrel/workspace` | `0.0.22` | L3 | `@orkestrel/emitter` `^0.0.19`, `@orkestrel/contract` `^0.0.27`, `@orkestrel/database` `^0.0.29` | |
|
|
98
98
|
|
|
99
99
|
<!-- /orkestrel:catalog -->
|
|
100
100
|
|
|
@@ -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.36"; }>` | 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. |
|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
A coding is a spec-named, stateless mapping with one canonical spelling per input, written as an
|
|
9
9
|
`encode*` that produces only the canonical form, a `decode*` that accepts exactly that form and
|
|
10
10
|
answers `undefined` for everything else, and an `is*` guard that names the exact set the partial
|
|
11
|
-
direction accepts. Every function is pure ES: no `atob` / `btoa`, no `Buffer`, no
|
|
12
|
-
`TextDecoder`, no `node:*`.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
direction accepts. Every function but `decodeUTF8` is pure ES: no `atob` / `btoa`, no `Buffer`, no
|
|
12
|
+
`TextEncoder` / `TextDecoder`, no `node:*`. `decodeUTF8` hands its bytes to the host's fatal
|
|
13
|
+
`TextDecoder`. Runtime type tests come from `@orkestrel/contract`. Totality is implemented rather
|
|
14
|
+
than caught: codec ships no error type, no options bag, no class, and no type of its own. It is
|
|
15
|
+
not a formats package — it does not compress, frame a stream, escape a document, map values into a
|
|
16
|
+
store, or read JSON. Source: [`src/core`](../src/core), published through
|
|
16
17
|
`@orkestrel/codec` with a runtime dependency on `@orkestrel/contract`.
|
|
17
18
|
|
|
18
19
|
## The families
|
|
@@ -484,19 +485,35 @@ measureUTF8('\ud800') // undefined — ill-formed text has no UTF-8 spelling
|
|
|
484
485
|
both its decoder and its guard.
|
|
485
486
|
|
|
486
487
|
The platform's own codings run as oracles over the populations they agree on, each one probed
|
|
487
|
-
before a sweep was written to it. `
|
|
488
|
-
`
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
488
|
+
before a sweep was written to it. `decodeUTF16LE` is held against a fatal `TextDecoder` carrying
|
|
489
|
+
`ignoreBOM` over the whole two-byte space, `encodeUTF8` against `TextEncoder` over the well-formed
|
|
490
|
+
texts, and `decodeWindows1252` against the WHATWG index over the bytes that index and this coding
|
|
491
|
+
both define. `decodeLatin1` is held against `String.fromCharCode` rather than against the `latin1`
|
|
492
|
+
label, and an assertion pins the label's disagreement to the 0x80-0x9F band so a later reader
|
|
493
|
+
cannot quietly adopt it as the oracle.
|
|
493
494
|
|
|
494
495
|
Further sweeps reach the multi-byte defects a two-byte space cannot present. The embedded
|
|
495
496
|
sweep wraps every byte pair as `41 b1 b2 41`, which moves each pair into the middle of a buffer
|
|
496
497
|
the decoder has already started walking. The mutation sweep takes the canonical encoding of each
|
|
497
498
|
boundary code point and substitutes every byte position through all 256 values, which reaches the
|
|
498
499
|
overlong spellings of a four-byte code point and the encoded surrogates that sit one lead byte
|
|
499
|
-
from a canonical U+D7FF. Each runs against the same
|
|
500
|
+
from a canonical U+D7FF. Each runs against the same oracle.
|
|
501
|
+
|
|
502
|
+
`decodeUTF8` delegates to the host's decoder, so its oracle is the walk it shipped in codec
|
|
503
|
+
0.0.12, which reads no platform table: the two-byte, embedded, and boundary-mutation sweeps hold
|
|
504
|
+
it against that walk, and so does a seeded differential over random byte buffers and over
|
|
505
|
+
mutations of seeded well-formed text, with zero differences allowed. Two controls run beside the
|
|
506
|
+
differential, a fatal decoder that strips a leading BOM and a decoder that replaces instead of
|
|
507
|
+
refusing, and each must disagree with the walk somewhere in the population. Named cases pin the
|
|
508
|
+
BOM leading and mid-stream, U+0000, U+FFFE, and U+FFFF, each refusal edge beside its admitted
|
|
509
|
+
neighbour, truncation at every width, a subarray at a nonzero offset, a refused call followed by
|
|
510
|
+
an accepted one, and the copy a view over a `SharedArrayBuffer` or a resizable `ArrayBuffer`
|
|
511
|
+
takes before it reaches the host.
|
|
512
|
+
|
|
513
|
+
`measureUTF8`, `measureHex`, `measureBase64`, and `encodeHex` are each held against the walk it
|
|
514
|
+
shipped in codec 0.0.12, over the populations the law sweeps read plus the rows a code-unit walk
|
|
515
|
+
could miscount: astral pairs, lone and reversed surrogates, odd-length hex, and uppercase hex. A
|
|
516
|
+
view whose own iterator is replaced encodes the hex of its indexed bytes.
|
|
500
517
|
|
|
501
518
|
The Windows-1252 high table carries another reading that is not a platform decoder at all. The
|
|
502
519
|
WHATWG index defines all 256 slots, so it is silent on exactly the omissions that make this code
|
|
@@ -2423,7 +2423,7 @@ The dependency tables select these floors:
|
|
|
2423
2423
|
| ---------------------------- | ---------- | -------------------------------------------------------------- |
|
|
2424
2424
|
| TypeScript | `^7.0.2` | Baseline without a Vue extension |
|
|
2425
2425
|
| TypeScript | `^6.0.3` | A selected `src/vue` or `app/vue` face |
|
|
2426
|
-
| Vitest | `^5.1.
|
|
2426
|
+
| Vitest | `^5.1.1` | Every workspace |
|
|
2427
2427
|
| `@vitest/browser-playwright` | `^5.1.0` | Browser tooling |
|
|
2428
2428
|
| `oxlint` | `^1.94.0` | Every workspace |
|
|
2429
2429
|
| `oxfmt` | `^0.79.0` | Every workspace |
|
|
@@ -733,7 +733,7 @@ const server = createServer<State>({
|
|
|
733
733
|
})
|
|
734
734
|
```
|
|
735
735
|
|
|
736
|
-
The dispatcher of the `@orkestrel/router` release that 0.0.
|
|
736
|
+
The dispatcher of the `@orkestrel/router` release that 0.0.31 depends on
|
|
737
737
|
answers a path that matches with no route for the method with `405` and an
|
|
738
738
|
`Allow` header that lists `OPTIONS`. It answers a `HEAD` with no `HEAD` route
|
|
739
739
|
by running the `GET` handler, cancelling that response's body, and sending its
|
package/dist/host/manifest.json
CHANGED
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"storage": "claude/agents/orkestrel.md",
|
|
629
629
|
"destination": ".claude/agents/orkestrel.md",
|
|
630
630
|
"executable": false,
|
|
631
|
-
"digest": "
|
|
631
|
+
"digest": "d72a915ee5ab736f818529d1e39cb294eb9906bf0fbc73749c765b440e8a73bb"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"storage": "claude/agents/planner.md",
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
"storage": "guides/browser.md",
|
|
1007
1007
|
"destination": "guides/browser.md",
|
|
1008
1008
|
"executable": false,
|
|
1009
|
-
"digest": "
|
|
1009
|
+
"digest": "302b994351eb8ee5b9391e966bd4df3ed04af6f1d89af71e36989f07e448c289"
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
"storage": "guides/budget.md",
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
"storage": "guides/codec.md",
|
|
1025
1025
|
"destination": "guides/codec.md",
|
|
1026
1026
|
"executable": false,
|
|
1027
|
-
"digest": "
|
|
1027
|
+
"digest": "3e2af0b4805c9bf286d6a331d78a6952936f545363491f67fe2eba53d2c0a2aa"
|
|
1028
1028
|
},
|
|
1029
1029
|
{
|
|
1030
1030
|
"storage": "guides/console.md",
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
"storage": "guides/scaffold.md",
|
|
1199
1199
|
"destination": "guides/scaffold.md",
|
|
1200
1200
|
"executable": false,
|
|
1201
|
-
"digest": "
|
|
1201
|
+
"digest": "576fe5b775e782eaed213c26fece04a2bd9d4b8e6a88a0c6fae32545a66e461a"
|
|
1202
1202
|
},
|
|
1203
1203
|
{
|
|
1204
1204
|
"storage": "guides/sea.md",
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
"storage": "guides/server.md",
|
|
1211
1211
|
"destination": "guides/server.md",
|
|
1212
1212
|
"executable": false,
|
|
1213
|
-
"digest": "
|
|
1213
|
+
"digest": "9d59a955443a8e2e458353117db3d058024f7f4d794054856acf2afdcbae66ea"
|
|
1214
1214
|
},
|
|
1215
1215
|
{
|
|
1216
1216
|
"storage": "guides/sqlite.md",
|
|
@@ -1417,5 +1417,5 @@
|
|
|
1417
1417
|
"scripts"
|
|
1418
1418
|
],
|
|
1419
1419
|
"surface": [],
|
|
1420
|
-
"digest": "
|
|
1420
|
+
"digest": "8dfff0546ff4af3b602b82457c5d98478f2a3930050d2954558c0d986c8dddfd"
|
|
1421
1421
|
}
|
package/dist/src/core/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ let _orkestrel_template = require("@orkestrel/template");
|
|
|
4
4
|
let _orkestrel_emitter = require("@orkestrel/emitter");
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@orkestrel/scaffold",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.145",
|
|
8
8
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
9
9
|
keywords: [
|
|
10
10
|
"audit",
|
|
@@ -96,20 +96,20 @@ var package_default = {
|
|
|
96
96
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
97
97
|
},
|
|
98
98
|
dependencies: {
|
|
99
|
-
"@orkestrel/console": "^0.0.
|
|
100
|
-
"@orkestrel/contract": "^0.0.
|
|
101
|
-
"@orkestrel/emitter": "^0.0.
|
|
102
|
-
"@orkestrel/markdown": "^0.0.
|
|
103
|
-
"@orkestrel/process": "^0.0.
|
|
104
|
-
"@orkestrel/template": "^0.0.
|
|
99
|
+
"@orkestrel/console": "^0.0.23",
|
|
100
|
+
"@orkestrel/contract": "^0.0.27",
|
|
101
|
+
"@orkestrel/emitter": "^0.0.19",
|
|
102
|
+
"@orkestrel/markdown": "^0.0.24",
|
|
103
|
+
"@orkestrel/process": "^0.0.23",
|
|
104
|
+
"@orkestrel/template": "^0.0.17"
|
|
105
105
|
},
|
|
106
106
|
devDependencies: {
|
|
107
107
|
"@microsoft/api-extractor": "^7.60.1",
|
|
108
|
-
"@orkestrel/browser": "^0.0.
|
|
109
|
-
"@orkestrel/guide": "^0.0.
|
|
110
|
-
"@orkestrel/html": "^0.0.
|
|
111
|
-
"@orkestrel/probe": "^0.0.
|
|
112
|
-
"@orkestrel/test": "^0.0.
|
|
108
|
+
"@orkestrel/browser": "^0.0.36",
|
|
109
|
+
"@orkestrel/guide": "^0.0.34",
|
|
110
|
+
"@orkestrel/html": "^0.0.19",
|
|
111
|
+
"@orkestrel/probe": "^0.0.33",
|
|
112
|
+
"@orkestrel/test": "^0.0.45",
|
|
113
113
|
"@types/node": "^24.19.2",
|
|
114
114
|
"@vitest/browser-playwright": "^5.1.0",
|
|
115
115
|
"oxfmt": "^0.79.0",
|
|
@@ -117,7 +117,7 @@ var package_default = {
|
|
|
117
117
|
"playwright": "^1.64.1",
|
|
118
118
|
"typescript": "^7.0.2",
|
|
119
119
|
"vite": "^8.3.8",
|
|
120
|
-
"vitest": "^5.1.
|
|
120
|
+
"vitest": "^5.1.1"
|
|
121
121
|
},
|
|
122
122
|
engines: { "node": ">=22.18.0" }
|
|
123
123
|
};
|
|
@@ -904,9 +904,9 @@ var SHOWCASE_OVERRIDES = Object.freeze({ [`vite-plugin-singlefile@${SHOWCASE_DEV
|
|
|
904
904
|
/** Lists the development dependencies a private server application adds. */
|
|
905
905
|
var APP_SERVER_DEV_DEPENDENCIES = Object.freeze({
|
|
906
906
|
"@orkestrel/emitter": package_default.dependencies["@orkestrel/emitter"],
|
|
907
|
-
"@orkestrel/middleware": "^0.0.
|
|
908
|
-
"@orkestrel/router": "^0.0.
|
|
909
|
-
"@orkestrel/server": "^0.0.
|
|
907
|
+
"@orkestrel/middleware": "^0.0.37",
|
|
908
|
+
"@orkestrel/router": "^0.0.25",
|
|
909
|
+
"@orkestrel/server": "^0.0.31"
|
|
910
910
|
});
|
|
911
911
|
// src/core/templates.ts
|
|
912
912
|
/**
|