- 修复误报问题:默认为停止状态,需要确认后才显示运行中 - 简化检测逻辑,使用更可靠的Promise处理 - 添加简化版状态检测页面 status-checker.html - 减少误判,提高检测准确性
26 lines
613 B
JSON
26 lines
613 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(for dir in frontend_*/)",
|
|
"Bash(done)",
|
|
"Bash(rm:*)",
|
|
"Bash(npm install)",
|
|
"Bash(npm run dev:*)",
|
|
"Bash(lsof:*)",
|
|
"Bash(kill:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(find:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(git init:*)",
|
|
"Bash(git remote add:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git rm:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(for port in 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161)",
|
|
"Bash(do echo -n \"Port $port: \")"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
} |