Keep open tool cards out of groups

This commit is contained in:
iris-ai committed 2026-09-15 22:43:45 -04:00
1 parent 33b130b6bb
commit 9bcf0f1a48
4 files changed
+55 -48

No files matched your search

+11 -11
View File
@@ -1129,17 +1129,17 @@ dev-updater (Kotlin 2.4.x, CMP 1.11.x, JDK 21).
4. **Session screen** — the core:
- The transcript rendered from the event stream: markdown, inline images,
tool cards, question cards.
- **A run of adjacent tool calls is one collapsed card, except for the
call still running and the last call in the transcript** (2026-09-15).
What the session is doing right now, or did last, is the one thing worth
seeing without opening anything, and a heading counting it hides it. What
folds a call back into its run is not finishing but being *overtaken*:
anything arriving behind it, a reply included, makes it history, and a
session that has run its last command and is composing its answer leaves
that command standing until the answer starts. Grouping is a display
decision (`groupToolRuns`) and a cut run's pieces are keyed there — the
first piece keeps the run's name, since that name is what survives a page
of history landing in front of it.
- **A run of adjacent tool calls is one collapsed card, except for a call
that is still running, open, or last in the transcript** (2026-09-15).
What the session is doing right now, did last, or what the reader is
looking at is the one thing worth seeing without a heading hiding it.
What folds a finished call back into its run is being *overtaken* while
closed: anything arriving behind it, a reply included, makes it history,
and a session that has run its last command and is composing its answer
leaves that command standing until the answer starts. Grouping is a
display decision (`groupToolRuns`) and a cut run's pieces are keyed there
— the first piece keeps the run's name, since that name is what survives
a page of history landing in front of it.
- **Anything that is a note *about* the conversation rather than a turn in
it is closed by default** — a tool call, a peer message, a memory note.
Open-ness is the screen's, never the card's: a card that remembered for