1 line
793 B
JSON
1 line
793 B
JSON
{"content": "{\n \"description\": \"Track file changes in a simple log. Records which files were modified and when for easy tracking of Claude Code activity.\",\n \"hooks\": {\n \"PostToolUse\": [\n {\n \"matcher\": \"Edit|MultiEdit\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"echo \\\"[$(date '+%Y-%m-%d %H:%M:%S')] File modified: $CLAUDE_TOOL_FILE_PATH\\\" >> ~/.claude/changes.log\"\n }\n ]\n },\n {\n \"matcher\": \"Write\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"echo \\\"[$(date '+%Y-%m-%d %H:%M:%S')] File created: $CLAUDE_TOOL_FILE_PATH\\\" >> ~/.claude/changes.log\"\n }\n ]\n }\n ]\n }\n}"} |