Commit Graph
8 Commits
Author SHA1 Message Date
my_local_kimi_dev2 69fa9692d3 [REQ-20260918-0004] 撤机工单 MCP 查询工具(列表+详情)
- withdraw.order.list.query:对齐 /withdrawOrder/pageList,21 个可选参数(类型/状态白名单、
  撤机单号/取货单号、代理/项目/三人员、申请/审核/调度/取货/完成 5 组日期范围、分页截断 notice)
- withdraw.order.detail.query:主单+取回明细(in_count>0)+运维/协同人员+已办流程(order_type=1
  排除抄送)+凭证附件(bucket/objectKey 三元组),不存在/无权统一 NOT_FOUND_OR_FORBIDDEN
- 行级权限 applyWithdrawOrderRowFilter 1:1 复刻 getWorkOrderAuth(type=3),
  补齐老系统 lookDetails 缺失的详情权限校验
- 修复老系统 finishDate 过滤误生成 finish_date 列的 bug,显式映射 finish_time
- 新增 WithdrawOrder/WithdrawOrderDetails 实体与空 mapper,测试 10 个新用例
- 文档:agent-mcp-tools-reference §28/29 + withdraw-order-mcp-tools-design.md

单测全量 281/281 通过
2026-09-18 12:12:35 +08:00
my_local_kimi_dev2 2c6760ce60 [REQ-20260917-0010] 移机工单 MCP 查询工具(列表+详情) (#20) 2026-09-17 18:36:33 +08:00
my_local_kimi_dev2 4e5ee541e3 docs(mcp): update ops/ai integration docs with prod scope facts
- 新增 4.1 生产环境对接现状(MCP 入口、ensure 换签、握手流程)
- operation scope(id=2) 当前绑定 24 个工具;移除未绑定的 agent.count
- xiaoqu-ai scope(id=3) 当前绑定 12 个工具;代理域工具改为实际可用映射
- 开发顺序改为按 4.1 清单对照核验
2026-09-16 18:30:07 +08:00
my_local_kimi_dev2 c430cc9322 docs(mcp): install order tools design (reviewed) 2026-09-16 15:04:30 +08:00
my_local_kimi_dev2 12de320459 feat(admin): scope tools dialog with category tabs and table
- top category tabs with per-category counts and selected badges
- table layout: checkbox, tool name, description, type, status
- header checkbox for select-all with indeterminate state
- search filter and selected-only toggle
- footer summary of cross-category selections
- keep existing data-testid hooks for E2E tests
2026-09-16 11:35:17 +08:00
my_local_kimi_dev2 798075f47e docs: add MCP external integration spec v1.0 2026-09-16 09:55:19 +08:00
my_local_kimi_dev2 a575736c81 feat(admin): paginate tools list endpoint and console UI
- GET /tools returns ToolPageView{total,page,pageSize,records}, pageSize=0 keeps full-list mode
- App.vue adds pager below tools table; scope/audit/category pickers use allTools
- add backend pagination tests and front-end pager contract test
2026-09-16 09:52:19 +08:00
my_local_kimi_dev2 78e319c2f9 feat(mcp): add warehouse todo unified query tool
Merge outbound/inbound/allocation process views into warehouse.todo.list.query,
filtered by task assignee (user_id) matching legacy todo semantics (REQ-20260915-0008)
2026-09-15 17:32:59 +08:00