@vm0/cli 9.9.1 → 9.10.0

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/index.js +26 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2179,6 +2179,8 @@ var scheduleResponseSchema = z16.object({
2179
2179
  volumeVersions: z16.record(z16.string(), z16.string()).nullable(),
2180
2180
  enabled: z16.boolean(),
2181
2181
  nextRunAt: z16.string().nullable(),
2182
+ lastRunAt: z16.string().nullable(),
2183
+ retryStartedAt: z16.string().nullable(),
2182
2184
  createdAt: z16.string(),
2183
2185
  updatedAt: z16.string()
2184
2186
  });
@@ -6653,12 +6655,11 @@ function showNextSteps(result) {
6653
6655
  function handleGenericRunError(error, commandLabel) {
6654
6656
  if (error instanceof ApiRequestError && error.code === "concurrent_run_limit_exceeded") {
6655
6657
  console.error(chalk7.red(`\u2717 ${commandLabel} failed`));
6656
- console.error(chalk7.dim(` ${error.message}`));
6657
- console.log();
6658
- console.log(" To view active runs:");
6659
- console.log(chalk7.cyan(" vm0 run list"));
6660
- console.log(" To cancel a run:");
6661
- console.log(chalk7.cyan(" vm0 run kill <run-id>"));
6658
+ console.error(
6659
+ chalk7.dim(
6660
+ ` ${error.message} Use 'vm0 run list' to view runs, 'vm0 run kill <id>' to cancel.`
6661
+ )
6662
+ );
6662
6663
  } else {
6663
6664
  console.error(chalk7.red(`\u2717 ${commandLabel} failed`));
6664
6665
  console.error(chalk7.dim(` ${error.message}`));
@@ -8463,7 +8464,7 @@ var cookAction = new Command27().name("cook").description("Quick start: prepare,
8463
8464
  ).option("-y, --yes", "Skip confirmation prompts").option("-v, --verbose", "Show full tool inputs and outputs").addOption(new Option4("--debug-no-mock-claude").hideHelp()).addOption(new Option4("--no-auto-update").hideHelp()).action(
8464
8465
  async (prompt, options) => {
8465
8466
  if (!options.noAutoUpdate) {
8466
- const shouldExit = await checkAndUpgrade("9.9.1", prompt);
8467
+ const shouldExit = await checkAndUpgrade("9.10.0", prompt);
8467
8468
  if (shouldExit) {
8468
8469
  process.exit(0);
8469
8470
  }
@@ -11395,10 +11396,27 @@ async function addMarketplace() {
11395
11396
  );
11396
11397
  }
11397
11398
  }
11399
+ async function updateMarketplace() {
11400
+ const result = await runClaudeCommand([
11401
+ "plugin",
11402
+ "marketplace",
11403
+ "update",
11404
+ MARKETPLACE_NAME
11405
+ ]);
11406
+ if (!result.success) {
11407
+ console.warn(
11408
+ chalk56.yellow(
11409
+ `Warning: Could not update marketplace: ${result.error ?? "unknown error"}`
11410
+ )
11411
+ );
11412
+ }
11413
+ }
11398
11414
  async function ensureMarketplace() {
11399
11415
  const installed = await isMarketplaceInstalled();
11400
11416
  if (!installed) {
11401
11417
  await addMarketplace();
11418
+ } else {
11419
+ await updateMarketplace();
11402
11420
  }
11403
11421
  }
11404
11422
  async function installVm0Plugin(scope = "user", cwd) {
@@ -11640,7 +11658,7 @@ var setupClaudeCommand = new Command57().name("setup-claude").description("Insta
11640
11658
 
11641
11659
  // src/index.ts
11642
11660
  var program = new Command58();
11643
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.9.1");
11661
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.10.0");
11644
11662
  program.addCommand(authCommand);
11645
11663
  program.addCommand(infoCommand);
11646
11664
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.9.1",
3
+ "version": "9.10.0",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",