{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/mcp-servers\/mcp_db\/infrastructure\/__init__.py",
"content": "\"\"\"Infrastructure layer - Database und Logging\"\"\"\n\nfrom infrastructure.db_connection import DatabaseConnection\n\n# Shared components\nfrom shared.infrastructure import ProtokollLogger, get_logger\n\n__all__ = [\"DatabaseConnection\", \"ProtokollLogger\", \"get_logger\"]\n"
}
}
{
"tool_response": {
"type": "update",
"filePath": "\/var\/www\/mcp-servers\/mcp_db\/infrastructure\/__init__.py",
"content": "\"\"\"Infrastructure layer - Database und Logging\"\"\"\n\nfrom infrastructure.db_connection import DatabaseConnection\n\n# Shared components\nfrom shared.infrastructure import ProtokollLogger, get_logger\n\n__all__ = [\"DatabaseConnection\", \"ProtokollLogger\", \"get_logger\"]\n",
"structuredPatch": [
{
"oldStart": 1,
"oldLines": 5,
"newStart": 1,
"newLines": 8,
"lines": [
" \"\"\"Infrastructure layer - Database und Logging\"\"\"",
"+",
" from infrastructure.db_connection import DatabaseConnection",
"-from infrastructure.protokoll_logger import ProtokollLogger",
" ",
"-__all__ = [\"DatabaseConnection\", \"ProtokollLogger\"]",
"+# Shared components",
"+from shared.infrastructure import ProtokollLogger, get_logger",
"+",
"+__all__ = [\"DatabaseConnection\", \"ProtokollLogger\", \"get_logger\"]"
]
}
],
"originalFile": "\"\"\"Infrastructure layer - Database und Logging\"\"\"\nfrom infrastructure.db_connection import DatabaseConnection\nfrom infrastructure.protokoll_logger import ProtokollLogger\n\n__all__ = [\"DatabaseConnection\", \"ProtokollLogger\"]\n"
}
}