@orkestrel/scaffold 0.0.134 → 0.0.136
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-parallel/scripts/lane.js +777 -83
- package/dist/agents/skills/orkestrel-publish/scripts/wave.js +327 -21
- package/dist/bin/main.js +254 -36
- package/dist/bin/main.js.map +1 -1
- package/dist/host/AGENTS.md +2 -2
- package/dist/host/agents/orchestration.md +2 -2
- package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-parallel/scripts/lane.ts +983 -123
- package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +22 -5
- package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +403 -32
- package/dist/host/claude/agents/orkestrel.md +17 -17
- package/dist/host/claude/agents/reviewer.md +1 -1
- package/dist/host/claude/rules/architecture.md +1 -1
- package/dist/host/claude/rules/documentation.md +1 -1
- package/dist/host/claude/rules/patterns.md +4 -2
- package/dist/host/claude/rules/workspace.md +73 -67
- package/dist/host/configs/helpers.ts +109 -73
- package/dist/host/dotfiles/oxlintrc.json +1 -57
- package/dist/host/guides/agent.md +989 -395
- package/dist/host/guides/contract.md +198 -163
- package/dist/host/guides/database.md +978 -503
- package/dist/host/guides/indexeddb.md +80 -66
- package/dist/host/guides/middleware.md +5 -5
- package/dist/host/guides/ollama.md +41 -42
- package/dist/host/guides/relation.md +56 -32
- package/dist/host/guides/scaffold.md +185 -107
- package/dist/host/guides/sqlite.md +44 -23
- package/dist/host/guides/study.md +12 -12
- package/dist/host/guides/test.md +163 -47
- package/dist/host/guides/toolbox.md +127 -81
- package/dist/host/guides/workspace.md +21 -14
- package/dist/host/manifest.json +30 -30
- package/dist/host/scripts/browsers.sh +0 -0
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/npm.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/host/tests/config.test.ts +237 -115
- package/dist/src/core/index.cjs +591 -218
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +248 -29
- package/dist/src/core/index.d.ts +248 -29
- package/dist/src/core/index.js +581 -216
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +18 -8
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +4 -3
- package/dist/src/server/index.d.ts +4 -3
- package/dist/src/server/index.js +19 -9
- package/dist/src/server/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1021,7 +1021,7 @@ function listCanonPaths(target, groups) {
|
|
|
1021
1021
|
*
|
|
1022
1022
|
* @remarks
|
|
1023
1023
|
* The population sits under `configs/src` and `configs/app`, and the widest blueprint
|
|
1024
|
-
* compiles it: every environment on both axes, `bin`, `
|
|
1024
|
+
* compiles it: every environment on both axes, `bin`, `styles`, `themes`, `showcase`,
|
|
1025
1025
|
* `journey`, and each framework on both axes. A wrapper the plan claims pairs with its
|
|
1026
1026
|
* artifact, and the rest report `foreign`, which lets the deletion verb take the wrappers
|
|
1027
1027
|
* an environment left behind.
|
|
@@ -1046,8 +1046,7 @@ function listWrapperPaths(target, groups) {
|
|
|
1046
1046
|
name,
|
|
1047
1047
|
axes: _src_core.AXES
|
|
1048
1048
|
})),
|
|
1049
|
-
bin:
|
|
1050
|
-
reporter: true,
|
|
1049
|
+
bin: ["main"],
|
|
1051
1050
|
styles: true,
|
|
1052
1051
|
themes: true,
|
|
1053
1052
|
showcase: true,
|
|
@@ -2471,7 +2470,7 @@ var isDependencies = (0, _orkestrel_contract.andOf)(_src_core.isCollection, (0,
|
|
|
2471
2470
|
* The whole closed record a manifest-writing method accepts, so a caller
|
|
2472
2471
|
* naming a region the writer does not carry is refused before any byte moves.
|
|
2473
2472
|
* Each region is bounded by the same collection law its own list guard applies,
|
|
2474
|
-
* and `additions`
|
|
2473
|
+
* and `additions`, `overrides`, and `entries` are the regions a caller may omit.
|
|
2475
2474
|
*
|
|
2476
2475
|
* @example
|
|
2477
2476
|
* ```ts
|
|
@@ -2496,8 +2495,17 @@ var isManifestRegionSet = (0, _orkestrel_contract.recordOf)({
|
|
|
2496
2495
|
runtime: isDependencies,
|
|
2497
2496
|
development: isDependencies
|
|
2498
2497
|
}),
|
|
2499
|
-
overrides: (0, _orkestrel_contract.compileGuard)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.stringShape)())))
|
|
2500
|
-
|
|
2498
|
+
overrides: (0, _orkestrel_contract.compileGuard)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.stringShape)()))),
|
|
2499
|
+
entries: (0, _orkestrel_contract.recordOf)({
|
|
2500
|
+
bin: (0, _orkestrel_contract.compileGuard)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.stringShape)())),
|
|
2501
|
+
files: (0, _orkestrel_contract.andOf)(_src_core.isCollection, (0, _orkestrel_contract.arrayOf)(_orkestrel_contract.isString)),
|
|
2502
|
+
exports: _orkestrel_contract.isRecord
|
|
2503
|
+
})
|
|
2504
|
+
}, [
|
|
2505
|
+
"additions",
|
|
2506
|
+
"overrides",
|
|
2507
|
+
"entries"
|
|
2508
|
+
]);
|
|
2501
2509
|
/** Narrows a value to a bounded list of fetched guide mirrors. */
|
|
2502
2510
|
var isMirrors = (0, _orkestrel_contract.andOf)(_src_core.isCollection, (0, _orkestrel_contract.arrayOf)(_src_core.isMirror));
|
|
2503
2511
|
/** Narrows a value to a bounded list of fleet catalog rows. */
|
|
@@ -3513,7 +3521,8 @@ var Materializer = class {
|
|
|
3513
3521
|
* the manifest does not declare is the caller's mistake and throws. A script
|
|
3514
3522
|
* holding a value the region does not accept is the workspace author's own
|
|
3515
3523
|
* chain, so the script region is skipped without a byte moving and the range
|
|
3516
|
-
* region is still written.
|
|
3524
|
+
* region is still written. An entry section holding another shape is the package's own
|
|
3525
|
+
* value, so the entry region is skipped the same way. The advisory channel reports what the maintainer
|
|
3517
3526
|
* must paste.
|
|
3518
3527
|
*/
|
|
3519
3528
|
declare(regions, target) {
|
|
@@ -4107,7 +4116,8 @@ var Materializer = class {
|
|
|
4107
4116
|
const missing = [...regions.pins.runtime, ...regions.pins.development].find((dependency) => !text.includes(JSON.stringify(dependency.name)));
|
|
4108
4117
|
throw this.#error("INVALID", `The manifest does not declare ${missing?.name ?? "a requested package"}, so its range cannot be rewritten.`, missing === void 0 ? void 0 : { name: missing.name });
|
|
4109
4118
|
}
|
|
4110
|
-
|
|
4119
|
+
const scripted = (0, _src_core.replaceManifestScripts)(manifest, regions.scripts) ?? manifest;
|
|
4120
|
+
return regions.entries === void 0 ? scripted : (0, _src_core.insertManifestEntries)(scripted, regions.entries) ?? scripted;
|
|
4111
4121
|
};
|
|
4112
4122
|
}
|
|
4113
4123
|
#finish(result) {
|