@orkestrel/scaffold 0.0.130 → 0.0.132
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 +48 -45
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +4 -3
- package/dist/host/agents/platforms/windows.md +1 -0
- package/dist/host/agents/skills/orkestrel-polish/SKILL.md +1 -0
- package/dist/host/claude/agents/orkestrel.md +32 -32
- package/dist/host/claude/rules/patterns.md +2 -0
- package/dist/host/configs/helpers.ts +2 -2
- package/dist/host/guides/agent.md +228 -152
- package/dist/host/guides/contract.md +26 -5
- package/dist/host/guides/database.md +43 -37
- package/dist/host/guides/scaffold.md +15 -8
- package/dist/host/manifest.json +12 -12
- package/dist/host/tests/config.test.ts +3 -3
- package/dist/src/core/index.cjs +23 -16
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +5 -2
- package/dist/src/core/index.d.ts +5 -2
- package/dist/src/core/index.js +23 -16
- package/dist/src/core/index.js.map +1 -1
- package/package.json +10 -10
|
@@ -1030,6 +1030,9 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
1030
1030
|
* A base browser application's journey axis also adds `journey` and `capture`, and each
|
|
1031
1031
|
* app-side browser face adds `journey:<name>` and `capture:<name>`. Their generated
|
|
1032
1032
|
* commands are writable and have no predecessor forms; customized values remain caller-owned.
|
|
1033
|
+
* A workspace that plans the application server barrel adds `build:app:barrel`, which has no
|
|
1034
|
+
* predecessor form. A workspace with the server application adds `serve:build`, which runs `build`
|
|
1035
|
+
* before `serve`, so the barrel and every browser face the server serves are rebuilt.
|
|
1033
1036
|
* Aggregate test scripts and
|
|
1034
1037
|
* maintainer-owned gate chains stay outside the region.
|
|
1035
1038
|
*
|
|
@@ -1040,8 +1043,8 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
1040
1043
|
* existed. The pack hook accepts the build chain emitted before it
|
|
1041
1044
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
1042
1045
|
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
1043
|
-
* step.
|
|
1044
|
-
* it is not repeated there. Any other value is a script the workspace author
|
|
1046
|
+
* step. `serve:build` accepts the server-only chain it ran before it delegated to
|
|
1047
|
+
* `build`. The value being written is always writable, so it is not repeated there. Any other value is a script the workspace author
|
|
1045
1048
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
1046
1049
|
* other named scripts independently.
|
|
1047
1050
|
*
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1030,6 +1030,9 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
1030
1030
|
* A base browser application's journey axis also adds `journey` and `capture`, and each
|
|
1031
1031
|
* app-side browser face adds `journey:<name>` and `capture:<name>`. Their generated
|
|
1032
1032
|
* commands are writable and have no predecessor forms; customized values remain caller-owned.
|
|
1033
|
+
* A workspace that plans the application server barrel adds `build:app:barrel`, which has no
|
|
1034
|
+
* predecessor form. A workspace with the server application adds `serve:build`, which runs `build`
|
|
1035
|
+
* before `serve`, so the barrel and every browser face the server serves are rebuilt.
|
|
1033
1036
|
* Aggregate test scripts and
|
|
1034
1037
|
* maintainer-owned gate chains stay outside the region.
|
|
1035
1038
|
*
|
|
@@ -1040,8 +1043,8 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
1040
1043
|
* existed. The pack hook accepts the build chain emitted before it
|
|
1041
1044
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
1042
1045
|
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
1043
|
-
* step.
|
|
1044
|
-
* it is not repeated there. Any other value is a script the workspace author
|
|
1046
|
+
* step. `serve:build` accepts the server-only chain it ran before it delegated to
|
|
1047
|
+
* `build`. The value being written is always writable, so it is not repeated there. Any other value is a script the workspace author
|
|
1045
1048
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
1046
1049
|
* other named scripts independently.
|
|
1047
1050
|
*
|
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.132",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -95,27 +95,27 @@ 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.
|
|
99
|
-
"@orkestrel/contract": "^0.0.
|
|
100
|
-
"@orkestrel/emitter": "^0.0.
|
|
101
|
-
"@orkestrel/markdown": "^0.0.
|
|
102
|
-
"@orkestrel/process": "^0.0.
|
|
103
|
-
"@orkestrel/template": "^0.0.
|
|
98
|
+
"@orkestrel/console": "^0.0.20",
|
|
99
|
+
"@orkestrel/contract": "^0.0.23",
|
|
100
|
+
"@orkestrel/emitter": "^0.0.16",
|
|
101
|
+
"@orkestrel/markdown": "^0.0.21",
|
|
102
|
+
"@orkestrel/process": "^0.0.19",
|
|
103
|
+
"@orkestrel/template": "^0.0.14"
|
|
104
104
|
},
|
|
105
105
|
devDependencies: {
|
|
106
106
|
"@microsoft/api-extractor": "^7.60.1",
|
|
107
107
|
"@orkestrel/browser": "^0.0.32",
|
|
108
108
|
"@orkestrel/guide": "^0.0.30",
|
|
109
|
-
"@orkestrel/html": "^0.0.
|
|
109
|
+
"@orkestrel/html": "^0.0.16",
|
|
110
110
|
"@orkestrel/probe": "^0.0.29",
|
|
111
|
-
"@orkestrel/test": "^0.0.
|
|
111
|
+
"@orkestrel/test": "^0.0.34",
|
|
112
112
|
"@types/node": "^24.19.2",
|
|
113
113
|
"@vitest/browser-playwright": "^5.1.0",
|
|
114
114
|
"oxfmt": "^0.78.0",
|
|
115
115
|
"oxlint": "^1.93.0",
|
|
116
116
|
"playwright": "^1.64.1",
|
|
117
117
|
"typescript": "^7.0.2",
|
|
118
|
-
"vite": "^8.3.
|
|
118
|
+
"vite": "^8.3.8",
|
|
119
119
|
"vitest": "^5.1.0"
|
|
120
120
|
},
|
|
121
121
|
engines: { "node": ">=22.18.0" }
|
|
@@ -1689,7 +1689,8 @@ export function service(override?: UserConfig): UserConfig {
|
|
|
1689
1689
|
return mergeOverride(project, override)
|
|
1690
1690
|
}
|
|
1691
1691
|
`,
|
|
1692
|
-
studies: `// Run these @orkestrel/study proofs on demand with npm run test:studies;
|
|
1692
|
+
studies: `// Run these @orkestrel/study proofs on demand with npm run test:studies;
|
|
1693
|
+
// no gate or chain runs them.
|
|
1693
1694
|
export function studies(override?: UserConfig): UserConfig {
|
|
1694
1695
|
const project: UserConfig = {
|
|
1695
1696
|
resolve,
|
|
@@ -7468,7 +7469,7 @@ function blueprintToScripts(blueprint) {
|
|
|
7468
7469
|
...blueprint.showcase ? Object.fromEntries(application.flatMap((name) => [[`showcase:${name}`, `${showcase} --mode ${name}`], [`build:showcase:${name}`, `${buildShowcase} --mode ${name}`]])) : {},
|
|
7469
7470
|
...blueprint.app.includes("server") ? {
|
|
7470
7471
|
serve: "node dist/app/server/main.cjs",
|
|
7471
|
-
"serve:build": "npm run build
|
|
7472
|
+
"serve:build": "npm run build && npm run serve"
|
|
7472
7473
|
} : {},
|
|
7473
7474
|
...publishes ? {
|
|
7474
7475
|
prepack: "npm run build",
|
|
@@ -7498,6 +7499,9 @@ function blueprintToScripts(blueprint) {
|
|
|
7498
7499
|
* A base browser application's journey axis also adds `journey` and `capture`, and each
|
|
7499
7500
|
* app-side browser face adds `journey:<name>` and `capture:<name>`. Their generated
|
|
7500
7501
|
* commands are writable and have no predecessor forms; customized values remain caller-owned.
|
|
7502
|
+
* A workspace that plans the application server barrel adds `build:app:barrel`, which has no
|
|
7503
|
+
* predecessor form. A workspace with the server application adds `serve:build`, which runs `build`
|
|
7504
|
+
* before `serve`, so the barrel and every browser face the server serves are rebuilt.
|
|
7501
7505
|
* Aggregate test scripts and
|
|
7502
7506
|
* maintainer-owned gate chains stay outside the region.
|
|
7503
7507
|
*
|
|
@@ -7508,8 +7512,8 @@ function blueprintToScripts(blueprint) {
|
|
|
7508
7512
|
* existed. The pack hook accepts the build chain emitted before it
|
|
7509
7513
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
7510
7514
|
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
7511
|
-
* step.
|
|
7512
|
-
* it is not repeated there. Any other value is a script the workspace author
|
|
7515
|
+
* step. `serve:build` accepts the server-only chain it ran before it delegated to
|
|
7516
|
+
* `build`. The value being written is always writable, so it is not repeated there. Any other value is a script the workspace author
|
|
7513
7517
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
7514
7518
|
* other named scripts independently.
|
|
7515
7519
|
*
|
|
@@ -7530,11 +7534,14 @@ function blueprintToWritableScripts(blueprint) {
|
|
|
7530
7534
|
const sheet = sheets.some((face) => name === `build:src:${face}` || name === `check:src:${face}`);
|
|
7531
7535
|
const framework = blueprintToFaces(blueprint).some((extension) => extension.surface === "browser" && extension.axes.some((axis) => name === `check:${axis}:${extension.name}` || name === `build:${axis}:${extension.name}` || axis === "app" && (name === `dev:${extension.name}` || name === `journey:${extension.name}` || name === `capture:${extension.name}`)));
|
|
7532
7536
|
const showcase = name === "showcase" || name.startsWith("showcase:") || name === "build:showcase" || name.startsWith("build:showcase:");
|
|
7533
|
-
|
|
7537
|
+
const capture = name === "journey" || name === "capture";
|
|
7538
|
+
const barrel = matchesBarrel(blueprint) && name === "build:app:barrel";
|
|
7539
|
+
const served = blueprint.app.includes("server") && name === "serve:build";
|
|
7540
|
+
if (!direct && !sheet && !framework && !showcase && !capture && !barrel && !served) return [];
|
|
7534
7541
|
return [{
|
|
7535
7542
|
name,
|
|
7536
7543
|
command,
|
|
7537
|
-
accepted: name === "test:guides" ? ["vitest run --config vite.config.ts --no-cache --reporter=dot --project guides"] : name === "test:bench" ? ["vitest bench --config vite.config.ts --no-cache --project probe"] : name === "build:src:styles" && blueprint.themes ? ["vite build --config configs/src/vite.styles.config.ts"] : sheets.some((face) => name === `test:src:${face}`) ? [command.slice(command.indexOf(" && ") + 4)] : []
|
|
7544
|
+
accepted: name === "test:guides" ? ["vitest run --config vite.config.ts --no-cache --reporter=dot --project guides"] : name === "test:bench" ? ["vitest bench --config vite.config.ts --no-cache --project probe"] : name === "build:src:styles" && blueprint.themes ? ["vite build --config configs/src/vite.styles.config.ts"] : sheets.some((face) => name === `test:src:${face}`) ? [command.slice(command.indexOf(" && ") + 4)] : name === "serve:build" ? ["npm run build:app:server && npm run serve"] : []
|
|
7538
7545
|
}];
|
|
7539
7546
|
});
|
|
7540
7547
|
const prepack = scripts.prepack;
|