@vm0/cli 9.203.0 → 9.204.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-QVNEGQGL.js → chunk-NQ6BMAY6.js} +843 -530
- package/{chunk-QVNEGQGL.js.map → chunk-NQ6BMAY6.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +200 -307
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
uo,
|
|
76
76
|
volumeConfigSchema,
|
|
77
77
|
withErrorHandler
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-NQ6BMAY6.js";
|
|
79
79
|
import "./chunk-NR42YJMI.js";
|
|
80
80
|
import {
|
|
81
81
|
__toESM,
|
|
@@ -409,7 +409,7 @@ function getConfigPath() {
|
|
|
409
409
|
return join(os.homedir(), ".vm0", "config.json");
|
|
410
410
|
}
|
|
411
411
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
412
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
412
|
+
console.log(source_default.bold(`VM0 CLI v${"9.204.0"}`));
|
|
413
413
|
console.log();
|
|
414
414
|
const config = await loadConfig();
|
|
415
415
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1111,7 +1111,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1111
1111
|
options.autoUpdate = false;
|
|
1112
1112
|
}
|
|
1113
1113
|
if (options.autoUpdate !== false) {
|
|
1114
|
-
await startSilentUpgrade("9.
|
|
1114
|
+
await startSilentUpgrade("9.204.0");
|
|
1115
1115
|
}
|
|
1116
1116
|
try {
|
|
1117
1117
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1208,7 +1208,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1208
1208
|
withErrorHandler(
|
|
1209
1209
|
async (identifier, prompt, options) => {
|
|
1210
1210
|
if (options.autoUpdate !== false) {
|
|
1211
|
-
await startSilentUpgrade("9.
|
|
1211
|
+
await startSilentUpgrade("9.204.0");
|
|
1212
1212
|
}
|
|
1213
1213
|
const { name, version } = parseIdentifier(identifier);
|
|
1214
1214
|
let composeId;
|
|
@@ -3014,13 +3014,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3014
3014
|
if (latestVersion === null) {
|
|
3015
3015
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3016
3016
|
}
|
|
3017
|
-
if (latestVersion === "9.
|
|
3018
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
3017
|
+
if (latestVersion === "9.204.0") {
|
|
3018
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.204.0"})`));
|
|
3019
3019
|
return;
|
|
3020
3020
|
}
|
|
3021
3021
|
console.log(
|
|
3022
3022
|
source_default.yellow(
|
|
3023
|
-
`Current version: ${"9.
|
|
3023
|
+
`Current version: ${"9.204.0"} -> Latest version: ${latestVersion}`
|
|
3024
3024
|
)
|
|
3025
3025
|
);
|
|
3026
3026
|
console.log();
|
|
@@ -3047,7 +3047,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3047
3047
|
const success = await performUpgrade(packageManager);
|
|
3048
3048
|
if (success) {
|
|
3049
3049
|
console.log(
|
|
3050
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
3050
|
+
source_default.green(`\u2713 Upgraded from ${"9.204.0"} to ${latestVersion}`)
|
|
3051
3051
|
);
|
|
3052
3052
|
return;
|
|
3053
3053
|
}
|
|
@@ -3114,7 +3114,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3114
3114
|
|
|
3115
3115
|
// src/index.ts
|
|
3116
3116
|
var program = new Command();
|
|
3117
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
3117
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.204.0");
|
|
3118
3118
|
program.addCommand(authCommand);
|
|
3119
3119
|
program.addCommand(infoCommand);
|
|
3120
3120
|
program.addCommand(composeCommand);
|