DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

chenaptx /

chenaptx/deepseek-harness-mac

仅 Topic 仓库

Tiny macOS shell for DeepSeek Harness — 132KB Swift+WKWebView, zero Electron

★ 2 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@ff66e10c

DeepSeek Harness Mac

132KB native macOS shell for DeepSeek Harness. Swift + WKWebView. No Electron.

Also works as a cordis plugin — install via dsh plugin add and the native shell launches automatically when DSH starts.

Install

As a DSH plugin (auto-launches with dsh web):

dsh plugin add chenaptx/deepseek-harness-mac

As a standalone app (double-click to launch):

curl -fsSL https://raw.githubusercontent.com/chenaptx/deepseek-harness-mac/main/install.sh | bash

Or download v0.1.2 zip (30KB), unzip, double-click.

Requires Node.js ≥ 22.

Features

  • 1000× smaller than Electron alternatives (132KB vs 142MB+)
  • Dual mode — standalone app + cordis plugin in one repo
  • Reuses local dsh — connects to existing :3080 server, or spawns one automatically
  • Quit dialog — keep or kill server when closing
  • ⌘C/⌘V fixed — WKWebView clipboard quirks patched via native menu + JS injection
  • Full-width layout — overrides the upstream 748px fixed-width CSS so chat fills the window
  • Fallback — menu bar → Open in Browser (⌘O) if WKWebView misbehaves

Architecture

Mode 1: dsh plugin add → DSH loads lib/index.js → spawns bin/dsh-desktop → native window

Mode 2: double-click DeepSeek Harness.app → spawns DSH server → WKWebView → native window

Both modes use the same Swift binary (132KB, arm64).

Changelog

  • v0.1.2 — Full-width fix + cordis plugin bridge (dsh plugin add support)
  • v0.1.1 — Fix ⌘C copy: wire up native Edit menu via setupMenu()
  • v0.1.0 — Initial release

Build

xcrun swiftc -O dsh-desktop.swift -o dsh-desktop \
  -framework Cocoa -framework WebKit

See also

  • DeepSeek Harness (official, MIT)
  • Electron alternatives: RZX00/deepseek-harness-desktop, anywhere-labs/deepseek-harness-desktop
—/ 5

暂无评分

需要先验证清单

Commit ff66e10ce672

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于