Spaces:
Sleeping
Sleeping
Commit History
-
Round 6: German localization (en + de)
Backend (backend-i18n teammate): - Game.language: Literal["en","de"] = "en"; default keeps old snapshots loadable. - language_directive(lang) appended to every call_structured user message; system prefix stays byte-identical so the prompt cache stays warm. - use_game_language() context manager + ContextVar; loop.py + orchestrator pin language across all entry points; ThreadPoolExecutor in run_deliberations now propagates context (fixes a latent issue for per-game model selection too). - CLI: wargame new --language en|de; wargame state shows the language. - API: NewGameRequest.language + StateResponse.language. - _delta_summary, _metrics_table, _recent_events placeholders localized via _t(en, de) helper. - 13 new tests including a system-prompt-byte-identical-across-languages invariant that protects the cache. Frontend (frontend-i18n teammate): - New frontend/src/i18n/ module — ~95-line shim with useI18n() hook, setLanguage, getLanguage, {name} interpolation, English fall…bd956f0
-
Merge Board Console UI + setup agent + orchestrator into main (#5)
schipsy +1: Claude Opus 4.7Unverified signature* Wire real agent picker into recon (was hardcoded to missing 'analyst') Before: GameView called api.recon(id, 'analyst', …), which 409ed on every shipped scenario because none of them defines an agent with that id. Now: GameView chains GET /scenarios/{id}/agents off the existing listGames call, renders a dropdown of real agent labels (e.g. "Bettina Lange, CFO"), and passes the selected id to recon. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Drop Claude Design handoff artifacts now that the UI is built Removes design-notes/, examples/, flows/, openapi.json, endpoints.md, and state-machine.md from frontend/. These were the spec handed to Claude Design to build the UI. Now that frontend/src exists and works against the API, the handoff docs are vestigial — the API is the contract and pyproject/FastAPI generate a live spec at /docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Replace frontend with Claude Design Board Console handoff Port t…fa0970b