@paulduvall/claude-dev-toolkit 0.0.1-alpha.15 → 0.0.1-alpha.17

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/hooks/README.md CHANGED
@@ -100,7 +100,7 @@ The following hooks provide logging, validation, and cleanup at various Claude C
100
100
  | `pre-commit-test-runner.sh` | PreToolUse (Bash) | Auto-detects test framework, blocks commits on failure |
101
101
  | `pre-write-security.sh` | PreToolUse (Write) | Security scan before file writes |
102
102
  | `verify-before-edit.sh` | PreToolUse (Edit/Write) | Warns about fabricated references (non-blocking) |
103
- | `on-error-debug.sh` | OnError | Debug context capture on errors |
103
+ | `on-error-debug.sh` | Manual invocation | Debug context capture on errors |
104
104
  | `subagent-trigger.sh` | PostToolUse (*) | Triggers subagent workflows |
105
105
  | `subagent-trigger-simple.sh` | PostToolUse (*) | Simplified subagent trigger |
106
106
 
@@ -4,7 +4,7 @@ set -euo pipefail
4
4
  # Claude Code Hook: Error Handling Trigger
5
5
  #
6
6
  # Purpose: Lightweight trigger for automatic debugging assistance on errors
7
- # Trigger: OnError events or manual invocation during debugging sessions
7
+ # Trigger: Manual invocation or PostToolUse (no OnError hook event exists in Claude Code)
8
8
  # Approach: Capture error context and delegate to debug-specialist subagent
9
9
  #
10
10
  # This hook provides immediate debugging help by gathering error context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paulduvall/claude-dev-toolkit",
3
- "version": "0.0.1-alpha.15",
3
+ "version": "0.0.1-alpha.17",
4
4
  "description": "Custom commands toolkit for Claude Code - streamline your development workflow",
5
5
  "author": "Paul Duvall",
6
6
  "license": "MIT",
@@ -28,12 +28,11 @@ hooks_configuration:
28
28
  blocking: false
29
29
  description: "Log file modifications"
30
30
 
31
- OnError:
32
- - hooks:
33
- - command: "~/.claude/hooks/on-error-debug.sh"
34
- blocking: false
35
- description: "Automatic debugging via debug-specialist subagent"
36
-
31
+ # NOTE: There is no "OnError" hook event in Claude Code's schema.
32
+ # Valid hook events: PreToolUse, PostToolUse, Notification, Stop,
33
+ # SubagentStop, UserPromptSubmit, PreCompact, SessionStart, SessionEnd.
34
+ # Use on-error-debug.sh via manual invocation or PostToolUse instead.
35
+
37
36
  custom:
38
37
  pre-commit:
39
38
  command: "~/.claude/hooks/pre-commit-quality.sh"