Skip to content

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 2 times, most recently 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
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch 2 times, most recently from 2fbfcb1 to b4276f8 Compare August 15, 2025 00:51
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from 7468299 to b2188f9 Compare August 15, 2025 00:51
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch 3 times, most recently from 0b6e27e to 9bcaa2f Compare August 19, 2025 06:52
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from 45558ec to 064514e Compare August 19, 2025 06:52
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch 2 times, most recently from e256a4a to 5c50940 Compare August 20, 2025 11:42
@ibetitsmike ibetitsmike marked this pull request as ready for review August 20, 2025 11:42
@ibetitsmike ibetitsmike requested review from spikecurtis and removed request for spikecurtis August 20, 2025 11:43
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from 5c50940 to c0cba16 Compare August 20, 2025 12:38
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-backed-base branch from 95dc01a to 85c505d Compare August 20, 2025 12:38
@ibetitsmike ibetitsmike changed the base branch from mike/immortal-streams-backed-base to graphite-base/19225 August 25, 2025 20:19
@ibetitsmike ibetitsmike force-pushed the mike/immortal-streams-agent-api branch from 57b8912 to fd99a7f Compare August 25, 2025 20:32
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