refactor: multi-provider memory adapters with scan-based builtin (#227)

* refactor: restructure memory into multi-provider adapters, remove manifest.json dependency

- Rename internal/memory/provider to internal/memory/adapters with per-provider subdirectories (builtin, mem0, openviking)
- Replace manifest.json-based delete/update with scan-based index from daily files
- Add mem0 and openviking provider adapters with HTTP client, chat hooks, MCP tools, and CRUD
- Wire provider lifecycle into registry (auto-instantiate on create, evict on update/delete)
- Split docker-compose into base stack + optional overlays (qdrant, browser, mem0, openviking)
- Update admin UI to support dynamic provider config schema rendering

* chore(lint): fix all golangci-lint issues for clean CI

* refactor(docker): replace compose overlay files with profiles

* feat(memory): add built-in memory multi modes

* fix(ci): golangci lint

* feat(memory): edit built-in memory sparse design
This commit is contained in:
晨苒
2026-03-14 06:04:13 +08:00
committed by GitHub
parent 27607d582d
commit 627b673a5c
75 changed files with 8253 additions and 2107 deletions
+4 -2
View File
@@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
image: [server, agent, web, mcp, browser]
image: [server, agent, web, mcp, browser, sparse]
platform: [linux/amd64, linux/arm64]
include:
- image: server
@@ -49,6 +49,8 @@ jobs:
dockerfile: docker/Dockerfile.mcp
- image: browser
dockerfile: docker/Dockerfile.browser
- image: sparse
dockerfile: docker/Dockerfile.sparse
- platform: linux/amd64
runner: ubuntu-latest
- platform: linux/arm64
@@ -132,7 +134,7 @@ jobs:
needs: build
strategy:
matrix:
image: [server, agent, web, mcp, browser]
image: [server, agent, web, mcp, browser, sparse]
steps:
- name: Download digests
uses: actions/download-artifact@v4