@orkestrel/scaffold 0.0.98 → 0.0.100

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 (49) hide show
  1. package/dist/agents/skills/orkestrel-scout/scripts/map.js +14 -3
  2. package/dist/bin/main.js +74 -19
  3. package/dist/bin/main.js.map +1 -1
  4. package/dist/host/agents/orchestration.md +43 -40
  5. package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +3 -3
  6. package/dist/host/agents/skills/orkestrel-dispatch/references/bench.md +1 -1
  7. package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +1 -1
  8. package/dist/host/agents/skills/orkestrel-falsify/references/reconcile.md +1 -1
  9. package/dist/host/agents/skills/orkestrel-scout/SKILL.md +4 -4
  10. package/dist/host/agents/skills/orkestrel-scout/scripts/map.ts +14 -3
  11. package/dist/host/agents/transports/claude-cli.md +2 -2
  12. package/dist/host/agents/transports/codex.md +4 -4
  13. package/dist/host/agents/transports/cursor.md +1 -1
  14. package/dist/host/claude/AGENTS.md +2 -2
  15. package/dist/host/claude/agents/grok.md +1 -1
  16. package/dist/host/claude/agents/scout.md +4 -2
  17. package/dist/host/claude/rules/documentation.md +3 -3
  18. package/dist/host/claude/rules/styles.md +3 -0
  19. package/dist/host/codex/agents/builder.toml +1 -1
  20. package/dist/host/codex/agents/grok.toml +2 -2
  21. package/dist/host/codex/agents/opus.toml +19 -15
  22. package/dist/host/codex/agents/orkestrel.toml +1 -1
  23. package/dist/host/codex/agents/planner.toml +17 -12
  24. package/dist/host/codex/agents/reviewer.toml +22 -12
  25. package/dist/host/codex/agents/scout.toml +4 -2
  26. package/dist/host/codex/agents/verifier.toml +1 -1
  27. package/dist/host/codex/config.toml +6 -7
  28. package/dist/host/cursor/rules/orchestration.mdc +1 -1
  29. package/dist/host/guides/scaffold.md +26 -4
  30. package/dist/host/manifest.json +27 -27
  31. package/dist/host/scripts/browsers.sh +0 -0
  32. package/dist/host/scripts/codex.sh +0 -0
  33. package/dist/host/scripts/cursor.sh +0 -0
  34. package/dist/host/scripts/deps.sh +0 -0
  35. package/dist/host/scripts/npm.sh +0 -0
  36. package/dist/host/scripts/ollama.sh +0 -0
  37. package/dist/src/core/index.cjs +103 -4
  38. package/dist/src/core/index.cjs.map +1 -1
  39. package/dist/src/core/index.d.cts +40 -1
  40. package/dist/src/core/index.d.ts +40 -1
  41. package/dist/src/core/index.js +101 -5
  42. package/dist/src/core/index.js.map +1 -1
  43. package/dist/src/server/index.cjs +9 -3
  44. package/dist/src/server/index.cjs.map +1 -1
  45. package/dist/src/server/index.d.cts +7 -1
  46. package/dist/src/server/index.d.ts +7 -1
  47. package/dist/src/server/index.js +11 -5
  48. package/dist/src/server/index.js.map +1 -1
  49. package/package.json +1 -1
@@ -2170,8 +2170,9 @@ var isManifestRegionSet = (0, _orkestrel_contract.recordOf)({
2170
2170
  additions: (0, _orkestrel_contract.recordOf)({
2171
2171
  runtime: isDependencies,
2172
2172
  development: isDependencies
2173
- })
2174
- }, ["additions"]);
2173
+ }),
2174
+ overrides: (0, _orkestrel_contract.compileGuard)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.recordShape)((0, _orkestrel_contract.stringShape)())))
2175
+ }, ["additions", "overrides"]);
2175
2176
  /** Narrows a value to a bounded list of fetched guide mirrors. */
2176
2177
  var isMirrors = (0, _orkestrel_contract.andOf)(_src_core.isCollection, (0, _orkestrel_contract.arrayOf)(_src_core.isMirror));
2177
2178
  /** Narrows a value to a bounded list of fleet catalog rows. */
@@ -3181,6 +3182,9 @@ var Materializer = class {
3181
3182
  * the manifest only through `additions`, which inserts it into the section its
3182
3183
  * list names in key order, creating that section when the manifest lacks it,
3183
3184
  * before the ranges are rewritten.
3185
+ * Scoped npm overrides insert absent ancestors and leaves and replace owned
3186
+ * string leaves. Malformed ancestors, duplicate selected keys, and non-string
3187
+ * owned leaves refuse the entire manifest write.
3184
3188
  *
3185
3189
  * The regions refuse differently because their targets differ. A range
3186
3190
  * the manifest does not declare is the caller's mistake and throws. A script
@@ -3784,11 +3788,13 @@ var Materializer = class {
3784
3788
  }
3785
3789
  #redeclare(regions) {
3786
3790
  return (text) => {
3791
+ const overridden = (0, _src_core.replaceManifestOverrides)(text, regions.overrides ?? {});
3792
+ if (overridden === void 0) throw this.#error("INVALID", "The manifest cannot safely rewrite the selected npm overrides.");
3787
3793
  const additions = regions.additions ?? {
3788
3794
  runtime: [],
3789
3795
  development: []
3790
3796
  };
3791
- const declared = (0, _src_core.insertManifestDependencies)(text, additions);
3797
+ const declared = (0, _src_core.insertManifestDependencies)(overridden, additions);
3792
3798
  if (declared === void 0) {
3793
3799
  const names = [...additions.runtime, ...additions.development].map(({ name }) => name);
3794
3800
  throw this.#error("INVALID", `The manifest cannot declare ${names.join(", ")}: it already declares one of them, or the section that receives them is not an object of version strings.`, { names: names.length });