(workspace: &Path)
| 212 | } |
| 213 | |
| 214 | fn built_in_agent_dirs(workspace: &Path) -> Vec<PathBuf> { |
| 215 | let mut dirs = Vec::new(); |
| 216 | if let Some(home) = std::env::var_os("HOME").or_else(|| std::env::var_os("USERPROFILE")) { |
| 217 | let home = PathBuf::from(home); |
| 218 | dirs.push(home.join(".claude").join("agents")); |
| 219 | dirs.push(home.join(".a3s").join("agents")); |
| 220 | } |
| 221 | dirs.push(workspace.join(".claude").join("agents")); |
| 222 | dirs.push(workspace.join(".a3s").join("agents")); |
| 223 | dirs |
| 224 | } |
| 225 | |
| 226 | fn register_mcp_capabilities( |
| 227 | tool_executor: &Arc<ToolExecutor>, |
no outgoing calls
no test coverage detected