forked from kent/consciousness
dispatch() and dispatch_shared() now look up tools by name in the registry and call the handler directly. No more match-on-name-strings. MCP server also uses the registry for both definitions and dispatch, eliminating the last duplicated tool logic. dispatch_with_agent() passes the optional Arc<Mutex<Agent>> through for tools that need agent context (control tools, working stack). Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| config.rs | ||
| context.rs | ||
| hook.rs | ||
| idle.rs | ||
| mcp-server.rs | ||
| memory-search.rs | ||
| mod.rs | ||
| parse-claude-conversation.rs | ||
| poc-daemon.rs | ||
| poc-hook.rs | ||
| rpc.rs | ||
| test-conversation.rs | ||
| tmux.rs | ||