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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案