@hasna/hooks 0.6.8 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +1 -1
  2. package/bin/index.js +886 -418
  3. package/bin/serve.js +613 -148
  4. package/dist/config.d.ts +7 -5
  5. package/dist/db/pg-migrations.d.ts +1 -1
  6. package/dist/index.js +788 -326
  7. package/dist/openapi.d.ts +216 -0
  8. package/dist/storage.js +34 -34
  9. package/hooks/codewith-native-common.test.ts +25 -25
  10. package/hooks/codewith-native-common.ts +1 -1
  11. package/hooks/hook-autoformat/package.json +1 -1
  12. package/hooks/hook-desktopnotify/package.json +1 -1
  13. package/hooks/hook-envsetup/package.json +1 -1
  14. package/hooks/hook-knowledge-context/README.md +1 -1
  15. package/hooks/hook-knowledge-context/src/hook.test.ts +1 -1
  16. package/hooks/hook-permissionguard/package.json +1 -1
  17. package/hooks/hook-protectfiles/package.json +1 -1
  18. package/hooks/hook-spiral-detector/LICENSE +191 -0
  19. package/hooks/hook-spiral-detector/README.md +23 -0
  20. package/hooks/hook-spiral-detector/package.json +12 -0
  21. package/hooks/hook-spiral-detector/src/hook.test.ts +72 -0
  22. package/hooks/hook-spiral-detector/src/hook.ts +93 -0
  23. package/hooks/hook-workspace-repos-guard/README.md +4 -3
  24. package/hooks/hook-workspace-repos-guard/src/hook.test.ts +7 -7
  25. package/hooks/hook-workspace-repos-guard/src/hook.ts +5 -3
  26. package/hooks/mention-context/src/hasna-mention-context.py +2 -2
  27. package/hooks/mention-context/src/hasna-mention-warm.py +1 -1
  28. package/hooks/pre-bash/README.md +1 -1
  29. package/hooks/prompt-guard/README.md +1 -1
  30. package/hooks/session-start/README.md +1 -1
  31. package/hooks/stop-sync/README.md +1 -1
  32. package/hooks/worktree-guard/README.md +1 -1
  33. package/package.json +10 -6
package/README.md CHANGED
@@ -83,7 +83,7 @@ unwrapped first. See [`hooks/pre-bash/README.md`](hooks/pre-bash/README.md) for
83
83
  the full rules, the deliberate exemptions (`${VAR:?}`, bare `"$(cmd)"` with no
84
84
  trailing separator), and the recommended safe form.
85
85
 
86
- Apply that fragment through `open-configs` or the managed config renderer. A
86
+ Apply that fragment through `configs` or the managed config renderer. A
87
87
  direct write path exists only for explicit local/test use:
88
88
 
89
89
  ```bash