← Back to wkappbot-core
wkappbot-core ★★☆

# CDP Prompt Pump — Focusless Enter and ProseMirror Auto-Submit

How the CDP prompt pump works, why ProseMirror ignores JS KeyboardEvent, and how SendPromptFocuslessAsync (DOM.focus + Input.dispatchKeyEvent) bypasses the focus-steal-guard for background Claude tabs.

user/developer
cdp pump prosemirror claude triad focusless

## Steps

1. Pump: ArmPromptPumpAsync sets 200ms setInter...
2. trySend order: form.requestSubmit then butto...
3. ProseMirror (Claude tiptap) ignores syntheti...
4. Fix: SendPromptFocuslessAsync uses CDP DOM.f...
5. InjectToSingle calls ArmPromptPumpAsync afte...
6. Moderator broadcast only goes to pending AIs...
7. 2026-05-06 WATCHDOG WINDOW: When slow prompt...
8. 2026-05-06 WATCHDOG WINDOW: When slow prompt...
9. Verified 2026-05-07: (resolve ts=2026-05-07T...