Skip to main content

prepare_session

Function prepare_session 

Source
pub fn prepare_session(workspace_root: &Path, thread_id: &str) -> AgentTempInfo
Expand description

Return the session policy and best-effort prune expired sibling sessions and stale active-session helpers when the active session crosses a high-water mark. The active directory is not created here; FileWriteOrEdit creates it on demand through its normal parent-directory path.