DeepSeek Harness 插件

dsh-desktop-min

A minimal, extension-first desktop shell for DeepSeek Harness(英文原文)

跳到安装方式

来源信息

GitHub 仓库
wezoo-wb/dsh-desktop-min
最近更新
2026年8月19日
分类
工具与能力
GitHub stars
4
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/wezoo-wb/dsh-desktop-min
插件名:dsh-desktop-min
作者:wezoo-wb

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-desktop-min

dsh-desktop-min is a minimal, product-neutral, extension-first desktop shell for DeepSeek Harness. It starts an ordinary Web-capable DSH profile in a secure Electron window and supplies the smallest runtime needed for third-party desktop extensions.

The core does not implement Agents, workspaces, product UI, embedded pages, tray menus, updates, custom chrome, notifications, or remote hosting. Those features are independent DSH packages with optional Host, Client, and fully trusted Native entrypoints.

Run

End users install a platform artifact from GitHub Releases and launch the application normally. The installed application does not require Node.js or a package manager. This repository is the application source and is not published as an npm launcher.

The launcher applies its Host bridge only for that run when the selected profile has not installed the bundle. Existing DSH profile composition remains owned by the official dsh CLI.

Source launch and useful options:

corepack pnpm start -- --profile web
corepack pnpm start -- --profile my-profile --devtools
corepack pnpm start -- --profile my-profile --extension @acme/desktop-native
corepack pnpm start -- --profile my-profile --connector @acme/remote --connector-option endpoint=wss://host.example
corepack pnpm start -- --profile my-profile --connector-option startupTimeoutMs=180000
corepack pnpm start -- --profile my-profile --safe-mode

Native extensions listed by the profile's DSH bundles are discovered automatically. --extension adds an explicit package or directory. --safe-mode skips all external Native entries. The built-in local connector accepts startupTimeoutMs from 1,000 through 600,000 milliseconds for unusually large cold-start profiles; its default remains 60,000 milliseconds.

Develop

This is a pnpm-only project. Corepack selects the exact pnpm release declared by the repository:

corepack pnpm install --frozen-lockfile
corepack pnpm run check
corepack pnpm run dev -- --profile web

Run the included capability example:

corepack pnpm run example -- --profile web

Extension model

A package may use ordinary DSH metadata for its Host and Client plugins and add a full-trust Native entry:

{
  "name": "@acme/dsh-desktop-feature",
  "version": "1.0.0",
  "dshDesktopMin": {
    "apiVersion": 1,
    "native": "./lib/native.js",
    "trust": "full"
  }
}

The Native entry can:

  • register an entirely new JSON capability for Host and Client callers;
  • register a replaceable Host connector;
  • read Host contributions and execute Host commands;
  • observe or configure the main window;
  • acquire background lifetime for tray-style extensions;
  • use the complete Electron API under the package's explicit full-trust declaration.

Regular Host and Client plugins never receive Node.js, raw Electron, raw IPC, or a BrowserWindow. The renderer preload exposes only capability discovery, JSON method calls, Host command execution, and capability events.

See [architecture](docs/architecture.md), [extension authoring](docs/extensions.md), [development and packaging](docs/development.md), and [security policy](SECURITY.md).

Design principles

  • Minimal defaults and broad extension mechanisms are separate goals.
  • DSH remains responsible for Profiles, bundles, Agent behavior, and Web Client composition.
  • Every cross-process payload is finite JSON and every public id is validated.
  • Process-based Host tools do not create visible console windows on Windows.
  • The main DSH renderer stays sandboxed with context isolation and no Node integration.
  • A remote connector must return a trusted loopback Client URL, normally through a local proxy or tunnel; the core never grants its preload to an arbitrary remote page.
  • Native entries are local code with the same trust implications as the application itself.

License

MIT. See [LICENSE](LICENSE).