@vm0/cli 9.83.1 → 9.83.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/index.js
CHANGED
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
searchLogs,
|
|
52
52
|
volumeConfigSchema,
|
|
53
53
|
withErrorHandler
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-37AJL4NM.js";
|
|
55
55
|
|
|
56
56
|
// src/index.ts
|
|
57
57
|
import { Command as Command44 } from "commander";
|
|
@@ -437,7 +437,7 @@ function getConfigPath() {
|
|
|
437
437
|
return join(homedir(), ".vm0", "config.json");
|
|
438
438
|
}
|
|
439
439
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
440
|
-
console.log(chalk3.bold(`VM0 CLI v${"9.83.
|
|
440
|
+
console.log(chalk3.bold(`VM0 CLI v${"9.83.2"}`));
|
|
441
441
|
console.log();
|
|
442
442
|
const config = await loadConfig();
|
|
443
443
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1663,7 +1663,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
1663
1663
|
options.autoUpdate = false;
|
|
1664
1664
|
}
|
|
1665
1665
|
if (options.autoUpdate !== false) {
|
|
1666
|
-
await startSilentUpgrade("9.83.
|
|
1666
|
+
await startSilentUpgrade("9.83.2");
|
|
1667
1667
|
}
|
|
1668
1668
|
try {
|
|
1669
1669
|
let result;
|
|
@@ -2498,7 +2498,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
2498
2498
|
withErrorHandler(
|
|
2499
2499
|
async (identifier, prompt, options) => {
|
|
2500
2500
|
if (options.autoUpdate !== false) {
|
|
2501
|
-
await startSilentUpgrade("9.83.
|
|
2501
|
+
await startSilentUpgrade("9.83.2");
|
|
2502
2502
|
}
|
|
2503
2503
|
const { org, name, version } = parseIdentifier(identifier);
|
|
2504
2504
|
let composeId;
|
|
@@ -4254,7 +4254,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
4254
4254
|
withErrorHandler(
|
|
4255
4255
|
async (prompt, options) => {
|
|
4256
4256
|
if (options.autoUpdate !== false) {
|
|
4257
|
-
const shouldExit = await checkAndUpgrade("9.83.
|
|
4257
|
+
const shouldExit = await checkAndUpgrade("9.83.2", prompt);
|
|
4258
4258
|
if (shouldExit) {
|
|
4259
4259
|
process.exit(0);
|
|
4260
4260
|
}
|
|
@@ -4994,13 +4994,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
4994
4994
|
if (latestVersion === null) {
|
|
4995
4995
|
throw new Error("Could not check for updates. Please try again later.");
|
|
4996
4996
|
}
|
|
4997
|
-
if (latestVersion === "9.83.
|
|
4998
|
-
console.log(chalk36.green(`\u2713 Already up to date (${"9.83.
|
|
4997
|
+
if (latestVersion === "9.83.2") {
|
|
4998
|
+
console.log(chalk36.green(`\u2713 Already up to date (${"9.83.2"})`));
|
|
4999
4999
|
return;
|
|
5000
5000
|
}
|
|
5001
5001
|
console.log(
|
|
5002
5002
|
chalk36.yellow(
|
|
5003
|
-
`Current version: ${"9.83.
|
|
5003
|
+
`Current version: ${"9.83.2"} -> Latest version: ${latestVersion}`
|
|
5004
5004
|
)
|
|
5005
5005
|
);
|
|
5006
5006
|
console.log();
|
|
@@ -5027,7 +5027,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
|
|
|
5027
5027
|
const success = await performUpgrade(packageManager);
|
|
5028
5028
|
if (success) {
|
|
5029
5029
|
console.log(
|
|
5030
|
-
chalk36.green(`\u2713 Upgraded from ${"9.83.
|
|
5030
|
+
chalk36.green(`\u2713 Upgraded from ${"9.83.2"} to ${latestVersion}`)
|
|
5031
5031
|
);
|
|
5032
5032
|
return;
|
|
5033
5033
|
}
|
|
@@ -5095,7 +5095,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
|
|
|
5095
5095
|
|
|
5096
5096
|
// src/index.ts
|
|
5097
5097
|
var program = new Command44();
|
|
5098
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.83.
|
|
5098
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.83.2");
|
|
5099
5099
|
program.addCommand(authCommand);
|
|
5100
5100
|
program.addCommand(infoCommand);
|
|
5101
5101
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
updateZeroUserPreferences,
|
|
83
83
|
upsertZeroOrgModelProvider,
|
|
84
84
|
withErrorHandler
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-37AJL4NM.js";
|
|
86
86
|
|
|
87
87
|
// src/zero.ts
|
|
88
88
|
import { Command as Command55 } from "commander";
|
|
@@ -2997,7 +2997,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
2997
2997
|
}
|
|
2998
2998
|
}
|
|
2999
2999
|
var program = new Command55();
|
|
3000
|
-
program.name("zero").description("Zero CLI - Manage your zero platform").version("9.83.
|
|
3000
|
+
program.name("zero").description("Zero CLI - Manage your zero platform").version("9.83.2");
|
|
3001
3001
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|
|
3002
3002
|
configureGlobalProxyFromEnv();
|
|
3003
3003
|
registerZeroCommands(program);
|