Files
loki/scripts
g-butandClaude Sonnet 4.6 44d651a19a feat(inject): skip injection when user is actively typing at Zellij prompt
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>
2026-05-15 21:53:25 +02:00
..