概览
@an-an-618/dsh-intelligent-ui
Intelligent UI for DeepSeek Harness: the model writes a declarative spec, the Host compiles it into a JSON program, and a Client interpreter renders interactive cards with local state and explicit submit.
README / ZH
插件文档
目录摘要
Intelligent UI for DeepSeek Harness: the model writes a declarative spec, the Host compiles it into a JSON program, and a Client interpreter renders interactive cards with local state and explicit submit.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- 工具调用行只显示摘要(标题、节点数、交互数),完整可交互卡片在本轮末尾的 turnTail 里;追问或调整参数时请用卡片本身或 `ask_with_ui`。 - 卡片草稿会写进当前标签页的 `sessionStorage`,刷新后恢复;换会话、关标签页或提交成功后不再保留。 - 表达式只有算术、比较、逻辑、三元和 `item.field` 一级属性访问,没有函数、循环或数组索引。 - `render_ui` 没有提交入口;需要用户回传值时请用 `ask_with_ui`。 - 图表支持 bar/line/area/pie/donut/scatter/heatmap;`values` 可以是数字或 `{= }` 表达式,`categories` 仍是静态字符串,不接外部图表库。 - 流式预览是只读的:会逐步出现已完成的控件,但控件禁用、无提交、无 required 校验;完整交互仍要等最终卡片。 - 图片和链接只接受 http/https;图片默认仅 https,`imageHosts` 可限制域名,私有地址永远拒绝。不支持 HTML、原始 CSS、事件回调。
