4 Commits

Author SHA1 Message Date
Jacob Schmidt
a05c4b0209 Set up monorepo: centralize .NET packages, npm workspaces, remove Journal.DevTool
- Add Directory.Build.props with shared TargetFramework/Nullable/ImplicitUsings
- Add Directory.Packages.props for centralized NuGet version management
- Strip duplicated properties and Version attributes from all .csproj files
- Fix Directory.Build.props TFM from net10 to net10.0
- Configure npm workspaces in root package.json (Journal.App)
- Hoist node_modules to repo root with single lockfile
- Add node_modules/ to .gitignore
- Remove Journal.DevTool contents, keep as empty folder with .gitkeep
- Remove Journal.DevTool from solution and npm workspaces

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-02 19:33:11 -06:00
Jacob Schmidt
2cd31e6fb1 refactor: remove Python sidecar from C# projects
- Delete PythonSidecarAiService, PythonSidecarSpeechService, PythonSidecarClient
- Remove PythonExecutable, PythonAiSidecarPath, AiSidecarTimeoutMs from JournalConfig
- Remove python-sidecar as valid AiProvider (only none/llamasharp remain)
- Simplify DI: default IAiService is DisabledAiService, ISpeechBridgeService is disabled
- Remove python-sidecar fallback from Journal.AI ServiceCollectionExtensions
- Remove 5 Python sidecar smoke tests and BuildAiConfig helper
- Remove Python config assertions from TestConfigServiceParityKeysAsync

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-01 17:37:45 -06:00
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