@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.158",
3
+ "version": "1.0.159",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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
- const cli = id === "identity.whoami" ? ["whoami"] : id === "identity.status" ? ["status"] : id.split(".");
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 !== false && cli !== void 0 ? {
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: {