nirvanaslash/dsh-artifact-preview

nirvanaslash★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Codex-style artifact preview for DeepSeek Harness (DSH): produced-files card row in chat + split-screen side preview (Markdown / code / CSV / JSON / images / HTML)

README 摘要

dsh-artifact-preview English · 中文 Codex-style artifact preview for DeepSeek Harness (DSH) . dsh-artifact-preview is a client plugin ( dsh.client.platform: "web" ) that makes produced files visible and inspectable right in the chat: - Produced-files row in chat — after the agent writes files, the closing message shows a "产物" row with file chips and inline image thumbnails ; clicking any of them opens the side preview. - Split-screen side preview panel — a resizable right-hand panel (real split, conversation stays visible and unobstructed) rendering: - Markdown → rich text (headings, tables, lists, code fences, links, images; relative local images resolve automatically) - Source code ( .py .js .ts .sh .css … ) → dark syntax highlighting - CSV → HTML table - JSON → collapsible tree - Images ( .png .jpg .gif .webp .svg … ) → checkerboard-backed centered view - HTML / localhost ports → iframe (with port chips for dev servers, URL bar, back/forward/reload, open-external) - Global hooks ( window. dshOpenFilePreview / dshCanPreviewPath ) so other plugins can route "open file" intents into the preview panel. Install From the DSH web Settings → Plugins → Marketplace (search dsh-artifact-prev…

在 GitHub 查看完整 README →
工具/开发artifactdeepseek-harnessdshdsh-pluginmarkdownpreviewagent

分类