Repository navigation
fix(linux): bring zmx, Live and remote sessions to macOS v0.33 parity (merge after #45) - #47
Merged
Merged
Conversation
- Refuse a cycle under terminal zoom, the dashboard, a modal pick, a visible AdwDialog or an open popover, and re-check at commit so a modal that arrives mid-hold selects nothing. - Theme the card from the popover tokens and give the current row the sidebar's selection colors instead of a hardcoded dark fill. - Build the rows once per cycle and reveal the highlighted row's whole border box, so it never sits below the fold; the palette and pickers share the fixed reveal. - Place the card 12% down over the terminal area with a 0.2 dim, using InterfaceMetrics' panel width and offset clamp. - Own switcher input with one capture-phase window controller, so Ctrl-Tab cycles from the search bar and a rename entry too; Ctrl-Tab stays reserved and is consumed even when no cycle begins. - Cancel a live cycle on window deactivation and popover open. - AT-SPI scenarios cover zoom, scroll, sessionless, leader, entry and deactivation legs. Claude-Session: https://claude.ai/code/session_01Y6w9aeeiTMG3Kj2ZNbveyq
- Refuse a cycle under terminal zoom, the dashboard, a modal pick, a visible AdwDialog or an open popover, and re-check at commit so a modal that arrives mid-hold selects nothing. - Theme the card from the popover tokens and give the current row the sidebar's selection colors instead of a hardcoded dark fill. - Build the rows once per cycle and reveal the highlighted row's whole border box, so it never sits below the fold; the palette and pickers share the fixed reveal. - Place the card 12% down over the terminal area with a 0.2 dim, using InterfaceMetrics' panel width and offset clamp. - Own switcher input with one capture-phase window controller, so Ctrl-Tab cycles from the search bar and a rename entry too; Ctrl-Tab stays reserved and is consumed even when no cycle begins. - Cancel a live cycle on window deactivation and popover open. - AT-SPI scenarios cover zoom, scroll, sessionless, leader, entry and deactivation legs. Claude-Session: https://claude.ai/code/session_01Y6w9aeeiTMG3Kj2ZNbveyq
Ports macOS's zmx, Live-session and remote-session behaviour to the GTK frontend on linux-v0.33.1 (unchanged on macOS since v0.32). Stacked on melonamin#45. - Exit capture follows the configured exit mode, keeps raw argv and unconsumed pending replay, and reads zmx foregrounds from one fresh bounded snapshot per pass; launch replay is latched to the launch restore decision, which restore.set's pin notice names. - A presenter's ask rejection takes back only that ask; held exits of replica panes and overlays run a hop after the callback and act only on the surface still in its slot. A stale session-overlay exit no longer closes a program or HTML page that took the slot. - Covered (follower) panes route keys through the keymap, then one takeover policy: the first other key takes the lead once, and neither its repeats nor modifier releases reach the PTY. The Ctrl-Tab commit stays with melonamin#45's window-level controller. - Remote rows get the bundled agterm-remote-symbolic glyph in the sidebar, Ctrl-Tab and popovers, plus a sidebar-only disconnected variant; local launches from a remote row start in a local directory. - zmx kill confirmations are read from stderr and attach is validated before ssh. - A pending clipboard read rereads the live surface before completing, instead of a pointer a lead takeover may have freed. - Tests: presenter-frame fixtures seed follower roles under v0.33's lead gate; new suites for overlay exit identity, the key policy, held exits and foreground capture; the remote AT-SPI scenario covers both origin panes following, a covered-follower zoom leg, an origin-led ask and the returned ask on the viewer. - Docs: Linux contracts in .claude/rules and agterm-linux/docs; the skill's outdated flag and Live-sessions reset are scoped to macOS. Claude-Session: https://claude.ai/code/session_01P8k6PLdo5pmHZgytbrdevm
n2tr2
force-pushed
the
linux-zmx-parity-v0331
branch
from
October 1, 2026 16:46
848f525 to
c3171a5
Compare
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.
Important
Merge after #45. This branch is stacked on #45 (
linux-ctrl-tab-parity,10522e96), so until #45 lands, this PR shows two commits: #45's10522e96and this PR's own. Once #45 merges intolinux-port, its commit drops out and only this PR's commit remains. The conflicts with #45 are resolved here; in particular, the Ctrl-Tab commit on Ctrl release now belongs only to #45's window-level controller.Brings the GTK frontend's zmx, Live-session and remote-session behaviour to parity with macOS v0.33.1 (the reference behaviour is unchanged since v0.32), on top of
linux-v0.33.1. macOS is the reference and is unchanged. No agtermCore changes.What changes
restore.set's pin notice names that modeweather-overcast-symbolicagterm-remote-symboliceverywhere, plus a sidebar-only disconnected variant; local launches from a remote row start in a local directoryDocs: Linux contracts in
.claude/rules/main-loop.md,libghostty.mdandagterm-linux/docs/sidebar.md. The skill'szmx listoutdatedflag and Live-sessions reset advice are scoped to macOS, since Linux answerszmx.resetas unsupported.Known limits and follow-ups
0ba6250), a clipboard read abandoned by surface teardown leaks its small request state, because no C API frees it without the surface. This is documented in code and inlibghostty.md; the fix belongs upstream in libghostty.agtermctl terminfo installfrom a personal install (install-linux.sh) outside an agterm shell still needsTERMINFO=~/.local/share/agterm/terminfo. The lookup fix lives in agtermCore, so it goes to umputun/agterm instead of this PR.Testing
swift testfor agterm-linux: 536 tests pass on this branch (on top of fix(linux): bring the Ctrl-Tab switcher to macOS parity #45). The agtermCore suite passed before the rebase, and nothing in it changed since.swiftlint lint --strictreports 0 findings, andscripts/check-linux-cli-drift.shandscripts/check-linux-core-boundary.sh 8153a64apass.OverlayExitIdentityTests,LinuxPaneLeadKeyPolicyTests,RemoteHeldExitTests,LinuxForegroundCaptureTests, and others.LinuxPresenterFrameTestsnow seeds follower roles under v0.33's lead gate.verify_remote_presentationnow covers both origin panes following before any ask, a covered-follower zoom leg (unbound Return held through the takeover, with a PTY marker that a leaked press or repeat would write), an origin-led ask that never reaches the viewer, and the viewer showing the returned ask. Its first run is in this PR's CI. The repeat half of the zoom leg depends on Xvfb autorepeat.🤖 Generated with Claude Code
https://claude.ai/code/session_01P8k6PLdo5pmHZgytbrdevm