Skip to content

fix(ui): restore TurnCollapse step rendering, batch read-only in sub-agents (rebased #4200)#4206

Merged
esengine merged 1 commit into
main-v2from
pr/4200-turncollapse-rebased
Jun 12, 2026
Merged

fix(ui): restore TurnCollapse step rendering, batch read-only in sub-agents (rebased #4200)#4206
esengine merged 1 commit into
main-v2from
pr/4200-turncollapse-rebased

Conversation

@esengine

Copy link
Copy Markdown
Owner

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 typecheck clean apart from the usual ungenerated-wailsjs errors, go test ./internal/agent ./internal/config green, desktop/ build green.

What it does

  • 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.
  • Tool status icons (✓ / ✗ / —), ⊞N sub-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 into useController.ts.

Notes (flagged for follow-up, not blocking)

  • Default display mode flips minimal → standard.
  • compact.go drops the softCompactNoticed re-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

…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.
@esengine esengine requested a review from SivanCola as a code owner June 12, 2026 15:04
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 12, 2026
@esengine esengine merged commit 091d886 into main-v2 Jun 12, 2026
14 checks passed
@esengine esengine deleted the pr/4200-turncollapse-rebased branch June 12, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant