@crewhaus/target-claude-plugin 0.5.8 → 0.6.0
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/index.js +4 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -265,7 +265,10 @@ function emitCliShape(ir) {
|
|
|
265
265
|
for (const sa of ir.subAgents ?? []) {
|
|
266
266
|
files.push({
|
|
267
267
|
path: `agents/${sa.name}.md`,
|
|
268
|
-
|
|
268
|
+
// 0.6.0 §7.7 — the IR carries the default profile's overlay raw (the
|
|
269
|
+
// spawner picks between it and a pinned option per Task call); a plugin
|
|
270
|
+
// agent file has no per-call choice, so its body is the declared prompt.
|
|
271
|
+
content: renderAgent(sa.name, sa.description, sa.overlay !== undefined ? `${sa.overlay}\n\n${sa.instructions}` : sa.instructions),
|
|
269
272
|
});
|
|
270
273
|
}
|
|
271
274
|
return files;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/target-claude-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Track H / §59 — emits an Anthropic-compatible Claude Code plugin directory from any CrewHaus IR variant. Source: claude-plugins-official (Anthropic).",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test": "bun test src"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@crewhaus/errors": "0.
|
|
19
|
-
"@crewhaus/ir": "0.
|
|
18
|
+
"@crewhaus/errors": "0.6.0",
|
|
19
|
+
"@crewhaus/ir": "0.6.0"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"author": {
|