(&self, session_id: &str)
| 306 | } |
| 307 | |
| 308 | async fn restore_session(&self, session_id: &str) -> Result<()> { |
| 309 | tracing::info!("Restoring session: {}", session_id); |
| 310 | let workspace = self.workspace_path_buf(); |
| 311 | self.coordinator |
| 312 | .restore_session(&workspace, session_id) |
| 313 | .await?; |
| 314 | |
| 315 | let mut session_id_guard = self.session_id.lock().await; |
| 316 | *session_id_guard = Some(session_id.to_string()); |
| 317 | |
| 318 | Ok(()) |
| 319 | } |
| 320 | |
| 321 | async fn confirm_tool( |
| 322 | &self, |
no test coverage detected