deft-bridge 0.4.0 → 0.4.1
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/bridge.js +6913 -977
- package/dist/graphs/a2a-anthropic.json +253 -0
- package/dist/graphs/a2a-claude-sdk.json +210 -0
- package/dist/graphs/a2a-codex-app-server.json +242 -0
- package/dist/graphs/a2a-grok.json +245 -0
- package/dist/graphs/a2a-ideal.json +156 -0
- package/dist/graphs/a2a-openai.json +269 -0
- package/dist/graphs/a2a-pi-sdk.json +242 -0
- package/dist/graphs/a2a-pi.json +246 -0
- package/dist/graphs/a2a-proxy.json +145 -0
- package/dist/graphs/a2a-to-a2a.json +72 -0
- package/dist/graphs/acp-a2a.json +110 -0
- package/package.json +3 -2
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"name": "ACP → A2A",
|
|
5
|
+
"description": "Bridge's ACP agent on a remote A2A agent (docs/A2A-DESIGN.md §5.4): ACP requests become A2A requests to the agent named by [backends.a2a] agentCardUrl, its tasks become session updates and the prompt's reply, and its permission questions pass a policy node first. A2A has no working folder, so A2A to ACP's cwd is not used here; the ACP client's MCP servers are ignored."
|
|
6
|
+
},
|
|
7
|
+
"nodes": [
|
|
8
|
+
{
|
|
9
|
+
"id": "endpoint",
|
|
10
|
+
"type": "ACP Endpoint",
|
|
11
|
+
"label": "ACP (stdio)",
|
|
12
|
+
"config": {
|
|
13
|
+
"transport": "stdio"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "to-a2a",
|
|
18
|
+
"type": "ACP to A2A",
|
|
19
|
+
"label": "ACP → A2A",
|
|
20
|
+
"config": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "agent",
|
|
24
|
+
"type": "A2A Client",
|
|
25
|
+
"label": "Remote A2A agent",
|
|
26
|
+
"config": {
|
|
27
|
+
"agentCardUrl": {
|
|
28
|
+
"$config": "backends.a2a.agentCardUrl"
|
|
29
|
+
},
|
|
30
|
+
"allowedHosts": {
|
|
31
|
+
"$config": "backends.a2a.allowedHosts",
|
|
32
|
+
"$default": []
|
|
33
|
+
},
|
|
34
|
+
"auth": {
|
|
35
|
+
"$config": "backends.a2a.auth"
|
|
36
|
+
},
|
|
37
|
+
"timeoutMs": {
|
|
38
|
+
"$config": "backends.a2a.timeoutMs"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "to-acp",
|
|
44
|
+
"type": "A2A to ACP",
|
|
45
|
+
"label": "A2A → ACP",
|
|
46
|
+
"config": {
|
|
47
|
+
"cwd": "/"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "policy",
|
|
52
|
+
"type": "Permission Policy",
|
|
53
|
+
"label": "Permissions",
|
|
54
|
+
"config": {
|
|
55
|
+
"rules": [],
|
|
56
|
+
"default": "ask"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "responder",
|
|
61
|
+
"type": "ACP Responder",
|
|
62
|
+
"label": "Reply",
|
|
63
|
+
"config": {}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "telemetry",
|
|
67
|
+
"type": "Telemetry Sink",
|
|
68
|
+
"label": "Telemetry",
|
|
69
|
+
"config": {}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"connections": [
|
|
73
|
+
{
|
|
74
|
+
"source": "endpoint",
|
|
75
|
+
"sourceOutput": "out",
|
|
76
|
+
"target": "to-a2a",
|
|
77
|
+
"targetInput": "in"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"source": "to-a2a",
|
|
81
|
+
"sourceOutput": "out",
|
|
82
|
+
"target": "agent",
|
|
83
|
+
"targetInput": "in"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"source": "agent",
|
|
87
|
+
"sourceOutput": "out",
|
|
88
|
+
"target": "to-acp",
|
|
89
|
+
"targetInput": "in"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"source": "to-acp",
|
|
93
|
+
"sourceOutput": "out",
|
|
94
|
+
"target": "policy",
|
|
95
|
+
"targetInput": "in"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"source": "policy",
|
|
99
|
+
"sourceOutput": "out",
|
|
100
|
+
"target": "responder",
|
|
101
|
+
"targetInput": "in"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"source": "responder",
|
|
105
|
+
"sourceOutput": "out",
|
|
106
|
+
"target": "telemetry",
|
|
107
|
+
"targetInput": "in"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deft-bridge",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Bridge: an ACP agent server, and (bridge mcp) an MCP server that drives ACP agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"node": ">=22.19.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@a2a-js/sdk": "1.3.0",
|
|
34
35
|
"@anthropic-ai/claude-agent-sdk": "0.3.322",
|
|
35
36
|
"@anthropic-ai/sdk": "^0.107.0",
|
|
36
37
|
"@earendil-works/pi-coding-agent": "^1.5.0",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"esbuild": "0.28.2",
|
|
62
|
-
"@bridge/cli": "0.4.
|
|
63
|
+
"@bridge/cli": "0.4.1"
|
|
63
64
|
},
|
|
64
65
|
"scripts": {
|
|
65
66
|
"bundle": "node scripts/bundle.mjs",
|