@vm0/cli 5.1.1 → 5.1.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 +5 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18294,7 +18294,7 @@ async function autoPullArtifact(runOutput, artifactDir) {
|
|
|
18294
18294
|
}
|
|
18295
18295
|
var cookCmd = new Command17().name("cook").description("One-click agent preparation and execution from vm0.yaml");
|
|
18296
18296
|
cookCmd.argument("[prompt]", "Prompt for the agent").option("-y, --yes", "Skip confirmation prompts").action(async (prompt, options) => {
|
|
18297
|
-
const shouldExit = await checkAndUpgrade("5.1.
|
|
18297
|
+
const shouldExit = await checkAndUpgrade("5.1.2", prompt);
|
|
18298
18298
|
if (shouldExit) {
|
|
18299
18299
|
process.exit(0);
|
|
18300
18300
|
}
|
|
@@ -19369,7 +19369,9 @@ var initCommand3 = new Command25().name("init").description("Initialize a new VM
|
|
|
19369
19369
|
);
|
|
19370
19370
|
console.log(` 2. Set the environment variable (or add to .env file):`);
|
|
19371
19371
|
console.log(chalk27.dim(` export CLAUDE_CODE_OAUTH_TOKEN=<your-token>`));
|
|
19372
|
-
console.log(
|
|
19372
|
+
console.log(
|
|
19373
|
+
` 3. Run your agent: ${chalk27.cyan(`vm0 cook "let's start working."`)}`
|
|
19374
|
+
);
|
|
19373
19375
|
});
|
|
19374
19376
|
|
|
19375
19377
|
// src/commands/setup-github.ts
|
|
@@ -19857,7 +19859,7 @@ var setupGithubCommand = new Command26().name("setup-github").description("Initi
|
|
|
19857
19859
|
|
|
19858
19860
|
// src/index.ts
|
|
19859
19861
|
var program = new Command27();
|
|
19860
|
-
program.name("vm0").description("VM0 CLI - A modern build tool").version("5.1.
|
|
19862
|
+
program.name("vm0").description("VM0 CLI - A modern build tool").version("5.1.2");
|
|
19861
19863
|
program.command("info").description("Display environment information").action(async () => {
|
|
19862
19864
|
console.log(chalk29.bold("System Information:"));
|
|
19863
19865
|
console.log(`Node Version: ${process.version}`);
|