consciousness/poc-agent/src
Kent Overstreet a3acf0a681 feat: add --block flag to poc-agent read
The --block flag makes poc-agent read block until a complete response
is received (detected by a new user input line starting with '>'),
then exit. This enables smoother three-way conversations where one
instance can wait for the other's complete response without polling.

The implementation:
- Added cmd_read_inner() with block parameter
- Modified socket streaming to detect '>' lines as response boundaries
- Added --block CLI flag to Read subcommand

The --follow flag continues to stream indefinitely.
The --block flag reads one complete response and exits.
Neither flag exits immediately if there's no new output.
2026-03-21 23:39:12 -04:00
..
api api: use debug formatting for reqwest errors to show full cause chain 2026-03-21 12:19:40 -04:00
tools refactor: typed args for grep, bash, and vision tools 2026-03-21 16:31:34 -04:00
agent.rs refactor: extract context window building into context.rs 2026-03-21 15:59:15 -04:00
cli.rs feat: add --block flag to poc-agent read 2026-03-21 23:39:12 -04:00
config.rs refactor: extract identity/context assembly into identity.rs 2026-03-21 16:19:27 -04:00
context.rs refactor: extract context window building into context.rs 2026-03-21 15:59:15 -04:00
dmn.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
identity.rs refactor: extract identity/context assembly into identity.rs 2026-03-21 16:19:27 -04:00
journal.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
lib.rs Add lib target to poc-agent, make poc-memory depend on it 2026-03-18 22:56:48 -04:00
log.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00
main.rs feat: add --block flag to poc-agent read 2026-03-21 23:39:12 -04:00
observe.rs feat: add --block flag to poc-agent read 2026-03-21 23:39:12 -04:00
parsing.rs refactor: extract tool call parsing into parsing.rs 2026-03-21 15:29:45 -04:00
tui.rs ui: two-column layout for conversation pane with marker gutter 2026-03-21 19:15:13 -04:00
types.rs refactor: move ContextState and ContextBudget to types.rs 2026-03-21 15:40:36 -04:00
ui_channel.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00