{
"event": "PostToolUse",
"raw_data": {
"session_id": "bf8a0fc3-34fa-408b-8067-b725d1fe9b14",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/bf8a0fc3-34fa-408b-8067-b725d1fe9b14.jsonl",
"cwd": "\/var\/www",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/opt\/scripts\/pipeline\/generate.py",
"offset": 395,
"limit": 10
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/opt\/scripts\/pipeline\/generate.py",
"content": " # Build prompt\n prompt = build_generation_prompt(order[\"briefing\"], context, profile, contract, structure)\n\n # Generate content\n content = call_llm(prompt, model)\n\n # Get current version number\n cursor = db.execute(\n \"SELECT MAX(version_number) as max_v FROM content_versions WHERE order_id = %s\", (order_id,)\n )",
"numLines": 10,
"startLine": 395,
"totalLines": 699
}
},
"tool_use_id": "toolu_01RoZyAvHQnAtzX1rP327Ka7"
}
}