DeepSeek Harness Code (DHSC) 0.1.0-BETA2
DeepSeek Harness Code(DHSC)v0.1.0-BETA2 — 正式发行版
Important
正式发行版 / Stable release:0.1.0-BETA2 是 DeepSeek Harness Code 的当前公开正式版本,在 0.1.0-BETA1 基础上升级至 @deepseek-ai/dsh@0.1.0-rc.8,并集成 8 个官方格式插件 + MCP/子代理组合 + 全局 Agent 协议。现作为面向用户的正式发行版本,欢迎通过 Issues 反馈。
DeepSeek Harness Code 是社区项目(缩写 DSC / DHSC),并非 DeepSeek 官方发行版,与 DeepSeek 不存在隶属或关联关系。
本版本涵盖的平台
| 平台 | 产物 | 状态 |
|---|---|---|
| macOS(macOS 12+,Intel 与 Apple Silicon) | Universal DMG | ✅ 本次发布(dist:mac --universal 验证) |
| Windows(Windows 10+,x64 与 arm64) | NSIS 安装包(Setup .exe) | ✅ 本次发布(native Windows runner) |
| Linux(x64 与 arm64) | AppImage / deb | ✅ CI-green(native Linux runner;随包发布) |
相对 BETA1 的主要变更
- 运行时升级:
@deepseek-ai/dsh从0.1.0-rc.6升级至0.1.0-rc.8(--expose-internals恢复原生 cascaded loader,裸包名保留)。 - 系统 Node 模型:移除便携 Node 下载;运行时完全依赖系统官方 Node.js(>=22.13,自动探测 nodejs.org/Homebrew/nvm/Volta/fnm/mise/Scoop/Chocolatey + NVM_DIR/VOLTA_HOME/FNM_DIR),未检测到可用 Node 时显示安装引导对话框。
- 集成插件从 6 → 8+:新增
dsh-ui-polish(界面焕新,4 分组独立开关)、dsh-updater-check(设置内更新检查)、dsh-prompt-principles(分层提示词注入)、dsh-vision-router@1.7.1(视觉链 + 11 像素工具,OVH 免费兜底)、dsh-better-sidebar@0.12.3(文件/浏览器/终端/Git/任务工作台 +ctx.betterSidebar服务)、dsh-superpowers(Coding 重型模式门控)、dsh-code-brand(品牌徽标)、app-composition(MCP everything + Context7,subagent codex/claude)。 - 路由套件不可变:
build/routing-suite/versions.json固定injector 0.3.3 (355238fa...)/mode-boost 0.1.0 (72836d64...)/router-preset 0.2.0 eff787e (a8f3616f...),构建期 SHA-256 校验,移除运行时更新器。 - 全局 Agent 协议:
config/global-agent-prompt/protocol.md随包安装至官方 Harness Home 的<DSH_HOME>/AGENTS.md(所有权安全,带时间戳备份的菜单切换)。 - 首次启动竞态修复:合并后残留的两套 Electron 生命周期注册曾让同一主进程启动两个 Watchdog,并让两个 pnpm 安装同时操作补丁目录,偶发
ENOENT unlink后由另一流程继续启动。BETA2 统一为唯一生命周期入口,并对启动序列加入 single-flight 防护。 - 打包校验增强:
scripts/check-runtime-closure.mjs校验 51 个运行时产物、35 个生产依赖、8 个关键版本、10 个内置插件包及 bare-name patches;scripts/verify-macos-artifact.mjs --universal校验挂载镜像签名、架构与插件根。
已集成的整体能力
- 官方 Harness 运行时(rc.8):仅回环监听,官方会话/配置/提问协议/持久化不变;
--expose-internals+ 官方 Home 解析。 - 桌面宿主(Electron 43.4.0):唯一生命周期入口与 single-flight 启动、启动就绪检查、串行化重启、健康探测(5 s 间隔,3 次失败触发恢复)、渲染器冻结 30 s 重建、独立 Watchdog(首次异常退出 5 s、第二次 10 s,5 分钟内第 3 次熔断)、托盘/菜单、关闭偏好、系统明暗外观(
startup.html单色启动)、快捷键与过渡动画(View Transitions + CSS 回退)。 - V4 Pro / V4 Flash:官方模型目录、1,000,000-token 上下文、
off/high/max推理强度控制;V4 工具面锚定由anchored-standard提供。 - Skills 系统:官方 Skills 运行时 + 内置 Superpowers 6.2.0 离线技能集 + Coding Mode(
subagent/workflow/ralph门控)+prompt-principles分层注入(Standard-like 生效,Minimal/锚定首轮跳过)。 - Agent 工作流:Standard 预设、Goal、Plan 模式、Todo、Jobs、Workflow、压缩、检查点与持久会话;
anchored-standard渐进式 +router-standard/router-spec托管预设。 - 工具集:文件系统读写、Bash/PowerShell、Web、用户提问、审批、子代理、视觉工具(11 项)、交付物;MCP 桥接(everything + Context7)。
- 诊断与安全:脱敏轮转日志(5 × 10 MB)、应用内日志查看、沙箱渲染器(
contextIsolation+sandbox)、校验 IPC、外部导航 allow/open 策略;凭据只留在官方 Harness 设置。 - 打包与运行:自包含应用(Chromium、Harness、插件、Watchdog 内置),运行于系统官方 Node.js;无
node_modules随包(asar: false)。
内置模式
| 模式 | 说明 |
|---|---|
| Standard | 官方默认标准模式,保持默认行为 |
| anchored-standard(渐进式锚定) | 首轮仅暴露 bash + str_replace_editor 锚定高质量推理轨迹,随后动态解锁 dev_tool_search/skill_search/skill_load + 显式解锁;失败时安全回落到 Standard |
| router-standard / router-spec | 社区路由套件管理的两个预设,双语名称/描述,随包离线快照(eff787e) |
| mode-boost 宿主层 | 内置路由套件的主机平面增强(injector 0.3.3 / mode-boost 0.1.0 / router preset 0.2.0,校验和固定快照) |
| Superpowers Coding Mode | auto/on/off 三态,启发式难度判定 + tools.guard 门控 subagent/workflow/ralph |
| 两级模型选择器 + UI 动效 | 原生两级模型选择(dsh-model2-selector@1.1.0)与界面动效(dsh-ui-motion@1.1.0 + dsh-ui-polish) |
内置插件与生态
- 已内置 8+ 集成插件:
deepseek-harness-desktop-plugin、dsh-ui-motion、dsh-model2-selector、dsh-ui-polish、dsh-updater-check、dsh-prompt-principles、dsh-vision-router、dsh-better-sidebar、dsh-superpowers、@dsh-external/dsh-super-injector@0.3.3、@dsh-external/dsh-mode-boost@0.1.0、dsh-find-plugin@0.3.6、app-composition。 - 视觉能力:
dsh-vision-router提供vision_describe/vision_ground/vision_detect/vision_crop/vision_pixel_diff/vision_ocr/vision_trace等 11 工具,内置 OVH 匿名链(Qwen 72B 等 5 模型,2 RPM/模型,理论 ~10 RPM)+ 用户模型优先 + 失败分类重试。 - 工作台扩展:
dsh-better-sidebar暴露ctx.betterSidebar.registerTab/registerFileViewer,第三方插件可注册侧边栏页面与文件预览器(docs/external-plugin-guide.md)。 - 插件发现:内置
dsh-find-plugin在会话内搜索 GitHubdsh-plugin主题生态(按 Star 排序,返回dsh plugin add命令)。
安装说明
-
macOS:本构建未签名(ad-hoc)。将
DeepSeek Harness Code.app复制到/Applications后:xattr -dr com.apple.quarantine "/Applications/DeepSeek Harness Code.app"请勿在系统范围内禁用 Gatekeeper;安装前请阅读完整的未签名安装指南。需系统 Node.js >=22.13(常见位置自动探测)。
-
Windows:运行
DeepSeek-Harness-Code-0.1.0-BETA2-windows-<arch>-setup.exe(可选安装目录)。 -
Linux:解压 AppImage 或安装 deb(
dist:linux --x64 --arm64产物)。
校验信息
- 构建:
pnpm dist:mac --universal(preflight:runtime先行:51 个运行时产物 + 35 个生产依赖 + 8 个关键版本 + 10 个内置插件包 + SHA-256) - 验证:
node scripts/verify-macos-artifact.mjs release/DeepSeek-Harness-Code-0.1.0-BETA2-mac-universal.dmg --universal— 挂载镜像签名、运行时、插件、Mach-O 架构全绿 - 测试:308 个单元测试通过(3 个按设计跳过)+ 108 个 Anchored + 24 个插件/真实 Harness + 39 个包契约 + 2 个 Playwright E2E;TypeScript、ESLint、Prettier、文档链接与安全契约均通过
- BETA1 校验(归档):
DeepSeek-Harness-Code-0.1.0-BETA1-mac-universal.dmg(221 MB) SHA-256b1afaa874d00f1254c8d5542c64bc80969a804ad44d3ce96284c0ad73fcf25ce— 见 BETA1 发布说明
已知限制
- 应用未签名/未公证(macOS),首次运行需要用户显式信任与清除隔离属性。
- 自动更新发布通道尚未落地:本次 GitHub Release 不发布
update-manifest.json或 macOS 更新 ZIP;dsh-updater-check仅提供设置内检查入口,不能从 BETA2 直接完成下一版替换安装。 - V4 Pro 锚定增益仍属实验性,需用户自有 Provider 凭据的配对实验验证(本项目不包含任何凭据)。
- 上游为 developer preview,兼容性可能随版本变化;已通过固定版本与窄适配器隔离。
反馈
欢迎通过 GitHub Issues 反馈问题与建议。发布说明同时收录于仓库 docs/releases/。
DeepSeek Harness Code (DHSC) v0.1.0-BETA2 — Stable Release
Important
Stable release: 0.1.0-BETA2 advances BETA1 to @deepseek-ai/dsh@0.1.0-rc.8 with 8+ integrated plugins, MCP/subagent composition, and the Global Agent Prompt. Published as the current user-facing release; issues welcome via Issues. Community project, not affiliated with DeepSeek.
Platforms
| Platform | Artifact | Status |
|---|---|---|
| macOS (macOS 12+, Intel & Apple Silicon) | Universal DMG | ✅ Verified (dist:mac --universal) |
| Windows (Windows 10+, x64 & arm64) | NSIS Setup .exe | ✅ Verified (native Windows runner) |
| Linux (x64 & arm64) | AppImage / deb | ✅ CI-green (native Linux runner) |
Integrated capabilities
- Official Harness rc.8 loopback service, Standard +
anchored-standard+router-standard/router-spec+ Coding Mode - Electron 43 host with a single lifecycle authority and single-flight startup, health probes (5 s, 3 failures → recovery), renderer freeze recovery (30 s), and Watchdog recovery (5 s/10 s, circuit on 3rd abnormal exit in 5 min)
- 8+ plugins (desktop, ui-motion 1.1.0, model2 1.1.0, ui-polish, updater-check 1.0.0, prompt-principles, vision-router 1.7.1, better-sidebar 0.12.3) + composition + superpowers
- Immutable routing snapshot (injector 0.3.3 / mode-boost 0.1.0 / router-preset eff787e, SHA-256 pinned), Superpowers 6.2.0, Global Prompt
- Vision chain (11 pixel tools, free OVH fallback) + sidebar workbench with plugin service API
Reliability and verification
- Fixed a first-launch race where duplicate lifecycle registration could start two Watchdogs and two pnpm installs against the same runtime patch directory, producing a transient
ENOENT unlinkerror before the competing install completed. - Verified 51 runtime artifacts, 35 production dependencies, 8 critical runtime versions, and 10 bundled plugin packages.
- Passed 308 unit tests (3 intentionally skipped), 108 Anchored tests, 24 plugin/real-Harness tests, 39 package-contract tests, and 2 Playwright E2E tests, plus TypeScript, ESLint, Prettier, documentation-link, and security checks.
Install notes
- macOS unsigned (ad-hoc):
xattr -dr com.apple.quarantine "/Applications/DeepSeek Harness Code.app"— do not disable Gatekeeper globally — requires system Node >=22.13 - Windows:
DeepSeek-Harness-Code-0.1.0-BETA2-windows-<arch>-setup.exe - Linux: AppImage / deb from
dist:linux
Known limitations
- Unsigned / not notarized; the auto-update release channel is not shipped (
update-manifest.jsonand the macOS update ZIP are absent, so the settings check cannot replace BETA2 with the next version); V4 anchoring remains experimental; upstream is a developer preview.