22 lines
1.1 KiB
JSON
22 lines
1.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(bun --version)",
|
|
"Bash(bun add *)",
|
|
"Bash(PORT=3000 bun *)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/app)",
|
|
"Bash(curl -s -X POST http://localhost:3000/api/ideas -H \"Content-Type: application/json\" -d '{\"title\":\"AI recipe planner\",\"description\":\"Plan meals from pantry items\"}')",
|
|
"Bash(curl -s http://localhost:3000/api/ideas)",
|
|
"Bash(curl -s -X POST http://localhost:3000/api/ideas/1/notes -H \"Content-Type: application/json\" -d '{\"body\":\"Could use the Claude API for parsing receipts\"}')",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code} %{content_type}\" http://localhost:3000/styles.css)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code} %{content_type}\" http://localhost:3000/app.js)",
|
|
"Bash(curl -s -X DELETE http://localhost:3000/api/ideas/1)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/api/ideas/1/notes)",
|
|
"Bash(kill %1)",
|
|
"Bash(lsof -ti:3000)",
|
|
"Bash(xargs kill)"
|
|
]
|
|
}
|
|
}
|