Skip to main content

derive_session_id

Function derive_session_id 

Source
pub fn derive_session_id(project: &str, agent: &str) -> Uuid
Expand description

Derive the deterministic Claude Code session id for a given project/agent pair. Same inputs always yield the same UUID; different agent or project yields a different UUID.