@vm0/cli 9.86.6 → 9.86.8

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
@@ -13,7 +13,6 @@ import {
13
13
  configureGlobalProxyFromEnv,
14
14
  createOrUpdateCompose,
15
15
  createRun,
16
- expandFirewallConfigs,
17
16
  extractAndGroupVariables,
18
17
  extractSecretNames,
19
18
  extractVarNames,
@@ -60,7 +59,7 @@ import {
60
59
  showNextSteps,
61
60
  volumeConfigSchema,
62
61
  withErrorHandler
63
- } from "./chunk-LN5TTUIA.js";
62
+ } from "./chunk-ZYWB53RO.js";
64
63
 
65
64
  // src/index.ts
66
65
  import { Command as Command44 } from "commander";
@@ -445,7 +444,7 @@ function getConfigPath() {
445
444
  return join(homedir(), ".vm0", "config.json");
446
445
  }
447
446
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
448
- console.log(chalk3.bold(`VM0 CLI v${"9.86.6"}`));
447
+ console.log(chalk3.bold(`VM0 CLI v${"9.86.8"}`));
449
448
  console.log();
450
449
  const config = await loadConfig();
451
450
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -1425,7 +1424,6 @@ async function checkAndPromptMissingItems(config, options) {
1425
1424
  return { missingSecrets, missingVars };
1426
1425
  }
1427
1426
  async function finalizeCompose(config, agent, options) {
1428
- await expandFirewallConfigs(config);
1429
1427
  if (!options.json) {
1430
1428
  console.log("Uploading compose...");
1431
1429
  }
@@ -1549,7 +1547,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
1549
1547
  options.autoUpdate = false;
1550
1548
  }
1551
1549
  if (options.autoUpdate !== false) {
1552
- await startSilentUpgrade("9.86.6");
1550
+ await startSilentUpgrade("9.86.8");
1553
1551
  }
1554
1552
  try {
1555
1553
  let result;
@@ -1623,7 +1621,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
1623
1621
  withErrorHandler(
1624
1622
  async (identifier, prompt, options) => {
1625
1623
  if (options.autoUpdate !== false) {
1626
- await startSilentUpgrade("9.86.6");
1624
+ await startSilentUpgrade("9.86.8");
1627
1625
  }
1628
1626
  const { org, name, version } = parseIdentifier(identifier);
1629
1627
  let composeId;
@@ -3379,7 +3377,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
3379
3377
  withErrorHandler(
3380
3378
  async (prompt, options) => {
3381
3379
  if (options.autoUpdate !== false) {
3382
- const shouldExit = await checkAndUpgrade("9.86.6", prompt);
3380
+ const shouldExit = await checkAndUpgrade("9.86.8", prompt);
3383
3381
  if (shouldExit) {
3384
3382
  process.exit(0);
3385
3383
  }
@@ -4119,13 +4117,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
4119
4117
  if (latestVersion === null) {
4120
4118
  throw new Error("Could not check for updates. Please try again later.");
4121
4119
  }
4122
- if (latestVersion === "9.86.6") {
4123
- console.log(chalk33.green(`\u2713 Already up to date (${"9.86.6"})`));
4120
+ if (latestVersion === "9.86.8") {
4121
+ console.log(chalk33.green(`\u2713 Already up to date (${"9.86.8"})`));
4124
4122
  return;
4125
4123
  }
4126
4124
  console.log(
4127
4125
  chalk33.yellow(
4128
- `Current version: ${"9.86.6"} -> Latest version: ${latestVersion}`
4126
+ `Current version: ${"9.86.8"} -> Latest version: ${latestVersion}`
4129
4127
  )
4130
4128
  );
4131
4129
  console.log();
@@ -4152,7 +4150,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
4152
4150
  const success = await performUpgrade(packageManager);
4153
4151
  if (success) {
4154
4152
  console.log(
4155
- chalk33.green(`\u2713 Upgraded from ${"9.86.6"} to ${latestVersion}`)
4153
+ chalk33.green(`\u2713 Upgraded from ${"9.86.8"} to ${latestVersion}`)
4156
4154
  );
4157
4155
  return;
4158
4156
  }
@@ -4220,7 +4218,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
4220
4218
 
4221
4219
  // src/index.ts
4222
4220
  var program = new Command44();
4223
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.86.6");
4221
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.86.8");
4224
4222
  program.addCommand(authCommand);
4225
4223
  program.addCommand(infoCommand);
4226
4224
  program.addCommand(composeCommand);