Files
scripts-collection/misc/detect-fff-pi

3 lines
296 B
Bash
Executable File

#!/bin/bash
PIHOME="/home/kokopi/.pi/agent/sessions"; LATEST=$(find "$PIHOME" -name '*.jsonl' -type f -print0 | xargs -0 ls -t 2>/dev/null | head -n 1); echo "Session: $LATEST"; rg -n '"toolName":"find_files"|"toolName":"multi_grep"|"toolName":"grep"' "$LATEST" || echo "No fff tool calls found"