176 Commits
Author SHA1 Message Date
Ogulcan Celik d8bb2ebed9 fix: preserve pane size while detached 2026-04-29 23:50:05 +03:00
Ogulcan Celik c950670dca fix: run integration commands without server 2026-04-29 23:24:36 +03:00
Ogulcan Celik eec56a56a9 fix: restore double prefix passthrough in client mode 2026-04-29 23:14:38 +03:00
Ogulcan Celik ded6d7bfa6 feat: add human session attach and list output 2026-04-29 21:58:22 +03:00
Franz BettagandOgulcan Celik 5baf231e07 Add named persistent sessions (#57)
* feat: add named persistent sessions

* feat: add session management commands

* fix: tighten named session stop and override precedence

* fix: handle session help and stop test race

* test: isolate default session env test

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-04-28 20:11:11 +03:00
Yifeng He 22d7bef568 fix: resize w claude code no flicker (#61)
* fix: mouse resize panel failed with claude-code no flicker

* test: run pane mouse reporting drag tests inside tokio runtime

Switch the new horizontal/vertical drag tests to `#[tokio::test]` so
`PaneRuntime::test_with_screen_bytes` has a reactor when it calls
`tokio::spawn`. CI was panicking with "there is no reactor running".

* test: refresh git state in workspace drop slot test

Workspace::test_new caches the parent repo's git branch at construction
time. On master CI the herdr checkout has ref: refs/heads/master in HEAD,
so the cache is populated and workspace_row_height returns 2. On PR CI
actions/checkout uses a detached merge ref, git_branch returns None, row
height becomes 1, and the drop-slot tie-break flips workspace_drop_index_at_row(2)
from Some(0) to Some(1). Refresh git state after pointing identity_cwd at
the per-test temp repo so the cache reflects the temp repo's HEAD.
2026-04-28 13:13:53 +03:00
Ogulcan Celik b6308ef3be feat: notify active panes when terminal is unfocused 2026-04-28 01:05:33 +03:00
Ogulcan Celik 5a61ae2f9d feat: add status command 2026-04-27 22:54:02 +03:00
Ogulcan Celik 0ef94cdbc1 fix: improve claude subagent hook lifecycle
fixes #58
2026-04-27 21:13:14 +03:00
Ogulcan Celik fb4e5a73ff fix: ignore claude subagent hook reports
fixes #58
2026-04-27 17:48:08 +03:00
Ogulcan Celik e9547a8e0d feat: refine live config lifecycle 2026-04-26 17:06:00 +03:00
Ogulcan Celik 3aa7903d28 fix: keep pane background transparent when host color is unknown 2026-04-26 02:15:41 +00:00
Ogulcan Celik 3d1ef155bf feat: add live config reload 2026-04-26 02:07:33 +03:00
Ogulcan Celik 88cc44c789 fix: keep herdr toast delivery in-app 2026-04-25 23:21:42 +03:00
Ogulcan Celik 692327f38b fix: reserve pane scrollbar column 2026-04-25 23:08:01 +03:00
Ogulcan Celik d15fa7aae4 fix: deliver server-approved terminal toasts 2026-04-25 21:40:48 +03:00
Ogulcan Celik 0d5cab85f7 fix: reduce default support log noise 2026-04-25 21:39:19 +03:00
Ogulcan Celik ddb3e04f92 test: add libghostty upgrade contract coverage 2026-04-25 04:16:44 +03:00
Ogulcan Celik fba05502cd fix(opencode): detect question prompt heuristics 2026-04-25 03:45:47 +03:00
mspiegel31 f3c1c4f386 feat(opencode): report blocked state when question tool fires (#51)
* feat(opencode): report blocked state on question.asked event

* docs: add question.asked/replied/rejected to opencode plugin mapping
2026-04-25 03:25:10 +03:00
Ogulcan Celik 4075041804 feat(logging): add robust rotating support logs 2026-04-23 00:48:22 +03:00
Ogulcan Celik e9a3e3784c fix: set a stable terminal identity for panes 2026-04-22 20:58:34 +03:00
Ogulcan Celik 4b482f37a1 feat: add terminal-delivered client notifications 2026-04-22 17:01:25 +03:00
Ogulcan Celik 5063cdf6d1 chore: remove unused test imports 2026-04-22 01:24:34 +03:00
Yifeng HeandCan Celik d2d1cc79ea fix: resolve transparent bg before inverse swap to prevent invisible text (#45)
Shells like zsh highlight pasted text using reverse video (SGR 7). The
render pipeline makes the default background transparent (None) when it
matches the host terminal background. When inverse swaps fg and bg, the
transparent bg becomes fg=None (Color::Reset), which the host terminal
renders as its default foreground — the same hue as the new bg, making
the text invisible.

Resolve None to the actual terminal background color before swapping so
inverse produces correct contrasting colors.

Fixes ogulcancelik/herdr#44

Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-04-22 00:49:24 +03:00
Ogulcan Celik baf5208f8e fix: make startup preview-release test version-independent 2026-04-21 20:39:18 +03:00
Ogulcan Celik 4e45051da0 fix: restore terminal cursor state on client detach 2026-04-21 20:27:36 +03:00
Ogulcan Celik c9fca9fbf7 fix: force repaint after headless runtime size changes 2026-04-21 19:57:29 +03:00
Ogulcan Celik 34138bbc38 fix: restore headless test reliability on macos 2026-04-21 19:11:22 +03:00
Ogulcan Celik d45dd05f75 test: refresh git branch cache in sidebar test 2026-04-21 18:15:12 +03:00
Ogulcan Celik bc410c4261 perf: reduce headless server render overhead 2026-04-21 18:00:59 +03:00
Ogulcan Celik b1c9833b82 fix: stop headless idle spin and skip unnecessary macos probes 2026-04-21 17:37:41 +03:00
Ogulcan Celik f99d51e42e fix: close global menu before detach 2026-04-21 16:56:43 +03:00
Can Celik 3397e1ce29 feat: add persistent server-client sessions
Make herdr persistent by default.

   Launching herdr now starts or reattaches to a background session
   server. Clients can detach and reattach while panes and agent
   processes keep running. Session mode now supports multi-client attach,
   auto-detect startup, and a thin-client/headless-server split.

   This also refactors the large app, ui, input, pane, config,
   workspace, and persistence modules into smaller focused submodules,
   while preserving behavior and colocating tests with the code they
   exercise.

   Upgrade notes:
   - persistence mode is now the default
   - in-app quit detaches the current client instead of stopping the server
   - use `herdr server stop` to stop the background session
   - use `--no-session` for the old single-process behavior
   - default socket paths now live under the config directory
2026-04-21 16:30:04 +03:00
Ogulcan Celik 0b831c8627 feat: allow hook-reported custom agent labels 2026-04-16 22:17:09 +03:00
Ogulcan Celik 318e6a3033 chore: clean up local repo guidance 2026-04-16 21:58:42 +03:00
Ogulcan Celik fc99070a22 fix: only preview newer saved release notes 2026-04-16 21:47:09 +03:00
Ogulcan Celik ef1c6b1497 fix: switch updates to manual preview flow 2026-04-16 01:09:25 +03:00
Ogulcan Celik 6c8e521bd3 fix treat droid mission control as idle 2026-04-14 18:13:08 +03:00
Ogulcan Celik 8cac2c0df4 feat support double prefix passthrough 2026-04-14 02:17:56 +03:00
Ogulcan Celik edaa3a1a09 fix unify app key normalization for enhanced keyboard reporting 2026-04-14 01:04:51 +03:00
Ogulcan Celik 37d5272910 fix highlight active workspace in collapsed sidebar 2026-04-13 23:50:33 +03:00
Ogulcan Celik b24abba471 refactor extract app api and runtime command modules 2026-04-13 23:45:46 +03:00
Ogulcan Celik 1535a7117a feat add custom shell and pane keybind commands 2026-04-13 18:49:37 +03:00
Ogulcan Celik 305d957704 fix input encoding for ctrl+letter in kitty mode 2026-04-13 17:34:13 +03:00
Ogulcan Celik dab18d4b17 fix: tighten tab bar scrolling behavior 2026-04-13 03:38:04 +03:00
Ogulcan Celik 27f4b7482b fix: reserve q for navigate quit only 2026-04-13 02:54:22 +03:00
Ogulcan Celik 3f21ba077b fix: preserve scrollback for droid primary-screen redraws 2026-04-12 01:01:22 +03:00
Ogulcan Celik 90e51f704b feat: support transparent panel chrome 2026-04-11 23:53:21 +03:00
Ogulcan Celik 6598c88d35 fix: prefer native clipboard tools over osc52 fallback 2026-04-11 03:16:28 +03:00