ice5kysl/dsh-file-explorer-kit

dsh-file-explorer-kit adds a third session tab, Files, to DSH Web: it opens rooted at the current session's workspace, shows a breadcrumbed directory/file list, and previews files on the right - Markdown rendered (sanitized), images inline, other text with line numbers, PDFs embedded - all through read-only host /dsh-files routes, with a bilingual zh/en UI.

dsh-file-explorer-kit lets you browse workspace directories and preview files directly inside a DSH Web session instead of switching to Finder or File Explorer. It adds a third session tab, Files, ordered after Chat and Trajectory, rooted at the current session's workspace directory, with breadcrumbs and a directory/file list (directories first, size and time, a hidden-dotfiles toggle) and a jump-to-absolute-path box. The tab auto-refreshes while open so files the agent writes in the background appear, and it remembers the last directory per session when you switch away and back. A right-side preview renders Markdown by default (with a 预览/Raw toggle, links opening in a new tab), shows images inline, numbers text lines and truncates over-long files with a notice, embeds PDFs, and offers a copy-path / open-in-file-manager action for binary files. The UI is bilingual (auto-detected zh/en, with a 中/EN toggle that remembers the preference).

Files & Data ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add dsh-file-explorer-kit

Copied verbatim from the README's Quick install block. The README also documents a git-clone + scripts/install-personal.sh development path and a tarball form, and warns that the plain dsh-file-explorer name on npm belongs to an unrelated plugin, so always install dsh-file-explorer-kit. npm package dsh-file-explorer-kit at 0.3.9 (registry check 2026-10-16; the registry repository field resolves back to this repo).

Compatibility

The plugin registers into the official conversation.view view ring at order 20 (after chat and trajectory) as an additive tab, doing no replacement-style shadowing, so it is compatible with dsh-workspace-kit and both can be enabled together. All directory and file data flows through the host-side read-only /dsh-files endpoints (home, list, text, raw) registered via the official ctx.webServer.register route seam; the client never assembles paths itself, every request passes a host-trust gate mirroring the official /api trust fence, and there are no write endpoints - the plugin never modifies any file. Previewed Markdown is parsed and sanitized with DOMPurify before rendering to protect against malicious md files.

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