manager mcp: expose 'remind' tool sharing storage helper with agent surface
This commit is contained in:
parent
0e6bac8388
commit
1770b51845
6 changed files with 120 additions and 24 deletions
|
|
@ -307,6 +307,20 @@ async fn dispatch(req: &ManagerRequest, coord: &Arc<Coordinator>) -> ManagerResp
|
|||
},
|
||||
}
|
||||
}
|
||||
ManagerRequest::Remind {
|
||||
message,
|
||||
timing,
|
||||
file_path,
|
||||
} => match crate::agent_server::store_remind(
|
||||
coord,
|
||||
MANAGER_AGENT,
|
||||
message,
|
||||
timing,
|
||||
file_path.as_deref(),
|
||||
) {
|
||||
Ok(()) => ManagerResponse::Ok,
|
||||
Err(message) => ManagerResponse::Err { message },
|
||||
},
|
||||
ManagerRequest::RequestApplyCommit {
|
||||
agent,
|
||||
commit_ref,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue