Dawn388887/dsh-fileview

Dawn388887★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

DSH plugin: in-GUI file viewer/editor for remote browsers (same-origin fenced, path allowlisted)

README 摘要

dsh-fileview English 简体中文 A DeepSeek Harness (DSH) plugin that lets remote browsers (devices reaching the DSH Web UI over LAN/VPN) view, edit and browse workspace files right in the GUI. Why it exists DSH's host.openPath is pinned to loopback-only in PRIVILEGED METHODS , so clicking a file link on a remote page 403s before anything opens — and the HTTP plane has no generic file-content endpoint. This plugin fills that gap, fenced the same way the rest of the surface is: same-origin check + absolute-path allowlist . Features - Clicking a file link on a remote page opens an in-GUI overlay viewer (full text, scrollable, selectable, editable, savable, touch-friendly) - A slim "文件" (Files) handle on the left edge opens a directory browser (multi-root switcher, breadcrumbs, parent level) - Loopback pages keep the native OS-open behavior untouched - Encoding ladder: BOM (UTF-8 / UTF-16LE / UTF-16BE) → UTF-8 → GB18030; saves preserve the original encoding, BOM and EOL style (CRLF/LF) - Binary files: images (PNG/JPG/GIF/WebP/BMP) display inline, everything else gets a hint - Large files ( 2 MB) open in read-only paginated windows - Atomic saves (temp file + rename) Install & Configure confi…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-pluginfile-viewerremote-accessweb ui

分类