feat(agent): have sub-agents stream their responses to keep the tunnel alive#597
Closed
OisinKyne wants to merge 1 commit into
Closed
feat(agent): have sub-agents stream their responses to keep the tunnel alive#597OisinKyne wants to merge 1 commit into
OisinKyne wants to merge 1 commit into
Conversation
Collaborator
|
Superseded by the consolidated integration PR #598, which merges this branch together with the other PRs ≥ #593 into |
bussyjd
added a commit
that referenced
this pull request
Jun 5, 2026
…sell-agent facts Terse rewrite of project CLAUDE.md (42725 -> 41797 bytes) corrected against the live codebase. Preserves all invariants, the 14 pitfalls, and flag warnings; adds #597's stream:true / statusRecorder.Flush guidance and agent-backed-offer (port 8642) facts so the compressed doc loses nothing rc12 ships.
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.
Problem to be solved
Cloudflare tunnels timeout on 100s of no data. Streaming an agents response may resolve that, but it also may put more complexity on the client side caller, we should consider if we need to improve paybe
buy.pypaycommand to handle it if we haven't already. (I think its dealt with at the verifier side)Summary
obol-stack/:
so SSE chunks actually stream (the bug from the previous
turn).
TestVerifier_HandleProxy_StreamsSSEChunks (over-the-wire pacing
assertion) + TestVerifier_HandleProxy_NonStreamingResponse.
in the CLI tree.
stream: true for OpenAI-compatible paid endpoints" block in the
Monetize Subsystem, explicitly calling out the Cloudflare
tunnel ~100s idle window and citing the test as the regression
sentinel.
flag-reference line.