Repository navigation
Agent pane: prompt edit box, recap, error and repo recovery cards on the grid tokens; one media radius - #34378
Conversation
…the grid tokens; one media radius - RepoRecoveryCard: shared status inks (the --agent-error/--agent-success it read were never defined), muted/dim text tokens, control radius, on the tool text column with no outer margin. - Prompt edit box: the bubble's glass, 12 radius, block padding and 16 sides, at 70%. - Version arrows at the row's 16 glyph, no local gap. - Empty-footer and compact icon buttons at the control radius. - Recap card: hairline card ring, cards padding, no outer margin. - Turn error card: no outer margin; rail actions under the cause's words. - --cv-media-radius (8) for sent thumbnails, reply images and videos; gallery agent-pane.media-radius compares 12, 8 and the old split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a web and size checks: green Shipped in:
|
|
Owned by an agent session · session |
|
Review (subagent claude-opus-5-5 medium): BLOCK at a8f411a Visual verdict: no images attached; the code reads right for the edit box, recap, turn error, repo recovery and media radius changes. Checked: every new token is defined (
Follow-ups:
|
|
Found 5 test failures on Blacksmith runners: Failures
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
Review (subagent claude-opus-5-5 medium): SHIP at b66ebd9 |
…esign-token baseline Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
Review (subagent claude-opus-5-5 medium): SHIP at d1c61e9 Visual verdict: unchanged by this diff (gallery caption size moves from 12 to Checked d1c61e9 against base 912f8ab: every baseline shrink matches a literal the PR removed from conversation.css ( Follow-ups: none. |
… messageSurfaces.test.ts reads them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
…ript-prompt-card-consistency # Conflicts: # webviews/scripts/design-tokens-baseline.jsonl
|
Review (subagent claude-opus-5-5 medium): SHIP at 97db1c2 Visual verdict: unchanged from the d952d7b review; the base merge changes no rendered UI in this PR. Checked the merge of feat-cmux-next (5aa0787): the hand-resolved token baseline rows match conversation.css at the head (6 Follow-ups:
|
|
Review (codex, router-review): SHIP at 97db1c2 Reviewer: codex gpt-6.1-sol xhigh, fast tier. SHIP at 97db1c2 Visual verdict: no introduced regression across all 16 before/after pairs, compared with Claude/ChatGPT transcript patterns. No actionable correctness findings. Eight source-level checks passed via Node/Babel; Bun and browser tests were unavailable. Follow-ups: none |
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Leo's ask: "i think we ought to audit the whole tool call/notice/send and recieve message styling esp like see what we can iterate on in the gallery too"
This PR covers the person's prompt rows, the error/system cards and the attachments in the cmux NEXT agent chat transcript. Each fix below makes one of them match the bubble or card it should look like. Tool rows are handled by another PR.
Fixes
.cv-repo-recovery, from Cloud: add repository picker and recovery UI #30357). It read--agent-errorand--agent-success, which no stylesheet defines, so its#d66and#5aaf83fallbacks always drew. It also mixed its own 72% and 55% text inks, used a 5px button radius and had a2px 0 8px 28pxouter margin, and 28 is not one of our columns. Now it uses--agent-status-failureand--agent-status-success,--cv-text-mutedand--cv-text-dim, and--ds-radius-control. It sits on the tool text column (padding-inline-start: var(--cv-tool-text-inset)) with no outer margin..cv-user__edit, from cx-ncc.60: edit and resend a past prompt (Claude parity) #19470). The editor had a 16 radius, 12 at the sides, a solid fill with a ring and a fixedmin(100%, 560px)width. It now has the bubble's glass (ui-glassplus the bubble's glass variables), its 12 radius, its block padding, 16 at the sides and the bubble's widest width (70%), so opening the editor no longer changes the prompt's shape..cv-iconbtn--compact(from Agent chat: even transcript spacing, meta rows that hug their message #22754). Theirborder-radius: 5pxis nowvar(--ds-radius-control).ROW_ICON(16), and.cv-user__versionsadded a 2px gap of its own. The arrows are now 16 and the local gap is gone..cv-recap, from Agent pane: the session recap row when you come back to a Claude chat after 5+ minutes away #33162). It had a1px solid var(--agent-border)border, 8/8/8/12 padding and an outermargin-block: 4px. It now uses the cards' hairline--cv-card-ring,--grid-cards-paddingand no outer margin. model.ts already estimates this row as 24 plus its lines, which now matches the drawn 12 + 12 exactly.margin-block: 2px 6pxouter margin. In the rail arm, the actions were 21px in; they are now14px + var(--grid-gap), under the cause's first word. model.ts never counted that margin in its estimate (a footer row is estimated as its button line), so no estimate changes.--cv-media-radiustoken now sets the sent thumbnail, its placeholder and failed slot,.cv-img, and chips.css.cv-media. The new gallery entryagent-pane.media-radiusputs three options side by side: all 12, all 8, and sent 12 / reply 8 as before. I shipped all 8. The reference (claude/live/composer-image-attachments-grid) shows Claude's thumbnails rounded at about 5% of the tile, and a reply's video already drew at 8. The sent thumbnail keeps its 45% outline (Leo, 2026-10-13/14 in Agent pane: keep a sent prompt's images; bigger, clearer composer thumbnails #20411: dark screenshots looked missing behind a hairline). The reply image's outer margin is unchanged.Gallery
agent-pane.user-bubble#editing(new): plays Edit and shows the editor in place. The existing#running-edit-branchesand#finished-original-branchshow the arrows.agent-pane.repo-recovery#outcomes(new): the waiting, attached and failed lines in their inks.agent-pane.media-radius(new):compare,all-8,all-12,sent-12-reply-8.agent-pane.recap-note#card,agent-pane.turn-error-card,agent-pane.sent-images.Tests
webviews/test/transcript-prompt-card-tokens.test.tschecks four things:var()that these card rules read is defined in some stylesheet (red on base:--agent-error,--agent-success);--cv-media-radius.Spec sections followed
Reference ids:
claude/live/composer-image-attachments-grid,cmux/live/transcript-image-attachment-card.Follow-ups, left out on purpose: the Chief prompt clamp (Chief area), duration badges, attachment chip radii, ReplyActions dead code, and status text that was proportioned by hand.
Agent session: agent session
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Audits the agent chat transcript's prompt edit box, recap and error cards, and Cloud repo recovery line so they draw from design system tokens instead of literals and undefined variables that always drew fallback colors.
Bug fixes
--agent-errorand--agent-success, which no stylesheet defines, so its fallback colors always drew; it now uses the shared status inks and sits on the tool text column with no outer margin.--glass-*rules, so the bubble's selectors and shape stay unchanged; it gets a 12px radius and 70% width, so opening it no longer changes the prompt's shape.--cv-media-radiustoken, shipped at 8px.Written for commit 97db1c2. Summary will update on new commits.