Skip to content

chore: add immortal streams manager #19225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: mike/immortal-streams-backed-base
Choose a base branch
from

Conversation

ibetitsmike
Copy link
Contributor

@ibetitsmike ibetitsmike commented Aug 7, 2025

Added an "Immortal Streams" feature to the agent that maintains persistent TCP connections to local services, allowing clients to reconnect without losing data.

What changed?

  • Implemented a new immortalstreams package in the agent that provides persistent TCP connections to local services
  • Added a manager that handles stream creation, reconnection, and cleanup
  • Implemented a backed pipe mechanism that buffers data during client disconnections
  • Created REST API endpoints for creating, listing, and deleting streams
  • Added WebSocket support for client reconnections with sequence numbers to track data flow
  • Integrated the immortal streams manager into the agent lifecycle

Copy link
Contributor Author

ibetitsmike commented Aug 7, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from b81d8df to fa4eff3 Compare August 7, 2025 12:38
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from 27da7ef to e5be506 Compare August 7, 2025 12:38
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from fa4eff3 to 6e48486 Compare August 12, 2025 12:32
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from e5be506 to 77e912f Compare August 12, 2025 12:32
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from 6e48486 to ea83092 Compare August 12, 2025 12:35
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from ea83092 to bae956a Compare August 12, 2025 21:21
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from 16abe05 to dde9516 Compare August 12, 2025 21:21
@ibetitsmike ibetitsmike changed the title chore: add backed reader, writer and pipe chore: add immortal streams manager Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant