Repository navigation
feat(panel,host): a shown transcript tab hears its pages pushed, with no read loop - #4181
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
luke-agent
Bot
force-pushed
the
luke/transcript-push-host-main
branch
from
October 20, 2026 20:16
9c4159e to
ada9754
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 20:16
426d815 to
8489f6b
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-host-main
branch
from
October 20, 2026 20:34
ada9754 to
ecb4073
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 20:34
307f51c to
5c15a36
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 21:14
5c15a36 to
2be6e09
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-host-main
branch
from
October 20, 2026 21:14
ecb4073 to
073bd12
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 21:22
2be6e09 to
5cb3495
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-host-main
branch
from
October 20, 2026 21:27
29cfe7d to
ee66ec2
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 21:27
5cb3495 to
1aa506e
Compare
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 21:35
1aa506e to
a54dffc
Compare
… no read loop The tab of an agent, a worker, or a task's planning worker now holds its transcript's stream (`codingAgents.transcript`) open while it is shown and closes it when it is hidden. It joins each pushed page by message id, so there's no read loop or cursor any more. A page that couldn't be read offers Try again, which opens the stream again. `codingAgents.messages` still serves Copy transcript, now as an at-once read. The host's held read (`transcriptPast`) is retired, along with `followsAgent`, which only that loop used. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
…ript follower Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
…hat opens after its tab let go is closed Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
luke-agent
Bot
force-pushed
the
luke/transcript-push-window-main
branch
from
October 20, 2026 21:54
a54dffc to
610b562
Compare
…d by no one Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
This branch was successfully deployed
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.
The window half of making the agent transcript live on
main. It's stacked on #4175 and replaces #3931, which was built on the old stack.What changed
packages/panel/src/tasks/use-agent-transcript.ts: the hook takes a transcript key and aTranscriptFollower.codingAgents.transcript, from feat(host): a window follows an agent's transcript as a stream of pushed pages #4175), and closes it when hidden or unmounted.failed. Try again opens the stream again, and the messages held stay meanwhile.{ kind: "taskWorker", taskId, callId }.CodingAgentsControl.transcriptsis the window's follower.codingAgents.messagesandtasks.messageswith acallIdstay, because Copy transcript reads them. The host'scodingAgents.messagesnow answers at once through the service'swait=noneread.transcriptPast,readUntilSaid,TranscriptReadsand the 20 sHOLD. So isfollowsAgent, which only the loop used.Tests
use-agent-transcript.test.ts:readTranscriptnow push pages throughpushedTranscripts(#testing/tasks-control). The agent page test answers the stream with a generator.compose-coding-agents.test.tstests, "a running agent's transcript is held open…", "a worker's transcript is followed under its own seal…", "a transcript the account does not reach is not found…" and "a read the service says only the clock may end…". feat(host): a window follows an agent's transcript as a stream of pushed pages #4175's follow tests cover the live behaviour.Checks run locally
pnpm check:affectedgets OOM-killed in the sandbox, so I ran its pieces one at a time:repository-checks.sh,biome check .,oxlint,kniptscfor host and paneltasksanddesktop(2115 tests)What to check by hand (desktop and web)
Made with Luke