@vm0/cli 9.37.5 → 9.37.7
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 +10 -13
- 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.37.
|
|
48
|
+
release: "9.37.7",
|
|
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.37.
|
|
67
|
+
version: "9.37.7",
|
|
68
68
|
command: process.argv.slice(2).join(" ")
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("runtime", {
|
|
@@ -607,7 +607,7 @@ function getConfigPath() {
|
|
|
607
607
|
return join2(homedir2(), ".vm0", "config.json");
|
|
608
608
|
}
|
|
609
609
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
610
|
-
console.log(chalk7.bold(`VM0 CLI v${"9.37.
|
|
610
|
+
console.log(chalk7.bold(`VM0 CLI v${"9.37.7"}`));
|
|
611
611
|
console.log();
|
|
612
612
|
const config = await loadConfig();
|
|
613
613
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -3655,7 +3655,7 @@ var CONNECTOR_TYPES = {
|
|
|
3655
3655
|
},
|
|
3656
3656
|
gmail: {
|
|
3657
3657
|
label: "Gmail",
|
|
3658
|
-
helpText: "Connect your Gmail account to access email
|
|
3658
|
+
helpText: "Connect your Gmail account to access email",
|
|
3659
3659
|
authMethods: {
|
|
3660
3660
|
oauth: {
|
|
3661
3661
|
label: "OAuth (Recommended)",
|
|
@@ -3676,10 +3676,7 @@ var CONNECTOR_TYPES = {
|
|
|
3676
3676
|
oauth: {
|
|
3677
3677
|
authorizationUrl: "https://accounts.google.com/o/oauth2/v2/auth",
|
|
3678
3678
|
tokenUrl: "https://oauth2.googleapis.com/token",
|
|
3679
|
-
scopes: [
|
|
3680
|
-
"https://www.googleapis.com/auth/gmail.readonly",
|
|
3681
|
-
"https://www.googleapis.com/auth/gmail.send"
|
|
3682
|
-
]
|
|
3679
|
+
scopes: []
|
|
3683
3680
|
}
|
|
3684
3681
|
}
|
|
3685
3682
|
};
|
|
@@ -3857,7 +3854,7 @@ var connectorSessionByIdContract = c19.router({
|
|
|
3857
3854
|
});
|
|
3858
3855
|
var computerConnectorCreateResponseSchema = z23.object({
|
|
3859
3856
|
id: z23.string().uuid(),
|
|
3860
|
-
|
|
3857
|
+
ngrokToken: z23.string(),
|
|
3861
3858
|
bridgeToken: z23.string(),
|
|
3862
3859
|
endpointPrefix: z23.string(),
|
|
3863
3860
|
domain: z23.string()
|
|
@@ -6483,7 +6480,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
6483
6480
|
options.autoUpdate = false;
|
|
6484
6481
|
}
|
|
6485
6482
|
if (options.autoUpdate !== false) {
|
|
6486
|
-
await startSilentUpgrade("9.37.
|
|
6483
|
+
await startSilentUpgrade("9.37.7");
|
|
6487
6484
|
}
|
|
6488
6485
|
try {
|
|
6489
6486
|
let result;
|
|
@@ -8697,7 +8694,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
8697
8694
|
async (identifier, prompt, options) => {
|
|
8698
8695
|
try {
|
|
8699
8696
|
if (options.autoUpdate !== false) {
|
|
8700
|
-
await startSilentUpgrade("9.37.
|
|
8697
|
+
await startSilentUpgrade("9.37.7");
|
|
8701
8698
|
}
|
|
8702
8699
|
const { scope, name, version } = parseIdentifier(identifier);
|
|
8703
8700
|
if (scope && !options.experimentalSharedAgent) {
|
|
@@ -10273,7 +10270,7 @@ var cookAction = new Command27().name("cook").description("Quick start: prepare,
|
|
|
10273
10270
|
).option("-y, --yes", "Skip confirmation prompts").option("-v, --verbose", "Show full tool inputs and outputs").addOption(new Option5("--debug-no-mock-claude").hideHelp()).addOption(new Option5("--no-auto-update").hideHelp()).action(
|
|
10274
10271
|
async (prompt, options) => {
|
|
10275
10272
|
if (options.autoUpdate !== false) {
|
|
10276
|
-
const shouldExit = await checkAndUpgrade("9.37.
|
|
10273
|
+
const shouldExit = await checkAndUpgrade("9.37.7", prompt);
|
|
10277
10274
|
if (shouldExit) {
|
|
10278
10275
|
process.exit(0);
|
|
10279
10276
|
}
|
|
@@ -14998,7 +14995,7 @@ var preferenceCommand = new Command77().name("preference").description("View or
|
|
|
14998
14995
|
|
|
14999
14996
|
// src/index.ts
|
|
15000
14997
|
var program = new Command78();
|
|
15001
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.37.
|
|
14998
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.37.7");
|
|
15002
14999
|
program.addCommand(authCommand);
|
|
15003
15000
|
program.addCommand(infoCommand);
|
|
15004
15001
|
program.addCommand(composeCommand);
|