Left-sidebar panel that browses the filesystem of the machine the Harness runs on: directory listings with sizes and modification times, a summary of the open folder (files, folders, total size, largest file types), text and image previews, file downloads, file uploads by file picker or drag and drop, folder creation, and exporting a listing as CSV or JSON. The panel speaks twelve languages. Reads and writes run with the privileges of the account that runs the Harness.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ccfeeling/dsh-host-file-explorer
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Türkçe · Русский · Tiếng Việt · ไทย · Deutsch · Español · Français · Українська · Polski · Português (Brasil) · العربية · فارسی · Bahasa Indonesia · Italiano
DSH Host File Explorer
A DeepSeek Harness plugin that adds a left-sidebar entry for browsing the filesystem of the machine the Harness runs on.
Browse the filesystem of the host machine from inside the Harness: directory listings with kinds, sizes, and modification times, text file previews, and folder creation. Every read goes through the Host/Client Remote channel, the same boundary the agent's own filesystem tools use. Files can be downloaded into the browser, and images are previewed inline. Files can be uploaded into the directory that is open. Files can be dropped straight onto the panel, the panel reads a file's first bytes to tell what it really holds, and the open directory can be counted and exported.

Features
| Feature | Description |
|---|---|
| File download | Streams the file to the browser through the panel's own authenticated route, under the file's own name and without a byte cap |
| Image preview | Shows a PNG, JPEG, GIF, WebP, AVIF, or SVG image inline, instead of reading it as text |
| Directory listing | Directories first, then files, each with size and modification time; hidden entries are dimmed |
| Path navigation | Jump to an absolute path, go to the parent, or use the shortcuts for HOME, tmp, cwd, and the filesystem root |
| File preview | Reads the first 256 KiB of a text file and renders it; binary files report themselves instead of printing noise |
| Folder creation | Creates a single-segment subdirectory inside the current directory |
| Multilingual UI | Every visible string goes through ctx.locale; the panel ships twelve languages and follows the interface language |
| File upload | Sends a file from the browser to the directory that is open, as one Remote call carrying the bytes |
| Drop to upload | Takes the files and folders dropped on the panel and writes them into the directory that is open |
| Content sniffing | Reads the first bytes of a file, so a picture that was renamed is still a picture and a text file without an extension is still text |
| Safe uploads | The same bytes are never written twice: an upload that repeats what is there is left alone, and bytes that differ are written beside it under the first free name |
| Directory insights | Counts the files, folders, and bytes of the open directory and shows which file types take up the space |
| Listing export | Writes the open listing to a CSV or a JSON file the browser downloads |
| Wrap long lines | A toggle in the preview pane that wraps long lines; the browser remembers the choice |
| File creation | Creates an empty file inside the directory that is open; a name that is taken is never overwritten |
| Name search | Looks through the open tree for the files whose name holds what was typed |
| Repository status | Shows the branch and the changed files of the repository the open directory belongs to |
| Command console | Runs a command in the directory that is open and prints what it answered |
Install
With the plugin manager (recommended)
Clone this repository, then install it from the Harness plugin manager:
# clone
git clone https://github.com/ccfeeling/dsh-host-file-explorer.git
# install into a DSH profile (replace the profile name and path with yours)
dsh plugin --profile web add /path/to/dsh-host-file-explorer
The matching tool call is plugin_manager { action: 'install_bundle', target: '<local path>' }.
From the plugin market
The plugin is listed in the awesome-dsh-plugin list, so the marketplace can install it straight from GitHub:
dsh plugin --profile web add github:ccfeeling/dsh-host-file-explorer
As a profile dependency
// ~/.dsh/profiles/<profile>/package.json
{
"dependencies": {
"@local/dsh-host-file-explorer": "link:/abs/path/to/dsh-host-file-explorer"
}
}
After installation a folder icon appears in the sidebar, after Plugins and Schedules. Click it to open the panel.
Note: if your profile has a dependency that ships agent skills (for example
dsh-answer-me-with-html), pnpm 10.11+ and 12.x refuse to install until the skills directory is declared, and fail withERR_PNPM_NO_AGENT_SKILLS_DIR. Turn off pnpm's own skill linking with one stanza in the profile'spnpm-workspace.yaml:skills: dirs: []
Architecture
The plugin is a standard DSH bundle with a Host half and a Client half:
index.js (Host) ctx.hostFiles —— thirteen verbs over node:fs/promises
client.js (Client) sidebar entry + main panel + Remote namespace mount
The Host half provides a ctx.hostFiles service and marks its verbs for the Remote transport with the prototype marker @deepseek-ai/dsh-typert-protocol/remote-methods, so the gateway can discover it in SRC mode:
| Method | Parameters | Returns |
|---|---|---|
roots() |
— | Well-known locations (HOME, tmp, cwd, filesystem root) |
list(path, signal) |
path |
{ path, parent, home, entries[{ name, path, kind, size, modified, mime, hidden }], truncated } |
stat(path, signal) |
path |
{ path, kind, size, modified, mime } |
read(path, signal) |
path |
{ path, size, modified, binary, truncated, text } |
mkdir(path, name, signal) |
path, name |
{ path } |
upload(path, name, data, signal) |
path, name, data |
{ path, name, size, deduplicated } |
inspect(path, signal) |
path |
{ path, kind, mime, size, modified } |
mkdirp(path, relative, signal) |
path, relative |
{ path } |
limits() |
— | The largest file one upload may carry |
createFile(path, name, signal) |
path, name |
{ path, name, size } |
search(path, query, signal) |
path, query |
{ path, entries[{ name, path, kind, size, modified, mime, hidden }], truncated } |
git(path, signal) |
path |
{ path, root, branch, changes[{ status, path }] } |
exec(path, command, signal) |
path, command |
{ command, code, stdout, stderr } |
signal has to be the last parameter: the gateway parses the method signature with Function.prototype.toString() to derive the wire parameters, and a broken signature makes the call fail.
How files reach the browser
The page never carries file bytes over the Remote channel. For a preview it asks the Host for the file's address on the Harness's own authenticated file route — the same route the shipped document preview uses for the images inside a Markdown document — and the browser fetches it with the session the page already holds, so the preview gets the file's own content type and a PNG renders as a PNG.
That route buffers one response under the Harness's attachment byte limit (20 MiB by default), which would cut a larger download short. A download therefore uses a route the Host half registers itself, inside the same authentication fence: it streams the file from disk with a flat memory cost, sends the file's own name and content type, and has no byte cap, so a file larger than the attachment limit downloads in full.
The Client half hand-writes a Typert Remote contribution, mounts it with ctx.remote.$mount(...), and then registers two slots:
sidebar.panellist: idhost-files, order30, with its own folder icon;main: keyhost-files, the panel the sidebar button opens.
Two traps worth knowing
The namespace cannot be declared as the plugin's own inject. The mounted
remote.hostFilesis a service in its own right, and it only appears after this plugin's mount has run — a fiber that waits for it would never wake up, so the plugin would never start. Read it withctx.get('remote.hostFiles')instead, the Cordis mixin entry point that reads a service straight from the shared store:const namespace = ctx.get('remote.hostFiles');Shipped plugins can write
inject: ['remote.agentPresets']only because another package mounts those namespaces, which leaves a consumer free to declare the dependency.The client half reaches for two Harness client services. The panel reads the session list (
@deepseek-ai/dsh-api-session-controller) to open in the directory the session works in, and tells@deepseek-ai/dsh-client-ui-layoutthat it is on screen, so the right sidebar steps aside while the panel is open. Everything else stays onreactandzod.
Permissions and boundaries
- The plugin reads the host filesystem with the privileges of the Harness process itself: it can read everything the account running it can read. That is inherent to what a host file explorer is, so only enable it on machines and accounts you trust.
- The plugin is read-only, apart from what the page itself writes: it creates a file or a folder and uploads a file. It cannot modify, delete, or rename a file that is already there: an upload never replaces one, it is written beside it under a free name.
- The plugin can run a command in the directory that is open, and read the branch and the changes of the repository around it. The command is the one the person typed; the Harness bounds it at 20 seconds and 64 KiB of output.
- One listing returns at most 2000 entries, and one preview reads at most 256 KiB.
- A download streams from disk with no byte cap, so a file larger than the Harness's attachment byte limit still arrives in full.
Development
node --check index.js
node --check client.js
npm pack --dry-run # inspect the file list that actually ships
During local development the profile points at the working directory with link:, so an edit is live after a browser refresh (the client module is versioned by content hash).
License
MIT, see LICENSE.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10406
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10406
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 7675
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7201
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5142
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1816
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.