DeepSHPlugins
dsh-solution-explorer 项目预览
GITHUB / COMMUNITY PROJECT

dsh-solution-explorer

工具与集成TypeScriptMIT

DSH Web GUI 右侧边栏:VS Code 风格文件浏览器加源代码管理(git 状态、暂存/取消暂存/放弃变更、提交、差异、提交图形、同步抓取/拉取/推送、分支管理、远程管理、Git 初始化、多仓库切换、文件状态着色(未跟踪/已修改/已忽略)、文件类型图标、图片预览),含可编辑全文差异视图、语法高亮编辑器(15 种语言)、文件操作(新建/移动/复制/删除)与保存。

9 Starsxiaoksio 更新时间 2026-09-07
访问 GitHub 仓库
dsh-solution-explorer 项目预览
dsh-solution-explorer 界面截图dsh-solution-explorer 界面截图dsh-solution-explorer 界面截图dsh-solution-explorer 界面截图

项目介绍

中文

DSH Web GUI 右侧边栏:VS Code 风格文件浏览器加源代码管理(git 状态、暂存/取消暂存/放弃变更、提交、差异、提交图形、同步抓取/拉取/推送、分支管理、远程管理、Git 初始化、多仓库切换、文件状态着色(未跟踪/已修改/已忽略)、文件类型图标、图片预览),含可编辑全文差异视图、语法高亮编辑器(15 种语言)、文件操作(新建/移动/复制/删除)与保存。

English

DSH Web GUI right sidebar: VS Code-style file explorer plus source control (git status, stage/unstage/discard, commit, diff, commit graph, sync fetch/pull/push, branch management, remote management, git init, multi-repo switch, color-coded file status (untracked/modified/ignored), file-type icons, image preview) with an editable full-file diff view, a syntax-highlighted editor (15 languages), file operations (new/move/copy/delete), and save.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
xiaoksio
仓库
xiaoksio/dsh-solution-explorer
GitHub Stars
9
Forks
1
开发语言
TypeScript
许可证
MIT
最近推送
2026-09-07
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

79/ 100
维护活跃
98
文档与实用信息
100
生态关注度
31
安装便捷信号
100
项目声明信号
100

近 4 天仍在更新;README 含完整安装与使用说明;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add dsh-solution-explorer

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

🗂️ Solution Explorer for DSH

VS Code-style file explorer plus full source control for the DeepSeek Harness (DSH) Web GUI right sidebar.

npm Awesome DSH Plugin dshfind license GitHub stars

English · 简体中文

dsh-solution-explorer demo

Features

  • File Explorer — browse the current session workspace as a directory tree

with expand/collapse, VS Code-style file-type icons (TS/JS/Vue/JSON/image/ archive/script and 30+ more extensions), git status markers (M/A/D/R/?), names color-coded by status (green untracked / yellow modified / grey ignored), .gitignore-excluded files and folders shown grey, and directory "modified" indicators.

  • Source Control — staged / unstaged / untracked change lists with

stage / unstage / discard (per-file or all), commit with a message, and a branch info bar. AI commit message: pick a host-configured model in Settings and tap the ✨-icon beside the commit box to generate a Conventional Commits draft from the staged diff (optionally guided by the repo's AGENTS.md). Diff view: full-file side-by-side compare with an editable right column (Enter splits lines, backspace/delete merges, NBSP placeholders), a middle gutter to stage (⤒) or revert (↩) individual hunks, Ctrl+S to save. Commit Graph: an SVG history view with branch lanes and merge lines; click a commit to expand its changed files (with file-type icons and status letters M/A/D/R) below the row, hover for a tooltip with the full message, stats, and a GitHub link; plus checkout. Sync: fetch / pull / push / sync (pull + push) with ahead/behind counts, each remote-write confirmed. Branches: switch / create / rename / delete / merge / publish. Remotes: add / remove / set URL. Git Init: initialize a repository from a plain directory. Merge changes: pull/merge conflicts (UU/AA/DD/…) are detected and listed for manual resolution. Multi-repo support: auto-discovers git repositories under the workspace and lets you switch between them; the SCM panel follows the selected repo. Split panes: drag the divider between changes and repository to resize, history fills the bottom. Bulk actions live in the section headers; discard all asks for confirmation.

  • Syntax highlighting — editor and diff views colorize 15 languages

(TS/JS/Python/JSON/Markdown/...) with a GitHub Dark theme; the editor re-highlights live while typing, lightweight.

  • File Search — live name search across the workspace.
  • File Editor — open any text file in an "Edit" tab of the conversation

view, edit, and save (button or Ctrl+S); images open in an in-editor preview with zoom/pan, and other binary files are detected and refused instead of corrupted.

  • Collapsible rail — collapse the whole panel into a narrow icon rail

(expand panel, explorer, search, source control, terminal). The source-control icon shows a live change-count badge; clicking an icon reopens the panel on that tab, matching the native sidebar's look.

  • Multi-tab terminal — a bottom terminal panel opened from the rail

(native ConPTY, PowerShell/cmd by default); multiple tabs, drag to resize, and auto cleanup of processes when a tab closes or the connection drops.

  • File operations — context menu with new file/folder, delete (confirm

dialog), copy / cut / paste, copy relative / absolute path; drag files within the tree, drag files in from the OS, multi-select bulk actions.

  • i18n — English and Chinese, follows the browser language.
  • Dark theme — matches the DSH Web UI tokens.

Screenshots

File ExplorerSource ControlDiff
File ExplorerSource ControlDiff

Installation

[!WARNING]
This is a third-party community plugin. Installing it runs its code on your
machine with your own permissions. It can read, modify, and delete files and
run git operations (including destructive ones such as discard and delete)
inside your session workspace. Review the source before use and back up
important work first. You are responsible for what this plugin does with your
repositories.

From dsh-market (GUI)

Open the marketplace in the DSH Web UI, search for "solution-explorer", and click install.

From npm

dsh plugin --profile web add dsh-solution-explorer

From a local checkout

dsh plugin --profile web add /path/to/dsh-solution-explorer

After installing, reload the Web UI. The explorer panel appears as its own right column once a session with a workspace is active.

Configuration

The plugin accepts an optional config in the bundle row (cordis.patch.yml):

FieldTypeDefaultDescription
defaultWidthnumber280Panel width in px, clamped to 264–560.
autoOpenbooleantrueAuto-open the panel when a session activates.
filterPatternsstring[][]Name patterns to hide from the file tree.
showHiddenbooleanfalseShow dot-prefixed (hidden) files in the tree.

Development

pnpm install
pnpm build    # tsc declarations + tsdown bundles (lib/index.js, lib/client.js)
pnpm watch    # rebuild on change

See CONTRIBUTING.md for the submission guide.

pnpm install also runs the prepare script, so a git-based install (dsh plugin add github:xiaoksio/dsh-solution-explorer) builds lib/ on the target machine without manual steps.

How it works

The plugin is a single npm package with two halves, both declared in package.json under the dsh key:

  • Host half (src/index.ts, exports . → lib/index.js): runs in the

dsh host process and serves the workspace-gated filesystem and git API over HTTP routes under /solution-explorer/* (tree, read, write, delete, search, git-repos, git-status, git-diff, git-log, git-stage, git-unstage, git-discard, git-commit, paste, move, upload, create). All routes resolve paths strictly inside the session workspace root. It also announces itself in the system prompt so the agent knows what the panel can do.

  • Browser half (src/client/index.ts, exports ./client →

lib/client.js): loaded by the Web GUI's __ModuleLoader__ as a closure-factory bundle. It appends the explorer column to the frame grid ([data-dsh-frame]), follows the active session's cwd, and mounts the file editor into the conversation.view slot.

See CONTRIBUTING.md for development conventions and how to submit the plugin to awesome-dsh-plugin.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目