@vm0/cli 9.72.0 → 9.72.1
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 +13 -12
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -45,7 +45,7 @@ if (DSN) {
|
|
|
45
45
|
Sentry.init({
|
|
46
46
|
dsn: DSN,
|
|
47
47
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
48
|
-
release: "9.72.
|
|
48
|
+
release: "9.72.1",
|
|
49
49
|
sendDefaultPii: false,
|
|
50
50
|
tracesSampleRate: 0,
|
|
51
51
|
shutdownTimeout: 500,
|
|
@@ -64,7 +64,7 @@ if (DSN) {
|
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
Sentry.setContext("cli", {
|
|
67
|
-
version: "9.72.
|
|
67
|
+
version: "9.72.1",
|
|
68
68
|
command: process.argv.slice(2).join(" ")
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("runtime", {
|
|
@@ -675,7 +675,7 @@ function getConfigPath() {
|
|
|
675
675
|
return join2(homedir2(), ".vm0", "config.json");
|
|
676
676
|
}
|
|
677
677
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
678
|
-
console.log(chalk4.bold(`VM0 CLI v${"9.72.
|
|
678
|
+
console.log(chalk4.bold(`VM0 CLI v${"9.72.1"}`));
|
|
679
679
|
console.log();
|
|
680
680
|
const config = await loadConfig();
|
|
681
681
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -8660,7 +8660,8 @@ var GOOGLE_OAUTH_REVIEWER_EMAIL_HASHES = [
|
|
|
8660
8660
|
var FEATURE_SWITCHES = {
|
|
8661
8661
|
["pricing" /* Pricing */]: {
|
|
8662
8662
|
maintainer: "ethan@vm0.ai",
|
|
8663
|
-
enabled: false
|
|
8663
|
+
enabled: false,
|
|
8664
|
+
enabledUserHashes: STAFF_USER_HASHES
|
|
8664
8665
|
},
|
|
8665
8666
|
["dummy" /* Dummy */]: {
|
|
8666
8667
|
maintainer: "ethan@vm0.ai",
|
|
@@ -10911,7 +10912,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
10911
10912
|
options.autoUpdate = false;
|
|
10912
10913
|
}
|
|
10913
10914
|
if (options.autoUpdate !== false) {
|
|
10914
|
-
await startSilentUpgrade("9.72.
|
|
10915
|
+
await startSilentUpgrade("9.72.1");
|
|
10915
10916
|
}
|
|
10916
10917
|
try {
|
|
10917
10918
|
let result;
|
|
@@ -11742,7 +11743,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
11742
11743
|
withErrorHandler(
|
|
11743
11744
|
async (identifier, prompt, options) => {
|
|
11744
11745
|
if (options.autoUpdate !== false) {
|
|
11745
|
-
await startSilentUpgrade("9.72.
|
|
11746
|
+
await startSilentUpgrade("9.72.1");
|
|
11746
11747
|
}
|
|
11747
11748
|
const { org, name, version } = parseIdentifier(identifier);
|
|
11748
11749
|
let composeId;
|
|
@@ -13498,7 +13499,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
13498
13499
|
withErrorHandler(
|
|
13499
13500
|
async (prompt, options) => {
|
|
13500
13501
|
if (options.autoUpdate !== false) {
|
|
13501
|
-
const shouldExit = await checkAndUpgrade("9.72.
|
|
13502
|
+
const shouldExit = await checkAndUpgrade("9.72.1", prompt);
|
|
13502
13503
|
if (shouldExit) {
|
|
13503
13504
|
process.exit(0);
|
|
13504
13505
|
}
|
|
@@ -18862,13 +18863,13 @@ var upgradeCommand = new Command94().name("upgrade").description("Upgrade vm0 CL
|
|
|
18862
18863
|
if (latestVersion === null) {
|
|
18863
18864
|
throw new Error("Could not check for updates. Please try again later.");
|
|
18864
18865
|
}
|
|
18865
|
-
if (latestVersion === "9.72.
|
|
18866
|
-
console.log(chalk86.green(`\u2713 Already up to date (${"9.72.
|
|
18866
|
+
if (latestVersion === "9.72.1") {
|
|
18867
|
+
console.log(chalk86.green(`\u2713 Already up to date (${"9.72.1"})`));
|
|
18867
18868
|
return;
|
|
18868
18869
|
}
|
|
18869
18870
|
console.log(
|
|
18870
18871
|
chalk86.yellow(
|
|
18871
|
-
`Current version: ${"9.72.
|
|
18872
|
+
`Current version: ${"9.72.1"} -> Latest version: ${latestVersion}`
|
|
18872
18873
|
)
|
|
18873
18874
|
);
|
|
18874
18875
|
console.log();
|
|
@@ -18895,7 +18896,7 @@ var upgradeCommand = new Command94().name("upgrade").description("Upgrade vm0 CL
|
|
|
18895
18896
|
const success = await performUpgrade(packageManager);
|
|
18896
18897
|
if (success) {
|
|
18897
18898
|
console.log(
|
|
18898
|
-
chalk86.green(`\u2713 Upgraded from ${"9.72.
|
|
18899
|
+
chalk86.green(`\u2713 Upgraded from ${"9.72.1"} to ${latestVersion}`)
|
|
18899
18900
|
);
|
|
18900
18901
|
return;
|
|
18901
18902
|
}
|
|
@@ -18969,7 +18970,7 @@ var whoamiCommand = new Command95().name("whoami").description("Show current ide
|
|
|
18969
18970
|
|
|
18970
18971
|
// src/index.ts
|
|
18971
18972
|
var program = new Command96();
|
|
18972
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.72.
|
|
18973
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.72.1");
|
|
18973
18974
|
program.addCommand(authCommand);
|
|
18974
18975
|
program.addCommand(infoCommand);
|
|
18975
18976
|
program.addCommand(composeCommand);
|