You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(sdk): multiplexed subscribe, @self DM routing, stable event ids
- AgentClient.subscribe(channels, onMessage): Subscription multiplexes a
single websocket per agent, auto-resubscribes on reconnect, and filters
the @self sentinel to DM-only delivery in the SDK.
- Server resolves to: "@self" on DM send from the authenticated agentId
rather than trusting client-side substitution.
- WebSocket message events now carry a top-level UUID id derived
deterministically from the underlying message id, so clients can
dedupe across reconnects.
- RelayError distinguishes rate_limited and backpressure from generic
transport failures.
Originally implemented as Track A of the proactive-runtime M3 workflow;
the worker reported COMPLETE and ran the @relaycast/types, /sdk, and
/server vitest suites green but never opened a PR. Re-verified locally:
38 + 294 + 437 tests pass on this branch.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(sdk): address subscription review comments
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments