fix(ui): restore TurnCollapse step rendering, batch read-only in sub-agents (rebased #4200)#4206
Merged
Merged
Conversation
…agents Compact/minimal modes fold middle steps into a "processed Xs" line and batch completed read-only tools (including inside explore/research/task sub-agent cards); standard mode stays flat and is now the default. Adds tool status icons, uniform shimmer, and reasoning auto-collapse.
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.
Lands #4200 (restore TurnCollapse step rendering + read-only batching in sub-agents) on current
main-v2. Credit to @CVEngineer66.Carried across as-is (it was already rebased clean onto
main-v2); CI runs here on our branch since fork CI wasn't triggered. Verified locally:pnpm --dir desktop/frontend typecheckclean apart from the usual ungenerated-wailsjserrors,go test ./internal/agent ./internal/configgreen,desktop/build green.What it does
⊞Nsub-agent count moved left of the tool name, uniform shimmer over the whole tool header, reasoning auto-collapses after streaming (respecting a manual toggle).isReadOnlyTool()deduplicated intouseController.ts.Notes (flagged for follow-up, not blocking)
minimal → standard.compact.godrops thesoftCompactNoticedre-arm so the "context reached X%" notice shows once per agent lifetime instead of re-arming after the context drops back under the trigger — a behaviour change worth a second look since the original re-arm was deliberate.Closes #4200