@vm0/cli 9.132.9 → 9.132.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-MPUU27KS.js → chunk-PUKA5E32.js} +18 -17
- package/{chunk-MPUU27KS.js.map → chunk-PUKA5E32.js.map} +1 -1
- package/index.js +9 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +115 -39
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
source_default,
|
|
63
63
|
volumeConfigSchema,
|
|
64
64
|
withErrorHandler
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PUKA5E32.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__require,
|
|
@@ -7771,7 +7771,7 @@ function getConfigPath() {
|
|
|
7771
7771
|
return join(homedir(), ".vm0", "config.json");
|
|
7772
7772
|
}
|
|
7773
7773
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
7774
|
-
console.log(source_default.bold(`VM0 CLI v${"9.132.
|
|
7774
|
+
console.log(source_default.bold(`VM0 CLI v${"9.132.10"}`));
|
|
7775
7775
|
console.log();
|
|
7776
7776
|
const config = await loadConfig();
|
|
7777
7777
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -11716,7 +11716,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
11716
11716
|
options.autoUpdate = false;
|
|
11717
11717
|
}
|
|
11718
11718
|
if (options.autoUpdate !== false) {
|
|
11719
|
-
await startSilentUpgrade("9.132.
|
|
11719
|
+
await startSilentUpgrade("9.132.10");
|
|
11720
11720
|
}
|
|
11721
11721
|
try {
|
|
11722
11722
|
let result;
|
|
@@ -11808,7 +11808,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
11808
11808
|
withErrorHandler(
|
|
11809
11809
|
async (identifier, prompt, options) => {
|
|
11810
11810
|
if (options.autoUpdate !== false) {
|
|
11811
|
-
await startSilentUpgrade("9.132.
|
|
11811
|
+
await startSilentUpgrade("9.132.10");
|
|
11812
11812
|
}
|
|
11813
11813
|
const { name, version } = parseIdentifier(identifier);
|
|
11814
11814
|
let composeId;
|
|
@@ -13581,13 +13581,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13581
13581
|
if (latestVersion === null) {
|
|
13582
13582
|
throw new Error("Could not check for updates. Please try again later.");
|
|
13583
13583
|
}
|
|
13584
|
-
if (latestVersion === "9.132.
|
|
13585
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.132.
|
|
13584
|
+
if (latestVersion === "9.132.10") {
|
|
13585
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.132.10"})`));
|
|
13586
13586
|
return;
|
|
13587
13587
|
}
|
|
13588
13588
|
console.log(
|
|
13589
13589
|
source_default.yellow(
|
|
13590
|
-
`Current version: ${"9.132.
|
|
13590
|
+
`Current version: ${"9.132.10"} -> Latest version: ${latestVersion}`
|
|
13591
13591
|
)
|
|
13592
13592
|
);
|
|
13593
13593
|
console.log();
|
|
@@ -13614,7 +13614,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13614
13614
|
const success = await performUpgrade(packageManager);
|
|
13615
13615
|
if (success) {
|
|
13616
13616
|
console.log(
|
|
13617
|
-
source_default.green(`\u2713 Upgraded from ${"9.132.
|
|
13617
|
+
source_default.green(`\u2713 Upgraded from ${"9.132.10"} to ${latestVersion}`)
|
|
13618
13618
|
);
|
|
13619
13619
|
return;
|
|
13620
13620
|
}
|
|
@@ -13681,7 +13681,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
13681
13681
|
|
|
13682
13682
|
// src/index.ts
|
|
13683
13683
|
var program = new Command();
|
|
13684
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.
|
|
13684
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.10");
|
|
13685
13685
|
program.addCommand(authCommand);
|
|
13686
13686
|
program.addCommand(infoCommand);
|
|
13687
13687
|
program.addCommand(composeCommand);
|