dsh-uigen
vicfei/dsh-uigen
DSH 回复内组件生成+渲染:agent 组合 dsh-ui 组件树,ui_compose 工具按 genui 0.16.0 白名单(59 型;carousel<=24、map<=50 等硬限;每答案一个 hero 等纪律帽)做带修复诊断的起飞前 lint,只有干净块才被发出渲染。本地 LLM,无云端生成 API。
安装
dsh plugin --profile web add github:vicfei/dsh-uigenREADME
dsh-uigen — generate-and-render inline UI components for DeepSeek Harness
Describe it, get a component, see it in the reply. The agent's own LLM
composes UI against a whitelisted component catalog (the dsh-ui JSON
spec), composition is schema-validated fail-closed (malformed blocks
never reach the renderer — the agent gets repair diagnostics and self-heals),
and dsh-genui renders the result inline in the conversation. No cloud
generation API — fully local, intranet-friendly.
The missing layer atop two proven demands: describe→component (Magic/21st, 14k/wk — cloud-locked) and components-in-replies on DSH (dsh-genui, 9.9k/wk — render surface only). dsh-uigen completes the loop with the generation quality neither has. Full plan: docs/plan-v1.md.
Status
S1 survey complete
Agent self-install — paste this into your DeepSeek Harness agent:
Install dsh-uigen from https://github.com/vicfei/dsh-uigen into this profile: run \dsh plugin --profile add dsh-uigen` AND add "dsh-uigen" to the profile's dsh.profile.bundles list, then verify the ui_compose tool answers.`; V1 in planning — see ROADMAP.md.
Not affiliated with DeepSeek, 21st.dev, or dsh-genui. MIT.