35 lines
2.3 KiB
JSON
35 lines
2.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(xargs cat *)",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(json.dumps\\(d.get\\('exports', {}\\), indent=2\\)\\)\")",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(json.dumps\\({k: v for k, v in d.items\\(\\) if k not in ['dependencies', 'devDependencies', 'peerDependencies']}, indent=2\\)\\)\")",
|
|
"Bash(podman pod *)",
|
|
"Bash(podman ps *)",
|
|
"Bash(podman inspect *)",
|
|
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\(json.dumps\\(d[0].get\\('NetworkSettings',{}\\), indent=2\\)\\)\")",
|
|
"Bash(podman network *)",
|
|
"Bash(psql postgresql://postgres:postgres@175.15.15.90:5432/toptran -c \"\\\\conninfo\")",
|
|
"Bash(pg_isready -h 175.15.15.90 -p 5432 -U postgres)",
|
|
"Bash(nc -zv 175.15.15.90 5432)",
|
|
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); c=d[0]; print\\('Networks:', list\\(c.get\\('NetworkSettings',{}\\).get\\('Networks',{}\\).keys\\(\\)\\)\\); print\\('Env:', [e for e in c.get\\('Config',{}\\).get\\('Env',[]\\) if 'DB' in e or 'PORT' in e or 'DATABASE' in e]\\)\")",
|
|
"Bash(podman exec *)",
|
|
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('Scripts:', d.get\\('scripts',{}\\)\\); print\\('Deps:', list\\(d.get\\('dependencies',{}\\).keys\\(\\)\\)\\)\")",
|
|
"Bash(podman-compose down *)",
|
|
"Bash(podman-compose up *)",
|
|
"Bash(podman logs *)",
|
|
"Bash(apt-cache show *)",
|
|
"Bash(dpkg -l)",
|
|
"Bash(REACT_NATIVE_DEVTOOLS=false npx expo start)",
|
|
"Bash(REACT_NATIVE_DEVTOOLS=false npx expo start --port 8082)",
|
|
"Read(//home/dev/.cache/dotslash/cb/2a59c5919ce27ef30b55119edf89e556e015ef/React Native DevTools-linux-x64/**)",
|
|
"Bash(perl -i -0pe 's/ try \\\\{/ try {\\\\n const db = await dbPromise;/g' /home/dev/projetos/toptran/toptran-app/src/services/db.ts)",
|
|
"Bash(python3 -c \"import reportlab\")",
|
|
"Bash(python3 -c \"import weasyprint\")",
|
|
"Read(//usr/bin/**)",
|
|
"Bash(chromium --headless --disable-gpu --no-sandbox --print-to-pdf=proposta-toptran.pdf --no-pdf-header-footer file:///home/dev/projetos/toptran/proposta-toptran.html)",
|
|
"Bash(npx tsc *)",
|
|
"Bash(echo \"exit=$?\")"
|
|
]
|
|
}
|
|
}
|