Skip to content

feat(memory): chat memory chip and Settings > Memories polish - #115

Merged
jbouder merged 2 commits into
mainfrom
feat/memory-ui
Dec 4, 2026
Merged

jbouder merged 2 commits into
mainfrom
feat/memory-ui

Conversation

@jbouder

@jbouder jbouder commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Chat

  • A "Memory · n" chip in the composer, next to Connectors. It is left out when memory is off or pi runs on the person's own key.
  • Its menu has "Remember something", which starts a remember: message and focuses the composer, and "Manage memories", which opens Settings > Memories.
  • The memory list is read again when a reply ends, and once more 30 seconds later, because the gateway learns in the background.
  • A line under a remember: ... message says "Saving to memory", then "Saved to memory" once the memory is in the person's list, or "Not saved to memory" when it is not there 30 seconds after the reply ends.

Settings > Memories

  • The intro says agents also learn lasting facts on their own, not only from remember:.
  • A memory count, and a filter box from 8 memories on.
  • An "Updated" date on a row when it differs from the saved date.
  • The delete confirmation says agents stop recalling the memory within 2 minutes.
  • A notice for people on their own key that their agents do not use or add memories.

Other

  • A "Memories" entry in the command palette.
  • The mock API serves memories. ?memory=off and ?memory=none preview those states.
  • using/ask-ai.md covers the chip and the filter.

Why

  • Memory worked in chat with no sign of it, and the only way to learn about remember: was the Settings page.
  • The Memories page had no count or filter, and its delete copy did not mention the recall delay.

Limits

  • The confirmation is a check from the UI. The gateway reports nothing back after a save, so the chat looks for the memory in the list. It can say a memory was not saved, not why.
  • No API or contract changes. UI and docs only.

How to test

  • cd ui && pnpm typecheck && pnpm test (1,046 tests pass, 13 new)
  • cd ui && pnpm mock, then open /settings/memories and /chat, and send remember: ... in the chat (/chat?memory=fail shows the not-saved line)
  • Checked in the browser against the mock: saving, saved and not saved all show.
  • Not run against a real gateway with mem0. The match assumes mem0 stores a remember: message as written, or close to it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY

jbouder and others added 2 commits December 3, 2026 19:58
The chat composer gets a Memory chip with the count, a "Remember
something" item that starts a "remember: " message, and a link to
Settings. The count is read again when a reply ends.

Settings > Memories gains a count, a filter on long lists, an Updated
date, a note for people on their own key, and a delete confirmation
that says recall can last 2 more minutes. The palette gets a Memories
entry and the mock API serves memories.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY
The gateway stores the memory in the background and reports nothing
back, so the chat reads the person's memories after the reply and
looks for it there. The line says Saving to memory, then Saved to
memory, or Not saved to memory when it is not listed 30 seconds after
the reply ends. It cannot say why a save failed.

The mock API stores a remembered message; ?memory=fail stores nothing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY

This branch was successfully deployed

1 active deployment
ui-preview — 4384be2c Deployed Dec 4, 2026 by jbouder via Deploy to Cloudflare Pages #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant