mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 15:28:27 +01:00
Adds isUserTypingInTab() that reads /tmp/cockpit-typing-<PANE_ID> marker
files written by ZSH zle hooks. The inject route returns
{ ok: true, blocked: true, reason: "user-typing" } instead of firing
write-chars into a tab where the user is mid-keystroke.
Includes scripts/install-cockpit-hooks.sh for one-shot ~/.zshrc setup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>