consciousness/src/agent
Kent Overstreet 350c447ebc chat: state-driven sync from agent entries
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>
2026-04-05 19:17:13 -04:00
..
api drop dead ChatResponse 2026-04-05 01:18:47 -04:00
tools channels: find_daemon path walking, consistent pane_id, auto-start 2026-04-04 19:22:49 -04:00
context.rs move working_stack code to correct file 2026-04-04 18:19:21 -04:00
mod.rs chat: state-driven sync from agent entries 2026-04-05 19:17:13 -04:00
oneshot.rs oneshot: remove PID tracking from run_one_agent 2026-04-04 18:19:21 -04:00