Skip to content

feat(pane): last_human_input_at_unix, a pane input stamp only a person typing in a client moves - #140

Open
colangelo wants to merge 6 commits into
masterfrom
issue/430-human-input-stamp
Open

colangelo wants to merge 6 commits into
masterfrom
issue/430-human-input-stamp

Conversation

@colangelo

Copy link
Copy Markdown
Owner

Adds an optional last_human_input_at_unix next to last_input_at_unix in pane info (API and events). It moves only for keystrokes and pastes from an attached client terminal (local, mobile, remote). API writes (send-text, send-keys, send-input, agent prompt/send/answer, notes, forwarded writes) move only last_input_at_unix.

  • InputSource {Caller, Human} on the pane send path (try_send_bytes_from, try_send_paste_from); try_send_bytes stays the Caller shortcut, so an unmarked path can never count as human.
  • Kept across restore and live handoff like last_input_at_unix (optional, serde-default snapshot field).
  • Schema field optional; docs/next/api/herdr-api.schema.json regenerated. No frozen endpoint codec carries last_input_at_unix; no codec or fixture changed.

Mouse reports and wheel scrolls are not counted as human input (keys, text, pastes and clipboard image paste are).

refs https://gitea.cat-bluegill.ts.net/AC-forks/herdr-max/issues/430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant