dsh-open-in-editor
Manifest validOpen DSH Web produced files in a configurable local macOS IDE
DSH Open in Editor
Open DeepSeek Harness Web produced files in a configurable local macOS IDE or copy their absolute paths.
Features
- Click a produced filename to open it in the configured default IDE.
- Click its arrow to copy the absolute path, or choose System default, Zed, Visual Studio Code, or Xcode for one open without changing the default.
- When a turn produces more than six paths, expand +N more to access every file and collapse it again when finished.
- Choose the default under Settings → Open in IDE and refresh local application detection.
- Open files or directories; relative produced paths are resolved against the session workspace first.
The first release supports macOS only. Ordinary inline file links keep DSH's native opener; this plugin replaces only the produced-files turn tail.
Requires DeepSeek Harness v0.1.2-alpha.2 or newer.
Installation
Run the pinned GitHub release installer:
npx --yes github:shaomingbo/dsh-open-in-editor#v0.3.2
The installer safely updates the web profile, enables the bundle, and runs pnpm install --ignore-scripts. It preserves a package-manifest backup and restores the original manifest if dependency installation fails. It never restarts DSH automatically.
After installation, restart DSH manually and hard-refresh the existing Web GUI.
Use another profile or package source when needed:
npx --yes github:shaomingbo/dsh-open-in-editor#v0.3.2 --profile web
npx --yes github:shaomingbo/dsh-open-in-editor#v0.3.2 --source link:/absolute/path/to/dsh-open-in-editor
DSH_OPEN_IN_EDITOR_SOURCE provides the same source override for automation.
Check the configured state:
npx --yes github:shaomingbo/dsh-open-in-editor#v0.3.2 status
Manual profile editing remains a fallback: add the pinned source to dependencies, add dsh-open-in-editor to dsh.profile.bundles, then run pnpm install --ignore-scripts in the profile directory.
Security
- Browser-to-Host RPC is restricted to loopback authority.
- The Host accepts absolute paths only and uses
realpathplusstatto require an existing regular file or directory. - Applications come from a fixed allowlist; arbitrary commands, executables, and arguments are not accepted.
/usr/bin/openis invoked with an argv array and never through a shell.- Path copying uses the browser Clipboard API after resolving relative paths against the session workspace; it does not add a Host RPC.
- The default IDE is persisted through DSH's
open-in-editorsettings namespace.
Development
pnpm install --ignore-scripts
npm run check
Tests cover application detection, path validation, safe argv construction, absolute-path copying, clipboard failures, default and one-shot IDE selection, loopback RPC registration, turn-tail chain selection, produced-path expansion/deduplication, and settings registration.
Uninstall
npx --yes github:shaomingbo/dsh-open-in-editor#v0.3.2 uninstall
Then restart DSH manually and hard-refresh the Web GUI.
License
MIT
Comments
Loading…
Similar plugins
Open DSH workspace directories in installed file managers, terminals, and supported editors from the Web UI.
★ 0
dsh plugin --profile web add dsh-open-in-xOne-click start/stop launcher for DSH Web on macOS — start (foreground/daemon), stop, status, duplicate-launch guard, auto browser open, plus a Dock-able DSH.app built by script.
★ 0
dsh plugin --profile web add dsh-startby JoeyLearnsToCode
dsh plugin for native open workspace / 用于本地打开工作区目录的 dsh 插件
★ 0
MIT
TypeScript
Sep 8, 2026
dsh plugin --profile web add dsh-workspace-native-openby CarrotFish
为 DSH Web 配置添加“文件管理”和“终端”面板。
★ 3
MIT
JavaScript
Oct 9, 2026
dsh plugin --profile web add dsh-plugin-file-and-terminalby cnskycn
Right-click a produced file in DeepSeek Harness Web chat to open its location in the OS file manager
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add reveal-fileby l541402398
Upload arbitrary local files from the DeepSeek Harness Web composer and manage them in Settings.
★ 3
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-file-uploads