@ornncompute/cli 1.0.132 → 1.0.134

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.132",
3
+ "version": "1.0.134",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -58,5 +58,3 @@ export function preflightAdminCommand(catalog, argv, runtime) {
58
58
  }
59
59
  return { capabilityId: capability.id, command: command.join(" "), parsed };
60
60
  }
61
-
62
- export const adminCommandHandlers = handlers;
@@ -291,11 +291,7 @@ export async function operatorRequest({
291
291
  });
292
292
  }
293
293
 
294
- export function computeEndpoint(path) {
295
- return `/v1/workflows/compute${normalizeComputePath(path)}`;
296
- }
297
-
298
- export function normalizeComputePath(path) {
294
+ function normalizeComputePath(path) {
299
295
  if (!path || typeof path !== "string") {
300
296
  throw new CliApiError("API path is required.");
301
297
  }
@@ -277,8 +277,6 @@ export function createSlurmConnectModeHandler({ spawnProcess = spawnProcessDefau
277
277
  };
278
278
  }
279
279
 
280
- export const slurmConnectModeHandler = createSlurmConnectModeHandler();
281
-
282
280
  export const slurmLaunchModeHandler = {
283
281
  mode: "slurm",
284
282
  launch: (state) => launchClusterMode(state, "slurm"),