{ "permissions": { "allow": [ "Bash(gh:*)", "Bash(rg:*)", "Bash(fd:*)", "Bash(bat:*)", "Bash(jq:*)", "Bash(sg:*)", "Bash(fzf:*)", "Bash(tree-sitter:*)", "Bash(go:*)", "Bash(go fmt ./...:*)", "Bash(go vet ./...:*)", "Bash(go test ./...:*)", "Bash(git:*)", "mcp__aide__*", "Bash(docker compose build *)", "Bash(ffmpeg -loglevel error -i /home/dzecevic/repos/CamMonitor/testdata/footage/20260101/record/A260101_120000_120015.265 -c:v copy -movflags frag_keyframe+empty_moov -f mp4 /dev/null)", "Bash(ffmpeg -loglevel error -i /home/dzecevic/repos/CamMonitor/footage/record/A260520_153838_153852.265 -c:v copy -movflags frag_keyframe+empty_moov -f mp4 /tmp/test_stream.mp4)", "Bash(echo \"exit: $?\")", "Read(//tmp/**)", "Bash(ffmpeg -loglevel error -ss 0 -i /home/dzecevic/repos/CamMonitor/footage/record/A260520_153838_153852.265 -vframes 1 -vf scale=160:90:force_original_aspect_ratio=decrease -f image2 -vcodec mjpeg /tmp/test_thumb.jpg)", "Bash(ffmpeg -loglevel warning -ss 0 -i /home/dzecevic/repos/CamMonitor/footage/record/A260520_153838_153852.265 -vframes 1 -vf scale=160:90:force_original_aspect_ratio=decrease -f image2 -vcodec mjpeg /tmp/test_thumb.jpg)", "Bash(ffmpeg -loglevel error -i /home/dzecevic/repos/CamMonitor/footage/record/A260520_153838_153852.265 -ss 0 -vframes 1 -vf scale=160:90:force_original_aspect_ratio=decrease -f image2 -vcodec mjpeg /tmp/test_thumb2.jpg)", "Bash(mv /home/dzecevic/repos/CamMonitor/footage/images/* /home/dzecevic/repos/CamMonitor/footage/20260520/images/)", "Bash(mv /home/dzecevic/repos/CamMonitor/footage/record/* /home/dzecevic/repos/CamMonitor/footage/20260520/record/)", "Bash(FOOTAGE_ROOT=./footage DB_PATH=/tmp/cam-debug.db ADMIN_USER=admin ADMIN_PASS=admin go run ./cmd/server)", "Bash(FOOTAGE_ROOT=./footage DB_PATH=/tmp/cam-debug.db ADMIN_USER=admin ADMIN_PASS=admin go run ./cmd/server --listen :8081)", "Bash(echo \"Server PID: $!\")", "Bash(pkill -f \"go run ./cmd/server\")", "Bash(FOOTAGE_ROOT=./footage DB_PATH=/tmp/cam-debug2.db LISTEN_ADDR=:18081 ADMIN_USER=admin ADMIN_PASS=admin go run ./cmd/server)", "Bash(curl -s -c /tmp/cam-cookie.txt -b /tmp/cam-cookie.txt -X POST http://127.0.0.1:18081/login -d 'username=admin&password=admin' -L -o /dev/null -w '%{http_code}')", "Bash(curl -s -c /tmp/cam-cookie.txt -b /tmp/cam-cookie.txt -X POST http://127.0.0.1:18081/login -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=admin&password=admin' -D - -o /dev/null)", "Bash(python3 -c 'import urllib.parse; print\\(urllib.parse.quote\\('\\\\''20260520/record/A260520_153838_153852.265'\\\\'', safe='\\\\''/'\\\\''\\)\\)')", "Bash(curl -v -s -c /tmp/cam-cookie.txt -b /tmp/cam-cookie.txt http://127.0.0.1:18081/thumb/video/__CMDSUB_OUTPUT__ -o /tmp/thumb-response.bin)", "Bash(curl -v -s -c /tmp/cam-cookie.txt -b /tmp/cam-cookie.txt http://127.0.0.1:18081/stream/video/20260520/record/A260520_153838_153852.265 --max-time 5 -o /tmp/stream-response.bin)", "Bash(xxd /tmp/stream-response.bin)", "Bash(curl -s -c /tmp/cam-cookie.txt -b /tmp/cam-cookie.txt http://127.0.0.1:18081/day/20260520/videos)", "Bash(ffprobe *)", "Bash(ffmpeg -encoders)", "Bash(time ffmpeg -loglevel error -i /home/dzecevic/repos/CamMonitor/footage/20260520/record/A260520_153838_153852.265 -t 5 -c:v libx264 -preset ultrafast -crf 28 -an -movflags frag_keyframe+empty_moov -f mp4 /tmp/test_transcode.mp4)", "Bash(FOOTAGE_ROOT=./footage DB_PATH=/tmp/cam-debug3.db LISTEN_ADDR=:18082 ADMIN_USER=admin ADMIN_PASS=admin go run ./cmd/server)", "Bash(curl -s -c /tmp/cam-cookie2.txt -b /tmp/cam-cookie2.txt -X POST http://127.0.0.1:18082/login -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=admin&password=admin' -o /dev/null)", "Bash(curl -s -c /tmp/cam-cookie2.txt -b /tmp/cam-cookie2.txt http://127.0.0.1:18082/stream/video/20260520/record/A260520_153838_153852.265 --max-time 8 -o /tmp/stream_h264.mp4)", "Bash(pkill -f \"cam-debug\")", "Bash(ffmpeg -loglevel error -i /home/dzecevic/repos/CamMonitor/footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 /tmp/stream_h264.mp4)", "Bash(ffmpeg -loglevel error -i footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 /tmp/stream_h264.mp4)", "Bash(echo \"exit:$?\")", "Bash(time ffmpeg -threads 1 -loglevel error -i footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 /dev/null)", "Bash(time ffmpeg -threads 0 -loglevel error -i footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 /dev/null)", "Bash(time ffmpeg -threads 1 -loglevel error -i footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 -y /tmp/bench1.mp4)", "Bash(time ffmpeg -threads 0 -loglevel error -i footage/20260520/record/A260520_153838_153852.265 -c:v libx264 -preset ultrafast -crf 28 -pix_fmt yuv420p -an -movflags frag_keyframe+empty_moov -f mp4 -y /tmp/bench_all.mp4)" ] } }