iter(g25): 新增 ua tokens 命令与 MCP get_tokens 工具

This commit is contained in:
HIsheR
2026-10-26 11:34:55 +08:00
parent ccb99c2065
commit 563730c755
8 changed files with 90 additions and 21 deletions
+8
View File
@@ -556,6 +556,14 @@
"acceptance": "list({ items, header, footer, bordered, emptyText, onItemClick }) 渲染条目 avatar/title/description/extra;空数组回落 empty;组件数 38→39 三处计数同步;npm run check 全绿",
"status": "done",
"notes": "自补:组件补充;items 为空回落 empty,onItemClick 让条目可点击"
},
{
"id": "g25",
"title": "令牌查询能力:ua tokens + MCP get_tokens",
"motivation": "Agent 与人都得翻 tokens.json 才知道有哪些 --ua-* 变量,容易凭记忆写错名;llms-full 里还把 textMuted 当成变量名(实际是 text-muted)",
"acceptance": "ua tokens 列出全部令牌(颜色带暗色值)、--json 输出数组;MCP 新增 get_tokens 工具;llms-full 令牌名统一 kebab-case;npm run check 全绿",
"status": "open",
"notes": "自补:构建/门禁工具链改进"
}
]
}