@orkestrel/scaffold 0.0.67 → 0.0.69
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 +67 -44
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/templates/brief.md +9 -0
- package/dist/host/claude/agents/orkestrel.md +4 -4
- package/dist/host/claude/rules/names.md +15 -0
- package/dist/host/claude/rules/tests.md +33 -4
- package/dist/host/claude/rules/workspace.md +14 -2
- package/dist/host/dotfiles/prettierignore +3 -0
- package/dist/host/guides/README.md +65 -0
- package/dist/host/guides/abort.md +169 -0
- package/dist/host/guides/agent.md +1567 -0
- package/dist/host/guides/brief.md +1266 -0
- package/dist/host/guides/browser.md +2200 -0
- package/dist/host/guides/budget.md +196 -0
- package/dist/host/guides/codec.md +519 -0
- package/dist/host/guides/console.md +785 -0
- package/dist/host/guides/contract.md +1193 -0
- package/dist/host/guides/csv.md +541 -0
- package/dist/host/guides/database.md +2518 -0
- package/dist/host/guides/emitter.md +233 -0
- package/dist/host/guides/form.md +1791 -0
- package/dist/host/guides/html.md +717 -0
- package/dist/host/guides/indexeddb.md +505 -0
- package/dist/host/guides/interpret.md +1029 -0
- package/dist/host/guides/lsp.md +515 -0
- package/dist/host/guides/markdown.md +964 -0
- package/dist/host/guides/mcp.md +5554 -0
- package/dist/host/guides/middleware.md +927 -0
- package/dist/host/guides/msg.md +440 -0
- package/dist/host/guides/ndjson.md +120 -0
- package/dist/host/guides/ollama.md +380 -0
- package/dist/host/guides/pool.md +280 -0
- package/dist/host/guides/probe.md +1210 -0
- package/dist/host/guides/process.md +1620 -0
- package/dist/host/guides/program.md +1110 -0
- package/dist/host/guides/qualifier.md +854 -0
- package/dist/host/guides/queue.md +370 -0
- package/dist/host/guides/rater.md +330 -0
- package/dist/host/guides/reason.md +1122 -0
- package/dist/host/guides/relation.md +373 -0
- package/dist/host/guides/router.md +753 -0
- package/dist/host/guides/scaffold.md +192 -31
- package/dist/host/guides/sea.md +383 -0
- package/dist/host/guides/server.md +752 -0
- package/dist/host/guides/sqlite.md +330 -0
- package/dist/host/guides/sse.md +187 -0
- package/dist/host/guides/supervisor.md +4890 -0
- package/dist/host/guides/table.md +1556 -0
- package/dist/host/guides/template.md +280 -0
- package/dist/host/guides/terminal.md +1145 -0
- package/dist/host/guides/test.md +2969 -0
- package/dist/host/guides/timeout.md +252 -0
- package/dist/host/guides/tool.md +507 -0
- package/dist/host/guides/toolbox.md +1038 -0
- package/dist/host/guides/websocket.md +282 -0
- package/dist/host/guides/worker.md +615 -0
- package/dist/host/guides/workflow.md +1507 -0
- package/dist/host/guides/workspace.md +595 -0
- package/dist/host/manifest.json +1218 -10
- package/dist/host/tests/policy.test.ts +279 -2
- package/dist/host/tests/setupPolicy.ts +445 -6
- package/dist/src/core/index.cjs +38 -16
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +33 -9
- package/dist/src/core/index.d.ts +33 -9
- package/dist/src/core/index.js +37 -17
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +1750 -1567
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +106 -24
- package/dist/src/server/index.d.ts +106 -24
- package/dist/src/server/index.js +1751 -1570
- package/dist/src/server/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -400,7 +400,7 @@ export declare function blueprintToGuideArtifacts(blueprint: Blueprint): readonl
|
|
|
400
400
|
*
|
|
401
401
|
* @param blueprint - The workspace specification.
|
|
402
402
|
* @returns One artifact per selected vendored path in `HOST_PATHS` order, then
|
|
403
|
-
* the catalog file.
|
|
403
|
+
* the seed guide mirrors and the catalog file.
|
|
404
404
|
*
|
|
405
405
|
* @remarks
|
|
406
406
|
* Every artifact is claimed by presence, which is the strongest claim a pure
|
|
@@ -423,6 +423,10 @@ export declare function blueprintToGuideArtifacts(blueprint: Blueprint): readonl
|
|
|
423
423
|
* from the installed package, at the locations the `AGENTS.md` and `CLAUDE.md`
|
|
424
424
|
* pointers {@link blueprintToDocumentArtifacts} emits name.
|
|
425
425
|
*
|
|
426
|
+
* The {@link SEED_GUIDE_PATHS} mirrors are claimed explicitly
|
|
427
|
+
* from `REFERENCE_PATHS`. The target's own guide is excluded by
|
|
428
|
+
* {@link selectHostPaths}; the remaining reference guides grant no target claim.
|
|
429
|
+
*
|
|
426
430
|
* @example
|
|
427
431
|
* ```ts
|
|
428
432
|
* import { blueprintToHostArtifacts, createBlueprint } from '@orkestrel/scaffold'
|
|
@@ -799,8 +803,9 @@ export declare function bytesToHex(bytes: Uint8Array): string;
|
|
|
799
803
|
* the installed package. The `AGENTS.md` and `CLAUDE.md` pointers scaffold plans
|
|
800
804
|
* are what name each location.
|
|
801
805
|
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
806
|
+
* This list, {@link HOST_PATHS}, and {@link REFERENCE_PATHS} are disjoint by
|
|
807
|
+
* prefix in every direction: no member equals or sits beneath another list's
|
|
808
|
+
* member. Staging depends on that, because
|
|
804
809
|
* the walk covers the union and a path it discovers twice claims one storage
|
|
805
810
|
* name twice, which refuses the stage.
|
|
806
811
|
*
|
|
@@ -1685,12 +1690,11 @@ export declare class Compiler implements CompilerInterface {
|
|
|
1685
1690
|
* of the paths it selects: the licence, the harness permission file, the
|
|
1686
1691
|
* session-start hooks, the shared policy
|
|
1687
1692
|
* register, the shared policy proof, the shared policy plugin, the shared
|
|
1688
|
-
* configuration leaf and its proof, the byte-identical root dotfiles
|
|
1689
|
-
*
|
|
1690
|
-
* everything beneath it.
|
|
1693
|
+
* configuration leaf and its proof, and the byte-identical root dotfiles.
|
|
1694
|
+
* A directory entry vendors everything beneath it.
|
|
1691
1695
|
*
|
|
1692
|
-
* A plan carries the subset its target selects
|
|
1693
|
-
*
|
|
1696
|
+
* A plan carries the subset its target selects. The seed guide mirrors are
|
|
1697
|
+
* claimed separately by `blueprintToHostArtifacts` through {@link SEED_GUIDE_PATHS}.
|
|
1694
1698
|
*
|
|
1695
1699
|
* Neither the instruction canon nor the bench and MCP wiring is here. A target reads
|
|
1696
1700
|
* its rules, its skills, its agent roles, its bench configuration, and its MCP
|
|
@@ -2995,6 +2999,17 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2995
2999
|
readonly candidates?: readonly string[];
|
|
2996
3000
|
}
|
|
2997
3001
|
|
|
3002
|
+
/**
|
|
3003
|
+
* Lists the reference paths staged for offline reading, frozen.
|
|
3004
|
+
*
|
|
3005
|
+
* @remarks
|
|
3006
|
+
* A directory entry covers everything beneath it. Reference membership grants
|
|
3007
|
+
* no target ownership and no instruction-canon membership. Keep this list,
|
|
3008
|
+
* {@link HOST_PATHS}, and {@link CANON_PATHS} disjoint by prefix in every
|
|
3009
|
+
* direction; duplicate discovery refuses the stage.
|
|
3010
|
+
*/
|
|
3011
|
+
export declare const REFERENCE_PATHS: readonly string[];
|
|
3012
|
+
|
|
2998
3013
|
/**
|
|
2999
3014
|
* Represents one declared dependency range measured against a registry release.
|
|
3000
3015
|
*
|
|
@@ -3190,6 +3205,15 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3190
3205
|
readonly stages: readonly CompileRecord[];
|
|
3191
3206
|
}
|
|
3192
3207
|
|
|
3208
|
+
/**
|
|
3209
|
+
* Lists the guide paths a generated workspace starts with, frozen.
|
|
3210
|
+
*
|
|
3211
|
+
* @remarks
|
|
3212
|
+
* `blueprintToHostArtifacts` claims these mirrors from {@link REFERENCE_PATHS}.
|
|
3213
|
+
* `selectHostPaths` excludes the workspace's own guide from that claim.
|
|
3214
|
+
*/
|
|
3215
|
+
export declare const SEED_GUIDE_PATHS: readonly string[];
|
|
3216
|
+
|
|
3193
3217
|
/**
|
|
3194
3218
|
* Selects the groups a compile covers, in plan order.
|
|
3195
3219
|
*
|
|
@@ -3221,7 +3245,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3221
3245
|
* @returns Every candidate except the workspace's own guide, in input order.
|
|
3222
3246
|
*
|
|
3223
3247
|
* @remarks
|
|
3224
|
-
*
|
|
3248
|
+
* The candidates include the seed guide mirrors beside `HOST_PATHS`. A workspace never
|
|
3225
3249
|
* mirrors its own guide: that file is the workspace's own product, and vendoring
|
|
3226
3250
|
* it would have the target overwrite its guide with the copy it published.
|
|
3227
3251
|
*
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ export declare function blueprintToGuideArtifacts(blueprint: Blueprint): readonl
|
|
|
400
400
|
*
|
|
401
401
|
* @param blueprint - The workspace specification.
|
|
402
402
|
* @returns One artifact per selected vendored path in `HOST_PATHS` order, then
|
|
403
|
-
* the catalog file.
|
|
403
|
+
* the seed guide mirrors and the catalog file.
|
|
404
404
|
*
|
|
405
405
|
* @remarks
|
|
406
406
|
* Every artifact is claimed by presence, which is the strongest claim a pure
|
|
@@ -423,6 +423,10 @@ export declare function blueprintToGuideArtifacts(blueprint: Blueprint): readonl
|
|
|
423
423
|
* from the installed package, at the locations the `AGENTS.md` and `CLAUDE.md`
|
|
424
424
|
* pointers {@link blueprintToDocumentArtifacts} emits name.
|
|
425
425
|
*
|
|
426
|
+
* The {@link SEED_GUIDE_PATHS} mirrors are claimed explicitly
|
|
427
|
+
* from `REFERENCE_PATHS`. The target's own guide is excluded by
|
|
428
|
+
* {@link selectHostPaths}; the remaining reference guides grant no target claim.
|
|
429
|
+
*
|
|
426
430
|
* @example
|
|
427
431
|
* ```ts
|
|
428
432
|
* import { blueprintToHostArtifacts, createBlueprint } from '@orkestrel/scaffold'
|
|
@@ -799,8 +803,9 @@ export declare function bytesToHex(bytes: Uint8Array): string;
|
|
|
799
803
|
* the installed package. The `AGENTS.md` and `CLAUDE.md` pointers scaffold plans
|
|
800
804
|
* are what name each location.
|
|
801
805
|
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
806
|
+
* This list, {@link HOST_PATHS}, and {@link REFERENCE_PATHS} are disjoint by
|
|
807
|
+
* prefix in every direction: no member equals or sits beneath another list's
|
|
808
|
+
* member. Staging depends on that, because
|
|
804
809
|
* the walk covers the union and a path it discovers twice claims one storage
|
|
805
810
|
* name twice, which refuses the stage.
|
|
806
811
|
*
|
|
@@ -1685,12 +1690,11 @@ export declare class Compiler implements CompilerInterface {
|
|
|
1685
1690
|
* of the paths it selects: the licence, the harness permission file, the
|
|
1686
1691
|
* session-start hooks, the shared policy
|
|
1687
1692
|
* register, the shared policy proof, the shared policy plugin, the shared
|
|
1688
|
-
* configuration leaf and its proof, the byte-identical root dotfiles
|
|
1689
|
-
*
|
|
1690
|
-
* everything beneath it.
|
|
1693
|
+
* configuration leaf and its proof, and the byte-identical root dotfiles.
|
|
1694
|
+
* A directory entry vendors everything beneath it.
|
|
1691
1695
|
*
|
|
1692
|
-
* A plan carries the subset its target selects
|
|
1693
|
-
*
|
|
1696
|
+
* A plan carries the subset its target selects. The seed guide mirrors are
|
|
1697
|
+
* claimed separately by `blueprintToHostArtifacts` through {@link SEED_GUIDE_PATHS}.
|
|
1694
1698
|
*
|
|
1695
1699
|
* Neither the instruction canon nor the bench and MCP wiring is here. A target reads
|
|
1696
1700
|
* its rules, its skills, its agent roles, its bench configuration, and its MCP
|
|
@@ -2995,6 +2999,17 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2995
2999
|
readonly candidates?: readonly string[];
|
|
2996
3000
|
}
|
|
2997
3001
|
|
|
3002
|
+
/**
|
|
3003
|
+
* Lists the reference paths staged for offline reading, frozen.
|
|
3004
|
+
*
|
|
3005
|
+
* @remarks
|
|
3006
|
+
* A directory entry covers everything beneath it. Reference membership grants
|
|
3007
|
+
* no target ownership and no instruction-canon membership. Keep this list,
|
|
3008
|
+
* {@link HOST_PATHS}, and {@link CANON_PATHS} disjoint by prefix in every
|
|
3009
|
+
* direction; duplicate discovery refuses the stage.
|
|
3010
|
+
*/
|
|
3011
|
+
export declare const REFERENCE_PATHS: readonly string[];
|
|
3012
|
+
|
|
2998
3013
|
/**
|
|
2999
3014
|
* Represents one declared dependency range measured against a registry release.
|
|
3000
3015
|
*
|
|
@@ -3190,6 +3205,15 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3190
3205
|
readonly stages: readonly CompileRecord[];
|
|
3191
3206
|
}
|
|
3192
3207
|
|
|
3208
|
+
/**
|
|
3209
|
+
* Lists the guide paths a generated workspace starts with, frozen.
|
|
3210
|
+
*
|
|
3211
|
+
* @remarks
|
|
3212
|
+
* `blueprintToHostArtifacts` claims these mirrors from {@link REFERENCE_PATHS}.
|
|
3213
|
+
* `selectHostPaths` excludes the workspace's own guide from that claim.
|
|
3214
|
+
*/
|
|
3215
|
+
export declare const SEED_GUIDE_PATHS: readonly string[];
|
|
3216
|
+
|
|
3193
3217
|
/**
|
|
3194
3218
|
* Selects the groups a compile covers, in plan order.
|
|
3195
3219
|
*
|
|
@@ -3221,7 +3245,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3221
3245
|
* @returns Every candidate except the workspace's own guide, in input order.
|
|
3222
3246
|
*
|
|
3223
3247
|
* @remarks
|
|
3224
|
-
*
|
|
3248
|
+
* The candidates include the seed guide mirrors beside `HOST_PATHS`. A workspace never
|
|
3225
3249
|
* mirrors its own guide: that file is the workspace's own product, and vendoring
|
|
3226
3250
|
* it would have the target overwrite its guide with the copy it published.
|
|
3227
3251
|
*
|
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.69",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -83,7 +83,7 @@ var package_default = {
|
|
|
83
83
|
"build:src:core": "vite build --config configs/src/vite.core.config.ts && npm run copy dist/src/core/index.d.ts dist/src/core/index.d.cts",
|
|
84
84
|
"build:src:server": "vite build --config configs/src/vite.server.config.ts && npm run copy dist/src/server/index.d.ts dist/src/server/index.d.cts",
|
|
85
85
|
"build:src:bin": "vite build --config configs/src/vite.bin.config.ts",
|
|
86
|
-
"build:host": "node -e \"import('./dist/src/server/index.js').then((m)=>{const n=m.stageHost(process.cwd(),'dist/host').length;console.log('build-host: staged '+n+' file(s) into dist/host')})\"",
|
|
86
|
+
"build:host": "node -e \"import('./dist/src/server/index.js').then((m)=>{const n=m.stageHost(process.cwd(),'dist/host',{report: (message) => console.error(message)}).length;console.log('build-host: staged '+n+' file(s) into dist/host')})\"",
|
|
87
87
|
"build:inventory": "node -e \"import('./dist/src/server/index.js').then((m)=>{const p=process.argv[1]??'host.json',n=m.stageInventory(process.cwd(),p).entries.length;console.log('build-inventory: staged '+n+' file(s) into '+p)})\"",
|
|
88
88
|
"prepack": "npm run build",
|
|
89
89
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release"
|
|
@@ -98,7 +98,7 @@ var package_default = {
|
|
|
98
98
|
},
|
|
99
99
|
devDependencies: {
|
|
100
100
|
"@microsoft/api-extractor": "^7.59.1",
|
|
101
|
-
"@orkestrel/guide": "^0.0.
|
|
101
|
+
"@orkestrel/guide": "^0.0.19",
|
|
102
102
|
"@orkestrel/html": "^0.0.9",
|
|
103
103
|
"@orkestrel/probe": "^0.0.14",
|
|
104
104
|
"@orkestrel/test": "^0.0.14",
|
|
@@ -213,12 +213,11 @@ var BIN_ENTRY_PATH = "src/bin/main.ts";
|
|
|
213
213
|
* of the paths it selects: the licence, the harness permission file, the
|
|
214
214
|
* session-start hooks, the shared policy
|
|
215
215
|
* register, the shared policy proof, the shared policy plugin, the shared
|
|
216
|
-
* configuration leaf and its proof, the byte-identical root dotfiles
|
|
217
|
-
*
|
|
218
|
-
* everything beneath it.
|
|
216
|
+
* configuration leaf and its proof, and the byte-identical root dotfiles.
|
|
217
|
+
* A directory entry vendors everything beneath it.
|
|
219
218
|
*
|
|
220
|
-
* A plan carries the subset its target selects
|
|
221
|
-
*
|
|
219
|
+
* A plan carries the subset its target selects. The seed guide mirrors are
|
|
220
|
+
* claimed separately by `blueprintToHostArtifacts` through {@link SEED_GUIDE_PATHS}.
|
|
222
221
|
*
|
|
223
222
|
* Neither the instruction canon nor the bench and MCP wiring is here. A target reads
|
|
224
223
|
* its rules, its skills, its agent roles, its bench configuration, and its MCP
|
|
@@ -242,9 +241,7 @@ var HOST_PATHS = Object.freeze([
|
|
|
242
241
|
".oxfmtrc.json",
|
|
243
242
|
".oxlintrc.json",
|
|
244
243
|
".oxlintignore",
|
|
245
|
-
".prettierignore"
|
|
246
|
-
"guides/guide.md",
|
|
247
|
-
"guides/scaffold.md"
|
|
244
|
+
".prettierignore"
|
|
248
245
|
]);
|
|
249
246
|
/**
|
|
250
247
|
* Lists the instruction-canon paths staged for reading rather than for a target, frozen.
|
|
@@ -262,8 +259,9 @@ var HOST_PATHS = Object.freeze([
|
|
|
262
259
|
* the installed package. The `AGENTS.md` and `CLAUDE.md` pointers scaffold plans
|
|
263
260
|
* are what name each location.
|
|
264
261
|
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
262
|
+
* This list, {@link HOST_PATHS}, and {@link REFERENCE_PATHS} are disjoint by
|
|
263
|
+
* prefix in every direction: no member equals or sits beneath another list's
|
|
264
|
+
* member. Staging depends on that, because
|
|
267
265
|
* the walk covers the union and a path it discovers twice claims one storage
|
|
268
266
|
* name twice, which refuses the stage.
|
|
269
267
|
*
|
|
@@ -293,6 +291,24 @@ var CANON_PATHS = Object.freeze([
|
|
|
293
291
|
".cursor/mcp.json",
|
|
294
292
|
".cursor/rules"
|
|
295
293
|
]);
|
|
294
|
+
/**
|
|
295
|
+
* Lists the reference paths staged for offline reading, frozen.
|
|
296
|
+
*
|
|
297
|
+
* @remarks
|
|
298
|
+
* A directory entry covers everything beneath it. Reference membership grants
|
|
299
|
+
* no target ownership and no instruction-canon membership. Keep this list,
|
|
300
|
+
* {@link HOST_PATHS}, and {@link CANON_PATHS} disjoint by prefix in every
|
|
301
|
+
* direction; duplicate discovery refuses the stage.
|
|
302
|
+
*/
|
|
303
|
+
var REFERENCE_PATHS = Object.freeze(["guides"]);
|
|
304
|
+
/**
|
|
305
|
+
* Lists the guide paths a generated workspace starts with, frozen.
|
|
306
|
+
*
|
|
307
|
+
* @remarks
|
|
308
|
+
* `blueprintToHostArtifacts` claims these mirrors from {@link REFERENCE_PATHS}.
|
|
309
|
+
* `selectHostPaths` excludes the workspace's own guide from that claim.
|
|
310
|
+
*/
|
|
311
|
+
var SEED_GUIDE_PATHS = Object.freeze(["guides/guide.md", "guides/scaffold.md"]);
|
|
296
312
|
/** Names the repository-relative path where the committed vendored-file inventory is served. */
|
|
297
313
|
var HOST_INVENTORY_PATH = "host.json";
|
|
298
314
|
/**
|
|
@@ -3841,7 +3857,7 @@ function srcToRoot(src) {
|
|
|
3841
3857
|
* @returns Every candidate except the workspace's own guide, in input order.
|
|
3842
3858
|
*
|
|
3843
3859
|
* @remarks
|
|
3844
|
-
*
|
|
3860
|
+
* The candidates include the seed guide mirrors beside `HOST_PATHS`. A workspace never
|
|
3845
3861
|
* mirrors its own guide: that file is the workspace's own product, and vendoring
|
|
3846
3862
|
* it would have the target overwrite its guide with the copy it published.
|
|
3847
3863
|
*
|
|
@@ -5624,7 +5640,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
|
|
|
5624
5640
|
*
|
|
5625
5641
|
* @param blueprint - The workspace specification.
|
|
5626
5642
|
* @returns One artifact per selected vendored path in `HOST_PATHS` order, then
|
|
5627
|
-
* the catalog file.
|
|
5643
|
+
* the seed guide mirrors and the catalog file.
|
|
5628
5644
|
*
|
|
5629
5645
|
* @remarks
|
|
5630
5646
|
* Every artifact is claimed by presence, which is the strongest claim a pure
|
|
@@ -5647,6 +5663,10 @@ function blueprintToOrchestrationArtifacts(blueprint) {
|
|
|
5647
5663
|
* from the installed package, at the locations the `AGENTS.md` and `CLAUDE.md`
|
|
5648
5664
|
* pointers {@link blueprintToDocumentArtifacts} emits name.
|
|
5649
5665
|
*
|
|
5666
|
+
* The {@link SEED_GUIDE_PATHS} mirrors are claimed explicitly
|
|
5667
|
+
* from `REFERENCE_PATHS`. The target's own guide is excluded by
|
|
5668
|
+
* {@link selectHostPaths}; the remaining reference guides grant no target claim.
|
|
5669
|
+
*
|
|
5650
5670
|
* @example
|
|
5651
5671
|
* ```ts
|
|
5652
5672
|
* import { blueprintToHostArtifacts, createBlueprint } from '@orkestrel/scaffold'
|
|
@@ -5658,7 +5678,7 @@ function blueprintToOrchestrationArtifacts(blueprint) {
|
|
|
5658
5678
|
* ```
|
|
5659
5679
|
*/
|
|
5660
5680
|
function blueprintToHostArtifacts(blueprint) {
|
|
5661
|
-
return [...selectHostPaths(HOST_PATHS, blueprint.name), CATALOG_AGENT_PATH].map((path) => ({
|
|
5681
|
+
return [...selectHostPaths([...HOST_PATHS, ...SEED_GUIDE_PATHS], blueprint.name), CATALOG_AGENT_PATH].map((path) => ({
|
|
5662
5682
|
path,
|
|
5663
5683
|
group: inferGroup(path),
|
|
5664
5684
|
ownership: "presence",
|
|
@@ -6932,6 +6952,6 @@ var Compiler = class {
|
|
|
6932
6952
|
}
|
|
6933
6953
|
};
|
|
6934
6954
|
//#endregion
|
|
6935
|
-
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_CLOSING_MARKER, CATALOG_OPENING_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, RELEASE_PROOF_COMMAND, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, ScaffoldError, TAB_WIDTH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToOrchestrationArtifacts, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, isArtifact, isAudit, isBlueprint, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSnapshot, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
6955
|
+
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_CLOSING_MARKER, CATALOG_OPENING_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, ScaffoldError, TAB_WIDTH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToOrchestrationArtifacts, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, isArtifact, isAudit, isBlueprint, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSnapshot, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
6936
6956
|
|
|
6937
6957
|
//# sourceMappingURL=index.js.map
|