@vm0/cli 4.38.1 → 5.0.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 +3 -13
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12430,13 +12430,6 @@ var agentDefinitionSchema = external_exports.object({
|
|
|
12430
12430
|
working_dir: external_exports.string().optional(),
|
|
12431
12431
|
// Optional when provider supports auto-config
|
|
12432
12432
|
environment: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
12433
|
-
/**
|
|
12434
|
-
* Enable network security mode for secrets.
|
|
12435
|
-
* When true, secrets are encrypted into proxy tokens and all traffic
|
|
12436
|
-
* is routed through mitmproxy -> VM0 Proxy for decryption.
|
|
12437
|
-
* Default: false (plaintext secrets in env vars)
|
|
12438
|
-
*/
|
|
12439
|
-
experimental_network_security: external_exports.boolean().optional().default(false),
|
|
12440
12433
|
/**
|
|
12441
12434
|
* Path to instructions file (e.g., AGENTS.md).
|
|
12442
12435
|
* Auto-uploaded as volume and mounted at /home/user/.claude/CLAUDE.md
|
|
@@ -18651,7 +18644,7 @@ async function autoPullArtifact(runOutput, artifactDir) {
|
|
|
18651
18644
|
}
|
|
18652
18645
|
var cookCmd = new Command17().name("cook").description("One-click agent preparation and execution from vm0.yaml");
|
|
18653
18646
|
cookCmd.argument("[prompt]", "Prompt for the agent").option("-y, --yes", "Skip confirmation prompts").action(async (prompt, options) => {
|
|
18654
|
-
const shouldExit = await checkAndUpgrade("
|
|
18647
|
+
const shouldExit = await checkAndUpgrade("5.0.0", prompt);
|
|
18655
18648
|
if (shouldExit) {
|
|
18656
18649
|
process.exit(0);
|
|
18657
18650
|
}
|
|
@@ -19149,7 +19142,7 @@ async function showNetworkLogs(runId, options) {
|
|
|
19149
19142
|
if (response.networkLogs.length === 0) {
|
|
19150
19143
|
console.log(
|
|
19151
19144
|
chalk22.yellow(
|
|
19152
|
-
"No network logs found for this run. Network logs are only captured when
|
|
19145
|
+
"No network logs found for this run. Network logs are only captured when experimental_firewall is enabled on a self-hosted runner."
|
|
19153
19146
|
)
|
|
19154
19147
|
);
|
|
19155
19148
|
return;
|
|
@@ -19518,9 +19511,6 @@ function formatComposeOutput(name, versionId, content, variableSources) {
|
|
|
19518
19511
|
if (agent.experimental_runner) {
|
|
19519
19512
|
console.log(` Runner: ${agent.experimental_runner.group}`);
|
|
19520
19513
|
}
|
|
19521
|
-
if (agent.experimental_network_security) {
|
|
19522
|
-
console.log(` Network Security: enabled`);
|
|
19523
|
-
}
|
|
19524
19514
|
}
|
|
19525
19515
|
}
|
|
19526
19516
|
var inspectCommand = new Command23().name("inspect").description("Inspect an agent compose").argument(
|
|
@@ -20205,7 +20195,7 @@ var setupGithubCommand = new Command26().name("setup-github").description("Initi
|
|
|
20205
20195
|
|
|
20206
20196
|
// src/index.ts
|
|
20207
20197
|
var program = new Command27();
|
|
20208
|
-
program.name("vm0").description("VM0 CLI - A modern build tool").version("
|
|
20198
|
+
program.name("vm0").description("VM0 CLI - A modern build tool").version("5.0.0");
|
|
20209
20199
|
program.command("info").description("Display environment information").action(async () => {
|
|
20210
20200
|
console.log(chalk29.bold("System Information:"));
|
|
20211
20201
|
console.log(`Node Version: ${process.version}`);
|