@vm0/cli 9.94.1 → 9.94.2
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-OYO75U5W.js → chunk-VSMRILJH.js} +7329 -4
- package/chunk-VSMRILJH.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +2 -2
- package/chunk-OYO75U5W.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-VSMRILJH.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.94.
|
|
455
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.94.2"}`));
|
|
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.94.
|
|
1582
|
+
await startSilentUpgrade("9.94.2");
|
|
1583
1583
|
}
|
|
1584
1584
|
try {
|
|
1585
1585
|
let result;
|
|
@@ -1653,7 +1653,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
1653
1653
|
withErrorHandler(
|
|
1654
1654
|
async (identifier, prompt, options) => {
|
|
1655
1655
|
if (options.autoUpdate !== false) {
|
|
1656
|
-
await startSilentUpgrade("9.94.
|
|
1656
|
+
await startSilentUpgrade("9.94.2");
|
|
1657
1657
|
}
|
|
1658
1658
|
const { name, version } = parseIdentifier(identifier);
|
|
1659
1659
|
let composeId;
|
|
@@ -3457,7 +3457,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
3457
3457
|
withErrorHandler(
|
|
3458
3458
|
async (prompt, options) => {
|
|
3459
3459
|
if (options.autoUpdate !== false) {
|
|
3460
|
-
const shouldExit = await checkAndUpgrade("9.94.
|
|
3460
|
+
const shouldExit = await checkAndUpgrade("9.94.2", prompt);
|
|
3461
3461
|
if (shouldExit) {
|
|
3462
3462
|
process.exit(0);
|
|
3463
3463
|
}
|
|
@@ -4215,13 +4215,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4215
4215
|
if (latestVersion === null) {
|
|
4216
4216
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4217
4217
|
}
|
|
4218
|
-
if (latestVersion === "9.94.
|
|
4219
|
-
console.log(chalk33.green(`\u2713 Already up to date (${"9.94.
|
|
4218
|
+
if (latestVersion === "9.94.2") {
|
|
4219
|
+
console.log(chalk33.green(`\u2713 Already up to date (${"9.94.2"})`));
|
|
4220
4220
|
return;
|
|
4221
4221
|
}
|
|
4222
4222
|
console.log(
|
|
4223
4223
|
chalk33.yellow(
|
|
4224
|
-
`Current version: ${"9.94.
|
|
4224
|
+
`Current version: ${"9.94.2"} -> Latest version: ${latestVersion}`
|
|
4225
4225
|
)
|
|
4226
4226
|
);
|
|
4227
4227
|
console.log();
|
|
@@ -4248,7 +4248,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4248
4248
|
const success = await performUpgrade(packageManager);
|
|
4249
4249
|
if (success) {
|
|
4250
4250
|
console.log(
|
|
4251
|
-
chalk33.green(`\u2713 Upgraded from ${"9.94.
|
|
4251
|
+
chalk33.green(`\u2713 Upgraded from ${"9.94.2"} to ${latestVersion}`)
|
|
4252
4252
|
);
|
|
4253
4253
|
return;
|
|
4254
4254
|
}
|
|
@@ -4316,7 +4316,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
4316
4316
|
|
|
4317
4317
|
// src/index.ts
|
|
4318
4318
|
var program = new Command44();
|
|
4319
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.94.
|
|
4319
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.94.2");
|
|
4320
4320
|
program.addCommand(authCommand);
|
|
4321
4321
|
program.addCommand(infoCommand);
|
|
4322
4322
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateZeroUserPreferences,
|
|
103
103
|
upsertZeroOrgModelProvider,
|
|
104
104
|
withErrorHandler
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VSMRILJH.js";
|
|
106
106
|
|
|
107
107
|
// src/zero.ts
|
|
108
108
|
import { Command as Command70 } from "commander";
|
|
@@ -4138,7 +4138,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
4138
4138
|
var program = new Command70();
|
|
4139
4139
|
program.name("zero").description(
|
|
4140
4140
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
4141
|
-
).version("9.94.
|
|
4141
|
+
).version("9.94.2").addHelpText(
|
|
4142
4142
|
"after",
|
|
4143
4143
|
`
|
|
4144
4144
|
Examples:
|