-
feat(web): 助手页按 Claude Design 稿重做 + LLM 输出 markdown 解析 · 7b79d63d
按设计交接包(claude.ai/design)的 PAC 助手.html / assistant-app.jsx 重做样式: - teal(#0D9488)主题;header:teal 机器人 logo + "PAC 助手" + "MCP 患者工具" 药丸 + 模型下拉 (自定义 dropdown,DeepSeek/Gemini/通义千问); - 用户气泡 slate-800 rounded-2xl rounded-tr-sm;助手 teal 头像; - 工具调用折叠卡(slate-50/70 + 扳手 + code 名 + 结果摘要 + ✓;展开看 入参/返回 CodeBlock)= Claude 式透明步骤; - composer rounded-xl + 自增高 textarea + teal 发送键 + 底部说明;空态 teal + 示例 chips。 - LLM 文本输出改用 react-markdown + remark-gfm 解析(表格/标题/列表/code),不复用设计的结构化卡。 SSE 流式 hook 不变;tsc 0。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
luoqi committed
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| (app) | Loading commit data... | |
| globals.css | Loading commit data... | |
| layout.tsx | Loading commit data... |