Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions .github/workflows/auto-translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Auto Translate Docs

on:
push:
paths:
- 'content/cn/**.md'
- 'content/cn/settings.yml'
- 'scripts/auto-translate/languages.json'

workflow_dispatch:
inputs:
full:
description: 'Full translation (translate all files, not just changed)'
type: boolean
default: false

jobs:
translate:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run auto-translate
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }}
OPENAI_MODEL: ${{ secrets.OPENAI_MODEL }}
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
run: |
if [ "${{ inputs.full }}" = "true" ]; then
node scripts/auto-translate/index.mjs run --full=true
else
node scripts/auto-translate/index.mjs run --changed-only=true
fi

- name: Check for translation changes
id: changes
run: |
git add -A
if git diff --cached --quiet; then
echo "has_changes=false" >> $GITHUB_OUTPUT
else
echo "has_changes=true" >> $GITHUB_OUTPUT
fi

- name: Create PR branch and commit
if: steps.changes.outputs.has_changes == 'true'
id: commit
run: |
BRANCH="auto-translate/$(date +%Y%m%d-%H%M%S)"
echo "branch=$BRANCH" >> $GITHUB_OUTPUT

git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

git checkout -b "$BRANCH"
git commit -m "docs: auto-translate updated content

Triggered by: ${{ github.sha }}
Source branch: ${{ github.ref_name }}"

git push origin "$BRANCH"

- name: Create Pull Request
if: steps.changes.outputs.has_changes == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH="${{ steps.commit.outputs.branch }}"
BASE_BRANCH="${{ github.ref_name }}"

# Collect list of changed translation files
CHANGED_FILES=$(git diff origin/${BASE_BRANCH}...HEAD --name-only | grep -v '^content/cn/' | head -20 | sed 's/^/- /' || true)
CHANGED_COUNT=$(git diff origin/${BASE_BRANCH}...HEAD --name-only | grep -v '^content/cn/' | wc -l | tr -d ' ')
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)

gh pr create \
--title "docs(i18n): sync ${CHANGED_COUNT} translation(s) triggered by ${SHORT_SHA}" \
--body "## Auto-translated Documentation

This PR was automatically generated by the auto-translate workflow.

**Triggered by commit:** [${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
**Source branch:** \`${BASE_BRANCH}\`

### Changed files
${CHANGED_FILES}

---
_Generated by [auto-translate workflow](.github/workflows/auto-translate.yml)_" \
--base "${BASE_BRANCH}" \
--head "${BRANCH}" || true
50 changes: 50 additions & 0 deletions content/cn/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
versions:
- name: v2.0.13
date: 2026-04-09
changedInfo:
Improvements:
- type: 调度日志分级优化
changedInfo:
- 将高频、重复、逐条打印的日志从 info 下调到 debug,明显降低线上日志噪音和存储压力。
- type: 队列日志结构化
changedInfo:
- 本地队列和 Redis 队列日志统一为结构化字段(如 label/item_id/user_id/mem_cube_id/stream),避免大段内容日志,检索和聚合更稳定
- type: 调度链路关键路径可观测
changedInfo:
- 补齐“提交 -> 出队 -> 分发”关键节点的摘要日志,定位堆积、分发异常、任务拥堵更快。

- name: v2.0.12
date: 2026-04-02
changedInfo:
Improvements:
- type: 服务优化
changedInfo:
- 新增最小线程数抽取为可配置参数,支持运行时动态调整线程池大小,有效控制活跃连接数,避免因瞬时流量激增导致系统负载飙升

- name: v2.0.11
date: 2026-03-26
changedInfo:
New Features:
- type: LLM 与搜索能力
changedInfo:
- 新增 MiniMax 作为 LLM Provider,遵循与 Qwen、DeepSeek 相同的接入模式,通过 OpenAI 兼容 API 对接。
- 新增 Tavily 作为可插拔的互联网搜索后端。通过配置即可启用 Tavily API 进行实时网络搜索,为记忆系统提供外部知识补充能力。
- type: 部署与运维
changedInfo:
- 新增 health check API 端点,用于服务状态监控。支持容器编排(如 Kubernetes liveness/readiness probe)和负载均衡器的健康探测。
- 新增生产级 Dockerfile(多阶段构建)和 Kubernetes Helm Chart,包含 MemOS API 服务、Neo4j 图数据库、Qdrant 向量数据库的编排配置,以及 Ingress 和示例 values 文件,支持一键部署到 K8s 集群。
- type: 接口能力扩展
changedInfo:
- 此前 delete_memory 接口仅支持按 memory_id 删除。本次更新扩展了删除过滤条件,支持通过 user_id 和 conversation_id 批量删除记忆,并在 API 层增加了过滤参数校验,同时为 PostgreSQL 后端实现了 delete_node_by_params 方法。
Bug Fixes:
- type: MCP 与消息处理
changedInfo:
- 修复 MCP add_memory 工具消息格式问题;
- 修复 get_further_suggestion 无法处理 string 类型输入参数的问题。
- type: 记忆与反馈
changedInfo:
- 修复用户对记忆执行 feedback 操作后,相关记忆节点被错误归档(archived),导致后续检索时无法命中的问题;
- type: Neo4j
changedInfo:
- 修复 Neo4j 检索后过滤逻辑的问题;
- 修复 Neo4j 嵌套 metadata 写入问题。

- name: v2.0.10
date: 2026-03-19
changedInfo:
Expand Down
13 changes: 11 additions & 2 deletions content/cn/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,28 @@ nav:

- "(ri:file-code-line) API 参考文档": api-reference/search-memories

- "(ri:cpu-line) 自研模型说明":
- "(ri:flask-line) 抽取模型":
- "(ri:file-code-line) 使用示例": self_developed_model/extraction_usage_example.md

- "(ri:puzzle-line) MCP与Agent框架支持":
- "(ri:tools-line) MCP 服务":
- "(ri:book-open-line) 使用指南": mcp_agent/mcp/guide.md

- "(ri:robot-line) Agent开发":
- "(ri:book-open-line) 使用指南": mcp_agent/agent/guide.md

- "(ri:robot-line) Openclaw":
- "(ri:robot-line) Agent":
- "(ri:book-open-line) 云插件 vs 本地插件": openclaw/plugin_compare.md
- "(ri:file-list-3-line) 更新日志": openclaw/changes.md
- "(ri:download-line) 安装指南":
- "(ri:cloud-line) OpenClaw 云插件": openclaw/guide.md
- "(ri:computer-line) OpenClaw 本地插件": openclaw/local_plugin.md
- "(ri:server-line) Hermes 本地插件": openclaw/hermes_local_plugin.md
- "(ri:flask-line) 使用示例":
- "(ri:team-line) 多智能体记忆隔离": openclaw/examples/multi_agent.md
- "(ri:filter-3-line) 记忆召回的二次过滤": openclaw/examples/recall_filter.md
- "(ri:terminal-box-line) Hermes 本地插件使用": openclaw/examples/hermes_usage.md

- "(ri:file-code-line) API文档":
- "(ri:rocket-line) 开始使用":
Expand All @@ -111,6 +117,9 @@ nav:
- "(ri:delete-bin-line) Delete Memory": api_docs/core/delete_memory.md
- "(ri:feedback-line) Add Feedback": api_docs/message/add_feedback.md

- "(ri:cpu-line) 自研模型":
- "(ri:flask-line) Extract Memory": api_docs/core/extract_memory.md

- "(ri:chat-1-line) 消息":
- "(ri:file-list-line) Get Message": api_docs/message/get_message.md
- "(ri:task-line) Get Task Status": api_docs/message/get_status.md
Expand Down Expand Up @@ -139,4 +148,4 @@ nav:
- "(ri:layout-grid-line) 框架与平台":
# - "(ri:chrome-line) 浏览器插件": usecase/frameworks/browser_extension.md
- "(ri:brain-line) Claude MCP": usecase/frameworks/claude_mcp.md
- "(ri:puzzle-2-line) Coze 插件工具": usecase/frameworks/coze_plugin.md
- "(ri:puzzle-2-line) Coze 插件工具": usecase/frameworks/coze_plugin.md
68 changes: 60 additions & 8 deletions content/en/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
versions:
- name: v2.0.13
date: 2026-04-09
changedInfo:
Improvements:
- type: PolarDB Database
changedInfo:
- PolarDB optimization and upgrade. Optimized execution paths for queries with multiple filter conditions, leveraging new kernel capabilities to improve CPU and memory usage, achieving several-fold query acceleration and reducing system pressure.
- type: Memory Version Service
changedInfo:
- Memory version plugin-based architecture.
- type: Service Optimization
changedInfo:
- Optimized scheduling tasks to improve memory usage.

- name: v2.0.12
date: 2026-04-02
changedInfo:
Improvements:
- type: Service Optimization
changedInfo:
- When Feedback updates a node, it follows the memory version logic, updates the original node, and pushes the previous content into the history field.

- name: v2.0.11
date: 2026-03-26
changedInfo:
New Features:
- type: New Features
changedInfo:
- When adding memories, conflicting/duplicate memories are automatically detected, merged, and archived. The latest memory content is retained, while the old memory content is placed in the history field.
- Added Tavily as a pluggable internet search backend. Enable real-time web search via Tavily API configuration, providing external knowledge supplementation capabilities for the memory system.
- type: Deployment and Operations
changedInfo:
- Added health check API endpoint for service status monitoring. Supports container orchestration (e.g., Kubernetes liveness/readiness probes) and load balancer health probes.
- Added production-grade Dockerfile (multi-stage build) and Kubernetes Helm Chart, including orchestration configurations for the MemOS API service, Neo4j graph database, Qdrant vector database, as well as Ingress and example values files, supporting one-click deployment to K8s clusters.
- type: Interface Capability Expansion
changedInfo:
- Previously, the delete_memory interface only supported deletion by memory_id. This update extends deletion filter conditions, supporting batch deletion of memories by user_id and conversation_id, adds filter parameter validation at the API layer, and implements the delete_node_by_params method for the PostgreSQL backend.
Bug Fixes:
- type: Preference memories migrated to graph database
changedInfo:
- Preference memories have been migrated to the graph database, unifying them with other memory types.
- Fixed the issue where get_further_suggestion could not handle string-type input parameters.
- type: memory versioning optimization
changedInfo:
- Memory retrieval reduces redundant calls to get_by_metadata, decreasing retrieval latency.
- type: Neo4j
changedInfo:
- Implemented fine-grained concurrent rate limiting using semaphores, combined with automatic faulty connection removal and thread lifecycle management, to enhance system stability under high concurrency.
- Optimized log levels and content, retaining key execution traces while reducing the impact of log writing on database performance.

- name: v2.0.10
date: 2026-03-19
changedInfo:
Expand Down Expand Up @@ -43,7 +93,7 @@ versions:
- type: Preference memories migrated to graph database
changedInfo:
- Preference memories have been migrated to the graph database, unifying them with other memory types.
- type: memory versioning optimization
- type: Memory version optimization
changedInfo:
- Memory retrieval reduces redundant calls to get_by_metadata, decreasing retrieval latency.
- type: database optimization
Expand Down Expand Up @@ -131,7 +181,7 @@ versions:
changedInfo:
- Reduced duplication between factual and preference memories during retrieval.
Bug Fixes:
- type: Bug Fixes
- type: Fixes
changedInfo:
- Fixed bug for new users in Playground.
- Fixed occasional latency when adding memories in cloud service.
Expand Down Expand Up @@ -185,6 +235,7 @@ versions:
- type: Get Memory Interface
changedInfo:
- Fixed call error in get memory interface when parameter include_preference=False.

- name: v2.0.1
date: 2026-01-08
changedInfo:
Expand Down Expand Up @@ -215,6 +266,7 @@ versions:
- type: Scheduling Module Issue Fix
changedInfo:
- Fixed error when scheduling enables local mode due to missing redis configuration

- name: v2.0.0
date: 2025-12-24
changedInfo:
Expand Down Expand Up @@ -266,7 +318,7 @@ versions:
changedInfo:
- Modularized API scheduler
- Redis ORM optimized for history sync & hybrid search
- type: Data & Infra
- type: Data & Infrastructure
changedInfo:
- PolarDB graph backend connection pool/timeout & fixes
- Unified graph factory (Neo4j/PolarDB/Nebula)
Expand Down Expand Up @@ -313,7 +365,7 @@ versions:
date: 2025-09-10
changedInfo:
New Features:
- type: Group Q&A Bot
- type: Enterprise Group Q&A bot
changedInfo:
- Launched group Q&A bot based on MemOS Cube
- type: KV-Cache Performance Optimization
Expand All @@ -323,7 +375,7 @@ versions:
- type: Plaintext Memory Enhancement
changedInfo:
- Added Reranker sorting functionality for plaintext memory
- type: Playground Updates
- type: Playground Update
changedInfo:
- Updated Playground version with all the above new features
Improvements:
Expand Down Expand Up @@ -360,7 +412,7 @@ versions:
date: 2025-07-29
changedInfo:
New Features:
- type: Explicit Memory
- type: Plaintext Memory
changedInfo:
- Implemented internet search integration with Nebula database support
- Enhanced contextual understanding for memory extraction
Expand All @@ -383,7 +435,7 @@ versions:
changedInfo:
- Performed code refactoring and functionality improvements
- Refactored functional modules including monitor, dispatcher and retriever
- Added major code categories: schemas and utils
- Added schemas and utils major code categories
- Enhanced network logging functionality
- Improved scheduler robustness with new exception-catching decorators
- Implemented locking for shared resources
Expand All @@ -407,7 +459,7 @@ versions:
- type: System Integration
changedInfo:
- Aligned MOSProduct._build_system_prompt signature with MOSCore
- type: Explicit Memory
- type: Plaintext Memory
changedInfo:
- Fixed general text memory processing logic
- Fixed memreader component issues
Expand Down
Loading