cc-safe-setup 3.2.1 → 3.3.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 (3) hide show
  1. package/README.md +2 -0
  2. package/index.mjs +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -216,6 +216,8 @@ Or browse all available examples in [`examples/`](examples/):
216
216
  - **case-sensitive-guard.sh** — Detect case-insensitive filesystems (exFAT, NTFS, HFS+) and block rm/mkdir that would collide due to case folding ([#37875](https://github.com/anthropics/claude-code/issues/37875))
217
217
  - **compound-command-approver.sh** — Auto-approve safe compound commands (`cd && git log`, `cd && npm test`) that the permission system can't match ([#30519](https://github.com/anthropics/claude-code/issues/30519) [#16561](https://github.com/anthropics/claude-code/issues/16561))
218
218
  - **tmp-cleanup.sh** — Clean up accumulated `/tmp/claude-*-cwd` files on session end ([#8856](https://github.com/anthropics/claude-code/issues/8856))
219
+ - **session-checkpoint.sh** — Save session state to mission file before context compaction ([#37866](https://github.com/anthropics/claude-code/issues/37866))
220
+ - **verify-before-commit.sh** — Block git commit when lint/test commands haven't been run ([#37818](https://github.com/anthropics/claude-code/issues/37818))
219
221
 
220
222
  ## Safety Checklist
221
223
 
package/index.mjs CHANGED
@@ -93,7 +93,7 @@ if (HELP) {
93
93
  npx cc-safe-setup --verify Test each hook with sample inputs
94
94
  npx cc-safe-setup --dry-run Preview without installing
95
95
  npx cc-safe-setup --uninstall Remove all installed hooks
96
- npx cc-safe-setup --examples List 28 example hooks (5 categories)
96
+ npx cc-safe-setup --examples List 30 example hooks (5 categories)
97
97
  npx cc-safe-setup --install-example <name> Install a specific example
98
98
  npx cc-safe-setup --full Complete setup: hooks + scan + audit + badge
99
99
  npx cc-safe-setup --audit Safety score (0-100) with fixes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cc-safe-setup",
3
- "version": "3.2.1",
4
- "description": "One command to make Claude Code safe for autonomous operation. 8 built-in hooks + 27 installable examples. Destructive blocker, branch guard, compound command approver, database wipe protection, and more.",
3
+ "version": "3.3.0",
4
+ "description": "One command to make Claude Code safe for autonomous operation. 8 built-in hooks + 30 installable examples. Destructive blocker, branch guard, compound command approver, database wipe protection, tmp cleanup, and more.",
5
5
  "main": "index.mjs",
6
6
  "bin": {
7
7
  "cc-safe-setup": "index.mjs"