@orkestrel/scaffold 0.0.93 → 0.0.95
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 +5 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/host/claude/agents/orkestrel.md +52 -52
- package/dist/host/guides/agent.md +244 -38
- package/dist/host/guides/browser.md +2371 -2510
- package/dist/host/guides/codec.md +2 -2
- package/dist/host/guides/mcp.md +182 -100
- package/dist/host/guides/msg.md +14 -22
- package/dist/host/guides/ollama.md +172 -11
- package/dist/host/guides/scaffold.md +7 -2
- package/dist/host/guides/server.md +122 -37
- package/dist/host/guides/toolbox.md +47 -40
- package/dist/host/manifest.json +11 -47
- package/dist/src/core/index.cjs +32 -13
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +1 -1
- package/dist/src/core/index.d.ts +1 -1
- package/dist/src/core/index.js +32 -13
- package/dist/src/core/index.js.map +1 -1
- package/package.json +5 -5
package/dist/host/manifest.json
CHANGED
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"storage": "claude/agents/orkestrel.md",
|
|
497
497
|
"destination": ".claude/agents/orkestrel.md",
|
|
498
498
|
"executable": false,
|
|
499
|
-
"digest": "
|
|
499
|
+
"digest": "5f763e0e937888661175795f7c8235cba38db8ce6ebbcf3715ce50472756bd8f"
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
502
|
"storage": "claude/agents/planner.md",
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
"storage": "guides/agent.md",
|
|
851
851
|
"destination": "guides/agent.md",
|
|
852
852
|
"executable": false,
|
|
853
|
-
"digest": "
|
|
853
|
+
"digest": "f43f24eafb1583396abb5ee9d2b056923e02cc53e29f18064d6f5bf9017c014e"
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
"storage": "guides/brief.md",
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
"storage": "guides/browser.md",
|
|
863
863
|
"destination": "guides/browser.md",
|
|
864
864
|
"executable": false,
|
|
865
|
-
"digest": "
|
|
865
|
+
"digest": "41892754ac63c9344555f53fb8b2118bb2ece1ec79b4d4594077e8a77e1cb3a2"
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
868
|
"storage": "guides/budget.md",
|
|
@@ -874,7 +874,7 @@
|
|
|
874
874
|
"storage": "guides/codec.md",
|
|
875
875
|
"destination": "guides/codec.md",
|
|
876
876
|
"executable": false,
|
|
877
|
-
"digest": "
|
|
877
|
+
"digest": "8cb147a47eb934fc811e5a41e55f69f8610b42c1dadd46b2d44279ba4278ce78"
|
|
878
878
|
},
|
|
879
879
|
{
|
|
880
880
|
"storage": "guides/console.md",
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
"storage": "guides/mcp.md",
|
|
953
953
|
"destination": "guides/mcp.md",
|
|
954
954
|
"executable": false,
|
|
955
|
-
"digest": "
|
|
955
|
+
"digest": "e66a9a0c81f3734a56db229f111f9c4ee26bfa99fa12b3dd8a8aea04016a26ac"
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
958
|
"storage": "guides/middleware.md",
|
|
@@ -964,7 +964,7 @@
|
|
|
964
964
|
"storage": "guides/msg.md",
|
|
965
965
|
"destination": "guides/msg.md",
|
|
966
966
|
"executable": false,
|
|
967
|
-
"digest": "
|
|
967
|
+
"digest": "335777be8e8f515f521a016ed7d7b1d3e165f083b2fe22fbd12d67eb9231b3cd"
|
|
968
968
|
},
|
|
969
969
|
{
|
|
970
970
|
"storage": "guides/ndjson.md",
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
"storage": "guides/ollama.md",
|
|
977
977
|
"destination": "guides/ollama.md",
|
|
978
978
|
"executable": false,
|
|
979
|
-
"digest": "
|
|
979
|
+
"digest": "53134e4f0a914c7bfc7fd0490dda362dbfb3327e917b5b6c1ddc89c3911a9323"
|
|
980
980
|
},
|
|
981
981
|
{
|
|
982
982
|
"storage": "guides/pool.md",
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
"storage": "guides/scaffold.md",
|
|
1043
1043
|
"destination": "guides/scaffold.md",
|
|
1044
1044
|
"executable": false,
|
|
1045
|
-
"digest": "
|
|
1045
|
+
"digest": "a5c97efa111d3fe4832380638c025b9cd4f536819b595753c463d7ef2f094889"
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
"storage": "guides/sea.md",
|
|
@@ -1054,7 +1054,7 @@
|
|
|
1054
1054
|
"storage": "guides/server.md",
|
|
1055
1055
|
"destination": "guides/server.md",
|
|
1056
1056
|
"executable": false,
|
|
1057
|
-
"digest": "
|
|
1057
|
+
"digest": "25bbe9def89dcdcce6eb2b0226f4703bac7afc7706cc9074fce6816a94664f5a"
|
|
1058
1058
|
},
|
|
1059
1059
|
{
|
|
1060
1060
|
"storage": "guides/sqlite.md",
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
"storage": "guides/toolbox.md",
|
|
1115
1115
|
"destination": "guides/toolbox.md",
|
|
1116
1116
|
"executable": false,
|
|
1117
|
-
"digest": "
|
|
1117
|
+
"digest": "80f9f6c95dafddd02a2fa59856a1af70e55fa2f7f74fe857e551b4d2249e98d4"
|
|
1118
1118
|
},
|
|
1119
1119
|
{
|
|
1120
1120
|
"storage": "guides/websocket.md",
|
|
@@ -1312,13 +1312,6 @@
|
|
|
1312
1312
|
"scaffold"
|
|
1313
1313
|
]
|
|
1314
1314
|
},
|
|
1315
|
-
{
|
|
1316
|
-
"name": "Failure",
|
|
1317
|
-
"owners": [
|
|
1318
|
-
"contract",
|
|
1319
|
-
"msg"
|
|
1320
|
-
]
|
|
1321
|
-
},
|
|
1322
1315
|
{
|
|
1323
1316
|
"name": "Finding",
|
|
1324
1317
|
"owners": [
|
|
@@ -1501,13 +1494,6 @@
|
|
|
1501
1494
|
"supervisor"
|
|
1502
1495
|
]
|
|
1503
1496
|
},
|
|
1504
|
-
{
|
|
1505
|
-
"name": "Result",
|
|
1506
|
-
"owners": [
|
|
1507
|
-
"contract",
|
|
1508
|
-
"msg"
|
|
1509
|
-
]
|
|
1510
|
-
},
|
|
1511
1497
|
{
|
|
1512
1498
|
"name": "Row",
|
|
1513
1499
|
"owners": [
|
|
@@ -1593,13 +1579,6 @@
|
|
|
1593
1579
|
"server"
|
|
1594
1580
|
]
|
|
1595
1581
|
},
|
|
1596
|
-
{
|
|
1597
|
-
"name": "Success",
|
|
1598
|
-
"owners": [
|
|
1599
|
-
"contract",
|
|
1600
|
-
"msg"
|
|
1601
|
-
]
|
|
1602
|
-
},
|
|
1603
1582
|
{
|
|
1604
1583
|
"name": "Supervisor",
|
|
1605
1584
|
"owners": [
|
|
@@ -1771,7 +1750,6 @@
|
|
|
1771
1750
|
{
|
|
1772
1751
|
"name": "decodeBase64",
|
|
1773
1752
|
"owners": [
|
|
1774
|
-
"browser",
|
|
1775
1753
|
"codec",
|
|
1776
1754
|
"msg"
|
|
1777
1755
|
]
|
|
@@ -1797,13 +1775,6 @@
|
|
|
1797
1775
|
"msg"
|
|
1798
1776
|
]
|
|
1799
1777
|
},
|
|
1800
|
-
{
|
|
1801
|
-
"name": "encodeBase64",
|
|
1802
|
-
"owners": [
|
|
1803
|
-
"browser",
|
|
1804
|
-
"codec"
|
|
1805
|
-
]
|
|
1806
|
-
},
|
|
1807
1778
|
{
|
|
1808
1779
|
"name": "encodeUTF8",
|
|
1809
1780
|
"owners": [
|
|
@@ -1974,13 +1945,6 @@
|
|
|
1974
1945
|
"supervisor"
|
|
1975
1946
|
]
|
|
1976
1947
|
},
|
|
1977
|
-
{
|
|
1978
|
-
"name": "isRecord",
|
|
1979
|
-
"owners": [
|
|
1980
|
-
"contract",
|
|
1981
|
-
"msg"
|
|
1982
|
-
]
|
|
1983
|
-
},
|
|
1984
1948
|
{
|
|
1985
1949
|
"name": "isStage",
|
|
1986
1950
|
"owners": [
|
|
@@ -2144,5 +2108,5 @@
|
|
|
2144
2108
|
]
|
|
2145
2109
|
}
|
|
2146
2110
|
],
|
|
2147
|
-
"digest": "
|
|
2111
|
+
"digest": "38e3f7e6d29adb05d4febb0639fef8a650f175a7ba624c7958e8cd060730a80f"
|
|
2148
2112
|
}
|
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.95",
|
|
8
8
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
9
9
|
keywords: [
|
|
10
10
|
"audit",
|
|
@@ -97,17 +97,17 @@ var package_default = {
|
|
|
97
97
|
dependencies: {
|
|
98
98
|
"@orkestrel/console": "^0.0.15",
|
|
99
99
|
"@orkestrel/contract": "^0.0.19",
|
|
100
|
-
"@orkestrel/emitter": "^0.0.
|
|
100
|
+
"@orkestrel/emitter": "^0.0.12",
|
|
101
101
|
"@orkestrel/markdown": "^0.0.17",
|
|
102
102
|
"@orkestrel/process": "^0.0.14",
|
|
103
103
|
"@orkestrel/template": "^0.0.9"
|
|
104
104
|
},
|
|
105
105
|
devDependencies: {
|
|
106
106
|
"@microsoft/api-extractor": "^7.59.4",
|
|
107
|
-
"@orkestrel/browser": "^0.0.
|
|
107
|
+
"@orkestrel/browser": "^0.0.27",
|
|
108
108
|
"@orkestrel/guide": "^0.0.24",
|
|
109
109
|
"@orkestrel/html": "^0.0.12",
|
|
110
|
-
"@orkestrel/probe": "^0.0.
|
|
110
|
+
"@orkestrel/probe": "^0.0.22",
|
|
111
111
|
"@orkestrel/test": "^0.0.24",
|
|
112
112
|
"@types/node": "^26.6.4",
|
|
113
113
|
"@vitest/browser-playwright": "^4.1.11",
|
|
@@ -115,7 +115,7 @@ var package_default = {
|
|
|
115
115
|
"oxlint": "^1.87.0",
|
|
116
116
|
"playwright": "^1.63.0",
|
|
117
117
|
"typescript": "^6.0.3",
|
|
118
|
-
"vite": "^8.3.
|
|
118
|
+
"vite": "^8.3.3",
|
|
119
119
|
"vitest": "^4.1.11"
|
|
120
120
|
},
|
|
121
121
|
engines: { "node": ">=22.18.0" }
|
|
@@ -2171,11 +2171,18 @@ export function resolveSystemBrowser(
|
|
|
2171
2171
|
* discovery and is returned exactly as given: none of those environment values is checked
|
|
2172
2172
|
* against the filesystem, because verifying an override would defeat the override. The pinned
|
|
2173
2173
|
* managed revision outranks anything found on the host because it is deterministic. The installed
|
|
2174
|
-
* pinned revision returns empty options
|
|
2175
|
-
*
|
|
2174
|
+
* pinned revision returns empty options unless \`PLAYWRIGHT_SCROLLBARS=classic\` is set. Only a
|
|
2175
|
+
* discovered system channel is verified before it is named. The platform default is unverified
|
|
2176
2176
|
* as well and exists only as a last resort: Windows takes \`msedge\`, which ships with the OS and
|
|
2177
2177
|
* never collides with a foreground Chrome.
|
|
2178
2178
|
*
|
|
2179
|
+
* Set \`PLAYWRIGHT_SCROLLBARS=classic\` only for runs that measure scrollbar compensation, never
|
|
2180
|
+
* for a standing gate. Every Chromium launch in that run omits Playwright's \`--hide-scrollbars\`
|
|
2181
|
+
* default argument so classic scrollbars can take layout space in every case. An empty or unset
|
|
2182
|
+
* value preserves the launch defaults; any other value throws an \`Error\`. Pairing \`classic\`
|
|
2183
|
+
* with \`PLAYWRIGHT_WS_ENDPOINT\` throws an \`Error\`, even with an executable override, because the
|
|
2184
|
+
* server owns the launch.
|
|
2185
|
+
*
|
|
2179
2186
|
* The resolver and the gate cover Chromium alone. Reopen engine selection when another
|
|
2180
2187
|
* Playwright engine is installed and launches on the host with a \`captureFrame\` reading
|
|
2181
2188
|
* back at its declared size, or when a journey or style divergence is recorded.
|
|
@@ -2191,26 +2198,38 @@ export function resolveBrowser(
|
|
|
2191
2198
|
environment: NodeJS.ProcessEnv,
|
|
2192
2199
|
root: string = BUNDLED_BROWSERS_ROOT,
|
|
2193
2200
|
): PlaywrightProviderOptions {
|
|
2201
|
+
const scrollbars = environment.PLAYWRIGHT_SCROLLBARS
|
|
2202
|
+
if (scrollbars !== undefined && scrollbars.length > 0 && scrollbars !== 'classic') {
|
|
2203
|
+
throw new Error('PLAYWRIGHT_SCROLLBARS must be classic or empty')
|
|
2204
|
+
}
|
|
2205
|
+
const endpoint = environment.PLAYWRIGHT_WS_ENDPOINT
|
|
2206
|
+
if (scrollbars === 'classic' && endpoint !== undefined && endpoint.length > 0) {
|
|
2207
|
+
throw new Error('PLAYWRIGHT_SCROLLBARS=classic cannot be used with PLAYWRIGHT_WS_ENDPOINT')
|
|
2208
|
+
}
|
|
2209
|
+
const launch: PlaywrightProviderOptions['launchOptions'] =
|
|
2210
|
+
scrollbars === 'classic' ? { ignoreDefaultArgs: ['--hide-scrollbars'] } : {}
|
|
2194
2211
|
const executable = environment.PLAYWRIGHT_EXECUTABLE_PATH
|
|
2195
2212
|
if (executable !== undefined && executable.length > 0) {
|
|
2196
|
-
return { launchOptions: { executablePath: executable } }
|
|
2213
|
+
return { launchOptions: { executablePath: executable, ...launch } }
|
|
2197
2214
|
}
|
|
2198
|
-
const endpoint = environment.PLAYWRIGHT_WS_ENDPOINT
|
|
2199
2215
|
if (endpoint !== undefined && endpoint.length > 0) {
|
|
2200
2216
|
return { connectOptions: { wsEndpoint: endpoint } }
|
|
2201
2217
|
}
|
|
2202
2218
|
const requested = environment.PLAYWRIGHT_CHANNEL
|
|
2203
2219
|
if (requested !== undefined && requested.length > 0) {
|
|
2204
|
-
return { launchOptions: { channel: requested } }
|
|
2220
|
+
return { launchOptions: { channel: requested, ...launch } }
|
|
2205
2221
|
}
|
|
2206
2222
|
const managed = pinned === undefined ? undefined : resolveManagedBrowser(pinned)
|
|
2207
2223
|
if (managed !== undefined) {
|
|
2208
|
-
|
|
2224
|
+
if (managed === pinned) return scrollbars === 'classic' ? { launchOptions: launch } : {}
|
|
2225
|
+
return { launchOptions: { executablePath: managed, ...launch } }
|
|
2209
2226
|
}
|
|
2210
2227
|
const bundled = resolveBundledBrowser(platform, root)
|
|
2211
|
-
if (bundled !== undefined) return { launchOptions: { executablePath: bundled } }
|
|
2228
|
+
if (bundled !== undefined) return { launchOptions: { executablePath: bundled, ...launch } }
|
|
2212
2229
|
const fallback = platform === 'win32' ? 'msedge' : 'chrome'
|
|
2213
|
-
return {
|
|
2230
|
+
return {
|
|
2231
|
+
launchOptions: { channel: resolveSystemBrowser(platform, environment) ?? fallback, ...launch },
|
|
2232
|
+
}
|
|
2214
2233
|
}
|
|
2215
2234
|
`
|
|
2216
2235
|
});
|