@vm0/cli 9.177.19 → 9.179.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-4ILTCW7H.js → chunk-KC3JLLAV.js} +1742 -427
- package/{chunk-4ILTCW7H.js.map → chunk-KC3JLLAV.js.map} +1 -1
- package/index.js +9 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +283 -90
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
source_default,
|
|
68
68
|
volumeConfigSchema,
|
|
69
69
|
withErrorHandler
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-KC3JLLAV.js";
|
|
71
71
|
import {
|
|
72
72
|
__toESM,
|
|
73
73
|
init_esm_shims
|
|
@@ -400,7 +400,7 @@ function getConfigPath() {
|
|
|
400
400
|
return join(os.homedir(), ".vm0", "config.json");
|
|
401
401
|
}
|
|
402
402
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
403
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
403
|
+
console.log(source_default.bold(`VM0 CLI v${"9.179.0"}`));
|
|
404
404
|
console.log();
|
|
405
405
|
const config = await loadConfig();
|
|
406
406
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4293,7 +4293,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4293
4293
|
options.autoUpdate = false;
|
|
4294
4294
|
}
|
|
4295
4295
|
if (options.autoUpdate !== false) {
|
|
4296
|
-
await startSilentUpgrade("9.
|
|
4296
|
+
await startSilentUpgrade("9.179.0");
|
|
4297
4297
|
}
|
|
4298
4298
|
try {
|
|
4299
4299
|
let result;
|
|
@@ -4395,7 +4395,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4395
4395
|
withErrorHandler(
|
|
4396
4396
|
async (identifier, prompt, options) => {
|
|
4397
4397
|
if (options.autoUpdate !== false) {
|
|
4398
|
-
await startSilentUpgrade("9.
|
|
4398
|
+
await startSilentUpgrade("9.179.0");
|
|
4399
4399
|
}
|
|
4400
4400
|
const { name, version } = parseIdentifier(identifier);
|
|
4401
4401
|
let composeId;
|
|
@@ -6192,13 +6192,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6192
6192
|
if (latestVersion === null) {
|
|
6193
6193
|
throw new Error("Could not check for updates. Please try again later.");
|
|
6194
6194
|
}
|
|
6195
|
-
if (latestVersion === "9.
|
|
6196
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
6195
|
+
if (latestVersion === "9.179.0") {
|
|
6196
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.179.0"})`));
|
|
6197
6197
|
return;
|
|
6198
6198
|
}
|
|
6199
6199
|
console.log(
|
|
6200
6200
|
source_default.yellow(
|
|
6201
|
-
`Current version: ${"9.
|
|
6201
|
+
`Current version: ${"9.179.0"} -> Latest version: ${latestVersion}`
|
|
6202
6202
|
)
|
|
6203
6203
|
);
|
|
6204
6204
|
console.log();
|
|
@@ -6225,7 +6225,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6225
6225
|
const success = await performUpgrade(packageManager);
|
|
6226
6226
|
if (success) {
|
|
6227
6227
|
console.log(
|
|
6228
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
6228
|
+
source_default.green(`\u2713 Upgraded from ${"9.179.0"} to ${latestVersion}`)
|
|
6229
6229
|
);
|
|
6230
6230
|
return;
|
|
6231
6231
|
}
|
|
@@ -6292,7 +6292,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
6292
6292
|
|
|
6293
6293
|
// src/index.ts
|
|
6294
6294
|
var program = new Command();
|
|
6295
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
6295
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.179.0");
|
|
6296
6296
|
program.addCommand(authCommand);
|
|
6297
6297
|
program.addCommand(infoCommand);
|
|
6298
6298
|
program.addCommand(composeCommand);
|