Commit Graph
421 Commits
Author SHA1 Message Date
Ogulcan Celik 755ac07043 fix: keep direct graphics bound to its client 2026-09-02 22:25:06 +03:00
JJ Liebig 5a2dee700e fix(windows): remove worktrees with active agent panes (#3532)
* fix(windows): remove worktrees with active agent panes

* fix(windows): defer pane restore until shutdown exits
2026-09-02 18:08:10 +02:00
JJ Liebig 8633a398e6 fix: reliably submit delayed agent prompts (#3506) 2026-09-02 13:34:03 +02:00
Can Celik 6c0bb273d5 feat: support independent multi-client tab views (#3526) 2026-09-02 14:24:33 +03:00
Can Celik cc88b3b8e5 feat: add stable client endpoint compatibility (#3509)
* 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-02 02:45:20 +03:00
Can Celik 207be3c771 refactor: render the shell in the client (#3487)
* 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-09-01 15:48:22 +03:00
Can Celik 095f1337d6 fix: trust worktree repositories per request (#3344)
refs #3044
2026-08-28 18:25:07 +03:00
akbashandakbash-bot d79fd746a9 fix: require explicit workspace group close (#3206)
refs #2874

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-25 23:44:56 +03:00
akbashandakbash-bot 9ff467bda4 fix: route osc 8 file links to plugin handlers (#2942)
refs #2941

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-25 22:02:37 +03:00
akbashandakbash-bot cafd9e5dd0 fix: refresh shared agent manifest caches (#3204)
refs #2711

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-25 01:08:36 +03:00
AlexandOgulcan Celik db6f301f13 feat: add per-mode theme overrides (#2324)
* feat: add per-mode theme overrides

allow [theme.custom.light] and [theme.custom.dark] blocks so custom
overrides can differ per resolved appearance when auto_switch flips.
precedence: theme defaults, then [theme.custom], then the block for
the active mode. configs without the new blocks resolve unchanged.

refs #837

* docs: complete per-mode theme documentation

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-23 00:18:56 +03:00
Can Celik 1d604329b0 fix(windows): preserve non-us shifted text (#3055)
* fix(windows): preserve non-us shifted text

refs #3045

* fix(windows): retain shifted key repeat lifecycle

refs #3045
2026-08-23 00:01:57 +03:00
akbashandakbash-bot 1c76079f8b fix: copy selections before delayed mouse release (#3102)
refs #3100

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-22 01:52:03 +03:00
akbash 25e35f079e fix: preserve focus after background worktree removal (#3099) 2026-08-21 22:42:08 +03:00
Can Celik 2d5f91dd0c fix: match generated characters in prefix bindings (#3085)
refs #3079
2026-08-21 21:09:52 +03:00
7d35ebe7c4 fix: synchronize plugin pane pwd (#2985)
* fix: synchronize plugin pane pwd

refs #2984

* refactor: isolate plugin pwd platform policy

refs #2984

* docs: fix changelog conflict resolution

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-20 02:29:43 +03:00
akbashandakbash-bot 4d17957c43 fix: strip ansi sequences from tab bar status (#3003)
* fix: strip ansi sequences from tab bar status

refs #3001

* docs: clarify tab bar escape sequence scope

refs #3001

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-20 00:17:25 +03:00
Can Celik a5c69beabf fix(perf): eliminate redundant terminal wake work (#2962)
* fix(perf): eliminate redundant terminal wake work

* fix(perf): harden release benchmark gate

* test(perf): strengthen performance guardrails
2026-08-19 04:43:28 +03:00
Can Celik 0bd445020e fix: preserve macOS IME commits in report-all mode (#2947) 2026-08-18 19:30:57 +03:00
akbashandakbash-bot 2d24950ad9 fix: isolate hidden pane render cadence (#2892)
refs #2890

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-18 04:37:11 +03:00
akbashandakbash-bot 76211757ec fix: reap ctrl-click url openers (#2906)
* 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-18 00:11:20 +03:00
Can Celik 2b4b3849ca fix(theme): skip host palette queries under wsl (#2852)
refs #2440
2026-08-16 00:05:24 +03:00
Can Celik 9166e07b31 fix(theme): keep default active rows subtle and add navigate cursor color (#2838)
refs #2792
2026-08-15 15:36:12 +03:00
Can Celik 15539d3dec feat: make headless terminal size configurable (#2829)
refs #2828
2026-08-15 15:09:53 +03:00
Can Celik d2c317adc4 fix: keep active sidebar rows visible (#2794)
refs #2792
2026-08-14 05:01:12 +03:00
akbashandakbash-bot 9351b058f3 fix: reject prompts to blocked agents (#2790)
* fix: reject prompts to blocked agents

refs #2788

* docs: clarify agent prompt timing

refs #2788

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-14 01:22:46 +03:00
37644cabe0 fix: wait for new pane shell readiness (#2774)
* fix: wait for new pane shell readiness

refs #2773

* refactor: share agent startup bounds

refs #2773

* fix: reconcile agent names after startup timeout

refs #2773

* fix: cover agent cleanup scheduling skew

refs #2773

* fix: bound pane shell readiness retries

refs #2773

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-14 00:18:35 +03:00
Michael HacknerandOgulcan Celik f76d7df549 fix: keep tab and sidebar clicks when the terminal reports a stray drag (#2736)
* fix: keep tab and sidebar clicks when the terminal reports a stray drag

This works around a Ghostty bug that causes herdr tabs to be unclickable
in fullscreen mode.

Ghostty on macOS in native fullscreen emits one motion report after a
fresh press in the strip where the menu bar reveals, with the row
shifted to near the bottom of the grid. The cause is upstream: macOS
delivers one mouse event whose y is nearly a window height away from the
real pointer, and Ghostty reports it as it arrives (iTerm2 and
Terminal.app report the same clicks correctly).

Herdr treated the stray report as a real drag and lost the click two
ways: it opened a tab reorder with no drop target, making the release a
no-op, and it handed the release to the pane under the bogus
coordinates.

Now, a press on the tab bar or sidebar owns the gesture until release,
and a tab drag only starts once the pointer is over a real drop target.

refs #796

* fix: scope chrome mouse gestures to their input source

* fix: preserve chrome drag input source

* fix: preserve concurrent chrome presses

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-13 18:00:32 +03:00
Can Celik b7dca4bb2a fix(graphics): support high-dpi direct file frames (#2680) 2026-08-13 17:21:26 +03:00
952729ee03 fix: preserve logical lines in scrollback editor (#2735)
refs #2733

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-13 03:46:52 +03:00
Erik KrogenandCopilot 8b635c9180 fix(agent): focus Copilot before prompting (#2734)
* fix(agent): focus Copilot before prompting

refs #1698

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test(agent): cover stale focus-reporting state

refs #1698

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-13 02:38:43 +03:00
Can Celik d46d9a2275 fix: preserve workspace labels for root repositories (#2727)
refs #2594
2026-08-12 20:00:37 +03:00
JJ LiebigandCan Celik 5600197f00 perf: avoid repeated Git config reads (#2688)
refs #2643

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-12 04:14:59 +03:00
Ogulcan Celik 3f752a72fd fix: synchronously terminate cancelled status commands 2026-08-12 03:52:41 +03:00
d004089dee fix: disambiguate shifted punctuation keybinds (#2676)
refs #2674

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-11 23:08:34 +03:00
JJ LiebigandCan Celik 7ae4b056a0 fix: wait for agent prompt readiness (#2537)
* 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-11 03:24:02 +03:00
David Heinemeier HanssonandOgulcan Celik 350f001320 feat: keep the outer terminal window title in sync with the session (#2627)
* 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-11 03:04:12 +03:00
PISIT KOOLPLUKPOLandCan Celik 4a8a8f9087 fix(input): ignore modified j/k/up/down in session navigator (#2377)
The Char('j')/Char('k')/Down/Up match arms in handle_navigator_key
had no modifier guard, unlike every sibling arm in the same match
block, so Ctrl+K, Alt+J, etc. also moved the navigator selection.

refs #1981

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-10 23:02:21 +03:00
David Heinemeier Hansson f5067ed829 feat: add move tab keybind actions (#2561)
* feat: add move tab keybind actions

Add optional keys.move_tab_previous/move_tab_next actions that reorder
the active tab one position, wrapping at either end. Reuses the
existing tab.move runtime path that mouse drag reordering already
drives.

* fix: exit navigate mode on single-tab move attempts
2026-08-10 01:55:28 +03:00
Can CelikandDavid Heinemeier Hansson e48d83067a feat: add configurable tab bar status (#2586)
* 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-10 01:20:09 +03:00
David Heinemeier Hansson 4e31084495 feat: add direct pane resize keybindings (#2558) 2026-08-09 19:10:52 +03:00
Can Celik 1777e9bba3 feat(graphics): add direct pane frame streaming (#2523)
* feat(graphics): add direct pane frame streaming

* feat(graphics): expose pane visibility

* test(graphics): preserve legacy terminal image output

* fix(graphics): harden streaming lifecycle

* fix(input): preserve mouse releases outside panes
2026-08-09 02:04:39 +03:00
David Heinemeier Hansson 36a8d36a72 feat: make outer pane borders configurable (#2535) 2026-08-09 01:37:57 +03:00
Can Celik 10974c822d feat(input): add per-pane right-click routing (#2504) 2026-08-08 16:26:47 +03:00
akbashandakbash-bot 6f311498ae fix: forward pane terminal bells (#2498)
refs #2453

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-08 02:15:56 +03:00
Can Celik bdb5222eec fix(config): report unknown theme names (#2488)
refs #2452
2026-08-07 20:59:32 +03:00
Can Celik b0723b7906 fix(input): preserve shift in kitty alternate reports (#2479)
refs #2435
2026-08-07 19:07:36 +03:00
3825c0c300 fix(theme): refresh host appearance on focus (#2417)
* fix(theme): refresh host appearance on focus

refs #2416

* fix(input): preserve split appearance replies

refs #2416

* fix(input): retain fragmented appearance reports

refs #2416

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-06 17:38:20 +03:00
fd0e4ff43a feat(copy-mode): add big-word motions (#2270)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-252-234.ca-west-1.compute.internal>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-06 14:30:23 +03:00
Ogulcan Celik add6c14f1e feat(theme): add optional sidebar background 2026-08-05 04:07:11 +03:00