@vm0/cli 9.89.0 → 9.90.0
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/{chunk-AM6X5N5J.js → chunk-KEYG4DHY.js} +172 -187
- package/chunk-KEYG4DHY.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +367 -60
- package/zero.js.map +1 -1
- package/chunk-AM6X5N5J.js.map +0 -1
package/index.js
CHANGED
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
showNextSteps,
|
|
61
61
|
volumeConfigSchema,
|
|
62
62
|
withErrorHandler
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-KEYG4DHY.js";
|
|
64
64
|
|
|
65
65
|
// src/index.ts
|
|
66
66
|
import { Command as Command44 } from "commander";
|
|
@@ -445,7 +445,7 @@ function getConfigPath() {
|
|
|
445
445
|
return join(homedir(), ".vm0", "config.json");
|
|
446
446
|
}
|
|
447
447
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
448
|
-
console.log(chalk3.bold(`VM0 CLI v${"9.
|
|
448
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.90.0"}`));
|
|
449
449
|
console.log();
|
|
450
450
|
const config = await loadConfig();
|
|
451
451
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1548,7 +1548,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
1548
1548
|
options.autoUpdate = false;
|
|
1549
1549
|
}
|
|
1550
1550
|
if (options.autoUpdate !== false) {
|
|
1551
|
-
await startSilentUpgrade("9.
|
|
1551
|
+
await startSilentUpgrade("9.90.0");
|
|
1552
1552
|
}
|
|
1553
1553
|
try {
|
|
1554
1554
|
let result;
|
|
@@ -1625,7 +1625,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
1625
1625
|
withErrorHandler(
|
|
1626
1626
|
async (identifier, prompt, options) => {
|
|
1627
1627
|
if (options.autoUpdate !== false) {
|
|
1628
|
-
await startSilentUpgrade("9.
|
|
1628
|
+
await startSilentUpgrade("9.90.0");
|
|
1629
1629
|
}
|
|
1630
1630
|
const { org, name, version } = parseIdentifier(identifier);
|
|
1631
1631
|
let composeId;
|
|
@@ -3394,7 +3394,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
3394
3394
|
withErrorHandler(
|
|
3395
3395
|
async (prompt, options) => {
|
|
3396
3396
|
if (options.autoUpdate !== false) {
|
|
3397
|
-
const shouldExit = await checkAndUpgrade("9.
|
|
3397
|
+
const shouldExit = await checkAndUpgrade("9.90.0", prompt);
|
|
3398
3398
|
if (shouldExit) {
|
|
3399
3399
|
process.exit(0);
|
|
3400
3400
|
}
|
|
@@ -4134,13 +4134,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4134
4134
|
if (latestVersion === null) {
|
|
4135
4135
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4136
4136
|
}
|
|
4137
|
-
if (latestVersion === "9.
|
|
4138
|
-
console.log(chalk33.green(`\u2713 Already up to date (${"9.
|
|
4137
|
+
if (latestVersion === "9.90.0") {
|
|
4138
|
+
console.log(chalk33.green(`\u2713 Already up to date (${"9.90.0"})`));
|
|
4139
4139
|
return;
|
|
4140
4140
|
}
|
|
4141
4141
|
console.log(
|
|
4142
4142
|
chalk33.yellow(
|
|
4143
|
-
`Current version: ${"9.
|
|
4143
|
+
`Current version: ${"9.90.0"} -> Latest version: ${latestVersion}`
|
|
4144
4144
|
)
|
|
4145
4145
|
);
|
|
4146
4146
|
console.log();
|
|
@@ -4167,7 +4167,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4167
4167
|
const success = await performUpgrade(packageManager);
|
|
4168
4168
|
if (success) {
|
|
4169
4169
|
console.log(
|
|
4170
|
-
chalk33.green(`\u2713 Upgraded from ${"9.
|
|
4170
|
+
chalk33.green(`\u2713 Upgraded from ${"9.90.0"} to ${latestVersion}`)
|
|
4171
4171
|
);
|
|
4172
4172
|
return;
|
|
4173
4173
|
}
|
|
@@ -4235,7 +4235,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
4235
4235
|
|
|
4236
4236
|
// src/index.ts
|
|
4237
4237
|
var program = new Command44();
|
|
4238
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
4238
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.90.0");
|
|
4239
4239
|
program.addCommand(authCommand);
|
|
4240
4240
|
program.addCommand(infoCommand);
|
|
4241
4241
|
program.addCommand(composeCommand);
|