MemoryTimeline
Chronological timeline of memory writes, reads, and forget events.
Preview
- Created2 Jun 2026 · 14:32
Stored: "User prefers TypeScript over JavaScript for all new projects."
kansho-agent · msg-334
- Reinforced4 Jun 2026 · 09:11
Confidence bumped from 82% → 92% after user confirmed in follow-up.
kansho-agent · msg-489
- Corrected6 Jun 2026 · 16:48
Deadline updated from "end of May" to "end of Q2" based on revised plan.
kansho-agent · msg-601
- Deprecated7 Jun 2026 · 08:00
Session fact "working on authentication flow" moved to historical.
housekeeping · auto
- Deleted9 Jun 2026 · 11:23
Stale fact "user is on a Mac Mini M4" removed — superseded by updated hardware info.
kansho-agent · user request
Variants
Created only
- Created2 Jun 2026 · 14:32
Stored: "User prefers TypeScript over JavaScript for all new projects."
kansho-agent · msg-334
Corrected → deprecated
- Corrected6 Jun 2026 · 16:48
Deadline updated from "end of May" to "end of Q2" based on revised plan.
kansho-agent · msg-601
- Deprecated7 Jun 2026 · 08:00
Session fact "working on authentication flow" moved to historical.
housekeeping · auto
Props
| Prop | Type | Description |
|---|---|---|
| events* | MemoryTimelineEvent[] | Ordered list of memory lifecycle events to render. |
| className | string | Additional CSS classes for the root <ol>. |
* required.
Usage
import { MemoryTimeline } from "@/components/memory/memory-timeline";
<MemoryTimeline
events={[
{
id: "e-1",
kind: "created",
summary: "Stored: user prefers TypeScript.",
timestamp: "2 Jun 2026 · 14:32",
actor: "kansho-agent",
},
{
id: "e-2",
kind: "corrected",
summary: "Updated confidence from 82% → 92%.",
timestamp: "4 Jun 2026 · 09:11",
},
]}
/>