Skip to content

Commit 16fc903

Browse files
1lckag-atomcode
andauthored
feat(core)!: #1799 删除 ACP Agent 宿主与 agent.* 命令 (#18)
桌面端已不做 Agent 对话(Lithe-IDEA#1799 第十轮删除实现),Core 侧仍保留 整套 ACP 连接、适配器安装、模型调用代理与 agent.* 命令。本次一并删除: - 删除 lithe-agent-host crate(ACP 连接、会话、订阅、历史、hooks、技能、 模型调用统计等)与 workspace 成员。 - 删除 lithe-core 的 agent 模块、agent.* 命令,以及依赖 agent host 进程与 网络能力的 MCP 探测桥(mcp.probe)。MCP 配置解析、库规划与工具策略保留, 它们不依赖 agent host。 - 删除 lithe_agent_open_json、lithe_agent_send_json、lithe_agent_close 三个 C ABI 入口与 lithe_core.h 声明。 - 删除 rust/fixtures/agent 与 rust/contracts/agent-turn-policy.json,并从 rust-core-api.md 删除 ACP ABI 文案。 - execute_json_with_events 不再包装 agent 进度 sink,helper_failures 不再 注入 agent 失败事实。 移除 lithe-agent-host 后有两个特性统一变化,已在本 crate 显式声明:chrono 需要 clock(Utc::now),serde_json 需要 preserve_order(日志 JSON 键序)。 验证:cargo fmt --all --check;cargo check -p lithe-core --lib; cargo test -p lithe-core --lib(1806 通过);注释校验脚本通过。 Co-authored-by: AtomCode (deepseek-v4.1-flash) <noreply@atomgit.com>
1 parent d797244 commit 16fc903

89 files changed

Lines changed: 47 additions & 35437 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎rust/Cargo.lock‎

Lines changed: 26 additions & 1056 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎rust/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["lithe-core", "lithe-core-rules", "lithe-git-host", "lithe-agent-host", "lithe-ide-host", "lithe-remote"]
2+
members = ["lithe-core", "lithe-core-rules", "lithe-git-host", "lithe-ide-host", "lithe-remote"]
33
resolver = "2"
44

55
[profile.release]

‎rust/contracts/agent-turn-policy.json‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎rust/contracts/rust-core-api.md‎

Lines changed: 8 additions & 811 deletions
Large diffs are not rendered by default.

‎rust/fixtures/agent/acp-events-v1.json‎

Lines changed: 0 additions & 547 deletions
This file was deleted.

‎rust/fixtures/agent/agent-instructions-v1.json‎

Lines changed: 0 additions & 40 deletions
This file was deleted.

‎rust/fixtures/agent/agent-management-v1.json‎

Lines changed: 0 additions & 212 deletions
This file was deleted.

0 commit comments

Comments
 (0)