feat: Core engines - CompactEngine, ParallelExecutor, MCPManager - #141
Open
raymondginger2018-sudo wants to merge 1 commit into
Open
feat: Core engines - CompactEngine, ParallelExecutor, MCPManager#141raymondginger2018-sudo wants to merge 1 commit into
raymondginger2018-sudo wants to merge 1 commit into
Conversation
raymondginger2018-sudo
force-pushed
the
feat/upstream-core-engines
branch
from
July 30, 2026 07:06
dd72368 to
566dd08
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增 4 个核心引擎模块:\n\n1. compact_engine.py (1007行) — Token-aware 会话压缩引擎\n - 三级水位监控 (micro/compact/deep)\n - LLM 生成摘要 (forked sub-agent)\n - tiktoken 真实计数 + 启发式回退\n - 熔断保护 (3次失败上限)\n\n2. parallel_executor.py (443行) — DAG 并行执行引擎\n - 2D 工具矩阵编排\n - 依赖图自动解析\n - 并行 Worker 池\n\n3. mcp_manager.py (283行) — MCP 服务器生命周期管理\n - 进程启动/停止/健康检查\n - 工具注册/发现\n\n4. auto_compact.py (259行) — 自动压缩触发