2 Commits

Author SHA1 Message Date
Jacob Schmidt
c0f7c16898 fix: improve coach JSON reliability, add app icons
- Increase ChatJsonAsync max tokens 1024 → 2048 to prevent truncation
- Lower JSON temperature 0.7 → 0.2 for more deterministic output
- Add TryRepairJson fallback to close incomplete JSON from model
- Strengthen JSON system prompt to reduce narrative drift
- Generate icon.svg, icon.ico from source icon.png
- Update Navbar sidebar logo to use icon.png
- Update app.html favicon to use icon.ico
- Copy icon.ico to Tauri icons directory

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-01 17:23:34 -06:00
Jacob Schmidt
192e6e3891 feat: add AI coaching, conversation persistence, and LLamaSharp integration
- Add Journal.AI project with LLamaSharp-based AI service (Phi-3 model)
- Implement coach sessions (daily check-in, evening review, weekly review)
- Add conversation CRUD with SQLCipher persistence
- AI chat with full conversation history for context-aware replies
- Frontend: CoachPanel, AI stores, conversation stores, side panel UI
- Conversation list with create, rename, and delete support
- Fix Phi-3 output quality (system prompt leaking, token cleanup, JSON filtering)
- Fix CREATEDRAFT kind override in coach sessions

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-01 16:07:59 -06:00