consciousness/src/claude
ProofOfConcept 03cf13e9eb tools: route all dispatch through Tool registry
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>
2026-04-04 18:19:21 -04:00
..
config.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
context.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
hook.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
idle.rs split idle state: thalamus (universal) + claude (tmux wrapper) 2026-04-03 19:26:26 -04:00
mcp-server.rs tools: route all dispatch through Tool registry 2026-04-04 18:19:21 -04:00
memory-search.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
mod.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
parse-claude-conversation.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
poc-daemon.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
poc-hook.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
rpc.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
test-conversation.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
tmux.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00