consciousness/src/agent
Kent Overstreet 3e1be4d353 agent: switch from tokio::sync::Mutex to std::sync::Mutex
The agent lock is never held across await points — turns lock briefly,
do work, drop, then do async API calls. std::sync::Mutex works and
can be locked from sync contexts (screen tick inside terminal.draw).

Fixes: blocking_lock() panic when called inside tokio runtime.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-05 20:08:25 -04:00
..
api agent: switch from tokio::sync::Mutex to std::sync::Mutex 2026-04-05 20:08:25 -04:00
tools agent: switch from tokio::sync::Mutex to std::sync::Mutex 2026-04-05 20:08:25 -04:00
context.rs chat: PartialEq on ConversationEntry for proper diff 2026-04-05 19:41:16 -04:00
mod.rs agent: switch from tokio::sync::Mutex to std::sync::Mutex 2026-04-05 20:08:25 -04:00
oneshot.rs oneshot: remove PID tracking from run_one_agent 2026-04-04 18:19:21 -04:00