@codeam/shared 2.61.62 → 2.61.64

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
@@ -1342,6 +1342,65 @@ var INTEGRATION_REGISTRY = {
1342
1342
  }
1343
1343
  }
1344
1344
  }
1345
+ },
1346
+ supabase: {
1347
+ id: "supabase",
1348
+ name: "Supabase",
1349
+ icon: "supabase",
1350
+ category: "database",
1351
+ // LIVE — OAuth 2.0 (authorization code, Confidential). authorize
1352
+ // api.supabase.com/v1/oauth/authorize; token /v1/oauth/token
1353
+ // (form-urlencoded, client creds via HTTP Basic); rotating refresh tokens.
1354
+ // The OAuth app (Organization → OAuth Apps) is registered and
1355
+ // SUPABASE_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
1356
+ // (prod+dev); the config-gated 503 keeps this safe mid-rollout.
1357
+ enabled: true,
1358
+ auth: {
1359
+ kind: "oauth_redirect",
1360
+ // ⚠️ Supabase scopes are configured ON THE OAUTH APP, NOT sent in the
1361
+ // authorize URL — this list is informational (what the app was granted).
1362
+ scopes: ["all"]
1363
+ },
1364
+ delivery: {
1365
+ mcp: {
1366
+ // Supabase's OFFICIAL MCP server (Node). The OAuth access token IS a
1367
+ // Management API token → fed via SUPABASE_ACCESS_TOKEN (env only, never
1368
+ // argv). Version PINNED; bump only after re-verifying headless.
1369
+ command: "npx",
1370
+ args: ["-y", "@supabase/mcp-server-supabase@0.9.0"],
1371
+ envMapping: {
1372
+ SUPABASE_ACCESS_TOKEN: "accessToken"
1373
+ }
1374
+ }
1375
+ }
1376
+ },
1377
+ confluence: {
1378
+ id: "confluence",
1379
+ name: "Confluence",
1380
+ icon: "confluence",
1381
+ category: "docs",
1382
+ // Confluence is served by the SAME Atlassian OAuth + the SAME `mcp-atlassian`
1383
+ // server as Jira (the `jira` entry already requests Confluence scopes). This
1384
+ // entry is a DISPLAY ALIAS so Confluence is explicit in the Knowledge tab: it
1385
+ // BORROWS jira's vaulted credential (`aliasOf: 'jira'`) and has no link flow of
1386
+ // its own — connecting Atlassian (the Jira/Atlassian card) lights it up, and
1387
+ // the backend resolves its token by delegating to `jira`.
1388
+ enabled: true,
1389
+ auth: { kind: "derived", aliasOf: "jira" },
1390
+ delivery: {
1391
+ mcp: {
1392
+ // Same mcp-atlassian server + BYO-token env as Jira — it exposes the
1393
+ // Confluence tools when the deploy selects Confluence without Jira. If
1394
+ // BOTH are selected the deploy manifest dedupes identical MCP specs.
1395
+ command: "uvx",
1396
+ args: ["mcp-atlassian==0.22.1"],
1397
+ envMapping: {
1398
+ ATLASSIAN_OAUTH_ACCESS_TOKEN: "accessToken",
1399
+ ATLASSIAN_OAUTH_CLOUD_ID: "cloudId"
1400
+ },
1401
+ staticEnv: { ATLASSIAN_OAUTH_ENABLE: "true" }
1402
+ }
1403
+ }
1345
1404
  }
1346
1405
  };
1347
1406
  function getEnabledIntegrations() {
@@ -1420,6 +1479,14 @@ var INTEGRATION_BRANDING = {
1420
1479
  brandColor: "#357DE8",
1421
1480
  logoSvg: '<svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><defs><linearGradient id="uid18" x1="14.8402" y1="15.8324" x2="8.6599" y2="26.5369" gradientUnits="userSpaceOnUse"><stop stop-color="#2684FF" stop-opacity="0.4" offset="0%"></stop><stop stop-color="#2684FF" offset="0.9228"></stop></linearGradient></defs><path fill="url(#uid18)" d="M11.6397 14.0398C11.2789 13.643 10.7378 13.679 10.4852 14.148L4.64091 25.8728C4.42446 26.3418 4.74912 26.8829 5.25419 26.8829H13.4074C13.6599 26.8829 13.9125 26.7386 14.0207 26.4861C15.7885 22.8424 14.7061 17.3227 11.6397 14.0398Z"></path><path fill="#357DE8" d="M15.9343 3.36124C12.6513 8.55622 12.8678 14.2923 15.0324 18.6215C17.1969 22.9506 18.8565 26.2336 18.9647 26.4861C19.0729 26.7386 19.3254 26.8829 19.578 26.8829H27.7312C28.2363 26.8829 28.597 26.3418 28.3445 25.8728C28.3445 25.8728 17.3774 3.93846 17.0887 3.39732C16.8723 2.89225 16.259 2.85618 15.9343 3.36124Z"></path></svg>'
1422
1481
  },
1482
+ confluence: {
1483
+ id: "confluence",
1484
+ name: "Confluence",
1485
+ vendor: "Atlassian",
1486
+ tagline: "Part of Atlassian \xB7 docs & wiki",
1487
+ brandColor: "#1868DB",
1488
+ logoSvg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Confluence</title><path fill="#FFFFFF" d="M.87 18.257c-.248.382-.53.875-.763 1.245a.764.764 0 0 0 .255 1.04l4.965 3.054a.764.764 0 0 0 1.058-.26c.199-.332.454-.763.733-1.221 1.967-3.247 3.945-2.853 7.508-1.146l4.957 2.337a.764.764 0 0 0 1.028-.382l2.364-5.346a.764.764 0 0 0-.382-1c-1.048-.494-3.124-1.478-4.965-2.361C10.911 10.97 5.224 11.185.87 18.257zM23.131 5.743c.249-.405.531-.875.764-1.25a.764.764 0 0 0-.256-1.034L18.675.404a.764.764 0 0 0-1.058.26c-.195.335-.451.763-.734 1.225-1.966 3.246-3.945 2.85-7.508 1.146L4.437.694a.764.764 0 0 0-1.027.382L1.046 6.422a.764.764 0 0 0 .382 1c1.039.49 3.105 1.467 4.965 2.361 6.698 3.246 12.392 3.029 16.738-4.04z"/></svg>'
1489
+ },
1423
1490
  slack: {
1424
1491
  id: "slack",
1425
1492
  name: "Slack",
@@ -1634,7 +1701,6 @@ var INTEGRATION_BRANDING = {
1634
1701
  var UPCOMING_INTEGRATION_IDS = [
1635
1702
  "gmail",
1636
1703
  "figma",
1637
- "supabase",
1638
1704
  "asana",
1639
1705
  "stripe",
1640
1706
  "pendo",