DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-mac-tools

Mac Tools

DeepSeek Harness 插件:本地 macOS 工具面板——QQ 风格的截图捕获(支持裁剪和标注)、计算器、手机传输(用于文本/文件/图片的二维码局域网页面)、剪贴板,以及运行状态 / Status 仪表板(CPU、内存、磁盘、网络、电池、系统信息、SMC 温度和风扇、进程排行、阈值提醒)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:ddxl123/dsh-mac-tools#3db05281d2ecf67406dd4d6e050e7243e90e9d28
README兼容性版本

说明

DeepSeek Harness 插件:本地 macOS 工具面板——QQ 风格的截图捕获(支持裁剪和标注)、计算器、手机传输(用于文本/文件/图片的二维码局域网页面)、剪贴板,以及运行状态 / Status 仪表板(CPU、内存、磁盘、网络、电池、系统信息、SMC 温度和风扇、进程排行、阈值提醒),并提供类似 Macs Fan Control 的风扇转速控制

兼容性与来源证明

Mac Tools 以 dsh-mac-tools 发布,当前版本为 0.3.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/23

版本

0.3.2stable
2026/10/23
0.2.2stable
2026/10/23
0.1.0stable
2026/10/21

相关插件

正在加载相关插件…

最新版
0.3.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/23
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。Remotedsh-remoteDeepSeek Harness 的远程工作助手:连接 SSH(密码/密钥/代理/键盘交互、多跳 ProxyJump),从 ~/.ssh/config 列出主机,选择远程工作区,使用 21 个 rw_* 工具对其进行操作,支持感知冲突的镜像同步、内嵌 PTY t

README

Mac Tools for DeepSeek Harness

English | 中文

A local macOS toolbox in one DeepSeek Harness plugin:

  • Screenshot (QQ-style) — capture any application with the native macOS region/window picker, then crop and annotate in a real editor: arrows, rectangles, ellipses, freehand pen, text, mosaic and highlighter, with undo, redo, copy to the clipboard and save to disk.
  • Calculator — a full calculator panel plus an exact expression engine that the agent can call.
  • Phone transfer — scan a QR code with a phone on the same Wi-Fi and send text, files and photos to the Mac (or pull screenshots and files back), all through the phone's browser. No app install, nothing leaves the local network.
  • Clipboard — read and write the macOS text clipboard from the panel or the agent.
  • Status (运行状态) — a real-time dashboard in the spirit of the App Store app State: CPU/memory/disk/network/battery charts, system information, SMC temperatures and fans, a process ranking and threshold alerts — plus fan-speed control in the spirit of Macs Fan Control (auto / manual RPM / temperature curve / presets) through a one-time-authorized root helper. (The former separate System tab is merged into this tab.)

Everything runs on the local machine. The plugin is panel-only: it adds the Mac Tools entry in the left rail and registers no model-facing tools.

Install

The plugin is a normal DSH bundle. From a checkout of this directory:

plugin_manager install_bundle  target: /absolute/path/to/dsh-mac-tools

or with the CLI:

dsh plugin --profile desktop add /absolute/path/to/dsh-mac-tools

A local directory install links the checkout. Reload the Web page after installation; the Mac Tools entry appears in the left rail. If the Host half was already running when you installed, a restart of DeepSeek Harness is the reliable way to get both halves on the same version. In Creator mode (HMR enabled) no restart is needed: toggling the mac-tools row off and on in the Plugins page recomposes the profile and reloads the linked Host files in place.

Permissions

Screen capture needs System Settings → Privacy & Security → Screen Recording → DeepSeek Harness. Without it macOS silently returns a picture of the wallpaper (or refuses window captures); the panel then reports the permission failure code with the path to grant it.

No Accessibility permission is required: region/window selection is macOS's own native selection UI, and only the clipboard/pasteboard is touched otherwise.

The panel

Open it from the left rail, or press ⌥⌘M. ⇧⌘A starts an interactive capture and opens the panel with the editor ready.

⌃⌥A (configurable) is a system-wide screenshot shortcut: it works while any other application has focus. It opens macOS's native region/window selector, then pins the result to the screen, in the same place it was captured, as an always-on-top floating window, copies it to the clipboard, saves it to the screenshot directory and plays the Glass sound. (Set pinAfterGlobalCapture: false to skip the pinned window.) It needs no extra permission; its small native helper is compiled once with the Xcode Command Line Tools (already present on developer Macs).

The shortcut can be customized right in the panel: under the capture buttons, press 修改 / Change, then press the new combination (Control/Option/Command plus one key; Esc cancels). The choice is stored in the profile's plugin state (<profile home>/dsh-mac-tools/hotkey.json), survives restarts, and 恢复默认 / Reset to default returns to the configured globalHotkey. The in-panel quick-capture shortcut (⇧⌘A by default) is a normal Harness shortcut and can be rebound under Settings → Shortcuts.

Screenshot tab

  • 区域 / 窗口截图 — the native picker appears, the screen dims, drag a region; press Space to switch to clicking a window, Esc to cancel.
  • 全屏截图, 窗口截图 (click a window), 3 秒后全屏 (timed capture), and 选择应用窗口 (a searchable list of every visible app window, with the frontmost one marked — click one to capture it).
  • Screenshot history: every capture — from the panel or the global shortcut — is saved durably and listed under the editor, with thumbnails. Click one to re-open it in the editor, or pin / copy / delete it directly.
  • Pinned windows can be annotated right there: double-click a pinned screenshot (or press A, or right-click → 标注) to show a small toolbar on the pin itself — pen, arrow, rectangle, ellipse, highlighter, colour, width, undo, clear and done. Copy/save from that menu includes the annotations. To use the full panel editor instead, right-click → Edit in panel….
  • 「截图时隐藏 DSH」 (on by default): while a screen capture runs the Harness window is hidden and then restored, so it does not cover the target. The toggle sits next to the capture buttons and can be turned off. The same preference drives the global shortcut capture, which has no page to ask — the Host remembers it for the session.
  • The editor supports crop, arrow, rectangle, ellipse, pen, text, mosaic and highlighter, with six colors, three stroke widths, undo/redo/reset, copy (PNG to clipboard), save (to the save directory, with reveal-in-Finder) and pin (贴图): place the edited image as an always-on-top floating window exactly over the screen area the capture came from (where you selected it). It can then be dragged, zoomed with the scroll wheel, copied, saved, faded (opacity menu) and closed — right-click it for the menu, Esc closes it, ⌘C copies it.
  • Shortcuts inside the editor: ⌘Z undo, ⇧⌘Z redo, Enter apply crop, Esc cancel crop then close the screenshot.

Calculator tab

A display plus keypad with history. Evaluation uses the Host's engine, so the same expression gives the same result in the panel and through the tool. Supports + - * / % ^, parentheses, unary signs, implicit multiplication (2(3+4)), percent (50%), constants pi/e/tau, and the functions sqrt, cbrt, abs, round, floor, ceil, trunc, sign, exp, ln, log, log2, sin, cos, tan, asin, acos, atan, atan2, pow, hypot, min, max, mod. Trigonometry is in degrees by default.

Phone tab

A LAN-only bridge between the Mac and a phone browser. Press 开启手机互传; the Host starts a temporary HTTP listener, shows a QR code (and the URL), and counts down the session. Scan the code with the phone's system camera (or type the URL) and the phone opens a small web page — no app, no account, no cloud.

  • Phone → Mac: send text (lands in the panel inbox, with one-click copy to the macOS clipboard and optional auto-copy), pick files/photos, or take a photo with the camera and upload it. Uploads show progress and are saved to the transfer directory (~/Downloads/DSH 手机互传 by default), so the agent can read and process them like any other file.
  • Mac → Phone: type text, choose any file with the native picker, or tap 发送到手机 on a recent screenshot; the phone page lists them for preview, copy or download. Screenshots are served straight from the history.
  • Security: one random token per session, 30-minute expiry, the listener only exists while the session is open, and the server rejects foreign Host headers and malformed file names. Nothing is exposed to the internet. Downloads are sent as attachment + application/octet-stream (never as renderable pages), so Android/iOS browsers and their download managers save them natively instead of opening them in a tab.
  • Notes: the Mac and the phone must be on the same Wi-Fi network (guest networks with AP isolation will not work), the first start may ask macOS to allow incoming connections for DeepSeek Harness, and a phone VPN can block LAN access. macOS may also ask for Local Network permission on recent releases. The Mac should stay awake during a transfer.
  • Troubleshooting: if a phone upload stays at 0% or a download does nothing, reopen the page once and retry; the phone page now reports browser errors to <plugin state>/transfer/diagnostics.log (next to the plugin's other state, under ~/.dsh/dsh-mac-tools/transfer/), together with every upload start/finish and download request, so the failing step is visible without remote debugging.

Configuration

The bundle row accepts these keys in cordis.patch.yml (or a later patch layer); every key has a default.

KeyDefaultMeaning
saveDirectory~/Pictures/DSH Mac ToolsWhere captures are saved, with ~ expanded. The panel's save action and the tool both write here.
maxShots20How many captures stay temporarily available in the panel before the oldest is pruned. Saved files are never pruned.
interactiveTimeoutMs180000How long the native selection may wait for the operator.
hideAppDuringCapturetrueHide the DeepSeek Harness window for a moment while a screen capture runs (only when it is frontmost) and restore it afterwards. The panel has a per-capture toggle.
globalHotkeyctrl+alt+aDefault system-wide screenshot shortcut, usable while any app has focus. The panel can override it at runtime (stored in the plugin state file); leave empty to start with no global shortcut.
globalHotkeySoundtruePlay the Glass sound after a global-hotkey capture.
pinAfterGlobalCapturetruePin a global-hotkey capture to the screen (the panel editor always has an explicit pin button).
historyLimit60How many screenshots the panel history keeps; older captures are deleted.
transferPort8791Preferred port for the temporary phone-transfer listener; the next 9 ports are tried when it is taken.
transferDirectory~/Downloads/DSH 手机互传Where files sent by the phone are saved, with ~ expanded.
transferSessionMinutes30How long one phone-transfer session stays open before the QR code expires.
transferMaxFileMB512Largest single file a phone may upload, in megabytes.
transferAutoCopyTextfalseCopy text received from the phone to the macOS clipboard automatically.
- id: mac-tools
  config:
    saveDirectory: ~/Desktop/Screenshots
    maxShots: 30

How it is built

  • Native helpers (assets/): hotkey.swift listens for the system-wide shortcut, pin.swift shows a pinned screenshot as a floating AppKit window, and qrcode.swift renders the phone-transfer QR code with CoreImage. All are compiled once with swiftc and cached in the temporary directory. smc-core.swift is the shared, read-only IOKit AppleSMC transport; state.swift is the long-running sampler that prints one JSON line per sample (fans + every readable temperature key); fan-daemon.swift is the privileged helper installed by the fan card — a Unix-socket JSON endpoint that writes F0Md/F0Tg only, clamped to the SMC limits, with a 12 s watchdog that restores automatic control.
  • Host half (src/): registers the authenticated /api/dsh-mac-tools route on Connection's /api channel, owns the temporary capture registry, runs /usr/sbin/screencapture for capture and /usr/bin/osascript for the window list, the image clipboard and the file picker. The Status tab is one sampling loop (src/monitor.js) over src/metrics.js (CPU/memory/disk/ network/battery), src/smc.js (the sampler child), src/alerts.js (thresholds) and src/fans.js (the fan controller and its socket protocol). The phone-transfer listener (src/transfer.js) is a separate, on-demand node:http server bound to the LAN only while a session is active; it serves the phone page and the upload/download API, and keeps its inbox/outbox index in the plugin state directory. No agent tools are registered.
  • Client half (client/index.js): one plain-React bundle loaded by window.__ModuleLoader__. It registers the rail entry and the main panel, renders the four tabs, and talks to the Host only through the route above.
  • The capture engine is a thin wrapper over the system utility a person already granted Screen Recording to; region/window selection, cancellation and window picking are native macOS behavior, not reimplemented.
POST /api/dsh-mac-tools   { "endpoint": "...", "payload": { ... } }
GET  /api/dsh-mac-tools?shot=<id>    → image/png (temporary capture)
GET  /api/dsh-mac-tools?history=<id> → image/png (durable history capture)
GET  /api/dsh-mac-tools?inbox=<id>   → bytes of a file the phone sent

The ?inbox= preview keeps only inert raster images (png, jpeg, gif, webp, avif, bmp) inline; every other received file is answered as an application/octet-stream attachment, so a phone-supplied HTML or SVG file can never execute in the Web UI's origin.

Endpoints: status, windows, capture, cancelCapture, copy, save, calc, clipboard, system, reveal, the phone-transfer group transferStatus, transferStart, transferStop, transferInbox, transferOutbox, the status-monitor group monitor, monitorProcesses, monitorKill, monitorAlertSave, monitorAlertTest, and the fan group fanInstall, fanUninstall, fanApply, fanPreset. Answers are { ok: true, value } or { ok: false, error: { code, message, details } }.

The phone talks to its own temporary server under http://<mac-lan-ip>:<port>/t/<token>/ (page, api/state, api/text, api/upload, api/items/<id>); that listener is not the Harness API and carries no Harness session.

Development

npm run check     # node --check every module + node --test test/

The host half is dependency-free apart from the @deepseek-ai/schemastery config schema that ships with dsh. The client half requires only react.

License

MIT

monitorSampleMs1000Host-side sampling cadence for the Status tab, in milliseconds (500–10000). Software metrics are collected at most every 2 s; the panel polls on top of this.
alertCpuPercent90First-run CPU alert threshold in percent. The panel edits it at runtime and the persisted choice wins over this default.
alertTemperatureCelsius95First-run temperature alert threshold in °C, taken from the SMC sensor groups.
alertMemoryPercent90First-run memory alert threshold in percent.
alertCooldownSeconds300Minimum time between two alerts of the same metric, in seconds.
alertNotifytrueShow a macOS notification when an alert fires.