@forumone/throughline-integrations 0.5.0 → 0.6.0
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/CHANGELOG.md +48 -0
- package/README.md +2 -2
- package/dist/options.d.ts +1 -1
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js.map +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +4 -33
- package/dist/plugin.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @forumone/throughline-integrations
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3140ea0: One MCP transport, not seven
|
|
8
|
+
|
|
9
|
+
Every plugin served its own `POST /<prefix>/mcp` on a 146-line JSON-RPC subset of
|
|
10
|
+
the protocol that spoke `tools/list` and `tools/call` and nothing else. Payload
|
|
11
|
+
ships an MCP server built on the official SDK — streamable HTTP, sessions, per-key
|
|
12
|
+
capability checkboxes — and the tools were never the transport. They now reach a
|
|
13
|
+
client through the host's `@payloadcms/plugin-mcp`, on one `/api/mcp`, via the
|
|
14
|
+
collector `createMcpToolCollector` already provided.
|
|
15
|
+
|
|
16
|
+
**Breaking.** Removed from `@forumone/throughline-core`: `createMcpHandler`,
|
|
17
|
+
`McpHandlerOptions`, `createApiKeysCollection`, `ApiKeysCollectionOptions`,
|
|
18
|
+
`DEFAULT_API_KEYS_SLUG`, `createBearerTokenAuthenticator`,
|
|
19
|
+
`BearerTokenAuthenticatorOptions`, `generateApiKey`. Removed from
|
|
20
|
+
`@forumone/throughline-plugin-contract`: `McpAuthenticator`, `McpAuthResult`.
|
|
21
|
+
`sha256Hex` stays exported, from `./utils` rather than `./auth`.
|
|
22
|
+
|
|
23
|
+
`routePrefix` is gone from `auditQueryPlugin`, `componentsPlugin` and
|
|
24
|
+
`integrationsPlugin` — omitted from their options types, so passing one is a
|
|
25
|
+
compile error rather than config that reads as if it does something. `/mcp` was
|
|
26
|
+
the only endpoint any of the three served. `publishingPlugin`, `approvalsPlugin`
|
|
27
|
+
and `formsPlugin` keep theirs; they still serve admin controls, the approval
|
|
28
|
+
action link and the public form post.
|
|
29
|
+
|
|
30
|
+
**A host that passes no `mcpTools` collector now has no MCP surface.** There is no
|
|
31
|
+
per-server endpoint left as a fallback. This is a config change of one line per
|
|
32
|
+
plugin, and `createMcpToolCollector`'s own docs carry the shape.
|
|
33
|
+
|
|
34
|
+
**What this costs, stated plainly.** `requiredScope` is now read by nothing —
|
|
35
|
+
`plugin-mcp` gates on checkboxes generated at config time, which this suite cannot
|
|
36
|
+
fill because every tool is built at `onInit`. So a key that authenticates reaches
|
|
37
|
+
every collected tool, exactly as an all-or-nothing per-server key did. The
|
|
38
|
+
declarations are kept because they are the mapping those checkboxes need; #78
|
|
39
|
+
tracks restoring enforcement, and the type's own doc comment says so.
|
|
40
|
+
|
|
41
|
+
Also drops the key collection from the playground, which leaves that app with no
|
|
42
|
+
MCP surface at all until `mcpPlugin` can be wired there — #79, blocked on moving
|
|
43
|
+
it off `payload@^3.83.0`.
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [3140ea0]
|
|
48
|
+
- @forumone/throughline-plugin-contract@0.4.0
|
|
49
|
+
- @forumone/throughline-core@0.7.0
|
|
50
|
+
|
|
3
51
|
## 0.5.0
|
|
4
52
|
|
|
5
53
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Plugin architecture for connecting Throughline-powered Payload sites to external
|
|
|
7
7
|
- **`Integration` contract** — id, name, description, configFields, validateConfig, subscribes, createFunctions, mcpTools (optional), healthcheck. Every Salesforce / Mailchimp / Slack / etc. integration uses this exact shape.
|
|
8
8
|
- **`IntegrationRegistry`** — process-local, per-plugin-init store keyed by integration id. Rejects duplicates synchronously.
|
|
9
9
|
- **Integrations collection** — `name`, `integrationType`, `enabled`, `config` (json), and read-only `lastSyncAt` / `lastSyncStatus` / `lastError`. Admin-only writes; admin/editor reads.
|
|
10
|
-
- **Five MCP tools
|
|
10
|
+
- **Five MCP tools**, handed to the host's collector at `onInit` and served by `@payloadcms/plugin-mcp` on one `/api/mcp`. Pass `mcpTools` or they reach nobody:
|
|
11
11
|
|
|
12
12
|
| Tool | Use it for | Access |
|
|
13
13
|
|---|---|---|
|
|
@@ -101,7 +101,7 @@ The HMAC is computed over the entire request body (a JSON-stringified envelope o
|
|
|
101
101
|
| `inngest` | `Inngest` | required | Throws at validate if missing |
|
|
102
102
|
| `integrations` | `Integration[]` | `[]` | Appended to the built-in webhook integration |
|
|
103
103
|
| `collectionSlug` | `string` | `'integrations'` | |
|
|
104
|
-
| `
|
|
104
|
+
| `mcpTools` | `McpToolCollector` | — | The host's collector. Without it these five tools are unreachable. This plugin serves no HTTP endpoint of its own and takes no `routePrefix` |
|
|
105
105
|
| `enabled` | `boolean` | `true` | Set to false to no-op |
|
|
106
106
|
| `logger` | `Logger` | `defaultLogger` | |
|
|
107
107
|
|
package/dist/options.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Inngest } from 'inngest';
|
|
|
3
3
|
import type { BaseCorePluginOptions } from '@forumone/throughline-plugin-contract';
|
|
4
4
|
import type { Integration } from './types.js';
|
|
5
5
|
export declare const DEFAULT_INTEGRATIONS_SLUG = "integrations";
|
|
6
|
-
export interface IntegrationsPluginOptions extends BaseCorePluginOptions {
|
|
6
|
+
export interface IntegrationsPluginOptions extends Omit<BaseCorePluginOptions, 'routePrefix'> {
|
|
7
7
|
/**
|
|
8
8
|
* Inngest client used to register integration functions and to fire
|
|
9
9
|
* manual-sync trigger events. Required: integrations are an
|
package/dist/options.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;AAOvD,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,qBAAqB,EAAE,aAAa,CAAC;IAC3F;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAA;CAC5B;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,yBAAyB,GAAG,yBAAyB,CAK7F"}
|
package/dist/options.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,CAAA;AAsCvD,MAAM,UAAU,eAAe,CAAC,OAAkC;IAChE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAA;IACvF,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,uCAAuC,CAAA;AAG1F,OAAO,EAAE,KAAK,yBAAyB,EAA8C,MAAM,cAAc,CAAA;AACzG,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAepD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,yBAAyB,CAuHlE,CAAA;AAEH;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,GAAG,OAAO,EACjD,OAAO,EAAE,OAAO,GACf,mBAAmB,CAAC,EAAE,CAAC,GAAG,SAAS,CAIrC;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,kBAAkB,GAAG,SAAS,CAEtF"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getPluginRegistry } from '@forumone/throughline-plugin-contract';
|
|
2
|
-
import {
|
|
2
|
+
import { createNamedLogger, defaultLogger, getAuditWriter } from '@forumone/throughline-core';
|
|
3
3
|
import { validateOptions, DEFAULT_INTEGRATIONS_SLUG } from './options.js';
|
|
4
4
|
import { IntegrationRegistry } from './registry.js';
|
|
5
5
|
import { createIntegrationsCollection } from './collection.js';
|
|
@@ -7,7 +7,6 @@ import { webhookIntegration } from './integrations/index.js';
|
|
|
7
7
|
import { createGetIntegrationStatusTool, createListIntegrationsTool, createListIntegrationTypesTool, createTestIntegrationTool, createTriggerSyncTool, } from './tools/index.js';
|
|
8
8
|
const PLUGIN_ID = '@forumone/throughline-integrations';
|
|
9
9
|
const PLUGIN_VERSION = '0.1.0';
|
|
10
|
-
const MCP_HANDLER_SYMBOL = Symbol.for('@forumone/throughline/integrations-mcp-handler');
|
|
11
10
|
const REGISTRY_SYMBOL = Symbol.for('@forumone/throughline/integrations-registry');
|
|
12
11
|
const CONTEXT_SYMBOL = Symbol.for('@forumone/throughline/integrations-context');
|
|
13
12
|
/**
|
|
@@ -26,7 +25,6 @@ export const integrationsPlugin = (rawOptions) => (incomingConfig) => {
|
|
|
26
25
|
return incomingConfig;
|
|
27
26
|
const options = validateOptions(rawOptions);
|
|
28
27
|
const collectionSlug = options.collectionSlug ?? DEFAULT_INTEGRATIONS_SLUG;
|
|
29
|
-
const routePrefix = options.routePrefix ?? '/integrations';
|
|
30
28
|
const logger = createNamedLogger('integrations', options.logger ?? defaultLogger);
|
|
31
29
|
const registry = new IntegrationRegistry();
|
|
32
30
|
registry.register(webhookIntegration);
|
|
@@ -37,20 +35,6 @@ export const integrationsPlugin = (rawOptions) => (incomingConfig) => {
|
|
|
37
35
|
return {
|
|
38
36
|
...incomingConfig,
|
|
39
37
|
collections: [...(incomingConfig.collections ?? []), collection],
|
|
40
|
-
endpoints: [
|
|
41
|
-
...(incomingConfig.endpoints ?? []),
|
|
42
|
-
{
|
|
43
|
-
path: `${routePrefix}/mcp`,
|
|
44
|
-
method: 'post',
|
|
45
|
-
handler: async (req) => {
|
|
46
|
-
const handler = req.payload[MCP_HANDLER_SYMBOL];
|
|
47
|
-
if (!handler) {
|
|
48
|
-
return new Response(JSON.stringify({ error: 'Integrations MCP not initialized' }), { status: 503, headers: { 'content-type': 'application/json' } });
|
|
49
|
-
}
|
|
50
|
-
return handler(req);
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
38
|
onInit: async (payload) => {
|
|
55
39
|
if (incomingConfig.onInit)
|
|
56
40
|
await incomingConfig.onInit(payload);
|
|
@@ -116,22 +100,10 @@ export const integrationsPlugin = (rawOptions) => (incomingConfig) => {
|
|
|
116
100
|
createTestIntegrationTool({ ...deps, registry }),
|
|
117
101
|
createListIntegrationTypesTool({ registry }),
|
|
118
102
|
];
|
|
119
|
-
// Payload's own MCP plugin,
|
|
120
|
-
//
|
|
121
|
-
//
|
|
103
|
+
// Payload's own MCP plugin, and the only transport these tools have.
|
|
104
|
+
// `onInit` is both the earliest they can exist and still early enough
|
|
105
|
+
// that `mcpPlugin` reads the array populated.
|
|
122
106
|
options.mcpTools?.add(tools, { serverName: 'integrations', logger });
|
|
123
|
-
const handler = createMcpHandler({
|
|
124
|
-
payload,
|
|
125
|
-
serverName: 'integrations',
|
|
126
|
-
tools,
|
|
127
|
-
logger,
|
|
128
|
-
});
|
|
129
|
-
Object.defineProperty(payload, MCP_HANDLER_SYMBOL, {
|
|
130
|
-
value: handler,
|
|
131
|
-
enumerable: false,
|
|
132
|
-
writable: false,
|
|
133
|
-
configurable: false,
|
|
134
|
-
});
|
|
135
107
|
Object.defineProperty(payload, REGISTRY_SYMBOL, {
|
|
136
108
|
value: registry,
|
|
137
109
|
enumerable: false,
|
|
@@ -151,7 +123,6 @@ export const integrationsPlugin = (rawOptions) => (incomingConfig) => {
|
|
|
151
123
|
});
|
|
152
124
|
logger.info('Integrations server ready', {
|
|
153
125
|
collectionSlug,
|
|
154
|
-
routePrefix,
|
|
155
126
|
integrationCount: registry.size,
|
|
156
127
|
});
|
|
157
128
|
},
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OA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;gBACb,OAAO,EAAE,cAAc;gBACvB,YAAY,EAAE,CAAC,cAAc,EAAE,sBAAsB,CAAC;aACvD,CAAC,CAAA;YAEF,MAAM,CAAC,IAAI,CAAC,2BAA2B,EAAE;gBACvC,cAAc;gBACd,gBAAgB,EAAE,QAAQ,CAAC,IAAI;aAChC,CAAC,CAAA;QACJ,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAEH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAAgB;IAEhB,OAAQ,OAAmC,CAAC,eAAe,CAE9C,CAAA;AACf,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,OAAQ,OAAmC,CAAC,cAAc,CAAmC,CAAA;AAC/F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forumone/throughline-integrations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Plugin architecture for connecting Throughline-powered Payload sites to external systems. Ships the Integration contract, registry, collection, MCP tools, and a generic outbound-webhook integration as the first concrete example.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"zod": "^3.23.0",
|
|
45
|
-
"@forumone/throughline-core": "0.
|
|
46
|
-
"@forumone/throughline-plugin-contract": "0.
|
|
45
|
+
"@forumone/throughline-core": "0.7.0",
|
|
46
|
+
"@forumone/throughline-plugin-contract": "0.4.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^20.17.0",
|