Replies: 2 comments
|
Follow-up: validated against live sessions, not fixtures. Ran the branch on macOS with three unrelated jcode panes alongside two claude panes on one server: The discrimination comes straight off the composer line — bottom row of the detection buffer: Second working signal one row above, the animated tool bar: No per-session tuning was needed — the same rule held across three jcode sessions at different message counts and in different repos. jcode 0.61.1, Herdr 0.7.5. |
|
I re-checked your branch description against jcode 0.65.0 on Linux, since you verified it on 0.61.1 on macOS. The composer marker holds across both versions and platforms. All four states from a freshly started pane, last line of The leading number is the turn counter, not part of the marker. I watched a full idle -> working -> idle cycle in that pane, and Two things to add, one of which corrects myself: No OSC 9, confirmed. The 0.65 binary contains no On the missing blocked rule. I set out to contradict you, because the binary does contain One edge case that might save you some work: shell mode ( Tested on jcode 0.65.0 (d847d62e4) with herdr 0.7.5, Linux, session over SSH. |
Uh oh!
There was an error while loading. Please reload this page.
jcode (github.com/1jehuang/jcode) runs as a plain
jcodeprocess, so Herdr treats it as an unknown terminal program today — no state, no rollup, no waits.I built the detection side and validated it against live panes: https://github.com/gloiiire/herdr/tree/feat/detect-jcode
Agent::Jcodeplus a screen manifest, no integration/hooks<n>plus a marker glyph —>ready,…turn in flight,»skill armed,$shell mode. Only…means busy, and the marker is authored in one place (input_prompt()in jcode's TUI), so it should hold across jcode releases.Worth flagging: jcode emits no OSC 9;4 progress, and its OSC title is only a session emoji plus the session title, so neither carries state. A previously closed PR (#1822) added OSC 9 rules matching payloads jcode does not emit.
11 files, ~90 lines.
cargo fmt --check, clippy andcargo nextest run(2953 tests) green. Verified on jcode 0.61.1 in a debug Herdr server: idle -> working -> done.Related: #1848 covers the integration/hook side instead of detection.
Happy to adjust or drop this if it is not a direction you want.
All reactions