ListView
A list of records, one row each: primary and optional secondary line, leading avatar or icon, trailing value, badge, actions, or chevron.
Facts an agent has stored: search, add, pin, edit or forget them (confirmed in an AlertDialog), and see which ones this thread used.
What an agent remembers. Not ListView. Not ContextWindow.
Search, add, pin, edit in place, or forget (confirmed in an AlertDialog).
MemoryPanel manages long-term facts. Forget always confirms in a kit AlertDialog, and the privacy note is always visible.
import { MemoryPanel } from "agentic-ds-kit";From contracts/memorypanel.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| items | array | Yes | — | { id, content, source?, age?, pinned?, usedHere? }[]. Pinned items group first. |
| label | string | No | Memory | — |
| query | string | No | — | — |
| onQueryChange | function | No | — | (query) => void. Shows the search Input. |
| onAdd | function | No | — | (content) => void. Add opens a form at the top. |
| onEdit | function | No | — | (id, content) => void. Edit expands the row in place. |
| onPin | function | No | — | (id, pinned) => void |
| onDelete | function | No | — | (id) => void. Called after the AlertDialog (Keep / Forget). |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | — |
| privacyNote | string | No | — | Always visible. |
| usedLabel | string | No | Used here | Badge on items this thread used, e.g. "Used for this reminder". |
A list of records, one row each: primary and optional secondary line, leading avatar or icon, trailing value, badge, actions, or chevron.
One labeled control with optional hint and an error or success message.
Immediate on/off setting.
How full the prompt context is and what uses the space, by segment, with a warning near the limit, Trim oldest and compaction with Undo.