trainfabric 0.1.57 → 0.1.58

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.
Files changed (2) hide show
  1. package/dist/index.cjs +4 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -9364,7 +9364,7 @@ function buildComputeSpec(options) {
9364
9364
 
9365
9365
  // src/index.ts
9366
9366
  var DEFAULT_TRAINFABRIC_API_URL2 = "https://api.trainfabric.com";
9367
- var CLI_VERSION = "0.1.57";
9367
+ var CLI_VERSION = "0.1.58";
9368
9368
  var CONFIG_DIR = import_node_path3.default.join(import_node_os2.default.homedir(), ".trainfabric");
9369
9369
  var CONFIG_PATH = import_node_path3.default.join(CONFIG_DIR, "config.json");
9370
9370
  var FALLBACK_SECRET_PATH = import_node_path3.default.join(CONFIG_DIR, "session.enc");
@@ -10360,13 +10360,13 @@ program2.command("runs:cost-breakdown").argument("<runId>").option("--json", "pr
10360
10360
  printJson(breakdown);
10361
10361
  }
10362
10362
  });
10363
- program2.command("runs:allocation").argument("<runId>").description("Fetch run allocation").action(async (runId) => {
10363
+ program2.command("runs:allocation").argument("<runId>").option("--json", "print raw JSON output; this is the default").description("Fetch run allocation").action(async (runId) => {
10364
10364
  printJson(await createClient(loadConfig()).runs.allocation(normalizeId(runId, "run", "Run ID")));
10365
10365
  });
10366
- program2.command("runs:configuration").argument("<runId>").description("Fetch run placement configuration").action(async (runId) => {
10366
+ program2.command("runs:configuration").argument("<runId>").option("--json", "print raw JSON output; this is the default").description("Fetch run placement configuration").action(async (runId) => {
10367
10367
  printJson(await createClient(loadConfig()).runs.configuration(normalizeId(runId, "run", "Run ID")));
10368
10368
  });
10369
- program2.command("runs:explanation").argument("<runId>").description("Fetch run planning explanation").action(async (runId) => {
10369
+ program2.command("runs:explanation").argument("<runId>").option("--json", "print raw JSON output; this is the default").description("Fetch run planning explanation").action(async (runId) => {
10370
10370
  printJson(await createClient(loadConfig()).runs.explanation(normalizeId(runId, "run", "Run ID")));
10371
10371
  });
10372
10372
  program2.command("runs:cancel").argument("<runId>").description("Cancel a run").action(async (runId) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trainfabric",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "Trainfabric CLI for launching GPU training jobs on the hosted Trainfabric backend.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",