@vm0/cli 9.220.3 → 9.220.4
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.
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.220.
|
|
53
|
+
release: "9.220.4",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.220.
|
|
72
|
+
version: "9.220.4",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-73G3HTYV.js.map
|
package/index.js
CHANGED
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
} from "./chunk-JUTUEPIR.js";
|
|
97
97
|
import {
|
|
98
98
|
configureGlobalProxyFromEnv
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-73G3HTYV.js";
|
|
100
100
|
import "./chunk-LRHXR7JT.js";
|
|
101
101
|
import {
|
|
102
102
|
Command,
|
|
@@ -434,7 +434,7 @@ function getConfigPath() {
|
|
|
434
434
|
return join(os.homedir(), ".vm0", "config.json");
|
|
435
435
|
}
|
|
436
436
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
437
|
-
console.log(source_default.bold(`VM0 CLI v${"9.220.
|
|
437
|
+
console.log(source_default.bold(`VM0 CLI v${"9.220.4"}`));
|
|
438
438
|
console.log();
|
|
439
439
|
const config = await loadConfig();
|
|
440
440
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1136,7 +1136,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1136
1136
|
options.autoUpdate = false;
|
|
1137
1137
|
}
|
|
1138
1138
|
if (options.autoUpdate !== false) {
|
|
1139
|
-
await startSilentUpgrade("9.220.
|
|
1139
|
+
await startSilentUpgrade("9.220.4");
|
|
1140
1140
|
}
|
|
1141
1141
|
try {
|
|
1142
1142
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1233,7 +1233,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1233
1233
|
withErrorHandler(
|
|
1234
1234
|
async (identifier, prompt, options) => {
|
|
1235
1235
|
if (options.autoUpdate !== false) {
|
|
1236
|
-
await startSilentUpgrade("9.220.
|
|
1236
|
+
await startSilentUpgrade("9.220.4");
|
|
1237
1237
|
}
|
|
1238
1238
|
const { name, version } = parseIdentifier(identifier);
|
|
1239
1239
|
let composeId;
|
|
@@ -3092,13 +3092,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3092
3092
|
if (latestVersion === null) {
|
|
3093
3093
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3094
3094
|
}
|
|
3095
|
-
if (latestVersion === "9.220.
|
|
3096
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.220.
|
|
3095
|
+
if (latestVersion === "9.220.4") {
|
|
3096
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.220.4"})`));
|
|
3097
3097
|
return;
|
|
3098
3098
|
}
|
|
3099
3099
|
console.log(
|
|
3100
3100
|
source_default.yellow(
|
|
3101
|
-
`Current version: ${"9.220.
|
|
3101
|
+
`Current version: ${"9.220.4"} -> Latest version: ${latestVersion}`
|
|
3102
3102
|
)
|
|
3103
3103
|
);
|
|
3104
3104
|
console.log();
|
|
@@ -3125,7 +3125,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3125
3125
|
const success = await performUpgrade(packageManager);
|
|
3126
3126
|
if (success) {
|
|
3127
3127
|
console.log(
|
|
3128
|
-
source_default.green(`\u2713 Upgraded from ${"9.220.
|
|
3128
|
+
source_default.green(`\u2713 Upgraded from ${"9.220.4"} to ${latestVersion}`)
|
|
3129
3129
|
);
|
|
3130
3130
|
return;
|
|
3131
3131
|
}
|
|
@@ -3192,7 +3192,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3192
3192
|
|
|
3193
3193
|
// src/index.ts
|
|
3194
3194
|
var program = new Command();
|
|
3195
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.220.
|
|
3195
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.220.4");
|
|
3196
3196
|
program.addCommand(authCommand);
|
|
3197
3197
|
program.addCommand(infoCommand);
|
|
3198
3198
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
configureGlobalProxyFromEnv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-73G3HTYV.js";
|
|
7
7
|
import {
|
|
8
8
|
decodeZeroTokenPayload
|
|
9
9
|
} from "./chunk-LRHXR7JT.js";
|
|
@@ -370,7 +370,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
370
370
|
var program = new Command();
|
|
371
371
|
program.name("zero").description(
|
|
372
372
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
373
|
-
).version("9.220.
|
|
373
|
+
).version("9.220.4").addHelpText("after", () => {
|
|
374
374
|
return buildZeroHelpText();
|
|
375
375
|
});
|
|
376
376
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|
|
File without changes
|