consciousness/src/agent/tools
ProofOfConcept 943f42d876 tools: unify channel and memory tools, clean up mcp-server
Move all tool definitions and dispatch out of mcp-server.rs:
- Channel tools: new tools/channels.rs with definitions, async
  dispatch, blocking dispatch, and capnp RPC helpers
- Memory tools: make tools/memory.rs pub so mcp-server can use it

mcp-server.rs is now pure JSON-RPC protocol plumbing (482 → 169 lines).
No tool-specific code remains in that file.

Also removes duplicated channel RPC helpers and fetch_all_channels
that were in both mcp-server.rs and thalamus/channels.rs.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-04 18:19:21 -04:00
..
bash.rs delete ProcessTracker — replaced by ActiveToolCall + KillOnDrop 2026-04-03 23:58:38 -04:00
channels.rs tools: unify channel and memory tools, clean up mcp-server 2026-04-04 18:19:21 -04:00
control.rs Move API code from user/ to agent/ 2026-04-04 00:34:48 -04:00
edit.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00
glob.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00
grep.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00
memory.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00
mod.rs tools: unify channel and memory tools, clean up mcp-server 2026-04-04 18:19:21 -04:00
read.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00
vision.rs Move API code from user/ to agent/ 2026-04-04 00:34:48 -04:00
web.rs tools: add web_fetch and web_search 2026-04-04 18:19:21 -04:00
working_stack.rs Move API code from user/ to agent/ 2026-04-04 00:34:48 -04:00
write.rs src/thought -> src/agent 2026-04-03 22:24:56 -04:00