consciousness/src/agent/api
Kent Overstreet a0245c1279 Refactor hook: split agent orchestration from formatting
- Remove POC_AGENT early return (was from old claude -p era)
- Split hook into run_agent_cycles() -> AgentCycleOutput (returns
  memory keys + reflection) and format_agent_output() (renders for
  Claude Code injection). poc-agent can call run_agent_cycles
  directly and handle output its own way.
- Fix UTF-8 panic in runner.rs display_buf slicing (floor_char_boundary)
- Add priority debug label to API requests
- Wire up F2 agents screen: live pid status, output files, hook log
  tail, arrow key navigation, Enter for log detail view

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-02 00:32:23 -04:00
..
anthropic.rs refactor: runner owns stream routing, suppress tool call XML from display 2026-03-29 21:22:42 -04:00
mod.rs vLLM priority scheduling for agents 2026-04-01 23:21:39 -04:00
openai.rs Refactor hook: split agent orchestration from formatting 2026-04-02 00:32:23 -04:00