forked from kent/consciousness
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> |
||
|---|---|---|
| .. | ||
| dmn.rs | ||
| identity.rs | ||
| log.rs | ||
| mod.rs | ||