Repository navigation
react-ui: redesigned tool call timeline and thread polish - #1332
Open
shubham-thesys wants to merge 7 commits into
Open
shubham-thesys wants to merge 7 commits into
shubham-thesys wants to merge 7 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Animated line-art glyphs per tool family (ToolGlyphs), plain-language tool labels that apps can override with ToolLabelsProvider, a header that ticks through the live step, one-row-open-at-a-time expansion, and a still Mascot. The thread's reply loader becomes the timeline's Working state so the hand-over doesn't move anything. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Server-side tools stream their call and result back to back. Flush the debounced assistant update before handling a result so it never pairs with a missing call and renders as a nameless tool. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Keeps secondary text at 4.5:1 or better on page and card surfaces. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A sent message rises from the composer into place, messages stay dimly visible under the floating header instead of vanishing, and wrapped user bubbles get roomier padding. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…efreshes" This reverts commit 890e0c2.
shubham-thesys
force-pushed
the
agent-interface-tool-timeline
branch
from
October 9, 2026 06:45
ab15997 to
e90a5c2
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Shubham
What
Stacked on #1327. Redesigns the tool call timeline in
AgentInterfaceand polishes the thread around it.Before: tool calls showed static Lucide icons with labels like "Running the web_search tool", the reply loader was a separate mascot below the timeline, and a server-side tool's result could briefly render as a nameless tool.
After: each tool family has an animated line-art glyph and plain-language copy ("Searching the web", "Checked the weather"), the collapsed header ticks through the live step, and the "Working" state appears the moment a message is sent and hands over to the timeline without anything moving.
Changes
@openuidev/react-uiToolGlyphs: animated glyphs (search, image, weather, artifact, terminal, thinking, error) based on Lucide shapes, CSS-only motion that stops underprefers-reduced-motion.toolIconnow lives here and returns aToolGlyph.toolLabels: running / done / failed copy per tool family, a readable fallback from the tool name, andToolLabelsProviderso apps can label their own tools.defaultLabeltakes optional overrides.ToolCallTimeline: header ticker for the live step, thinking-text rows, one open row at a time, edge fades on the scrolling list, and an exportedTimelineWorkingIndicatorthat replaces the thread's reply loader.ToolCall.Root/TimelineToolCard/TimelineEntry: optional controlledopen+onOpenChange.Mascotcomponent, shared withMascotLoader.@openuidev/react-headlessprocessStreamedMessageflushes the debounced assistant update before a tool result, so the result never lands ahead of its call.Test Plan
lint:check,format:check,typecheckandtestpass forreact-ui(418 tests) andreact-headless(221 tests).New tests: tool label copy, and call-before-result ordering.
Not applicable (explain why)
Verified locally
Checklist
toolIconkeeps its export and signature but now returns aToolGlyphinstead of a Lucide icon.🤖 Generated with Claude Code