@mostkia/dsh-htmlui
HTML session UI for DeepSeek Harness: the agent authors HTML/CSS/JS, the plugin renders it in sandboxed iframes placed inline, docked, floating, or fullscreen, and relays interaction back to the model over POST + SSE. 适合需要让智能体生成并交互式渲染HTML/CSS/JS页面的任务。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mostkia/dsh-htmluiConfiguration
All row configuration is optional, and none of it needs a machine path:
- insert:
- id: dsh-htmlui
name: '@mostkia/dsh-htmlui'
config:
root: '' # storage root, defaults to $DSH_HOME/htmlui
maxInlineBytes: 16384 # cap on one inline html/css/js fragment
actionPrompt: '' # sentence appended to an [html-ui:action] message
allowedOrigins: [] # extra trusted browser origins (see Security)
Runtime data lives under $DSH_HOME/htmlui: ui//index.html (the document as
authored — clean and portable on disk, with nothing injected into it),
templates// (hosted templates) or templates/.html (hand-written ones),
state/.json (per-panel scratch), store/.json (the shared slots),
and secret, which backs the capability tokens. Deleting a
ui// directory by hand is always safe: the record goes with it and the interface
disappears from the session. (Records whose session no longer exists are kept rather
than collected, so an interface never vanishes just because its session was archived.)