@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 CHANGED
@@ -1,8 +1,9 @@
1
1
  # @shumkov/orchestra
2
2
 
3
- The transport-agnostic **Claude Code CLI session engine**: spawn interactive `claude`
4
- sessions, inject messages via the MCP channels bridge, observe turns, and recover —
5
- independent of which chat network the messages came from.
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 { createProcessFactory, createTmuxRunner, ProcessManager, claudeBin } = require('@shumkov/orchestra');
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.