✨ feat: formalize shared Ghostty sessions - #19
Draft
zrr1999 wants to merge 2 commits into
Draft
Conversation
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
cuedthe sole owner of PTYs, processes, named sessions, raw history, and controller leasescue-terminal/libghostty-vtbackend and remove the legacyvt100/tui-termpathWhy
cue-shell's primary Zellij replacement use case is a named process session that humans and agents can safely observe and share. The previous client-side terminal path duplicated terminal behavior and did not make authority, replay, or control handoff explicit.
This change keeps execution truth in the daemon while treating each client terminal as a reconstructable projection. It intentionally does not introduce cmux, a second terminal backend, or a separate session owner.
User and developer impact
Validation
just cijust pre-commitjust tui-debug-smokeagainst a real PTYscripts/verify-ghostty-deps.shscripts/verify-ghostty-fail-closed.shgit diff --check origin/main...HEAD