services/registry/builder
Tool registry builder — wires tool plugins with their behaviour dependencies. Moved from core/registry/ to services/registry/ (Stage 2B). registry.gleam is pure dispatch with no external imports.
Values
pub fn all_tools(
conn: sqlight.Connection,
user_key: String,
) -> List(tool.Tool)
All available tools wired with their behaviours.
pub fn make_memory_tool_fn() -> fn(sqlight.Connection, String) -> tool.Tool
Returns a function that creates a memory tool given a connection and user key. Used by reflection hook to spawn background memory consolidation with its own DB connection.