Commit Graph

9 Commits

Author SHA1 Message Date
Frank Schwenk 88bdf6f34b feat: overhaul with modular API, agent endpoints, migrations, backup and tests
- Split monolithic app.py into server/api/ routers
- Add Pydantic schemas for input validation
- Add /agent/* API with separate AGENT_TOKEN auth
- Replace static schema.sql with versioned migrations (datenerhaltend)
- Add tools/backup_db.py for SQLite backups
- Add Dockerfile HEALTHCHECK and compose.yml AGENT_TOKEN env
- Add pytest tests for user and agent API
- Update README with API docs and deployment safety notes
- Bump version to 1.2.0
2026-09-21 12:46:44 +02:00
Frank Schwenk 24ac7f2f48 feat: restore roast-of-the-day with 14-day prompt history
Separate roast generation from motivation again and pass cached roasts
from the last 14 days into the OpenRouter prompt to reduce repetition.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 08:45:09 +02:00
Frank Schwenk c59c3069c4 refactor: remove KI-Orakel from history page and backend
Drop oracle UI, API endpoint, scheduled generation, and related docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 08:32:28 +02:00
Frank Schwenk b5390b8ced haha yes it works now 2026-06-10 10:38:43 +02:00
Frank Schwenk c9a86f1e0e It was the best of times, it was the worst of times 2026-06-10 10:07:19 +02:00
Frank Schwenk b71eec94f8 speling is difikult 2026-06-10 10:03:35 +02:00
Frank Schwenk fef0454895 I hate this fucking language. 2026-06-10 09:43:50 +02:00
Frank Schwenk 66fa24872d Testing in progress ;) 2026-06-09 21:43:29 +02:00
Frank Schwenk eaa019087e debug line test 2026-06-09 21:21:52 +02:00