@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
package/dist/src/core/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fillTemplate } from "@orkestrel/template";
|
|
|
3
3
|
import { Emitter } from "@orkestrel/emitter";
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@orkestrel/scaffold",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.122",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -95,7 +95,7 @@ var package_default = {
|
|
|
95
95
|
"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"
|
|
96
96
|
},
|
|
97
97
|
dependencies: {
|
|
98
|
-
"@orkestrel/console": "^0.0.
|
|
98
|
+
"@orkestrel/console": "^0.0.18",
|
|
99
99
|
"@orkestrel/contract": "^0.0.21",
|
|
100
100
|
"@orkestrel/emitter": "^0.0.14",
|
|
101
101
|
"@orkestrel/markdown": "^0.0.19",
|
|
@@ -104,10 +104,10 @@ var package_default = {
|
|
|
104
104
|
},
|
|
105
105
|
devDependencies: {
|
|
106
106
|
"@microsoft/api-extractor": "^7.60.1",
|
|
107
|
-
"@orkestrel/browser": "^0.0.
|
|
108
|
-
"@orkestrel/guide": "^0.0.
|
|
107
|
+
"@orkestrel/browser": "^0.0.31",
|
|
108
|
+
"@orkestrel/guide": "^0.0.29",
|
|
109
109
|
"@orkestrel/html": "^0.0.14",
|
|
110
|
-
"@orkestrel/probe": "^0.0.
|
|
110
|
+
"@orkestrel/probe": "^0.0.27",
|
|
111
111
|
"@orkestrel/test": "^0.0.32",
|
|
112
112
|
"@types/node": "^24.19.2",
|
|
113
113
|
"@vitest/browser-playwright": "^5.0.5",
|
|
@@ -370,46 +370,7 @@ var HOST_INVENTORY_PATH = "host.json";
|
|
|
370
370
|
* whose keeper alone claims the name. `.claude/rules/names.md` § Fleet name ownership rule 5
|
|
371
371
|
* governs when a transfer is declared and removed.
|
|
372
372
|
*/
|
|
373
|
-
var SURFACE_TRANSFERS = Object.freeze([
|
|
374
|
-
"errorToMessage",
|
|
375
|
-
"escapeRegExp",
|
|
376
|
-
"failure",
|
|
377
|
-
"success"
|
|
378
|
-
].map((name) => ({
|
|
379
|
-
name,
|
|
380
|
-
keeper: "contract",
|
|
381
|
-
item: 79
|
|
382
|
-
})), ...[
|
|
383
|
-
"JSONRPCError",
|
|
384
|
-
"JSONRPCErrorResponse",
|
|
385
|
-
"JSONRPCId",
|
|
386
|
-
"JSONRPCInvocation",
|
|
387
|
-
"JSONRPCMessage",
|
|
388
|
-
"JSONRPCNotification",
|
|
389
|
-
"JSONRPCRequest",
|
|
390
|
-
"JSONRPCResponse",
|
|
391
|
-
"JSONRPCResultResponse",
|
|
392
|
-
"JSONRPC_INTERNAL_ERROR",
|
|
393
|
-
"JSONRPC_INVALID_PARAMS",
|
|
394
|
-
"JSONRPC_INVALID_REQUEST",
|
|
395
|
-
"JSONRPC_METHOD_NOT_FOUND",
|
|
396
|
-
"JSONRPC_PARSE_ERROR",
|
|
397
|
-
"buildJSONRPCError",
|
|
398
|
-
"buildJSONRPCResult",
|
|
399
|
-
"isJSONRPCError",
|
|
400
|
-
"isJSONRPCErrorResponse",
|
|
401
|
-
"isJSONRPCId",
|
|
402
|
-
"isJSONRPCInvocation",
|
|
403
|
-
"isJSONRPCMessage",
|
|
404
|
-
"isJSONRPCNotification",
|
|
405
|
-
"isJSONRPCRequest",
|
|
406
|
-
"isJSONRPCResponse",
|
|
407
|
-
"isJSONRPCResultResponse"
|
|
408
|
-
].map((name) => ({
|
|
409
|
-
name,
|
|
410
|
-
keeper: "jsonrpc",
|
|
411
|
-
item: 81
|
|
412
|
-
}))].map((transfer) => Object.freeze(transfer)));
|
|
373
|
+
var SURFACE_TRANSFERS = Object.freeze([]);
|
|
413
374
|
/**
|
|
414
375
|
* Lists the vendored paths whose present bytes belong to each workspace, frozen.
|
|
415
376
|
*
|
|
@@ -810,6 +771,7 @@ var BROWSE_UPSTREAM = Object.freeze([
|
|
|
810
771
|
"@orkestrel/contract",
|
|
811
772
|
"@orkestrel/emitter",
|
|
812
773
|
"@orkestrel/html",
|
|
774
|
+
"@orkestrel/jsonrpc",
|
|
813
775
|
"@orkestrel/markdown",
|
|
814
776
|
"@orkestrel/mcp",
|
|
815
777
|
"@orkestrel/pool",
|
|
@@ -1063,6 +1025,7 @@ function isNamedPlugin(plugin: PluginOption): plugin is { name: string } {
|
|
|
1063
1025
|
enabled: true,
|
|
1064
1026
|
provider: playwright(browserOptions),
|
|
1065
1027
|
commands,
|
|
1028
|
+
screenshotDirectory: screenshots,
|
|
1066
1029
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1067
1030
|
},
|
|
1068
1031
|
fileParallelism: false,
|
|
@@ -1124,6 +1087,7 @@ export function srcVue(override?: UserConfig): UserConfig {
|
|
|
1124
1087
|
enabled: true,
|
|
1125
1088
|
provider: playwright(browserOptions),
|
|
1126
1089
|
commands,
|
|
1090
|
+
screenshotDirectory: screenshots,
|
|
1127
1091
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1128
1092
|
},
|
|
1129
1093
|
fileParallelism: false,
|
|
@@ -1168,6 +1132,7 @@ export function srcBrowser(override?: UserConfig): UserConfig {
|
|
|
1168
1132
|
enabled: true,
|
|
1169
1133
|
provider: playwright(browserOptions),
|
|
1170
1134
|
commands,
|
|
1135
|
+
screenshotDirectory: screenshots,
|
|
1171
1136
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1172
1137
|
},
|
|
1173
1138
|
fileParallelism: false,
|
|
@@ -1304,6 +1269,7 @@ export function srcBin(override?: UserConfig): UserConfig {
|
|
|
1304
1269
|
enabled: true,
|
|
1305
1270
|
provider: playwright(browserOptions),
|
|
1306
1271
|
commands,
|
|
1272
|
+
screenshotDirectory: screenshots,
|
|
1307
1273
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1308
1274
|
},
|
|
1309
1275
|
fileParallelism: false,
|
|
@@ -1564,6 +1530,7 @@ export function appServer(override?: UserConfig): UserConfig {
|
|
|
1564
1530
|
enabled: true,
|
|
1565
1531
|
provider: playwright(browserOptions),
|
|
1566
1532
|
commands,
|
|
1533
|
+
screenshotDirectory: screenshots,
|
|
1567
1534
|
instances: [{ browser: 'chromium', headless: true }],
|
|
1568
1535
|
},
|
|
1569
1536
|
},
|
|
@@ -7863,7 +7830,7 @@ ${projects.map((project) => `\t\t\t${project},`).join("\n")}
|
|
|
7863
7830
|
imports: imports.length === 0 ? "" : `${imports.join("\n")}\n`,
|
|
7864
7831
|
helpers: helpers.length === 0 ? "" : matchesPrintWidth(helperImport.trimEnd()) ? helperImport : `import {\n${helpers.map((helper) => `\t${helper},`).join("\n")}\n} from './configs/helpers.js'\n`,
|
|
7865
7832
|
browsers: machinery.browser ? "import { resolveBrowser, resolvePinnedBrowser } from './configs/browsers.js'\nimport { commands } from './configs/commands.js'\n" : "",
|
|
7866
|
-
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` : ""),
|
|
7833
|
+
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` : ""),
|
|
7867
7834
|
factories: body,
|
|
7868
7835
|
projects: projectRows
|
|
7869
7836
|
});
|