feat(context): add MCP result compactor for tool output shadow path
Memind CI / Test, build, and release guards (push) Has been cancelled

Introduce off/shadow/active compaction for large tkmind read/research and
excel report payloads with optional Redis-backed ctx_fetch handles, keeping
fail-open behavior when storage is unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-09 22:05:02 +08:00
parent 51c5fc0e18
commit 60a428612c
7 changed files with 534 additions and 14 deletions
+6
View File
@@ -50,3 +50,9 @@ MEMORY_CANDIDATE_ENABLED=0
# MEMIND_ZVEC_WORKSPACE_MODE=off
# MEMIND_ZVEC_BINARY=zg
# MEMIND_ZVEC_WORKSPACE_TASK_TYPES=page_data_dev_complex,repo_refactor,multi_file
# MCP tool result compaction (Phase 1-B, default off — version无关)
# MEMIND_MCP_COMPACT_MODE=off
# MEMIND_MCP_COMPACT_BUDGET_CHARS=4000
# MEMIND_MCP_COMPACT_TTL_SECONDS=3600
# MEMIND_RUNTIME_REDIS_URL=redis://127.0.0.1:6379/0