macOS 分享菜单接收端:把分享的文件、图片、文本和链接追加到 DeepSeek Harness 当前会话的草稿附件(需先安装 DSH Share App)。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-macos-share
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:bakkhos8/dsh-macos-share#path:/plugins/dsh-macos-share
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Receiving plugin for DSH Share, the macOS Share menu integration for DeepSeek Harness.
Select a thread in Harness, then share a file, image, text or link from another app on the same Mac. Files are appended to the current thread’s input area as attachments. Text and links become a 分享内容.txt attachment. Existing draft text and attachments stay in place. Review the draft, add instructions and click Send yourself.
No session is created and no agent is started by sharing. If no composer is available, the share waits. A transfer binds to the selected thread before reading files; after switching threads, return to the original thread to finish it.
Use the native DSHShare.app setup assistant or the repository’s source installation scripts. This plugin alone cannot add a macOS Share menu entry. Enable dsh-macos-share in Harness and update both the native app and receiving plugin together. The draft adapter targets the interfaces shipped with Harness 0.2.1-rc.5; an unavailable or busy composer retains the share instead of sending it.
The bundled native dsh-share-helper holds an exclusive OS inbox lock. There is no Python, interpreter or separately installed Node.js requirement. Stop other receivers before reloading the intended profile. Unexpected helper exit stops consumption safely.
The installer records the installed app’s helper path in a private .installation.json, supporting /Applications and ~/Applications. Source installations without metadata try those conventional locations. Invalid metadata fails closed. Rerun setup after moving the app. DSH_SHARE_HELPER selects an executable explicitly for isolated verification.
Each share supports at most 128 ordinary files and 256 MiB in total, including the generated text attachment. Manifest metadata is limited to 1 MiB. File bytes stream through authenticated local routes to browser File objects; Harness’s conversation service owns their draft and background upload. Harness may impose further attachment limits.
The local inbox is ~/Library/Application Support/DSHShare/inbox. Once the input area owns all attachments and confirms receipt, the receiver immediately removes the package, delivery state and temporary cleanup receipt. No completed-share or session history is retained. Harness manages the received draft and attachments. Closing or reloading Harness may discard an unsent draft, as with manually added attachments.
Pending, unconfirmed and failed content has no automatic expiry. Interrupted cleanup retries without delivering again. Legacy delivery states without draft mode are preserved in failed/ for review to avoid replaying a possibly submitted share. Do not publish inbox data. scripts/cleanup-inbox.sh previews only proven completed leftovers; manual deletion requires --apply while receivers are stopped.
Uninstall using 卸载 beside the install button or DSH Share → 卸载 DSH Share… after quitting Harness. Unfinished shares, unrelated settings, backups and development source directories are preserved. Received Harness content is untouched.
Code, documentation and the original avatar artwork are MIT licensed.
链接
同类插件
xmanrui/dsh-im★ 3118
通过二维码或机器人凭据将 IM 机器人接入 DeepSeek Harness(支持飞书、微信、钉钉、企业微信、QQ、Slack、Telegram、Discord 和 WhatsApp 共 9 种渠道)。
shaobeichen/dsh-pocket★ 2685
手机远程访问 DSH Web 界面:扫码即用局域网或公网(cloudflared 隧道)访问,实时同屏、移动端适配布局,带设置页管理。
OpenPetsHQ/openpets#dsh★ 1373
将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
c1overzz/dsh-bili-scroll★ 1150
让你的 DSH 自己刷 B站 —— 读字幕原文挑内容、写日报,遇到值得看的会发评论 @ 你。
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 599
通过 WebSocket V2 将 DeepSeek Harness 接入 Avernet Bot 协作网络,支持自动注册、Agent 会话隔离、工具调用事件和多 Bot 路由工具。
zaofan-make/dsh-qqbot★ 213
接入 QQ 官方机器人的 DeepSeek Harness 通道(tencent-connect/dsh-qqbot 功能增强 fork): 群/私聊与完整 agent 对话、表情包图库(自动打标+AI 斗图)、群管理(入群审批/禁言)、botplay 互动事件卡与翻页目录、用户扩展注册表(自定义斜杠命令与 QQ 工具)、定时唤醒、QQ 远程审批、悬浮球 dock Web UI。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。