The design philosophy of DSH (DeepSeek Harness) is “everything is a plugin.” The default Web UI right sidebar is quite basic and does not meet developers’ deep requirements for file browsing, code editing, and source control. The dsh-solution-explorer plugin aims to take over the right sidebar of the DSH Web GUI with a VS Code-style interface, providing agent developers with a one-stop solution that integrates file resource management, a multi-tabbed editor, and a complete Git workflow.

Plugin Positioning

Maintained by community developer xiaoksio, this plugin is a full-featured alternative for the right sidebar. It integrates the file list, source control view, and editor, using a single multi-tabbed editor view to uniformly manage all file operations and Git statuses.

Core Features

File Explorer

The plugin takes over the default sidebar and provides a VS Code-style file tree view. It supports expanding and collapsing directories, displaying file-type icons, and marking files with Git status (green for untracked, yellow for modified, and gray for ignored). It also supports filtering based on .gitignore and indicates directory modification status with colors.

Source Control

One of the core features of this plugin is support for the complete Git workflow:
- Change management: Supports staging, unstaging, and discarding files or patches.
- Commits and AI assistance: Supports generating AI drafts that comply with the Conventional Commits specification when committing (click the ✨ icon).
- Diff view: Provides side-by-side file diff comparisons, supports direct code editing in the right column, merging lines, or staging patches.
- Commit graph: Visualizes Git history with branch fork lines and merge lines, and supports clicking to view file changes and details for a specific commit.
- Sync and branches: Supports fetch, pull, push, and sync (pull and push), as well as switching, creating, renaming, deleting, and merging branches. Supports switching between multiple repositories.
- Conflicts: Automatically detects and lists merge conflict statuses.

Editor and Preview

  • Multi-tabbed editor: Supports opening multiple files in the editor view, with syntax highlighting for 15 programming languages and real-time re-highlighting while typing.
  • File preview: Supports real-time rendering previews for images, Markdown, HTML, and PDF, with zoom and pan operations.
  • Save: Supports saving file changes with a button or the Ctrl+S shortcut.

Terminal and Operations

  • Multi-tabbed terminal: Provides a ConPTY-based multi-tabbed terminal, supports resizing by dragging, and automatically cleans up processes when a tab is closed or the connection is disconnected.
  • Collapsible icon bar: Supports collapsing panels into a narrow icon bar. Click an icon to open or toggle the corresponding panel (Explorer, Search, Source Control, Terminal).
  • Context menu: Provides context menus for files and folders, supporting actions such as create, delete, copy, cut, paste, copy path, and “Reveal in Explorer.”

Installation and Enabling

Installing this plugin requires a session environment that includes a Web UI sidebar.

  1. Install the plugin
    Use the DSH command-line tool to install:
    dsh plugin --profile web add dsh-solution-explorer
  1. Activate
    After installation, reload the page in the DSH Web UI. The plugin panel will appear as an independent right sidebar. It will automatically expand when a workspace is activated in the session.

Typical Usage

  • Edit and save: Open a file in the File Explorer, make changes, and press Ctrl+S to save.
  • Generate commit messages with AI: In the change list under Source Control, click the ✨ icon next to the commit box to generate an AI commit draft based on the staged diff.
  • Quick preview: Double-click an image or PDF file to view it in the editor view with zoom and pan.

Use Cases and Precautions

This plugin is suitable for agent development scenarios that involve frequent file read and write operations, code editing, and Git operations. It can significantly improve the development experience in the Web interface.

Important notes:
- This is a third-party community plugin, and its code runs on the local machine with the permissions of the current DSH process.
- The plugin can read, modify, and delete files, and it can perform destructive Git operations such as discarding changes and deleting files.
- It is recommended that you review the source code before use and back up important work.
- When installing with dsh plugin add github:xiaoksio/dsh-solution-explorer, the plugin automatically builds the lib/ directory on the target machine, without manual intervention.

Summary

DSH Solution Explorer replicates the core experience of VS Code and addresses the limitations of the DSH Web GUI in local file management and version control. It seamlessly integrates file browsing, editing, and Git tools, providing developers with a lightweight yet fully featured local development environment.

View plugin catalog
View source code