consciousness/src/agent
Kent Overstreet 12798eeae2 WIP: Output tool via Arc<Mutex<Subconscious>>, ToolHandler to Arc<dyn Fn>
- ToolHandler changed to Arc<dyn Fn(...)> (supports closures)
- Subconscious wrapped in Arc<Mutex<>> on Mind
- init_output_tool() pushes output tool closure capturing the Arc
- Output removed from static memory_tools()
- Most tool handlers wrapped in Arc::new() but some have paren issues

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-08 20:37:19 -04:00
..
api Fix UTF-8 slicing panics: use floor_char_boundary for all truncation 2026-04-08 19:35:01 -04:00
tools WIP: Output tool via Arc<Mutex<Subconscious>>, ToolHandler to Arc<dyn Fn> 2026-04-08 20:37:19 -04:00
context.rs Fix UTF-8 slicing panics: use floor_char_boundary for all truncation 2026-04-08 19:35:01 -04:00
mod.rs Fix: compact() was clearing tool definitions from system section 2026-04-08 17:48:10 -04:00
oneshot.rs Revert output tool hacks (AST scanning + silent success) 2026-04-08 20:07:20 -04:00
tokenizer.rs WIP: Rename context_new → context, delete old files, fix UI layer 2026-04-08 15:20:26 -04:00