@assemblyline-agents/plaid 5.0.10 → 6.0.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/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Official Assembly Line Plaid connection plugin.
4
4
 
5
- It connects agents to Plaid, exposing financial-data tools through Plaid's MCP server. The package exports `definePlaidConnection(options)` to declare the connection in an agent definition and an `assemblyLinePlugin` module so the Assembly Line CLI and compiler can discover the plugin's connection metadata.
5
+ The selected plugin exposes reviewed financial-data tools through Plaid's MCP server.
6
6
 
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install @assemblyline-agents/plaid
10
+ assembly-line add plaid agent
11
11
  ```
12
12
 
13
13
  ## Part of Assembly Line
@@ -0,0 +1,65 @@
1
+ {
2
+ "kind": "plaid",
3
+ "role": "connection",
4
+ "packageName": "@assemblyline-agents/plaid",
5
+ "helper": "definePlaidConnection",
6
+ "protocol": "mcp",
7
+ "transport": "http",
8
+ "provider": "plaid",
9
+ "description": "Read-only Plaid financial tools through a developer-configured MCP bridge.",
10
+ "urlEnv": "PLAID_MCP_URL",
11
+ "tokenEnv": "PLAID_MCP_TOKEN",
12
+ "tokenRequired": true,
13
+ "capabilities": [
14
+ "mcp",
15
+ "live-tools",
16
+ "streamable-http"
17
+ ],
18
+ "scopes": [],
19
+ "subject": "workspace",
20
+ "readToolPatterns": [
21
+ "regex:(^|[-_])(search|read|list|fetch|get|retrieve|query|lookup|find|describe|details?|discover)([-_]|$)"
22
+ ],
23
+ "writeToolPatterns": [],
24
+ "eventCatalog": [
25
+ "transactions.changed",
26
+ "item.changed",
27
+ "auth.changed",
28
+ "identity.changed",
29
+ "assets.changed",
30
+ "holdings.changed",
31
+ "investments.changed",
32
+ "liabilities.changed",
33
+ "payment.changed",
34
+ "transfer.changed",
35
+ "income.changed"
36
+ ],
37
+ "defaultEvents": [
38
+ "transactions.changed",
39
+ "item.changed"
40
+ ],
41
+ "eventMode": "api",
42
+ "eventScope": "connection",
43
+ "setup": [
44
+ {
45
+ "kind": "connection",
46
+ "name": "plaid-developer-configuration",
47
+ "required": true,
48
+ "message": "Configure Plaid credentials, OAuth application, or MCP bridge for this deployment."
49
+ }
50
+ ],
51
+ "requiredConfig": [
52
+ "PLAID_MCP_URL"
53
+ ],
54
+ "optionalConfig": [],
55
+ "requiredCredentials": [
56
+ "PLAID_MCP_TOKEN"
57
+ ],
58
+ "optionalCredentials": [],
59
+ "eventRequiredConfig": [
60
+ "PLAID_CLIENT_ID"
61
+ ],
62
+ "eventRequiredCredentials": [
63
+ "PLAID_SECRET"
64
+ ]
65
+ }
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ "connections": {
3
+ "plaid": {
4
+ "contract": "./ai.assemblyline/connections/plaid.json",
5
+ "definition": "@assemblyline-agents/plaid",
6
+ "factory": "definePlaidConnection"
7
+ }
8
+ }
9
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmG,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAG7K,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,0IAAiN;AACtR,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAGnJ,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,0IAAiN;AACtR,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { connectionPluginMetadata, defineConnectionPluginEvents, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
1
+ import connectionContract_plaid from "../ai.assemblyline/connections/plaid.json" with { type: "json" };
2
+ import { defineConnectionPluginEvents, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
2
3
  import { plaidEvents } from "./events.js";
3
- const PLUGIN = connectionPluginMetadata("plaid");
4
+ const PLUGIN = connectionContract_plaid;
4
5
  export function definePlaidConnection(options) { const definition = defineMcpPluginConnection(PLUGIN, options); const events = defineConnectionPluginEvents(PLUGIN, options.events, plaidEvents); if (events)
5
6
  definition.events = events; return definition; }
6
7
  export const assemblyLinePlugin = definePlugin({ connections: [PLUGIN] });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AAC7K,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,MAAM,MAAM,GAAG,wBAAwB,CAAC,OAAO,CAAE,CAAC;AAElD,MAAM,UAAU,qBAAqB,CAAC,OAA+B,IAAI,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,GAAG,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,MAAM;IAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AACtR,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACvG,OAAO,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AACnJ,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,MAAM,MAAM,GAAG,wBAA+D,CAAC;AAE/E,MAAM,UAAU,qBAAqB,CAAC,OAA+B,IAAI,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,GAAG,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,MAAM;IAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AACtR,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assemblyline-agents/plaid",
3
- "version": "5.0.10",
3
+ "version": "6.0.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -9,11 +9,13 @@
9
9
  }
10
10
  },
11
11
  "dependencies": {
12
- "@assemblyline-agents/core": "5.0.10"
12
+ "@assemblyline-agents/core": "6.0.0"
13
13
  },
14
14
  "description": "Official Assembly Line Plaid connection plugin.",
15
15
  "files": [
16
- "dist"
16
+ "dist",
17
+ "plugin.json",
18
+ "ai.assemblyline"
17
19
  ],
18
20
  "engines": {
19
21
  "node": ">=22.19.0"
package/plugin.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "plaid",
4
+ "version": "6.0.0",
5
+ "description": "Official Assembly Line Plaid connection plugin.",
6
+ "extensions": {
7
+ "ai.assemblyline": {
8
+ "entry": "./ai.assemblyline/index.cjs"
9
+ }
10
+ }
11
+ }