Skip to content

feat: improve memory extraction & add document-panel memory editing#1414

Merged
MODSetter merged 16 commits into
MODSetter:devfrom
AnishSarkar22:feature/memory-support-document-panel
May 20, 2026
Merged

feat: improve memory extraction & add document-panel memory editing#1414
MODSetter merged 16 commits into
MODSetter:devfrom
AnishSarkar22:feature/memory-support-document-panel

Conversation

@AnishSarkar22
Copy link
Copy Markdown
Contributor

@AnishSarkar22 AnishSarkar22 commented May 19, 2026

Description

  • Refined personal and team memory protocols with clearer heading-based markdown rules, safer legacy marker handling, and updated memory-tool examples for both new chat and multi-agent flows.
  • Added first-class backend memory APIs for reading, saving, resetting, and managing team memory through dedicated routes instead of direct search-space updates.
  • Wired personal and team memory settings to the new memory API via shared frontend hooks, reducing duplicated settings-page state and API logic.
  • Moved memory into the documents/editor panel experience with virtual MEMORY.md and TEAM_MEMORY.md entries, protected document-row actions, and normal PlateJS editing behavior.
  • Updated document-panel state, memory icons/types, and editor behavior so memory can be opened and saved through the same right-panel editor flow as regular documents.
  • Added a lightweight memory document parser and canonical renderer that replaces regex-only validation, preserves user-authored lines, and normalizes legacy marker bullets into the new markerless markdown format on save.
  • Removed unused background memory extraction functions and related components.

Motivation and Context

FIX #

Screenshots

API Changes

  • This PR includes API changes

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation
  • Dependency/Build system
  • Breaking change
  • Other (specify):

Testing Performed

  • Tested locally
  • Manual/QA verification

Checklist

  • Follows project coding standards and conventions
  • Documentation updated as needed
  • Dependencies updated as needed
  • No lint/build errors or new warnings
  • All relevant tests are passing

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

@AnishSarkar22 is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 19, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 09aa61d1-86d1-459b-a4f9-da2a89256461

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AnishSarkar22 AnishSarkar22 changed the title impr: add document-panel memory editing feat: improve memory extraction & add document-panel memory editing May 19, 2026
@AnishSarkar22 AnishSarkar22 marked this pull request as ready for review May 20, 2026 07:54
@AnishSarkar22 AnishSarkar22 marked this pull request as draft May 20, 2026 08:04
@AnishSarkar22 AnishSarkar22 marked this pull request as ready for review May 20, 2026 09:36
@MODSetter MODSetter merged commit 55cce4e into MODSetter:dev May 20, 2026
8 of 11 checks passed
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.

2 participants