@ornncompute/cli 1.0.158 → 1.0.159
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/package.json
CHANGED
|
@@ -323,8 +323,7 @@ import { z } from "zod";
|
|
|
323
323
|
// ../../packages/capabilities/dist/names.js
|
|
324
324
|
function namesFromId(id) {
|
|
325
325
|
const wire = id.replaceAll(".", "_").replaceAll("-", "_");
|
|
326
|
-
|
|
327
|
-
return { mcp: wire, slack: wire, cli };
|
|
326
|
+
return { mcp: wire, slack: wire };
|
|
328
327
|
}
|
|
329
328
|
|
|
330
329
|
// ../../packages/capabilities/dist/capability.js
|
|
@@ -336,12 +335,7 @@ function defineCapability(spec) {
|
|
|
336
335
|
const { cli, mcp, slack, ...rest } = spec;
|
|
337
336
|
return {
|
|
338
337
|
...rest,
|
|
339
|
-
...cli
|
|
340
|
-
cli: {
|
|
341
|
-
...cli,
|
|
342
|
-
command: cli.command ?? names.cli
|
|
343
|
-
}
|
|
344
|
-
} : {},
|
|
338
|
+
...cli ? { cli } : {},
|
|
345
339
|
...mcp === false ? {} : { mcp: { ...mcp, name: mcp?.name ?? names.mcp } },
|
|
346
340
|
...slack === false ? {} : {
|
|
347
341
|
slack: {
|