@assemblyline-agents/paper 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 Paper connection plugin.
4
4
 
5
- It connects agents to Paper, exposing design tools through Paper's MCP server. The package exports `definePaperConnection(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 design tools through Paper's MCP server.
6
6
 
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install @assemblyline-agents/paper
10
+ assembly-line add paper agent
11
11
  ```
12
12
 
13
13
  ## Part of Assembly Line
@@ -0,0 +1,42 @@
1
+ {
2
+ "kind": "paper",
3
+ "role": "connection",
4
+ "packageName": "@assemblyline-agents/paper",
5
+ "helper": "definePaperConnection",
6
+ "protocol": "mcp",
7
+ "transport": "http",
8
+ "provider": "paper",
9
+ "description": "Paper design tools through a developer-exposed local MCP bridge.",
10
+ "urlEnv": "PAPER_MCP_URL",
11
+ "tokenEnv": "PAPER_MCP_TOKEN",
12
+ "tokenRequired": false,
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
+ "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)([-_]|$)"
25
+ ],
26
+ "setup": [
27
+ {
28
+ "kind": "connection",
29
+ "name": "paper-developer-configuration",
30
+ "required": true,
31
+ "message": "Configure Paper credentials, OAuth application, or MCP bridge for this deployment."
32
+ }
33
+ ],
34
+ "requiredConfig": [
35
+ "PAPER_MCP_URL"
36
+ ],
37
+ "optionalConfig": [],
38
+ "requiredCredentials": [],
39
+ "optionalCredentials": [
40
+ "PAPER_MCP_TOKEN"
41
+ ]
42
+ }
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ "connections": {
3
+ "paper": {
4
+ "contract": "./ai.assemblyline/connections/paper.json",
5
+ "definition": "@assemblyline-agents/paper",
6
+ "factory": "definePaperConnection"
7
+ }
8
+ }
9
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE/I,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,0IAAwD;AAC7H,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2C,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAErH,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,0IAAwD;AAC7H,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
- import { connectionPluginMetadata, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
2
- const PLUGIN = connectionPluginMetadata("paper");
1
+ import connectionContract_paper from "../ai.assemblyline/connections/paper.json" with { type: "json" };
2
+ import { defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
3
+ const PLUGIN = connectionContract_paper;
3
4
  export function definePaperConnection(options) { return defineMcpPluginConnection(PLUGIN, options); }
4
5
  export const assemblyLinePlugin = definePlugin({ connections: [PLUGIN] });
5
6
  //# sourceMappingURL=index.js.map
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,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AAC/I,MAAM,MAAM,GAAG,wBAAwB,CAAC,OAAO,CAAE,CAAC;AAElD,MAAM,UAAU,qBAAqB,CAAC,OAA+B,IAAI,OAAO,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7H,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,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AACrH,MAAM,MAAM,GAAG,wBAA+D,CAAC;AAE/E,MAAM,UAAU,qBAAqB,CAAC,OAA+B,IAAI,OAAO,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7H,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/paper",
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 Paper 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": "paper",
4
+ "version": "6.0.0",
5
+ "description": "Official Assembly Line Paper connection plugin.",
6
+ "extensions": {
7
+ "ai.assemblyline": {
8
+ "entry": "./ai.assemblyline/index.cjs"
9
+ }
10
+ }
11
+ }