chore(backlog): 记录 g252 完成
This commit is contained in:
@@ -2654,6 +2654,15 @@
|
||||
"status": "done",
|
||||
"domain": "tooling",
|
||||
"notes": "首版只扫 ui.css 把 highlight 误报为闲置(实际被 --ua-shadow-highlight 引用),补上 tokens.css 作为消费面后剩 3 个真闲置:surface-3 / text-secondary / font-size-xl;text-secondary 仍被 audit:contrast 配对表引用,故只报不删"
|
||||
},
|
||||
{
|
||||
"id": "g252",
|
||||
"title": "MCP get_component 支持 format: md",
|
||||
"motivation": "g246 给 CLI 加了 --md,但 Agent 侧主力入口是 MCP:get_component 仍只回一大坨 JSON,Agent 拿到要自己拼参数表才能贴给人看。",
|
||||
"acceptance": "MCP get_component 入参增加 format 枚举 json|md(缺省 json 行为不变);md 时返回与 ua info --md 同款 Markdown 片段(标题 + 参数表 + 用法 + 示例 + 配方指路);字符串结果在 tools/call 层原样作为 text 返回(不再 JSON 转义);npm run check 全绿。",
|
||||
"status": "done",
|
||||
"domain": "tooling",
|
||||
"notes": "实测 stdio 往返:text 字段直接是可读 Markdown;json 分支未变(老客户端无感)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user