@codeam/shared 2.61.45 → 2.61.46
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.d.mts +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +55 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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",
|
|
@@ -1281,8 +1335,7 @@ var UPCOMING_INTEGRATION_IDS = [
|
|
|
1281
1335
|
"mixpanel",
|
|
1282
1336
|
"pendo",
|
|
1283
1337
|
"pagerduty",
|
|
1284
|
-
"amplitude"
|
|
1285
|
-
"datadog"
|
|
1338
|
+
"amplitude"
|
|
1286
1339
|
];
|
|
1287
1340
|
function getIntegrationBranding(id) {
|
|
1288
1341
|
return INTEGRATION_BRANDING[id] ?? null;
|