machine-bridge-mcp v3.0.0-beta.15
Pre-release
Pre-release
Event-driven streamed-call settlement
- Block
3.0.0-beta.14after exact owner-machine activation and repeated production verification. Version, launchd identity, private candidate runtime, status, doctor, sequence-zero delivery, session isolation, disconnect recovery, and terminal acknowledgement all converged, but a concurrentserver_infostill timed out while the original SSE remained open; session-scoped cancellation therefore could not enter. Beta.14 has no acceptance record and must not be pushed, published, or promoted. - Remove the last cross-event terminal Promise from streamed
tools/callinitiation.BridgeRoomnow commits the recovery record, registers an event-settled pending call, sends the daemon envelope, and returns the descriptor without retaining a Promise for the daemon result. The later daemon WebSockettool_result, explicit cancellation request, timeout, send failure, or reconnect-grace expiry owns terminal settlement and persistence. - Preserve ordinary JSON-only calls with the existing Promise-based request path while adding a separate event settlement mode to
PendingCallRegistry. Same-instance daemon reconnect still detaches and rebinds both modes; terminal settlement removes request keys, closes observability, and writes exactly one resumable JSON-RPC result. - Replace the resumption store's live Promise map with an active-stream set plus a bounded transient terminal map used only when persistence fails. A pending persisted record without matching active state still produces the existing restart-ambiguity error instead of inventing completion.
- Add deterministic event-lifecycle regressions that prove stream initiation returns before any terminal event, then exercise success, daemon rejection, cancellation, timeout, send failure, result transformation, persistence failure, and same-instance reconnect. Architecture checks forbid
dispatchJsonRpcterminal Promises,resumption.attach, and Durable ObjectwaitUntilfrom returning to the stream initiation path.