KoalaTrapLord
cb99388e3c
fix: correct indentation of total_steps in collect_rollouts
2026-03-26 13:14:34 -04:00
KoalaTrapLord
2e316548e7
fix: repair resp= assignment and _re.sub typo in coach_service.py ( #105 )
2026-03-26 13:11:55 -04:00
KoalaTrapLord
b46e1e0877
fix: remove stray string literal in init_coach_service ( #105 )
2026-03-26 12:31:52 -04:00
KoalaTrapLord
e17b877dcc
fix: repair syntax errors in coach_status and init_coach_service ( #105 )
2026-03-26 12:18:07 -04:00
KoalaTrapLord
6ce21908d3
Update coach.py
2026-03-26 11:53:39 -04:00
KoalaTrapLord
15495483f3
fix: remove _coach_init_error reference from status endpoint ( #105 )
2026-03-26 11:36:33 -04:00
KoalaTrapLord
540fbbf1b3
fix: remove broken _coach_init_error lines from coach.py ( #105 )
2026-03-26 10:52:41 -04:00
KoalaTrapLord
a5cc7736b4
feat: update thread dropdown to 1,2,4,8,16,24,32
2026-03-25 23:15:38 -04:00
KoalaTrapLord
8c6248cf84
feat: increase max threads from 16 to 32
2026-03-25 21:37:21 -04:00
KoalaTrapLord
22d63fd15e
Update coach.py
2026-03-25 21:29:24 -04:00
KoalaTrapLord
2dc0ba2d25
Update coach.py
2026-03-25 21:18:27 -04:00
KoalaTrapLord
8f180820f9
fix: add missing _DEFAULT_ORIGINS definition in lab_api.py ( #105 )
2026-03-25 21:00:34 -04:00
KoalaTrapLord
b283418879
fix: correct indentation in _call_anthropic_api else-block ( #105 )
2026-03-25 20:43:11 -04:00
KoalaTrapLord
61be42ea6d
fix: resolve IndentationError on line 882 in routes/deckgen.py ( #105 )
2026-03-25 20:18:19 -04:00
KoalaTrapLord
3906b93c6a
feat: add WebSocket support for Unity game state streaming ( #107 )
...
* feat: add ws/ package for WebSocket game state streaming
* feat: add WebSocket ConnectionManager with per-game broadcasting
* feat: add GameStateTracker with deep-diff delta engine
* feat: add WebSocket route with delta push and REST bridge endpoints
* feat: register ws_game_router in lab_api.py
2026-03-25 19:51:15 -04:00
KoalaTrapLord
af2a71d1a5
fix: eliminate event-loop-blocking sync calls in async FastAPI routes ( #106 )
...
* feat: add async DB wrapper and eliminate event-loop blocking
* fix: rewrite llm_client.py with native async httpx - removes urlopen and run_in_executor
* fix: rewrite routes/coach.py - replace all sync DB/HTTP with async (aiosqlite + httpx)
* fix: add async DB shutdown hook to lab_api.py
* feat: add aiosqlite>=0.19.0 to requirements
2026-03-25 19:17:41 -04:00
KoalaTrapLord
cf7c872e12
feat: update test mock from pplx_client to anthropic_client ( #105 )
2026-03-25 16:43:11 -04:00
KoalaTrapLord
c9227dac70
Update substitution_prompt.pyfeat: update substitution_prompt.py docstring from Perplexity to Claude Opus ( #105 )
2026-03-25 16:41:47 -04:00
KoalaTrapLord
34b1ea2e30
feat: update deck_gen_user.py docstring from Perplexity to Claude Opus ( #105 )
2026-03-25 16:41:24 -04:00
KoalaTrapLord
1c6454dce5
feat: update substitution_schema.py source field from perplexity to anthropic ( #105 )
2026-03-25 16:39:16 -04:00
KoalaTrapLord
464dd732d5
feat: update deck_schema.py docstring from Perplexity to Claude Opus ( #105 )
2026-03-25 16:36:22 -04:00
KoalaTrapLord
f481243c4e
feat: replace Perplexity AI with Claude Opus in deckgenerator.html ( #105 )
2026-03-25 16:33:00 -04:00
KoalaTrapLord
f49b6cbea5
feat: replace Perplexity AI spinner text with Claude Opus in deckbuilder.html ( #105 )
2026-03-25 16:30:00 -04:00
KoalaTrapLord
71f316a220
feat: update status label from Perplexity to Claude Opus in coach.html ( #105 )
2026-03-25 16:26:31 -04:00
KoalaTrapLord
9556f9d7d0
feat: replace Perplexity with Anthropic Claude in lab_api.py ( #105 )
2026-03-25 15:18:14 -04:00
KoalaTrapLord
9de0965c78
feat: replace Perplexity with Anthropic Claude in routes/deckgen.py ( #105 )
2026-03-25 15:09:46 -04:00
KoalaTrapLord
38bfa51d85
feat: replace Perplexity with Anthropic Claude in routes/coach.py ( #105 )
2026-03-25 14:41:34 -04:00
KoalaTrapLord
c58f561df4
feat: replace PerplexityClient with AnthropicClient in deck_generator.py ( #105 )
2026-03-25 14:34:18 -04:00
KoalaTrapLord
6cf1e58018
feat: replace Perplexity with Anthropic Claude in coach_service.py ( #105 )
2026-03-25 14:30:40 -04:00
KoalaTrapLord
1382d25e46
feat: update clients __init__.py comment to reference Anthropic ( #105 )
2026-03-25 12:25:56 -04:00
KoalaTrapLord
d8f7105471
feat: replace PPLX_API_KEY with ANTHROPIC_API_KEY in install script ( #105 )
2026-03-25 12:25:01 -04:00
KoalaTrapLord
071088715f
feat: replace PPLX_API_KEY with ANTHROPIC_API_KEY in start-lab.bat ( #105 )
2026-03-25 12:23:43 -04:00
KoalaTrapLord
95429d9f35
feat: replace PPLX_API_KEY with ANTHROPIC_API_KEY in .env.example ( #105 )
2026-03-25 12:21:40 -04:00
KoalaTrapLord
55379a98ef
feat: replace Perplexity config with Anthropic Claude settings ( #105 )
2026-03-25 12:20:33 -04:00
KoalaTrapLord
173dee6ccc
feat: add anthropic>=0.40.0 and openai>=1.0.0 to requirements ( #105 )
2026-03-25 12:17:52 -04:00
KoalaTrapLord
34dee24399
feat: add AnthropicClient as drop-in replacement for PerplexityClient ( closes #105 phase 1)
2026-03-25 12:16:14 -04:00
KoalaTrapLord
88f1022d0e
fix: deduplicate card names globally before Scryfall batch lookup
...
enforce_deck_ratios can return the same card name under multiple
categories (e.g. Teferi's Protection in both protection + synergy).
all_card_names had no cross-category dedup, so get_cards_by_names
returned duplicate CardEntry objects that then failed the singleton
validator in CommanderDeck.
Fix: build all_card_names with dict.fromkeys() across all categories
so each name appears exactly once. Also deduplicate after Scryfall
lookup by name as a second safety net.
2026-03-25 11:23:06 -04:00
KoalaTrapLord
737863c55d
fix: .env.example default COACH_PROVIDER to perplexity
2026-03-25 10:43:42 -04:00
KoalaTrapLord
e710287c35
fix: run_coaching_session respects COACH_PROVIDER for Perplexity API
...
The coaching pipeline in coach_service.py was always calling self.llm (Ollama) regardless of COACH_PROVIDER setting. Now branches on COACH_PROVIDER == 'perplexity' to call the Perplexity API directly via httpx, matching the pattern used in routes/coach.py coach_chat endpoint.
2026-03-25 10:42:49 -04:00
KoalaTrapLord
2e3c1ec0f1
fix: startup logs and DeckBuilderAdapter respect COACH_PROVIDER/DECK_GEN_PROVIDER instead of hardcoding Ollama
2026-03-25 10:34:04 -04:00
KoalaTrapLord
21f032d32e
fix: set DECK_GEN_PROVIDER default to perplexity and DECK_GEN_MODEL to sonar-pro
2026-03-25 10:29:54 -04:00
KoalaTrapLord
2881309d41
fix: set COACH_PROVIDER default to perplexity, remove stale DeepSeek comment
2026-03-25 10:13:58 -04:00
KoalaTrapLord
e162d50608
feat: bulk quantity edit for collection table
2026-03-25 10:12:03 -04:00
KoalaTrapLord
49bab7fb0a
fix: set FORGE_DIR to repo root so cardsfolder path resolves correctly
2026-03-25 10:09:10 -04:00
KoalaTrapLord
34e88a3a14
fix: correct indentation of commander_keywords and oracle overlap scoring in deckgen.py
2026-03-25 08:45:51 -04:00
KoalaTrapLord
f199bcfa34
feat: column visibility toggle UI for collection table
2026-03-25 08:31:12 -04:00
KoalaTrapLord
77c92d569d
fix: correct indentation of elif/else branches in _run_sim_thread_deepseek
2026-03-25 08:24:21 -04:00
KoalaTrapLord
f24bd05be8
feat: collection stats dashboard (CMC curve, color/type/rarity/value)
2026-03-25 07:51:09 -04:00
KoalaTrapLord
e7ffccf3e8
feat: persist coach sessions to SQLite with disk fallback
2026-03-24 23:44:20 -04:00
KoalaTrapLord
64a65ca2f6
feat: auto-fill deck name with Auto - {CommanderName} on select
2026-03-24 23:19:17 -04:00