dshbase

插件目录 / Developer / deepseek-harness-shortcut

deepseek-harness-shortcut

未验证 Ho11ow8

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-19最近推送
跨平台平台

功能简介

DeepSeek Harness plugin: create a desktop shortcut to launch dsh web

我们的评价
未验证 — 尚未实测

DeepSeek Harness plugin: create a desktop shortcut to launch dsh web 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

deepseek-harness-shortcut

English | 中文

DeepSeek Harness shortcut icon

A DeepSeek Harness (DSH) plugin that creates a desktop shortcut to start or open your local DSH web UI with one click (Windows).

The shortcut icon: assets/icon.jpg · assets/icon.ico

Double-clicking the shortcut:

  • if the DSH service is already running → opens the browser directly;
  • if it is not running → starts it (npx --yes @deepseek-ai/dsh web by default), waits until port 3080 answers, then opens the browser.

Features

  • ✅ One command: /desktop-shortcut
  • ✅ Smart launcher script (start-vs-open, wait-for-ready, up to 30s)
  • ✅ Customizable: shortcut name, URL, port, icon, working directory, start command
  • ✅ Zero runtime dependencies (Node ≥ 18 built-ins only)
  • ✅ Ships as a DSH bundle: installing the package auto-activates it in the profile

Install

From GitHub

dsh plugin --profile web add github:Ho11ow8/deepseek-harness-shortcut

From a local checkout

dsh plugin --profile web add file:D:\DeepseekHarness\deepseek-harness-shortcut

Then restart dsh web. In the chat, run:

/desktop-shortcut

A start-dsh.bat launcher is written to your workspace and a DeepSeek Harness.lnk shortcut appears on your desktop.

Bundle activation is automatic: dsh plugin appends any dependency that declares dsh.bundle to the profile's dsh.profile.bundles layer stack. (See dsh --help / dsh plugin --help.)

What it generates

The plugin does not ship a pre-built launcher — running /desktop-shortcut generates the files on your machine:

Generated file Location Purpose
start-dsh.bat your workspace (or launcherDir) Smart launcher: checks port 3080 → opens the browser if the service is already running, otherwise starts it and waits until ready
DeepSeek Harness.lnk your desktop Shortcut that runs start-dsh.bat when double-clicked

Icon resolution (first match wins):

  1. iconPath from your config, if set;
  2. the first .ico/.png found in launcherDir;
  3. the plugin's bundled assets/icon.ico (shipped with the package) — so every user gets a nice icon even without their own.

Re-run /desktop-shortcut any time to refresh the shortcut (e.g. after changing the config or the icon).

Slow startup? Switch to a China npm mirror

The launcher starts the service with npx --yes @deepseek-ai/dsh web. On every launch, npx
contacts the npm registry to resolve the @deepseek-ai/dsh version. When your access to
registry.npmjs.org is slow or unstable (common in China), this step can take several
seconds — or much longer when the connection is reset and npm retries with backoff.

Point npm at a China-based mirror (npmmirror.com — Alibaba's sync of the official registry):

npm config set registry https://registry.npmmirror.com

This writes registry=https://registry.npmmirror.com to your user-level .npmrc
(C:\Users\<you>\.npmrc on Windows), so all npm/npx commands you run use the mirror.
Verify with npm config get registry.

  • Package contents are identical — npmmirror mirrors the official registry; your local npm cache stays valid.
  • New releases can lag the official registry by a few minutes to hours.
  • Revert with: npm config set registry https://registry.npmjs.org/.

The mirror only speeds up the npx network step before DSH boots. Once the service is
running, the browser loads everything from 127.0.0.1:3080, which has nothing to do
with the registry.

Configuration

Override any key through a later patch row in the profile's cordis.patch.yml:

- id: desktop-shortcut
  config:
    shortcutName: My Harness
    url: 'http://127.0.0.1:8080'
    port: 8080
    iconPath: 'C:\icons\my.ico'
    launcherDir: 'D:\launchers'
    workdir: 'D:\DeepseekHarness'
    command: 'npx --yes @deepseek-ai/dsh web'
    waitSeconds: 45
Key Default Meaning
shortcutName DeepSeek Harness Shortcut file name (no extension)
url http://127.0.0.1:3080 URL the launcher opens
port 3080 Port probed to decide start-vs-open
iconPath "" .ico/.exe/.dll icon for the shortcut (falls back to first .ico/.png in launcherDir)
launcherDir workspace Directory for the generated start-dsh.bat
workdir launcher dir Working directory used by the launcher
command npx --yes @deepseek-ai/dsh web Command that starts the service
waitSeconds 30 Max seconds to wait for the service

Changing the icon

Two ways to use your own icon:

Option A — drop the icon into your workspace (easiest)

  1. Copy your icon (.ico or .png) into the workspace (the directory where you run dsh web, e.g. D:\DeepseekHarness);
  2. Re-run the command:
/desktop-shortcut

The plugin picks up the first .ico/.png found in the workspace. If several icons exist, remove the old ones or make sure yours sorts first.

Option B — pin an exact path with iconPath

Set iconPath in the plugin config:

- id: desktop-shortcut
  config:
    iconPath: 'D:\my-icons\my-custom.ico'

Then restart dsh web and re-run /desktop-shortcut.

If the desktop still shows the old icon after changing it, refresh the desktop (press F5) or right-click the desktop → Refresh — Windows caches icons. .ico is recommended for crisp rendering at all sizes.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 deepseek-harness-shortcut」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Ho11ow8/deepseek-harness-shortcut

Headless(CLI)profile:

dsh plugin --profile headless add github:Ho11ow8/deepseek-harness-shortcut

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →