Feature: stream replies into the transcript and give text before a tool call its own card - #78
Merged
Merged
Conversation
While a turn streams, its text shows in a live draft card that repaints about ten times a second and is never journaled. When the model starts a tool call mid-reply, the text so far becomes its own card ahead of the tool pill, so words written before a tool call no longer merge into the answer written after it. Those cards stay provisional until the turn settles: they are kept only if the final text contains them, in order, and removed otherwise, so a text-written tool call never stays on screen. Depends on the engine's OnResponseTextDelta, IsStreamingModelCall and ReplyText (DevMando/MandoCode feature/stream-reply-split); the submodule points at that branch until it merges. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Points the MandoCode submodule at engine main 9904aad, which carries DevMando/MandoCode#99 (reply streaming hooks and ReplyText), #100 (tok/s and cut-off notices while streaming) and #101 (CLI live UI and ContextMeter). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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
Agent replies now appear in the transcript while they're being written, instead of all at once when the model finishes. When the agent says something before using a tool ("let me check the docs…"), that text gets its own card above the tool call, and the answer gets a second card below it. Before, both parts were merged into one card at the end.
What changed
mainat9904aad, which contains the streaming hooks this needs (Feature: print CLI replies in the order they happened, and fix loose numbered lists MandoCode#99), plus #100 (tok/s and cut-off notices, which Desktop's reply summary also benefits from) and #101 (the CLI UI work).Why this was done
Long replies used to leave the transcript empty until the model finished, which read as if nothing was happening. And a sentence the agent wrote before looking something up was glued to the answer it wrote afterwards, so the conversation didn't read in the order it happened.
How it was tested
Notes
/historycommand now appears in Desktop's slash-command suggestions but isn't handled here (it reports "Unknown command"). Desktop's transcript already has Ctrl+F search.[Unreleased]→ Added.