43 lines
1.7 KiB
JSON
43 lines
1.7 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run:*)",
|
|
"Bash(npm install:*)",
|
|
"Bash(npm config:*)",
|
|
"Bash(ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm install electron --save-dev)",
|
|
"Bash(pkill -f \"electron\")",
|
|
"Bash(pkill -f \"vite\")",
|
|
"Bash(chmod +x:*)",
|
|
"Bash(./start.sh:*)",
|
|
"Bash(pkill -f \"electron.*opsxshell\")",
|
|
"Bash(pkill -f \"vite.*5173\")",
|
|
"Bash(npx @electron/rebuild -f -w better-sqlite3)",
|
|
"Bash(npx:*)",
|
|
"Bash(lsof -i:5173)",
|
|
"Bash(pkill -f \"esbuild\")",
|
|
"Bash(npm search:*)",
|
|
"Bash(npm view:*)",
|
|
"WebFetch(domain:127.0.0.1)",
|
|
"Bash(npm rebuild:*)",
|
|
"Bash(ls -la /Users/loganli/devops/desktop-ui/opsxshell/*.md)",
|
|
"Bash(wc -l /Users/loganli/devops/desktop-ui/opsxshell/src/components/*.tsx)",
|
|
"Bash(npm test:*)",
|
|
"Bash(pkill -f \"Electron\")",
|
|
"Bash(./run.sh)",
|
|
"Bash(pkill -f \"node.*5173\")",
|
|
"Bash(curl -s http://localhost:5173)",
|
|
"Bash(pkill -f electron)",
|
|
"Bash(pkill -f vite)",
|
|
"Bash(curl -s http://localhost:9223/json)",
|
|
"Bash(python3 -c \"import sys,json; data=json.load\\(sys.stdin\\); [print\\(f'{i[\\\\\"title\\\\\"]}: {i[\\\\\"url\\\\\"]}'\\) for i in data]\")",
|
|
"Bash(./run.sh restart:*)",
|
|
"Read(//tmp/**)",
|
|
"Bash(wc -l /Users/loganli/devops/desktop-ui/opsxshell/src/components/*.tsx /Users/loganli/devops/desktop-ui/opsxshell/src/stores/*.ts /Users/loganli/devops/desktop-ui/opsxshell/electron/main.ts /Users/loganli/devops/desktop-ui/opsxshell/electron/services/*.ts)",
|
|
"Bash(git pull *)",
|
|
"Bash(git stash *)",
|
|
"Bash(git checkout *)",
|
|
"Bash(git add *)"
|
|
]
|
|
}
|
|
}
|