@vellumai/assistant 0.11.10-staging.2 → 0.11.10-staging.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.11.10-staging.2",
3
+ "version": "0.11.10-staging.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -439,6 +439,14 @@
439
439
  "description": "Gates the seeded monday.com OAuth provider. When off, the provider is hidden from GET /v1/oauth/providers, its get-by-id route, and the connect/update routes, so it cannot be listed or connected from the CLI, gateway, or web integrations list. The row is still seeded into oauth_providers on startup; only its visibility changes.",
440
440
  "defaultEnabled": false
441
441
  },
442
+ {
443
+ "id": "figma-oauth",
444
+ "scope": "assistant",
445
+ "key": "figma-oauth",
446
+ "label": "Figma Integration",
447
+ "description": "Gates the seeded Figma OAuth provider. When off, the provider is hidden from GET /v1/oauth/providers, its get-by-id route, and the connect/update routes, so it cannot be listed or connected from the CLI, gateway, or web integrations list. The row is still seeded into oauth_providers on startup, and existing connections keep injecting credentials; only its visibility changes.",
448
+ "defaultEnabled": false
449
+ },
442
450
  {
443
451
  "id": "chatgpt-device-code-login",
444
452
  "scope": "client",
@@ -112,6 +112,15 @@ describe("PROVIDER_SEED_DATA managed mode wiring", () => {
112
112
  expect(link.identityResponsePaths).toEqual(["email", "phone"]);
113
113
  });
114
114
 
115
+ test("figma ships behind the figma-oauth flag", () => {
116
+ // The provider is hidden from the providers list and the connect routes
117
+ // until the flag is enabled. Dropping featureFlag here would make Figma
118
+ // visible to every install with no other test noticing.
119
+ const figma = PROVIDER_SEED_DATA.figma;
120
+ expect(figma).toBeDefined();
121
+ expect(figma.featureFlag).toBe("figma-oauth");
122
+ });
123
+
115
124
  test("every managedServiceConfigKey resolves to a ServicesSchema key", () => {
116
125
  // Cross-repo invariant: a provider with managedServiceConfigKey but no
117
126
  // matching ServicesSchema entry silently falls back to BYO mode in
@@ -1120,6 +1120,7 @@ export const PROVIDER_SEED_DATA: Record<
1120
1120
  // `id` is the stable account identifier; email is the friendlier label
1121
1121
  // with handle as the fallback.
1122
1122
  identityResponsePaths: ["email", "handle"],
1123
+ featureFlag: "figma-oauth",
1123
1124
  },
1124
1125
 
1125
1126
  outlook: {