deft-bridge 0.2.0 → 0.3.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/README.md +1 -0
- package/dist/bridge.js +4826 -593
- package/dist/graphs/acp-anthropic.json +3 -0
- package/dist/graphs/acp-codex-app-server.json +182 -0
- package/dist/graphs/acp-openai.json +4 -0
- package/dist/graphs/pi-anthropic.json +3 -0
- package/dist/graphs/pi-openai.json +4 -0
- package/package.json +2 -2
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"name": "ACP \u2192 Codex (App Server)",
|
|
5
|
+
"description": "An ACP front with Codex as the back end through the native Codex App Server protocol (codex app-server --listen stdio://). Codex keeps thread rollouts, runs its built-in tools inside its native sandbox, streams command output and reasoning, routes permission and elicitation requests through Permission Policy to the client, and answers Deft custom-tool and targeted command-stop extensions. Run with --backend codex-app-server."
|
|
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": "sessions",
|
|
18
|
+
"type": "Codex Sessions",
|
|
19
|
+
"label": "Codex sessions",
|
|
20
|
+
"config": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "acp",
|
|
24
|
+
"type": "ACP Normalizer",
|
|
25
|
+
"label": "Initialize and sessions",
|
|
26
|
+
"config": {
|
|
27
|
+
"agentName": "bridge",
|
|
28
|
+
"agentTitle": "Bridge",
|
|
29
|
+
"protocols": {
|
|
30
|
+
"$config": "server.acpProtocols",
|
|
31
|
+
"$default": [1]
|
|
32
|
+
},
|
|
33
|
+
"agentCapabilities": {
|
|
34
|
+
"loadSession": true,
|
|
35
|
+
"promptCapabilities": {
|
|
36
|
+
"image": true,
|
|
37
|
+
"audio": false,
|
|
38
|
+
"embeddedContext": true
|
|
39
|
+
},
|
|
40
|
+
"sessionCapabilities": {
|
|
41
|
+
"resume": {},
|
|
42
|
+
"list": {},
|
|
43
|
+
"close": {},
|
|
44
|
+
"systemPrompt": {}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "translator",
|
|
51
|
+
"type": "Codex Translator",
|
|
52
|
+
"label": "Prompt for Codex",
|
|
53
|
+
"config": {}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "client",
|
|
57
|
+
"type": "Codex Client",
|
|
58
|
+
"label": "Codex App Server",
|
|
59
|
+
"config": {
|
|
60
|
+
"command": {
|
|
61
|
+
"$config": "backends.codex.command",
|
|
62
|
+
"$default": "codex"
|
|
63
|
+
},
|
|
64
|
+
"args": {
|
|
65
|
+
"$config": "backends.codex.args",
|
|
66
|
+
"$default": ["app-server", "--listen", "stdio://"]
|
|
67
|
+
},
|
|
68
|
+
"env": {
|
|
69
|
+
"$config": "backends.codex.env"
|
|
70
|
+
},
|
|
71
|
+
"model": {
|
|
72
|
+
"$config": "backends.codex.model"
|
|
73
|
+
},
|
|
74
|
+
"mode": {
|
|
75
|
+
"$config": "backends.codex.mode"
|
|
76
|
+
},
|
|
77
|
+
"allowFullAccess": {
|
|
78
|
+
"$config": "backends.codex.allowFullAccess"
|
|
79
|
+
},
|
|
80
|
+
"dynamicTools": {
|
|
81
|
+
"$config": "backends.codex.dynamicTools",
|
|
82
|
+
"$default": true
|
|
83
|
+
},
|
|
84
|
+
"cancelGraceMs": {
|
|
85
|
+
"$config": "backends.codex.cancelGraceMs"
|
|
86
|
+
},
|
|
87
|
+
"requestTimeoutMs": {
|
|
88
|
+
"$config": "backends.codex.requestTimeoutMs"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "policy",
|
|
94
|
+
"type": "Permission Policy",
|
|
95
|
+
"label": "Permissions",
|
|
96
|
+
"config": {
|
|
97
|
+
"rules": [],
|
|
98
|
+
"default": "ask"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "normalizer",
|
|
103
|
+
"type": "Codex Normalizer",
|
|
104
|
+
"label": "Codex's answer",
|
|
105
|
+
"config": {}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "project",
|
|
109
|
+
"type": "Update Projection",
|
|
110
|
+
"label": "Session updates",
|
|
111
|
+
"config": {}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "responder",
|
|
115
|
+
"type": "ACP Responder",
|
|
116
|
+
"label": "Reply",
|
|
117
|
+
"config": {}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "telemetry",
|
|
121
|
+
"type": "Telemetry Sink",
|
|
122
|
+
"label": "Telemetry",
|
|
123
|
+
"config": {}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"connections": [
|
|
127
|
+
{
|
|
128
|
+
"source": "endpoint",
|
|
129
|
+
"sourceOutput": "out",
|
|
130
|
+
"target": "sessions",
|
|
131
|
+
"targetInput": "in"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"source": "sessions",
|
|
135
|
+
"sourceOutput": "out",
|
|
136
|
+
"target": "acp",
|
|
137
|
+
"targetInput": "in"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"source": "acp",
|
|
141
|
+
"sourceOutput": "out",
|
|
142
|
+
"target": "translator",
|
|
143
|
+
"targetInput": "in"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"source": "translator",
|
|
147
|
+
"sourceOutput": "out",
|
|
148
|
+
"target": "client",
|
|
149
|
+
"targetInput": "in"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"source": "client",
|
|
153
|
+
"sourceOutput": "out",
|
|
154
|
+
"target": "policy",
|
|
155
|
+
"targetInput": "in"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"source": "policy",
|
|
159
|
+
"sourceOutput": "out",
|
|
160
|
+
"target": "normalizer",
|
|
161
|
+
"targetInput": "in"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"source": "normalizer",
|
|
165
|
+
"sourceOutput": "out",
|
|
166
|
+
"target": "project",
|
|
167
|
+
"targetInput": "in"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"source": "project",
|
|
171
|
+
"sourceOutput": "out",
|
|
172
|
+
"target": "responder",
|
|
173
|
+
"targetInput": "in"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"source": "responder",
|
|
177
|
+
"sourceOutput": "out",
|
|
178
|
+
"target": "telemetry",
|
|
179
|
+
"targetInput": "in"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deft-bridge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"esbuild": "0.28.2",
|
|
62
|
-
"@bridge/cli": "0.
|
|
62
|
+
"@bridge/cli": "0.3.1"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"bundle": "node scripts/bundle.mjs",
|