[PR #7672] feat: add notify hook system with input_required and timeout support #12473

Open
opened 2026-02-16 18:17:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7672

State: open
Merged: No


Closes #5515
Related to #7640

Summary

  • Added new input_required hook type to the config schema for notifications when input is needed
  • Implemented configurable timeout option for all hooks (default 30000ms)
  • Integrated hook initialization during instance bootstrap

Test plan

  • Verify hook configuration is properly loaded from config
  • Test input_required hook fires when session requires user input
  • Test timeout configuration works as expected
  • Verify hooks don't block normal operation

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7672 **State:** open **Merged:** No --- Closes #5515 Related to #7640 ## Summary - Added new `input_required` hook type to the config schema for notifications when input is needed - Implemented configurable timeout option for all hooks (default 30000ms) - Integrated hook initialization during instance bootstrap ## Test plan - [ ] Verify hook configuration is properly loaded from config - [ ] Test input_required hook fires when session requires user input - [ ] Test timeout configuration works as expected - [ ] Verify hooks don't block normal operation 🤖 Generated with [Claude Code](https://claude.ai/code)
yindo added the pull-request label 2026-02-16 18:17:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12473