@codeam/shared 2.61.13 → 2.61.15

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/dist/index.mjs CHANGED
@@ -458,6 +458,7 @@ var INTEGRATION_REGISTRY = {
458
458
  id: "jira",
459
459
  name: "Atlassian",
460
460
  icon: "jira",
461
+ category: "tracker",
461
462
  enabled: true,
462
463
  auth: {
463
464
  kind: "oauth_redirect",
@@ -497,6 +498,7 @@ var INTEGRATION_REGISTRY = {
497
498
  id: "sentry",
498
499
  name: "Sentry",
499
500
  icon: "sentry",
501
+ category: "observability",
500
502
  // LIVE — the Sentry OAuth Application (Confidential) is registered and
501
503
  // SENTRY_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
502
504
  // (prod+dev). The backend SentryOAuthProvider is config-gated (503 if
@@ -550,6 +552,7 @@ var INTEGRATION_REGISTRY = {
550
552
  id: "linear",
551
553
  name: "Linear",
552
554
  icon: "linear",
555
+ category: "tracker",
553
556
  // LIVE — the Linear OAuth Application (Public + Confidential) is registered
554
557
  // and LINEAR_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
555
558
  // (prod+dev). The backend LinearOAuthProvider is config-gated (503 if env
@@ -587,6 +590,7 @@ var INTEGRATION_REGISTRY = {
587
590
  id: "slack",
588
591
  name: "Slack",
589
592
  icon: "slack",
593
+ category: "comms",
590
594
  // LIVE — the Slack app (OAuth v2, USER token — the agent acts AS THE USER)
591
595
  // is registered and
592
596
  // SLACK_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
@@ -641,6 +645,7 @@ var INTEGRATION_REGISTRY = {
641
645
  id: "notion",
642
646
  name: "Notion",
643
647
  icon: "notion",
648
+ category: "docs",
644
649
  // LIVE — the Notion public OAuth integration is registered and
645
650
  // NOTION_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
646
651
  // (prod+dev). The backend NotionOAuthProvider is config-gated (503 if env
@@ -673,6 +678,7 @@ var INTEGRATION_REGISTRY = {
673
678
  id: "azure_devops",
674
679
  name: "Azure DevOps",
675
680
  icon: "azure_devops",
681
+ category: "tracker",
676
682
  // LIVE — the FIRST api_key (PAT) integration. No OAuth: Azure DevOps OAuth
677
683
  // apps are being sunset by Microsoft in favor of Entra ID, and PATs are the
678
684
  // native, reliable ADO auth. The user pastes their org URL + a PAT; the
@@ -720,12 +726,12 @@ var INTEGRATION_REGISTRY = {
720
726
  id: "figma",
721
727
  name: "Figma",
722
728
  icon: "figma",
723
- // LIVE — the Figma OAuth app (Confidential, both prod+dev redirect URIs)
724
- // is registered and FIGMA_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in
725
- // Secret Manager (prod+dev, created 2026-07-16). The backend
726
- // FigmaOAuthProvider is config-gated (503 if env unset) so this is safe
727
- // even mid-rollout before the secrets mount.
728
- enabled: true,
729
+ category: "design",
730
+ // DARK pending Figma's OAuth-app review approval (submitted 2026-07-16).
731
+ // Figma OAuth apps do NOT exist publicly until review passes (authorize URL
732
+ // errors "OAuth app ... doesn't exist"). Backend provider + secrets are
733
+ // already deployed; flip to true once approved (bead codeagent-m4ix).
734
+ enabled: false,
729
735
  auth: {
730
736
  kind: "oauth_redirect",
731
737
  // Granular READ-ONLY scopes (legacy `files:read` is deprecated for
@@ -771,6 +777,11 @@ function getIntegration(id) {
771
777
  function isKnownIntegrationId(id) {
772
778
  return id in INTEGRATION_REGISTRY;
773
779
  }
780
+ function getIntegrationsByCategory(category) {
781
+ return Object.values(INTEGRATION_REGISTRY).filter(
782
+ (m) => m.category === category && m.enabled
783
+ );
784
+ }
774
785
 
775
786
  // src/integrations/branding.ts
776
787
  var INTEGRATION_BRANDING = {
@@ -965,6 +976,7 @@ var UPCOMING_INTEGRATION_IDS = [
965
976
  "gmail",
966
977
  "posthog",
967
978
  "clickup",
979
+ "figma",
968
980
  "trello",
969
981
  "resend",
970
982
  "vercel",
@@ -1201,6 +1213,7 @@ export {
1201
1213
  getEnabledIntegrations,
1202
1214
  getIntegration,
1203
1215
  getIntegrationBranding,
1216
+ getIntegrationsByCategory,
1204
1217
  getPricing,
1205
1218
  headroomKindFor,
1206
1219
  headroomModelPredownloadScript,