Commit Graph

2 Commits

Author SHA1 Message Date
Levi Neely 9b50e4b7c1 Simplify chat rendering: unified markdown stream, plain text GUI
Server changes:
- Remove chat.raw/log.raw JSONL files — single chat/log markdown stream
- Remove block file (lookup by ID) — no block-level granularity
- format.RenderBlock() now outputs markdown with emoji headers
- Agent struct: remove rawLog, partialLine, partialVers fields
- TextLogStream for blocking stream reads

GUI changes:
- Remove ChatBlockModel (JSONL parsing, KSyntaxHighlighting, diagrams)
- Remove ChatBlockDelegate (block-based rendering)
- ChatPane uses single TextArea with PlainText format
- Zero CPU on idle — direct string append, no timers, no parsing
- Keep action toolbar (Stop, Compact, Clear, Copy, Templates, Procs, Peers)
- Fix scroll-to-bottom using ScrollBar.vertical position tracking
- Add hasPendingBypass, approveBypass(), denyBypass() for shortcuts

TUI and GUI now consume identical markdown stream from chat file.
~1000 lines deleted across format, agent, fs, and GUI code.
2026-10-12 13:37:05 +02:00
Ollie Agent 6211a6cdee Surface tool calls, output, and bypass status in log/chat views
The filtered text views (log, chat) hid call and tool blocks entirely
and had no visibility into bypass requests, which were only published as
events. RenderBlock now renders tool calls (name + args), tool output,
and bypass request/resolution notices; reasoning and context stay
hidden. SetBypassPending/ResolveBypass append bypass and bypass-resolved
blocks to the requesting agent so clients without an event stream (TUI,
o script) see pending approvals and outcomes.
2026-10-10 16:05:05 +02:00