Skip to main content

resolve_live_session

Function resolve_live_session 

Source
pub fn resolve_live_session(
    homes: &HarnessHomes,
    session_id: &str,
) -> Result<ClaudePeerSession, ClaudePeerRefusalError>
Expand description

Resolve session_id to the live Claude session running it.

The registry is re-read here rather than trusted from a discovery result, and the resolved name is checked back against the requested session id: a name that has moved to another live session must refuse, not deliver a message to the wrong reader.