Commit Graph
83 Commits
Author SHA1 Message Date
Ogulcan Celik 2bd334b357 test: shorten pane graphics socket fixture paths 2026-07-15 04:19:28 +03:00
Ogulcan Celik 2c7c8beb07 feat: add floating popup panes
refs #1125
2026-07-15 04:02:14 +03:00
Ogulcan Celik 88370e1516 feat: add isolated pane graphics streaming 2026-07-15 02:32:52 +03:00
Ogulcan Celik d482836a87 test: shorten macos api socket fixture path 2026-07-14 22:14:49 +03:00
Ogulcan Celik b88aa1301e fix: flush live handoff responses before exit 2026-07-14 22:07:06 +03:00
Ogulcan Celik 5cfe5e5e73 feat: add configurable sidebar metadata tokens 2026-07-13 03:30:13 +03:00
Ogulcan Celik d64cf40ca3 fix: keep windows api connections open
refs #1279
2026-07-12 15:00:05 +03:00
Ogulcan Celik 56edcbcba8 feat: expose pane scroll state 2026-07-06 23:06:00 +03:00
ppggffandOgulcan Celik 2bc1724c2d fix: switch prefix ASCII input source on the foreground client (#1016)
* fix: switch prefix ASCII input source on the foreground client

The macOS prefix ASCII-switch ran in the headless server, whose
TISCopyCurrentKeyboardInputSource read is a stale per-process cache
(refreshed only via a main-run-loop notification the server never pumps),
so prefix could leave the terminal on the wrong input source.

Forward it to the foreground client, like clipboard: sync_prefix_input_source
emits AppEvent::PrefixInputSource as an intent; the server forwards it to the
foreground client and the monolithic app applies it in-process via
RealPrefixInputSource, which pumps its main run loop before the stale TIS read.
Key it on Mode::wants_ascii_input so multi-level prefix commands keep ASCII
until returning to the terminal, and restore the IME for rename text entry.

Adds ServerMessage::PrefixInputSource to the already-unreleased protocol 15.

refs #774

* fix: keep prefix input-source switch out of the headless server process

An App-internal drain (the exhaustive drain at the top of
handle_api_request, reachable from prefix-key runtime mutations) can
consume a queued PrefixInputSource intent before the server's
forwarding drain sees it, applying the TIS switch in the headless
server process and stranding the restore state. Gate the in-process
switch on App.local_input_source_switch, disabled by the headless
server alongside the other local side effects, so a swallowed intent
degrades to a skipped switch. Widen the forwarding-bypass maintenance
test to the handle_internal_event_with_prefix_sync wrapper.

refs #774

* docs: clarify prefix input-source comments and flag docs

refs #774

* fix: bump protocol for prefix input source

refs #774

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-07-05 03:25:47 +03:00
Ogulcan Celik 15cab964f3 feat: emit layout update events for runtime layout changes 2026-07-04 16:51:10 +03:00
d0e333451b feat: add mastracode integration (#788)
* feat: add mastracode integration

refs #337

Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-07-04 01:29:42 +03:00
Ogulcan Celik 045f506ec8 fix: keep windows wait connections open
refs #963
2026-07-03 20:38:05 +03:00
Ogulcan Celik 26db26e416 fix: keep remote sessions alive across disconnects 2026-06-30 19:49:55 +03:00
Ogulcan Celik 25aeaa46f6 feat: generate socket protocol schema 2026-06-29 22:27:19 +03:00
Ogulcan Celik 9150ed6268 feat: add session snapshot api 2026-06-29 21:36:48 +03:00
Ogulcan Celik 8b74fb8a12 feat: emit placement mutation events 2026-06-29 20:39:54 +03:00
Ogulcan Celik 1a4e94e57e refactor: route tui mutations through runtime authority 2026-06-29 18:09:25 +03:00
Ogulcan Celik d74ba8ca9e fix: emit plugin lifecycle events from ui worktree flows
refs #662
2026-06-18 16:05:43 +03:00
Eric YueandOgulcan Celik 07261e09be feat: add devin cli detection and restore support (#622)
* feat: add devin cli detection and restore support

refs #606

* fix: keep devin integration session-only

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-06-15 16:50:24 +03:00
Ogulcan Celik dcfc45b45d fix: preserve claude session rotations
refs #620
2026-06-15 02:13:30 +03:00
Ogulcan Celik c91348e68b fix: require plugin min herdr version 2026-06-15 00:49:58 +03:00
Ogulcan Celik 3015ce0f9d fix: stabilize plugin config directories 2026-06-14 23:01:47 +03:00
Ogulcan Celik d3be4f8b43 fix: add best-effort windows plugin support 2026-06-14 20:45:59 +03:00
Ogulcan Celik 7f702a7ad0 test: harden pane identity regression coverage 2026-06-14 19:03:16 +03:00
Ogulcan Celik fbd20ad6e4 feat: add plugin v1 system
Add manifest-driven plugin actions, event hooks, pane entrypoints, link handlers, and host APIs.

Support plugin link, GitHub install, build commands, installed plugin registry, pane movement, runtime context, and plugin docs.
2026-06-14 03:47:07 +03:00
Ogulcan Celik d35c642ef3 feat: add pane move api and cli
refs #299
2026-06-13 01:59:24 +03:00
Ogulcan Celik f7a7da03fc fix: stabilize public pane and tab ids
refs #569
2026-06-12 19:10:09 +03:00
Ogulcan Celik 36a1b7f864 feat: distribute agent detection manifests 2026-06-10 15:33:45 +03:00
Ogulcan Celik df7880c54b feat: update agent lifecycle integrations 2026-06-09 15:59:34 +03:00
5fe527d1be feat: add cursor agent cli integration for session restore (#506)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-06-08 03:26:11 +03:00
Ogulcan Celik 3c2b46d24a feat: add native windows beta support 2026-06-07 16:29:44 +03:00
Ogulcan Celik 4001fd2ec8 feat: improve toast ergonomics
refs #486
2026-06-06 17:42:38 +03:00
Ogulcan Celik b7619db085 feat: expose pane zoom api 2026-06-06 00:41:19 +03:00
Ogulcan Celik 556b16b2df feat: add pane navigation controls
refs #421

refs #330

related discussions:

https://github.com/ogulcancelik/herdr/discussions/422

https://github.com/ogulcancelik/herdr/discussions/438

https://github.com/ogulcancelik/herdr/discussions/442
2026-06-05 22:06:02 +03:00
Ogulcan Celik 9b2749776a feat: add droid integration 2026-06-04 23:17:45 +03:00
qer 66b0f6b2d6 feat: add kimi code cli integration (#463)
* feat: add kimi code cli integration

refs #431

* fix: improve kimi code screen detection

refs #431
2026-06-04 13:52:29 +03:00
Ogulcan Celik b751d102f1 feat: add preview update channel 2026-06-02 21:48:02 +03:00
Ogulcan Celik 295b09ca25 feat: make claude codex opencode hooks session-only 2026-06-02 21:25:32 +03:00
LaneandOgulcan Celik f7d315d494 feat: add github copilot cli integration (#386)
* feat: add github copilot cli integration

refs #232

* docs: restore 0.6.5 changelog and document copilot hook flow

* test: cover copilot camelcase hook payloads

---------

Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-06-02 01:32:05 +03:00
Ogulcan Celik 9e302984cc feat: expose foreground cwd in pane info
refs #345
2026-05-29 20:38:55 +03:00
Ogulcan Celik 2d8b4e2db4 feat: expose agent session refs in api 2026-05-28 05:06:27 +03:00
bfb9e756a0 feat: add Qoder CLI integration (#309)
* feat: add qodercli agent integration

Recognize qodercli as an agent in herdr panes, with basic Idle/Working/
Blocked screen-state detection mirroring the existing claude / codex
patterns. Adds an IntegrationTarget::Qodercli variant, install_target
wiring for shell hooks under src/integration/assets/qodercli/, the
herdr integration install qodercli CLI surface, and sound-override
coverage so qodercli notifications follow the same routing rules as
other agents.

refs #308

* fix: detect qodercli permission required as blocked

refs #308

* fix: detect qodercli ask-user prompt as blocked

refs #308

* refactor: extract has_qodercli_blocked_prompt helper aligning detect_claude

refs #308

* fix: tighten qodercli working state detection

Combine spinner-row strictness and explicit cancel-hint matching, and
stop matching the bare word 'working'. This avoids false positives when
narrative output (logs, commit messages, Markdown) contains the word
'working' or when a stale braille glyph is sitting in the scrollback
from a previous frame.

- has_qodercli_spinner_row: require row-start braille glyph + space +
  alphabetic char so only an active spinner row triggers Working.
- has_qodercli_working_hint: match '(esc to cancel,' as a positive
  signal that survives spinner masking (e.g. when a hook icon replaces
  the spinner glyph).

refs #308

* fix: short-circuit qodercli press-again banners to idle

refs #308

* fix: detect qodercli AskUser dialog by its 'Asking User' title

refs #308

* feat: recognize qodercli, qoderclicn, qoder, qodercn process names

Map qodercli, qoderclicn, qoder, and qodercn process names all to the
Qodercli agent. Covers both international (qodercli/qoder) and CN
(qoderclicn/qodercn) Qoder CLI binary names.

refs #308

* feat: register qodercli hook in qoder settings.json with stdin payload

Address the integration-layer feedback on #308:

- `herdr integration install qodercli` now writes the bundled hook into
  ~/.qoder/hooks/herdr-agent-state.sh AND registers it in
  ~/.qoder/settings.json under the schema documented at
  https://docs.qoder.com/zh/cli/hooks (and confirmed against the
  packages/core/src/hooks/types.ts type definitions in qodercli's own
  source tree). The hooks object is keyed by event name —
  SessionStart / UserPromptSubmit / PreToolUse / PermissionRequest /
  Stop / SessionEnd — with each entry holding a matcher and a list of
  `{ type: "command", command, timeout }` invocations, mirroring how
  install_claude already wires claude code's settings.json.
- The bundled assets/qodercli/herdr-agent-state.sh now reads the hook
  payload from stdin (per HookInput in qodercli's types.ts:
  session_id, transcript_path, cwd, hook_event_name, agent_id, ...).
  No environment variable is consulted to identify the event;
  SubagentStop and subagent release events return early so a recap or
  away-summary frame cannot revive an idle pane, mirroring
  assets/claude/herdr-agent-state.sh.
- uninstall_qodercli reverses the same set of entries while preserving
  any foreign hook entries the user may have configured by hand.
- Tests cover write / idempotency / uninstall-preserves-others and
  lock the stdin contract via a bundled-asset assertion.

refs #308

---------

Co-authored-by: coderwayne <jlu1318079810@163.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-05-27 17:42:26 +03:00
Ogulcan Celik 427c2606d8 fix: deliver agent status subscriptions from event hub 2026-05-26 21:53:50 +03:00
Ogulcan Celik 3750e0bae2 feat: add pane metadata reporting
refs #36
2026-05-26 17:10:28 +03:00
kangal-botandkangal-bot 33e71ed2f5 fix: emit matching agent status subscriptions (#295)
refs #288

Co-authored-by: kangal-bot <kangal-bot@users.noreply.github.com>
2026-05-26 01:35:28 +03:00
Ogulcan Celik d4a5e02e84 feat: hand off ptys during updates 2026-05-25 15:36:50 +03:00
Ogulcan Celik db67e9d74f feat: restore agent sessions
refs #233
2026-05-23 21:37:05 +03:00
Ogulcan Celik 9817820af1 feat: add worktree cli and socket api 2026-05-23 15:19:36 +03:00
Ogulcan Celik ed11779fca feat: add omp integration 2026-05-23 15:19:36 +03:00
Ogulcan Celik 866aaf740e refactor: separate server client boundaries 2026-05-21 20:22:57 +03:00