2026-09-22 10:42:39 +00:00
|
|
|
{
|
|
|
|
|
"permissions": {
|
|
|
|
|
"allow": [
|
|
|
|
|
"Bash(claude mcp *)",
|
|
|
|
|
"Bash(python3 *)",
|
|
|
|
|
"mcp__n8n__search_workflows",
|
|
|
|
|
"mcp__n8n__get_workflow_details",
|
|
|
|
|
"mcp__n8n__search_executions",
|
|
|
|
|
"mcp__n8n__get_execution",
|
|
|
|
|
"mcp__n8n__get_workflow_history",
|
|
|
|
|
"mcp__n8n__update_workflow",
|
|
|
|
|
"mcp__n8n__execute_workflow",
|
|
|
|
|
"mcp__n8n__publish_workflow",
|
|
|
|
|
"Bash(node /tmp/check-po-state.mjs)",
|
|
|
|
|
"Bash(node scripts/_tmp-check-po-state.mjs)",
|
|
|
|
|
"Bash(kill 59938)",
|
|
|
|
|
"Bash(N8N_INGEST_SECRET=test-secret nohup npm run dev)",
|
|
|
|
|
"Bash(curl -s -o /dev/null -w \"Port 6004: %{http_code}\\\\n\" --max-time 3 http://localhost:6004/)",
|
|
|
|
|
"Bash(kill 97248)",
|
|
|
|
|
"Bash(grep -E \"^\\(src|app|lib|components\\)$\")",
|
|
|
|
|
"Bash(git *)",
|
|
|
|
|
"Bash(curl -s -o /tmp/prod-health.txt -w \"HTTP %{http_code}\\\\n\" https://mega.dash.apphub.co.za/api/health)",
|
|
|
|
|
"Bash(curl *)",
|
|
|
|
|
"Bash(npm install *)",
|
|
|
|
|
"Bash(node *)",
|
|
|
|
|
"Bash(npx tsx *)",
|
|
|
|
|
"Bash(rm -rf /Volumes/EXT/DEPLOYMENT)",
|
|
|
|
|
"Read(//Volumes/EXT/DEPLOYMENT/**)",
|
|
|
|
|
"Bash(ENABLE_CHAT='' node -e ' *)",
|
|
|
|
|
"Bash(/Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/node_modules/.bin/tsc --noEmit --project /Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/tsconfig.json)",
|
|
|
|
|
"Bash(pkill -f \"next dev\")",
|
|
|
|
|
"Bash(/Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/node_modules/.bin/tsx --env-file=/Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/.env.local -e \"import\\('./src/lib/agent/load.ts'\\).then\\(async m => { try { const r = await m.loadPurchaseOrders\\({ verified: false }\\); console.log\\('OK:', r.length\\); } catch \\(e\\) { console.log\\('ERR:', e.message ?? e\\); console.log\\('data:', JSON.stringify\\(e?.response?.data ?? null\\)\\); console.log\\('status:', e?.status\\); } }\\)\" 2>&1 | tail -10)",
|
|
|
|
|
"Bash(/Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/node_modules/.bin/tsx --env-file=/Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/.env.local -e ' *)",
|
|
|
|
|
"Bash(echo \"exit=$?\")",
|
|
|
|
|
"Bash(agent-browser screenshot *)",
|
|
|
|
|
"Bash(xxd /Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/src/lib/metrics/index.ts)",
|
|
|
|
|
"Bash(grep -n \"ref={fileRef}\\\\|type=\\\\\"button\\\\\"\\\\\\\\s*$\\\\|aria-label=\\\\\"Upload\" /Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE/src/app/dashboard/chat/chat-view.tsx)",
|
|
|
|
|
"Bash(grep *)",
|
|
|
|
|
"Bash(./node_modules/.bin/tsc --noEmit --project tsconfig.json)",
|
|
|
|
|
"Bash(cd *)",
|
2026-09-23 21:37:37 +00:00
|
|
|
"Bash(echo *)",
|
|
|
|
|
"Bash(echo \"--- MEGAIFRASTRUCTURE root ---\"; ls /Volumes/EXT/DEVELOPMENT/MEGAIFRASTRUCTURE; echo \"--- check for WFDASH ---\"; ls /Volumes/EXT/DEVELOPMENT-FORGEJO/ 2>/dev/null)",
|
|
|
|
|
"Bash(xargs -I{} echo {})",
|
|
|
|
|
"Skill(agent-browser)",
|
|
|
|
|
"mcp__n8n__validate_node_config",
|
|
|
|
|
"Bash(agent-browser wait *)",
|
|
|
|
|
"Bash(agent-browser click *)",
|
|
|
|
|
"Bash(agent-browser read_page -i -c)",
|
|
|
|
|
"Bash(agent-browser find *)",
|
|
|
|
|
"Bash(agent-browser fill *)",
|
|
|
|
|
"Bash(agent-browser get *)",
|
|
|
|
|
"Bash(agent-browser get_page_text)",
|
|
|
|
|
"Bash(agent-browser skills *)",
|
2026-09-25 00:59:16 +00:00
|
|
|
"Bash(agent-browser dialog *)",
|
2026-10-04 19:53:32 +00:00
|
|
|
"Bash(lsof -nP -iTCP:6004 -sTCP:LISTEN)",
|
|
|
|
|
"Bash(rg -n \"isTerminalCandidate|terminal\" src/lib/dn-pipeline/run-staged.ts src/lib/dn-pipeline/*.ts)",
|
|
|
|
|
"Bash(rg -n \"export function assemblePages\" -A 40 src/lib/dn-pipeline/*.ts)",
|
|
|
|
|
"Bash(rg -rn \"function assemblePages\" src/lib/dn-pipeline/)",
|
2026-10-10 22:03:38 +00:00
|
|
|
"Bash(lsof -iTCP -sTCP:LISTEN -P)",
|
2026-10-29 21:44:09 +00:00
|
|
|
"mcp__24e2ddd3-bc56-4f86-bbda-f6cee6e48fc3",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'nproc; free -h; swapon --show; echo; docker stats --no-stream --format \"table {{.Name}}\\\\t{{.CPUPerc}}\\\\t{{.MemUsage}}\" | head -40; echo; ps aux --sort=-%mem | head -8 | cut -c1-160; echo; uptime; df -h / | tail -1')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'docker stats --no-stream --format \"{{.MemUsage}}|{{.Name}}\" | head -3; docker ps --format \"{{.Names}}\" | head -2')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'docker stats --no-stream --format \"{{.MemUsage}}|{{.Name}}\" | while IFS=\"|\" read m n; do echo \"$m|$n|$\\(docker inspect -f \"{{index .Config.Labels \\\\\"coolify.name\\\\\"}}\" $n\\)\"; done')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'set -e; test ! -e /swap2.img; fallocate -l 8G /swap2.img; chmod 600 /swap2.img; mkswap /swap2.img; swapon /swap2.img; grep -q \"^/swap2.img\" /etc/fstab || echo \"/swap2.img none swap sw 0 0\" >> /etc/fstab; swapon --show; free -h; df -h / | tail -1')",
|
|
|
|
|
"Bash(docker version *)",
|
|
|
|
|
"Bash(docker buildx *)",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'uname -m; docker ps --format \"{{.Names}} {{.Image}}\" | grep -i forgejo')",
|
|
|
|
|
"Bash(docker image *)",
|
|
|
|
|
"Bash(docker save *)",
|
|
|
|
|
"Bash(gzip)",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'gunzip | docker load && docker images megainfra-test --format \"{{.Repository}}:{{.Tag}} {{.Size}}\"; free -h | head -2')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'set -e; docker ps -a --format \"{{.Names}}\" | grep -qx local-registry || docker run -d --name local-registry --restart unless-stopped -p 127.0.0.1:5000:5000 registry:2; sleep 3; docker tag megainfra-test:local localhost:5000/megainfra-test:local; docker push localhost:5000/megainfra-test:local 2>&1 | tail -3; curl -s localhost:5000/v2/_catalog; echo; docker stats --no-stream --format \"{{.Name}} {{.MemUsage}}\" local-registry')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'live=$\\(docker ps --format \"{{.Names}}\" | grep ^d4okjtuos4i7ukgkib91ijmp\\); test=$\\(docker ps --format \"{{.Names}} {{.Image}}\" | grep megainfra-test | cut -d\" \" -f1\\); echo \"live=$live test=$test\"; docker inspect -f \"{{range .Config.Env}}{{println .}}{{end}}\" $live | cut -d= -f1 | sort > /tmp/live.env; docker inspect -f \"{{range .Config.Env}}{{println .}}{{end}}\" $test | cut -d= -f1 | sort > /tmp/test.env; echo \"--- in live, missing from test:\"; comm -23 /tmp/live.env /tmp/test.env | grep -vE \"^\\(PATH|NODE_|YARN_|HOSTNAME|HOME|PORT|NEXT_TELEMETRY|COOLIFY_|SOURCE_COMMIT\\)\"; echo \"--- test only:\"; comm -13 /tmp/live.env /tmp/test.env | grep -vE \"^\\(PATH|NODE_|YARN_\\)\"; rm /tmp/live.env /tmp/test.env')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'docker logs --tail 25 30du0fbu9jllu6qwzjwjpgtj-20261029T201406 2>&1 | cut -c1-220')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'docker inspect -f \"{{range \\\\$k,\\\\$v := .Config.Labels}}{{println \\\\$k \\\\$v}}{{end}}\" 30du0fbu9jllu6qwzjwjpgtj-20261029T201406 | grep -E \"rule|entrypoints|tls\" | cut -c1-200')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'docker ps --format \"{{.Names}}\" | grep -i forgejo; for c in $\\(docker ps --format \"{{.Names}}\" | grep -i forgejo\\); do docker inspect -f \"{{range .Config.Env}}{{println .}}{{end}}\" $c | grep -iE \"ROOT_URL|DOMAIN\" ; done')",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'curl -sS -m 15 -o /dev/null -w \"from VPS: HTTP %{http_code}\\\\n\" https://forgejo.apphub.co.za/v2/')",
|
|
|
|
|
"Bash(docker tag *)",
|
|
|
|
|
"Bash(docker push *)",
|
|
|
|
|
"Bash(ssh -o ControlPath=/tmp/cm-vps.sock -o BatchMode=yes root@169.239.180.130 'uptime; free -h | head -3; docker stats --no-stream --format \"{{.Name}} {{.CPUPerc}} {{.MemUsage}}\" | sort -k2 -rn | head -4')",
|
|
|
|
|
"Bash(cd /Volumes/EXT/DEVELOPMENT/REA/FORGEJO-DESKTOP; sed -n 1,90p README.md; echo ====; find src -type f | grep -v node_modules | head -60; wc -l src/main/*.ts 2>/dev/null | tail -15)"
|
2026-09-22 10:42:39 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|