@vm0/cli 9.90.4 → 9.90.5
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/index.js
CHANGED
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
showNextSteps,
|
|
60
60
|
volumeConfigSchema,
|
|
61
61
|
withErrorHandler
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-4ZDCMT63.js";
|
|
63
63
|
|
|
64
64
|
// src/index.ts
|
|
65
65
|
import { Command as Command44 } from "commander";
|
|
@@ -452,7 +452,7 @@ function getConfigPath() {
|
|
|
452
452
|
return join(homedir(), ".vm0", "config.json");
|
|
453
453
|
}
|
|
454
454
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
455
|
-
console.log(chalk3.bold(`VM0 CLI v${"9.90.
|
|
455
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.90.5"}`));
|
|
456
456
|
console.log();
|
|
457
457
|
const config = await loadConfig();
|
|
458
458
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1579,7 +1579,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
1579
1579
|
options.autoUpdate = false;
|
|
1580
1580
|
}
|
|
1581
1581
|
if (options.autoUpdate !== false) {
|
|
1582
|
-
await startSilentUpgrade("9.90.
|
|
1582
|
+
await startSilentUpgrade("9.90.5");
|
|
1583
1583
|
}
|
|
1584
1584
|
try {
|
|
1585
1585
|
let result;
|
|
@@ -1656,7 +1656,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
1656
1656
|
withErrorHandler(
|
|
1657
1657
|
async (identifier, prompt, options) => {
|
|
1658
1658
|
if (options.autoUpdate !== false) {
|
|
1659
|
-
await startSilentUpgrade("9.90.
|
|
1659
|
+
await startSilentUpgrade("9.90.5");
|
|
1660
1660
|
}
|
|
1661
1661
|
const { name, version } = parseIdentifier(identifier);
|
|
1662
1662
|
let composeId;
|
|
@@ -3472,7 +3472,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
3472
3472
|
withErrorHandler(
|
|
3473
3473
|
async (prompt, options) => {
|
|
3474
3474
|
if (options.autoUpdate !== false) {
|
|
3475
|
-
const shouldExit = await checkAndUpgrade("9.90.
|
|
3475
|
+
const shouldExit = await checkAndUpgrade("9.90.5", prompt);
|
|
3476
3476
|
if (shouldExit) {
|
|
3477
3477
|
process.exit(0);
|
|
3478
3478
|
}
|
|
@@ -4230,13 +4230,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4230
4230
|
if (latestVersion === null) {
|
|
4231
4231
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4232
4232
|
}
|
|
4233
|
-
if (latestVersion === "9.90.
|
|
4234
|
-
console.log(chalk33.green(`\u2713 Already up to date (${"9.90.
|
|
4233
|
+
if (latestVersion === "9.90.5") {
|
|
4234
|
+
console.log(chalk33.green(`\u2713 Already up to date (${"9.90.5"})`));
|
|
4235
4235
|
return;
|
|
4236
4236
|
}
|
|
4237
4237
|
console.log(
|
|
4238
4238
|
chalk33.yellow(
|
|
4239
|
-
`Current version: ${"9.90.
|
|
4239
|
+
`Current version: ${"9.90.5"} -> Latest version: ${latestVersion}`
|
|
4240
4240
|
)
|
|
4241
4241
|
);
|
|
4242
4242
|
console.log();
|
|
@@ -4263,7 +4263,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4263
4263
|
const success = await performUpgrade(packageManager);
|
|
4264
4264
|
if (success) {
|
|
4265
4265
|
console.log(
|
|
4266
|
-
chalk33.green(`\u2713 Upgraded from ${"9.90.
|
|
4266
|
+
chalk33.green(`\u2713 Upgraded from ${"9.90.5"} to ${latestVersion}`)
|
|
4267
4267
|
);
|
|
4268
4268
|
return;
|
|
4269
4269
|
}
|
|
@@ -4331,7 +4331,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
4331
4331
|
|
|
4332
4332
|
// src/index.ts
|
|
4333
4333
|
var program = new Command44();
|
|
4334
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.90.
|
|
4334
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.90.5");
|
|
4335
4335
|
program.addCommand(authCommand);
|
|
4336
4336
|
program.addCommand(infoCommand);
|
|
4337
4337
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
updateZeroUserPreferences,
|
|
102
102
|
upsertZeroOrgModelProvider,
|
|
103
103
|
withErrorHandler
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-4ZDCMT63.js";
|
|
105
105
|
|
|
106
106
|
// src/zero.ts
|
|
107
107
|
import { Command as Command68 } from "commander";
|
|
@@ -3973,7 +3973,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
3973
3973
|
var program = new Command68();
|
|
3974
3974
|
program.name("zero").description(
|
|
3975
3975
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
3976
|
-
).version("9.90.
|
|
3976
|
+
).version("9.90.5").addHelpText(
|
|
3977
3977
|
"after",
|
|
3978
3978
|
`
|
|
3979
3979
|
Examples:
|