@shumkov/orchestra 0.11.2 → 0.11.3

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.
@@ -125,7 +125,12 @@ function buildHookSettings({ ndjsonPath, helperPath = HOOK_HELPER_ABS_PATH } = {
125
125
  for (const evt of HOOK_EVENTS) {
126
126
  hooks[evt] = (evt === 'PreToolUse' || evt === 'PostToolUse') ? matched('.*') : unmatched();
127
127
  }
128
- return { hooks };
128
+ // Claude Code delivers SendMessage traffic from other same-user sessions
129
+ // into this one unless told otherwise. A bot session takes input only
130
+ // from its own transport, so it refuses that traffic outright. `refuse`
131
+ // from `--settings` outranks user settings; only managed policy can
132
+ // override it.
133
+ return { hooks, crossSessionInbound: 'refuse' };
129
134
  }
130
135
 
131
136
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumkov/orchestra",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
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",