consciousness/src/user
Kent Overstreet 64add58caa mind: move all slash commands to event_loop dispatch
All slash command routing now lives in user/event_loop.rs. Mind
receives typed messages (NewSession, Score, DmnSleep, etc.) and
handles them as named methods. No more handle_command() dispatch
table or Command enum.

Commands that only need Agent state (/model, /retry) run directly
in the UI task. Commands that need Mind state (/new, /score, /dmn,
/sleep, /wake, /pause) send a MindMessage.

Mind is now purely: turn lifecycle, DMN state machine, and the
named handlers for each message type.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-05 02:40:45 -04:00
..
chat.rs split out src/mind 2026-04-04 02:46:32 -04:00
context.rs split out src/mind 2026-04-04 02:46:32 -04:00
event_loop.rs mind: move all slash commands to event_loop dispatch 2026-04-05 02:40:45 -04:00
mod.rs mind: split event loop — Mind and UI run independently 2026-04-05 02:11:32 -04:00
subconscious.rs agent: don't hold agent lock across I/O 2026-04-04 04:23:29 -04:00
thalamus.rs thalamus: interactive sampling parameter controls 2026-04-04 18:19:21 -04:00
ui_channel.rs split out src/mind 2026-04-04 02:46:32 -04:00
unconscious.rs split out src/mind 2026-04-04 02:46:32 -04:00