mostkia/dsh-htmlui ↗★ 0

@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页面的任务。

패키지
@mostkia/dsh-htmlui
호환성
미검증
Harness peer 범위
>=0.1.7-0 <0.2.0-0 || >=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-alpha.1 <0.3.0-0
Cordis peer 범위
>=4.0.0-rc.7 <5.0.0
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 10. 6.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mostkia/dsh-htmlui

Configuration

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.)