@codeam/shared 2.61.45 → 2.61.47

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
@@ -865,6 +865,60 @@ var INTEGRATION_REGISTRY = {
865
865
  }
866
866
  }
867
867
  },
868
+ datadog: {
869
+ id: "datadog",
870
+ name: "Datadog",
871
+ icon: "datadog",
872
+ category: "observability",
873
+ // LIVE — api_key: the user pastes a Datadog API key (org-scoped) + an
874
+ // Application key (user-scoped, grants the read scopes) + their regional
875
+ // site. Datadog's OFFICIAL hosted MCP (mcp.<site>) accepts these as headers
876
+ // headless (verified) — no OAuth, no GSM secret. Delivery uses the shim's
877
+ // HTTP transport with the site templated into the URL and both keys sent as
878
+ // DD-API-KEY / DD-APPLICATION-KEY headers.
879
+ enabled: true,
880
+ auth: {
881
+ kind: "api_key",
882
+ fields: [
883
+ {
884
+ key: "accessToken",
885
+ label: "API Key",
886
+ placeholder: "Datadog API key",
887
+ secret: true,
888
+ help: "Organization API key \u2014 Datadog \u2192 Organization Settings \u2192 API Keys."
889
+ },
890
+ {
891
+ key: "appKey",
892
+ label: "Application Key",
893
+ placeholder: "Datadog application key",
894
+ secret: true,
895
+ help: "User Application key (grants the read scopes) \u2014 Datadog \u2192 Organization Settings \u2192 Application Keys."
896
+ },
897
+ {
898
+ key: "host",
899
+ label: "Site",
900
+ placeholder: "datadoghq.com",
901
+ secret: false,
902
+ help: "Your Datadog site \u2014 US1: datadoghq.com \xB7 EU: datadoghq.eu \xB7 US3: us3.datadoghq.com \xB7 US5: us5.datadoghq.com \xB7 AP1: ap1.datadoghq.com."
903
+ }
904
+ ]
905
+ },
906
+ delivery: {
907
+ mcp: {
908
+ // HTTP transport — the shim relays to Datadog's hosted MCP for the
909
+ // user's site, with both keys as headers. Keys stay server-side of the
910
+ // shim, never on argv.
911
+ command: "",
912
+ args: [],
913
+ envMapping: {},
914
+ httpUrl: "https://mcp.{host}/api/unstable/mcp-server/mcp",
915
+ httpHeaders: {
916
+ "DD-API-KEY": "{accessToken}",
917
+ "DD-APPLICATION-KEY": "{appKey}"
918
+ }
919
+ }
920
+ }
921
+ },
868
922
  notion: {
869
923
  id: "notion",
870
924
  name: "Notion",
@@ -988,6 +1042,42 @@ var INTEGRATION_REGISTRY = {
988
1042
  }
989
1043
  }
990
1044
  }
1045
+ },
1046
+ stitch: {
1047
+ id: "stitch",
1048
+ name: "Stitch",
1049
+ icon: "stitch",
1050
+ category: "design",
1051
+ // LIVE — api_key: the user pastes a Stitch API key (Google Stitch →
1052
+ // Settings → API Key). Stitch's MCP is hosted-only (stitch.googleapis.com)
1053
+ // and accepts the key as the `X-Goog-Api-Key` header headless (verified) —
1054
+ // no OAuth, no GSM secret. Delivery uses the shim's HTTP transport.
1055
+ // (Stitch ALSO supports Google OAuth 2.0, but that's a follow-up — our model
1056
+ // is one auth kind per integration and api_key is the simple, headless path.)
1057
+ enabled: true,
1058
+ auth: {
1059
+ kind: "api_key",
1060
+ fields: [
1061
+ {
1062
+ key: "accessToken",
1063
+ label: "API Key",
1064
+ placeholder: "Stitch API key",
1065
+ secret: true,
1066
+ help: "Google Stitch \u2192 profile menu \u2192 Stitch Settings \u2192 API Key \u2192 Create Key."
1067
+ }
1068
+ ]
1069
+ },
1070
+ delivery: {
1071
+ mcp: {
1072
+ // HTTP transport — the shim relays to Stitch's hosted MCP with the key
1073
+ // as the X-Goog-Api-Key header. Key stays server-side of the shim.
1074
+ command: "",
1075
+ args: [],
1076
+ envMapping: {},
1077
+ httpUrl: "https://stitch.googleapis.com/mcp",
1078
+ httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
1079
+ }
1080
+ }
991
1081
  }
992
1082
  };
993
1083
  function getEnabledIntegrations() {
@@ -1162,6 +1252,16 @@ var INTEGRATION_BRANDING = {
1162
1252
  brandColor: "#F24E1E",
1163
1253
  logoSvg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Figma</title><path fill="#FFFFFF" d="M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"/></svg>'
1164
1254
  },
1255
+ stitch: {
1256
+ id: "stitch",
1257
+ name: "Stitch",
1258
+ vendor: "Google",
1259
+ tagline: "AI UI design \u2192 code",
1260
+ brandColor: "#A855F7",
1261
+ // A simple 4-point design "sparkle" mark (Google Stitch has no simple-icons
1262
+ // entry) — white on dark, re-tintable via brandColor like the other marks.
1263
+ logoSvg: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="#FFFFFF" d="M12 1.5l1.9 6.3a4 4 0 0 0 2.3 2.3l6.3 1.9-6.3 1.9a4 4 0 0 0-2.3 2.3L12 22.5l-1.9-6.3a4 4 0 0 0-2.3-2.3L1.5 12l6.3-1.9a4 4 0 0 0 2.3-2.3L12 1.5z"/></svg>'
1264
+ },
1165
1265
  trello: {
1166
1266
  id: "trello",
1167
1267
  name: "Trello",
@@ -1281,8 +1381,7 @@ var UPCOMING_INTEGRATION_IDS = [
1281
1381
  "mixpanel",
1282
1382
  "pendo",
1283
1383
  "pagerduty",
1284
- "amplitude",
1285
- "datadog"
1384
+ "amplitude"
1286
1385
  ];
1287
1386
  function getIntegrationBranding(id) {
1288
1387
  return INTEGRATION_BRANDING[id] ?? null;