AI Agent Hub
Back to plugins
🖥️

dsh-open-path

Client Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install VviLliAm-qwq/dsh-open-path

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

Run dsh plugin install VviLliAm-qwq/dsh-open-path in DeepSeek Harness to install this plugin; the source repository is at https://github.com/VviLliAm-qwq/dsh-open-path .

About this plugin

In a terminal-driven workflow, every file or link you want to open forces you to jump out to a browser or drag back to a file manager, breaking your cadence. dsh-open-path folds that into a single /open command: pass a path and the file opens, pass a URL and it goes to the default handler, pass a bare domain and the scheme is filled in, pass a keyword and it fuzzy-searches your workspace in a CJK- and case-insensitive, Unicode-normalised way. One hit opens immediately, several hits surface a scrollable candidate panel, zero hits produce an explicit error - never a silent swallow.

Cross-platform reliability is the other pillar. Windows rides Shell.Application COM with a cmd start fallback, macOS delegates to open, Linux walks the xdg-open, gio open, kde-open5 chain in order, and WSL bridges straight to the Windows-side handler. Any launcher that fails to spawn or exits non-zero quickly triggers the next candidate; only when the whole chain is exhausted does the command report an explicit error listing every launcher it tried. The success receipt is deliberately two-tiered: a confirmed open requires exit zero inside the grace window, while a still-alive process at window expiry is labelled as launched but unconfirmed. A timeout is never dressed up as success.

Who is it for? Developers and operators who live inside the dsh-TUI terminal surface and want one command to reach the file manager or browser without leaving the session. It produces no model messages, consumes no tokens, and touches no KV cache - purely a UI-layer shortcut that takes effect on the next restart.

Use Cases

  • Type /open src/index.ts in the terminal to open a workspace code file in the default editor
  • Type /open https://github.com to open a link in the default browser with one command
  • Type /open readme to fuzzy-search the workspace and pick a target from the candidate panel

Best For

  • Developers who work primarily in the dsh-TUI terminal
  • Operators who want fewer context switches between terminal and browser or file manager
  • Users collaborating across Windows, macOS, Linux, and WSL environments