@vm0/cli 9.85.0 → 9.85.1
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-JCPJKFQI.js → chunk-FEUDHROP.js} +4 -4
- package/chunk-FEUDHROP.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +2 -2
- package/chunk-JCPJKFQI.js.map +0 -1
package/index.js
CHANGED
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
searchLogs,
|
|
52
52
|
volumeConfigSchema,
|
|
53
53
|
withErrorHandler
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FEUDHROP.js";
|
|
55
55
|
|
|
56
56
|
// src/index.ts
|
|
57
57
|
import { Command as Command44 } from "commander";
|
|
@@ -436,7 +436,7 @@ function getConfigPath() {
|
|
|
436
436
|
return join(homedir(), ".vm0", "config.json");
|
|
437
437
|
}
|
|
438
438
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
439
|
-
console.log(chalk3.bold(`VM0 CLI v${"9.85.
|
|
439
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.85.1"}`));
|
|
440
440
|
console.log();
|
|
441
441
|
const config = await loadConfig();
|
|
442
442
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1540,7 +1540,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
1540
1540
|
options.autoUpdate = false;
|
|
1541
1541
|
}
|
|
1542
1542
|
if (options.autoUpdate !== false) {
|
|
1543
|
-
await startSilentUpgrade("9.85.
|
|
1543
|
+
await startSilentUpgrade("9.85.1");
|
|
1544
1544
|
}
|
|
1545
1545
|
try {
|
|
1546
1546
|
let result;
|
|
@@ -2363,7 +2363,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
2363
2363
|
withErrorHandler(
|
|
2364
2364
|
async (identifier, prompt, options) => {
|
|
2365
2365
|
if (options.autoUpdate !== false) {
|
|
2366
|
-
await startSilentUpgrade("9.85.
|
|
2366
|
+
await startSilentUpgrade("9.85.1");
|
|
2367
2367
|
}
|
|
2368
2368
|
const { org, name, version } = parseIdentifier(identifier);
|
|
2369
2369
|
let composeId;
|
|
@@ -4119,7 +4119,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
4119
4119
|
withErrorHandler(
|
|
4120
4120
|
async (prompt, options) => {
|
|
4121
4121
|
if (options.autoUpdate !== false) {
|
|
4122
|
-
const shouldExit = await checkAndUpgrade("9.85.
|
|
4122
|
+
const shouldExit = await checkAndUpgrade("9.85.1", prompt);
|
|
4123
4123
|
if (shouldExit) {
|
|
4124
4124
|
process.exit(0);
|
|
4125
4125
|
}
|
|
@@ -4859,13 +4859,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4859
4859
|
if (latestVersion === null) {
|
|
4860
4860
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4861
4861
|
}
|
|
4862
|
-
if (latestVersion === "9.85.
|
|
4863
|
-
console.log(chalk36.green(`\u2713 Already up to date (${"9.85.
|
|
4862
|
+
if (latestVersion === "9.85.1") {
|
|
4863
|
+
console.log(chalk36.green(`\u2713 Already up to date (${"9.85.1"})`));
|
|
4864
4864
|
return;
|
|
4865
4865
|
}
|
|
4866
4866
|
console.log(
|
|
4867
4867
|
chalk36.yellow(
|
|
4868
|
-
`Current version: ${"9.85.
|
|
4868
|
+
`Current version: ${"9.85.1"} -> Latest version: ${latestVersion}`
|
|
4869
4869
|
)
|
|
4870
4870
|
);
|
|
4871
4871
|
console.log();
|
|
@@ -4892,7 +4892,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4892
4892
|
const success = await performUpgrade(packageManager);
|
|
4893
4893
|
if (success) {
|
|
4894
4894
|
console.log(
|
|
4895
|
-
chalk36.green(`\u2713 Upgraded from ${"9.85.
|
|
4895
|
+
chalk36.green(`\u2713 Upgraded from ${"9.85.1"} to ${latestVersion}`)
|
|
4896
4896
|
);
|
|
4897
4897
|
return;
|
|
4898
4898
|
}
|
|
@@ -4960,7 +4960,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
4960
4960
|
|
|
4961
4961
|
// src/index.ts
|
|
4962
4962
|
var program = new Command44();
|
|
4963
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.85.
|
|
4963
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.85.1");
|
|
4964
4964
|
program.addCommand(authCommand);
|
|
4965
4965
|
program.addCommand(infoCommand);
|
|
4966
4966
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
updateZeroUserPreferences,
|
|
85
85
|
upsertZeroOrgModelProvider,
|
|
86
86
|
withErrorHandler
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FEUDHROP.js";
|
|
88
88
|
|
|
89
89
|
// src/zero.ts
|
|
90
90
|
import { Command as Command59 } from "commander";
|
|
@@ -3118,7 +3118,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
3118
3118
|
var program = new Command59();
|
|
3119
3119
|
program.name("zero").description(
|
|
3120
3120
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
3121
|
-
).version("9.85.
|
|
3121
|
+
).version("9.85.1").addHelpText(
|
|
3122
3122
|
"after",
|
|
3123
3123
|
`
|
|
3124
3124
|
Common scenarios:
|