@vm0/cli 9.121.3 → 9.122.0

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.
@@ -73649,7 +73649,7 @@ if (DSN) {
73649
73649
  init2({
73650
73650
  dsn: DSN,
73651
73651
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
73652
- release: "9.121.3",
73652
+ release: "9.122.0",
73653
73653
  sendDefaultPii: false,
73654
73654
  tracesSampleRate: 0,
73655
73655
  shutdownTimeout: 500,
@@ -73668,7 +73668,7 @@ if (DSN) {
73668
73668
  }
73669
73669
  });
73670
73670
  setContext("cli", {
73671
- version: "9.121.3",
73671
+ version: "9.122.0",
73672
73672
  command: process.argv.slice(2).join(" ")
73673
73673
  });
73674
73674
  setContext("runtime", {
@@ -94249,6 +94249,48 @@ var CONNECTOR_TYPES_DEF = {
94249
94249
  },
94250
94250
  defaultAuthMethod: "api-token"
94251
94251
  },
94252
+ db9: {
94253
+ label: "db9",
94254
+ environmentMapping: {
94255
+ DB9_API_KEY: "$secrets.DB9_API_KEY"
94256
+ },
94257
+ helpText: "Connect your db9 account to manage serverless Postgres databases with pgvector, FTS, and embeddings",
94258
+ authMethods: {
94259
+ "api-token": {
94260
+ label: "API Key",
94261
+ helpText: "1. Log in to [db9](https://db9.ai)\n2. Go to **Settings > API Keys**\n3. Create a new API key\n4. Copy the 128-character hex token",
94262
+ secrets: {
94263
+ DB9_API_KEY: {
94264
+ label: "API Key",
94265
+ required: true,
94266
+ placeholder: "128-char hex token"
94267
+ }
94268
+ }
94269
+ }
94270
+ },
94271
+ defaultAuthMethod: "api-token"
94272
+ },
94273
+ drive9: {
94274
+ label: "drive9",
94275
+ environmentMapping: {
94276
+ DRIVE9_TOKEN: "$secrets.DRIVE9_TOKEN"
94277
+ },
94278
+ helpText: "Connect your drive9 account for agent-friendly file storage with unified path-based operations",
94279
+ authMethods: {
94280
+ "api-token": {
94281
+ label: "API Key",
94282
+ helpText: "1. Log in to [drive9](https://drive9.ai)\n2. Go to **Settings > API Keys**\n3. Create a new API key\n4. Copy the key (format: `drive9_sk_...`)",
94283
+ secrets: {
94284
+ DRIVE9_TOKEN: {
94285
+ label: "API Key",
94286
+ required: true,
94287
+ placeholder: "drive9_sk_..."
94288
+ }
94289
+ }
94290
+ }
94291
+ },
94292
+ defaultAuthMethod: "api-token"
94293
+ },
94252
94294
  msg9: {
94253
94295
  label: "msg9",
94254
94296
  environmentMapping: {
@@ -94269,6 +94311,39 @@ var CONNECTOR_TYPES_DEF = {
94269
94311
  }
94270
94312
  },
94271
94313
  defaultAuthMethod: "api-token"
94314
+ },
94315
+ "test-oauth": {
94316
+ label: "Test OAuth (internal)",
94317
+ featureFlag: "testOauthConnector" /* TestOauthConnector */,
94318
+ environmentMapping: {
94319
+ TEST_OAUTH_TOKEN: "$secrets.TEST_OAUTH_ACCESS_TOKEN"
94320
+ },
94321
+ helpText: "Synthetic OAuth 2.0 connector served by this app itself. For automated tests only \u2014 not a real third-party service.",
94322
+ authMethods: {
94323
+ oauth: {
94324
+ label: "OAuth",
94325
+ helpText: "Test-only OAuth provider. Only reachable in dev/preview.",
94326
+ secrets: {
94327
+ TEST_OAUTH_ACCESS_TOKEN: {
94328
+ label: "Access Token",
94329
+ required: true
94330
+ },
94331
+ TEST_OAUTH_REFRESH_TOKEN: {
94332
+ label: "Refresh Token",
94333
+ required: true
94334
+ }
94335
+ }
94336
+ }
94337
+ },
94338
+ defaultAuthMethod: "oauth",
94339
+ oauth: {
94340
+ // Relative paths — the handler resolves them against NEXT_PUBLIC_APP_URL
94341
+ // at call time because the fake provider lives inside this same app and
94342
+ // the preview-URL host changes per deploy.
94343
+ authorizationUrl: "/api/test/oauth-provider/authorize",
94344
+ tokenUrl: "/api/test/oauth-provider/token",
94345
+ scopes: ["read"]
94346
+ }
94272
94347
  }
94273
94348
  };
94274
94349
  var CONNECTOR_TYPES = CONNECTOR_TYPES_DEF;
@@ -96401,6 +96476,48 @@ var docusignFirewall = {
96401
96476
  ]
96402
96477
  };
96403
96478
 
96479
+ // ../../packages/core/src/firewalls/db9.generated.ts
96480
+ init_esm_shims();
96481
+ var db9Firewall = {
96482
+ name: "db9",
96483
+ description: "db9 API",
96484
+ placeholders: {
96485
+ DB9_API_KEY: "c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5a"
96486
+ },
96487
+ apis: [
96488
+ {
96489
+ base: "https://api.db9.ai",
96490
+ auth: {
96491
+ headers: {
96492
+ Authorization: "Bearer ${{ secrets.DB9_API_KEY }}"
96493
+ }
96494
+ },
96495
+ permissions: []
96496
+ }
96497
+ ]
96498
+ };
96499
+
96500
+ // ../../packages/core/src/firewalls/drive9.generated.ts
96501
+ init_esm_shims();
96502
+ var drive9Firewall = {
96503
+ name: "drive9",
96504
+ description: "drive9 API",
96505
+ placeholders: {
96506
+ DRIVE9_TOKEN: "drive9_sk_CoffeeSafeLocalCoffeeSafeLocalCoffeeSa"
96507
+ },
96508
+ apis: [
96509
+ {
96510
+ base: "https://api.drive9.ai",
96511
+ auth: {
96512
+ headers: {
96513
+ Authorization: "Bearer ${{ secrets.DRIVE9_TOKEN }}"
96514
+ }
96515
+ },
96516
+ permissions: []
96517
+ }
96518
+ ]
96519
+ };
96520
+
96404
96521
  // ../../packages/core/src/firewalls/dropbox.generated.ts
96405
96522
  init_esm_shims();
96406
96523
  var dropboxFirewall = {
@@ -100925,6 +101042,33 @@ var tavilyFirewall = {
100925
101042
  ]
100926
101043
  };
100927
101044
 
101045
+ // ../../packages/core/src/firewalls/test-oauth.generated.ts
101046
+ init_esm_shims();
101047
+ var testOauthFirewall = {
101048
+ name: "test-oauth",
101049
+ description: "Test OAuth connector (internal synthetic provider)",
101050
+ placeholders: {
101051
+ TEST_OAUTH_TOKEN: "testoauth_placeholder_token"
101052
+ },
101053
+ apis: [
101054
+ {
101055
+ base: "https://{pr}.vm6.ai/api/test/oauth-provider",
101056
+ auth: {
101057
+ headers: {
101058
+ Authorization: "Bearer ${{ secrets.TEST_OAUTH_TOKEN }}"
101059
+ }
101060
+ },
101061
+ permissions: [
101062
+ {
101063
+ name: "echo",
101064
+ description: "Test echo endpoint used to verify token injection",
101065
+ rules: ["GET /echo"]
101066
+ }
101067
+ ]
101068
+ }
101069
+ ]
101070
+ };
101071
+
100928
101072
  // ../../packages/core/src/firewalls/tldv.generated.ts
100929
101073
  init_esm_shims();
100930
101074
  var tldvFirewall = {
@@ -102866,6 +103010,8 @@ var CONNECTOR_FIREWALLS = {
102866
103010
  discord: discordFirewall,
102867
103011
  "discord-webhook": discordWebhookFirewall,
102868
103012
  docusign: docusignFirewall,
103013
+ db9: db9Firewall,
103014
+ drive9: drive9Firewall,
102869
103015
  dropbox: dropboxFirewall,
102870
103016
  elevenlabs: elevenlabsFirewall,
102871
103017
  explorium: exploriumFirewall,
@@ -102951,6 +103097,7 @@ var CONNECTOR_FIREWALLS = {
102951
103097
  supabase: supabaseFirewall,
102952
103098
  supadata: supadataFirewall,
102953
103099
  tavily: tavilyFirewall,
103100
+ "test-oauth": testOauthFirewall,
102954
103101
  tldv: tldvFirewall,
102955
103102
  todoist: todoistFirewall,
102956
103103
  twenty: twentyFirewall,
@@ -113570,6 +113717,11 @@ var FEATURE_SWITCHES = {
113570
113717
  enabled: false,
113571
113718
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
113572
113719
  },
113720
+ ["testOauthConnector" /* TestOauthConnector */]: {
113721
+ maintainer: "liangyou@vm0.ai",
113722
+ description: "Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.",
113723
+ enabled: false
113724
+ },
113573
113725
  ["slackAgentSwitch" /* SlackAgentSwitch */]: {
113574
113726
  maintainer: "yuma@vm0.ai",
113575
113727
  description: "Per-user agent override in the org-aware Slack app. When enabled for an org, members can choose which agent replies to their Slack mentions / DMs via `/zero switch` (opens an agent picker modal) or the Switch button on the App Home tab. The help text for `/zero help` also lists the switch subcommand. Selecting an alternate agent persists a row in `slack_user_agent_preferences` so the preference follows the user across every Slack workspace joined under the same org, and subsequent mention / DM replies from a non-default agent carry a `Sent via <agent>` footer so it's clear which agent produced the reply. When gated off, the modal, slash subcommand, App Home button, and help line are hidden AND any existing DB preferences are ignored at read time \u2014 every user falls back to the org default agent with no footer. Staff-only during the rollout window defined by `enabledOrgIdHashes`.",
@@ -116042,4 +116194,4 @@ undici/lib/web/fetch/body.js:
116042
116194
  undici/lib/web/websocket/frame.js:
116043
116195
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
116044
116196
  */
116045
- //# sourceMappingURL=chunk-ZW77T6RK.js.map
116197
+ //# sourceMappingURL=chunk-CRGB4RUH.js.map