chore(backlog): 记录 g322 完成

This commit is contained in:
HIsheR
2026-10-27 01:10:50 +08:00
parent 6beaf749e7
commit 3a637c60c8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3288,7 +3288,7 @@
{
"id": "g322",
"domain": "tooling",
"status": "open",
"status": "done",
"title": "MCP get_component 支持逗号批量,与 ua info 对齐",
"motivation": "g319 给 `ua info` 加了逗号批量,但 Agent 查组件的主通道是 MCP(get_component 一次仍只能查一个);拼一个界面要 3–5 次工具往返,MCP 侧同样需要批量,并抽出 CLI / MCP 共用的名字解析函数避免两处口径漂移。",
"acceptance": "① get_component 的 name 支持逗号分隔多值:json 返回数组、md 返回以水平线分隔的多段片段,单值输出结构不变;② 不存在的 id 报错并标明序号;③ 名字解析抽成 CLI / MCP 共用函数;④ 工具 description 同步更新;⑤ npm run check 通过。",