Skip to content

Host telemetry fixes, deck web panes, CSS out of code, web-pane names - #319

Merged
kordless merged 5 commits into
canaryfrom
refactor/css-out-of-code
Oct 14, 2026
Merged

kordless merged 5 commits into
canaryfrom
refactor/css-out-of-code

Conversation

@kordless

Copy link
Copy Markdown

Work that shipped in the local 0.21.12/0.21.13 installers but isn't on canary yet.

  • fix(telemetry) host agents' reads register, saves aren't creates, edits aren't counted twice (watcher holds changes 6 s and dedupes against Claude's OTel for 15 s). Credit: Civic Tiglon did items 1–6.
  • fix(term) when a pane is back at an idle prompt off the alt screen, switch off mouse/focus reporting a program left on (the [555;x;yM junk after n8 exits).
  • refactor(ui) ~540 inline styles in 23 renderer files moved to co-located .css with hy-* classes; position: fixed stays inline for the occluder test. User custom CSS can now override these elements. Not yet reviewed screen by screen.
  • feat(proto_viz) web panes on the Control Deck ring: half-width slices, host+path line, live picture via /ws/pixels, activity halo, hover monitor, click to fly in.
  • fix(bridge) web panes and web-only tabs report their page title/URL instead of their uid (layout sync sent before the socket opened was never replayed).

Tests: 376 unit tests pass at the head of this branch; tsc at the existing baseline; eslint clean on touched files.

🤖 Generated with Claude Code

kordless and others added 5 commits October 12, 2026 13:30
… double count

Claude Code's Read tool results become file reads (dotted threads). A save
the watcher already knew is a write, not a create. The watcher holds each
change 6 s and drops it when Claude's own telemetry (exported every 5 s)
reported the same pane + file; paths compare case- and slash-insensitively.

proto_viz: each pane gets a stack per kind (edit, write, create, ...)
across its whole slice, sized by the change, capped inside the slice, with
radial labels; a grey network strip along the inner edge carries the uplink
and the stacks stand on it; file threads start at their kind's stack. File
activity totals wear their tick colours; the key loses its "bar:" prefix.

Telemetry fixes, legend and first stacked bars by Civic Tiglon (n8, GLM).

Co-Authored-By: Civic Tiglon (n8-clever-bison) <noreply@deepbluedynamics.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full-screen program that exits without undoing mouse or focus reporting
left the shell receiving raw reports ([555;x;yM, [I, [O) as typed text.
When the pane is back at an idle prompt (and not on the alt screen), any
leftover mouse/focus mode is switched off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Static inline styles and imperative style writes in 23 renderer files move
into a .css file next to each component (per-component hy-* class prefix).
Runtime values (measured geometry, config/plugin colours, state) stay
dynamic: CSS custom properties, modifier classes, or inline where they
size the native web view or must stay fixed for the occluder test. Hover
colours set from JS are now :hover rules. ~540 inline style uses -> 53.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wsing, activity

Web panes get a half-width slice with a second label line (host + path).
Each streams its rendered page from /ws/pixels (a JPEG only when it
changes): a small thumbnail always, sharper when hovered, sharpest when
flown in. Hovering shows the page on the rim monitor; clicking flies in
like a terminal. Changing frames drive the activity halo. The deck itself
is skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… uid

A web pane's title and URL reach the sidecar only through layout syncs,
which are deduped; the first one runs before the sidecar socket opens and
was dropped, and register-on-connect never replayed it. So terminal_status
and proto_viz showed the Control Deck with no name or URL, and its tab by
uid. The last title/name/URL are now kept per pane and replayed on
register. A web-only tab, which no terminal title ever names, takes its
page's title (a manual rename still wins).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kordless
kordless merged commit f01d570 into canary Oct 14, 2026
8 checks passed
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