DeepSeek Harness Plugin: In-App Folder Picker for Workspace

Preface

DeepSeek Harness (DSH) follows the “everything is a plugin” philosophy, and extensions must maintain compatibility with and coverage of existing workflows. When using Workspaces, adding a new workspace via the system file selector often requires first navigating to the host directory and then drilling down through multiple levels to reach the target folder, resulting in a long operation path. The osman3n/dsh-workspace-browse-picker plugin shortens the path for adding a Workspace by providing a unified in-app folder picker.

Plugin Overview

  • Name: @osman3n/dsh-workspace-browse-picker
  • Maintainer: osman3n
  • Category: Client
  • Stars: 0
  • Description: DeepSeek Harness plugin: provides an in-app folder picker for Workspaces, with per-row hover buttons and menu entries, replacing the OS folder selector
  • Highlight: Category: Client

Core Capabilities

The plugin incrementally overrides the existing directory selection flow while maintaining compatibility with the host directory selector. Key capabilities include:

  • Per-row hover button: Inserts a hover button to the left of the “…” menu on each Workspace row, displaying a folder icon with a plus sign. The button is visible only when the row is hovered or the button receives focus. Clicking it opens a folder selection dialog at the same level as that Workspace.
  • Menu entry: Adds an “Add Workspace from Current Folder…” item to the Workspace’s “…” menu, which opens the same dialog.
  • In-app picker dialog: Supports listing subfolders, breadcrumb navigation, and creating folders. Selecting a folder adds it as a Workspace and opens a Session, consistent with the native “Add Workspace” flow.
  • Global override: By overriding three directory flow slots (conversation.hero.workspace.directoryFlow, sidebar.workspaces.directoryFlow, workspace.picker.directoryFlow), it unifies all “Add Workspace…” entry points across the app to this dialog, preventing direct use of the operating system selector.
  • Security protection: Restricts access to the create endpoint via Origin validation and a custom header x-workspace-browse-picker: 1, allowing only same-origin requests and legitimate client calls.

Installation and Activation

In an environment where DeepSeek Harness is already installed, use the following command to install the plugin:

dsh plugin add github:osman3n/dsh-workspace-browse-picker

After installation, the plugin is automatically injected into client components and provides a “Use System Dialog…” fallback entry when the host directory selector is unavailable.

Typical Usage

  • Hover over a Workspace row and click the folder-with-plus button that appears on the left. Navigate to the target subfolder in the dialog and confirm to create a Workspace under that folder and open a Session.
  • Select “Add Workspace from Current Folder…” from the Workspace’s “…” menu. This also opens the dialog and begins navigation from the folder containing the current Workspace.
  • From any “Add Workspace…” entry point, the in-app dialog now opens instead of the system file selector.

Applicable Scenarios and Notes

  • Suitable for users who want to reduce switching between the system file manager and DSH and unify their Workspace management experience.
  • The plugin runs with the current dsh process permissions. It is recommended to review the source code and license before installation to ensure alignment with your project’s security policies.

Conclusion

By providing a unified in-app Workspace folder selection capability, this plugin simplifies the workflow for adding workspaces while maintaining compatibility with the existing directory selector. For more details, visit the plugin directory page and the GitHub repository.

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

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

Xiaoye