update:extend old scripts + new random ones
This commit is contained in:
2
misc/detect-fff-pi
Executable file
2
misc/detect-fff-pi
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/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"
|
||||
4
misc/go-project-name-replacer
Executable file
4
misc/go-project-name-replacer
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
[ $# -ne 2 ] && { echo "Usage: go-project-name-replacer <old-name> <new-name>"; exit 1; }
|
||||
grep -rl "$1" . | xargs sed -i "s/$1/$2/g"
|
||||
|
||||
Reference in New Issue
Block a user