feat BREAKING calendar feat/calendar-events-v0 #4 / 6
aaronrene · 2 days ago · Jun 18, 2026 · Diff

feat(calendar): add local event store and Hub timeline API (Phase 1B)

Self-hosted GET /calendar/timeline merges note-date buckets with stored events; POST /calendar/events/import ingests ICS text. OpenAPI + tests included.

sha256:b4a0ab4997328b3c4b3271648f77f5eb67ee67f7009281c05fd95dfcada280f0 sha
+22 ~7 −2 symbols
sha256:795b2e8909241fbf36cde80e00f2a0fa5414317e78fce83858df7d807e927a4a snapshot
+22
symbols added
~7
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 31 symbols
~ lib/calendar/event-store.mjs .mjs 10 symbols added
+ buildEventId function function buildEventId L125–131
+ getCalendarStorePath function function getCalendarStorePath L67–69
+ getSourceCalendar function function getSourceCalendar L148–152
+ getVaultCalendarStore function function getVaultCalendarStore L112–118
+ importIcsIntoVault function function importIcsIntoVault L185–270
+ listSourceCalendars function function listSourceCalendars L138–140
+ loadCalendarStore function function loadCalendarStore L75–90
+ queryStoredEvents function function queryStoredEvents L285–313
+ saveCalendarStore function function saveCalendarStore L96–105
+ sourceCalendarForClient function function sourceCalendarForClient L158–171
~ lib/calendar/timeline.mjs .mjs 8 symbols added
+ applyNoteScope function function applyNoteScope L235–250
+ buildCalendarTimeline function function buildCalendarTimeline L151–229
+ listSourceCalendarsForClient function function listSourceCalendarsForClient L258–261
+ noteCalendarDayKey function function noteCalendarDayKey L124–134
+ parseBoundary function function parseBoundary L65–82
+ parseSourceCalendarIds function function parseSourceCalendarIds L111–118
+ parseTimelineLayers function function parseTimelineLayers L88–105
+ parseTimelineRange function function parseTimelineRange L47–59
+ readRepoFile function function readRepoFile L13–15
+ timelineRouteSource function function timelineRouteSource L17–24
~ docs/CALENDAR-EVENTS-V0-SPEC.md .md 2 symbols added, 2 symbols removed, 7 symbols modified
API Surfaces (v0 — design only) section API Surfaces (v0 — design only) L118–140
Connector lifecycle section Connector lifecycle L128–140
+ API Surfaces (v0 — self-hosted Hub) section API Surfaces (v0 — self-hosted Hub) L117–147
+ Calendar API (self-hosted Hub) section Calendar API (self-hosted Hub) L127–147
~ table

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:b4a0ab4997328b3c4b3271648f77f5eb67ee67f7009281c05fd95dfcada280f0 --body "your comment"