feat: complete fastn-p2p streaming API and remote shell functionality#2210
Open
feat: complete fastn-p2p streaming API and remote shell functionality#2210
Conversation
This empty commit enables creation of the main tracking PR to show the complete implementation plan for fastn-p2p streaming API and remote shell functionality. The feature will be built incrementally through focused PRs: - Phase 2: Streaming API foundation (PR #2208) - Phase 3: TODO implementations and testing - Phase 4: Remote shell integration π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <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
Main Tracking PR - Complete implementation plan for fastn-p2p streaming API and remote shell functionality (rshell/rexec). This PR tracks the complete plan originally outlined in PR #2202, building on the fastn-context foundation from PR #2203.
This feature will be built incrementally through focused, reviewable PRs for better development and review process.
π― Complete Implementation Plan
Phase 1: Basic fastn-context (Minimal) β Completed
Phase 2: fastn-p2p Streaming API π§ API Stubs Only
Phase 2a: Implement Core Streaming β³ Next - Must Do
Phase 3: Implement Multi-Stream Support β³ After 2a
Phase 4: Test and Validate β³ After 3
Phase 5: Remote Shell Integration β³ After 4
Phase 6: Codebase Migration β³ Critical
π Related PRs
π― Success Criteria
π¨ Current Reality
PR #2208 Status: API stubs with 7 TODOs
client::connect()-todo!()client::Sessioncontext - commented outSession::accept_uni/bi()-todo!()Session::into_request()-todo!()Session::open_uni/bi()-todo!()Next: Implement Phase 2a to make these functions actually work.
π§ Development Strategy
This feature branch approach provides:
Goal: Working remote shell over P2P with minimal API surface, built through reviewable increments, with zero breaking changes to existing code.
π€ Generated with Claude Code