New ActiveTools struct with proper methods: push, remove, abort_all, take_finished, take_foreground, iter, len. Lives directly on AgentState, no separate Arc<Mutex> needed. TUI reads active tools through agent.state.try_lock(). Turn loop uses helpers instead of manual index iteration. Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| chat.rs | ||
| context.rs | ||
| mod.rs | ||
| subconscious.rs | ||
| thalamus.rs | ||
| unconscious.rs | ||
| widgets.rs | ||