dsh-doc-rail
Manifest validRight-side document rail for the DeepSeek Harness web GUI — Markdown/plain-text viewer with light & deep-navy themes, drag-resize, recent files, auto-sync. (中文:dsh web 右侧文档面板,支持浅色/深蓝主题、拖宽、最近文件、自动同步)
dsh-doc-rail
A resizable right-side document rail for the DeepSeek Harness web GUI
(dsh web). It shows a Markdown or plain-text file beside your conversation —
the natural home for a session handover note — with:
- Light (warm paper) and deep-navy dark themes, switchable in the panel;
- drag-to-resize width (double-click the left edge to reset to 400 px);
- open any local
.md/.txtpath (paste a path, or pick from Recent); - auto-sync: the file is re-read every 4 s, so saves show up by themselves;
- appearance, width, last-opened file and recent history are kept in process memory (survive page refreshes; reset on restart, like the plugin itself).
The panel mounts in the frame-wide shell.overlay seat — additive only, it
never replaces shipped UI.
Screenshots
Sample-content previews (no real documents), light and dark themes:
| Light theme | Dark theme |
| --- | --- |
|
|
|
Requirements
- DeepSeek Harness running from a source checkout or release that composes the
web GUI profile (
dsh web), Node.js >= 24 (the node half is plain TypeScript run directly; the browser half ships pre-built aslib/client.js). - The plugin needs the
webServerservice, so it only activates under the web profile. Installed into a CLI-only profile it stays inert on purpose.
Compatibility note:
dsh-doc-railtargets the web client slot/layout APIs as of this package's development snapshot. If you use a publisheddshrelease, prefer a matching dsh-doc-rail version (see releases) and verify the panel appears once after install.
Install
From the registry (once published):
dsh plugin --profile web add dsh-doc-rail
From a local checkout or tarball instead:
dsh plugin --profile web add /path/to/dsh-doc-rail
# or
dsh plugin --profile web add ./dsh-doc-rail-0.1.0.tgz
Restart the web GUI (dsh web) — the page then boots with the rail on the
right. Click ✕ to collapse it; the small 📄 文档面板 pill reopens it.
Set a default document (optional)
The panel starts with a path input and no default file, so it is safe to ship
to anyone. To pin your handover note (or any file), override the row config in
the profile's own cordis.patch.yml:
- replace:
- id: dsh-doc-rail
name: dsh-doc-rail
config:
defaultPath: 'C:/Users/you/Documents/handover.md'
Paths may use / or \\ separators; the file is read as UTF-8 text.
Usage
- Paste a full path (
.md,.txt, or any UTF-8 text file) and press Enter, or click 打开. - Use 最近 to jump back to an earlier file and 清空输入 to reset the field. Files you open are added to the recent list automatically.
- 浅色 / 深色 switches the palette immediately; the choice is remembered.
- Drag the thin bar on the panel's left edge to resize; double-click it to reset.
Privacy
Everything is local: the node half reads files inside your own dsh web
process and the browser half talks to it over the same-origin JSON routes
/dsh-doc-rail/api/doc and /dsh-doc-rail/api/pref. No network service, no
telemetry, no path leaves your machine.
Development
npm install
npm run typecheck # tsc --noEmit
npm run bundle # tsdown → lib/client.js (lazy-CJS module-table factory)
npm run smoke # structural checks
The browser bundle contract is documented in
packages/client/tsdown.client.ts of the harness checkout (external packages
must replicate it until the preset ships to npm).
Layout
package.json # dsh.bundle + dsh.client manifests, exports
cordis.patch.yml # inserts the plugin row by package name
src/index.ts # node half: doc + pref JSON routes over ctx.webServer
src/client/index.ts # browser half: registers shell.overlay
src/client/Rail.tsx # panel UI (themes, resize, path input, markdown render)
src/client/styles.ts # injected stylesheet (CSS variables, no CSS pipeline)
scripts/smoke.mjs # structural smoke check
License
MIT — see LICENSE.
Similar plugins
Immersive read-only reading panel for DeepSeek Harness. The model delivers pre-formatted Markdown via the `reading_pad_send` tool into a better-sidebar tab: three low-blue-light themes (Paper/Sepia/Ni
★ 0
dsh plugin --profile web add dsh-reading-padby xinspark
Basic Right Sidebar — a right sidebar plugin for DeepSeek Harness: two-level navigation (Functions / Sessions), workspace/session breadcrumb, session overview with log download, native trajectory view
★ 3
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-basic-right-sidebarby taxueseek
DeepSeek Harness 插件:原生上传管线上的文件夹按钮 + read_document 文档解析(PDF/DOCX/XLSX)。The folder button on the native upload pipeline, plus the read_document parser.
★ 36
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-filesby yaodongH
dsh-doc-review — DeepSeek Harness Web 文档审阅弹窗插件:设计文档与方案审阅以全幅渲染 Markdown 弹窗呈现 (Design documents & plan reviews in a full rendered-Markdown modal)
★ 0
MIT
TypeScript
Aug 31, 2026
dsh plugin --profile web add dsh-doc-reviewby wannanbigpig
一个为 DeepSeek Harness 最新源码补齐工程能力的外置插件(Bundle),无需修改宿主源码。插件直接融合进宿主原生 Right Sidebar、文件资源标签和底部 Dock:复用宿主已有的文件树、标签页、拆分/悬浮布局,只补充可编辑高亮、Git Review/提交、Worktree 和交互式 PTY。所有项目操作以当前 Session 的 cwd 为边界
★ 0
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add @wannanbigpig/dsh-sidebarby leanderli
DSH Web UI 的文件与变更面板插件:为当前会话的工作区目录提供一体化的 文件浏览 / 搜索 / 预览 / 编辑与 Git 操作(状态、暂存、提交、拉取、推送、 分支、历史、diff 等),在浏览器里以居中模态面板呈现,无需离开 WebUI 即可完成 日常文件与版本控制操作。
★ 0
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-files-git