v5.1.4 (2025-11-07)
Bugfix Release: PostToolUse Hook Schema Compliance
Changes:
- Fixed parameter naming in save-hook to match Claude Code PostToolUse API schema
- Renamed
tool_outputtotool_responsethroughout the codebase - Updated worker-service to handle
tool_responsefield correctly
Technical Details:
- Modified files:
src/hooks/save-hook.ts: Updated interface and parameter destructuringsrc/services/worker-service.ts: Updated observation message handlingplugin/scripts/save-hook.js: Rebuilt with corrected namesplugin/scripts/worker-service.cjs: Rebuilt with corrected names
Why This Matters: The Claude Code PostToolUse hook API provides tool_response not tool_output. This fix ensures proper schema compliance and prevents potential errors when capturing tool executions.
🤖 Generated with Claude Code