@codeam/shared 2.61.44 → 2.61.45

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
@@ -827,6 +827,44 @@ var INTEGRATION_REGISTRY = {
827
827
  }
828
828
  }
829
829
  },
830
+ posthog: {
831
+ id: "posthog",
832
+ name: "PostHog",
833
+ icon: "posthog",
834
+ category: "observability",
835
+ // LIVE — api_key: the user pastes a PostHog Personal API Key (phx_…, created
836
+ // with the "MCP Server" preset). PostHog's MCP is HOSTED-ONLY
837
+ // (mcp.posthog.com) over HTTP, and its stdio bridge (mcp-remote) forces its
838
+ // own browser OAuth — incompatible with our headless broker. So delivery
839
+ // uses the shim's HTTP transport: it relays to the hosted MCP with the key
840
+ // as a Bearer header (exactly Cursor's {url, headers} config). No OAuth, no
841
+ // GSM secret; a backend VALIDATOR proves the key + vaults it.
842
+ enabled: true,
843
+ auth: {
844
+ kind: "api_key",
845
+ fields: [
846
+ {
847
+ key: "accessToken",
848
+ label: "Personal API Key",
849
+ placeholder: "phx_xxxxxxxxxxxxxxxx",
850
+ secret: true,
851
+ help: 'PostHog \u2192 Settings \u2192 Personal API keys \u2192 create with the "MCP Server" preset (scopes it to a project).'
852
+ }
853
+ ]
854
+ },
855
+ delivery: {
856
+ mcp: {
857
+ // HTTP transport (not a spawned stdio server) — the shim relays to
858
+ // PostHog's hosted MCP with the key as a Bearer header. The key stays
859
+ // server-side of the shim, never on argv.
860
+ command: "",
861
+ args: [],
862
+ envMapping: {},
863
+ httpUrl: "https://mcp.posthog.com/mcp",
864
+ httpHeaders: { Authorization: "Bearer {accessToken}" }
865
+ }
866
+ }
867
+ },
830
868
  notion: {
831
869
  id: "notion",
832
870
  name: "Notion",
@@ -1231,7 +1269,6 @@ var INTEGRATION_BRANDING = {
1231
1269
  };
1232
1270
  var UPCOMING_INTEGRATION_IDS = [
1233
1271
  "gmail",
1234
- "posthog",
1235
1272
  "clickup",
1236
1273
  "figma",
1237
1274
  "trello",