You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tui: singleton activity subgroups add a redundant header around one-line Read rows #792
A one-line native Read row can acquire an extra Explored 1 file header and toggle inside a mixed activity run. This adds nesting and uses more space than the row itself.
Source diagnosis
At accepted 50d6a232bacf1e280ca576fcbf10f25efa3d74fa, packages/tui/src/routes/session/index.tsx groups a parent activity run when it has at least two tool calls, then computeActivitySubGroups in packages/tui/src/util/activity.ts splits that run by tool kind. A read followed by an edit can therefore produce two singleton subgroups, each with a summary header. The expanded marker is −, the collapsed marker is +; a visible indented Read row is already expanded. The Read renderer is an inline path row, not a file/image body preview, and does not use output line-count overflow collapsing.
Proposed narrow correction, pending approval
Render a singleton subgroup directly when the summary hides no useful additional content. Preserve multi-call grouping and genuinely hidden reasoning/content, native renderer behavior, stable streaming identity, manual toggles and global expand/collapse behavior. Exact UI behavior requires approval before implementation.
Current status
Source explanation is ready; no correction PR or implemented fix is claimed. Do not infer hidden session history or envelope validity from a cropped screenshot. No private screenshot or path is attached.
Activity