Sync/dashboard, sanitize content, update config

Add local Claude permissions file; make background.js call syncToDashboard() after each run when config.syncToDashboard is enabled; improve content extraction in content.js by cloning link nodes, removing svg/style elements and stripping review-related text/counts before trimming; update config.py defaults to enable target and gamestop (remove bestbuy), set HEADLESS=True and STEALTH_HEADLESS=True to favor headless environments.
This commit is contained in:
2026-03-28 10:24:25 -04:00
parent 8d382e723f
commit 297cb9b146
4 changed files with 33 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"permissions": {
"allow": [
"Bash(pip --version)",
"Bash(echo \"Exit: $?\")",
"Bash(\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" --version)",
"Bash(\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" -m pip --version)",
"Bash(uv --version)",
"Bash(PYTHON=\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" \"$PYTHON\" -m pip list)",
"Bash(uv run:*)",
"Bash(uv pip:*)",
"Bash(uv venv:*)",
"Bash(/c/Users/hocke/Documents/GitHub/pokemon-stock-checker/.venv/Scripts/python.exe -c \"import flask; print\\(''flask ok''\\)\")",
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(''''Last sync:'''', d[''''last_sync'''']\\); print\\(''''Products:'''', len\\(d[''''products'''']\\)\\); print\\(''''Sample names:''''\\); [print\\('''' -'''', p[''''name''''][:80]\\) for p in d[''''products''''][:5]]\")",
"Bash(PYTHON=\"/c/Users/hocke/Documents/GitHub/pokemon-stock-checker/.venv/Scripts/python.exe\")",
"Bash(\"$PYTHON\" -c \":*)",
"Bash(1 grep:*)"
]
}
}