85 lines
8.1 KiB
JSON
85 lines
8.1 KiB
JSON
{
|
||
"permissions": {
|
||
"allow": [
|
||
"Bash(/tmp/var_api_url.json:*)",
|
||
"Bash(# KEINASYSTEM_API_KEY(シークレット、.envから取得):*)",
|
||
"Bash(TOKEN=\"B7rSUp3LF2uecega4zT1XdsBQOiTpfdj\")",
|
||
"Bash(JOB_ID=\"019c833b-ce64-ac0e-cd4b-00f8d02dfdc2\")",
|
||
"Bash(__NEW_LINE_17f520e50c1d8744__ curl -sk -H \"Authorization: Bearer $TOKEN\" \"http://localhost/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_5491ba1606e037f0__ curl -sk -H \"Authorization: Bearer $TOKEN\" \"http://localhost/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_aab4b5b969b9f00e__ curl -sk -H \"Authorization: Bearer $TOKEN\" \"http://localhost/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_200db6a80207b533__ curl -sk -H \"Authorization: Bearer $TOKEN\" \"http://localhost/api/w/admins/jobs_u/completed/get_result/$JOB_ID\")",
|
||
"Bash(STEP_JOB=\"019c8344-4fc4-f59e-1009-c3733e28b46c\")",
|
||
"Bash(__NEW_LINE_94a6a83a7608650e__ curl -sk -H \"Authorization: Bearer $TOKEN\" \"http://localhost/api/w/admins/jobs_u/completed/get/$STEP_JOB\")",
|
||
"Bash(docker start:*)",
|
||
"Bash(docker stop:*)",
|
||
"WebFetch(domain:tomo1joy.com)",
|
||
"Bash(bash wm-api.sh update-flow f/mail/mail_filter flows/mail_filter.flow.json)",
|
||
"Read(//c/Users/akira/Develop/windmill//**)",
|
||
"Bash(node:*)",
|
||
"Bash(LOCAL_TOKEN=\"vumGZlOutdnH96hyLpjJgeZESQQBrMPy\")",
|
||
"Bash(LOCAL_URL=\"http://localhost\")",
|
||
"Bash(JOB_ID=\"019c897a-001f-9423-bcc2-4dd1513ca359\")",
|
||
"Bash(__NEW_LINE_28c5753346567a25__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_aebb361c1bf1f403__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_aebb361c1bf1f403__ node -e \":*)",
|
||
"Bash(/tmp/fix_mail_filter.js:*)",
|
||
"Bash(python3.exe:*)",
|
||
"Bash(python.exe --version:*)",
|
||
"Bash(__NEW_LINE_9df3e083e916ecc4__ curl -s -X DELETE -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/flows/delete/f/mail/mail_filter\")",
|
||
"Bash(__NEW_LINE_9df3e083e916ecc4__ curl -s -X POST -H \"Authorization: Bearer $LOCAL_TOKEN\" -H \"Content-Type: application/json\" -d @/c/Users/akira/Develop/windmill_workflow/flows/mail_filter.flow.json \"$LOCAL_URL/api/w/admins/flows/create\")",
|
||
"Bash(ping:*)",
|
||
"Bash(JOB_ID=\"019c8982-0485-8114-4df5-bc3a4a646436\")",
|
||
"Bash(__NEW_LINE_a0d7e4c04e832d10__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_a0d7e4c04e832d10__ node -e \":*)",
|
||
"Bash(__NEW_LINE_56ad73a112258673__ echo -n \"GMAIL_LAST_UID: \")",
|
||
"Bash(__NEW_LINE_7f95404dd741e411__ echo -n \"GMAIL2_LAST_UID: \")",
|
||
"Bash(__NEW_LINE_66f9f102f41ebab1__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/variables/get/u%2Fadmin%2FMAIL_FILTER_GMAIL_LAST_UID\")",
|
||
"Bash(JOB_ID=\"019c8985-2778-8fa2-e2e9-1fd1e4d41267\")",
|
||
"Bash(__NEW_LINE_dd886c5da2aa7f2d__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_dd886c5da2aa7f2d__ node -e \":*)",
|
||
"Bash(__NEW_LINE_5be041341285bd08__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/completed/list?parent_job=$JOB_ID\")",
|
||
"Bash(__NEW_LINE_5be041341285bd08__ node -e \"const fs=require\\(''fs''\\); const arr=JSON.parse\\(fs.readFileSync\\(''C:/Users/akira/AppData/Local/Temp/children.json'',''utf8''\\)\\); console.log\\(''count:'', arr.length\\); arr.forEach\\(function\\(j\\){console.log\\(''id:'',j.id\\); console.log\\(''logs:'',\\(j.logs||''''\\).substring\\(0,1000\\)\\);}\\);\")",
|
||
"Bash(JOB_ID=\"019c898b-49d7-8f37-e829-7091e471f2ec\")",
|
||
"Bash(__NEW_LINE_8b6e065779a2e012__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_8b6e065779a2e012__ node -e \"const fs=require\\(''fs''\\); const j=JSON.parse\\(fs.readFileSync\\(''C:/Users/akira/AppData/Local/Temp/job5.json'',''utf8''\\)\\); console.log\\(''status:'', j.type\\); console.log\\(''result:'', JSON.stringify\\(j.result,null,2\\)\\);\")",
|
||
"Bash(JOB_ID=\"019c8de9-8daf-b1c9-b072-49c85f77037c\")",
|
||
"Bash(__NEW_LINE_4d7b80966dee6707__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||
"Bash(__NEW_LINE_4d7b80966dee6707__ node -e \"const fs=require\\(''fs''\\); const j=JSON.parse\\(fs.readFileSync\\(''C:/Users/akira/AppData/Local/Temp/job_latest.json'',''utf8''\\)\\); console.log\\(''status:'', j.type\\); console.log\\(''result:'', JSON.stringify\\(j.result,null,2\\)\\);\")",
|
||
"Bash(then echo \"Windmill found at port $port: $result\" fi done)",
|
||
"Read(//c/Users/akira/**)",
|
||
"Bash(# ローカルWindmillのトークンを確認 \\(wmill CLIの設定\\) cat ~/.wmill/config.json || cat /root/.wmill/config.json || echo \"\"not found\"\" # 環境変数も確認 env)",
|
||
"Bash(# wmill CLI でローカル接続できるか確認 wmill version || echo \"\"wmill CLI not in PATH\"\" # windmill の docker env でトークン確認 cd /c/Users/akira/Develop/windmill && cat .env || cat docker-compose.yml)",
|
||
"Bash(# ローカルのWindmillの既存のVariablesを確認(別のトークンが必要かも) # まずDockerのログを確認してデフォルトadminメールを探す cd /c/Users/akira/Develop/windmill && docker compose logs windmill_server)",
|
||
"Bash(# 最初のトークンで接続確認 TOKEN=\"\"B7rSUp3LF2uecega4zT1XdsBQOiTpfdj\"\" curl -s -H \"\"Authorization: Bearer $TOKEN\"\" http://localhost/api/w/admins/users/whoami | python3 -m json.tool)",
|
||
"Bash(python3:*)",
|
||
"Bash(BASE=\"http://localhost/api/w/admins\")",
|
||
"Bash(__NEW_LINE_ac825b6748572380__ curl -s -H \"Authorization: Bearer $TOKEN\" \"$BASE/variables/list\")",
|
||
"Bash(__NEW_LINE_becbcae8f0f5a9e3__ curl -s -H \"Authorization: Bearer $TOKEN\" \"$BASE/variables/list\" -o /tmp/vars.json)",
|
||
"Bash(git add:*)",
|
||
"Bash(xargs cat:*)",
|
||
"Bash(xargs grep:*)",
|
||
"Bash(TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzczNTY4MTAxLCJpYXQiOjE3NzM0ODE3MDEsImp0aSI6ImM1N2EyNzVjMzkyNTRmMjFiZmUxMzA4ZmU4ZjQ3ZWExIiwidXNlcl9pZCI6Mn0.LOZIpPOHN48YZuf7UBaDrPJfxb12hIm15QRnUPc9sYM\" __NEW_LINE_dd08c8854e486d12__ echo \"=== Fertilization Plans \\(check is_confirmed/confirmed_at\\) ===\" curl -s http://localhost:8000/api/fertilizer/plans/?year=2026 -H \"Authorization: Bearer $TOKEN\")",
|
||
"Bash(python -m json.tool)",
|
||
"Bash(TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzczNTY4MTAxLCJpYXQiOjE3NzM0ODE3MDEsImp0aSI6ImM1N2EyNzVjMzkyNTRmMjFiZmUxMzA4ZmU4ZjQ3ZWExIiwidXNlcl9pZCI6Mn0.LOZIpPOHN48YZuf7UBaDrPJfxb12hIm15QRnUPc9sYM\" __NEW_LINE_0b7fd53b80bd968a__ echo \"=== Stock summary \\(should show reserved\\) ===\" curl -s http://localhost:8000/api/materials/stock-summary/?material_type=fertilizer -H \"Authorization: Bearer $TOKEN\")",
|
||
"Read(//c/Users/akira/Develop/keinasystem_t02/**)",
|
||
"Bash(TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzczNTY4MTAxLCJpYXQiOjE3NzM0ODE3MDEsImp0aSI6ImM1N2EyNzVjMzkyNTRmMjFiZmUxMzA4ZmU4ZjQ3ZWExIiwidXNlcl9pZCI6Mn0.LOZIpPOHN48YZuf7UBaDrPJfxb12hIm15QRnUPc9sYM\" __NEW_LINE_74a785697e4cd919__ echo \"=== After confirm: stock summary ===\" curl -s http://localhost:8000/api/materials/stock-summary/?material_type=fertilizer -H \"Authorization: Bearer $TOKEN\")",
|
||
"Bash(git diff:*)",
|
||
"mcp__serena__find_symbol",
|
||
"mcp__serena__get_symbols_overview",
|
||
"Bash(git status:*)",
|
||
"Bash(npx next:*)",
|
||
"mcp__butler__butler__list_skills",
|
||
"mcp__butler__butler__get_skill_usage",
|
||
"mcp__butler__inspect_runtime_config",
|
||
"mcp__butler__execute_task",
|
||
"Bash(git -C /home/akira/develop/keinasystem remote -v)"
|
||
],
|
||
"additionalDirectories": [
|
||
"C:\\Users\\akira\\AppData\\Local\\Temp",
|
||
"C:\\Users\\akira\\Develop\\keinasystem_t02",
|
||
"/home/akira/develop"
|
||
]
|
||
}
|
||
}
|