Jiong-w-ang/dsh-preview-panel ↗★ 0
dsh-preview-panel
Multi-tab preview panel plugin for DeepSeek Harness
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Usage
Compose the package into the client and the preview tab appears beside the chat view:
plugins:
'@deepseek-ai/dsh-client-ui-preview': true
For each turn the panel accumulates files whose render-intent locations end in a whitelisted extension (.html, .htm, .svg, .png, .jpg, .jpeg, .json, .md), deduplicated by path and newest-turn-first. Selecting a file reads it through the host's session.readFile RPC and renders it by MIME:
text/html— asandbox="allow-scripts"iframe; the page's scripts run against an opaque origin and cannot reach the shellimage/png/image/jpeg/image/svg+xml— an inline `` over a base64 data URLapplication/json/text/markdown/ anything else — a read-only code block (Markdown renders as formatted text)
The host refuses reads outside the session cwd, outside the extension whitelist, or above 20 MiB (5 MiB returns a truncated preview with a warning).