miracle-ai-studio / deepseek-harness-desktop

已收录

DeepSeek Harness 原生 macOS 桌面端 · A native macOS desktop app for DeepSeek Harness.

main其他 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:miracle-ai-studio/deepseek-harness-desktop

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 99f022c同步于 2026年8月18日

DeepSeek Harness Desktop

English | 中文

A native macOS desktop app for DeepSeek Harness. It opens the existing DSH Web Host in a focused AppKit window while the Host continues to own sessions, tools, permissions, approvals, and persistence.

Product website · Architecture · Delivery contracts

Download

Download the latest macOS version from the product website. For previous versions, visit the Releases page. The consumer application includes its versioned DeepSeek Harness Host and official Node.js runtime, so it does not require a source checkout, Homebrew Node, or a separate dependency install.

Run from source

Keep this repository beside a compatible DeepSeek Harness checkout:

workspace/
├── deepseek-harness/
└── deepseek-harness-desktop/

Prepare the verified Harness revision:

git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
git checkout 47f943859bef60e4160492346772ded9b24f765a
pnpm install
pnpm run build

Build the companion application from this repository:

cd ../deepseek-harness-desktop
npm run build:app
open "dist/DeepSeek Harness Desktop.app"

Opening the app directly selects owner mode: it locates the sibling Harness checkout, starts its existing web profile, and owns only that child Host.

To assemble the same self-contained consumer application used for releases:

npm run build:release
npm run smoke:runtime
npm run smoke:release

Attach to an existing profile

Build the plugin, install the local package into a DSH web profile, then give the profile the path to the companion app:

cd ../deepseek-harness-desktop
npm run build:plugin

cd ../deepseek-harness
pnpm dsh plugin --profile web add "file:../deepseek-harness-desktop/packages/cordis-plugin"

DSH_DESKTOP_APP_PATH="$(cd ../deepseek-harness-desktop && pwd)/dist/DeepSeek Harness Desktop.app" \
  pnpm dsh --profile web

The profile starts the existing Host first. After Loader settlement, the plugin attaches the native window to its assigned loopback URL. Closing the attached application never terminates that Host.

Architecture

The project ships two separate artifacts:

  • @deepseek-ai/dsh-macos-surface is a standard Cordis plugin and dsh.bundle profile layer.
  • DeepSeek Harness Desktop.app is a Swift/AppKit companion application with a restricted WKWebView.

Both entry paths preserve one Host as the source of truth. The native layer owns presentation and only processes it started; it does not add a second Agent runtime, session store, approval path, shell bridge, or unrestricted filesystem API.

Configuration

SettingDefaultPurpose
applicationPathDSH_DESKTOP_APP_PATH, then /Applications/DeepSeek Harness Desktop.app in the shipped profileSelect the companion app.
launchModelaunch-if-neededLaunch the app; attach-only only prints the resolved URL.
launchTimeoutMs30000Native launch and owned-process cleanup deadline.
DSH_HARNESS_ROOTSibling ../deepseek-harnessSelect a Harness source checkout for development owner mode.
DSH_NODE_BINARYCommon Homebrew paths, then PATHSelect Node for development owner mode.

Development

Run the narrow check for the surface you change, or use the full local gate:

npm run test:plugin
npm run test:swift
npm run test:integration
npm run build:app
npm run smoke
npm run smoke:native
npm run smoke:assembled
npm run smoke:runtime
npm run smoke:release
npm run check

The plugin checks require the sibling Harness checkout. Runtime and integration tooling also accept DSH_HARNESS_ROOT when the checkout lives elsewhere.

Documentation and license

DeepSeek Harness Desktop is available under the MIT License.

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测
文档已检测

仓库信息

开发语言
JavaScript
许可证
MIT
最新发布
v0.1.1
最后更新
2026年8月15日 06:58

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。