Skip to content

feat: poly view mem#3

Open
CaralHsi wants to merge 117 commits intomainfrom
feat/poly-view-mem
Open

feat: poly view mem#3
CaralHsi wants to merge 117 commits intomainfrom
feat/poly-view-mem

Conversation

@CaralHsi
Copy link
Owner

@CaralHsi CaralHsi commented Feb 5, 2026

Description

Summary: (summary)

Fix: #(issue)

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @(reviewer)

Checklist:

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

bittergreen and others added 17 commits January 30, 2026 17:24
…ns (MemTensor#992)

* feat: Data structure for memory versions

* feat: Initialize class for managing memory versions

* test: Unit test for managing memory versions
fix: add fileurl to memoryvalue

Co-authored-by: 黑布林 <11641432+heiheiyouyou@user.noreply.gitee.com>
…MemTensor#1001)

* feat: add delete_node_by_mem_cube_id && recover_memory_by_mem_kube_id

* feat: add delete_node_by_mem_cube_id && recover_memory_by_mem_kube_id

* feat: add polardb log

* feat: add delete_node_by_mem_cube_id
* fix: remove duplicate MOSMCPStdioServer class, use MOSMCPServer

The MOSMCPStdioServer class was calling _setup_tools() which was not defined.
Consolidated into MOSMCPServer which has the proper implementation.

* feat: add PostgreSQL + pgvector backend for graph database

- Create PostgresGraphDB class with full BaseGraphDB implementation
- Add PostgresGraphDBConfig with connection pooling support
- Register postgres backend in GraphStoreFactory
- Update APIConfig with get_postgres_config method
- Support GRAPH_DB_BACKEND env var with neo4j fallback

Replaces Neo4j dependency with native PostgreSQL using:
- JSONB for flexible node properties
- pgvector for embedding similarity search
- Standard SQL for graph traversal

* feat: change embedding dimension to 768 (all-mpnet-base-v2)

Match krolik schema embedding dimension for compatibility

* fix: add missing methods to PostgresGraphDB

Add remove_oldest_memory and get_grouped_counts methods required by
MemOS memory management functionality.

* fix(recall): preserve vector similarity ranking in search results

The merge/deduplicate logic was converting hit IDs to a set, losing
the score-based ordering from vector search. Now keeps highest score
per ID and returns results sorted by similarity score (descending).

Fixes both _vector_recall and _fulltext_recall methods.

* fix(reranker): use recall relativity scores when embeddings unavailable

When embeddings aren't available, the reranker was defaulting to 0.5
scores, ignoring the relativity scores set during the recall phase.

Now uses item.metadata.relativity from the recall stage when available.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat: add overlay pattern for Krolik security extensions

- Add overlays/krolik/ with auth, rate-limit, admin API
- Add Dockerfile.krolik for production builds
- Add SYNC_UPSTREAM.md documentation
- Keeps customizations separate from base MemOS for easy upstream sync

* Delete SYNC_UPSTREAM.md

---------

Co-authored-by: Anatoly Koptev <anatolykoptev@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: CaralHsi <caralhsi@gmail.com>
…mTensor#999)

* fix: add fileurl to memoryvalue

* Extract the phrases from the key and input them into the tags.

---------

Co-authored-by: 黑布林 <11641432+heiheiyouyou@user.noreply.gitee.com>
* fix: add ruff check code && poetry run ruff format

* fix: add ruff check code && poetry run ruff format
MemTensor#1011)

* fix: parallel chunk large memory items and process those chunks, but keep the original order

* fix: parse memory items keeping order-preserving
* feat: optimize polardb delete_node_by_mem_cube_id

* feat: optimize polardb delete_node_by_mem_cube_id

---------

Co-authored-by: CaralHsi <caralhsi@gmail.com>
* feat: new unity bussiness chat api

* feat: delete api, recover api, fulltext search in playground

* feat: api optimize

* fix: modify error to warning

---------

Co-authored-by: yuan.wang <yuan.wang@yuanwangdebijibendiannao.local>
whipser030 and others added 12 commits February 5, 2026 16:26
…face is inaccurate. (MemTensor#1018)

* fix: add fileurl to memoryvalue

* Extract the phrases from the key and input them into the tags.

* The issue of inaccurate retrieval of "total nodes" through the "get memory" interface

---------

Co-authored-by: 黑布林 <11641432+heiheiyouyou@user.noreply.gitee.com>
…y" interface is inaccurate. " (MemTensor#1021)

Revert "fix: The "total nodes" information returned by the "get memory" inter…"

This reverts commit da91ffc.
## Description

Please include a summary of the change, the problem it solves, the
implementation approach, and relevant context. List any dependencies
required for this change.

Related Issue (Required):  Fixes @issue_number

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (does not change functionality, e.g. code style
improvements, linting)
- [x] Documentation update

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

- [ ] Unit Test
- [ ] Test Script Or Test Steps (please provide)
- [ ] Pipeline Automated API Test (please provide)

## Checklist

- [x] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [x] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [x] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [x] I have created related documentation issue/PR in
[MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) |
我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档
issue/PR(如果适用)
- [x] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [x] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人

## Reviewer Checklist
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] Made sure Checks passed
- [ ] Tests have been provided
…emTensor#1078)

* feat: initialize demo/aotai-hike

* feat: adjust game panel

* feat: add small map

* feat: multi-step in small map

* feat: Switch the level from horizontal to vertical

* feat: adjust front page

* feat: adjust small map

* feat: adjust front panel

* feat: add roles

* feat: add role in MainMap

* feat: add message content in MainMap

* feat: add message bubble

* feat: add message bubble

* chore: front code

* feat: adjust game rule

* feat: adjust rule

* feat: adjust MainMap Roll

* feat: voting for teamleader

* fix: route choose

* feat: add success/fail status; fix: vote rule;

* fix: success/fail status;

* fix: success/fail status;

* feat: adjust weather changing

* feat: add weather

* feat: init algorithm services

* feat: init algorithm services

* feat: add algorithm scripts

* feat: add algorithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* fix: hovers

* fix: fix choose point bug

* feat: add prompt; add character feature

* fix: choose button bug

* feat: add CAMP

* fix: camping

* feat: add multi-view in mem-reader

* feat: add poly-view mem-reader

* feat: add role-id to prompt

* feat: adjust poly-view prompt

* feat: add roleid role name in game

* feat: add roleid role name in game

* feat: modify cube controll in game; modify prompt

* feat: add user feature to itself cube; add realtime-history to chat prompt

* fix: role name bug

* feat: add llm voting

* feat: en comment

* fix: conflict

* feat: add share button

* feat: modify share button

* feat: modify share button

* feat: modify share button

* feat: modify share button

* feat: modify share image

* feat: modify share image

* feat: modify share image

* feat: modify share image

* feat: modify share image

* chore: comment lang

* fix: role attributes

* doc: aotai hike game

* doc: aotai hike game
* feat: initialize demo/aotai-hike

* feat: adjust game panel

* feat: add small map

* feat: multi-step in small map

* feat: Switch the level from horizontal to vertical

* feat: adjust front page

* feat: adjust small map

* feat: adjust front panel

* feat: add roles

* feat: add role in MainMap

* feat: add message content in MainMap

* feat: add message bubble

* feat: add message bubble

* chore: front code

* feat: adjust game rule

* feat: adjust rule

* feat: adjust MainMap Roll

* feat: voting for teamleader

* fix: route choose

* feat: add success/fail status; fix: vote rule;

* fix: success/fail status;

* fix: success/fail status;

* feat: adjust weather changing

* feat: add weather

* feat: init algorithm services

* feat: init algorithm services

* feat: add algorithm scripts

* feat: add algorithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* feat: add log to algotithm scripts

* fix: hovers

* fix: fix choose point bug

* feat: add prompt; add character feature

* fix: choose button bug

* feat: add CAMP

* fix: camping

* feat: add multi-view in mem-reader

* feat: add poly-view mem-reader

* feat: add role-id to prompt

* feat: adjust poly-view prompt

* feat: add roleid role name in game

* feat: add roleid role name in game

* feat: modify cube controll in game; modify prompt

* feat: add user feature to itself cube; add realtime-history to chat prompt

* fix: role name bug

* feat: add llm voting

* feat: en comment

* fix: conflict

* feat: add share button

* feat: modify share button

* feat: modify share button

* feat: modify share button

* feat: modify share button

* feat: modify share image

* feat: modify share image

* feat: modify share image

* feat: modify share image

* feat: modify share image

* chore: comment lang

* fix: role attributes

* doc: aotai hike game

* doc: aotai hike game

* doc: aotai hike game
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.