Fallen0543/dsh-sidebar-files ↗★ 0
dsh-sidebar-files
Sidebar file tree for DeepSeek Harness: a files panel with a lazy, per-extension-icon tree, copy-path and send-to-agent actions
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Fallen0543/dsh-sidebar-files说明文档
阅读完整 README ↗dsh-sidebar-files
A sidebar file tree for DeepSeek Harness. Adds a Sessions / Files tab strip to the left sidebar and an inline, lazy-loaded file tree over the active workspace — with per-extension brand icons, copy-path, and send-to-agent actions.

Plugin status. Built and verified against the published harness (
0.1.0-rc.6, thewebprofile). It runs entirely as an out-of-tree bundle: the node half serves directory listings through its own HTTP route, the browser half renders the tree. No core changes required.
Features
- Sessions / Files tab strip injected below the New Session button (wide sidebar). The tree renders inline in the sidebar region — same presentation as the harness's own browsing surfaces.
- Lazy listing: one directory level is fetched on demand (the workspace root on open, a directory on first expand), through the plugin's own
GET /dsh-sidebar-files/list?path=…route. Wire cost follows what you actually open. - Per-extension icons: 47 brand-style glyphs for common extensions (ts/js/json/yml/yaml/css/html/md/ico/png/zip/log/…), plus a generic document fallback. Icon path data from Material Icon Theme (MIT, © Material Extensions 2025) — see LICENSE.
- Hidden by default: dot-led names,
node_modules, and.gitare filtered out; the 显示隐藏项 toggle reveals them.node_modules/.gitstay hidden until the toggle is on. - Row actions (hover): copy path (with one-second "copied" feedback) and send the file to the current session's agent (a queued "please read this file" prompt).
- Resilient fallback: if the shell's sidebar structure is ever unrecognizable, the plugin degrades to a footer action button + centered modal instead of the tab strip — never a blank screen.
- Bilingual (中文 / English), following the harness locale.
Install
Requires the dsh CLI (npm i -g @deepseek-ai/dsh) and pnpm.