@orkestrel/scaffold 0.0.134 → 0.0.135

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.
Files changed (40) hide show
  1. package/dist/agents/skills/orkestrel-parallel/scripts/lane.js +610 -79
  2. package/dist/agents/skills/orkestrel-publish/scripts/wave.js +307 -16
  3. package/dist/bin/main.js +253 -35
  4. package/dist/bin/main.js.map +1 -1
  5. package/dist/host/AGENTS.md +1 -1
  6. package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +1 -1
  7. package/dist/host/agents/skills/orkestrel-parallel/scripts/lane.ts +782 -115
  8. package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
  9. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +22 -5
  10. package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +379 -27
  11. package/dist/host/claude/agents/orkestrel.md +14 -14
  12. package/dist/host/claude/rules/architecture.md +1 -1
  13. package/dist/host/claude/rules/patterns.md +2 -0
  14. package/dist/host/claude/rules/workspace.md +64 -63
  15. package/dist/host/configs/helpers.ts +88 -67
  16. package/dist/host/dotfiles/oxlintrc.json +1 -57
  17. package/dist/host/guides/agent.md +989 -395
  18. package/dist/host/guides/database.md +357 -342
  19. package/dist/host/guides/middleware.md +5 -5
  20. package/dist/host/guides/ollama.md +41 -42
  21. package/dist/host/guides/scaffold.md +177 -105
  22. package/dist/host/guides/study.md +12 -12
  23. package/dist/host/guides/test.md +158 -46
  24. package/dist/host/guides/toolbox.md +127 -81
  25. package/dist/host/guides/workspace.md +21 -14
  26. package/dist/host/manifest.json +23 -23
  27. package/dist/host/tests/config.test.ts +166 -112
  28. package/dist/src/core/index.cjs +491 -195
  29. package/dist/src/core/index.cjs.map +1 -1
  30. package/dist/src/core/index.d.cts +217 -24
  31. package/dist/src/core/index.d.ts +217 -24
  32. package/dist/src/core/index.js +482 -193
  33. package/dist/src/core/index.js.map +1 -1
  34. package/dist/src/server/index.cjs +18 -8
  35. package/dist/src/server/index.cjs.map +1 -1
  36. package/dist/src/server/index.d.cts +4 -3
  37. package/dist/src/server/index.d.ts +4 -3
  38. package/dist/src/server/index.js +19 -9
  39. package/dist/src/server/index.js.map +1 -1
  40. package/package.json +2 -2
@@ -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`, `reporter`, `styles`, `themes`, `showcase`,
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: true,
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` is the one region a caller may omit.
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
- }, ["additions", "overrides"]);
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. The advisory channel reports what the maintainer
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
- return (0, _src_core.replaceManifestScripts)(manifest, regions.scripts) ?? manifest;
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) {