@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.
@@ -120,12 +120,18 @@ class Process extends EventEmitter {
120
120
  async interrupt() {
121
121
  throw new UnsupportedOperationError('interrupt', this.backend);
122
122
  }
123
+ async steerTurn(_text, _opts) {
124
+ throw new UnsupportedOperationError('steerTurn', this.backend);
125
+ }
123
126
  async setModel(_model) {
124
127
  throw new UnsupportedOperationError('setModel', this.backend);
125
128
  }
126
129
  async applyFlagSettings(_settings) {
127
130
  throw new UnsupportedOperationError('applyFlagSettings', this.backend);
128
131
  }
132
+ async selectModelSettings(_settings) {
133
+ throw new UnsupportedOperationError('selectModelSettings', this.backend);
134
+ }
129
135
  async setPermissionMode(_mode) {
130
136
  throw new UnsupportedOperationError('setPermissionMode', this.backend);
131
137
  }
@@ -136,6 +142,16 @@ class Process extends EventEmitter {
136
142
  throw new UnsupportedOperationError('getContextUsage', this.backend);
137
143
  }
138
144
 
145
+ /**
146
+ * Fence this exact process after an external durability failure. Backends
147
+ * without a durable mutation ledger cannot provide this containment.
148
+ *
149
+ * @returns {boolean} true when the process entered a durable work fence
150
+ */
151
+ blockDurability(_error) {
152
+ return false;
153
+ }
154
+
139
155
  // ─── OPTIONAL sync HOT-PATH methods — never throw (R1-F1) ──────────
140
156
 
141
157
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shumkov/orchestra",
3
- "version": "0.6.0",
4
- "description": "Drive interactive Claude Code CLI sessions: spawn, inject messages via the MCP channels bridge, observe turns, recover. The transport-agnostic session engine extracted from polygram, shared by polygram (Telegram) and water (WhatsApp).",
3
+ "version": "0.7.1",
4
+ "description": "Transport-agnostic session engine for Claude Code and the native Codex app-server: spawn, steer, supervise, observe turns, and recover.",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -11,7 +11,7 @@
11
11
  "README.md"
12
12
  ],
13
13
  "scripts": {
14
- "test": "node --test --test-force-exit tests/*.test.js"
14
+ "test": "node --test --test-force-exit --test-concurrency=1 tests/*.test.js"
15
15
  },
16
16
  "publishConfig": {
17
17
  "access": "public"
@@ -27,6 +27,8 @@
27
27
  "claude",
28
28
  "claude-code",
29
29
  "claude-cli",
30
+ "codex",
31
+ "openai",
30
32
  "channels",
31
33
  "mcp",
32
34
  "session-pool",