@orkestrel/scaffold 0.0.120 → 0.0.122
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-dispatch/scripts/brief.js +57 -9
- package/dist/agents/skills/orkestrel-dispatch/scripts/chain.js +22 -2
- package/dist/agents/skills/orkestrel-publish/scripts/pins.js +5 -5
- package/dist/agents/skills/orkestrel-publish/scripts/wave.js +67 -5
- package/dist/bin/main.js +5 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +16 -11
- package/dist/host/agents/skills/orkestrel-dispatch/SKILL.md +4 -4
- package/dist/host/agents/skills/orkestrel-dispatch/references/launch.md +2 -1
- package/dist/host/agents/skills/orkestrel-dispatch/scripts/brief.ts +65 -9
- package/dist/host/agents/skills/orkestrel-dispatch/scripts/chain.ts +28 -2
- package/dist/host/agents/skills/orkestrel-falsify/references/brief.md +2 -1
- package/dist/host/agents/skills/orkestrel-harden/SKILL.md +8 -8
- package/dist/host/agents/skills/orkestrel-harden/references/hardening.md +3 -3
- package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +2 -2
- package/dist/host/agents/skills/orkestrel-publish/SKILL.md +10 -8
- package/dist/host/agents/skills/orkestrel-publish/references/release.md +2 -2
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +22 -8
- package/dist/host/agents/skills/orkestrel-publish/references/window.md +5 -1
- package/dist/host/agents/skills/orkestrel-publish/scripts/pins.ts +5 -5
- package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +86 -7
- package/dist/host/claude/AGENTS.md +1 -1
- package/dist/host/claude/agents/analyst.md +1 -1
- package/dist/host/claude/agents/opus.md +7 -6
- package/dist/host/claude/agents/orkestrel.md +26 -26
- package/dist/host/claude/agents/planner.md +3 -3
- package/dist/host/claude/agents/reviewer.md +3 -3
- package/dist/host/claude/agents/verifier.md +1 -1
- package/dist/host/claude/rules/campaign.md +3 -2
- package/dist/host/claude/rules/names.md +13 -7
- package/dist/host/claude/rules/tests.md +1 -1
- package/dist/host/claude/rules/workspace.md +9 -0
- package/dist/host/claude/skills/orkestrel-harden/SKILL.md +1 -1
- package/dist/host/codex/agents/analyst.toml +2 -5
- package/dist/host/codex/agents/opus.toml +5 -3
- package/dist/host/codex/agents/planner.toml +6 -5
- package/dist/host/codex/agents/reviewer.toml +4 -7
- package/dist/host/codex/agents/verifier.toml +2 -2
- package/dist/host/dotfiles/gitignore +1 -2
- package/dist/host/guides/agent.md +5 -5
- package/dist/host/guides/brief.md +7 -15
- package/dist/host/guides/browser.md +1 -1
- package/dist/host/guides/capture.md +2 -2
- package/dist/host/guides/console.md +4 -30
- package/dist/host/guides/guide.md +0 -1
- package/dist/host/guides/interpret.md +165 -182
- package/dist/host/guides/lsp.md +26 -51
- package/dist/host/guides/mcp.md +220 -276
- package/dist/host/guides/middleware.md +14 -22
- package/dist/host/guides/ollama.md +1 -3
- package/dist/host/guides/probe.md +71 -80
- package/dist/host/guides/program.md +26 -35
- package/dist/host/guides/qualifier.md +0 -6
- package/dist/host/guides/queue.md +0 -4
- package/dist/host/guides/rater.md +6 -12
- package/dist/host/guides/relation.md +0 -2
- package/dist/host/guides/scaffold.md +18 -9
- package/dist/host/guides/sea.md +47 -51
- package/dist/host/guides/server.md +15 -19
- package/dist/host/guides/terminal.md +0 -26
- package/dist/host/guides/toolbox.md +0 -10
- package/dist/host/guides/worker.md +57 -57
- package/dist/host/guides/workflow.md +13 -26
- package/dist/host/guides/workspace.md +15 -21
- package/dist/host/manifest.json +63 -483
- package/dist/host/tests/config.test.ts +7 -0
- package/dist/src/core/index.cjs +13 -46
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.js +13 -46
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +10 -9
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +12 -8
- package/dist/src/server/index.d.ts +12 -8
- package/dist/src/server/index.js +10 -9
- package/dist/src/server/index.js.map +1 -1
- package/package.json +5 -5
- /package/dist/host/agents/skills/orkestrel-parallel/references/{claude.md → claude-code.md} +0 -0
|
@@ -279,6 +279,7 @@ describe('selected faces', () => {
|
|
|
279
279
|
expect(project.test?.include).toContain(`tests/${axis}/${face}/**/*.test.ts`)
|
|
280
280
|
expect(project.test?.browser).toMatchObject({
|
|
281
281
|
enabled: true,
|
|
282
|
+
screenshotDirectory: resolve(POLICY_ROOT, 'tmp/captures/screenshots'),
|
|
282
283
|
instances: expect.arrayContaining([
|
|
283
284
|
expect.objectContaining({ browser: 'chromium', name: `${axis}:${face} (chromium)` }),
|
|
284
285
|
]),
|
|
@@ -468,6 +469,9 @@ describe('selected faces', () => {
|
|
|
468
469
|
.map(readConfigRecord)
|
|
469
470
|
.find((variant) => variant.name === provide.variant)
|
|
470
471
|
if (selected === undefined) throw new Error('Missing selected variant')
|
|
472
|
+
expect(readConfigRecord(test.browser).screenshotDirectory).toBe(
|
|
473
|
+
resolve(POLICY_ROOT, 'tmp/captures/screenshots'),
|
|
474
|
+
)
|
|
471
475
|
expect(readConfigRecord(test.browser).viewport).toEqual({
|
|
472
476
|
width: selected.width,
|
|
473
477
|
height: selected.height,
|
|
@@ -610,6 +614,9 @@ describe('selected faces', () => {
|
|
|
610
614
|
const test = readConfigRecord(project.test)
|
|
611
615
|
if (readConfigRecord(test.browser ?? {}).enabled !== true) continue
|
|
612
616
|
const label = typeof test.name === 'string' ? test.name : readConfigRecord(test.name).label
|
|
617
|
+
expect(readConfigRecord(test.browser).screenshotDirectory).toBe(
|
|
618
|
+
resolve(POLICY_ROOT, 'tmp/captures/screenshots'),
|
|
619
|
+
)
|
|
613
620
|
expect(readConfigRecord(test.browser).instances).toEqual(
|
|
614
621
|
expect.arrayContaining([
|
|
615
622
|
expect.objectContaining({ browser: 'chromium', name: `${label} (chromium)` }),
|
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.122",
|
|
8
8
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
9
9
|
keywords: [
|
|
10
10
|
"audit",
|
|
@@ -96,7 +96,7 @@ 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.
|
|
99
|
+
"@orkestrel/console": "^0.0.18",
|
|
100
100
|
"@orkestrel/contract": "^0.0.21",
|
|
101
101
|
"@orkestrel/emitter": "^0.0.14",
|
|
102
102
|
"@orkestrel/markdown": "^0.0.19",
|
|
@@ -105,10 +105,10 @@ var package_default = {
|
|
|
105
105
|
},
|
|
106
106
|
devDependencies: {
|
|
107
107
|
"@microsoft/api-extractor": "^7.60.1",
|
|
108
|
-
"@orkestrel/browser": "^0.0.
|
|
109
|
-
"@orkestrel/guide": "^0.0.
|
|
108
|
+
"@orkestrel/browser": "^0.0.31",
|
|
109
|
+
"@orkestrel/guide": "^0.0.29",
|
|
110
110
|
"@orkestrel/html": "^0.0.14",
|
|
111
|
-
"@orkestrel/probe": "^0.0.
|
|
111
|
+
"@orkestrel/probe": "^0.0.27",
|
|
112
112
|
"@orkestrel/test": "^0.0.32",
|
|
113
113
|
"@types/node": "^24.19.2",
|
|
114
114
|
"@vitest/browser-playwright": "^5.0.5",
|
|
@@ -371,46 +371,7 @@ var HOST_INVENTORY_PATH = "host.json";
|
|
|
371
371
|
* whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
|
|
372
372
|
* governs when a transfer is declared and removed.
|
|
373
373
|
*/
|
|
374
|
-
var SURFACE_TRANSFERS = Object.freeze([
|
|
375
|
-
"errorToMessage",
|
|
376
|
-
"escapeRegExp",
|
|
377
|
-
"failure",
|
|
378
|
-
"success"
|
|
379
|
-
].map((name) => ({
|
|
380
|
-
name,
|
|
381
|
-
keeper: "contract",
|
|
382
|
-
item: 79
|
|
383
|
-
})), ...[
|
|
384
|
-
"JSONRPCError",
|
|
385
|
-
"JSONRPCErrorResponse",
|
|
386
|
-
"JSONRPCId",
|
|
387
|
-
"JSONRPCInvocation",
|
|
388
|
-
"JSONRPCMessage",
|
|
389
|
-
"JSONRPCNotification",
|
|
390
|
-
"JSONRPCRequest",
|
|
391
|
-
"JSONRPCResponse",
|
|
392
|
-
"JSONRPCResultResponse",
|
|
393
|
-
"JSONRPC_INTERNAL_ERROR",
|
|
394
|
-
"JSONRPC_INVALID_PARAMS",
|
|
395
|
-
"JSONRPC_INVALID_REQUEST",
|
|
396
|
-
"JSONRPC_METHOD_NOT_FOUND",
|
|
397
|
-
"JSONRPC_PARSE_ERROR",
|
|
398
|
-
"buildJSONRPCError",
|
|
399
|
-
"buildJSONRPCResult",
|
|
400
|
-
"isJSONRPCError",
|
|
401
|
-
"isJSONRPCErrorResponse",
|
|
402
|
-
"isJSONRPCId",
|
|
403
|
-
"isJSONRPCInvocation",
|
|
404
|
-
"isJSONRPCMessage",
|
|
405
|
-
"isJSONRPCNotification",
|
|
406
|
-
"isJSONRPCRequest",
|
|
407
|
-
"isJSONRPCResponse",
|
|
408
|
-
"isJSONRPCResultResponse"
|
|
409
|
-
].map((name) => ({
|
|
410
|
-
name,
|
|
411
|
-
keeper: "jsonrpc",
|
|
412
|
-
item: 81
|
|
413
|
-
}))].map((transfer) => Object.freeze(transfer)));
|
|
374
|
+
var SURFACE_TRANSFERS = Object.freeze([]);
|
|
414
375
|
/**
|
|
415
376
|
* Lists the vendored paths whose present bytes belong to each workspace, frozen.
|
|
416
377
|
*
|
|
@@ -811,6 +772,7 @@ var BROWSE_UPSTREAM = Object.freeze([
|
|
|
811
772
|
"@orkestrel/contract",
|
|
812
773
|
"@orkestrel/emitter",
|
|
813
774
|
"@orkestrel/html",
|
|
775
|
+
"@orkestrel/jsonrpc",
|
|
814
776
|
"@orkestrel/markdown",
|
|
815
777
|
"@orkestrel/mcp",
|
|
816
778
|
"@orkestrel/pool",
|
|
@@ -1064,6 +1026,7 @@ function isNamedPlugin(plugin: PluginOption): plugin is { name: string } {
|
|
|
1064
1026
|
enabled: true,
|
|
1065
1027
|
provider: playwright(browserOptions),
|
|
1066
1028
|
commands,
|
|
1029
|
+
screenshotDirectory: screenshots,
|
|
1067
1030
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1068
1031
|
},
|
|
1069
1032
|
fileParallelism: false,
|
|
@@ -1125,6 +1088,7 @@ export function srcVue(override?: UserConfig): UserConfig {
|
|
|
1125
1088
|
enabled: true,
|
|
1126
1089
|
provider: playwright(browserOptions),
|
|
1127
1090
|
commands,
|
|
1091
|
+
screenshotDirectory: screenshots,
|
|
1128
1092
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1129
1093
|
},
|
|
1130
1094
|
fileParallelism: false,
|
|
@@ -1169,6 +1133,7 @@ export function srcBrowser(override?: UserConfig): UserConfig {
|
|
|
1169
1133
|
enabled: true,
|
|
1170
1134
|
provider: playwright(browserOptions),
|
|
1171
1135
|
commands,
|
|
1136
|
+
screenshotDirectory: screenshots,
|
|
1172
1137
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1173
1138
|
},
|
|
1174
1139
|
fileParallelism: false,
|
|
@@ -1305,6 +1270,7 @@ export function srcBin(override?: UserConfig): UserConfig {
|
|
|
1305
1270
|
enabled: true,
|
|
1306
1271
|
provider: playwright(browserOptions),
|
|
1307
1272
|
commands,
|
|
1273
|
+
screenshotDirectory: screenshots,
|
|
1308
1274
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1309
1275
|
},
|
|
1310
1276
|
fileParallelism: false,
|
|
@@ -1565,6 +1531,7 @@ export function appServer(override?: UserConfig): UserConfig {
|
|
|
1565
1531
|
enabled: true,
|
|
1566
1532
|
provider: playwright(browserOptions),
|
|
1567
1533
|
commands,
|
|
1534
|
+
screenshotDirectory: screenshots,
|
|
1568
1535
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1569
1536
|
},
|
|
1570
1537
|
},
|
|
@@ -7864,7 +7831,7 @@ ${projects.map((project) => `\t\t\t${project},`).join("\n")}
|
|
|
7864
7831
|
imports: imports.length === 0 ? "" : `${imports.join("\n")}\n`,
|
|
7865
7832
|
helpers: helpers.length === 0 ? "" : matchesPrintWidth(helperImport.trimEnd()) ? helperImport : `import {\n${helpers.map((helper) => `\t${helper},`).join("\n")}\n} from './configs/helpers.js'\n`,
|
|
7866
7833
|
browsers: machinery.browser ? "import { resolveBrowser, resolvePinnedBrowser } from './configs/browsers.js'\nimport { commands } from './configs/commands.js'\n" : "",
|
|
7867
|
-
options: (machinery.browser ? "const browserOptions = resolveBrowser(resolvePinnedBrowser(), process.platform, process.env)\n\n" + blueprintToOptimizedDependencies(blueprint) : "") + (blueprint.journey && blueprint.app.includes("browser") ? "const capture = process.env.CAPTURE === '1'\n\n" : "") + ((blueprint.journey || blueprint.showcase) && blueprint.app.includes("browser") ? `const applications = {\n\tbrowser: appBrowser,\n${blueprintToFaces(blueprint).filter((extension) => extension.surface === "browser" && extension.axes.includes("app")).map((extension) => `\t${extension.name}: app${extension.name[0]?.toUpperCase()}${extension.name.slice(1)},\n`).join("")}}\n\n` : ""),
|
|
7834
|
+
options: (machinery.browser ? "const browserOptions = resolveBrowser(resolvePinnedBrowser(), process.platform, process.env)\n// Vitest writes a page.screenshot() capture beside its test file unless a directory is named.\nconst screenshots = resolveWorkspacePath('tmp/captures/screenshots')\n\n" + blueprintToOptimizedDependencies(blueprint) : "") + (blueprint.journey && blueprint.app.includes("browser") ? "const capture = process.env.CAPTURE === '1'\n\n" : "") + ((blueprint.journey || blueprint.showcase) && blueprint.app.includes("browser") ? `const applications = {\n\tbrowser: appBrowser,\n${blueprintToFaces(blueprint).filter((extension) => extension.surface === "browser" && extension.axes.includes("app")).map((extension) => `\t${extension.name}: app${extension.name[0]?.toUpperCase()}${extension.name.slice(1)},\n`).join("")}}\n\n` : ""),
|
|
7868
7835
|
factories: body,
|
|
7869
7836
|
projects: projectRows
|
|
7870
7837
|
});
|