@orkestrel/scaffold 0.0.51 → 0.0.53
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 +7 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/host/AGENTS.md +10 -0
- package/dist/host/CLAUDE.md +3 -1
- package/dist/host/agents/orchestration.md +99 -266
- package/dist/host/agents/skills/enterprise-bootstrap/SKILL.md +12 -8
- package/dist/host/agents/skills/orkestrel-align-packages/SKILL.md +2 -2
- package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +15 -11
- package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +38 -12
- package/dist/host/agents/skills/orkestrel-debrief/references/retention.md +107 -0
- package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/SKILL.md +1 -1
- package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/agents/openai.yaml +1 -1
- package/dist/host/agents/skills/orkestrel-publish/SKILL.md +77 -0
- package/dist/host/agents/skills/orkestrel-publish/agents/openai.yaml +4 -0
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +97 -0
- package/dist/host/agents/skills/orkestrel-publish/references/window.md +95 -0
- package/dist/host/agents/templates/brief.md +157 -0
- package/dist/host/{codex/agents/claude.toml → agents/transports/claude.md} +16 -10
- package/dist/host/{claude/agents → agents/transports}/codex.md +13 -12
- package/dist/host/claude/agents/analyst.md +11 -10
- package/dist/host/claude/agents/application.md +6 -3
- package/dist/host/claude/agents/builder.md +11 -10
- package/dist/host/claude/agents/checker.md +20 -10
- package/dist/host/claude/agents/grok.md +8 -7
- package/dist/host/claude/agents/implementer.md +7 -4
- package/dist/host/claude/agents/orkestrel.md +31 -25
- package/dist/host/claude/agents/planner.md +13 -5
- package/dist/host/claude/agents/researcher.md +8 -7
- package/dist/host/claude/agents/reviewer.md +6 -4
- package/dist/host/claude/agents/scout.md +6 -7
- package/dist/host/claude/agents/sol.md +9 -8
- package/dist/host/claude/agents/verifier.md +6 -3
- package/dist/host/claude/rules/documentation.md +2 -0
- package/dist/host/claude/skills/enterprise-bootstrap/SKILL.md +12 -8
- package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +1 -1
- package/dist/host/claude/skills/{orkestrel-human-journey → orkestrel-prove-journey}/SKILL.md +2 -2
- package/dist/host/claude/skills/orkestrel-publish/SKILL.md +12 -0
- package/dist/host/codex/agents/analyst.toml +3 -0
- package/dist/host/codex/agents/application.toml +3 -0
- package/dist/host/codex/agents/builder.toml +10 -7
- package/dist/host/codex/agents/checker.toml +14 -3
- package/dist/host/codex/agents/grok.toml +5 -2
- package/dist/host/codex/agents/implementer.toml +3 -2
- package/dist/host/codex/agents/opus.toml +4 -3
- package/dist/host/codex/agents/orkestrel.toml +14 -9
- package/dist/host/codex/agents/planner.toml +7 -5
- package/dist/host/codex/agents/researcher.toml +6 -4
- package/dist/host/codex/agents/reviewer.toml +4 -3
- package/dist/host/codex/agents/scout.toml +4 -1
- package/dist/host/codex/agents/verifier.toml +3 -2
- package/dist/host/guides/scaffold.md +18 -5
- package/dist/host/manifest.json +127 -79
- package/dist/src/core/index.cjs +31 -11
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +6 -3
- package/dist/src/core/index.d.ts +6 -3
- package/dist/src/core/index.js +31 -11
- package/dist/src/core/index.js.map +1 -1
- package/package.json +4 -4
- /package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/references/captures.md +0 -0
- /package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/references/layer.md +0 -0
|
@@ -2828,9 +2828,12 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2828
2828
|
* other string is a chain the workspace author customized, so it stays
|
|
2829
2829
|
* byte-identical while the other named scripts are written independently. A
|
|
2830
2830
|
* named script the manifest does not declare is appended after the last
|
|
2831
|
-
* declared script, copying that section's indentation
|
|
2832
|
-
*
|
|
2833
|
-
*
|
|
2831
|
+
* declared script of its own key family, copying that section's indentation:
|
|
2832
|
+
* `test:setup` follows the last declared `test:` key. A name carrying no colon
|
|
2833
|
+
* has no family, and so does a family the section declares no member of, and
|
|
2834
|
+
* each of those is appended after the last declared script instead. A region
|
|
2835
|
+
* declaring nothing takes every named script as its first entries, indented
|
|
2836
|
+
* from the line its own opening brace sits on.
|
|
2834
2837
|
*
|
|
2835
2838
|
* @example
|
|
2836
2839
|
* ```ts
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -2828,9 +2828,12 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2828
2828
|
* other string is a chain the workspace author customized, so it stays
|
|
2829
2829
|
* byte-identical while the other named scripts are written independently. A
|
|
2830
2830
|
* named script the manifest does not declare is appended after the last
|
|
2831
|
-
* declared script, copying that section's indentation
|
|
2832
|
-
*
|
|
2833
|
-
*
|
|
2831
|
+
* declared script of its own key family, copying that section's indentation:
|
|
2832
|
+
* `test:setup` follows the last declared `test:` key. A name carrying no colon
|
|
2833
|
+
* has no family, and so does a family the section declares no member of, and
|
|
2834
|
+
* each of those is appended after the last declared script instead. A region
|
|
2835
|
+
* declaring nothing takes every named script as its first entries, indented
|
|
2836
|
+
* from the line its own opening brace sits on.
|
|
2834
2837
|
*
|
|
2835
2838
|
* @example
|
|
2836
2839
|
* ```ts
|
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.53",
|
|
7
7
|
description: "Scaffold workspaces with five commands: new, audit, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -91,15 +91,15 @@ var package_default = {
|
|
|
91
91
|
"@orkestrel/console": "^0.0.10",
|
|
92
92
|
"@orkestrel/contract": "^0.0.13",
|
|
93
93
|
"@orkestrel/emitter": "^0.0.8",
|
|
94
|
-
"@orkestrel/markdown": "^0.0.
|
|
94
|
+
"@orkestrel/markdown": "^0.0.11",
|
|
95
95
|
"@orkestrel/process": "^0.0.6",
|
|
96
96
|
"@orkestrel/template": "^0.0.5"
|
|
97
97
|
},
|
|
98
98
|
devDependencies: {
|
|
99
99
|
"@microsoft/api-extractor": "^7.59.0",
|
|
100
100
|
"@orkestrel/guide": "^0.0.13",
|
|
101
|
-
"@orkestrel/html": "^0.0.
|
|
102
|
-
"@orkestrel/probe": "^0.0.
|
|
101
|
+
"@orkestrel/html": "^0.0.6",
|
|
102
|
+
"@orkestrel/probe": "^0.0.6",
|
|
103
103
|
"@orkestrel/test": "^0.0.11",
|
|
104
104
|
"@types/node": "^26.2.0",
|
|
105
105
|
"@vitest/browser-playwright": "^4.1.11",
|
|
@@ -224,6 +224,8 @@ var HOST_PATHS = Object.freeze([
|
|
|
224
224
|
"LICENSE",
|
|
225
225
|
".agents/orchestration.md",
|
|
226
226
|
".agents/skills",
|
|
227
|
+
".agents/templates",
|
|
228
|
+
".agents/transports",
|
|
227
229
|
".claude/agents",
|
|
228
230
|
".claude/rules",
|
|
229
231
|
".claude/skills",
|
|
@@ -5442,9 +5444,12 @@ function replaceManifestRanges(manifest, pins) {
|
|
|
5442
5444
|
* other string is a chain the workspace author customized, so it stays
|
|
5443
5445
|
* byte-identical while the other named scripts are written independently. A
|
|
5444
5446
|
* named script the manifest does not declare is appended after the last
|
|
5445
|
-
* declared script, copying that section's indentation
|
|
5446
|
-
*
|
|
5447
|
-
*
|
|
5447
|
+
* declared script of its own key family, copying that section's indentation:
|
|
5448
|
+
* `test:setup` follows the last declared `test:` key. A name carrying no colon
|
|
5449
|
+
* has no family, and so does a family the section declares no member of, and
|
|
5450
|
+
* each of those is appended after the last declared script instead. A region
|
|
5451
|
+
* declaring nothing takes every named script as its first entries, indented
|
|
5452
|
+
* from the line its own opening brace sits on.
|
|
5448
5453
|
*
|
|
5449
5454
|
* @example
|
|
5450
5455
|
* ```ts
|
|
@@ -5538,6 +5543,7 @@ function replaceManifestScripts(manifest, scripts) {
|
|
|
5538
5543
|
if (start < 0 || end < 0) return void 0;
|
|
5539
5544
|
const edits = [];
|
|
5540
5545
|
const written = /* @__PURE__ */ new Set();
|
|
5546
|
+
const anchors = [];
|
|
5541
5547
|
let first = -1;
|
|
5542
5548
|
let nested = 0;
|
|
5543
5549
|
let scan = start;
|
|
@@ -5590,6 +5596,10 @@ function replaceManifestScripts(manifest, scripts) {
|
|
|
5590
5596
|
if (valueEnd >= end) return void 0;
|
|
5591
5597
|
scan = valueEnd + 1;
|
|
5592
5598
|
const key = parseJSON(manifest.slice(keyStart, keyEnd));
|
|
5599
|
+
if (isString(key)) anchors.push({
|
|
5600
|
+
name: key,
|
|
5601
|
+
end: valueEnd + 1
|
|
5602
|
+
});
|
|
5593
5603
|
const script = scripts.find((entry) => entry.name === key);
|
|
5594
5604
|
if (script === void 0) continue;
|
|
5595
5605
|
written.add(script.name);
|
|
@@ -5617,15 +5627,25 @@ function replaceManifestScripts(manifest, scripts) {
|
|
|
5617
5627
|
text: `${entries.join(",")}${closing}`
|
|
5618
5628
|
});
|
|
5619
5629
|
} else {
|
|
5620
|
-
let
|
|
5621
|
-
while (
|
|
5630
|
+
let tail = end - 1;
|
|
5631
|
+
while (tail > start && /\s/u.test(manifest.charAt(tail - 1))) tail -= 1;
|
|
5622
5632
|
const newline = manifest.lastIndexOf("\n", first);
|
|
5623
5633
|
const indent = newline < 0 ? "" : manifest.slice(newline + 1, first);
|
|
5624
5634
|
const separator = newline < 0 || /\S/u.test(indent) ? "" : `\n${indent}`;
|
|
5625
|
-
|
|
5635
|
+
const placed = /* @__PURE__ */ new Map();
|
|
5636
|
+
for (const script of missing) {
|
|
5637
|
+
const colon = script.name.indexOf(":");
|
|
5638
|
+
const family = colon < 0 ? void 0 : script.name.slice(0, colon + 1);
|
|
5639
|
+
const anchor = (family === void 0 ? void 0 : anchors.findLast((entry) => entry.name.startsWith(family)))?.end ?? tail;
|
|
5640
|
+
const text = `,${separator}${JSON.stringify(script.name)}: ${JSON.stringify(script.command)}`;
|
|
5641
|
+
const queued = placed.get(anchor);
|
|
5642
|
+
if (queued === void 0) placed.set(anchor, [text]);
|
|
5643
|
+
else queued.push(text);
|
|
5644
|
+
}
|
|
5645
|
+
for (const [anchor, queued] of placed) edits.push({
|
|
5626
5646
|
start: anchor,
|
|
5627
5647
|
end: anchor,
|
|
5628
|
-
text:
|
|
5648
|
+
text: queued.join("")
|
|
5629
5649
|
});
|
|
5630
5650
|
}
|
|
5631
5651
|
}
|