A plugin for DeepSeek Harness. The model writes a React component into its reply and dsh web runs it as the tokens arrive — sliders you can drag before the card is finished, 3D, games, any package on npm.
$ dsh plugin --profile web add dsh-generative-uipartial-react compiles the half-written file on every frame and keeps the last good one on screen. A control is live the moment its line arrives.
Hooks keep their values across recompiles, so what the reader dragged mid-stream is still there when the model finishes the file.
Bare imports resolve through esm.sh against the host's own React — React Aria, react-three-fiber, KaTeX, NumberFlow, confetti.
$dsh/chat starts the next turn, $dsh/state persists, $dsh/fs and $dsh/exec run under the session's own access mode.
A component is shorter than the page that would draw it — about 45% fewer output tokens across the 48-case gallery in the UI4A report — and it can render long before it is complete. HTML has nothing to show until it parses.
Read the UI4A report →One install. The cards render in the host's React tree, under the host's styles and the session's permissions.
$ dsh plugin --profile web add dsh-generative-ui