aboutsummaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
2026-09-19feat: add configurable pane screen and scrollback clearing (#4383)Can Celik
2026-09-16fix: keep remote surface updates incremental (#4209)Can Celik
refs #3769 refs #3745
2026-09-15fix: preserve macos services across logout (#4202)Can Celik
refs #4100
2026-09-15fix: reconcile client locations after no-focus pane moves (#4171)Eric Yue
refs #4153 Root cause: A no-focus pane move can remove the source tab without changing the server's numeric workspace and tab coordinates. PaneMove is not classified as a topology change, so a client viewing that tab retains its deleted ID. Its target lookup falls back to the server default and can follow a later, unrelated focus change instead of staying in the source workspace. Fix: Include PaneMove in the existing client-location reconciliation path. Extend the existing focus-guard test with a client on the removed tab and verify that a later server-default change cannot move its view. Preserve the other client's view and existing error, no-op and zoom assertions. Validation: The minimized regression fails five times on PR #4159's unchanged head and passes five times with the one-line fix. All 19 pane-move tests, native lint, maintenance, architecture and integration-asset checks pass. Full native just ci on the publication branch, including the unchanged prerequisites from #4159 and #4168, passes 3585 Rust tests with six default skips plus lint, 106 maintenance, six architecture and 39 integration-asset tests. All seven docs contract tests pass. Local Windows cross-lint was not run because its SDK is unavailable. No geometry policy, protocol or periodic rendering behavior is changed.
2026-09-15fix: propagate focused pane moves to attached clients (#4159)akbash
refs #4153 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-14fix: avoid resending terminal cells for metadata updates (#4137)Can Celik
2026-09-14fix: scope window titles to each client view (#4130)JJ Liebig
refs #4091
2026-09-14fix: scope agent views to the selected machine (#3784)akbash
* fix: scope agent views to the selected machine refs #3732 * fix: preserve stable agent view ordering refs #3732 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-13feat: add ctrl-hover highlighting and fix wrapped links (#4074)Can Celik
refs #1282
2026-09-13fix: clean up failed terminal observer setup (#4071)Can Celik
refs #3612
2026-09-13fix(server): transfer handoff descriptors in batches (#3411)Kataoka Katsuki
Live handoff refused any session with more than 64 panes. The pane count was checked twice against MAX_FDS_PER_HANDOFF, and the transfer itself put every pane's pty master into one SCM_RIGHTS control message, so the guard was the only thing keeping the send inside the kernel's per-message limit. A session past the limit could only be updated by closing panes or by a normal restart, which ends every pane process. Send the descriptors in batches of 64 instead and drop both guards. The receiving side accumulates across recvmsg calls until the expected count arrives, bounds every SCM_RIGHTS payload it reads by the control bytes the kernel returned, rejects a batch that carries more descriptors than it asked for, and closes the descriptors it already holds on any failure. A session of 64 panes or fewer still produces one batch, so the bytes on the wire are unchanged and HANDOFF_VERSION stays at 1. refs #3393 Co-authored-by: kataokatsuki <kataokatsuki@users.noreply.github.com> Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-13fix: decouple pixel mouse from pane graphics (#4045)akbash
refs #3295 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-13fix: disconnect stalled terminal observers (#4039)Can Celik
2026-09-13fix: restore alternate-screen pane width (#4016)Can Celik
refs #3329
2026-09-11fix: keep terminal snapshots consistent while scrolling (#3928)Can Celik
refs #3900
2026-09-10chore: upgrade libghostty and preserve terminal behavior (#3906)Can Celik
2026-09-10fix: preserve focused viewer geometry during activation (#3746)akbash
* fix: preserve focused viewer geometry during activation refs #3744 * fix: preserve geometry through activation sync refs #3744 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-09fix: project public agent focus to attached clients (#3764)akbash
refs #3760 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-09fix: restore plugin focus events for client navigation (#3850)Can Celik
refs #3824
2026-09-09fix: avoid full-screen copies for retained client updates (#3837)Can Celik
refs #3822
2026-09-07fix: preserve sessions after interrupted pane exits (#3418)Can Celik
* fix: preserve sessions when pane shells are signaled refs #3415 * fix: preserve shutdown checkpoints across platforms refs #3415 --------- Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
2026-09-07feat: make ui.pane_borders a three-state auto/always/off mode (#3234)Rudolf S.
* feat: make ui.pane_borders a three-state auto/always/off mode Legacy booleans keep parsing (true = auto, false = off); "always" frames a lone pane while pane_outer_borders is enabled. * fix: align pane border reload test and documentation --------- Co-authored-by: Rudolf Schmidt <me@rudionrails.com> Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
2026-09-06feat: add conditional styles for sidebar tokens (#3693)Can Celik
2026-09-06feat: manage multiple ssh machines from one client (#3670)Can Celik
2026-09-05fix: run the full applicable test suite on windows (#3660)JJ Liebig
* fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup
2026-09-05fix: preserve pixel mouse after sgr reassertion (#3637)akbash
refs #3295 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-04feat: enable kitty graphics by defaultOgulcan Celik
2026-09-03fix(windows): preserve LF paste order (#3582)JJ Liebig
refs #3172
2026-09-03perf: compress idle terminal scrollback (#3556)Can Celik
2026-09-02fix: keep direct graphics bound to its client (#3549)Can Celik
2026-09-02fix(windows): remove worktrees with active agent panes (#3532)JJ Liebig
* fix(windows): remove worktrees with active agent panes * fix(windows): defer pane restore until shutdown exits
2026-09-02fix: reliably submit delayed agent prompts (#3506)JJ Liebig
2026-09-02feat: support independent multi-client tab views (#3526)Can Celik
2026-09-02feat: add stable client endpoint compatibility (#3509)Can Celik
* feat: add stable client endpoint compatibility * fix: keep portable-pty patch checks composable * ci: run maintenance checks in pull requests * fix: reject endpoint errors from terminal clients * feat: keep compatible servers running across updates
2026-09-01fix(windows): preserve native pane key identity (#3503)JJ Liebig
2026-09-01refactor: render the shell in the client (#3487)Can Celik
* feat: add opt-in client-rendered shell * feat: add client-owned shell mouse controls * feat: complete client-owned shell chrome * feat: add client-owned shell settings and notifications * feat: run client shell custom commands * feat: render popup terminals in client shell * feat: add client-owned scrollback and copy mode * fix: preserve client worktree trust defaults * feat: render startup diagnostics in client shell * feat: render onboarding in client shell * feat: render product announcements in client shell * feat: render release notes in client shell * feat: render mobile switcher in client shell * feat: render kitty graphics in client shell * fix: preserve client shell lifecycle coherence * refactor: route client shell commands through endpoint connections * refactor: make the client-rendered shell the default * refactor: remove monolithic launch mode * refactor: complete client-rendered shell cutover * perf: retain client pane surface updates * perf: scale retained pane surface updates * perf: remove remote pane input latency * test: make client shell checks platform-independent * fix: prevent client timer starvation * test: fix client shell platform gates * test: accept retained surfaces in cross-area checks * test: make client mode assertions platform-neutral * fix: badge only outdated integrations
2026-08-31test: stabilize headless metadata expiry check (#3453)akbash
refs #3451 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-21fix: preserve multiline paste in terminal attach (#3056)akbash
refs #3054 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-19fix(perf): eliminate redundant terminal wake work (#2962)Can Celik
* fix(perf): eliminate redundant terminal wake work * fix(perf): harden release benchmark gate * test(perf): strengthen performance guardrails
2026-08-18fix: isolate hidden pane render cadence (#2892)akbash
refs #2890 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-18fix: reap ctrl-click url openers (#2906)akbash
* fix: reap ctrl-click url openers refs #2903 * fix: scope linux opener test import refs #2903 * test: isolate url opener regression refs #2903 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-15feat: make headless terminal size configurable (#2829)Can Celik
refs #2828
2026-08-14fix: speed up alternate-screen history reads (#2426)Can Celik
refs #2387
2026-08-13fix(graphics): support high-dpi direct file frames (#2680)Can Celik
2026-08-11fix(render): compact large terminal redraws (#2675)akbash
refs #2670 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-11fix: wait for agent prompt readiness (#2537)JJ Liebig
* fix: wait for agent prompt readiness refs #2410 * fix: return pane updates after tab bar command refs #2410 --------- Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-11feat: keep the outer terminal window title in sync with the session (#2627)David Heinemeier Hansson
* feat: keep the outer terminal window title in sync with the session Herdr emulates the terminals in its panes, so an OSC 0/OSC 2 title written inside a pane stops at Herdr and never reaches the terminal Herdr itself runs in. That outer title is what window managers read for title bars, tab bars, and group bars, so it kept showing whatever the shell or ssh happened to leave behind. Add `ui.window_title`, rendered from {hostname}, {workspace}, {tab}, {pane}, and {terminal_title}, and push it to the foreground client whenever it changes. It renders on the server, so {hostname} names the machine the panes actually run on rather than the machine a thin remote client runs on, and it is gated on a pending render so an idle loop never pays for it. A title is only remembered as delivered once a foreground client takes it, so the first client to attach is written to rather than skipped. `client.window_title.set` still wins over the configured title, and clearing it now hands the title back to `ui.window_title` instead of only "herdr". * fix: deliver the outer window title to a newly attached client ClientConnected assigns the foreground client directly rather than going through promote_client_to_foreground, so clearing the sent-title cache there missed the case that matters most: attaching a second terminal to a running session. The title was usually unchanged, so the sync returned early and the new terminal kept whatever its shell or ssh had left. Key the cache on the client that received the title instead of relying on every foreground assignment to invalidate it. * perf: keep hidden pane output off the window title path Output from a hidden or background pane sets needs_render without setting needs_full_render, and the retained render plan then skips presentation for it entirely. Syncing the title on needs_render meant every coalesced hidden-output tick still formatted, sanitized, and allocated a title that could not have changed, against the hidden-source early exit AGENTS.md requires. Every input to the title is app state, which always requests a full render, so gate on that instead. The one exception is the focused pane's own terminal title, which arrives through PTY parsing, so ask for a full render when that changes and the configured title uses it. * fix: only cache a window title a client writer received * fix: carry an api set window title across a live handoff * fix: make outer window title updates event-driven --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-10fix(server): prioritize shutdown requests (#2624)Can Celik
refs #2612
2026-08-10feat: add configurable tab bar status (#2586)Can Celik
* feat: show a zoom indicator in the desktop tab bar Reserve the right edge of the tab row for a ZOOM pill while the focused pane is zoomed, matching the accent style of the mode bars. The per-tab Z suffix stays; the pill makes the zoomed state visible at a glance like tmux's status-right flag. * feat: optionally show the hostname in the desktop tab bar Add ui.tab_bar_hostname to display the machine's hostname at the right edge of the tab row, like tmux's #h in status-right. The value resolves where the server renders, so remote sessions show the remote host. Off by default. * fix: strip control characters from the tab bar hostname * fix: hide the hostname when it would squeeze out the tab strip * feat: add configurable tab bar status * fix: harden tab bar status updates * fix: terminate tab bar status process trees * fix: disable status commands on unsupported platforms * fix: skip unchanged status command renders * fix: keep tab bar status opt-in by default --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
2026-08-09test: guard pane-scaled render performanceOgulcan Celik
refs #2550