consciousness/src
ProofOfConcept 13453606ae refactor: runner owns stream routing, suppress tool call XML from display
Split the streaming pipeline: API backends yield StreamEvents through
a channel, the runner reads them and routes to the appropriate UI pane.

- Add StreamEvent enum (Content, Reasoning, ToolCallDelta, etc.)
- API start_stream() spawns backend as a task, returns event receiver
- Runner loops over events, sends content to conversation pane but
  suppresses <tool_call> XML with a buffered tail for partial tags
- OpenAI backend refactored to stream_events() — no more UI coupling
- Anthropic backend gets a wrapper that synthesizes events from the
  existing stream() (TODO: native event streaming)
- chat_completion_stream() kept for subconscious agents, reimplemented
  on top of the event stream
- Usage derives Clone

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-03-29 21:22:42 -04:00
..
agent refactor: runner owns stream routing, suppress tool call XML from display 2026-03-29 21:22:42 -04:00
bin move telegram and remaining tmp paths to ~/.consciousness/ 2026-03-27 21:26:28 -04:00
cli consciousness: identity files load from ~/.consciousness/identity/ 2026-03-28 19:49:13 -04:00
hippocampus cleanup: remove dead migrate module, fix stale comment 2026-03-27 21:08:40 -04:00
learn move memory_search from hippocampus to subconscious/hook 2026-03-27 20:50:24 -04:00
subconscious refactor: runner owns stream routing, suppress tool call XML from display 2026-03-29 21:22:42 -04:00
thought consciousness: identity files load from ~/.consciousness/identity/ 2026-03-28 19:49:13 -04:00
config.rs config: CLI --api-base and --api-key override config file 2026-03-29 20:58:53 -04:00
lib.rs cleanup: remove dead migrate module, fix stale comment 2026-03-27 21:08:40 -04:00
main.rs journal: remove all stringly-typed key patterns, use NodeType 2026-03-26 19:11:17 -04:00
session.rs logs: consolidate all logging under ~/.consciousness/logs/ 2026-03-28 20:39:20 -04:00
tui.rs logs: consolidate all logging under ~/.consciousness/logs/ 2026-03-28 20:39:20 -04:00
util.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00