@vm0/cli 9.212.1 → 9.212.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/{chunk-MWACDRSK.js → chunk-N7MVGKOK.js} +3 -3
- package/{cloudflare.generated-SBLUYZ2L.js → cloudflare.generated-UPPFZKSA.js} +38 -1
- package/{cloudflare.generated-SBLUYZ2L.js.map → cloudflare.generated-UPPFZKSA.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +6 -3
- package/zero.js.map +1 -1
- /package/{chunk-MWACDRSK.js.map → chunk-N7MVGKOK.js.map} +0 -0
package/index.js
CHANGED
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
uo,
|
|
79
79
|
volumeConfigSchema,
|
|
80
80
|
withErrorHandler
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-N7MVGKOK.js";
|
|
82
82
|
import "./chunk-NR42YJMI.js";
|
|
83
83
|
import {
|
|
84
84
|
__toESM,
|
|
@@ -412,7 +412,7 @@ function getConfigPath() {
|
|
|
412
412
|
return join(os.homedir(), ".vm0", "config.json");
|
|
413
413
|
}
|
|
414
414
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
415
|
-
console.log(source_default.bold(`VM0 CLI v${"9.212.
|
|
415
|
+
console.log(source_default.bold(`VM0 CLI v${"9.212.2"}`));
|
|
416
416
|
console.log();
|
|
417
417
|
const config = await loadConfig();
|
|
418
418
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1114,7 +1114,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1114
1114
|
options.autoUpdate = false;
|
|
1115
1115
|
}
|
|
1116
1116
|
if (options.autoUpdate !== false) {
|
|
1117
|
-
await startSilentUpgrade("9.212.
|
|
1117
|
+
await startSilentUpgrade("9.212.2");
|
|
1118
1118
|
}
|
|
1119
1119
|
try {
|
|
1120
1120
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1211,7 +1211,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1211
1211
|
withErrorHandler(
|
|
1212
1212
|
async (identifier, prompt, options) => {
|
|
1213
1213
|
if (options.autoUpdate !== false) {
|
|
1214
|
-
await startSilentUpgrade("9.212.
|
|
1214
|
+
await startSilentUpgrade("9.212.2");
|
|
1215
1215
|
}
|
|
1216
1216
|
const { name, version } = parseIdentifier(identifier);
|
|
1217
1217
|
let composeId;
|
|
@@ -3070,13 +3070,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3070
3070
|
if (latestVersion === null) {
|
|
3071
3071
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3072
3072
|
}
|
|
3073
|
-
if (latestVersion === "9.212.
|
|
3074
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.212.
|
|
3073
|
+
if (latestVersion === "9.212.2") {
|
|
3074
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.212.2"})`));
|
|
3075
3075
|
return;
|
|
3076
3076
|
}
|
|
3077
3077
|
console.log(
|
|
3078
3078
|
source_default.yellow(
|
|
3079
|
-
`Current version: ${"9.212.
|
|
3079
|
+
`Current version: ${"9.212.2"} -> Latest version: ${latestVersion}`
|
|
3080
3080
|
)
|
|
3081
3081
|
);
|
|
3082
3082
|
console.log();
|
|
@@ -3103,7 +3103,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3103
3103
|
const success = await performUpgrade(packageManager);
|
|
3104
3104
|
if (success) {
|
|
3105
3105
|
console.log(
|
|
3106
|
-
source_default.green(`\u2713 Upgraded from ${"9.212.
|
|
3106
|
+
source_default.green(`\u2713 Upgraded from ${"9.212.2"} to ${latestVersion}`)
|
|
3107
3107
|
);
|
|
3108
3108
|
return;
|
|
3109
3109
|
}
|
|
@@ -3170,7 +3170,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3170
3170
|
|
|
3171
3171
|
// src/index.ts
|
|
3172
3172
|
var program = new Command();
|
|
3173
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.212.
|
|
3173
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.212.2");
|
|
3174
3174
|
program.addCommand(authCommand);
|
|
3175
3175
|
program.addCommand(infoCommand);
|
|
3176
3176
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
uploadWebFile,
|
|
191
191
|
upsertZeroOrgModelProvider,
|
|
192
192
|
withErrorHandler
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-N7MVGKOK.js";
|
|
194
194
|
import "./chunk-NR42YJMI.js";
|
|
195
195
|
import {
|
|
196
196
|
__toESM,
|
|
@@ -6189,6 +6189,9 @@ var FIREWALL_ROUTING_METADATA_INDEX = {
|
|
|
6189
6189
|
"type": "cloudflare",
|
|
6190
6190
|
"label": "Cloudflare",
|
|
6191
6191
|
"apis": [
|
|
6192
|
+
{
|
|
6193
|
+
"base": "https://api.cloudflare.com/client"
|
|
6194
|
+
},
|
|
6192
6195
|
{
|
|
6193
6196
|
"base": "https://api.cloudflare.com/client"
|
|
6194
6197
|
}
|
|
@@ -8567,7 +8570,7 @@ var FIREWALL_ROUTING_METADATA_LOADERS = Object.assign(/* @__PURE__ */ Object.cre
|
|
|
8567
8570
|
return (await import("./close.generated-KEXQXJE2.js"))["firewallRoutingMetadata"];
|
|
8568
8571
|
},
|
|
8569
8572
|
["cloudflare"]: async () => {
|
|
8570
|
-
return (await import("./cloudflare.generated-
|
|
8573
|
+
return (await import("./cloudflare.generated-UPPFZKSA.js"))["firewallRoutingMetadata"];
|
|
8571
8574
|
},
|
|
8572
8575
|
["coda"]: async () => {
|
|
8573
8576
|
return (await import("./coda.generated-M5RCH5OH.js"))["firewallRoutingMetadata"];
|
|
@@ -22390,7 +22393,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
22390
22393
|
var program = new Command();
|
|
22391
22394
|
program.name("zero").description(
|
|
22392
22395
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
22393
|
-
).version("9.212.
|
|
22396
|
+
).version("9.212.2").addHelpText("after", () => {
|
|
22394
22397
|
return buildZeroHelpText();
|
|
22395
22398
|
});
|
|
22396
22399
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|