Vibe Coding
Tip: PreToolUse Hooks Now Satisfy AskUserQuestion — Enables Headless Claude Code with Custom UI
v2.1.85 resolves a long-standing feature request (multiple GitHub issues dating back months): PreToolUse hooks can now return updatedInput alongside permissionDecision 'allow' for AskUserQuestion events, enabling headless integrations to collect answers via their own UI. Previously, AskUserQuestion couldn't be intercepted or answered by hooks at all, blocking CI/CD and custom dashboard integrations. This is the missing piece for fully autonomous Claude Code pipelines with human-in-the-loop via external interfaces.
↳ Follow the thread