重构: tool_registry 声明式注册基础设施(declare_tool! 宏 + list_projects 试点,零回归)

This commit is contained in:
lxy
2026-08-01 12:56:19 +08:00
parent 438f9692f2
commit c002f0b352
6 changed files with 239 additions and 18 deletions
+3
View File
@@ -44,6 +44,9 @@ pub mod skills;
pub mod stream_recv;
pub mod title;
pub mod tool_registry;
// 声明式工具注册集合(tool_registry 拆分第一步 · 试点容器)。
// 试点:list_projects 已迁声明式 declare_tool! 宏,其余 47 工具仍在 tool_registry.rs。
pub mod tools;
use agentic::conv_state::{ConvState, ConvStateStore};