Repository navigation
Commit 16fc903
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
- rust
- contracts
- fixtures/agent
- lithe-agent-host
- src
- cli_update
- codex_context
- codex_history
- edit_review
- hooks
- instructions
- mcp_probe
- model_proxy
- websocket
- skills
- subscription
- tests
- lithe-core
- include
- src
- agent
- diagnostics
- mcp
- protocol
- runtime
- tests
- logging
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
This file was deleted.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments