Commit Graph
802 Commits
Author SHA1 Message Date
Ian Ker-Seymer 2d011c39b4 fix(sidebar): highlight active agent in collapsed sidebar (#2382)
The collapsed sidebar renders agent rows with an unconditional
Style::default().fg(p.overlay0), so the active agent is
indistinguishable from the others. The workspace list directly above
it, and render_agent_detail in the expanded sidebar, both mark the
active entry.

Reuse the existing active treatment: resolve the active entry with the
same is_active_pane call the expanded agent panel uses, then paint the
row background with surface_dim and the position number with text, the
same tokens the collapsed workspace rows already use.

Assisted-By: devx/717e5259-915f-4a7b-af07-6abe46da5b90
2026-08-06 00:55:58 +03:00
Can Celik 2863b71513 feat(windows): support remote attach to unix hosts (#2329)
* feat(windows): support remote attach to unix hosts

* fix(remote): preserve unix bridge behavior
2026-08-05 19:34:24 +03:00
Ogulcan Celik add6c14f1e feat(theme): add optional sidebar background 2026-08-05 04:07:11 +03:00
1f1e434268 fix(config): accept retired agent panel scope (#2295)
refs #2292

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-05 02:18:56 +03:00
d57cefb879 fix(input): preserve modifyOtherKeys key releases (#2303)
refs #2302

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-05 01:19:21 +03:00
be1891ec52 fix(terminal): render halfwidth katakana voiced marks (#2257)
Co-authored-by: oyoguhito <oyoguhito@kamatanoMacBook-Pro.local>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-05 00:48:15 +03:00
Jon KinneyandCan Celik 09cdd88d0a fix(layout): return focus to the pane a split was opened from (#2266)
Closing a focused pane handed focus to the next pane in tree order.
For a pane opened beside another one -- a plugin split, a file viewer,
any transient tool pane -- that is rarely where the user was: it lands
on some unrelated neighbour rather than the pane that opened it.

Track the pane focus came from in TileLayout and prefer it when the
focused pane closes, falling back to tree order when there is no
history, when it points at the pane being closed, or when it points at
a pane that has since gone away. The history lives in the layout, so it
can only ever name a pane in the same tab.

A one-slot history is only sound if internal focus excursions never
write it, so the tree edits that used to bounce focus around now go
through target-taking primitives instead. close_pane removes a
background pane directly, so detach_pane and take_pane_for_move stop
focus-close-refocusing. split_pane splits a target without moving
focus: the runtime split path only focuses the new pane once the spawn
succeeds, which makes a failed split a pure rollback, and the targeted
and unfocused workspace split paths stop fabricating history.
insert_pane_near now takes the focus intent, so an unfocused pane move
leaves the target tab's history alone. The layout-level focused-split
helpers become test-only; production splits all flow through the
target-taking path.

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-05 00:35:15 +03:00
akbash 93e0086f38 fix(ui): search single-tab names in navigator (#2320) 2026-08-04 23:03:16 +03:00
ee8429fb79 fix(input): parse default mouse reports (#2312)
* fix(input): parse default mouse reports

refs #2309

* fix(input): preserve split default mouse reports

refs #2309

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-04 22:35:33 +03:00
akbashandakbash-bot d8838082dc fix(cli): resolve pane query --current from caller (#2298)
refs #2297

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-04 22:26:52 +03:00
Kataoka Katsukiandkataokatsuki 1997b88b3f fix(input): keep pending url clicks across host focus loss (#2291)
Opening a URL raises the browser, which takes focus away from the host
terminal before the mouse release arrives. release_input_source(_headless)
cleared pending_url_click_sources on that focus loss, so the release was
forwarded to the pane and the agent opened the same URL again.

Clear the set in clear_input_source instead, whose only production caller
is remove_client.

refs #2290

Co-authored-by: kataokatsuki <kataokatsuki@users.noreply.github.com>
2026-08-04 17:46:43 +03:00
Can Celik cc9fa47540 feat(ui): add distinct status indicators (#2282)
refs #2260
2026-08-04 17:26:30 +03:00
Ogulcan Celik 4473e39196 fix: detect claude confirmation prompts
refs #2268
2026-08-04 15:43:01 +03:00
akbashandakbash-bot e6fa5289f2 fix(ui): preserve sidebar scroll across clients (#2280)
refs #2255

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-04 15:37:33 +03:00
Can Celik adb50cba9b fix(input): preserve shift-tab in pane automation (#2259)
refs #1561
2026-08-04 05:19:40 +03:00
d78e3d3b51 fix(ui): keep collapsed workspace status visible (#2239)
refs #2216

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-04 00:51:23 +03:00
Michael HacknerandCan Celik eacea2daf0 fix: page keys scroll pane scrollback at zsh and REPL prompts (#2191)
* fix: page keys scroll pane scrollback at zsh and REPL prompts

PageUp/PageDown were forwarded to the pane whenever DECCKM (application
cursor) was on, assuming only primary-screen pagers enable it, but zsh's
line editor also enables DECCKM, as do REPLs such as python3. The result
was PageUp scrolling shell history instead of Herdr scrollback.

Bracketed paste discriminates the two: it means the app accepts typed or
pasted text at a prompt, so line editors enable it and pagers do not.

* test: update page key state fixture

---------

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-03 04:08:47 +03:00
RhysandCan Celik 5eab32da81 fix(pi): restrict state reporting to tui sessions (#2159)
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-03 03:44:44 +03:00
Can Celik 10eb0bc744 fix: propagate host color scheme to pane apps (#2214)
refs #714
2026-08-03 02:05:27 +03:00
Ogulcan Celik cbc31d34a1 fix(input): preserve hover during extended-button drags 2026-08-03 01:49:11 +03:00
Can Celik 0a800b8f2e fix: avoid blocking on foreground cwd checks (#2213)
refs #2206
2026-08-03 00:52:07 +03:00
FlorianandOgulcan Celik 0f14e279a7 fix(cli): report non-UTF-8 arguments instead of panicking (#2207)
* fix(cli): report non-UTF-8 arguments instead of panicking

* fix(cli): avoid echoing malformed arguments

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-02 23:05:23 +03:00
WakaTaira 8901139439 fix(client): query host cell size when the ioctl reports no pixels (#2160) 2026-08-02 16:53:08 +03:00
akbashandOgulcan Celik d742e51530 fix: preserve claude settings formatting (#2089)
refs #2066

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-02 16:03:07 +03:00
akbashandakbash-bot 9a4ce5e13c fix: stop advertising worktree json flag (#2174)
refs #2171

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-01 23:55:04 +03:00
Ogulcan Celik 6fb0d80357 fix(detect): recognize opencode2 as opencode
refs #2169
2026-08-01 23:33:27 +03:00
akbashandakbash-bot bd287b0158 fix: route vscode remote copies through osc52 (#2173)
refs #2015

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-01 23:04:03 +03:00
Can Celik df2cb2c3a5 fix(windows): detect agents across git bash exec boundaries (#2170)
refs #2107
2026-08-01 21:25:20 +03:00
serhat dolmaci 885c9a6b5b fix(socket_paths): remove dead if-branch in derive_client_socket_from_api_socket (#2157) 2026-08-01 19:38:43 +03:00
serhat dolmaci d950fdfe7d fix(input): decode 0x1f as Ctrl+_ not Ctrl+- per ASCII standard (#2165)
* fix(input): decode 0x1f as Ctrl+_ not Ctrl+- per ASCII standard

refs #2164

* fix(input): update control-byte matrix test for 0x1f -> Ctrl+_
2026-08-01 19:34:29 +03:00
Ludovico MagnocavalloandCan Celik 679584fdd4 feat: add antigravity-cli integration (#2087)
* feat: add antigravity_cli integration harness

Register the `antigravity_cli` target, resolve its configuration
directory to `~/.gemini/antigravity-cli/`, wire target actions,
and add lifecycle hook scripts for Unix and Windows.

* feat: support session resume for antigravity-cli

* fix: correct antigravity-cli hook config path, shape, and agent label

Antigravity CLI reads global customizations from ~/.gemini/config, keys
hooks.json by hook name, and only accepts the matcher/hooks wrapper for
the tool events. The previous install wrote event arrays at the top level
of ~/.gemini/antigravity-cli/hooks.json, which agy never reads and would
reject anyway, so no Herdr hook ever ran.

Session reports were dropped for a third reason: the hooks reported the
agent as antigravity-cli, but the server normalizes that to the canonical
label agy before matching, so is_official_agent_source never matched and
agy --conversation resume was unreachable.

- Resolve the config dir to ~/.gemini/config
- Nest Herdr entries under a Herdr-owned "herdr" block that install
  rewrites and uninstall removes, leaving other named hooks untouched
- Emit grouped entries for PreToolUse/PostToolUse and flat handler lists
  for PreInvocation/PostInvocation/Stop
- Report the canonical agy label from both hook assets and match it in
  agent_resume
- Compile-gate the hook asset constants and stop shadowing $args in the
  PowerShell hook
- Document the real directory, that it must already exist, and the
  named-block behavior

refs #1011
refs #1571

* fix: make antigravity-cli integration session-only

antigravity cli cannot express lifecycle safely: there is no blocked
event, postinvocation is skipped on interruption, and stop fires at the
end of a turn rather than on process exit, which left stale state and
released authority at the wrong time.

report only the conversation on preinvocation and let screen detection
own agent state. resume via `agy --conversation <id>` is unchanged.

* fix: update antigravity session after conversation switch

---------

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-01 19:32:47 +03:00
Can Celik f6031f7fb0 feat(ui): make pane scrollbars optional (#2166)
refs #2167
2026-08-01 17:25:43 +03:00
Akira TSURUDAandCan Celik f459a0df31 fix: expand copy-mode word-end window past a final wide glyph (#2145)
point_is_final_atom compared an atom's terminating column against a
word-motion target's starting column. The two are equal for narrow
cells but never for wide ones, so the read window stopped expanding
and copy-mode `e` halted at the soft-wrap boundary on CJK text.

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-01 16:40:57 +03:00
Season Saw f99647b2c2 fix: report a clear cli error when no herdr server is running (#1963)
* fix: report a clear cli error when no herdr server is running

socket cli commands surfaced a raw io::Error debug string
(`Error: Os { code: 2, ... }`) when nothing was listening on the
api socket, which read like a bad --cwd path. map dead-socket
connect failures to a `server_not_running` json error carrying the
resolved socket path, printed once at the edge that surfaces the
error; recovering callers (plugin offline registry fallback, agent
start polling) recognize the marker and keep their existing
behavior.

refs #1941

* fix: map dead-socket errors on the unchecked cli request path

refs #1941

* fix: make server-not-running guidance session-aware

refs #1941
2026-08-01 16:17:23 +03:00
Ogulcan Celik 26a7bc860e fix(windows): preserve semantic escape key taps 2026-08-01 05:08:17 +03:00
Can CelikandJonathan Liebig b76adc155d fix(input): preserve native key lifecycle across routing (#2142)
refs #2077

Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
2026-08-01 04:27:50 +03:00
Ogulcan Celik 8d190eddda chore: remove experiments from settings tui 2026-08-01 03:36:11 +03:00
Can Celik 02fe7d7659 feat: support bottom tab bar placement (#2118)
* feat: support bottom tab bar placement

* fix: preserve mouse cleanup under bottom mode bar

refs #2117
2026-07-31 18:15:55 +03:00
Ogulcan Celik bc1c052d15 fix: read alternate-screen agent history 2026-07-31 16:22:04 +03:00
Ogulcan Celik 7db744ab47 fix(sidebar): keep worktree groups packed 2026-07-31 15:40:20 +03:00
Matt ColesandMatt Coles b4112743cf fix(client): restore terminal on sighup and sigterm
Enable termination-signal handling so SIGHUP and SIGTERM follow the graceful
quit path and restore terminal state. Log handler registration failures and
add PTY coverage for direct SIGHUP and server EOF restoration

Co-authored-by: Matt Coles <macols@amazon.com>
2026-07-31 00:46:01 +03:00
Can Celik 0732039eaf fix: preserve windows sessions after ssh logout (#2098)
* fix: preserve windows sessions after ssh logout

refs #2008

* chore: document windows wmi safety

refs #2008
2026-07-30 23:39:03 +03:00
Wiedzmin a07871a55e fix(omp): support Windows session paths (#2092) 2026-07-30 21:44:25 +03:00
Can Celik ac47b9e679 fix: resume agents after headless restore (#2088)
refs #2064
2026-07-30 19:15:00 +03:00
Can Celik 53199270f6 fix: launch argument-free agents on windows (#2075)
refs #2072
2026-07-30 15:38:56 +03:00
Can Celik 38b7b540e1 fix: add opt-in child-group process detection (#2052)
* fix: add opt-in child-group process detection

refs #1982

* fix: preserve lifecycle probes without foreground groups

refs #1982
2026-07-30 15:14:27 +03:00
akbashandakbash-bot cfa112e741 fix: preserve kitty associated text (#2051)
refs #2020

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-07-30 03:18:16 +03:00
Ogulcan Celik b44b5b1013 chore: finish repository organization migration 2026-07-30 02:45:05 +03:00
BradleyandCan Celik 4cd1481a08 Update rose pine surface_dim colour to "Overlay" (#2002)
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-07-30 01:23:15 +03:00
Ogulcan Celik f6060cf682 fix: scope agent skill installation
refs #2022
2026-07-29 21:21:22 +03:00