The top-level run() that creates Mind, wires channels, spawns the Mind event loop, and starts the UI event loop is orchestration — it belongs with the UI entry point, not in the cognitive layer. Renamed to event_loop::start(cli). mind/mod.rs is now purely the Mind struct: state machine, MindCommand, and the run loop. Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev> |
||
|---|---|---|
| .. | ||
| chat.rs | ||
| context.rs | ||
| event_loop.rs | ||
| mod.rs | ||
| subconscious.rs | ||
| thalamus.rs | ||
| ui_channel.rs | ||
| unconscious.rs | ||