{
"event": "PostToolUse",
"raw_data": {
"session_id": "f0f145c4-ac1d-417a-b15b-271983ae648b",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/f0f145c4-ac1d-417a-b15b-271983ae648b.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "grep -n \"^def \\|^async def \\|^class \" \/var\/www\/scripts\/pipeline\/generate.py",
"description": "List functions in generate.py"
},
"tool_response": {
"stdout": "17:def _repair_json(json_str):\n67:def get_prompt(name):\n78:def get_rag_context(briefing, collection=\"documents\", limit=5):\n100:def get_config_item(item_id, item_type):\n118:def get_semantic_context(chunk_ids):\n179:def get_taxonomy_context(document_ids):\n214:def get_author_profile(profile_id):\n219:def get_contract(contract_id):\n224:def get_structure(structure_id):\n233:def get_order(order_id):\n252:def _parse_new_author_profile(config):\n331:def _parse_new_structure(config):\n396:def build_generation_prompt(briefing, context, profile, contract, structure=None, semantic=None, taxonomy=None):\n567:def call_llm(prompt, model=\"anthropic\", client_name=\"content-studio\"):\n662:def save_version(order_id, content, version_number=1, output_format=\"markdown\"):\n677:def save_sources(order_id, context):\n695:def update_order_status(order_id, status):\n702:def generate_content(order_id, model=\"anthropic\", collection=\"documents\", context_limit=5):\n812:def get_critic(critic_id):\n826:def run_critic(content, critic_id, model=\"anthropic\"):\n910:def run_critique_round(version_id, model=\"anthropic\"):\n985:def revise_content(version_id, model=\"anthropic\"):",
"stderr": "",
"interrupted": false,
"isImage": false
},
"tool_use_id": "toolu_01UbfK9ELStU7fg8RQ5WU9Fb"
}
}