miorin-chan/dsh-preview-file-navigation: File Tree and Path Search in the DSH Left Sidebar

Introduction

In the DeepSeek Harness (DSH) workspace, when a session reads and writes multiple files, it’s essential to quickly locate and preview them. DSH itself does not provide the ability to directly view the current session’s file tree and search paths in the left sidebar. miorin-chan/dsh-preview-file-navigation displays the working directory and files read/written in the current round in the left sidebar, with built-in preview and path search support.

Plugin Overview

miorin-chan/dsh-preview-file-navigation is a DSH plugin maintained by miorin-chan, designed to display the workspace file tree and path search functionality in the DSH left sidebar. The plugin is open-sourced under the MIT license.

Core Features

Displays the current session’s working directory and files read/written in this round in the DSH left sidebar:

  • Switch between current round files and all workspace files: Click the workspace header or the triangle to toggle between “Current Round Files,” “All Workspace Files,” and “Collapsed.” Hollow dots indicate files that have been read; solid dots indicate files that have been edited.
  • File preview: Click any file to open the DSH built-in preview.
  • File/path search: Click the magnifying glass icon to open the search interface; press Esc or the close button to dismiss.

Installation & Activation

The plugin requires DSH >=0.2.2-rc.5 (Web client). There are two installation methods:

  1. Install as a standalone plugin:
    - Run the following in the plugin directory:
     pnpm install --frozen-lockfile
  • In DSH, select “Plugins → Add plugin” and choose the directory.
  1. Install as part of the Workspace Modular Improvement Plan:
    - Install @miorin/dsh-atlas-workspace.
    - Do not install both the plugin and the plan simultaneously.

Typical Usage

  1. Launch the DSH Web client and ensure the version is >= 0.2.2-rc.5.
  2. Install the plugin (see above).
  3. After reading/writing multiple files in a session, observe the file tree in the left sidebar.
  4. Click the workspace header or the triangle to switch views.
  5. Click the magnifying glass to search for files or paths.

Use Cases & Notes

  • Ideal for developers who need to quickly view the current session’s file tree in the left sidebar, toggle read/edited status, preview files, or search paths.
  • The plugin runs with the permissions of the current DSH process.
  • It is recommended to review the source code and license (MIT) before installation.

Conclusion

This plugin adds left sidebar file tree and path search capabilities to the DSH workspace, making it easier to locate and preview files within a session. For project documentation, see: https://github.com/miorin-chan/dsh-preview-file-navigation

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye