<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tmuxrdr.git/src/detect.rs, branch tmuxrdr</title>
<subtitle>herdr but with less disrespect for the tmux community
</subtitle>
<id>https://git.soarez.net/sz/tmuxrdr.git/atom?h=tmuxrdr</id>
<link rel='self' href='https://git.soarez.net/sz/tmuxrdr.git/atom?h=tmuxrdr'/>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/'/>
<updated>2026-05-30T20:54:41+00:00</updated>
<entry>
<title>refactor: split agent detection by agent</title>
<updated>2026-05-30T20:54:41+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-30T20:54:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=d477341e6af816ff4396042b084a0378ef437b4a'/>
<id>urn:sha1:d477341e6af816ff4396042b084a0378ef437b4a</id>
<content type='text'>
Move screen detection into per-agent modules and keep visible-state arbitration centralized in terminal state.

Tighten Codex prompt-scoped working detection and Claude hook/screen recovery for stale blocked and idle reports.

Add a focused just recipe for single-test runs.

refs #349

refs #352
</content>
</entry>
<entry>
<title>feat: add Qoder CLI integration (#309)</title>
<updated>2026-05-27T14:42:26+00:00</updated>
<author>
<name>Coder Wayne</name>
<email>1418551940@qq.com</email>
</author>
<published>2026-05-27T14:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=bfb9e756a01a8ddf4e20d2451c8316ab33454bb4'/>
<id>urn:sha1:bfb9e756a01a8ddf4e20d2451c8316ab33454bb4</id>
<content type='text'>
* 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 &lt;jlu1318079810@163.com&gt;
Co-authored-by: Can Celik &lt;ogulcancelik@gmail.com&gt;</content>
</entry>
<entry>
<title>fix: reduce idle agent checker CPU</title>
<updated>2026-05-26T11:44:22+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-26T11:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=9eec3029e13b791b8a4954e38d5bb7db6e2ff68f'/>
<id>urn:sha1:9eec3029e13b791b8a4954e38d5bb7db6e2ff68f</id>
<content type='text'>
refs #300
</content>
</entry>
<entry>
<title>fix: detect codex background terminal waits</title>
<updated>2026-05-26T10:53:37+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-26T10:42:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=843653c0f56390373ba018f5f380011e3af3c14b'/>
<id>urn:sha1:843653c0f56390373ba018f5f380011e3af3c14b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add state detection heuristics for GitHub Copilot CLI (#256)</title>
<updated>2026-05-23T00:12:56+00:00</updated>
<author>
<name>LaneBirmingham</name>
<email>150401101+LaneBirmingham@users.noreply.github.com</email>
</author>
<published>2026-05-23T00:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=5954ece9f7e13346a9ae6e7bcabda307280c26ea'/>
<id>urn:sha1:5954ece9f7e13346a9ae6e7bcabda307280c26ea</id>
<content type='text'>
* feat: add github copilot cli state detection

Add robust state detection heuristics for the GitHub Copilot CLI by matching specific interactive prompt combinations, freeform inputs, and thinking status frames.

refs #232

* docs: keep copilot docs staged for next release

---------

Co-authored-by: Can Celik &lt;ogulcancelik@gmail.com&gt;</content>
</entry>
<entry>
<title>fix: detect kiro approval prompts as blocked</title>
<updated>2026-05-22T23:58:34+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-22T23:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=cbcf0e6f5ad3ed81fa96caa528cbef3b37145ac7'/>
<id>urn:sha1:cbcf0e6f5ad3ed81fa96caa528cbef3b37145ac7</id>
<content type='text'>
refs #255
</content>
</entry>
<entry>
<title>fix: arbitrate stale agent state evidence</title>
<updated>2026-05-22T16:55:07+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-22T16:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=062259ba3e060c7463b4896a6f761cdf66d2f8ff'/>
<id>urn:sha1:062259ba3e060c7463b4896a6f761cdf66d2f8ff</id>
<content type='text'>
refs #249
</content>
</entry>
<entry>
<title>fix: detect cursor agent symlink aliases</title>
<updated>2026-05-22T16:25:31+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-22T16:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=c25f116c5365b2a9dcb621432a7f96b3f5160d43'/>
<id>urn:sha1:c25f116c5365b2a9dcb621432a7f96b3f5160d43</id>
<content type='text'>
refs #225
</content>
</entry>
<entry>
<title>fix: detect kimi code cli states</title>
<updated>2026-05-22T11:39:00+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-22T11:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=760529ce3d8a160c1d6ebafe6b53e9c9fe7574ca'/>
<id>urn:sha1:760529ce3d8a160c1d6ebafe6b53e9c9fe7574ca</id>
<content type='text'>
refs #215
</content>
</entry>
<entry>
<title>fix: avoid agent detection from runtime arguments</title>
<updated>2026-05-21T19:17:37+00:00</updated>
<author>
<name>Ogulcan Celik</name>
<email>ogulcancelik@gmail.com</email>
</author>
<published>2026-05-21T19:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/tmuxrdr.git/commit/?id=659badf106786f5611e750de0e4936e47c69a3d4'/>
<id>urn:sha1:659badf106786f5611e750de0e4936e47c69a3d4</id>
<content type='text'>
refs #238
</content>
</entry>
</feed>
