DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-external-link

d

dsh-external-link

Manifest valid

Open http/https/mailto/tel anchor links from the DSH web GUI in the OS default application, including localhost URLs the Electron shell keeps in-app.

UI (client)hasBundlePatch

dsh-external-link

Stop clicking a link and watching it open in a window inside DSH. Anchor clicks in the DSH web GUI go to your OS default application instead — including http://localhost, which the Electron shell otherwise treats as its own surface.

dsh-plugin · MIT · macOS / Windows / Linux · zero configuration

When you need it

  • You work in a UI project and click http://localhost:5173 in a chat. DSH Desktop opens a bare in-app window instead of your browser.
  • You click a documentation link and want it in the browser you actually browse in — with your tabs, extensions and logins.
  • You click a mailto: or tel: link and want the OS handler, not a dead anchor.

What it does

WhereBehaviour
Anchor click on http / https / mailto / telHanded to the OS default application (open on macOS, start on Windows, xdg-open on Linux)
Anchor click on a same-origin linkLeft alone — in-app navigation still works
Any other scheme (file:, javascript:, data:, relative paths)Left alone
window.open from application code (not an anchor click)Not intercepted

Install

dsh plugin --profile web add github:d0ublecl1ck/dsh-external-link

Reload the DSH window (or restart DSH). The host half mounts POST /external-link/open; the browser half starts intercepting clicks as soon as the page is loaded.

Uninstall:

dsh plugin --profile web remove dsh-external-link

How it works

anchor click
  → capture-phase listener in the browser half
  → POST /external-link/open            (only off-origin http/https/mailto/tel)
  → connection trust fence              (unauthenticated callers get 401)
  → platform opener                     (open / start / xdg-open)
  → your default browser

The click never reaches the Electron shell's window handler, which is what keeps http://localhost out of an in-app window.

Why not the built-in setting?

DSH ships a preference — Settings → General → Open chat links in (ui-chat.linkOpening) with In-App Sidebar and Default Browser. It is only rendered when the in-app browser sidebar plugin (@deepseek-ai/dsh-client-ui-sidebar-browser) is loaded, and the Default Browser option still goes through the shell's own window handler, so http://localhost lands back in an in-app window.

ApproachCovers localhostNeeds the in-app browserWhere the link opens
ui-chat.linkOpening = new-tabNoYesShell window handler (external for https, in-app for http://localhost)
dsh-pathlinkNoNoAdds Ctrl+click for paths and links
dsh-browser—Ships oneIts own in-app browser
dsh-external-linksWindows onlyNoWindows WebView2 shell (DSH EAC)
dsh-external-linkYesNoOS default application, on every platform

Safety boundary

  • The route accepts four schemes and nothing else; file:, javascript: and malformed values are rejected with 400.
  • Requests are checked by the DSH connection trust fence, so an unauthenticated caller cannot make the host spawn an opener.
  • No configuration, no telemetry, no network access of its own — the plugin's only side effect is handing one URL to the OS.
  • Same-origin links are never intercepted, so the application's own navigation cannot be broken by a click interceptor.
  • Not covered: window.open calls that do not come from an anchor click.

Files

index.js          host half — POST /external-link/open + platform opener
client.js         browser half — capture-phase anchor click interceptor
cordis.patch.yml  bundle layer — inserts the external-link row
package.json      dsh.bundle + dsh.client manifest
examples/         real verification transcripts

Verification

# install into a throwaway profile and boot it — a plugin that throws on load
# makes the boot fail, which is the only real activation check
dsh plugin --profile <scratch> add github:d0ublecl1ck/dsh-external-link
dsh --profile <scratch> --dump-config | grep -A3 '== dsh-external-link'
dsh --profile <scratch>

In a real profile, mount the route and probe it:

dsh plugin --profile web add github:d0ublecl1ck/dsh-external-link
curl -s -o /dev/null -w '%{http_code}' -X POST -H 'content-type: application/json' -d '{"url":"http://127.0.0.1:9/x"}' http://127.0.0.1:43129/external-link/open; echo   # 401 = mounted and fenced

Real transcripts (manifest / shape / install / compose / activate ladder, route probes, scheme rejection) are in examples/verification.md.

License

MIT

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 4k

↓ 16.5k/wk

MIT

TypeScript

Oct 3, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 308/wk

Apache-2.0

TypeScript

Oct 3, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesTerminal & ClientsUI & ExperienceManifest valid

★ 1.8k

↓ 38.5k/wk

Apache-2.0

TypeScript

Oct 3, 2026

dsh plugin --profile web add dsh-context

by huiliyi37

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Terminal & ClientsManifest valid

★ 282

↓ 560/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tui

by Hilbert-beinghappy

面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。

Terminal & ClientsManifest valid

★ 197

↓ 108/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add seektty

by T-Auto

deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准

Terminal & Clients

★ 82

MIT

JavaScript

Oct 3, 2026

Index only — not installable