feat(app): remote terminal client and renderer - #1668
Draft
rixzkiye wants to merge 16 commits into
Draft
Conversation
rixzkiye
force-pushed
the
feat/terminal/3-app-client
branch
from
August 8, 2026 02:19
8038c83 to
8af840d
Compare
This was referenced Aug 8, 2026
rixzkiye
force-pushed
the
feat/terminal/3-app-client
branch
from
August 11, 2026 00:03
8af840d to
5c07389
Compare
rixzkiye
marked this pull request as draft
August 11, 2026 00:05
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
Layer 3 of 6, stacked on #1667. Adds the encrypted app client and web/native renderers; it remains draft until the earlier layers land.
TerminalStreamwith subscribe-first attach, replay/resync, output sequencing, and input acknowledgements.useTerminalSessionhook for the UI layer.Atomic commits unique to this layer
build(app): add xterm renderer dependenciesfeat(app): add remote terminal types and control RPC clientfeat(app): add encrypted terminal stream client with replay and resyncfeat(app): add web and native terminal renderer viewsfeat(app): add useTerminalSession hookValidation — 2026-08-11
pnpm --filter happy-app typecheck— passed.pnpm --filter happy-app exec vitest run sources/sync/terminalClient.test.ts— 6 tests passed.origin/main— clean.Review this layer
Unique diff: rixzkiye/happy@feat/terminal/2-protocol...feat/terminal/3-app-client
Stack workflow
Because these contributor branches live in a fork and I do not have push access to
slopus/happy, GitHub requires every upstream PR to targetmain. Descendant PRs therefore show cumulative diffs.Only the first unmerged layer is ready for review. Later layers stay draft. After each parent lands, I will restack descendants onto the updated
mainbefore promoting the next PR; this remains correct whether maintainers rebase-merge or squash-merge.Merge order: #1666 → #1667 → #1668 → #1669 → #1670 → #1671.
#1671 replaces the initial stream implementation with the final protocol-v3, explicit writer, readiness, lifecycle-fencing, and bounded-buffer behavior.