dsh-at-sider: Adding Six Things to the Native Sidebar File Tree

DeepSeek Harness (DSH) emphasizes plugin-based extensibility in its design philosophy. The native sidebar file tree is a foundational component, providing core browsing capabilities, but it is relatively basic in terms of references, metadata display, and interaction details. The dsh-at-sider plugin takes over the native files tab and, without altering shortcuts, entry points, or icons, adds six practical features, transforming the native file tree into an enhanced tree with references, metadata, search, and Git status awareness.

What is this

  • Plugin name: dsh-at-sider
  • Maintainer: aiyacharley
  • License: MIT
  • Core value: Adds six things to DSH web’s native sidebar file tree: @ references · file size · file modified time · sorting · quick search & locate · git commit info at the sidebar footer.

Core features

  1. Inline reference button
    Each row displays an @file button right after the filename (@folder for directories). Click to insert the reference text; press Alt/⌥ and click to copy the reference text directly. If the input box is not reachable, it automatically falls back to copying the text.

  2. File metadata columns
    Two columns at the end of each row show file size and modified time. Column widths are adaptive to prevent content truncation. Hover over the modified time to see the full local time, and over the size column to see the exact byte count.

  3. Fast workspace-wide search
    Provides recursive search across the entire workspace in the page header. Search results support @ references and direct jumps, not limited to currently expanded levels.

  4. Sorting
    Cycle through sorting by name, modified time, size, and type. Sort preferences are remembered via local storage. Directories are always shown first.

  5. Git status bar
    Adds a Git status bar at the bottom of the sidebar, showing the current branch, ahead/behind status, and the latest commit summary. Click the status bar to expand the most recent 20 commits. Supports multi-repo workspaces; a repo selector appears in the status bar. File rows have status dots after their names (untracked, unstaged changes, staged).

  6. Runtime fallback to native
    No need to uninstall the plugin; you can switch back to the native file tree anytime via the right-click menu on the “Files” tab.

  7. Quick locate & reference
    In the right-click menu of file preview tabs, two options are provided: “Locate in File Tree” and “@file”. The former automatically expands ancestor directories and highlights the row; the latter inserts a reference to the currently previewed file.

  8. Full keyboard operation
    Supports arrow keys, Home/End, Tab, and other full keyboard operations. Combine with the @ key to insert references, conforming to accessibility semantics.

Installation and activation

Prerequisites:
* DeepSeek Harness CLI is installed.
* Node.js ≥ 20 is available in your environment.

Install with a single command via the official CLI:

dsh plugin --profile web add dsh-at-sider@latest

After installation, restart DSH web to apply changes.

Typical usage

  1. Open the file tree: Press Mod+P to open the “Files” tab in the right sidebar.
  2. Insert a reference: Hover over any file row and click the @file button that appears; the reference text will be automatically inserted into the current input box.
  3. Quick search: Enter keywords in the header search box; the plugin will recursively search the entire workspace.
  4. Git viewing & switching: View the current repository status at the bottom of the sidebar. If the workspace contains multiple Git repositories, use the repository selector in the status bar to switch and view commits for the target repository.
  5. Operate from preview tabs: Open a file preview tab, right-click the tab, and select “Locate in File Tree”; the sidebar will automatically navigate to and highlight the corresponding file.

Notes

  • Restart to apply: After installation or update, you must restart the DSH web process so that host-side route registration takes effect.
  • Data caching: Git status is cached for 30 seconds. Expansion state and scroll position are remembered per tab, but hierarchy data is not cached and will be re-read after page refresh.
  • Native takeover mechanism: During plugin loading, the native tree is shadowed (rather than composed); you can fall back to native mode at any time via the right-click menu.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye