@vm0/cli 9.128.0 → 9.129.0
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
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
source_default,
|
|
66
66
|
volumeConfigSchema,
|
|
67
67
|
withErrorHandler
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-X7AZTK2E.js";
|
|
69
69
|
import {
|
|
70
70
|
__toESM,
|
|
71
71
|
init_esm_shims
|
|
@@ -398,7 +398,7 @@ function getConfigPath() {
|
|
|
398
398
|
return join(homedir(), ".vm0", "config.json");
|
|
399
399
|
}
|
|
400
400
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
401
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
401
|
+
console.log(source_default.bold(`VM0 CLI v${"9.129.0"}`));
|
|
402
402
|
console.log();
|
|
403
403
|
const config = await loadConfig();
|
|
404
404
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4291,7 +4291,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4291
4291
|
options.autoUpdate = false;
|
|
4292
4292
|
}
|
|
4293
4293
|
if (options.autoUpdate !== false) {
|
|
4294
|
-
await startSilentUpgrade("9.
|
|
4294
|
+
await startSilentUpgrade("9.129.0");
|
|
4295
4295
|
}
|
|
4296
4296
|
try {
|
|
4297
4297
|
let result;
|
|
@@ -4381,7 +4381,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4381
4381
|
withErrorHandler(
|
|
4382
4382
|
async (identifier, prompt, options) => {
|
|
4383
4383
|
if (options.autoUpdate !== false) {
|
|
4384
|
-
await startSilentUpgrade("9.
|
|
4384
|
+
await startSilentUpgrade("9.129.0");
|
|
4385
4385
|
}
|
|
4386
4386
|
const { name, version } = parseIdentifier(identifier);
|
|
4387
4387
|
let composeId;
|
|
@@ -6396,13 +6396,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6396
6396
|
if (latestVersion === null) {
|
|
6397
6397
|
throw new Error("Could not check for updates. Please try again later.");
|
|
6398
6398
|
}
|
|
6399
|
-
if (latestVersion === "9.
|
|
6400
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
6399
|
+
if (latestVersion === "9.129.0") {
|
|
6400
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.129.0"})`));
|
|
6401
6401
|
return;
|
|
6402
6402
|
}
|
|
6403
6403
|
console.log(
|
|
6404
6404
|
source_default.yellow(
|
|
6405
|
-
`Current version: ${"9.
|
|
6405
|
+
`Current version: ${"9.129.0"} -> Latest version: ${latestVersion}`
|
|
6406
6406
|
)
|
|
6407
6407
|
);
|
|
6408
6408
|
console.log();
|
|
@@ -6429,7 +6429,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6429
6429
|
const success = await performUpgrade(packageManager);
|
|
6430
6430
|
if (success) {
|
|
6431
6431
|
console.log(
|
|
6432
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
6432
|
+
source_default.green(`\u2713 Upgraded from ${"9.129.0"} to ${latestVersion}`)
|
|
6433
6433
|
);
|
|
6434
6434
|
return;
|
|
6435
6435
|
}
|
|
@@ -6496,7 +6496,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
6496
6496
|
|
|
6497
6497
|
// src/index.ts
|
|
6498
6498
|
var program = new Command();
|
|
6499
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
6499
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.129.0");
|
|
6500
6500
|
program.addCommand(authCommand);
|
|
6501
6501
|
program.addCommand(infoCommand);
|
|
6502
6502
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
upsertZeroOrgModelProvider,
|
|
131
131
|
withErrorHandler,
|
|
132
132
|
zeroAgentCustomSkillNameSchema
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-X7AZTK2E.js";
|
|
134
134
|
import {
|
|
135
135
|
__toESM,
|
|
136
136
|
init_esm_shims
|
|
@@ -6536,7 +6536,7 @@ Notes:
|
|
|
6536
6536
|
|
|
6537
6537
|
// src/commands/zero/web/upload-file.ts
|
|
6538
6538
|
init_esm_shims();
|
|
6539
|
-
var uploadFileCommand2 = new Command().name("upload-file").description("Upload a local file and print a
|
|
6539
|
+
var uploadFileCommand2 = new Command().name("upload-file").description("Upload a local file and print a permanent URL").requiredOption("-f, --file <path>", "Local file path to upload").option("--content-type <mime>", "Override inferred content type").addHelpText(
|
|
6540
6540
|
"after",
|
|
6541
6541
|
`
|
|
6542
6542
|
Examples:
|
|
@@ -6549,7 +6549,8 @@ Output:
|
|
|
6549
6549
|
|
|
6550
6550
|
Notes:
|
|
6551
6551
|
- Authenticates via ZERO_TOKEN (requires file:write capability)
|
|
6552
|
-
- Returned URL is a
|
|
6552
|
+
- Returned URL is permanent (serves a short-lived signed redirect on access)
|
|
6553
|
+
- Safe to persist in chat messages or share over external channels
|
|
6553
6554
|
- Max file size: 1 GB
|
|
6554
6555
|
- Allowed types: png / jpeg / gif / webp / svg / mp4 / webm / mov / pdf / txt / csv / md / json`
|
|
6555
6556
|
).action(
|
|
@@ -6630,7 +6631,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
6630
6631
|
var program = new Command();
|
|
6631
6632
|
program.name("zero").description(
|
|
6632
6633
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
6633
|
-
).version("9.
|
|
6634
|
+
).version("9.129.0").addHelpText(
|
|
6634
6635
|
"after",
|
|
6635
6636
|
`
|
|
6636
6637
|
Examples:
|