eaglezlee/dsh-ui-html ↗★ 1

@eaglezlee/dsh-ui-html

在DSH对话中渲染沙箱化HTML并回传用户操作 适合需要构建交互式HTML界面并与Agent进行结构化交互的用户。

套件
@eaglezlee/dsh-ui-html
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6 || ^0.2.0-rc.1
版本
0.1.0
授權
MIT
最近更新
2026年10月9日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:eaglezlee/dsh-ui-html

配置

设置默认说明
enabledtrue总开关:关闭后不注册工具、不注册事件桥、不发系统提示。
announceToAgenttrue是否向 agent 的系统提示声明本插件;关闭后仅在用户点名时使用。
maxHtmlBytes262144单次界面 HTML 的最大字节数(UTF-8)。
maxEventBytes65536单条交互事件 payload 序列化后的最大字节数。
interactionTimeoutMs0阻塞模式等待用户交互的超时(毫秒);0 表示一直等到本轮被取消。
allowedResourceOrigins[]允许界面加载的外部资源来源(scheme://host[:port]),默认全部禁止。
eventBridgeEnabledtrue交互事件回传开关;关闭后 wait_for_interaction: true 返回 status: unsupported 而不是抛错。