@vm0/cli 9.117.0 → 9.117.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-HVVPJHCH.js → chunk-BMBAB5QA.js} +17 -188
- package/{chunk-HVVPJHCH.js.map → chunk-BMBAB5QA.js.map} +1 -1
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +2 -2
package/index.js
CHANGED
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
source_default,
|
|
73
73
|
volumeConfigSchema,
|
|
74
74
|
withErrorHandler
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BMBAB5QA.js";
|
|
76
76
|
|
|
77
77
|
// src/index.ts
|
|
78
78
|
init_esm_shims();
|
|
@@ -465,7 +465,7 @@ function getConfigPath() {
|
|
|
465
465
|
return join(homedir(), ".vm0", "config.json");
|
|
466
466
|
}
|
|
467
467
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
468
|
-
console.log(source_default.bold(`VM0 CLI v${"9.117.
|
|
468
|
+
console.log(source_default.bold(`VM0 CLI v${"9.117.1"}`));
|
|
469
469
|
console.log();
|
|
470
470
|
const config = await loadConfig();
|
|
471
471
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4494,7 +4494,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4494
4494
|
options.autoUpdate = false;
|
|
4495
4495
|
}
|
|
4496
4496
|
if (options.autoUpdate !== false) {
|
|
4497
|
-
await startSilentUpgrade("9.117.
|
|
4497
|
+
await startSilentUpgrade("9.117.1");
|
|
4498
4498
|
}
|
|
4499
4499
|
try {
|
|
4500
4500
|
let result;
|
|
@@ -4579,7 +4579,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4579
4579
|
withErrorHandler(
|
|
4580
4580
|
async (identifier, prompt, options) => {
|
|
4581
4581
|
if (options.autoUpdate !== false) {
|
|
4582
|
-
await startSilentUpgrade("9.117.
|
|
4582
|
+
await startSilentUpgrade("9.117.1");
|
|
4583
4583
|
}
|
|
4584
4584
|
const { name, version } = parseIdentifier(identifier);
|
|
4585
4585
|
let composeId;
|
|
@@ -6353,7 +6353,7 @@ var cookAction = new Command().name("cook").description("Quick start: prepare, c
|
|
|
6353
6353
|
withErrorHandler(
|
|
6354
6354
|
async (prompt, options) => {
|
|
6355
6355
|
if (options.autoUpdate !== false) {
|
|
6356
|
-
const shouldExit = await checkAndUpgrade("9.117.
|
|
6356
|
+
const shouldExit = await checkAndUpgrade("9.117.1", prompt);
|
|
6357
6357
|
if (shouldExit) {
|
|
6358
6358
|
process.exit(0);
|
|
6359
6359
|
}
|
|
@@ -7120,13 +7120,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
7120
7120
|
if (latestVersion === null) {
|
|
7121
7121
|
throw new Error("Could not check for updates. Please try again later.");
|
|
7122
7122
|
}
|
|
7123
|
-
if (latestVersion === "9.117.
|
|
7124
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.117.
|
|
7123
|
+
if (latestVersion === "9.117.1") {
|
|
7124
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.117.1"})`));
|
|
7125
7125
|
return;
|
|
7126
7126
|
}
|
|
7127
7127
|
console.log(
|
|
7128
7128
|
source_default.yellow(
|
|
7129
|
-
`Current version: ${"9.117.
|
|
7129
|
+
`Current version: ${"9.117.1"} -> Latest version: ${latestVersion}`
|
|
7130
7130
|
)
|
|
7131
7131
|
);
|
|
7132
7132
|
console.log();
|
|
@@ -7153,7 +7153,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
7153
7153
|
const success = await performUpgrade(packageManager);
|
|
7154
7154
|
if (success) {
|
|
7155
7155
|
console.log(
|
|
7156
|
-
source_default.green(`\u2713 Upgraded from ${"9.117.
|
|
7156
|
+
source_default.green(`\u2713 Upgraded from ${"9.117.1"} to ${latestVersion}`)
|
|
7157
7157
|
);
|
|
7158
7158
|
return;
|
|
7159
7159
|
}
|
|
@@ -7220,7 +7220,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
7220
7220
|
|
|
7221
7221
|
// src/index.ts
|
|
7222
7222
|
var program = new Command();
|
|
7223
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.117.
|
|
7223
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.117.1");
|
|
7224
7224
|
program.addCommand(authCommand);
|
|
7225
7225
|
program.addCommand(infoCommand);
|
|
7226
7226
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
upsertZeroOrgModelProvider,
|
|
133
133
|
withErrorHandler,
|
|
134
134
|
zeroAgentCustomSkillNameSchema
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-BMBAB5QA.js";
|
|
136
136
|
|
|
137
137
|
// src/zero.ts
|
|
138
138
|
init_esm_shims();
|
|
@@ -6459,7 +6459,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
6459
6459
|
var program = new Command();
|
|
6460
6460
|
program.name("zero").description(
|
|
6461
6461
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
6462
|
-
).version("9.117.
|
|
6462
|
+
).version("9.117.1").addHelpText(
|
|
6463
6463
|
"after",
|
|
6464
6464
|
`
|
|
6465
6465
|
Examples:
|