cc-safe-setup 11.3.0 → 11.4.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.
@@ -1,5 +1,5 @@
1
1
  # Session Snapshot (auto-generated)
2
- Updated: 2026-03-24T20:43:46+09:00
2
+ Updated: 2026-03-24T22:17:08+09:00
3
3
 
4
4
  ## Git
5
5
  - Branch: `main`
@@ -7,19 +7,19 @@ Updated: 2026-03-24T20:43:46+09:00
7
7
  ```
8
8
  M .claude/session-snapshot.md
9
9
  ```
10
- - Last commit: 5711024 checkpoint: auto-save 20:43:45
10
+ - Last commit: 98ecdeb checkpoint: auto-save 22:17:06
11
11
 
12
12
  ## Recent Files
13
13
  ```
14
14
  ./.claude/session-snapshot.md
15
15
  ./test.sh
16
16
  ./README.md
17
- ./examples/typosquat-guard.sh
18
- ./examples/typescript-strict-guard.sh
19
- ./examples/git-author-guard.sh
20
- ./examples/permission-cache.sh
17
+ ./examples/crontab-guard.sh
18
+ ./examples/api-endpoint-guard.sh
19
+ ./examples/dependency-version-pin.sh
20
+ ./examples/auto-approve-readonly.sh
21
+ ./examples/max-session-duration.sh
21
22
  ./CHANGELOG.md
22
- ./examples/stale-env-guard.sh
23
- ./examples/test-coverage-guard.sh
23
+ ./examples/typosquat-guard.sh
24
24
  ```
25
25
 
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **One command to make Claude Code safe for autonomous operation.** [日本語](docs/README.ja.md)
8
8
 
9
- 8 built-in + 104 examples = **118 hooks**. 40 CLI commands. 544 tests. 5 languages. [**Hub**](https://yurukusa.github.io/cc-safe-setup/hub.html) · [Cheat Sheet](https://yurukusa.github.io/cc-safe-setup/hooks-cheatsheet.html) · [Builder](https://yurukusa.github.io/cc-safe-setup/builder.html) · [FAQ](https://yurukusa.github.io/cc-safe-setup/faq.html) · [Examples](https://yurukusa.github.io/cc-safe-setup/by-example.html) · [Matrix](https://yurukusa.github.io/cc-safe-setup/matrix.html) · [Playground](https://yurukusa.github.io/cc-hook-registry/playground.html)
9
+ 8 built-in + 104 examples = **118 hooks**. 40 CLI commands. 561 tests. 5 languages. [**Hub**](https://yurukusa.github.io/cc-safe-setup/hub.html) · [Cheat Sheet](https://yurukusa.github.io/cc-safe-setup/hooks-cheatsheet.html) · [Builder](https://yurukusa.github.io/cc-safe-setup/builder.html) · [FAQ](https://yurukusa.github.io/cc-safe-setup/faq.html) · [Examples](https://yurukusa.github.io/cc-safe-setup/by-example.html) · [Matrix](https://yurukusa.github.io/cc-safe-setup/matrix.html) · [Playground](https://yurukusa.github.io/cc-hook-registry/playground.html)
10
10
 
11
11
  ```bash
12
12
  npx cc-safe-setup
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "generator": "cc-safe-setup",
4
- "exported_at": "2026-03-24T11:43:55.322Z",
4
+ "exported_at": "2026-03-24T13:17:16.952Z",
5
5
  "hooks": {
6
6
  "UserPromptSubmit": [
7
7
  {
package/index.mjs CHANGED
@@ -398,6 +398,7 @@ function examples() {
398
398
  'auto-approve-gradle.sh': 'Auto-approve gradle/gradlew build/test',
399
399
  'auto-approve-maven.sh': 'Auto-approve mvn compile/test/verify',
400
400
  'permission-cache.sh': 'Auto-approve previously approved commands in session',
401
+ 'auto-approve-readonly.sh': 'Auto-approve 50+ read-only commands (cat, ls, grep, find)',
401
402
  },
402
403
  'Quality': {
403
404
  'branch-name-check.sh': 'Warn on non-conventional branch names',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-safe-setup",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "One command to make Claude Code safe. 59 hooks (8 built-in + 51 examples). 26 CLI commands: dashboard, create, audit, lint, diff, migrate, compare, generate-ci. 284 tests.",
5
5
  "main": "index.mjs",
6
6
  "bin": {