dsh-symlink-passthrough: Expand symbolic links in the DSH sidebar

Preface

When browsing workspace files via the DSH Web sidebar, the directory tree often displays only the symbolic link itself, failing to expand or enter the target path like a standard folder. In monorepos, toolchains, or cross-drive layouts, symlinks or Windows junctions are commonly used to mount external directories into the workspace. If the sidebar cannot “traverse” these nodes, both the AI agent and you personally will lack an intuitive file navigation path within the UI.

The following introduces the community plugin dsh-symlink-passthrough (repository: RicardoYan/dsh-symlink-passthrough): it enables symbolic links and junctions to be opened in the DSH sidebar, while applying constraints consistent with workspace trust for targets pointing outside the workspace.

What is this

dsh-symlink-passthrough is maintained by RicardoYan and categorized as a client-side plugin in community directories such as SkillHub. The SkillHub page currently lists version v0.1.3 (subject to the display on the directory page).

In short: it allows the DSH sidebar to expand and open symbolic links (including Windows junctions). If the link target falls outside the current workspace, access is granted only when the workspace is in a trusted state—consistent with the description “targets outside the workspace gated by workspace trust” in the intro.

DSH itself emphasizes that “everything is a plugin.” SkillHub (skillhub.cn) is an independent community plugin directory with no official affiliation with DeepSeek or High-Flyer (幻方). This article serves as a technical introduction only and should not be regarded as an official app store entry.

Core Features

Based on the directory page and registry summary, the verifiable capabilities are as follows:

  1. Sidebar Symlink Traversal: In the workspace file tree, interaction with symlinks goes beyond merely “seeing a link item”; you can expand and browse target contents like a directory (specific interaction depends on your installed DSH Web UI).
  2. Windows Junction Support: In addition to Unix-style symbolic links, it covers Windows directory junctions, facilitating a consistent sidebar behavior in mixed development environments.
  3. Workspace-External Target Trust Constraints: When a link points to a path outside the workspace boundary, expansion or access is only permitted if the workspace has been marked as trusted (workspace trust). This avoids silently opening external paths within untrusted workspaces.

The registry dsh.works records that this package declares dsh.bundle in its package.json and carries ui related tags, indicating it integrates with DSH via a Web UI bundle. The GitHub repository README could not be retrieved this time; for more detailed APIs and configuration options, please refer to the documentation on the repository’s default branch.

Installation and Enablement

The installation command comes from the verified Install section on the community registry dsh.works (consistent with the github:RicardoYan/dsh-symlink-passthrough source):

dsh plugin --profile web add "github:RicardoYan/dsh-symlink-passthrough"

Notes:

  • --profile web indicates installing the plugin into the profile used by the Web UI. If you use a different profile, it must match your local DSH configuration.
  • This method installs source code from Git. The installation process may execute dependency scripts such as prepare. The registry suggests reading the prepare script before installation and using formats like github:owner/repo#commit to pin the commit, preventing future changes to the remote default branch.

If the sidebar behavior does not change after installation, restart the Web environment according to your local DSH plugin management habits before trying again (refer to official documentation for CLI subcommands of each version).

Typical Usage

Since the public README was not retrieved during this data scrape, the typical workflow is limited to self-verifiable steps directly corresponding to the introduction:

  1. Keep or create a symbolic link or junction in the workspace pointing to a subdirectory, sibling repository, or external tool (the path must physically exist on your machine).
  2. Execute the installation command mentioned above, ensuring the profile is web (or the UI profile you actually use).
  3. Open the DSH Web sidebar, locate the link node, and attempt to expand it and enter files under the target directory.
  4. If the link target is located outside the workspace, first complete the trust operation for the current workspace in DSH, then repeat the expansion. Expansion should be denied if untrusted, which aligns with the plugin’s security design.

Configuration fields or code examples from the repository cannot be provided in this article. To customize behavior, please refer directly to the package.json and bundle entry points in the GitHub repository.

Use Cases and Caveats

Who it is for

  • Developers who organize code, share configurations, or mount subprojects using symlinks / junctions and wish to see the real directory structure at a glance in the DSH sidebar.
  • Teams switching between Windows and Linux/macOS where junctions and symlinks are used interchangeably.

Please note before use

  • The plugin runs with the permissions of the current dsh process. Installing and loading the bundle is equivalent to executing third-party code locally. Before installation, please read the repository source code, license, and prepare script. Only trust Git addresses from verified sources.
  • Installing from Git will run build scripts on your local machine during installation (the registry explicitly warns: outside any sandbox). It is recommended to pin commits and conduct diff reviews in production or sensitive environments.
  • Paths outside the workspace rely on workspace trust. Do not expect the plugin to bypass DSH’s trust model within untrusted repositories.
  • The community directory shows 0 stars for this repository (snapshot data, changes over time). This does not represent a quality conclusion but merely indicates limited attention, making it even more necessary to review the code yourself.
  • dsh.works records that the installation path was checked against dsh 0.2.0-rc.2 (2026-10-17). DSH is in a rapid iteration phase, and manifests and plugin interfaces may change. Please re-verify whether the plugin loads correctly after upgrading DSH.

Conclusion

dsh-symlink-passthrough resolves the gap between the sidebar and symbolic links: it expands links and junctions within the trust boundary, and leaves targets outside the workspace to be gated by workspace trust. If your layout relies heavily on linked directories, it is worth a try.

  • Community Directory Page: https://www.skillhub.cn/plugins/RicardoYan/dsh-symlink-passthrough
  • Source Repository: https://github.com/RicardoYan/dsh-symlink-passthrough
  • Installation Path Reference (Unofficial Registry): https://dsh.works/p/dsh-symlink-passthrough
羽毛球分组比赛记分
小程序二维码

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

Xiaoye