Introduction¶
In DeepSeek Harness (DSH), when handling a project directory within a session, it is often necessary to drop the current directory into the local editor, terminal, or file manager. The new version of DSH incorporates “Open in App” into the sub-menu under the session header ⋯: one must click ⋯, then select “Open in App”, and finally click the specific application, taking three clicks to complete the action. For daily coding, Git viewing, or opening terminals, this path is too long. dsh-open-locally is a community-maintained client-side web plugin. It exposes the few opening methods officially supported back into the right side of the header bar. Each installed app occupies an independent button; click once to launch the corresponding application using the current session’s cwd.
What is this¶
dsh-open-locally (package name @local/dsh-open-locally, displayed as the bundle “Open locally, one button per app” in the uninstall interface) is published by maintainer w1ndys and classified as a client plugin. It does not add host routes or permissions; it only registers a button group in the frontend to conversation.session.header.utilities and calls the existing official open-in-app HTTP interface. The plugin directory page can be found on SkillHub, with source code and description on GitHub.
Core Capabilities¶
The following capabilities are explicitly stated in the README and package.json; no need to guess extra configuration items before installation.
Title Bar Buttons¶
The host reports how many apps are “installed” via open-in-app, and the header bar displays several rounded buttons, approximately 28px each. Icons are fetched from GET open-in-app/icon/<id>, and the order matches the official ⋯ → Open in App menu. Hover tooltips will explain the usage, for example, “Open project with VS Code”. Upon clicking, it sends { app, path } to POST open-in-app/open. The path is the current session’s project directory (session cwd), not a fixed workspace root.
If the host has no available desktop applications (e.g., launching DSH via SSH), or if the current session has no directory, the plugin does not render any buttons; the official secondary menu remains unaffected.
Failure Feedback¶
If an opening fails, only the clicked button is highlighted in red (red stroke, exclamation mark), and the text is differentiated by reason (“Project directory does not exist”, “App unavailable”, “Open failed”); screen readers will announce it, recovering after approximately 2.6 seconds. The official menu and the plugin record the startup state respectively; theoretically, clicking both sides will trigger an open action for each.
Implementation Scope¶
The plugin consists of approximately 400 lines of client-side logic (see client.js in the repository), and styles use --dsw-alias-* theme tokens, adapting to light and dark themes. The app list is fetched via GET open-in-app/apps, requested once per page (with 3 retries on failure).
Installation and Enablement¶
Prerequisites: The DSH you use must already have “Open in App” available via ⋯ → Open in App (the host has mounted the open-in-app host and client packages). The plugin runs with the current DSH process permissions. Before installing, you should review the source code and the MIT license yourself.
Method 1: Local Directory (Recommended and Verified in README)¶
After preparing a local directory containing the plugin files, go to the DSH Plugins page and click Add plugin, selecting that directory. The process is the same for Desktop and dsh web. The directory must match the content of the GitHub repository; you can download and extract the source archive from the release page yourself. Do not use unverified installation commands to assemble the files.
Method 2: As a Profile Dependency¶
Similar to community plugins (e.g., dsh-purge), add an archive dependency in the profile’s package.json and reference it in bundles. The README notes that this method has not been individually verified within the repository, while Method 1 is the tested path.
{
"dependencies": {
"@local/dsh-open-locally": "https://github.com/w1ndys/dsh-open-locally/archive/refs/heads/main.tar.gz"
},
"dsh": {
"profile": {
"bundles": ["…", "@local/dsh-open-locally"]
}
}
}
The dsh.client in package.json specifies platform: "web" and immediately: true, and injects @deepseek-ai/dsh-client-ui-conversation.
Typical Usage¶
- Confirm that the current session is bound to the project directory to be opened (it has a
cwd). - Check the right side of the header bar for application buttons (example appearance similar to:
[Reminder] [Finder] [Cursor] [VS Code] [⋯], actual types and quantities depend on local detection results). - Click the target application button; the project directory should open in the corresponding application.
- If the button briefly turns red, check whether the directory exists or the application is available based on the prompt; if a newly installed application appears in the list, it will only appear in the button row after refreshing the page (the list is read once per page).
Uninstall: In Settings → Plugins, disable the bundle corresponding to “Open locally, one button per app”. The official menu is unaffected.
Applicable Scenarios and Notes¶
Target Audience: Developers who frequently switch projects within DSH sessions and are accustomed to opening the current directory locally with Cursor, VS Code, terminal, or Finder. It is worth enabling if you wish to reduce the number of clicks on the ⋯ multi-level menu.
Layout: Each app occupies 28px of the header bar. If there are many apps, the header bar will become longer horizontally. Buttons are arranged to the left of ⋯ (the corner slot is reserved for the right sidebar expansion), and can coexist with the official secondary menu.
Ecosystem Note: DSH advocates “Everything is a plugin”; SkillHub is a community directory and has no official affiliation with DeepSeek/Fangfang; this article does not constitute official endorsement.
Security: The plugin does not add host routes or credentials, but it still calls open-in-app/open on behalf of the current user. Install only from the verified channels mentioned above (GitHub and directory page) and read client.js and the patch configuration to ensure they meet your environment requirements.
Conclusion¶
The value of dsh-open-locally is concentrated: on top of the official open-in-app capability, it condenses “Open in App” from a three-level menu into a one-click entry on the header bar, and failure feedback is limited to a single button. To check maintainer and classification information, visit the SkillHub directory page; to refer to installation snippets, routing tables, and limitation descriptions, consult the GitHub repository README.