feat(diagnostic): 路由页底部接 dropped-tools 诊断 + 删死 reset hook(MOC-261 一-11) (#528)
MOC-261 一-11:被丢弃工具诊断(GET /api/diagnostic/dropped-tools 返 adapter 累计静默丢弃的 未知 Responses API 工具类型计数)旧在 Dashboard(Stage6 已删)→ 新前端无家。按用户要求接到 **路由(ProxyPage)页底部**:total>0 显警告条(次数/类型数)+ 可展开 per-type 列表 + hint; =0 显「未检测到」。新增 system.ts getDroppedTools;i18n dashboard.droppedTools* 重命名为 diagnostic.droppedTools*(+None 键);ProxyPage 复用既有 2s 轮询刷新。 顺手清同域死代码(本任务域强关联):删 crates/adapters reset_dropped_tool_counters (#[cfg(test)] 测试 hook、零调用)+ 订正其 stale 注释。 验证:cargo check exit 0 + adapters test + vue-tsc + vite build + fmt + machete 全绿。
X
Xinlong Wu committed
1d8a58a7cd03fc16a32a650cdb8a71b957bdd8d3
Parent: 925fd28
Committed by GitHub <noreply@github.com>
on 6/20/2026, 9:13:25 PM