You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE:] Add configurable hooks for custom commands on task events (similar to Claude Code) #7640
This issue might be a duplicate of or closely related to existing issues. Please check:
Hooks for commands (Plugin Commands) #2185: Hooks for commands (Plugin Commands) - An earlier request for hooks functionality focused on plugin command interception and lifecycle
While #2185 is more specific to plugin command hooks, #7640 appears to be a broader feature request for task lifecycle hooks (like Claude Code's implementation). These two issues could potentially be consolidated or addressed as part of a comprehensive hooks system.
Moreover, plugin docs lack detailed explanations of event types and input (output) types. I had to log events during development to understand what data was available. It would be helpful to document key events with their input/output types and field meanings more clearly.
Activity
github-actions commentedon Jan 10, 2026
This issue might be a duplicate of or closely related to existing issues. Please check:
While #2185 is more specific to plugin command hooks, #7640 appears to be a broader feature request for task lifecycle hooks (like Claude Code's implementation). These two issues could potentially be consolidated or addressed as part of a comprehensive hooks system.
Decade-qiu commentedon Jan 11, 2026
I've implemented this feature using OpenCode's plugin system. My plugin
opencode-message-notify(https://github.com/Decade-qiu/opencode-message-notify) provides hooks for: