mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
The Today hero and the check-in hook imported the check-in intent constants from digest.ts, which — since the milestone slice — transitively reaches the database through the streak baseline engine. That pulled the Postgres driver into the client bundle (a Turbopack 'Can't resolve net/tls/dns' build failure the worktree build couldn't surface). Move the four constants to a tiny, dependency-free coach-checkin-intents module; the client imports them from there, and digest.ts (the server builder) stays server-only.