(workspace_path: Option<&str>)
| 33 | } |
| 34 | |
| 35 | fn workspace_root_from_request(workspace_path: Option<&str>) -> Option<PathBuf> { |
| 36 | workspace_path |
| 37 | .filter(|path| !path.is_empty()) |
| 38 | .map(PathBuf::from) |
| 39 | } |
| 40 | |
| 41 | #[tauri::command] |
| 42 | pub async fn list_subagents( |
no test coverage detected