@shumkov/orchestra 0.6.0 → 0.7.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 +12 -4
- package/docs/CLAUDE_CODE_2_1_220.md +1 -1
- package/docs/codex-app-server-compatibility.md +631 -0
- package/index.js +18 -3
- package/lib/codex/app-server-client.js +2866 -0
- package/lib/codex/app-server-supervisor.mjs +41 -0
- package/lib/codex/preflight.js +1073 -0
- package/lib/codex/protocol-schema.json +237 -0
- package/lib/process/codex-process.js +2814 -0
- package/lib/process/factory.js +345 -1
- package/lib/process/process-manager.js +1140 -84
- package/lib/process/process.js +16 -0
- package/package.json +5 -3
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cliVersion": "codex-cli 0.145.0",
|
|
3
|
+
"binarySha256": "1da3f4e0e96028b8a771814293c3033dafd1971f943f6c7e79b0897fe705f590",
|
|
4
|
+
"generatedProtocolV2CanonicalSha256": "1bc09dedc506075562d4d49b702ecab6d947dd5a8c2a9014a5cde592a0938efb",
|
|
5
|
+
"requestIdTypes": [
|
|
6
|
+
"integer",
|
|
7
|
+
"string"
|
|
8
|
+
],
|
|
9
|
+
"clientRequests": {
|
|
10
|
+
"initialize": {
|
|
11
|
+
"required": [
|
|
12
|
+
"clientInfo",
|
|
13
|
+
"capabilities"
|
|
14
|
+
],
|
|
15
|
+
"optional": [],
|
|
16
|
+
"internal": true,
|
|
17
|
+
"stateChanging": false
|
|
18
|
+
},
|
|
19
|
+
"config/read": {
|
|
20
|
+
"required": [
|
|
21
|
+
"cwd",
|
|
22
|
+
"includeLayers"
|
|
23
|
+
],
|
|
24
|
+
"optional": [],
|
|
25
|
+
"stateChanging": false
|
|
26
|
+
},
|
|
27
|
+
"configRequirements/read": {
|
|
28
|
+
"required": [],
|
|
29
|
+
"optional": [],
|
|
30
|
+
"params": "omitted",
|
|
31
|
+
"stateChanging": false
|
|
32
|
+
},
|
|
33
|
+
"permissionProfile/list": {
|
|
34
|
+
"required": [
|
|
35
|
+
"cwd"
|
|
36
|
+
],
|
|
37
|
+
"optional": [
|
|
38
|
+
"cursor"
|
|
39
|
+
],
|
|
40
|
+
"stateChanging": false
|
|
41
|
+
},
|
|
42
|
+
"account/read": {
|
|
43
|
+
"required": [
|
|
44
|
+
"refreshToken"
|
|
45
|
+
],
|
|
46
|
+
"optional": [],
|
|
47
|
+
"stateChanging": false
|
|
48
|
+
},
|
|
49
|
+
"model/list": {
|
|
50
|
+
"required": [
|
|
51
|
+
"includeHidden",
|
|
52
|
+
"limit"
|
|
53
|
+
],
|
|
54
|
+
"optional": [
|
|
55
|
+
"cursor"
|
|
56
|
+
],
|
|
57
|
+
"stateChanging": false
|
|
58
|
+
},
|
|
59
|
+
"thread/start": {
|
|
60
|
+
"required": [
|
|
61
|
+
"cwd",
|
|
62
|
+
"model"
|
|
63
|
+
],
|
|
64
|
+
"optional": [],
|
|
65
|
+
"stateChanging": true
|
|
66
|
+
},
|
|
67
|
+
"thread/resume": {
|
|
68
|
+
"required": [
|
|
69
|
+
"threadId"
|
|
70
|
+
],
|
|
71
|
+
"optional": [],
|
|
72
|
+
"stateChanging": true
|
|
73
|
+
},
|
|
74
|
+
"turn/start": {
|
|
75
|
+
"required": [
|
|
76
|
+
"threadId",
|
|
77
|
+
"input"
|
|
78
|
+
],
|
|
79
|
+
"optional": [
|
|
80
|
+
"clientUserMessageId",
|
|
81
|
+
"model",
|
|
82
|
+
"effort"
|
|
83
|
+
],
|
|
84
|
+
"stateChanging": true
|
|
85
|
+
},
|
|
86
|
+
"turn/steer": {
|
|
87
|
+
"required": [
|
|
88
|
+
"threadId",
|
|
89
|
+
"expectedTurnId",
|
|
90
|
+
"input"
|
|
91
|
+
],
|
|
92
|
+
"optional": [
|
|
93
|
+
"clientUserMessageId"
|
|
94
|
+
],
|
|
95
|
+
"stateChanging": true
|
|
96
|
+
},
|
|
97
|
+
"turn/interrupt": {
|
|
98
|
+
"required": [
|
|
99
|
+
"threadId",
|
|
100
|
+
"turnId"
|
|
101
|
+
],
|
|
102
|
+
"optional": [],
|
|
103
|
+
"stateChanging": true
|
|
104
|
+
},
|
|
105
|
+
"thread/backgroundTerminals/list": {
|
|
106
|
+
"required": [
|
|
107
|
+
"threadId"
|
|
108
|
+
],
|
|
109
|
+
"optional": [
|
|
110
|
+
"cursor",
|
|
111
|
+
"limit"
|
|
112
|
+
],
|
|
113
|
+
"experimental": true,
|
|
114
|
+
"stateChanging": false
|
|
115
|
+
},
|
|
116
|
+
"thread/backgroundTerminals/clean": {
|
|
117
|
+
"required": [
|
|
118
|
+
"threadId"
|
|
119
|
+
],
|
|
120
|
+
"optional": [],
|
|
121
|
+
"experimental": true,
|
|
122
|
+
"stateChanging": true
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"clientNotifications": [
|
|
126
|
+
"initialized"
|
|
127
|
+
],
|
|
128
|
+
"deniedClientRequests": [
|
|
129
|
+
"command/exec"
|
|
130
|
+
],
|
|
131
|
+
"deliveredServerNotifications": [
|
|
132
|
+
"error",
|
|
133
|
+
"thread/status/changed",
|
|
134
|
+
"thread/settings/updated",
|
|
135
|
+
"turn/started",
|
|
136
|
+
"turn/completed",
|
|
137
|
+
"item/started",
|
|
138
|
+
"item/completed",
|
|
139
|
+
"item/agentMessage/delta"
|
|
140
|
+
],
|
|
141
|
+
"droppedServerNotifications": [
|
|
142
|
+
"thread/started",
|
|
143
|
+
"thread/tokenUsage/updated",
|
|
144
|
+
"thread/goal/updated",
|
|
145
|
+
"thread/goal/cleared",
|
|
146
|
+
"turn/diff/updated",
|
|
147
|
+
"turn/plan/updated",
|
|
148
|
+
"item/plan/delta",
|
|
149
|
+
"item/commandExecution/outputDelta",
|
|
150
|
+
"item/commandExecution/terminalInteraction",
|
|
151
|
+
"item/fileChange/outputDelta",
|
|
152
|
+
"item/fileChange/patchUpdated",
|
|
153
|
+
"item/reasoning/summaryTextDelta",
|
|
154
|
+
"item/reasoning/summaryPartAdded",
|
|
155
|
+
"item/reasoning/textDelta",
|
|
156
|
+
"warning",
|
|
157
|
+
"deprecationNotice",
|
|
158
|
+
"configWarning",
|
|
159
|
+
"account/rateLimits/updated",
|
|
160
|
+
"remoteControl/status/changed",
|
|
161
|
+
"mcpServer/startupStatus/updated"
|
|
162
|
+
],
|
|
163
|
+
"deniedServerRequests": {
|
|
164
|
+
"item/commandExecution/requestApproval": {
|
|
165
|
+
"result": {
|
|
166
|
+
"decision": "cancel"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"item/fileChange/requestApproval": {
|
|
170
|
+
"result": {
|
|
171
|
+
"decision": "cancel"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"item/tool/requestUserInput": {
|
|
175
|
+
"result": {
|
|
176
|
+
"answers": {}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"mcpServer/elicitation/request": {
|
|
180
|
+
"result": {
|
|
181
|
+
"action": "cancel"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"item/permissions/requestApproval": {
|
|
185
|
+
"result": {
|
|
186
|
+
"permissions": {},
|
|
187
|
+
"scope": "turn"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"item/tool/call": {
|
|
191
|
+
"result": {
|
|
192
|
+
"contentItems": [],
|
|
193
|
+
"success": false
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"account/chatgptAuthTokens/refresh": {
|
|
197
|
+
"error": {
|
|
198
|
+
"code": -32601,
|
|
199
|
+
"message": "server request disabled"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"attestation/generate": {
|
|
203
|
+
"error": {
|
|
204
|
+
"code": -32601,
|
|
205
|
+
"message": "server request disabled"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"currentTime/read": {
|
|
209
|
+
"error": {
|
|
210
|
+
"code": -32601,
|
|
211
|
+
"message": "server request disabled"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"applyPatchApproval": {
|
|
215
|
+
"result": {
|
|
216
|
+
"decision": "abort"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"execCommandApproval": {
|
|
220
|
+
"result": {
|
|
221
|
+
"decision": "abort"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"recognizedRpcErrors": {
|
|
226
|
+
"thread/resume": [
|
|
227
|
+
"thread not found"
|
|
228
|
+
],
|
|
229
|
+
"turn/steer": [
|
|
230
|
+
"no active turn to steer"
|
|
231
|
+
],
|
|
232
|
+
"turn/interrupt": [
|
|
233
|
+
"no active turn to interrupt"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
"provenance": "Curated positive production subset derived from the pinned experimental v2 schema; the canonical generated bundle hash is verified by the U1 compatibility gate."
|
|
237
|
+
}
|