Skip to main content

derive_session_id

Function derive_session_id 

Source
pub(super) fn derive_session_id(path: &Path) -> String
Expand description

Session id = the name of the directory containing subagents/. Workflow member files are nested (subagents/workflows/<wf>/agent-*.jsonl), so walk ancestors instead of assuming a fixed depth.