@vm0/cli 9.86.8 → 9.86.10
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-ZYWB53RO.js → chunk-BB3ODMCC.js} +148 -17
- package/chunk-BB3ODMCC.js.map +1 -0
- package/index.js +10 -10
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +2 -2
- package/zero.js.map +1 -1
- package/chunk-ZYWB53RO.js.map +0 -1
package/index.js
CHANGED
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
showNextSteps,
|
|
60
60
|
volumeConfigSchema,
|
|
61
61
|
withErrorHandler
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BB3ODMCC.js";
|
|
63
63
|
|
|
64
64
|
// src/index.ts
|
|
65
65
|
import { Command as Command44 } from "commander";
|
|
@@ -444,7 +444,7 @@ function getConfigPath() {
|
|
|
444
444
|
return join(homedir(), ".vm0", "config.json");
|
|
445
445
|
}
|
|
446
446
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
447
|
-
console.log(chalk3.bold(`VM0 CLI v${"9.86.
|
|
447
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.86.10"}`));
|
|
448
448
|
console.log();
|
|
449
449
|
const config = await loadConfig();
|
|
450
450
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1547,7 +1547,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
1547
1547
|
options.autoUpdate = false;
|
|
1548
1548
|
}
|
|
1549
1549
|
if (options.autoUpdate !== false) {
|
|
1550
|
-
await startSilentUpgrade("9.86.
|
|
1550
|
+
await startSilentUpgrade("9.86.10");
|
|
1551
1551
|
}
|
|
1552
1552
|
try {
|
|
1553
1553
|
let result;
|
|
@@ -1621,7 +1621,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
1621
1621
|
withErrorHandler(
|
|
1622
1622
|
async (identifier, prompt, options) => {
|
|
1623
1623
|
if (options.autoUpdate !== false) {
|
|
1624
|
-
await startSilentUpgrade("9.86.
|
|
1624
|
+
await startSilentUpgrade("9.86.10");
|
|
1625
1625
|
}
|
|
1626
1626
|
const { org, name, version } = parseIdentifier(identifier);
|
|
1627
1627
|
let composeId;
|
|
@@ -3377,7 +3377,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
3377
3377
|
withErrorHandler(
|
|
3378
3378
|
async (prompt, options) => {
|
|
3379
3379
|
if (options.autoUpdate !== false) {
|
|
3380
|
-
const shouldExit = await checkAndUpgrade("9.86.
|
|
3380
|
+
const shouldExit = await checkAndUpgrade("9.86.10", prompt);
|
|
3381
3381
|
if (shouldExit) {
|
|
3382
3382
|
process.exit(0);
|
|
3383
3383
|
}
|
|
@@ -4117,13 +4117,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4117
4117
|
if (latestVersion === null) {
|
|
4118
4118
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4119
4119
|
}
|
|
4120
|
-
if (latestVersion === "9.86.
|
|
4121
|
-
console.log(chalk33.green(`\u2713 Already up to date (${"9.86.
|
|
4120
|
+
if (latestVersion === "9.86.10") {
|
|
4121
|
+
console.log(chalk33.green(`\u2713 Already up to date (${"9.86.10"})`));
|
|
4122
4122
|
return;
|
|
4123
4123
|
}
|
|
4124
4124
|
console.log(
|
|
4125
4125
|
chalk33.yellow(
|
|
4126
|
-
`Current version: ${"9.86.
|
|
4126
|
+
`Current version: ${"9.86.10"} -> Latest version: ${latestVersion}`
|
|
4127
4127
|
)
|
|
4128
4128
|
);
|
|
4129
4129
|
console.log();
|
|
@@ -4150,7 +4150,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4150
4150
|
const success = await performUpgrade(packageManager);
|
|
4151
4151
|
if (success) {
|
|
4152
4152
|
console.log(
|
|
4153
|
-
chalk33.green(`\u2713 Upgraded from ${"9.86.
|
|
4153
|
+
chalk33.green(`\u2713 Upgraded from ${"9.86.10"} to ${latestVersion}`)
|
|
4154
4154
|
);
|
|
4155
4155
|
return;
|
|
4156
4156
|
}
|
|
@@ -4218,7 +4218,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
4218
4218
|
|
|
4219
4219
|
// src/index.ts
|
|
4220
4220
|
var program = new Command44();
|
|
4221
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.86.
|
|
4221
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.86.10");
|
|
4222
4222
|
program.addCommand(authCommand);
|
|
4223
4223
|
program.addCommand(infoCommand);
|
|
4224
4224
|
program.addCommand(composeCommand);
|