Repository navigation
feat(memory): chat memory chip and Settings > Memories polish - #115
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Chat
remember:message and focuses the composer, and "Manage memories", which opens Settings > Memories.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
remember:.Other
?memory=offand?memory=nonepreview those states.using/ask-ai.mdcovers the chip and the filter.Why
remember:was the Settings page.Limits
How to test
cd ui && pnpm typecheck && pnpm test(1,046 tests pass, 13 new)cd ui && pnpm mock, then open/settings/memoriesand/chat, and sendremember: ...in the chat (/chat?memory=failshows the not-saved line)remember:message as written, or close to it.🤖 Generated with Claude Code
https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY