Commit Graph

6 Commits

Author SHA1 Message Date
Adriano Dal Pastro 98ad65d248 feat: protect /docs and /redoc with API key
Adds middleware requiring X-Api-Key header or ?api_key= query param
to access Swagger UI and ReDoc. OpenAPI schema remains public.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 20:45:21 +00:00
Adriano Dal Pastro 5d78d865a4 fix: correct Docker setup, SDK async API, and docs
- Dockerfile: use explicit uvicorn command (uv run start fails without package mode)
- docker-compose: mount claude-auth volume to /root/.claude (worker runs as root)
- worker: update to Claude Code SDK async iterable API (query() returns iterator, not array)
- main.py: fix docs_url from /doc to /docs
- README: correct login instructions (exec not run --rm), add production URLs
- Add CLAUDE.md with full project documentation

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 20:35:44 +00:00
Adriano 1b1a0eb6ff feat: add rate limiting, CORS, queue loop in lifespan 2026-05-25 18:51:58 +02:00
Adriano 67d479f8ce feat: add requests CRUD endpoints 2026-05-25 18:48:16 +02:00
Adriano 3b665715ff feat: add topics CRUD endpoints 2026-05-25 18:45:15 +02:00
Adriano 7f88ca3a36 feat: add API key authentication and health endpoint 2026-05-25 18:44:33 +02:00