v0.5.18
0.5.18 (2026-02-10)
Bug Fixes
- activities: initialize missing userStore for metric helpers (4ee73d8)
- AiQuickCapture: extend hover timeout duration (47c5ec3)
- api: mark passed rest days as completed in calendar logic (0034e63)
- api: use timezone-aware conversion for fueling plan estimates (88b34ac)
- app: refine nutrition timeline timezone handling and add tests (539813a)
- cli: update llm cost calculation import (3c0a7af)
- improve birthdate input usability using UInputDate (bd7ebce)
- llm: correct input schema for time tool (bba665d)
- oura: correct recovery score calculation (8de5aff)
- plan: ensure active plan is abandoned and workouts removed when creating new plan (23d0544)
- scripts: ensure workout troubleshoot command works correctly in production (50c0166)
- server: improve maxWatts normalization for intervals.icu (7386eea)
- server: improve timezone-aware date construction and add unit tests (d0cc7a0)
- services: handle repository upsert return type in oura service (5fde97c)
- telegram: resolve type errors in session-based room logic (594f413)
- trigger: resolve timezone utility import errors in background tasks (e1fcc33)
- trigger: resolve type errors in ingestion tasks and handle upsert returns (0fce64b)
- ui: update activities and calendar cell styling for completed plans (7c4549b)
Features
- Add comprehensive unit tests for core server utils (788e213)
- admin: add 48-hour hourly breakdown charts for cost and efficiency (d6756c1)
- admin: add ai failed requests page and failure trend chart (eb8618e)
- admin: add bug reports management page and navigation (d47812c)
- admin: add bug reports system with api and cli tools (b22964f)
- admin: add cached token charts and stats to llm dashboard (64b8a61)
- admin: add daily llm usage charts for tokens, operations, and requests (6cc4c4a)
- admin: add daily token breakdown chart and optimize llm stats layout (52e6f5a)
- admin: add detailed ai cost cards and subscription overview to dashboard (a76b62e)
- admin: add status links for database and trigger to dashboard (5c853fb)
- admin: add total unique users per day chart to llm stats (578d581)
- admin: display dynamic system status and link to queues on dashboard (8965857)
- admin: display user registration country in management views (fa8930f)
- admin: enhance user stats visualization and llm spending visibility (aac7288)
- admin: implement llm operations dashboard and settings ui (6815685)
- admin: implement llm quota monitoring dashboard and sidebar integration (c6edafc)
- ai-config: update model names and pricing tiers (096ce2c)
- ai-tools: add planned workout details and fallback analysis (108f6b1)
- ai-tools: add user profile and sport settings tools (ed1ccaf)
- ai: add report_bug tool with db storage and context awareness (83674dc)
- api: add admin endpoints for llm operations and statistics (e8fe7dc)
- api: add admin quota monitoring endpoints and system status integration (fecc601)
- api: add daily check-ins and recurring user metrics to admin stats (e57df0c)
- api: add daily failures by operation to llm stats (70643cf)
- api: add detailed ai costs, subscription stats and fix messaging volume (ee9bd05)
- api: add dynamic system status checks for database, trigger, and queues (a2796e4)
- api: add endpoints and store logic for dashboard settings (992bc25)
- api: add nutrition logging and items patch endpoints (72db74c)
- api: add nutrition plan generation and detail endpoints (c4619e2)
- api: capture user login info and log audit events on login (178c0fd)
- api: enforce subscription limits for structured workout generation (0c54511)
- api: implement availability repository and update endpoints (5b9a7f0)
- api: implement core llm quota engine and rolling window registry (f18a4f6)
- api: implement proactive nutrition estimation for calendar and detail endpoints (db7271e)
- api: implement sport profile filtering across performance endpoints (a1f15f3)
- api: improve workout tools with planned workout fallback and tests (030aefc)
- api: include historical scores in athlete profile endpoint (789a208)
- api: integrate quota checks into chat endpoints and add profile quota api (22635e2)
- api: track cached and reasoning tokens in chat endpoints (38decd6)
- auth: track user login metadata with IP and timestamp (215ea08)
- backfill: add debug logs and improve Oura handling (127037d)
- chat: add chat room renaming functionality (85276d5)
- chat: implement session timeout and welcome tips (ad62229)
- cli: add clean-fit command for orphaned database records (2c20254)
- cli: add cost recalculation command and update pricing tests (f50ef76)
- cli: add database seeding command and templates (17a3f7b)
- cli: add email management command (6465005)
- cli: add force flag and upsert support to database seeds (ff7b885)
- cli: add intervals ingest debug command and fix settings ui color (54d51ff)
- cli: add llm usage debug command and update pricing tests (9565fd8)
- cli: add optimized max-watts backfill command (6001f60)
- cli: add quota debugging command for real-time status checks (32dff4f)
- cli: add user location management commands (94d2c3e)
- cli: add user registration backfill and improve location reporting (f45fede)
- components: add copy from functionality for sport settings (fec9e3a)
- components: add daily fueling card and nutrition UI components (13b8520)
- components: add live energy availability visualization to fueling card (cc46109)
- components: add trend indicators with historical data to dashboard (9344ed1)
- components: enhance nutrition and workout UI with new timeline and quick capture components (50b53da)
- components: implement conditional visibility for pricing and upgrades (37a411e)
- components: implement customizable metrics in athlete profile card and add settings modal (b4b5c0e)
- components: implement performance scores settings modal and logic (11e616a)
- components: update chart components to support sport filtering (3ef1bd4)
- config: add toggle for subscription availability (459c1ff)
- dashboard: add live energy visualization component (f86f88c)
- dashboard: enhance live energy visualization (f4c43bc)
- data: add lastSource tracking to wellness records and repository (497d9bc)
- db: add cached and reasoning token metrics to llm usage (5c180d3)
- db: add dashboard settings field to user model (d38b141)
- db: add llm tier settings and operation overrides schema (332eb33)
- db: add registration ip and country fields to user model (9ce115f)
- db: add slots to training availability schema (9dd5859)
- db: implement advanced nutrition and metabolic engine schema with migrations (b2ac04a)
- integrations: add polar provider support to sync api and ingestion tasks (03c949b)
- integrations: expand oura metric ingestion and stabilize biometric normalization (7c68231)
- integrations: expand oura oauth scopes and improve fetching resilience (5af744f)
- llm: add explicit cached input rates and improve debug output (65afac1)
- llm: implement cached token pricing and add time tools (d3caae1)
- llm: update gemini configuration and enhance usage monitoring with reasoning tokens (4308fd3)
- location: integrate GeoIP lookup for user locations (ea32629)
- nutrition: add glycogen tank simulation logic and explanation modal (42724e2)
- nutrition: add modal components for food logging and macro details (d9b0335)
- nutrition: implement advanced nutrition settings and fueling strategy (9a42947)
- nutrition: improve fueling plan logic with rest day handling and workout aggregation (3e622e7)
- nutrition: support rest day baseline calculation and multi-workout fueling plans (e8b277e)
- pages: add sport profile filtering to performance dashboard (d667466)
- pages: implement new training schedule settings page and components (23add7e)
- pages: implement nutrition debrief and fueling prep in workout and nutrition pages (3b711b5)
- pages: integrate nutrition fueling tracking into dashboard and activities (4ddc398)
- pages: update billing settings to respect subscription availability toggle (9363b23)
- profile: add availability tab and settings functionality (d3d7530)
- profile: improve birthdate input usability (5982421)
- scripts: add oura wellness backfill tool for local and api synchronization (85a3d10)
- scripts: add wellness history and multi-source comparison debug tools (9fceeec)
- scripts: add wellness table visualization and forced sync debug tools (315e896)
- scripts: enhance llm cost recalculation and add bi documentation (7698cde)
- scripts: refine oura backfill with non-destructive soft mode and targeted hard mode (f23281c)
- server: implement email utility and enhance nutrition ai tools (249322e)
- settings: add authorized apps management feature (2b45325)
- settings: transition ai selection to multi-level analysis model (d63ba00)
- telegram: add help and roominfo commands and improve message formatting (1ab57c2)
- trigger: add quota enforcement and exceeded status handling to analysis tasks (d54e9e0)
- trigger: enhance structured workout generation with pace and swimming support (3db783f)
- trigger: implement adaptive fueling and nutrition background tasks (a42183f)
- ui: enhance AI quick capture with dynamic interaction (3320e3e)
- user: add lastLoginAt and lastLoginIp fields (e5e6a2e)
- workout: add distance formatting for workout steps (61223f7)
- workouts: add start time adjustment to planned workout modal and detail page (19902be)
- workouts: enhance workout deletion and file handling (d90ab85)
- workouts: ensure workout type is preserved during publishing and structuring (f560ffb)