@vm0/cli 4.31.0 → 4.31.1

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 +5 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -16937,9 +16937,10 @@ function printCommand(cmd) {
16937
16937
  }
16938
16938
  function execVm0Command(args, options = {}) {
16939
16939
  return new Promise((resolve2, reject) => {
16940
+ const stdio = options.silent ? "pipe" : "inherit";
16940
16941
  const proc = spawn2("vm0", args, {
16941
16942
  cwd: options.cwd,
16942
- stdio: options.silent ? "pipe" : ["inherit", "inherit", "inherit"],
16943
+ stdio,
16943
16944
  shell: process.platform === "win32"
16944
16945
  });
16945
16946
  let stdout = "";
@@ -17088,7 +17089,7 @@ async function autoPullArtifact(runOutput, artifactDir) {
17088
17089
  }
17089
17090
  var cookCmd = new Command13().name("cook").description("One-click agent preparation and execution from vm0.yaml");
17090
17091
  cookCmd.argument("[prompt]", "Prompt for the agent").action(async (prompt) => {
17091
- const shouldExit = await checkAndUpgrade("4.31.0", prompt);
17092
+ const shouldExit = await checkAndUpgrade("4.31.1", prompt);
17092
17093
  if (shouldExit) {
17093
17094
  process.exit(0);
17094
17095
  }
@@ -17211,8 +17212,7 @@ cookCmd.argument("[prompt]", "Prompt for the agent").action(async (prompt) => {
17211
17212
  printCommand(`vm0 compose ${CONFIG_FILE3}`);
17212
17213
  try {
17213
17214
  await execVm0Command(["compose", CONFIG_FILE3], {
17214
- cwd,
17215
- silent: true
17215
+ cwd
17216
17216
  });
17217
17217
  } catch (error43) {
17218
17218
  console.error(chalk16.red(`\u2717 Compose failed`));
@@ -18701,7 +18701,7 @@ var setupGithubCommand = new Command24().name("setup-github").description("Initi
18701
18701
 
18702
18702
  // src/index.ts
18703
18703
  var program = new Command25();
18704
- program.name("vm0").description("VM0 CLI - A modern build tool").version("4.31.0");
18704
+ program.name("vm0").description("VM0 CLI - A modern build tool").version("4.31.1");
18705
18705
  program.command("info").description("Display environment information").action(async () => {
18706
18706
  console.log(chalk26.bold("System Information:"));
18707
18707
  console.log(`Node Version: ${process.version}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "4.31.0",
3
+ "version": "4.31.1",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",