AI Agent Hub
Back to plugins
🖥️

dsh-open-in-editor

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install shaomingbo/dsh-open-in-editor

Paste the following prompt into your AI chat to install this plugin:

Install in DeepSeek Harness by running dsh plugin install shaomingbo/dsh-open-in-editor; source code at https://github.com/shaomingbo/dsh-open-in-editor

About this plugin

After a DSH Web session finishes a turn, the files it produced are often buried in subdirectories of your workspace. Grabbing one for a quick look means hunting for the path, copying it, and switching windows. dsh-open-in-editor collapses that round-trip into a single click, taking you straight from the web interface into your local editor.

In the produced-files list at the tail of each turn, click a filename to open the file or directory in your configured default macOS IDE (Zed, Visual Studio Code, or Xcode). Click the adjacent arrow to copy the absolute path, or to open that one file in a different IDE without changing the default. When a turn produces more than six paths, the extras fold behind a +N more toggle so the list stays tidy. The default editor lives under Settings and Open in IDE, with a one-click refresh for local application detection. Relative paths are resolved against the current session workspace first, so every link points to the right place.

Built for macOS developers who use DSH Web to drive projects and frequently pull produced files into a local IDE for further edits. The plugin only replaces the produced-files turn-tail interaction; inline file links keep their native DSH opener. On the security side, browser-to-host RPC is restricted to loopback authority, applications come from a fixed allowlist, and paths are validated with realpath plus stat before being handed as an argv array to /usr/bin/open. No shell is involved and no arbitrary commands are executed. The first release is macOS-only and requires DSH v0.1.2-alpha.2 or newer.

Use Cases

  • Open files produced by a DSH Web session directly in your local IDE with a single click.
  • Copy absolute paths or open files in a different IDE without permanently changing the default editor.
  • Switch between Zed, VS Code, and Xcode as the default opener from DSH settings.

Best For

  • macOS developers who drive projects via DSH Web and frequently edit produced files locally.
  • Programmers working in Zed, VS Code, or Xcode who want to minimize window-switching.
  • Workflow users who prefer one-click actions over manually copying file paths.