Coding

deepseek-harness-desktop-shell

Try it

把已在本地运行的 DeepSeek Harness Web UI(默认 http://127.0.0.1:3080)用 Electron 包装成桌面应用的实战指南:前置依赖、最小可运行壳、启动 Harness 与加载本地 URL 的方式、打包分发。仅覆盖桌面套壳本身;Harness 的安装 / 构建 / 排错由 deepseek-harness-windows-deploy 技能负责。

What it does

把已在本地运行的 DeepSeek Harness Web UI(默认 http://127.0.0.1:3080)用 Electron 包装成桌面应用的实战指南:前置依赖、最小可运行壳、启动 Harness 与加载本地 URL 的方式、打包分发。仅覆盖桌面套壳本身;Harness 的安装 / 构建 / 排错由 deepseek-harness-windows-deploy 技能负责。

The skill document

DeepSeek Harness — 桌面套壳(Electron)

适用范围与边界(先读)

本技能只覆盖一件事:把已经在本地跑起来的 DeepSeek Harness Web UI,用 Electron 包装成一个桌面应用(exe / app)。

明确覆盖:

  • DeepSeek Harness 本身的安装 / 构建 / 启动 / 排错——这些由 deepseek-harness-windows-deploy 技能负责;本技能只消费它跑起来的 Web UI。
  • 与 Harness 无关的通用 Electron 教程或桌面应用开发。

高影响步骤(安装依赖、执行打包 / 分发命令、在用户目录下新建或修改工程文件)执行前需先向用户说明并确认。不得在本技能范围外自行搭建不相关的项目脚手架。

目的

DeepSeek Harness 自带一个 Web UI(默认 http://127.0.0.1:3080),但只在浏览器里跑。本技能给出用 Electron 把它包成独立桌面窗口的最小做法,让它像普通桌面软件一样打开即用,而不必每次先开浏览器再输地址。

前置依赖

  • Node.js + npm:能联网安装 npm 包即可(不需要 Visual Studio 编译工具,纯 webview 壳)。
  • 已运行的 Harness Web UI:先按 deepseek-harness-windows-deploydsh web 跑起来,并确认 http://127.0.0.1:3080 可访问。
  • 备选:也可以让壳在启动时顺便拉起 Harness 进程,但 Harness 的启动(含可能的 NODE_OPTIONS 处理)请交给部署技能,本技能只负责"加载本地 URL"。

核心思路

Electron 的主窗口直接 loadURL('http://127.0.0.1:3080'),不内嵌任何业务代码——Harness 的所有逻辑都在它自己的 Web 服务里。壳只是一个"指向本地地址的浏览器窗口"。这让桌面壳极薄、几乎不会随 Harness 升级而失效,也天然完整保留 Harness 的功能与插件体系(页面逻辑全在 Harness 侧)。

验证过的最小壳

完整的工程脚手架、主进程代码、插件/扩展保留策略、打包配置与分步任务提示词,见 references/desktop-shell-prompt.md。照着做即可得到一个能打开 http://127.0.0.1:3080 的最小桌面窗口。

安全注意

  • 主窗口只加载本地 http://127.0.0.1:3080,不要放开到任意远程地址。
  • 主进程关闭 nodeIntegration、开启 contextIsolation,避免网页内容拿到 Node 能力;preload 只暴露最小桥接 API(窗口控制、打开外部链接、读写壳自己的配置)。
  • 插件可能打开新窗口 / 弹窗:对 Harness 同源导航在壳内处理,对外部链接用系统浏览器打开,确保插件交互不丢失。
  • 打包分发前请用户确认产物去向(安装包路径、是否签名等)。

Related skills

Windows 上以源码方式(pnpm monorepo)部署、构建、启动、排错 DeepSeek Harness 的实战指南,聚焦 WorkBuddy / CodeBuddy 托管 Node 沙箱下的 safe-delete 钩子冲突、pnpm 路径损坏、工作区持久化、EPERM 符号链接、端口 3080 等已知坑与已验证命令。仅覆盖 Harness 自身的安装与排错;桌面套壳(Electron 包装 Web UI)由独立的 deepseek-harness-desktop-shell 技能负责。

1 installs

DeepSeek Harness(dsh)傻瓜式本地启动助手。一句话讲清 DSH 是什么,引导在 DeepSeek 开放平台获取 API Key,按本机系统(macOS/Windows/Linux)实时装好 Node、配置 npm 国内镜像、安装并启动 dsh,并就地生成桌面快捷方式(启动服务并打开 http://localhost:3080)。运行脚本由 Agent 按系统环境实时写出,不依赖任何随包文件。触发词:DSH、DeepSeek Harness、dsh、本地部署 DeepSeek、DeepSeek Agent 框架、傻瓜式启动。

Opens Brave browser and navigates to DeepSeek website. Use when user says 'open deepseek' or 'go to deepseek'.

1 stars

Huawei Cloud Flexus X Instance Deployment - DeepSeek Harness (dsh). ⚠️ Deployment involves actual charges, must confirm region/flavor/billing mode with user before execution. Triggers include: "部署DeepSeek Harness", "部署dsh", "部署DeepSeek智能体", "创建AI智能体服务器", "Deploy DeepSeek Harness", "Deploy dsh", "Create AI Agent Server", "Deploy AI Harness", "DeepSeek Harness", "dsh", "Flexus X", "ECS部署", "AI智能体".

Install and configure the native PaddleOCR plugin for DeepSeek Harness (DSH) from the Settings → PaddleOCR GUI. Use for OCR and image-to-text from screenshots, scans, and PDFs; Chinese/CJK text; PDF-to-Markdown; structured document parsing with tables, formulas, layout, and reading order; or DSH endpoint, credential, GUI setup, verification, and troubleshooting.

2 installs

DeepSeek's latest official web search tool, now built right into the server — powered by DeepSeek's own powerful reasoning engine. Crush your knowledge cutoff: ask about breaking news, live events, or anything happening right now, and DeepSeek's sharp understanding turns raw web results into a crisp, synthesized answer backed by real source URLs. No link dumps, no noise — just DeepSeek's intelligence doing the heavy lifting. Fresh, fast, and authoritative. Not for structured result lists.

2 stars