State-driven, event-based caregiving scheduler that recalculates windows, caps, and buffers in real time. It is not a calendar and does not output fixed plans.
npm install
npm run devnpm run build
npm run preview- Events are stored as UTC instants and rendered in the user’s timezone.
- All derived state is recomputed from the event log and the authoritative UTC "now".
- Persistence uses
localStorageonly.
- “Up next” is resolved from current state (resolver), not from the predictions list.
- “What’s coming up” is derived from a baseline schedule that shifts relative to the last real log.
- “What’s coming up” is derived from live state outputs (wake window, feed window, bedtime cap) and pruned when the window compresses.
- Routine logs are tracked for duration stats only and do not affect predictions or state.
- Auto-predicted logs are labeled and can be edited or deleted.
- After bedtime, upcoming events show the next morning’s expected wake without creating new logs.
- Prediction objects use a strict schema to prevent missing fields in the UI.
- The wake panel reflects “Time until wake” during bedtime instead of tiredness.