@actiondock/cli 2.17.0 → 2.18.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/commands/export.js +6 -1
- package/package.json +5 -5
package/dist/commands/export.js
CHANGED
|
@@ -24,7 +24,7 @@ export function registerExportCommand(program, context) {
|
|
|
24
24
|
.option("-a, --actions <actions...>", "Only export specific action(s)", parseListOption)
|
|
25
25
|
.option("-z, --archive", "Create a .zip archive of the exported skill")
|
|
26
26
|
.option("--skill-md <path>", "Use specified existing SKILL.md file instead of auto-generating")
|
|
27
|
-
.option("--custom-md <path>", "Custom skill declaration (SKILL.custom.md) with slot-marked sections and optional frontmatter description
|
|
27
|
+
.option("--custom-md <path>", "Custom skill declaration (SKILL.custom.md) with slot-marked sections and optional frontmatter description (auto-discovered at package or workspace root when omitted)")
|
|
28
28
|
.option("--skill-md-only", "Bundle mode only: regenerate only the composite SKILL.md in place (always regenerates, ignores any existing SKILL.md)")
|
|
29
29
|
.option("--vendor-deps", "Materialize locked production dependencies into the exported skill")
|
|
30
30
|
.option("--allow-install-scripts", "Allow lifecycle install scripts to run during dependency materialization")
|
|
@@ -32,6 +32,9 @@ export function registerExportCommand(program, context) {
|
|
|
32
32
|
.action(async (rawOptions, cmd) => {
|
|
33
33
|
const options = getEffectiveOptions(rawOptions, cmd);
|
|
34
34
|
const mode = options.standalone || options.mode === "node" ? "node" : "source";
|
|
35
|
+
if (options.skillMd && options.customMd) {
|
|
36
|
+
throw new ExecutionError("Options --skill-md and --custom-md cannot be used together. Use --skill-md to reuse an existing documentation file, or --custom-md to customize the generated document with custom slots.");
|
|
37
|
+
}
|
|
35
38
|
if (options.bundle !== undefined && (options.standalone || mode === "node")) {
|
|
36
39
|
throw new ExecutionError("Composite Skill export (--bundle) currently only supports source mode. Please use '--mode source' to export as a composite workspace Skill.");
|
|
37
40
|
}
|
|
@@ -149,6 +152,7 @@ export function registerExportCommand(program, context) {
|
|
|
149
152
|
playbooks: options.playbook,
|
|
150
153
|
actions: options.actions,
|
|
151
154
|
skillMdPath: options.skillMd,
|
|
155
|
+
customMdPath: options.customMd,
|
|
152
156
|
vendorDeps: options.vendorDeps,
|
|
153
157
|
allowInstallScripts: options.allowInstallScripts,
|
|
154
158
|
requireReproducible: options.requireReproducible,
|
|
@@ -193,6 +197,7 @@ export function registerExportCommand(program, context) {
|
|
|
193
197
|
playbooks: options.playbook,
|
|
194
198
|
actions: options.actions,
|
|
195
199
|
skillMdPath: options.skillMd,
|
|
200
|
+
customMdPath: options.customMd,
|
|
196
201
|
vendorDeps: options.vendorDeps,
|
|
197
202
|
allowInstallScripts: options.allowInstallScripts,
|
|
198
203
|
requireReproducible: options.requireReproducible,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actiondock/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"description": "ActionDock CLI facade for developing, testing, building, and exporting standalone Agent Actions and Skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"test": "node ../../scripts/run-tests.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@actiondock/builder": "^2.
|
|
38
|
-
"@actiondock/core": "^2.
|
|
39
|
-
"@actiondock/mcp": "^2.
|
|
40
|
-
"@actiondock/sdk": "^2.
|
|
37
|
+
"@actiondock/builder": "^2.18.0",
|
|
38
|
+
"@actiondock/core": "^2.18.0",
|
|
39
|
+
"@actiondock/mcp": "^2.18.0",
|
|
40
|
+
"@actiondock/sdk": "^2.18.0",
|
|
41
41
|
"commander": "^13.1.0",
|
|
42
42
|
"selfsigned": "^5.5.0"
|
|
43
43
|
},
|