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
fix: add guards to reject built-in source in hooks message handlers
Add runtime guards in 5 hooks message handlers to reject 'built-in'
source before calling HooksService methods. This fixes TypeScript
error where message.source has type 'global | project | built-in'
but HooksService methods only accept 'global | project'.
Built-in hooks are read-only and cannot be modified, deleted,
reordered, moved, or have their folder opened.
Handlers updated:
- hooks/save
- hooks/delete
- hooks/reorder
- hooks/move
- hooks/openFolder
0 commit comments