forked from kent/consciousness
The std::sync::Mutex detour caught every place a MutexGuard lived across an await point in Agent::turn — the compiler enforced Send safety that tokio::sync::Mutex silently allows. With those fixed, switch back to tokio::sync::Mutex (std::sync blocks tokio worker threads and panics inside the runtime). Input and command dispatch now live in InteractScreen (chat.rs): - Enter pushes directly to SharedMindState.input (no app.submitted hop) - sync_from_agent displays pending input with dimmed color - Slash command table moved from event_loop.rs to chat.rs - cmd_switch_model kept as pub fn for tool-initiated switches 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 | ||
| working_stack.rs | ||
| write.rs | ||