mdikarev/dsh-filetree

dsh-filetree adds a workspace file tree panel to the DSH Web GUI: lazy directory loading, per-file and per-folder git status badges, live refresh over SSE with a polling fallback, text/Markdown/JSON/image previews in a floating dock, drag-to-composer @-mentions and confirmed deletion from the tree context menu.

dsh-filetree adds a workspace file tree to the DSH Web GUI. A toggle handle at the sidebar edge opens a 300px panel showing the current session workspace: directories load lazily on expand, folders sort first then case-insensitively, dotfiles are shown while node_modules and .git are filtered, and styling follows DSH tokens so it adapts to dark and light themes. Git status appears as per-file and per-folder badges (modified / added / untracked / ignored) with folder summaries and muted ignored rows. The tree stays live through a fetch-based SSE stream with a polling fallback, and a server heartbeat plus client watchdog degrade to polling when the stream stalls. Clicking a file opens a floating dock with its content - syntax-highlighted text, rendered Markdown, formatted JSON or the image itself with a zoom toolbar - and file or folder rows can be dragged into the composer as @-mentions. A right-click context menu adds actions including deletion, which is confirmed before it runs.

Files & Data ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-filetree

Copied verbatim from the README's "From npm" install block. npm package dsh-filetree at 0.3.0 (registry check 2026-10-16; the registry repository field resolves back to this repo).

Compatibility

Requires Node >= 20 and React 18, which is provided by the DSH web host as a peer rather than bundled (verified against 18.3.1). Built and tested against @deepseek-ai/dsh@0.1.2-rc.1 on the web profile; drag-and-drop targets the Lexical composer of dsh >= 0.1.2 while textarea hosts of earlier versions keep working through the same native text/plain drop. The README warns that the plugin host and client APIs are pre-1.0, so pin the dsh version you deploy and re-test after upgrades. Trust model: server endpoints are served on localhost and rely on the x-dsh-filemanager header, with image bytes additionally requiring an unguessable, expiring per-workspace capability token - the README says to treat the local dsh process as the trust boundary. Restart dsh web and refresh the browser.

Details

Alternatives

Aidenwu0209/dsh-Unlimited-OCR-Skill · amethystluna/logicprobe · aprilxuMLC/dsh-collaborative-notes

More plugins in Files & Data

Browse more in Files & Data

Guides for Files & Data plugins