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 ピア範囲
>=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 ピア範囲
>=4.0.0-rc.7 <5.0.0
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/10/06

インストール

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

ドキュメント

README 全文を読む ↗

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