@vm0/cli 9.220.5 → 9.220.6
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.6",
|
|
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.6",
|
|
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-J6GHTJSD.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-J6GHTJSD.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.6"}`));
|
|
438
438
|
console.log();
|
|
439
439
|
const config = await loadConfig();
|
|
440
440
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1137,7 +1137,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1137
1137
|
options.autoUpdate = false;
|
|
1138
1138
|
}
|
|
1139
1139
|
if (options.autoUpdate !== false) {
|
|
1140
|
-
await startSilentUpgrade("9.220.
|
|
1140
|
+
await startSilentUpgrade("9.220.6");
|
|
1141
1141
|
}
|
|
1142
1142
|
try {
|
|
1143
1143
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1234,7 +1234,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1234
1234
|
withErrorHandler(
|
|
1235
1235
|
async (identifier, prompt, options) => {
|
|
1236
1236
|
if (options.autoUpdate !== false) {
|
|
1237
|
-
await startSilentUpgrade("9.220.
|
|
1237
|
+
await startSilentUpgrade("9.220.6");
|
|
1238
1238
|
}
|
|
1239
1239
|
const { name, version } = parseIdentifier(identifier);
|
|
1240
1240
|
let composeId;
|
|
@@ -3093,13 +3093,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3093
3093
|
if (latestVersion === null) {
|
|
3094
3094
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3095
3095
|
}
|
|
3096
|
-
if (latestVersion === "9.220.
|
|
3097
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.220.
|
|
3096
|
+
if (latestVersion === "9.220.6") {
|
|
3097
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.220.6"})`));
|
|
3098
3098
|
return;
|
|
3099
3099
|
}
|
|
3100
3100
|
console.log(
|
|
3101
3101
|
source_default.yellow(
|
|
3102
|
-
`Current version: ${"9.220.
|
|
3102
|
+
`Current version: ${"9.220.6"} -> Latest version: ${latestVersion}`
|
|
3103
3103
|
)
|
|
3104
3104
|
);
|
|
3105
3105
|
console.log();
|
|
@@ -3126,7 +3126,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3126
3126
|
const success = await performUpgrade(packageManager);
|
|
3127
3127
|
if (success) {
|
|
3128
3128
|
console.log(
|
|
3129
|
-
source_default.green(`\u2713 Upgraded from ${"9.220.
|
|
3129
|
+
source_default.green(`\u2713 Upgraded from ${"9.220.6"} to ${latestVersion}`)
|
|
3130
3130
|
);
|
|
3131
3131
|
return;
|
|
3132
3132
|
}
|
|
@@ -3193,7 +3193,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3193
3193
|
|
|
3194
3194
|
// src/index.ts
|
|
3195
3195
|
var program = new Command();
|
|
3196
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.220.
|
|
3196
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.220.6");
|
|
3197
3197
|
program.addCommand(authCommand);
|
|
3198
3198
|
program.addCommand(infoCommand);
|
|
3199
3199
|
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-J6GHTJSD.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.6").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
|