Fixing Dropped Prompts in Claude Code UI Mods Using Background Clocks
Calling prompt submission directly inside Claude Code mod buttons or command hooks silently fails to trigger turns. Decoupling the user click into a variable queue flushed by a session clock solves the silent drop. This pattern ensures extensions trigger agent turns consistently.
Why it matters
Prevents silently dropped prompts and killed background processes when building custom UI panels and slash commands for Claude Code.
Open the full story




