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
refactor(acp-nats): per-subject structs with marker traits
Each NATS subject is its own struct with typed parameters (AcpPrefix,
AcpSessionId). Marker traits (Requestable, Publishable, SessionCommand,
Subscribable, ClientRequestable) enforce correct transport at compile
time — passing a CancelSubject to request_with_timeout is a compile
error, not a runtime bug.
Also removes all production .unwrap() calls:
- publish_session_ready: gracefully handles invalid session IDs
- PendingSessionPromptResponseWaiters: returns Result for poison errors
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
0 commit comments