Group consecutive tool calls in the full-screen conversation (#60556)

## What changed

- Combine adjacent tool calls into one expandable summary, including calls that move from live output into history. Label successful command groups with summaries such as `Explored files` and `Ran 2 commands`.
- Include web searches in tool groups, hide duplicate provisional search entries, and show a single completed search directly. Preserve its reading position when it completes.
- Refresh summaries as history changes while preserving pinned content during selection and reading.

## Testing

Add regression coverage for web search completion, grouped search expansion, loading older history during selection, and command completion with an expanded summary.

GitOrigin-RevId: 98f4e0c49cbf8014c25874cf47d1c0c92ee6b30d
This commit is contained in:
Eric Traut
2026-11-10 08:35:36 +00:00
committed by copyberry
parent 7539b0a856
commit bcbb7f5a9c
9 changed files with 425 additions and 66 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ pub(crate) struct TranscriptView {
last_tail: Option<EntryKey>,
last_click: Option<(std::time::Instant, u16, u16, u8)>,
disclosure: disclosure::Disclosure,
collapse_turn_details: bool,
turn_details: Option<turn_details::TurnDetails>,
}
impl Default for TranscriptView {
@@ -166,7 +166,7 @@ impl Default for TranscriptView {
last_tail: None,
last_click: None,
disclosure: disclosure::Disclosure::default(),
collapse_turn_details: false,
turn_details: None,
}
}
}