Skip to content

fix(webui): turn timeline, live metrics, and disconnect awareness - #230

Merged
jkyberneees merged 3 commits into
mainfrom
fix/webui-timeline-metrics-disconnect
Sep 10, 2026
Merged

fix(webui): turn timeline, live metrics, and disconnect awareness#230
jkyberneees merged 3 commits into
mainfrom
fix/webui-timeline-metrics-disconnect

Conversation

@jkyberneees

Copy link
Copy Markdown
Contributor

Summary

  • Render DeepSeek/GLM-style partial assistant replies as timeline rows in arrival order with tools, instead of concatenating them into one parked answer bubble. Reasoning stays collapsed behind ▶ thinking.
  • Update the context gauge and cost chip mid-turn from live usage frames (inputTokens) and streamed output, and keep the busy spinner moving.
  • Composer / uses the same completions as ⌘K. A dropped WebSocket shows a sticky banner, amber reconnecting status, one transcript notice per outage, and a send toast — not a silent lamp.

Test plan

  • Stream a DeepSeek/GLM turn that talks, calls a tool, then talks again: two assistant rows around the tool, not one glued bubble
  • Confirm ▶ thinking is collapsed by default and expands on click
  • Watch ctx gauge and cost chip move during a long turn (not only on done)
  • Type / in the composer and run a palette item with Enter/Tab
  • Kill serve (or the socket) mid-session: banner + transcript line appear; retries do not spam; restore clears the banner
  • node --test cmd/odek/ui/js/ and go test -count=1 ./cmd/odek/ -run TestUsageFrame

Made with Cursor

…nner

Partial assistant replies stay in arrival order with tools instead of
concatenating into one parked bubble; reasoning is collapsed behind
thinking. Usage frames carry inputTokens so ctx/cost update mid-turn.
Composer / matches the palette. A dropped socket shows a sticky banner
and one transcript notice instead of a silent lamp.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
odek d07bb2e Commit Preview URL

Branch Preview URL
Sep 10 2026, 11:33 AM

jkyberneees and others added 2 commits September 10, 2026 13:28
…nnect

Slash complete only matches known command prefixes, so /Users/... is sent
as a prompt instead of running the first palette row. A dropped socket
clears approval and clarify cards without draining the prompt queue.

Co-authored-by: Cursor <cursoragent@cursor.com>
The CSS-contract test requires every class used in JS to have a rule;
without .partial and .stream-content, CI's go test job failed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jkyberneees
jkyberneees merged commit 47f83aa into main Sep 10, 2026
10 checks passed
@jkyberneees
jkyberneees deleted the fix/webui-timeline-metrics-disconnect branch September 10, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant