返回插件市场

dsh-desktop

界面与体验

FuqiangCraft/dsh-desktop

DeepSeek Harness 的桌面伴侣插件和原生外壳,提供桌面通知、屏幕捕获工具、多代理平铺画布、桌面宠物和原生窗口管理。

  • cordis-plugin
  • deepseek
  • deepseek-harness
  • dsh
  • dsh-plugin
  • multi-agent
GitHub Stars
5GitHub
浏览量
0DSH Plugin Hub
Forks
0GitHub
开放问题
1GitHub Issues
Manifest 版本
0.1.1@mixian/dsh-desktop-plugin
最近推送
2026年9月3日GitHub
许可证
MITTypeScript
插件类型
Host + Client同时运行于 Host 与 Web Client

验证与兼容性

这里展示目录实际采集到的证据;未声明的信息会明确标为未知。

运行时已验证
01精确来源: npm · @mixian/dsh-desktop-plugin@0.1.102验证时间: 2026年9月3日03验证版本: 0.1.0-rc.7
当前版本兼容性
已在当前目录版本验证
声明的 Harness 范围
未声明
声明的平台
未声明
适用 Profile
web
构建授权
未检测到需要
权限声明
未声明
外部服务
未声明
遥测声明
未知
未发现已知风险标记

这不是安全背书;安装前仍应查看源码、权限和配置。

查看证据与判定范围

验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。

  • @mixian/dsh-desktop-plugin@0.1.1
  • 插件已在隔离环境完成加载检查。

README

查看源文件

DeepSeek Harness Desktop Pro

CI npm version Node.js License: MIT

A Rust/Tauri desktop shell and Cordis plugin for DeepSeek Harness (dsh). Rust owns the native lifecycle, windows, tray, notifications and signed updates; a supervised Node.js sidecar runs the compatible DSH/Cordis runtime.

English | 中文

What it does

CapabilitySideNotes
Interaction notificationsclientSubscribes to the sessions store; fires a browser desktop notification when a session waits on an approval, question, or plan review. Click opens that session.
screen_capture model toolhostCaptures the primary display and commits the screenshot into the conversation as an image attachment. Disabled by default — see Consent.
Multi-agent tiling canvasclientA conversation.view tab rendering a live, read-only grid of sessions and sub-agents from the sessions store.
Desk petclientA floating companion window (cat / robot / whale) driven by a state engine that derives pet state (idle / thinking / working / alert / success) from live sessions. Ships a custom navigation icon in the dsh nav bar.
Desktop settingsclientA settings section for pet preferences: enable/disable, character (built-in robot / whale / cat or a custom PNG), and size.
Native shellappRust/Tauri app that supervises the DSH sidecar, embeds the local Web UI in a frameless WebView2 window, and provides native workspaces, tray controls, companion windows and signed GitHub Releases updates.

How it plugs in

  • The package declares a dsh.bundle manifest (object form: { "patch": "./cordis.patch.yml" }) — this is what dsh recognizes as an installable plugin. dsh.client declares the web platform and the @deepseek-ai/* runtime packages it injects.
  • Host side registers the screen_capture model tool only.
  • Client side reads the sessions store and the question/requested interaction stream (via the PendingWait.answer channel) — it never registers a second ctx.userQuestions provider, so it works against the published runtime with no slot conflicts.
  • The client bundle is a single file wrapped in the window.__ModuleLoader__.load({ id, factory }) handshake (see build.mjs).

Install

The plugin ships as @mixian/dsh-desktop-plugin with a dual-face Cordis bundle (dsh.bundle + dsh.client). Mount it with either mechanism:

# via a profile (recommended)
dsh plugin --profile web add @mixian/dsh-desktop-plugin

# from a source checkout
dsh plugin --profile web add ./packages/dsh-desktop-plugin

# or as a one-off overlay (no install)
dsh web --patch ./packages/dsh-desktop-plugin/cordis.patch.yml

Consent

screen_capture exposes the operator's whole display. It is not registered unless screenCapture: true is set explicitly in the profile patch:

# ~/.dsh/profiles/web/cordis.patch.yml
- id: dsh-desktop-plugin
  config:
    screenCapture: true   # opt in: registers the screen_capture tool

The captured image is always surfaced back into the conversation for transparency — it is never silently injected.

Run the desktop app

pnpm install
pnpm dev             # Rust/Tauri development app
pnpm tauri:package   # Signed Windows production bundle (signing env required)

Requires Node.js ≥ 22 and pnpm 11 (corepack enable).

Model Experience

  • The plugin adds no tokens when idle: the notification watcher, canvas, desk pet, and settings are client-side and read the sessions store; they never enter the model context.
  • screen_capture adds one model-facing tool with a short description; its output is an image block in a durable tool/result event, subject to the same attachment limits as any image in the session. It requires a model that accepts image input.

Known Limitations

  • Screen capture is host-only and captures the primary display; multi-monitor and region capture are not supported.
  • The multi-agent canvas is a read-only monitor; it does not create or attach sessions.
  • Notifications fire as native OS notifications in the desktop shell and fall back to the browser desktop-notification API in the web runtime. The Alt+Space global quick panel is planned, not shipped.
  • Time travel, session rewind, and live fork are not implemented.

Development

pnpm install
pnpm check          # lint + typecheck + Node/Rust tests + plugin build + runtime verification
pnpm dev:plugin     # plugin dev loop

Project layout

packages/dsh-desktop-plugin/   # dual-face Cordis plugin (dsh.bundle + dsh.client)
packages/dsh-desktop-rust/     # Rust/Tauri native desktop shell
packages/dsh-desktop-sidecar/  # supervised Node.js DSH/Cordis runtime
stubs/                         # local type-stubs for unpublished @deepseek-ai/* transitive deps
docs/                          # ARCHITECTURE_ANALYSIS + PUBLISHING_GUIDE (verified 2026-08)

Documentation & community

The repo carries the dsh-plugin, deepseek-harness, and cordis-plugin topics for ecosystem discovery.

License

MIT

评论

0
最新优先