@vm0/cli 9.121.4 → 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.4",
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.4",
73671
+ version: "9.122.0",
73672
73672
  command: process.argv.slice(2).join(" ")
73673
73673
  });
73674
73674
  setContext("runtime", {
@@ -94311,6 +94311,39 @@ var CONNECTOR_TYPES_DEF = {
94311
94311
  }
94312
94312
  },
94313
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
+ }
94314
94347
  }
94315
94348
  };
94316
94349
  var CONNECTOR_TYPES = CONNECTOR_TYPES_DEF;
@@ -101009,6 +101042,33 @@ var tavilyFirewall = {
101009
101042
  ]
101010
101043
  };
101011
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
+
101012
101072
  // ../../packages/core/src/firewalls/tldv.generated.ts
101013
101073
  init_esm_shims();
101014
101074
  var tldvFirewall = {
@@ -103037,6 +103097,7 @@ var CONNECTOR_FIREWALLS = {
103037
103097
  supabase: supabaseFirewall,
103038
103098
  supadata: supadataFirewall,
103039
103099
  tavily: tavilyFirewall,
103100
+ "test-oauth": testOauthFirewall,
103040
103101
  tldv: tldvFirewall,
103041
103102
  todoist: todoistFirewall,
103042
103103
  twenty: twentyFirewall,
@@ -113656,6 +113717,11 @@ var FEATURE_SWITCHES = {
113656
113717
  enabled: false,
113657
113718
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
113658
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
+ },
113659
113725
  ["slackAgentSwitch" /* SlackAgentSwitch */]: {
113660
113726
  maintainer: "yuma@vm0.ai",
113661
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`.",
@@ -116128,4 +116194,4 @@ undici/lib/web/fetch/body.js:
116128
116194
  undici/lib/web/websocket/frame.js:
116129
116195
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
116130
116196
  */
116131
- //# sourceMappingURL=chunk-GPSANZ2L.js.map
116197
+ //# sourceMappingURL=chunk-CRGB4RUH.js.map