@assemblyline-agents/notion 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 +2 -2
- package/ai.assemblyline/connections/notion.json +78 -0
- package/ai.assemblyline/index.cjs +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/plugin.json +11 -0
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Official Assembly Line Notion connection plugin.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The selected plugin exposes reviewed Notion page and database tools through Notion's MCP server.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
|
|
10
|
+
assembly-line add notion agent
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Part of Assembly Line
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "notion",
|
|
3
|
+
"role": "connection",
|
|
4
|
+
"packageName": "@assemblyline-agents/notion",
|
|
5
|
+
"helper": "defineNotionConnection",
|
|
6
|
+
"protocol": "mcp",
|
|
7
|
+
"transport": "http",
|
|
8
|
+
"provider": "notion",
|
|
9
|
+
"description": "Notion pages, databases, comments, and workspace search through Notion MCP.",
|
|
10
|
+
"defaultUrl": "https://mcp.notion.com/mcp",
|
|
11
|
+
"urlEnv": "NOTION_MCP_URL",
|
|
12
|
+
"tokenEnv": "NOTION_MCP_TOKEN",
|
|
13
|
+
"tokenRequired": true,
|
|
14
|
+
"capabilities": [
|
|
15
|
+
"mcp",
|
|
16
|
+
"live-tools",
|
|
17
|
+
"streamable-http"
|
|
18
|
+
],
|
|
19
|
+
"scopes": [],
|
|
20
|
+
"subject": "workspace",
|
|
21
|
+
"readToolPatterns": [
|
|
22
|
+
"regex:(^|[-_])(search|read|list|fetch|get|retrieve|query|lookup|find|describe|details?|discover)([-_]|$)"
|
|
23
|
+
],
|
|
24
|
+
"writeToolPatterns": [
|
|
25
|
+
"regex:(^|[-_])(add|append|archive|assign|book|buy|cancel|checkout|close|complete|create|delete|draft|duplicate|edit|execute|insert|invite|kick|link|merge|modify|move|mutate|open|pay|post|publish|purchase|push|react|reaction|remove|rename|reply|reserve|resolve|reopen|run|schedule|send|set|share|submit|transfer|transition|unassign|unlink|update|upload|write)([-_]|$)"
|
|
26
|
+
],
|
|
27
|
+
"eventCatalog": [
|
|
28
|
+
"page.content_updated",
|
|
29
|
+
"page.created",
|
|
30
|
+
"page.deleted",
|
|
31
|
+
"page.locked",
|
|
32
|
+
"page.moved",
|
|
33
|
+
"page.properties_updated",
|
|
34
|
+
"page.undeleted",
|
|
35
|
+
"page.unlocked",
|
|
36
|
+
"database.content_updated",
|
|
37
|
+
"database.created",
|
|
38
|
+
"database.deleted",
|
|
39
|
+
"database.moved",
|
|
40
|
+
"database.schema_updated",
|
|
41
|
+
"database.undeleted",
|
|
42
|
+
"data_source.content_updated",
|
|
43
|
+
"data_source.created",
|
|
44
|
+
"data_source.deleted",
|
|
45
|
+
"data_source.moved",
|
|
46
|
+
"data_source.schema_updated",
|
|
47
|
+
"data_source.undeleted",
|
|
48
|
+
"comment.created",
|
|
49
|
+
"comment.deleted",
|
|
50
|
+
"comment.updated"
|
|
51
|
+
],
|
|
52
|
+
"defaultEvents": [
|
|
53
|
+
"page.content_updated",
|
|
54
|
+
"page.created",
|
|
55
|
+
"page.deleted",
|
|
56
|
+
"page.properties_updated",
|
|
57
|
+
"data_source.schema_updated",
|
|
58
|
+
"comment.created"
|
|
59
|
+
],
|
|
60
|
+
"eventMode": "manual",
|
|
61
|
+
"eventScope": "principal",
|
|
62
|
+
"setup": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "connection",
|
|
65
|
+
"name": "notion-developer-configuration",
|
|
66
|
+
"required": true,
|
|
67
|
+
"message": "Configure Notion credentials, OAuth application, or MCP bridge for this deployment."
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"requiredConfig": [],
|
|
71
|
+
"optionalConfig": [
|
|
72
|
+
"NOTION_MCP_URL"
|
|
73
|
+
],
|
|
74
|
+
"requiredCredentials": [
|
|
75
|
+
"NOTION_MCP_TOKEN"
|
|
76
|
+
],
|
|
77
|
+
"optionalCredentials": []
|
|
78
|
+
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
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,uBAAuB,GAAG,0BAA0B,CAAC;AACjE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,0IAAkN;AACzR,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import connectionContract_notion from "../ai.assemblyline/connections/notion.json" with { type: "json" };
|
|
2
|
+
import { defineConnectionPluginEvents, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
|
|
2
3
|
import { notionEvents } from "./events.js";
|
|
3
|
-
const PLUGIN =
|
|
4
|
+
const PLUGIN = connectionContract_notion;
|
|
4
5
|
export function defineNotionConnection(options) { const definition = defineMcpPluginConnection(PLUGIN, options); const events = defineConnectionPluginEvents(PLUGIN, options.events, notionEvents); 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":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,yBAAyB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzG,OAAO,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AACnJ,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,MAAM,MAAM,GAAG,yBAAgE,CAAC;AAEhF,MAAM,UAAU,sBAAsB,CAAC,OAAgC,IAAI,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,GAAG,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,IAAI,MAAM;IAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AACzR,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/notion",
|
|
3
|
-
"version": "
|
|
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": "
|
|
12
|
+
"@assemblyline-agents/core": "6.0.0"
|
|
13
13
|
},
|
|
14
14
|
"description": "Official Assembly Line Notion 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": "notion",
|
|
4
|
+
"version": "6.0.0",
|
|
5
|
+
"description": "Official Assembly Line Notion connection plugin.",
|
|
6
|
+
"extensions": {
|
|
7
|
+
"ai.assemblyline": {
|
|
8
|
+
"entry": "./ai.assemblyline/index.cjs"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|