cc-hook-registry 5.1.0 → 5.2.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.
- package/index.mjs +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -85,6 +85,9 @@ const REGISTRY = [
|
|
|
85
85
|
{ id: 'no-install-global', name: 'No Global Install', category: 'safety', source: 'cc-safe-setup', trigger: 'PreToolUse', desc: 'Block npm -g and system-wide pip', tags: ['npm', 'pip', 'global', 'system'], install: 'npx cc-safe-setup --install-example no-install-global' },
|
|
86
86
|
{ id: 'git-tag-guard', name: 'Git Tag Guard', category: 'quality', source: 'cc-safe-setup', trigger: 'PreToolUse', desc: 'Block pushing all tags at once', tags: ['git', 'tag', 'version', 'release'], install: 'npx cc-safe-setup --install-example git-tag-guard' },
|
|
87
87
|
{ id: 'npm-publish-guard', name: 'NPM Publish Guard', category: 'quality', source: 'cc-safe-setup', trigger: 'PreToolUse', desc: 'Version check before npm publish', tags: ['npm', 'publish', 'version'], install: 'npx cc-safe-setup --install-example npm-publish-guard' },
|
|
88
|
+
{ id: 'protect-claudemd', name: 'Protect CLAUDE.md', category: 'safety', source: 'cc-safe-setup', trigger: 'PreToolUse', desc: 'Block edits to CLAUDE.md and settings files', tags: ['claudemd', 'config', 'protect'], install: 'npx cc-safe-setup --install-example protect-claudemd' },
|
|
89
|
+
{ id: 'no-curl-upload', name: 'No Curl Upload', category: 'safety', source: 'cc-safe-setup', trigger: 'PreToolUse', desc: 'Warn on curl POST/upload', tags: ['curl', 'upload', 'exfiltration'], install: 'npx cc-safe-setup --install-example no-curl-upload' },
|
|
90
|
+
{ id: 'max-file-count-guard', name: 'Max File Count', category: 'quality', source: 'cc-safe-setup', trigger: 'PostToolUse', desc: 'Warn when 20+ new files per session', tags: ['files', 'count'], install: 'npx cc-safe-setup --install-example max-file-count-guard' },
|
|
88
91
|
|
|
89
92
|
// External projects
|
|
90
93
|
{ id: 'safety-net', name: 'Safety Net (Full Suite)', category: 'safety', source: 'kenryu42/claude-code-safety-net', trigger: 'PreToolUse', desc: 'TypeScript safety hooks with configurable severity levels', tags: ['typescript', 'safety', 'configurable'], install: 'npx @anthropic-ai/claude-code-safety-net', stars: 1185 },
|