@vm0/cli 9.129.0 → 9.129.2

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/index.js CHANGED
@@ -65,7 +65,7 @@ import {
65
65
  source_default,
66
66
  volumeConfigSchema,
67
67
  withErrorHandler
68
- } from "./chunk-X7AZTK2E.js";
68
+ } from "./chunk-F23UIP5L.js";
69
69
  import {
70
70
  __toESM,
71
71
  init_esm_shims
@@ -398,7 +398,7 @@ function getConfigPath() {
398
398
  return join(homedir(), ".vm0", "config.json");
399
399
  }
400
400
  var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
401
- console.log(source_default.bold(`VM0 CLI v${"9.129.0"}`));
401
+ console.log(source_default.bold(`VM0 CLI v${"9.129.2"}`));
402
402
  console.log();
403
403
  const config = await loadConfig();
404
404
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -4291,7 +4291,7 @@ var composeCommand = new Command().name("compose").description("Create or update
4291
4291
  options.autoUpdate = false;
4292
4292
  }
4293
4293
  if (options.autoUpdate !== false) {
4294
- await startSilentUpgrade("9.129.0");
4294
+ await startSilentUpgrade("9.129.2");
4295
4295
  }
4296
4296
  try {
4297
4297
  let result;
@@ -4381,7 +4381,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
4381
4381
  withErrorHandler(
4382
4382
  async (identifier, prompt, options) => {
4383
4383
  if (options.autoUpdate !== false) {
4384
- await startSilentUpgrade("9.129.0");
4384
+ await startSilentUpgrade("9.129.2");
4385
4385
  }
4386
4386
  const { name, version } = parseIdentifier(identifier);
4387
4387
  let composeId;
@@ -6396,13 +6396,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
6396
6396
  if (latestVersion === null) {
6397
6397
  throw new Error("Could not check for updates. Please try again later.");
6398
6398
  }
6399
- if (latestVersion === "9.129.0") {
6400
- console.log(source_default.green(`\u2713 Already up to date (${"9.129.0"})`));
6399
+ if (latestVersion === "9.129.2") {
6400
+ console.log(source_default.green(`\u2713 Already up to date (${"9.129.2"})`));
6401
6401
  return;
6402
6402
  }
6403
6403
  console.log(
6404
6404
  source_default.yellow(
6405
- `Current version: ${"9.129.0"} -> Latest version: ${latestVersion}`
6405
+ `Current version: ${"9.129.2"} -> Latest version: ${latestVersion}`
6406
6406
  )
6407
6407
  );
6408
6408
  console.log();
@@ -6429,7 +6429,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
6429
6429
  const success = await performUpgrade(packageManager);
6430
6430
  if (success) {
6431
6431
  console.log(
6432
- source_default.green(`\u2713 Upgraded from ${"9.129.0"} to ${latestVersion}`)
6432
+ source_default.green(`\u2713 Upgraded from ${"9.129.2"} to ${latestVersion}`)
6433
6433
  );
6434
6434
  return;
6435
6435
  }
@@ -6496,7 +6496,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
6496
6496
 
6497
6497
  // src/index.ts
6498
6498
  var program = new Command();
6499
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.129.0");
6499
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.129.2");
6500
6500
  program.addCommand(authCommand);
6501
6501
  program.addCommand(infoCommand);
6502
6502
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.129.0",
3
+ "version": "9.129.2",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",
package/zero.js CHANGED
@@ -130,7 +130,7 @@ import {
130
130
  upsertZeroOrgModelProvider,
131
131
  withErrorHandler,
132
132
  zeroAgentCustomSkillNameSchema
133
- } from "./chunk-X7AZTK2E.js";
133
+ } from "./chunk-F23UIP5L.js";
134
134
  import {
135
135
  __toESM,
136
136
  init_esm_shims
@@ -3595,8 +3595,14 @@ function printRunConfiguration(schedule, showFullPrompt) {
3595
3595
  if (showFullPrompt) {
3596
3596
  console.log(`${"Prompt:".padEnd(16)}${source_default.dim(schedule.prompt)}`);
3597
3597
  } else {
3598
- const promptPreview = schedule.prompt.length > 60 ? schedule.prompt.slice(0, 57) + "..." : schedule.prompt;
3598
+ const truncated = schedule.prompt.length > 60;
3599
+ const promptPreview = truncated ? schedule.prompt.slice(0, 57) + "..." : schedule.prompt;
3599
3600
  console.log(`${"Prompt:".padEnd(16)}${source_default.dim(promptPreview)}`);
3601
+ if (truncated) {
3602
+ console.log(
3603
+ source_default.dim(" Run with --prompt (-p) to see full prompt")
3604
+ );
3605
+ }
3600
3606
  }
3601
3607
  if (schedule.vars && Object.keys(schedule.vars).length > 0) {
3602
3608
  console.log(
@@ -6631,7 +6637,7 @@ function registerZeroCommands(prog, commands) {
6631
6637
  var program = new Command();
6632
6638
  program.name("zero").description(
6633
6639
  "Zero CLI \u2014 interact with the zero platform from inside the sandbox"
6634
- ).version("9.129.0").addHelpText(
6640
+ ).version("9.129.2").addHelpText(
6635
6641
  "after",
6636
6642
  `
6637
6643
  Examples: