open_threads: new get_open_threads MCP tool on agent + manager surfaces
This commit is contained in:
parent
9ec0d60308
commit
dc1ce1f236
11 changed files with 305 additions and 9 deletions
|
|
@ -174,6 +174,12 @@ async fn dispatch(req: &AgentRequest, agent: &str, coord: &Arc<Coordinator>) ->
|
|||
timing,
|
||||
file_path,
|
||||
} => handle_remind(coord, agent, message, timing, file_path.as_deref()),
|
||||
AgentRequest::GetOpenThreads => match crate::open_threads::for_agent(coord, agent) {
|
||||
Ok(threads) => AgentResponse::OpenThreads { threads },
|
||||
Err(e) => AgentResponse::Err {
|
||||
message: format!("{e:#}"),
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue