dsh-genuiB66
@omdsh-devGives the model's answers a face — the text is still there, and an interactive UI is already live. Ask how this month's orders are doing and a clickable data panel renders inside the answer.
dsh plugin --profile web add github:omdsh-dev/dsh-genui
The author hasn't published to npm, so this command installs from git source. pnpm ≥ 10 refuses to run a git dependency's prepare script until you grant it, so your first install needs an allowBuilds entry in that profile's pnpm-workspace.yaml — which means letting this package's code run on your machine. Pin a #commit while you're at it.
The name after --profile is a profile name you choose yourself — swap in whichever one you use.
Once installed, the model stops answering in text alone: ask "how are this month's orders doing" and it renders a clickable data panel right inside the answer as it analyzes — watch trends, drag sliders, hit refresh, and the model actually responds. The most notable engineering choice is dual-channel rendering, picked automatically at startup with no dependency on a specific host version: when the host exposes the fence-registry extension point (newer dsh builds), fences register through the host's own streaming render pipeline; when it does not (including stock DSH and older builds), the plugin falls back to a DOM channel, observing the session DOM and mounting its own render tree. Since 0.7.2 the DOM channel supports streaming too, so components appear as the model writes them rather than after the whole reply lands. Components, interactions, panels and persistence behave identically on either channel.
- ▸Dual-channel rendering chosen automatically: fence-registry on newer hosts, DOM channel on stock or older builds — no host version lock-in
- ▸Since 0.7.2 the DOM channel streams too: the first finished component shows up immediately
- ▸Components, interactions, panels and persistence behave identically on both channels
回答内嵌可交互 UI 面板,视频演示+双通道渲染说明认真
Drop it into your README — it links back to this page.
