Wulabalabo/dsh-sidebar-Explorer-Plus

Plugin插件 Native原生 ⭐ 3 MIT UI & Themes界面与主题

一个 dsh-better-sidebar 的消费插件:在侧边栏新增一个「文件」tab,内置一棵固定在工作区(cwd)内的文件树,提供真正的文件管理能力——上传、移动、删除、重命名、新建文件夹。它补充了 better-sidebar 自带 Explorer 缺失的「写」操作(Explorer 只读)

Project Overview项目介绍

This is a native DSH plugin that adds a dedicated interactive Files tab to the dsh-better-sidebar extension for DeepSeek Harness. It is built with TypeScript and React, and integrates with dsh-better-sidebar’s public API to register its tab without modifying the core dsh-better-sidebar code. It adds a full-featured file tree to the DSH sidebar that supports both read and write operations, filling the gap of the original read-only file explorer bundled with dsh-better-sidebar. To install via DSH’s CLI, you just run the command dsh plugin --profile web add github:Wulabalabo/dsh-sidebar-Explorer-Plus in your terminal. After installation, you need to restart the dsh web service and hard-refresh your browser to activate the new tab.

After activation, you can open the new Files tab directly from the sidebar’s add menu, and start managing your working directory files right inside DSH. You can drag and drop single files or entire folders to upload them to your working directory, preserving the original folder structure. You can also move, rename, delete files and folders, create new directories, and open files directly in the DSH sidebar editor. Conflicts when moving or renaming files are automatically detected and rejected, so you will not accidentally overwrite existing files. This plugin is designed for DSH users who want to keep all file management workflows within the DSH interface.

This plugin requires Node.js 20 or newer to run, and has a peer dependency of dsh-better-sidebar version 0.4.0 or higher. The default maximum upload size per file is 50 MiB, which you can adjust by adding a custom uploadLimit configuration in your DSH profile. The current implementation checks paths via string comparison only, and does not resolve symlinks or handle all path traversal scenarios, so it is recommended to only use this plugin in trusted workspaces. It is released under the permissive MIT license, and pre-built files are included in the repository, so no local build step is needed for Git-based installation.

这是一款专为 DeepSeek Harness(DSH)开发的原生侧边栏文件管理插件,依赖 dsh-better-sidebar >=0.4.0 版本,通过后者提供的公开服务注册新增的「文件」标签页。它在侧边栏添加了基于 React 实现的可交互文件树,支持对工作区文件执行各类读写操作,补充了原有只读文件浏览器缺失的完整文件管理功能。

用户安装完成并重启 DSH web 服务、刷新浏览器后,即可在侧边栏的添加菜单中找到「文件」标签开启使用。日常开发中,开发人员可以直接在 DSH 侧边栏完成文件拖拽上传、移动、重命名、删除、新建文件夹等操作,无需切换到外部系统文件管理器处理当前工作区的项目文件,提升操作连贯性。

该插件要求 Node.js 20 或更高版本,默认单文件上传上限为 50 MiB,可通过配置文件修改上传限制。当前插件路径检查仅基于字符串比较,不处理符号链接与路径遍历,建议仅在可信工作区使用。代码基于 MIT 许可证开源,安装包已提前构建,无需本地编译即可使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:Wulabalabo/dsh-sidebar-Explorer-Plus

把 Wulabalabo/dsh-sidebar-Explorer-Plus 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-sidebar-explorer-plus

A TypeScript / React file manager for the DeepSeek Harness sidebar.

English · 中文

English

Adds a Files tab to dsh-better-sidebar through its public ctx.betterSidebar.registerTab service. The plugin combines a React file tree with host-side file operations, without modifying the sidebar foundation.

Features

  • Drag and drop files or folders to upload, preserving folder structure.
  • Move, rename, delete, and create directories from the file tree.
  • Open files in the sidebar editor.
  • Reject existing destinations when moving or renaming. Uploads can replace existing files; deletion is permanent and asks for confirmation in the UI.
  • Host/origin request checks, upload-size limits, and working-directory path checks in the host API.

Install

Requires a running DSH web profile, dsh-better-sidebar (peer dependency >=0.4.0), and Node.js 20 or newer.

dsh plugin --profile web add github:Wulabalabo/dsh-sidebar-Explorer-Plus

Restart dsh web, then hard-refresh the browser. Open the sidebar + menu and select Files / 文件. The repository includes built files in lib/, so Git-based installation does not require a local build.

Code and API map

Part Responsibility
src/index.ts Host routes, request checks, upload limits, file operations, and structured errors.
src/client/index.tsx React file tree, drag and drop, context menus, and tab registration.
build.mjs Host/client bundling; the build script also generates TypeScript declarations.
cordis.patch.yml Plugin mounting configuration.

All operations use POST /sidebar-explorer/<operation>:

Operation Payload
upload Query: sessionId, name, optional dir and cwd; raw bytes in the body.
delete / mkdir JSON: sessionId, absolute path, optional cwd.
move JSON: sessionId, absolute from and to, optional cwd.
rename JSON: sessionId, absolute path, new name, optional cwd.

Successful operations return { ok: true, value }. Operation errors return { ok: false, error: { code, message } }; rejected trust checks and unsupported HTTP methods return plain HTTP 403/405 responses.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-native-browser 下一个 Next dsh-project-wiki →