22 lines
1.2 KiB
JSON
22 lines
1.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(# Kill all existing uvicorn processes and restart fresh pkill -f \"\"uvicorn app.main\"\" ; sleep 1 rm -f /Users/aaron/source_code/hku-icb-class/backend/classhub.db source .venv/bin/activate && uvicorn app.main:app --host 127.0.0.1 --port 8001 & sleep 3 echo \"\"=== 1. Health ===\"\" curl -s http://127.0.0.1:8001/api/health)",
|
|
"Bash(__NEW_LINE_aa4d9e75e4b994e8__ echo \"=== 2. Get Classes ===\")",
|
|
"Bash(__NEW_LINE_43deffae9fb2cfb0__ echo \"=== 3. Register ===\")",
|
|
"Bash(__NEW_LINE_efb029665c5ac199__ echo \"=== 4. Login as Admin ===\")",
|
|
"Bash(pkill:*)",
|
|
"Bash(npx shadcn@latest init:*)",
|
|
"Bash(npx shadcn@latest add:*)",
|
|
"Bash(npm --prefix /Users/aaron/source_code/hku-icb-class/frontend run build)",
|
|
"Bash(/Users/aaron/source_code/hku-icb-class/frontend/node_modules/.bin/tsc --noEmit --project /Users/aaron/source_code/hku-icb-class/frontend/tsconfig.json)",
|
|
"Bash(test:*)",
|
|
"Bash(/Users/aaron/source_code/hku-icb-class/backend/.venv/bin/python:*)",
|
|
"Bash(.venv/bin/python:*)",
|
|
"Bash(backend/.venv/bin/pip show:*)",
|
|
"Bash(uv run python:*)",
|
|
"Bash(grep:*)"
|
|
]
|
|
}
|
|
}
|