DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-open-locally

w

dsh-open-locally

Manifest valid

DeepSeek Harness plugin: one header button per open method — split the "Open in app" submenu into one button per app

UI (client)hasBundlePatchMachine translated

dsh-open-locally icon

dsh-open-locally

把 DeepSeek Harness 会话标题栏的「在应用中打开」二级菜单,摊平成每个应用一个独立按钮。

新版 DSH 把「在应用中打开」收进了会话标题栏 ⋯ 菜单的二级子菜单里:打开一次项目目录要点三下(⋯ → 在应用中打开 → 应用)。这个插件把那几个打开方式直接摆回标题栏——一个应用一个按钮,点一下就走。

官方支持的那几种打开方式(编辑器、Git GUI、终端、文件管理器)全都适用,能用的有几个就出几个。

装上之后

标题栏右侧会变成这样(以 macOS 为例,实际数量取决于宿主机探测到的已安装应用):

[提醒]  [Finder] [Cursor] [VS Code] [⋯]
  • 每个宿主机报告「已安装」的应用一个 28px 圆角按钮,图标就是那个应用自己的图标,顺序与官方菜单一致
  • 悬停提示写「用 VS Code 打开项目」,点之前就知道会打开什么
  • 单击直接打开当前会话的项目目录(就是会话的 cwd,不是固定的工作区根目录)

打开失败时只影响被点的那一个按钮:红色描边 + 感叹号图标,提示按原因分开(「项目目录不存在」/「应用不可用」/「打开失败」),读屏也会播报,2.6 秒后自动恢复。

宿主机没有可用的桌面应用(例如通过 SSH 启动),或当前会话没有目录时,一个按钮都不显示。官方的 ⋯ → 在应用中打开 菜单原样保留,不受影响。

安装

方式一:本地目录(推荐,已验证)

git clone https://github.com/w1ndys/dsh-open-locally.git

然后在 DSH 的 Plugins 页面点 Add plugin,选这个目录。Desktop 与 dsh web 一样。

方式二:作为 profile 依赖

和社区插件(例如 dsh-purge)同机制,把 GitHub archive 地址加进 profile 的 package.json:

{
  "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"]
    }
  }
}

这种方式本仓没有单独验证过,方式一是实测过的路径。

要求

  • 一个 ⋯ → 在应用中打开 能用的 DSH(即宿主机已挂载 open-in-app 的 host + client 两个包)
  • 没有额外权限要求,插件不新增任何宿主路由或凭据

原理

不写任何宿主代码,直接复用官方 open-in-app 已经提供的三条 HTTP 路由:

路由用途
GET open-in-app/apps已安装应用 id 列表,每页只读一次(失败会重试 3 次)
GET open-in-app/icon/<id>应用图标
POST open-in-app/open{ app, path },由宿主校验后拉起应用

UI 侧只是往 conversation.session.header.utilities 这个 slot 注册一个按钮组,样式只用 --dsw-alias-* 主题 token,跟随明暗主题。全部实现约 400 行,见 client.js。

限制

  • 应用列表每页只读一次:页面开着时新装的应用要刷新后才出现
  • 每个应用占标题栏一个 28px 位;应用多的时候这一排会变长(官方二级菜单更省地方,两个入口可以并存)
  • 打开失败的重试状态是本插件自己的:和官方菜单各自记录启动中状态,理论上两边同时点会各拉起一次
  • 标题栏「最右上角」那个 corner slot 属于右侧栏的展开按钮,所以按钮排在 ⋯ 左边,不是压在最右边

卸载

Settings → Plugins 里关掉 Open locally, one button per app 这个 bundle 即可,官方菜单不受影响。

License

MIT


English

A DeepSeek Harness Web plugin that flattens the session header's Open in submenu into one clickable icon button per installed application. Newer DSH releases tuck directory opening behind ⋯ → Open in → <app>; this puts each open method back on the header, one click each.

  • Install: clone the repo, then Plugins → Add plugin and pick the directory (Desktop and dsh web alike).
  • Requires a DSH whose own Open in menu works — the plugin only calls the existing open-in-app host routes (apps, icon/<id>, open) and adds no host code.
  • Buttons render only when the host reports installed applications and the session has a directory. A failed launch rings just the pressed button.
  • Known limits: the application list is read once per page; every application costs a 28px header slot; launch state is not shared with the shipped submenu.

MIT licensed.

Comments

Loading…

Similar plugins

dsh-sidebar-settings

by linguiyii

DeepSeek Harness 客户端插件:把设置入口放到侧边栏底部,一键打开设置页。 / A DSH client plugin that puts a settings button at the bottom of the sidebar.

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-sidebar-settings

by extension-hunter

DeepSeek Harness plugin: a 'Connected Apps' settings section — a central platform where other DSH plugins surface themselves.

Manifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-authorize-app

by Biobuilder-ai

deepseek-harness的插件,可以在web页面直接开关插件,轻量方便

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-plugin-ui-toggle

DeepSeek Harness automatically opens browser plugins and includes a built-in WebView2 program to achieve a lightweight desktop experience.

Tools & CapabilitiesManifest valid

★ 1

↓ 258/wk

MIT

JavaScript

dsh plugin --profile web add dsh-auto-open-web

by keyblues

DeepSeek Harness (DSH) plugin — instant whole-disk file search through the local voidtools Everything index. DSH 插件:接入本机 Everything 索引,全盘秒级搜索文件。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-plugin-everything

by seanjin0513

DSH 插件:把左侧栏「工作区」上方的插件入口收进「更多」菜单,并可逐项固定 / 收起

Manifest valid

★ 0

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-sidebar-more