{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "sleep 5 && curl -s http:\/\/localhost:6333\/collections\/documents | python3 -c \"\nimport sys, json\ndata = json.load(sys.stdin)\nresult = data.get('result', {})\nindexed = result.get('indexed_vectors_count', 0)\npoints = result.get('points_count', 0)\nprint(f'Indexing: {indexed}\/{points} ({100*indexed\/points if points else 0:.1f}%)')\nprint(f'Optimizer: {result.get(\\\"optimizer_status\\\", \\\"N\/A\\\")}')\n\"",
"description": "Check indexing after 5s"
}
}
{
"tool_response": {
"stdout": "Indexing: 0\/1997 (0.0%)\nOptimizer: ok",
"stderr": "",
"interrupted": false,
"isImage": false
}
}