1.1 KiB
2026-02-21 Session Notes
Timeline API Endpoint Implementation
Added a new GET /api/timeline endpoint to the Signet daemon to expose recent memory activity for a dashboard timeline view. The endpoint leverages the existing timeline builder at packages/daemon/src/timeline.ts, which aggregates events from memory_history, memories, and connectors tables into a unified feed.
Endpoint Design
The endpoint accepts optional query parameters for pagination and filtering:
limit(default: 50) — number of events to returnoffset(default: 0) — pagination offsettypefilter — filter by event category (memories, connectors, system)
Response format: { events: [{id, type, timestamp, summary, details}], total, hasMore }
Key Decisions
Included memory extraction events from the pipeline worker (extraction_complete, decision_applied) as requested. All timestamps use ISO 8601 format, maintaining consistency with the rest of the Signet API.
Deferred Work
Frontend implementation deferred to next session. Will involve adding a new route in packages/cli/dashboard/src/routes/ and a SvelteKit timeline component to consume the endpoint.