@ornncompute/cli 1.0.154 → 1.0.155

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.154",
3
+ "version": "1.0.155",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -351,28 +351,6 @@ function defineCapability(spec) {
351
351
  }
352
352
  };
353
353
  }
354
- function visibleToClient(capability, client, role) {
355
- if (!capability.roles.includes(role))
356
- return false;
357
- if (client === "slack")
358
- return capability.slack != null;
359
- if (client === "cli") {
360
- const help3 = capability.cli?.vnext;
361
- if (!help3 || !capability.cli)
362
- return false;
363
- return help3.audience === "customer" ? role === "user" : role === "admin";
364
- }
365
- return capability.mcp != null && (capability.mcp.roles?.includes(role) ?? true);
366
- }
367
- function forRole(catalog2, role, client) {
368
- return catalog2.filter((capability) => visibleToClient(capability, client, role));
369
- }
370
- function byMcpName(catalog2, name) {
371
- return catalog2.find((capability) => capability.mcp?.name === name || capability.mcp?.aliases?.includes(name));
372
- }
373
- function byCliCommand(catalog2, command) {
374
- return catalog2.find((capability) => capability.cli != null && capability.cli.command.length === command.length && capability.cli.command.every((part, index) => part === command[index]));
375
- }
376
354
 
377
355
  // ../../packages/capabilities/dist/capabilities/admin-ssh.js
378
356
  var adminSshCapability = defineCapability({
@@ -7334,8 +7312,6 @@ export {
7334
7312
  bucketShowCapability,
7335
7313
  bucketUpdateCredentialsCapability,
7336
7314
  bucketVerifyCapability,
7337
- byCliCommand,
7338
- byMcpName,
7339
7315
  catalog,
7340
7316
  clusterAddNodeCapability,
7341
7317
  clusterCreateCapability,
@@ -7345,7 +7321,6 @@ export {
7345
7321
  clusterShowCapability,
7346
7322
  clusterTeardownCapability,
7347
7323
  findLegacyCliMigration,
7348
- forRole,
7349
7324
  gpuDisplay,
7350
7325
  isCustomerSensitiveField,
7351
7326
  machineRebootCapability,