DSH File Viewer
liguobao/dsh-file-viewer · skills
A universal, read-only file preview layer for DeepSeek Harness: open and inspect files right inside the web UI — no external application needed.
★ 5GitHub stars
0Forks
2026-09-08Last updated
TypeScriptLanguage
MITLicense
Key features
- Host half (dist/index.js) registers the /fileviewer authenticated RPC channel and exposes both a fileViewerContent provider registry and a fileViewerHost bounded service for trusted transport plugins.
- The viewer does not assume content lives in a local folder: other host plugins can register readers for locators such as artifact://run/report.json, object storage, generated output, or remote APIs.
- A boundary-checked ctx.fs provider is installed only when that service is available
Requirements
- On rc2 the host RPC channel is registered with an explicit loopback authority and workspace discovery uses the legacy apiProxy fallback.
Install command
dsh plugin --profile web add github:liguobao/dsh-file-viewer