hookstack-cli 0.1.34 → 0.1.35

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 (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  ## Quick start
10
10
 
11
11
  ```bash
12
- npx hookstack-cli@latest install --hooks=secret-detection,destructive-command-guard
12
+ npx hookstack-cli@latest install --hooks=pre-bash-secret-detection,pre-bash-block-destructive
13
13
  ```
14
14
 
15
15
  That's it. The CLI fetches the hooks, shows you what will be installed, and patches your `.claude/settings.json`.
@@ -47,10 +47,10 @@ Skips all prompts — useful in CI or dotfile bootstrap scripts.
47
47
 
48
48
  ```bash
49
49
  # CI bootstrap
50
- npx hookstack-cli@latest install --hooks=secret-detection,git-push-guard --yes --scope=project
50
+ npx hookstack-cli@latest install --hooks=pre-bash-secret-detection,pre-bash-guard-git-push-main --yes --scope=project
51
51
 
52
52
  # CI bootstrap with unit tests (avoids SonarQube gating on new files without tests)
53
- npx hookstack-cli@latest install --hooks=secret-detection,git-push-guard --yes --with-tests
53
+ npx hookstack-cli@latest install --hooks=pre-bash-secret-detection,pre-bash-guard-git-push-main --yes --with-tests
54
54
  ```
55
55
 
56
56
  ---
@@ -79,13 +79,13 @@ Browse and filter the full catalogue at **[hookstack.vercel.app](https://hooksta
79
79
 
80
80
  | Slug | Event | What it does |
81
81
  |---|---|---|
82
- | `secret-detection` | `PreToolUse / Bash` | Blocks commands that would leak API keys |
83
- | `destructive-command-guard` | `PreToolUse / Bash` | Stops `rm -rf /`, `DROP TABLE`, and similar |
84
- | `sensitive-file-protection` | `PreToolUse / Write` | Keeps `.env` and key files untouched |
85
- | `git-push-guard` | `PreToolUse / Bash` | No accidental push straight to `main` |
86
- | `git-context-on-startup` | `SessionStart` | Every session opens with branch + status |
87
- | `auto-format-on-save` | `PostToolUse / Write` | ESLint + Prettier run after every file write |
88
- | `slack-notify-on-stop` | `Stop` | Pings you when the long task finishes |
82
+ | `pre-bash-secret-detection` | `PreToolUse / Bash` | Blocks commands that would leak API keys |
83
+ | `pre-bash-block-destructive` | `PreToolUse / Bash` | Stops `rm -rf /`, `DROP TABLE`, and similar |
84
+ | `pre-edit-protect-paths` | `PreToolUse / Write\|Edit` | Keeps `.env` and key files untouched |
85
+ | `pre-bash-guard-git-push-main` | `PreToolUse / Bash` | No accidental push straight to `main` |
86
+ | `session-start-load-git-context` | `SessionStart` | Every session opens with branch + status |
87
+ | `post-write-autoformat` | `PostToolUse / Write\|Edit` | Prettier runs after every file write |
88
+ | `notification-slack` | `Notification` | Pings you when the agent needs you |
89
89
 
90
90
  ---
91
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hookstack-cli",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "CLI installer for the Hookstack catalogue of Claude Code hooks",
5
5
  "type": "module",
6
6
  "bin": {