NALU/.claude/settings.local.json
Ricardo Carneiro e01787ee60 Add deploy infrastructure, missing validators, and new features
- Add Docker Swarm deploy stack, CI workflow (.gitea), entrypoint script
- Fix Dockerfile to build Nalu.Web (was pointing to old Nalu.Api path)
- Add validate_name.md and other missing validators to prod
- Add Stripe endpoints, HangfireDashboardAuth, InputGuard, NameLookupService
- Add SuspiciousRateLimiter, En/ pages, Legal/ pages, Seguranca docs
- Add Nalu.Jobs and Nalu.NameImporter projects (were untracked)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 12:31:12 -03:00

79 lines
6.4 KiB
JSON

{
"permissions": {
"allow": [
"Bash(dotnet build:*)",
"Bash(dotnet add:*)",
"Bash(find /c/vscode/qrrapido -type f -name \"*.cs\" -exec grep -l \"api/stripe\\\\|webhook\\\\|/api/\" {} \\\\;)",
"Bash(xargs grep:*)",
"Bash(grep -n \"extracted_value\" C:/vscode/nalu/src/Nalu.Api/Validators/*.md)",
"Bash(grep -n \"extracted_value\\\\|when_certain\\\\|when_uncertain\" C:/vscode/nalu/src/Nalu.Api/Validators/*.md)",
"Bash(grep -n \"MongoDB\\\\|Mongo\\\\|MongoDb\" C:/vscode/qrrapido/*.csproj C:/vscode/qrrapido/**/*.cs)",
"Bash(ctx csharp:*)",
"Bash(cat Data/Models/*.cs)",
"Bash(dotnet list:*)",
"Bash(ls /c/vscode/nalu/*.sln)",
"Bash(find /c/vscode/nalu/src/Nalu.Api -type f '\\(' -name '*.cs' -o -name '*.cshtml' -o -name '*.csproj' -o -name '*.json' '\\)' ! -path '*/bin/*' ! -path '*/obj/*' -exec sed -i 's/Nalu\\\\.Api/Nalu.Web/g' '{}' +)",
"Bash(powershell -Command \"Rename-Item 'C:\\\\vscode\\\\nalu\\\\src\\\\Nalu.Api' 'Nalu.Web'\")",
"Bash(cp:*)",
"Bash(grep -v \"^$\")",
"Bash(python3:*)",
"Bash(grep -rn \"crédito\\\\|credit\\\\|0,00\\\\|R\\\\$\" /c/vscode/nalu/src/Nalu.Web/Pages --include=\"*.cshtml\")",
"Bash(git add:*)",
"Bash(git:*)",
"Bash(grep -v \".cs$\")",
"Bash(npm install:*)",
"Bash(xargs sed:*)",
"Bash(sed -i 's|href=\"mailto:contato@naluai\\\\.site\"|data-email|g' Painel/Index.cshtml)",
"Bash(sed -i 's|>contato@naluai\\\\.site</a>|data-email-keep-text></a>|g' Painel/Index.cshtml)",
"Bash(sed -i 's|<strong>contato@naluai\\\\.site</strong>|<a data-email class=\"font-semibold\"></a>|g' Legal/Termos.cshtml)",
"Bash(sed -i 's|<strong>contato@naluai\\\\.site</strong>|<a data-email class=\"font-semibold\"></a>|g' En/Legal/Terms.cshtml)",
"Bash(sed -i 's|<strong>privacidade@naluai\\\\.site</strong>|<a data-email class=\"font-semibold\"></a>|g' Legal/Privacidade.cshtml)",
"Bash(ctx auto:*)",
"Bash(ls:*)",
"Bash(grep -v \"//.*model\")",
"Bash(dotnet sln add:*)",
"Bash(dotnet run:*)",
"Bash(curl -s \"https://servicodados.ibge.gov.br/api/v2/censos/nomes/%5B%5D?groupBy=sexo\")",
"Bash(curl -s \"https://servicodados.ibge.gov.br/api/v2/censos/nomes/ranking/?groupBy=sexo\")",
"Bash(curl -s \"https://servicodados.ibge.gov.br/api/v2/censos/nomes/MELECO\")",
"Bash(curl -s \"https://servicodados.ibge.gov.br/api/v2/censos/nomes/ranking/?sexo=M\")",
"Bash(curl -s \"https://servicodados.ibge.gov.br/api/v2/censos/nomes/ranking/?sexo=F\")",
"Bash(mongosh nalu:*)",
"Bash(mongosh \"mongodb://localhost:27017/nalu\" --quiet --eval \"db.nomes_br.find\\({},{_id:0,nome:1,genero:1,frequencia:1}\\).sort\\({frequencia:-1}\\).toArray\\(\\)\")",
"Bash(dotnet restore:*)",
"Bash(curl -s \"https://api.nuget.org/v3-flatcontainer/hangfire.mongo/index.json\")",
"Bash(curl -s \"https://api.nuget.org/v3/registration5/hangfire.mongo/1.15.0.json\")",
"Bash(curl -s \"https://api.nuget.org/v3-flatcontainer/hangfire.aspnetcore/index.json\")",
"Bash(powershell -Command '[System.Reflection.Assembly]::LoadFrom\\('\\\\''/c/Users/ricar/.nuget/packages/hangfire.core/1.8.22/lib/netstandard2.0/Hangfire.Core.dll'\\\\''\\).GetTypes\\(\\) | Where-Object { $_.Name -like '\\\\''*Dashboard*'\\\\'' } | Select-Object -ExpandProperty FullName')",
"Bash(powershell -Command '$dll = '\\\\''C:\\\\Users\\\\ricar\\\\.nuget\\\\packages\\\\hangfire.core\\\\1.8.22\\\\lib\\\\netstandard2.0\\\\Hangfire.Core.dll'\\\\''; [System.Reflection.Assembly]::LoadFrom\\($dll\\).GetTypes\\(\\) | Where-Object { $_.FullName -like '\\\\''*Dashboard*'\\\\'' } | Select-Object -ExpandProperty FullName')",
"Bash(powershell -Command ':*)",
"Bash(xargs '-I{}' powershell -noprofile -Command ' try { $a = [System.Reflection.Assembly]::LoadFile\\('\\\\''{}'\\\\''\\) $a.GetTypes\\(\\) | Where-Object { $_.Name -eq '\\\\''DashboardOptions'\\\\'' } | Select-Object FullName } catch {} ')",
"Bash(powershell -noprofile -Command ':*)",
"Bash(grep -E \"http|https|urls|port\" C:/vscode/nalu/src/Nalu.Web/appsettings*.json)",
"Bash(echo \"PID: $!\")",
"Bash(grep -r \"api.key\\\\|ApiKey\\\\|api_key\" C:/vscode/nalu/src/Nalu.Web/appsettings*.json)",
"Bash(curl -s -X POST http://localhost:5282/v1/extract/name -H 'Content-Type: application/json' -H 'X-Api-Key: nalu-test-key-001' -d '{\"agent_input\":\"Como posso te chamar?\",\"user_input\":\"João Silva\",\"agent_context\":\"Você é um agente de atendimento ao cliente.\"}')",
"Bash(curl -v -X POST http://localhost:5282/v1/extract/name -H 'Content-Type: application/json' -H 'X-Api-Key: nalu-test-key-001' -d '{\"agent_input\":\"Como posso te chamar?\",\"user_input\":\"Joao Silva\",\"agent_context\":\"atendimento\"}')",
"Bash(xargs cat:*)",
"Bash(curl:*)",
"Bash(taskkill /PID 33936 /F)",
"Bash(powershell:*)",
"Bash(mongosh mongodb://localhost:27017/naluai --quiet --eval 'db.nomes_br.find\\({nome: {'\\\\''$in'\\\\'': ['\\\\''JOAO'\\\\'','\\\\''CARLOS'\\\\'','\\\\''SILVA'\\\\'','\\\\''MELECO'\\\\'','\\\\''BRACOCURTO'\\\\'']}}, {nome:1, _id:0}\\).toArray\\(\\)')",
"Bash(mongosh --version)",
"Bash(mongo --version)",
"Read(//c/vscode/**)",
"Bash(find /c -maxdepth 3 -name \".gitea\" -type d)",
"Bash(ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 ubuntu@141.148.162.114 'docker stack ls; docker service ls; cat /etc/nginx/sites-available/bcards.site 2>/dev/null || ls /etc/nginx/sites-available/')",
"Bash(ssh:*)",
"Bash(rsync -az --delete --exclude=.git '--exclude=**/bin/' '--exclude=**/obj/' '--exclude=**/.vs/' --exclude=Data/ -e 'ssh -o StrictHostKeyChecking=no' /c/vscode/nalu/ ubuntu@141.148.162.114:/tmp/nalu-build/)",
"Bash(where rsync:*)",
"Bash(scp -o StrictHostKeyChecking=no /tmp/nalu-src.tar.gz ubuntu@141.148.162.114:/tmp/)",
"Bash(scp -o StrictHostKeyChecking=no /c/vscode/nalu/Dockerfile ubuntu@141.148.162.114:/tmp/nalu-build/Dockerfile)",
"Bash(scp -o StrictHostKeyChecking=no /c/vscode/nalu/docker-entrypoint.sh ubuntu@141.148.162.114:/tmp/nalu-build/docker-entrypoint.sh)",
"Bash(scp -o StrictHostKeyChecking=no /c/vscode/nalu/deploy/docker-stack-nalu.yml ubuntu@141.148.162.114:/tmp/nalu-build/deploy/)",
"Bash(tar -czf /tmp/nalu-jobs.tar.gz src/Nalu.Jobs/)",
"Bash(scp -o StrictHostKeyChecking=no /tmp/nalu-jobs.tar.gz ubuntu@141.148.162.114:/tmp/)"
]
}
}