connect: nest tool calls under the message that made them - #87
Merged
Conversation
…each block onto its own panel Pressing up in the chat used to land on a tool call, which reads as a turn in the conversation when it is really work the agent did mid-message. Now a tool call belongs to its message's block: up/down walk messages, right on a message reveals its calls as stops of their own, right again opens one call's output, and left walks back out a level. Each lifted block also gets a blank tinted row above and below, shared between a message and the tool run attached under it rather than one pad each.
hbrooks
force-pushed
the
hunter/variable-top-level
branch
from
July 27, 2026 18:41
32b3aad to
cfc7428
Compare
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.
Summary
Pressing up in the chat used to land on a tool call, which reads as a turn in the conversation when it is really work the agent did mid-message. Now a tool call belongs to its message's block.
Three levels, each opened by
→on the level above:So
↑lands on the message with its tool chatter in tow,→reveals the calls and↑/↓step through them one at a time,→on a call opens its output, and←walks back out a level.Each lifted block also gets a blank tinted row above and below, shared between a message and the tool run attached under it rather than one pad each.
Rebased onto main, so the
variablechanges that shipped in #85 and #86 are no longer part of this branch.Test plan
tsc --noEmitclean, 381 tests pass (on@ellipsis-dev/sdk0.5.0, which main picked up)layOutItemscoverage: a call belongs to its message block, revealed calls become their own stops, results travel with their call,ctrl+rreveals everything↑highlights the message with⎿ Ran 2 tool callsinside it;→expands to● Bash(npm test)/● Read(src/index.ts);↑/↓step between the two;→un-clamps the Bash output;←re-clamps,←again returns to the message