46 lines
4.7 KiB
JSON
46 lines
4.7 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"WebFetch(domain:openapi.kiwoom.com)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"ka10001\\\\|ka10004\\\\|ka10005\\\\|ka10024\\\\|순위\\\\|등락\\\\|fluctuation\" | head -50)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=7650 && NR<=7850')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"ka10004\" | head -10)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=6117 && NR<=6500')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=6500 && NR<=6800')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=6800 && NR<=7100')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=7100 && NR<=7400')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"ka10003\" | head -5)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"ping\\\\|Ping\\\\|heartbeat\\\\|PING\\\\|keepalive\\\\|keep.alive\\\\|연결유지\\\\|접속유지\\\\|PINGPONG\\\\|PONG\" | head -20)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"타임아웃\\\\|timeout\\\\|Timeout\\\\|종료\\\\|disconnect\\\\|끊김\\\\|초\\\\|second\" | head -20)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | awk 'NR>=51000 && NR<=51500')",
|
|
"Bash(go build:*)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"로그인\\\\|LOGIN\\\\|login\\\\|인증.*websocket\\\\|websocket.*인증\\\\|LOGINREQ\\\\|loginreq\" | head -20)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"websocket\\\\|WebSocket\" | head -30)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"header\\\\|Header\" | grep -i \"json\\\\|body\\\\|message\\\\|format\\\\|wss\\\\|websocket\" | head -20)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>&1 | grep -n \"LOGIN\\\\|login\\\\|LOGINREQ\\\\|trnm.*LOGIN\\\\|접속\\\\|연결.*순서\\\\|순서.*연결\\\\|인증.*방법\\\\|first.*message\\\\|첫.*메시지\" | head -20)",
|
|
"Bash(brew install:*)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | head -300)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | grep -A 100 -i \"websocket\\\\|웹소켓\\\\|실시간\\\\|LOGIN\\\\|login\\\\|로그인\" | head -200)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | grep -n \"0B\\\\|REG\\\\|REMOVE\\\\|trnm\\\\|실시간\\\\|WebSocket\\\\|websocket\" | head -50)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | sed -n '49900,50200p')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | grep -n \"0B\\\\|REG\\\\|LOGIN\\\\|연결\\\\|접속\\\\|인증\" | grep -v \"목차\\\\|실시간시세\\\\|순위\" | head -40)",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | sed -n '94200,94450p')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | sed -n '94450,94700p')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | sed -n '94930,95100p')",
|
|
"Bash(pdftotext /Users/hayato5246/GolandProjects/stockSearch/kiwoom_api_doc.pdf - 2>/dev/null | sed -n '97100,97300p')",
|
|
"Bash(pip3 install:*)",
|
|
"Bash(pkill -f \"go run main.go\" 2>/dev/null; pkill -f \"stockSearch\" 2>/dev/null; sleep 1; echo \"기존 서버 종료 완료\")",
|
|
"Bash(curl -s \"http://localhost:8080/api/ranking?market=J&dir=up\" | python3 -c \"\nimport sys, json\nstocks = json.load\\(sys.stdin\\)\nprint\\('랭킹 종목 목록:'\\)\nfor i, s in enumerate\\(stocks, 1\\):\n print\\(f' {i:2}. {s[\\\\\"code\\\\\"]} {s[\\\\\"name\\\\\"][:10]:10s} {s[\\\\\"currentPrice\\\\\"]:>8,}원 {s[\\\\\"changeRate\\\\\"]:+.2f}%'\\)\n\")",
|
|
"Bash(curl:*)",
|
|
"Bash(grep:*)",
|
|
"Skill(claude-api)",
|
|
"Bash(ollama list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(docker build:*)",
|
|
"Bash(docker compose:*)",
|
|
"Bash(tree:*)",
|
|
"Bash(go vet:*)"
|
|
]
|
|
}
|
|
}
|