@orkestrel/scaffold 0.0.120 → 0.0.121

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/bin/main.js +5 -5
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/claude/agents/orkestrel.md +26 -26
  4. package/dist/host/guides/agent.md +5 -5
  5. package/dist/host/guides/brief.md +7 -15
  6. package/dist/host/guides/browser.md +1 -1
  7. package/dist/host/guides/capture.md +2 -2
  8. package/dist/host/guides/console.md +4 -30
  9. package/dist/host/guides/guide.md +0 -1
  10. package/dist/host/guides/interpret.md +165 -182
  11. package/dist/host/guides/lsp.md +26 -51
  12. package/dist/host/guides/mcp.md +220 -276
  13. package/dist/host/guides/middleware.md +14 -22
  14. package/dist/host/guides/ollama.md +1 -3
  15. package/dist/host/guides/probe.md +71 -80
  16. package/dist/host/guides/program.md +26 -35
  17. package/dist/host/guides/qualifier.md +0 -6
  18. package/dist/host/guides/queue.md +0 -4
  19. package/dist/host/guides/rater.md +6 -12
  20. package/dist/host/guides/relation.md +0 -2
  21. package/dist/host/guides/scaffold.md +12 -8
  22. package/dist/host/guides/sea.md +47 -51
  23. package/dist/host/guides/server.md +15 -19
  24. package/dist/host/guides/terminal.md +0 -26
  25. package/dist/host/guides/toolbox.md +0 -10
  26. package/dist/host/guides/worker.md +57 -57
  27. package/dist/host/guides/workflow.md +13 -26
  28. package/dist/host/guides/workspace.md +15 -21
  29. package/dist/host/manifest.json +28 -448
  30. package/dist/src/core/index.cjs +7 -45
  31. package/dist/src/core/index.cjs.map +1 -1
  32. package/dist/src/core/index.js +7 -45
  33. package/dist/src/core/index.js.map +1 -1
  34. package/dist/src/server/index.cjs +10 -9
  35. package/dist/src/server/index.cjs.map +1 -1
  36. package/dist/src/server/index.d.cts +12 -8
  37. package/dist/src/server/index.d.ts +12 -8
  38. package/dist/src/server/index.js +10 -9
  39. package/dist/src/server/index.js.map +1 -1
  40. package/package.json +5 -5
@@ -1483,8 +1483,8 @@ function stageBytes(host, root, destinations) {
1483
1483
  *
1484
1484
  * @param checkout - The checkout the vendored paths are read from.
1485
1485
  * @param host - The vendored host root to fill; it must be absent or empty.
1486
- * @param options - The inventory selection, establishment switch, and reporting callback.
1487
- * Default: no reporting.
1486
+ * @param options - The inventory selection, establishment switch, reporting callback, and
1487
+ * declared transfers. Default: no reporting, and the transfers in `SURFACE_TRANSFERS`.
1488
1488
  * @returns One entry per staged file, sorted by storage name.
1489
1489
  * @throws `ScaffoldError('INVALID', …)` when either argument is not a host path
1490
1490
  * or a vendored path leaves the checkout or the host root.
@@ -1492,8 +1492,8 @@ function stageBytes(host, root, destinations) {
1492
1492
  * host root is not vacant, the checkout does not carry every vendored path, two
1493
1493
  * vendored files claim one storage name, a vendored file is not a plain file
1494
1494
  * within the artifact ceiling, published guides are unreadable, a staged
1495
- * collision's owner set is not a subset of its published owner set, a
1496
- * `SURFACE_TRANSFERS` entry is spent because its keeper alone claims the name, the
1495
+ * collision's owner set is not a subset of its published owner set, a declared
1496
+ * transfer is spent because its keeper alone claims the name, the
1497
1497
  * inventory is absent without `establish: true`, or the staged manifest does not read back.
1498
1498
  * @throws `ScaffoldError('WRITE', …)` when a staged file or the manifest cannot
1499
1499
  * be written.
@@ -1530,10 +1530,11 @@ function stageBytes(host, root, destinations) {
1530
1530
  * the canon and reference files for reading. Every catalog package must have a
1531
1531
  * guide in the discovered membership before the host is written.
1532
1532
  * Copied guides must carry no collision whose name and exact owner set the
1533
- * committed inventory lacks. A `SURFACE_TRANSFERS` entry that another guide claims
1534
- * admits its keeper beside the recorded owners, or beside the one owner of a name
1535
- * the inventory lacks, and the staged surface records that keeper whether or not
1536
- * its guide is mirrored. An absent inventory requires `establish: true`;
1533
+ * committed inventory lacks. A declared transfer that another guide claims admits
1534
+ * its keeper beside the recorded owners, or beside the one owner of a name the
1535
+ * inventory lacks, and the staged surface records that keeper whether or not its
1536
+ * guide is mirrored. `options.transfers` declares the transfers, and its default is
1537
+ * `SURFACE_TRANSFERS`. An absent inventory requires `establish: true`;
1537
1538
  * an inventory without a valid recorded Surface is refused.
1538
1539
  * Everything downstream — the missing-path refusal, the
1539
1540
  * storage collision guard, the sort, the digests, and the root inventory — reads
@@ -1679,7 +1680,7 @@ function stageHost(checkout, host, options) {
1679
1680
  name,
1680
1681
  owner
1681
1682
  }))), ({ name }) => name);
1682
- const transfers = _src_core.SURFACE_TRANSFERS.map((transfer) => {
1683
+ const transfers = (options?.transfers ?? _src_core.SURFACE_TRANSFERS).map((transfer) => {
1683
1684
  const owners = new Set(claimants.get(transfer.name)?.map(({ owner }) => owner));
1684
1685
  return {
1685
1686
  ...transfer,