@codeam/shared 2.61.60 → 2.61.62

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
@@ -1212,6 +1212,136 @@ var INTEGRATION_REGISTRY = {
1212
1212
  }
1213
1213
  }
1214
1214
  }
1215
+ },
1216
+ n8n: {
1217
+ id: "n8n",
1218
+ name: "n8n",
1219
+ icon: "n8n",
1220
+ category: "automation",
1221
+ // LIVE — api_key rail (like Trello / Azure DevOps). n8n auth is an API key
1222
+ // (Settings → n8n API) + the instance URL (n8n.cloud or self-hosted). The
1223
+ // user pastes both; the backend validates against the n8n REST API + vaults
1224
+ // them. No OAuth app, no GSM secrets, no config-gated 503.
1225
+ // ⚠️ The instance MUST be PUBLICLY reachable (n8n.cloud or a public self-host)
1226
+ // — a localhost/private n8n can't be reached from the deploy box.
1227
+ enabled: true,
1228
+ auth: {
1229
+ kind: "api_key",
1230
+ fields: [
1231
+ {
1232
+ key: "instanceUrl",
1233
+ label: "Instance URL",
1234
+ placeholder: "https://your-workspace.app.n8n.cloud",
1235
+ secret: false,
1236
+ help: "Your n8n base URL \u2014 n8n.cloud or your public self-hosted instance."
1237
+ },
1238
+ {
1239
+ key: "accessToken",
1240
+ label: "API Key",
1241
+ placeholder: "n8n_api_\u2026",
1242
+ secret: true,
1243
+ help: "Create in n8n \u2192 Settings \u2192 n8n API \u2192 Create an API key."
1244
+ }
1245
+ ]
1246
+ },
1247
+ delivery: {
1248
+ mcp: {
1249
+ // n8n-mcp (Node): N8N_API_URL + N8N_API_KEY via env only, never argv.
1250
+ // Version PINNED; bump only after re-verifying headless.
1251
+ command: "npx",
1252
+ args: ["-y", "n8n-mcp@2.66.2"],
1253
+ envMapping: {
1254
+ N8N_API_URL: "instanceUrl",
1255
+ N8N_API_KEY: "accessToken"
1256
+ },
1257
+ // stdio transport (the CLI mcp-shim spawns it over stdio, not HTTP).
1258
+ staticEnv: { MCP_MODE: "stdio" }
1259
+ }
1260
+ }
1261
+ },
1262
+ postman: {
1263
+ id: "postman",
1264
+ name: "Postman",
1265
+ icon: "postman",
1266
+ category: "api_tools",
1267
+ // LIVE — api_key rail. Postman auth is a personal API key (Settings → API
1268
+ // keys). The user pastes it; the backend validates via GET /me + vaults it.
1269
+ // No OAuth (Postman's API has no user OAuth), no secrets, no config-503.
1270
+ enabled: true,
1271
+ auth: {
1272
+ kind: "api_key",
1273
+ fields: [
1274
+ {
1275
+ key: "accessToken",
1276
+ label: "API Key",
1277
+ placeholder: "PMAK-\u2026",
1278
+ secret: true,
1279
+ help: "Postman \u2192 Settings \u2192 API keys \u2192 Generate API Key."
1280
+ }
1281
+ ]
1282
+ },
1283
+ delivery: {
1284
+ mcp: {
1285
+ // Postman's OFFICIAL stdio MCP server (Node). BYO key via POSTMAN_API_KEY
1286
+ // (env only). Version PINNED; bump only after re-verifying headless.
1287
+ command: "npx",
1288
+ args: ["-y", "@postman/postman-mcp-server@2.11.2"],
1289
+ envMapping: {
1290
+ POSTMAN_API_KEY: "accessToken"
1291
+ }
1292
+ }
1293
+ }
1294
+ },
1295
+ mixpanel: {
1296
+ id: "mixpanel",
1297
+ name: "Mixpanel",
1298
+ icon: "mixpanel",
1299
+ category: "analytics",
1300
+ // LIVE — api_key rail. Mixpanel query/export auth is a SERVICE ACCOUNT
1301
+ // (username + password, Basic auth) scoped to a project (project id). The
1302
+ // user pastes all three; the backend validates + vaults them. No OAuth
1303
+ // redirect (service accounts are machine-to-machine), no GSM secrets.
1304
+ enabled: true,
1305
+ auth: {
1306
+ kind: "api_key",
1307
+ fields: [
1308
+ {
1309
+ key: "accessToken",
1310
+ label: "Service Account Username",
1311
+ placeholder: "your-sa.mp-service-account",
1312
+ secret: false,
1313
+ help: "Mixpanel \u2192 Organization Settings \u2192 Service Accounts \u2192 create one with project access."
1314
+ },
1315
+ {
1316
+ key: "secretKey",
1317
+ label: "Service Account Secret",
1318
+ placeholder: "the service account secret",
1319
+ secret: true,
1320
+ help: "Shown once when you create the service account \u2014 copy it then."
1321
+ },
1322
+ {
1323
+ key: "projectId",
1324
+ label: "Project ID",
1325
+ placeholder: "1234567",
1326
+ secret: false,
1327
+ help: "Mixpanel \u2192 Project Settings \u2192 Project ID."
1328
+ }
1329
+ ]
1330
+ },
1331
+ delivery: {
1332
+ mcp: {
1333
+ // @mendeel/mcp-mixpanel (Node): the service account + project id via env
1334
+ // only (MIXPANEL_SERVICE_ACCOUNT_USERNAME/PASSWORD + MIXPANEL_PROJECT_ID).
1335
+ // Version PINNED; bump only after re-verifying headless. Default region US.
1336
+ command: "npx",
1337
+ args: ["-y", "@mendeel/mcp-mixpanel@1.0.4"],
1338
+ envMapping: {
1339
+ MIXPANEL_SERVICE_ACCOUNT_USERNAME: "accessToken",
1340
+ MIXPANEL_SERVICE_ACCOUNT_PASSWORD: "secretKey",
1341
+ MIXPANEL_PROJECT_ID: "projectId"
1342
+ }
1343
+ }
1344
+ }
1215
1345
  }
1216
1346
  };
1217
1347
  function getEnabledIntegrations() {
@@ -1506,10 +1636,7 @@ var UPCOMING_INTEGRATION_IDS = [
1506
1636
  "figma",
1507
1637
  "supabase",
1508
1638
  "asana",
1509
- "postman",
1510
- "n8n",
1511
1639
  "stripe",
1512
- "mixpanel",
1513
1640
  "pendo",
1514
1641
  "pagerduty",
1515
1642
  "amplitude"