@kvbox/cli 0.6.5 → 0.6.6

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/dist/kvbox.js CHANGED
@@ -164,7 +164,7 @@ function versionOf(srcFileUrl, injected) {
164
164
  }
165
165
 
166
166
  // src/version.ts
167
- var VERSION = versionOf(import.meta.url, true ? "0.6.5" : void 0);
167
+ var VERSION = versionOf(import.meta.url, true ? "0.6.6" : void 0);
168
168
 
169
169
  // src/commands/vm/index.ts
170
170
  import { Command as Command37 } from "commander";
@@ -686,7 +686,12 @@ var BoxRunSchema = z.object({
686
686
  id: z.string(),
687
687
  state: z.enum(BOX_RUN_STATES),
688
688
  /** With `exited`; 128 + the signal for a command a signal ended. */
689
- exitCode: z.number().int().optional()
689
+ exitCode: z.number().int().optional(),
690
+ /**
691
+ * With `exited` and `timeout`: how long the command itself ran, by the box's own clock (base v0.15.1
692
+ * and later). The asker learns of the end seconds late, so its own count is too long.
693
+ */
694
+ durationMs: z.number().int().nonnegative().optional()
690
695
  });
691
696
  var RunRefusalSchema = z.object({ error: z.string(), code: z.string().optional() });
692
697
  var EnvVarSchema = z.object({