dsh-multi-root-files

File explorer tab that lists the session workspace root together with every additional root registered through multi-root-workspace, so sibling checkouts are browsable in one tree; clicking a file previews it inline (line-by-line with git status badges, images, and rendered Markdown with a preview/source toggle), and a right-click offers copy-path and reveal-in-file-manager. Needs the dsh-better-sidebar plugin, which serves the directory listings; its own routes (roots, git status/diff, image preview) take absolute paths from the page and have no DSH access check.

Overview

File explorer tab that lists the session workspace root together with every additional root registered through multi-root-workspace, so sibling checkouts are browsable in one tree; clicking a file previews it inline (line-by-line with git status badges, images, and rendered Markdown with a preview/source toggle), and a right-click offers copy-path and reveal-in-file-manager. Needs the dsh-better-sidebar plugin, which serves the directory listings; its own routes (roots, git status/diff, image preview) take absolute paths from the page and have no DSH access check.

Installation

Install from GitHub

dsh plugin --profile web add github:SoulZhou/dsh-multi-root-files

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.