Skip to content

fix(ui): show a running turn's tool calls instead of folding them into one row - #697

Merged
iamnbutler merged 3 commits into
mainfrom
live-tool-groups
Oct 27, 2026
Merged

iamnbutler merged 3 commits into
mainfrom
live-tool-groups

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

While a run is in progress, each tool group in the working section now renders open, so every command and tool call shows as it happens. Before, a live run showed one collapsed row ("Checking repository state… Ran 7 commands"), and in demos Ace looked idle while it worked. When the turn finishes, groups fold into the usual "Worked for …, ran N tool calls" summary as before.

Clicking a group while live still closes it, using a separate key so that closing doesn't make it reopen after the turn folds. The timeline's height measurement uses the same rule as the render.

Smoke-tested on a loopback host with real Claude runs: during the run each bash call appears in the list as it starts; after it finishes the turn folds to the summary. Part of #5.

Built in Ace

No. This was built with Claude Code outside Ace, because the session that found the issue (reviewing demo recordings) was already running there. Nothing here needed something Ace lacks.

…o one row

Why: packages/ui/src/components/timeline/layout.ts#function toolGroupOpen | itemHeight and the timeline render must both decide a tool group's openness with toolGroupOpen, or measured heights drift from what renders
@iamnbutler
iamnbutler merged commit c8d6fdc into main Oct 27, 2026
1 check passed
@iamnbutler
iamnbutler deleted the live-tool-groups branch October 27, 2026 14:27
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