@vm0/cli 9.135.0 → 9.137.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.
package/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  source_default,
63
63
  volumeConfigSchema,
64
64
  withErrorHandler
65
- } from "./chunk-7C3QXZRH.js";
65
+ } from "./chunk-HH2HTGSA.js";
66
66
  import {
67
67
  __commonJS,
68
68
  __require,
@@ -7771,7 +7771,7 @@ function getConfigPath() {
7771
7771
  return join(homedir(), ".vm0", "config.json");
7772
7772
  }
7773
7773
  var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
7774
- console.log(source_default.bold(`VM0 CLI v${"9.135.0"}`));
7774
+ console.log(source_default.bold(`VM0 CLI v${"9.137.0"}`));
7775
7775
  console.log();
7776
7776
  const config = await loadConfig();
7777
7777
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -11716,7 +11716,7 @@ var composeCommand = new Command().name("compose").description("Create or update
11716
11716
  options.autoUpdate = false;
11717
11717
  }
11718
11718
  if (options.autoUpdate !== false) {
11719
- await startSilentUpgrade("9.135.0");
11719
+ await startSilentUpgrade("9.137.0");
11720
11720
  }
11721
11721
  try {
11722
11722
  let result;
@@ -11808,7 +11808,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
11808
11808
  withErrorHandler(
11809
11809
  async (identifier, prompt, options) => {
11810
11810
  if (options.autoUpdate !== false) {
11811
- await startSilentUpgrade("9.135.0");
11811
+ await startSilentUpgrade("9.137.0");
11812
11812
  }
11813
11813
  const { name, version } = parseIdentifier(identifier);
11814
11814
  let composeId;
@@ -13233,7 +13233,8 @@ function formatNetworkOther(entry) {
13233
13233
  const host = entry.host || "unknown";
13234
13234
  const port = entry.port || 0;
13235
13235
  const size = entry.request_size ? ` ${formatBytes(entry.request_size)}` : "";
13236
- return `[${entry.timestamp}] ${source_default.magenta(proto.padEnd(5))}${size} ${source_default.dim(`${host}:${port}`)}`;
13236
+ const dnsResult = entry.type === "dns" && entry.dns_result ? ` ${source_default.gray("->")} ${source_default.dim(entry.dns_result)}` : "";
13237
+ return `[${entry.timestamp}] ${source_default.magenta(proto.padEnd(5))}${size} ${source_default.dim(`${host}:${port}`)}${dnsResult}`;
13237
13238
  }
13238
13239
  function formatNetworkLog(entry) {
13239
13240
  if (entry.type === "tcp") return formatNetworkTcp(entry);
@@ -13581,13 +13582,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
13581
13582
  if (latestVersion === null) {
13582
13583
  throw new Error("Could not check for updates. Please try again later.");
13583
13584
  }
13584
- if (latestVersion === "9.135.0") {
13585
- console.log(source_default.green(`\u2713 Already up to date (${"9.135.0"})`));
13585
+ if (latestVersion === "9.137.0") {
13586
+ console.log(source_default.green(`\u2713 Already up to date (${"9.137.0"})`));
13586
13587
  return;
13587
13588
  }
13588
13589
  console.log(
13589
13590
  source_default.yellow(
13590
- `Current version: ${"9.135.0"} -> Latest version: ${latestVersion}`
13591
+ `Current version: ${"9.137.0"} -> Latest version: ${latestVersion}`
13591
13592
  )
13592
13593
  );
13593
13594
  console.log();
@@ -13614,7 +13615,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
13614
13615
  const success = await performUpgrade(packageManager);
13615
13616
  if (success) {
13616
13617
  console.log(
13617
- source_default.green(`\u2713 Upgraded from ${"9.135.0"} to ${latestVersion}`)
13618
+ source_default.green(`\u2713 Upgraded from ${"9.137.0"} to ${latestVersion}`)
13618
13619
  );
13619
13620
  return;
13620
13621
  }
@@ -13681,7 +13682,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
13681
13682
 
13682
13683
  // src/index.ts
13683
13684
  var program = new Command();
13684
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.135.0");
13685
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.137.0");
13685
13686
  program.addCommand(authCommand);
13686
13687
  program.addCommand(infoCommand);
13687
13688
  program.addCommand(composeCommand);