@vm0/cli 9.62.5 → 9.62.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.
Files changed (2) hide show
  1. package/index.js +18 -17
  2. 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.62.5",
48
+ release: "9.62.6",
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.62.5",
67
+ version: "9.62.6",
68
68
  command: process.argv.slice(2).join(" ")
69
69
  });
70
70
  Sentry.setContext("runtime", {
@@ -673,7 +673,7 @@ function getConfigPath() {
673
673
  return join2(homedir2(), ".vm0", "config.json");
674
674
  }
675
675
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
676
- console.log(chalk4.bold(`VM0 CLI v${"9.62.5"}`));
676
+ console.log(chalk4.bold(`VM0 CLI v${"9.62.6"}`));
677
677
  console.log();
678
678
  const config = await loadConfig();
679
679
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -4370,7 +4370,13 @@ var CONNECTOR_TYPES_DEF = {
4370
4370
  oauth: {
4371
4371
  authorizationUrl: "https://linear.app/oauth/authorize",
4372
4372
  tokenUrl: "https://api.linear.app/oauth/token",
4373
- scopes: ["read", "write"],
4373
+ scopes: [
4374
+ "read",
4375
+ "write",
4376
+ "issues:create",
4377
+ "comments:create",
4378
+ "timeSchedule:write"
4379
+ ],
4374
4380
  environmentMapping: {
4375
4381
  LINEAR_TOKEN: "$secrets.LINEAR_ACCESS_TOKEN"
4376
4382
  }
@@ -7385,11 +7391,6 @@ var FEATURE_SWITCHES = {
7385
7391
  maintainer: "ethan@vm0.ai",
7386
7392
  enabled: false,
7387
7393
  enabledUserHashes: STAFF_USER_HASHES
7388
- },
7389
- ["zero" /* Zero */]: {
7390
- maintainer: "ethan@vm0.ai",
7391
- enabled: false,
7392
- enabledUserHashes: STAFF_USER_HASHES
7393
7394
  }
7394
7395
  };
7395
7396
  async function isFeatureEnabled(key, userId) {
@@ -9533,7 +9534,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
9533
9534
  options.autoUpdate = false;
9534
9535
  }
9535
9536
  if (options.autoUpdate !== false) {
9536
- await startSilentUpgrade("9.62.5");
9537
+ await startSilentUpgrade("9.62.6");
9537
9538
  }
9538
9539
  try {
9539
9540
  let result;
@@ -10355,7 +10356,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
10355
10356
  withErrorHandler(
10356
10357
  async (identifier, prompt, options) => {
10357
10358
  if (options.autoUpdate !== false) {
10358
- await startSilentUpgrade("9.62.5");
10359
+ await startSilentUpgrade("9.62.6");
10359
10360
  }
10360
10361
  const { org, name, version } = parseIdentifier(identifier);
10361
10362
  let composeId;
@@ -12075,7 +12076,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
12075
12076
  withErrorHandler(
12076
12077
  async (prompt, options) => {
12077
12078
  if (options.autoUpdate !== false) {
12078
- const shouldExit = await checkAndUpgrade("9.62.5", prompt);
12079
+ const shouldExit = await checkAndUpgrade("9.62.6", prompt);
12079
12080
  if (shouldExit) {
12080
12081
  process.exit(0);
12081
12082
  }
@@ -17209,13 +17210,13 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17209
17210
  if (latestVersion === null) {
17210
17211
  throw new Error("Could not check for updates. Please try again later.");
17211
17212
  }
17212
- if (latestVersion === "9.62.5") {
17213
- console.log(chalk79.green(`\u2713 Already up to date (${"9.62.5"})`));
17213
+ if (latestVersion === "9.62.6") {
17214
+ console.log(chalk79.green(`\u2713 Already up to date (${"9.62.6"})`));
17214
17215
  return;
17215
17216
  }
17216
17217
  console.log(
17217
17218
  chalk79.yellow(
17218
- `Current version: ${"9.62.5"} -> Latest version: ${latestVersion}`
17219
+ `Current version: ${"9.62.6"} -> Latest version: ${latestVersion}`
17219
17220
  )
17220
17221
  );
17221
17222
  console.log();
@@ -17242,7 +17243,7 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17242
17243
  const success = await performUpgrade(packageManager);
17243
17244
  if (success) {
17244
17245
  console.log(
17245
- chalk79.green(`\u2713 Upgraded from ${"9.62.5"} to ${latestVersion}`)
17246
+ chalk79.green(`\u2713 Upgraded from ${"9.62.6"} to ${latestVersion}`)
17246
17247
  );
17247
17248
  return;
17248
17249
  }
@@ -17256,7 +17257,7 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17256
17257
 
17257
17258
  // src/index.ts
17258
17259
  var program = new Command87();
17259
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.62.5");
17260
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.62.6");
17260
17261
  program.addCommand(authCommand);
17261
17262
  program.addCommand(infoCommand);
17262
17263
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.62.5",
3
+ "version": "9.62.6",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",