DeepSeek Harness plugin

dsh-page-preview

DSH web bundle: inline page previews from `html page-preview` fences plus a floating, session-scoped preview window for local HTML projects and http(s) URLs.

Jump to install

Source facts

Repository
watericetangcw/dsh-page-preview
Latest update
Aug 16, 2026
Category
Memory
GitHub stars
5
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/watericetangcw/dsh-page-preview
Plugin: dsh-page-preview
Author: watericetangcw

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

<div align="center">

dsh-page-preview

Show pages directly in the DeepSeek Harness Web GUI

![License: MIT](LICENSE) ![DeepSeek Harness](https://github.com/watericetangcw/dsh-page-preview)

简体中文 · English

<img src="docs/hello-world.png" alt="Screenshot of the inline preview and floating preview window in action" />

</div>

Install once, use forever: turn HTML code blocks the model writes into inline interactive previews, and live-preview any local page or URL in a floating window at the bottom-right.

✨ Features

🖥️ Inline preview

Ask DSH to emit an html page-preview code block, and once the answer lands it becomes an interactive preview pane right below the message — fullscreen, collapse, open in a new tab — while the code block itself stays a normal code block.

🪟 Floating preview

Four tools, always ready:

ToolWhat it does
preview_registerRegister and open a preview: a local HTML file, a directory containing index.html, or an http(s) URL
preview_replaceSwitch the preview to another page
preview_refreshRefresh after you edit the files
preview_unregisterRemove the registration and close the window

The window is movable, resizable, and fullscreen-able; content scales to a virtual desktop width, so small windows never squash your page. Closing it morphs it into a top-right capsule with a breathing green light — click to bring it back. Previews are session-scoped, so switching sessions never mixes them up.

🚀 Quick install

One command:

dsh plugin --profile web add github:watericetangcw/dsh-page-preview

Then restart dsh web and refresh the browser page once.

🧪 Try it now

Copy a prompt, send it to DSH, and watch it work:

① Inline preview — generate and show a page

Please write a complete static HTML page (all CSS and JS inlined), show it in an `html page-preview` code block, and make it a live clock card.

② Floating preview — preview an online page

Please preview this page with preview_register: https://watericetangcw.github.io/dsh-page-preview/hello-world

③ Floating preview — preview a local project and refresh

Please preview the docs/demo-site directory with preview_register, change the page title to "dsh-page-preview demo", then call preview_refresh so I can see the update.

📖 Usage

  • Inline preview: have DSH output `html page-preview ... ` (CSS and JS must be fully inlined).
  • Floating preview: call preview_register with a path or URL; the other three tools replace, refresh, and close it.

🔗 Links

📄 License

[MIT](LICENSE) © 2026 WateRice