MCPcopy Index your code
hub / github.com/AI45Lab/Code / built_in_agent_dirs

Function built_in_agent_dirs

core/src/agent_api/capabilities.rs:214–224  ·  view source on GitHub ↗
(workspace: &Path)

Source from the content-addressed store, hash-verified

212}
213
214fn 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
226fn register_mcp_capabilities(
227 tool_executor: &Arc<ToolExecutor>,

Callers 1

register_task_capabilityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected