Kanshō

Docs / Memory and context /

MemoryTimeline

Chronological timeline of memory writes, reads, and forget events.

Preview

  1. Created2 Jun 2026 · 14:32

    Stored: "User prefers TypeScript over JavaScript for all new projects."

    kansho-agent · msg-334

  2. Reinforced4 Jun 2026 · 09:11

    Confidence bumped from 82% → 92% after user confirmed in follow-up.

    kansho-agent · msg-489

  3. Corrected6 Jun 2026 · 16:48

    Deadline updated from "end of May" to "end of Q2" based on revised plan.

    kansho-agent · msg-601

  4. Deprecated7 Jun 2026 · 08:00

    Session fact "working on authentication flow" moved to historical.

    housekeeping · auto

  5. 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

  1. Created2 Jun 2026 · 14:32

    Stored: "User prefers TypeScript over JavaScript for all new projects."

    kansho-agent · msg-334

Corrected → deprecated

  1. Corrected6 Jun 2026 · 16:48

    Deadline updated from "end of May" to "end of Q2" based on revised plan.

    kansho-agent · msg-601

  2. Deprecated7 Jun 2026 · 08:00

    Session fact "working on authentication flow" moved to historical.

    housekeeping · auto

Props

PropTypeDescription
events*MemoryTimelineEvent[]Ordered list of memory lifecycle events to render.
classNamestringAdditional 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",
    },
  ]}
/>