pub async fn list_sessions_for_directory(
dir: &Path,
) -> Result<Vec<SessionSummary>>Expand description
List sessions scoped to a specific directory (workspace)
Only returns sessions whose metadata.directory matches the given path.
This prevents sessions from other workspaces “leaking” into the TUI.