You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Live turn shows only 'Agent working' — thinking and current tool are invisible #751
During a live turn the transcript often shows only a Work Log with Starting agent / Agent working and a status strip that says Agent working…. No thinking, no current tool. Screenshot on the originating thread.
Cause
Grok streaming-messages-json groups reasoning into one assistant message per model response. Without --include-partial-messages it emits no stream_event thinking/text deltas, so the UI is blank for the whole thinking window (grok-4.6, often long).
The claude-stream runner only handles text and tool_use content blocks. { type: "thinking" } is dropped (the fake grok success scenario already emits this shape).
The status strip is hardcoded to "Agent working…" even when a running tool card exists.
Work-log duration uses only item timestamps, so an in-progress run stays Worked for 0s.
Fix
Pass --include-partial-messages on grok (and claude, same flag).
Ingest stream_event thinking/tool/text deltas; upsert so the later complete assistant message does not duplicate cards.
Render thinking as a live card; put the current tool summary (or "Thinking…") on the status strip.
Tick work-log duration with now while the run is live.
Tests
Renderer: live label + thinking card. Electron: grok argv flag + fake scenario where a thinking delta is visible before the complete assistant message, and tool_use is not duplicated.
Tools were already live on all three (tool_call started / tool_calls / tool_call+tool_result).
Thinking/reasoning was dropped. Cursor type=thinking deltas, Kimi thinking content blocks, and OpenCode type=reasoning (needs --thinking) now become the same Thinking card + status-strip copy as grok/claude.
Activity
currentbits commentedon Aug 28, 2026
Implemented on this thread.
--include-partial-messagesstream_eventthinking/text/tool deltas and upserts so the complete assistant restatement does not duplicate cardsTests:
test/workingLabel.test.ts, ThreadView live-activity cases, grok fake scenariothinking-then-tool.currentbits commentedon Aug 28, 2026
Follow-up: Cursor, Kimi, and OpenCode.
type=thinkingdeltas, Kimi thinking content blocks, and OpenCodetype=reasoning(needs--thinking) now become the same Thinking card + status-strip copy as grok/claude.currentbits commentedon Aug 28, 2026
Landed from Solenta thread "Fork: Sometimes we only see agent working and not what it is". Closed on merge.
Widen the opencode reasoning→tool gap in the fake so slow CI can't ra…
Run local models from Ollama and LM Studio, set up from Settings › Pr…