d0d0e8dbaf
- 提取 Provider 配置到公共模块 core/providers.ts - 统一 PermissionAction/PermissionRule 类型定义到 permission/types.ts - 移除 core/agent.ts 中未使用的 legacyTools 系统 - 移除 tools/index.ts 中未使用的 allTools 导出 - 减少约 125 行重复/冗余代码