Agent pane: the live Thinking line starts on the icon column and stays the last row
Summary
Leo, on the running turn's live line ("Thinking 路 1m 23s total 路 3.2K tokens" drawn under "Sent a message, finished 3 background tasks, ran 5 commands"):
the indent looks bad
thinking shimmer not being at the bottom looks bad
Leo-ask: ask-f654b777b7
Reference: cmux-design-references cmux/live/transcript-activity-summary-thinking-row (and a second capture of the live line drawn above a waiting message's "Send now" row)
- Indent: the live line no longer pads its words to the icon rows' text column (
.cv-worked.cv-worked--live, added in #33157). Its words now start on the icon column, the transcript's left edge, the way the shimmer sits in the Claude and ChatGPT apps, so it no longer reads like a second line of the row above it. The empty-slot markerdata-lead-slotand the gallery icon-column invariant's handling of it are gone too: the invariant now reads the line's words like any other text row. - At the bottom: App.tsx used to append the waiting-messages group ("N messages from M sessions") and held guest prompts after the running turn's live line, so the shimmer sat above them.
withWaitingRows(conversation/pendingMessages.ts) now puts them above a trailing live line (isLiveLine, model.ts). The line stays the last row, the same way a held prompt already sits above the line inside its turn.
Risk: small and contained (CSS, one row-order helper, comments). Nothing changes for an ended turn. Spacing stays the same because the live line under the group's head is still "one more line of the run" (isLiveStep).
Design spec: design/chat-transcript.md ("One icon column": the live line now starts on the icon column).
Test
bun test src/agent-session/acpmux/conversation/pendingMessages.test.ts: the new test "the waiting messages draw over the running turn's live line" fails on base, where withWaitingRows doesn't exist and the group was appended after the line, and passes on the head (22 pass).
Observed / Not run
- Ran: the test file above;
scripts/web-lint.sh. - Not run: the gallery advisory run and a DEV build capture. Leo will try the build.
Changelog
- Changed: The agent's live "Thinking" line now starts at the transcript's left edge and stays the last row, below waiting messages.
Agent session: agent session
馃 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith 路 Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
The live Thinking line now starts at the transcript's left edge and stays the last row, below waiting-message groups and held prompts. Its spacing is unchanged, and ended turns still place waiting messages at the end.