forked from kent/consciousness
ToolHandler is now Arc<dyn Fn(...)> supporting closures that capture state. The output tool is created during init_output_tool() as a closure capturing Arc<Mutex<Subconscious>>, writing directly to Subconscious.state. No more POC_AGENT_OUTPUT_DIR filesystem hack. - All tool handlers wrapped in Arc::new() - Tool is Clone (not Copy) — .copied() → .cloned() - Subconscious wrapped in Arc<Mutex<>> on Mind - Dead filesystem-based output() function removed - memory_tools returns 11 items (output removed from static list) Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| bash.rs | ||
| channels.rs | ||
| control.rs | ||
| edit.rs | ||
| glob.rs | ||
| grep.rs | ||
| memory.rs | ||
| mod.rs | ||
| read.rs | ||
| vision.rs | ||
| web.rs | ||
| write.rs | ||