dsh-better-chat/lib
QQ a4844006a6 feat: show approval key hints and add Ctrl/Cmd+Enter always-allow
Option A from the preview: the action row shows Enter <allow label> / Ctrl+Enter <always label> / Esc <reject label>. Labels come from the card's real buttons, the hint is pointer-transparent and aria-hidden, disappears when the card is answered and is rebuilt after React re-renders.

Ctrl+Enter (Cmd+Enter on Apple platforms) clicks the always-allow button, only when the card has one; the official card ignores modified keys, so the chord is handled even while focus is inside the card. Typing in an input still suppresses everything.

Adds tests/chat/key-hint.test.ts and extends the approval-key decisions; version 0.4.1.
2026-11-12 22:12:07 +08:00
..
client.js feat: show approval key hints and add Ctrl/Cmd+Enter always-allow 2026-11-12 22:12:07 +08:00
client.js.map feat: show approval key hints and add Ctrl/Cmd+Enter always-allow 2026-11-12 22:12:07 +08:00
host.js feat: merge dsh-better-display reading view into dsh-better-chat 2026-11-12 21:54:14 +08:00