MicroFish/backend/app
anadoris007 727f4403e3 feat(narrative): add narrative API blueprint
Five endpoints under /api/narrative/*:
- GET  /story/<sim_id>                — full story so far
- GET  /story/<sim_id>/round/<num>    — single round
- POST /translate                     — translate a round on demand
- GET  /characters/<sim_id>           — roster with emotional state
- POST /characters/<sim_id>/init      — bootstrap from OASIS profiles

Blueprint registered alongside existing graph/simulation/report
blueprints following the established pattern. Smoke-tested via Flask
test client.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 22:02:16 +05:30
..
api feat(narrative): add narrative API blueprint 2026-04-20 22:02:16 +05:30
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services feat(narrative): orchestrate round translation with state updates 2026-04-20 22:01:19 +05:30
utils fix(i18n): validate Accept-Language header against registered locales 2026-04-02 14:20:15 +08:00
__init__.py feat(narrative): add narrative API blueprint 2026-04-20 22:02:16 +05:30
config.py fix(config): enable overriding of environment variables when loading .env file 2026-01-23 16:20:24 +08:00