@shumkov/orchestra 0.6.0 → 0.7.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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- // @shumkov/orchestra — the transport-agnostic Claude-Code-CLI session engine.
2
- // Spawn, inject messages via the MCP channels bridge, observe turns, recover.
1
+ // @shumkov/orchestra — transport-agnostic Claude Code and Codex sessions.
2
+ // Spawn, steer, supervise, observe turns, and recover.
3
3
  // Extracted from polygram after water proved the copy (see docs/EXTRACTION.md).
4
4
  //
5
5
  // The engine is parameterized by the consumer (toolDispatcher, displayHint,
@@ -11,6 +11,21 @@
11
11
  const { Process, UnsupportedOperationError } = require('./lib/process/process');
12
12
  const { ProcessManager, CALLBACK_TO_EVENT } = require('./lib/process/process-manager');
13
13
  const { CliProcess } = require('./lib/process/cli-process');
14
+ const { CodexProcess } = require('./lib/process/codex-process');
15
+ const {
16
+ assertCodexSpawnProfile,
17
+ CodexPreflightError,
18
+ createCodexSpawnProfile,
19
+ preflightCodexRuntime,
20
+ reattestCodexStaticPolicy,
21
+ } = require('./lib/codex/preflight');
22
+ const {
23
+ attestPinnedCodexHome,
24
+ buildCodexAppServerEnv,
25
+ CodexAppServerClient,
26
+ CodexAppServerError,
27
+ protocolSchema: codexProtocolSchema,
28
+ } = require('./lib/codex/app-server-client');
14
29
  const sdkProcess = require('./lib/process/sdk-process');
15
30
  const { SdkProcess, extractAssistantText, sumUsage, makeInputController } = sdkProcess;
16
31
  const { createProcessFactory, pickBackend } = require('./lib/process/factory');
@@ -37,7 +52,7 @@ const approvalsStore = require('./lib/approvals/store');
37
52
 
38
53
  module.exports = {
39
54
  // pool + driver
40
- Process, UnsupportedOperationError, ProcessManager, CALLBACK_TO_EVENT, CliProcess, SdkProcess, extractAssistantText, sumUsage, makeInputController, createProcessFactory, pickBackend,
55
+ Process, UnsupportedOperationError, ProcessManager, CALLBACK_TO_EVENT, CliProcess, CodexProcess, CodexAppServerClient, CodexAppServerError, CodexPreflightError, SdkProcess, extractAssistantText, sumUsage, makeInputController, createProcessFactory, pickBackend, preflightCodexRuntime, reattestCodexStaticPolicy, createCodexSpawnProfile, assertCodexSpawnProfile, attestPinnedCodexHome, buildCodexAppServerEnv, codexProtocolSchema,
41
56
  // channels bridge (MCP injection protocol)
42
57
  ChannelsBridgeServer, bridgeProtocol,
43
58
  // tmux lifecycle