@vm0/cli 6.2.0 → 6.2.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.
- package/index.js +7 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7819,11 +7819,13 @@ async function autoPullArtifact(runOutput, artifactDir) {
|
|
|
7819
7819
|
}
|
|
7820
7820
|
}
|
|
7821
7821
|
var cookCmd = new Command19().name("cook").description("One-click agent preparation and execution from vm0.yaml");
|
|
7822
|
-
cookCmd.argument("[prompt]", "Prompt for the agent").option("-y, --yes", "Skip confirmation prompts").addOption(new Option4("--debug-no-mock-claude").hideHelp()).action(
|
|
7822
|
+
cookCmd.argument("[prompt]", "Prompt for the agent").option("-y, --yes", "Skip confirmation prompts").addOption(new Option4("--debug-no-mock-claude").hideHelp()).addOption(new Option4("--no-auto-update").hideHelp()).action(
|
|
7823
7823
|
async (prompt, options) => {
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7824
|
+
if (!options.noAutoUpdate) {
|
|
7825
|
+
const shouldExit = await checkAndUpgrade("6.2.1", prompt);
|
|
7826
|
+
if (shouldExit) {
|
|
7827
|
+
process.exit(0);
|
|
7828
|
+
}
|
|
7827
7829
|
}
|
|
7828
7830
|
const cwd = process.cwd();
|
|
7829
7831
|
console.log(chalk24.bold(`Reading config: ${CONFIG_FILE3}`));
|
|
@@ -11076,7 +11078,7 @@ var modelProviderCommand = new Command46().name("model-provider").description("M
|
|
|
11076
11078
|
|
|
11077
11079
|
// src/index.ts
|
|
11078
11080
|
var program = new Command47();
|
|
11079
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("6.2.
|
|
11081
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("6.2.1");
|
|
11080
11082
|
program.command("info").description("Display environment information").action(async () => {
|
|
11081
11083
|
console.log(chalk47.bold("System Information:"));
|
|
11082
11084
|
console.log(`Node Version: ${process.version}`);
|