forked from kent/consciousness
InteractScreen holds agent ref, syncs conversation display from agent.entries() on each tick via blocking_lock(). Tracks generation counter and entry count to detect compactions and new entries. Agent gets a generation counter, incremented on compaction and non-last-entry mutations (age_out_images). sync_from_agent() is the single path for pane updates. UiMessage handle_ui_message still exists but will be removed once sync handles all entry types (streaming, tool calls, DMN). Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev> |
||
|---|---|---|
| .. | ||
| api | ||
| tools | ||
| context.rs | ||
| mod.rs | ||
| oneshot.rs | ||