{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/python -c \"\nfrom db import Database\ndb = Database()\ndb.connect()\n\n# Alle aktiven Profile anzeigen\ncur = db.execute('''\n SELECT id, type, name, status \n FROM content_config \n WHERE status = \\\"active\\\"\n ORDER BY type, name\n''')\nrows = cur.fetchall()\n\nprint('Aktive content_config Einträge:')\nprint('=' * 60)\ncurrent_type = ''\nfor r in rows:\n if r['type'] != current_type:\n current_type = r['type']\n print(f'\\\\n[{current_type}]')\n print(f' {r[\\\"id\\\"]:3d} | {r[\\\"name\\\"]}')\n\ndb.disconnect()\n\"",
"description": "Verify new profiles in DB"
}
}