pub async fn open_session_by_id(
id: &str,
cwd: &str,
) -> Result<Session, OpenError>Expand description
Open a session whose id matches exactly or by file-name containment
(so --session 01a02… / a partial id / a full file name all work). The
TUI /session hot-switch calls this with the selector’s item value.