feat: v0.0.1 - Groq provider, timezone, journal context, test connection, task logging

Added:
- Groq AI provider (free, fast with llama-3.3-70b-versatile)
- Timezone setting (22 timezones)
- Journal context: include previous journals (3/7/14/30 days)
- Test connection button for AI providers
- Per-provider settings (API key, model, base URL remembered)
- Detailed task logging (full prompts and responses)
- Tasks page with expandable details
- Progress modal with steps and AI output details

Fixed:
- Groq API endpoint (https://api.groq.com/openai/v1/chat/completions)
- Ollama baseUrl leaking to other providers
- Database schema references
- Proper Prisma migrations (data-safe)

Changed:
- Default AI: OpenAI → Groq
- Project renamed: TotalRecall → DearDiary
- Strict anti-hallucination prompt
- Docker uses prisma migrate deploy (non-destructive)
This commit is contained in:
lotherk
2026-03-26 21:56:29 +00:00
parent 37871271cc
commit 5c217853de
27 changed files with 1026 additions and 260 deletions

View File

@@ -4,12 +4,33 @@ All notable changes to DearDiary will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
## [0.1.0] - 2026-03-26
### Added
- **Groq Provider**: Free, fast AI provider with default model `llama-3.3-70b-versatile`
- **Timezone setting**: Users can select their local timezone (22 timezones)
- **Journal context**: Option to include previous journals (3/7/14/30 days) for AI context
- **Generating modal**: Progress bar with steps and expandable "Details" section
- **Tasks page**: Route `/tasks/:date` for viewing generation tasks with full prompts/responses
- **Test connection**: Button to test AI provider connectivity
- **Per-provider settings**: Each AI provider remembers its own API key, model, and base URL
- **Detailed task logging**: Full prompts and responses stored for debugging
### Changed
- **Strict anti-hallucination default prompt**: New users get a grounded, factual prompt that ONLY summarizes what's recorded - no invention, no embellishment
- **Default AI**: OpenAI → Groq with free `llama-3.3-70b-versatile` model
- **Project renamed**: "TotalRecall" → "DearDiary" everywhere
- **Strict anti-hallucination prompt**: Grounded, factual summarization only
- **Migrations**: Proper Prisma migration system (data-safe updates)
- **Docker**: Non-destructive database migrations via `prisma migrate deploy`
## [0.2.0] - 2026-03-26
### Fixed
- Groq API endpoint: `https://api.groq.com/openai/v1/chat/completions`
- Ollama baseUrl no longer leaks to other providers
- Database schema references corrected
## [0.0.1] - 2026-03-26
Initial release
### Added
- **Task System**: AI journal generation now creates tasks that track: