Repository navigation
fix: title tool steps from the part, and drop the step pulse and terminal dots - #332
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Latest result Pull request merged. Final answersSession Pull request merged. Session Waiting for GitHub merge request 2b3c4fd6-4f20-4d83-8382-52f28424bae4. Ready at the expected HEAD. Inspected all nine changed files, supplied reviews, and current-head checks; no actionable findings remain. After building required workspace dependencies, package-local `vp test run test/chat.test.ts` passed 9 tests and `vp test run test/code.test.ts` passed 23 tests. `vp check` passed all six changed TypeScript files, and `git diff --check` passed. Hosted checks are green. Checkout is clean; no repair commit needed. Session Waiting for an admitted fleet slot before the next repair pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes across the shared chat parsing and styles, code-block terminal styles, public documentation, and focused coverage.
- Tool titles: Static and dynamic tool steps now prefer the part's string
title, with the existing type ortoolNamefallbacks preserved. - Static trace status: Running and approval-waiting steps now use an outlined dot without an infinite animation, including forced-colors support.
- Terminal header: Shell blocks retain the header divider while dropping decorative window dots and terminal-specific centered title positioning.
- Coverage and docs: Tests cover title precedence and both CSS changes; package docs and the shipped skill reference match the new behavior. The affected package dependency graphs built successfully, and the focused chat and code suites passed with 40 tests total.
gpt-5.6-sol | 𝕏
comark-annotate
comark-badge
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-ui
comark-xref
comark-zoom
commit: |

ViteHub renders Agent answers with
comark-chatand code withcomark-code(vite-hub/vitehub#3237). A real answer there showed three problems:titleon static tool parts, such as the commandrg -n "Node" pages/docs/install.md.read()readtitleonly ondynamic-toolparts.animation: cht-pulse 1.2s ease-in-out infinite). Nothing should loop; motion should answer an action.shandbashblocks drew a fake terminal window: three dots from a::beforebox-shadow, with the title moved to the middle to make room for them.The fix:
toolStep()inpackages/chat/src/index.tstakestitlefrom any tool part first, then falls back to the type name or a dynamic tool'stoolNameas before.packages/chat/src/styles.tsdrops the pulse, its@keyframes, and the reduced-motion override that only existed to stop it. A running or waiting step's dot is now a still 1px ring (border: 1px solid currentColor; background: none), so it still reads as unfinished next to a finished step's filled dot. The ring is a border, so it also shows in forced-colors mode.packages/code/src/styles.tsdrops the dots and the centered-title rule. A terminal keeps the line under its header, and its title sits on the left like any other block's.titlefirst.Before and after, light and dark, for the chat trace, a terminal block, and the comark-code gallery row: https://drop.vitehub.dev/d/t82j8vyg358x/evidence
Checks:
titles a tool with the part's title, else its nameandmarks a step under way without motioninpackages/chat/test/chat.test.ts, anddraws a terminal's header as a line, with no window dotsinpackages/code/test/code.test.ts. All three fail with main's sources.pnpm test: 129 files, 2664 passed, 1 expected fail, 1 skipped.pnpm typecheck(tsrs),vp checkon the changed files, Vite Doctor for comark-chat and comark-code, andpnpm run lint:docs: no issues..cht-dotcomputesanimation-name: noneand.ck-bar::beforecomputescontent: none. On main the running and waiting dots runcht-pulse.Model: Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code