@shumkov/orchestra 0.5.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 +22 -0
- package/docs/codex-app-server-compatibility.md +631 -0
- package/index.js +18 -3
- package/lib/claude-bin.js +3 -17
- 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/cli-process.js +269 -26
- 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/lib/process/workflow-completion-correlation.js +100 -5
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# @shumkov/orchestra
|
|
2
2
|
|
|
3
|
-
The transport-agnostic **
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The transport-agnostic **agent session engine** for Claude Code and the native
|
|
4
|
+
Codex app-server. It spawns provider sessions, injects or steers messages,
|
|
5
|
+
observes turns, supervises lifecycle, and recovers independently of which chat
|
|
6
|
+
network the messages came from.
|
|
6
7
|
|
|
7
8
|
Extracted from [polygram](https://github.com/shumkov/polygram) after
|
|
8
9
|
[water](https://github.com/shumkov/water) proved the copy works end-to-end against a
|
|
@@ -14,7 +15,14 @@ See [`docs/EXTRACTION.md`](docs/EXTRACTION.md) for the API and the extraction de
|
|
|
14
15
|
## Use
|
|
15
16
|
|
|
16
17
|
```js
|
|
17
|
-
const {
|
|
18
|
+
const {
|
|
19
|
+
CodexAppServerClient,
|
|
20
|
+
CodexProcess,
|
|
21
|
+
ProcessManager,
|
|
22
|
+
createProcessFactory,
|
|
23
|
+
createTmuxRunner,
|
|
24
|
+
claudeBin,
|
|
25
|
+
} = require('@shumkov/orchestra');
|
|
18
26
|
// inject your transport delivery (toolDispatcher), surface hint (displayHint),
|
|
19
27
|
// and file cap (maxOutboundFileBytes); the engine stays chat-network-agnostic.
|
|
20
28
|
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Claude Code 2.1.220 compatibility
|
|
2
|
+
|
|
3
|
+
Orchestra 0.7.0 pins the channels backend to Claude Code 2.1.220. The pin is
|
|
4
|
+
deliberate because the backend consumes private Claude Code TUI, hook, session,
|
|
5
|
+
queue, and MCP-registration behavior.
|
|
6
|
+
|
|
7
|
+
The upgrade was validated against the preserved 2.1.173 binary with Polygram's
|
|
8
|
+
serial real-Claude matrix. All 21 cells passed:
|
|
9
|
+
|
|
10
|
+
- two independent CLI contract runs per version;
|
|
11
|
+
- direct and failed-reply Workflow completion delivery;
|
|
12
|
+
- delayed MCP completion;
|
|
13
|
+
- SDK PostToolBatch, subagent, resume, manual compact, and tool-less drain;
|
|
14
|
+
- the 2.1.220 Opus 5/default-Workflow production projection.
|
|
15
|
+
|
|
16
|
+
The candidate takes longer than five seconds on some cold starts to send its
|
|
17
|
+
first MCP `ListToolsRequest` after the channels bridge authenticates. Orchestra
|
|
18
|
+
therefore keeps the authenticated bridge alive and allows up to 30 seconds for
|
|
19
|
+
MCP readiness, while still failing immediately on disconnect.
|
|
20
|
+
|
|
21
|
+
Rollback remains possible by selecting the preserved 2.1.173 executable with
|
|
22
|
+
`ORCHESTRA_CLAUDE_BIN`. The normal default resolves and vendors 2.1.220.
|