@vm0/cli 9.3.0 → 9.3.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 +3 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7743,7 +7743,7 @@ cookCmd.argument("[prompt]", "Prompt for the agent").option(
|
|
|
7743
7743
|
// eslint-disable-next-line complexity -- TODO: refactor complex function
|
|
7744
7744
|
async (prompt, options) => {
|
|
7745
7745
|
if (!options.noAutoUpdate) {
|
|
7746
|
-
const shouldExit = await checkAndUpgrade("9.3.
|
|
7746
|
+
const shouldExit = await checkAndUpgrade("9.3.1", prompt);
|
|
7747
7747
|
if (shouldExit) {
|
|
7748
7748
|
process.exit(0);
|
|
7749
7749
|
}
|
|
@@ -10488,7 +10488,7 @@ function renderOnboardWelcome() {
|
|
|
10488
10488
|
"",
|
|
10489
10489
|
"Welcome to VM0!",
|
|
10490
10490
|
"",
|
|
10491
|
-
"Let's
|
|
10491
|
+
"Let's create your first agent.",
|
|
10492
10492
|
""
|
|
10493
10493
|
]);
|
|
10494
10494
|
}
|
|
@@ -11094,13 +11094,6 @@ async function handleAgentCreation(ctx) {
|
|
|
11094
11094
|
console.log(chalk48.cyan(` rm -rf ${agentName}`));
|
|
11095
11095
|
process.exit(1);
|
|
11096
11096
|
}
|
|
11097
|
-
if (!ctx.options.yes && ctx.interactive) {
|
|
11098
|
-
const confirmed = await promptConfirm(`Create ${agentName}/?`, true);
|
|
11099
|
-
if (!confirmed) {
|
|
11100
|
-
console.log(chalk48.dim("Cancelled"));
|
|
11101
|
-
process.exit(0);
|
|
11102
|
-
}
|
|
11103
|
-
}
|
|
11104
11097
|
await mkdir8(agentName, { recursive: true });
|
|
11105
11098
|
console.log(chalk48.green(`\u2713 Created ${agentName}/`));
|
|
11106
11099
|
ctx.updateProgress(2, "completed");
|
|
@@ -11390,7 +11383,7 @@ var setupClaudeCommand = new Command47().name("setup-claude").description("Add/u
|
|
|
11390
11383
|
|
|
11391
11384
|
// src/index.ts
|
|
11392
11385
|
var program = new Command48();
|
|
11393
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.3.
|
|
11386
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.3.1");
|
|
11394
11387
|
program.command("info").description("Display environment information").action(async () => {
|
|
11395
11388
|
console.log(chalk50.bold("System Information:"));
|
|
11396
11389
|
console.log(`Node Version: ${process.version}`);
|