fix(install): preserve opencode non-hook defaults

This commit is contained in:
haelyra
2026-08-30 15:35:47 -04:00
parent 19e2f2b46d
commit 64d0d9436f
2 changed files with 8 additions and 4 deletions
-4
View File
@@ -56,10 +56,6 @@ function isHookRuntimeOperation(operation = {}) {
|| source === '.cursor/hooks'
|| source.startsWith('.cursor/hooks/')
|| source === '.cursor/hooks.json'
|| source === '.opencode/plugins'
|| source.startsWith('.opencode/plugins/')
|| source === '.opencode/dist/plugins'
|| source.startsWith('.opencode/dist/plugins/')
|| destination.endsWith('/hooks/hooks.json')
|| destination.endsWith('/.cursor/hooks.json')
|| destination.includes('/.cursor/hooks/')