DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-plugin-wechat-drop

d

dsh-plugin-wechat-drop

Manifest valid

Drag macOS WeChat merged chat record ZIPs and other AppKit NSFilePromise files directly onto the composer as standard attachments.

UI (client)hasBundlePatch

微信聊天记录拖放(dsh-plugin-wechat-drop)

中文 | English

让 macOS 正式版 DeepSeek Harness 直接接收从微信拖出来的合并聊天记录(.zip),松手即落为输入框里的单张标准附件卡——无需修改客户端,也无需使用开发版。

同时也兼容 Apple 邮件、照片、企微等其他使用 macOS AppKit 延迟交付(NSFilePromiseProvider)的桌面应用。

为什么需要这个插件?

macOS 微信拖出合并聊天记录时,系统剪贴板放的不是现成的本地文件路径,而是 AppKit 的延迟交付承诺(NSFilePromiseProvider)——必须由目标窗口通过 NSFilePromiseReceiver 通知微信把 .zip 写到磁盘。Electron / Chromium 默认渲染区不处理这类承诺,导致直接拖进输入框没有反应。

工作原理

  • 平时完全隐形:插件在 Host 侧托管一个极轻量 macOS 原生辅助进程(native/dsh-wechat-drop-helper,Universal Binary 支持 Apple Silicon & Intel,.accessory 无 Dock 图标),正常打字、点击和普通 Finder 文件拖放时完全隐藏、零干扰。
  • 按需浮现落点:仅当检测到系统拖放剪贴板出现 NSFilePromiseReceiver(且无现成 public.file-url)并且 DeepSeek Harness 输入框在屏幕上可见时,才在输入框正上方浮现半透明虚线落点。
  • 安全单次交付:松手后由 AppKit 触发微信落盘真实文件(按 draggingSequenceNumber 去重防双卡,上限 50 MiB,ZIP 文件校验魔数头),经本机同源一次性接口交回输入框原生拖放流程生成附件卡,随后立即清理临时文件。

安装

在 DeepSeek Harness 侧边栏打开 插件 → 添加插件:

  • 从 GitHub 直接安装:输入 github:jinqianxi/dsh-plugin-wechat-drop 或 https://github.com/jinqianxi/dsh-plugin-wechat-drop。
  • 从 npm / 插件市场安装(发布后):输入 dsh-plugin-wechat-drop。
  • 本地开发安装:输入 link:/绝对路径/dsh-plugin-wechat-drop。

从源码构建双架构二进制(macOS)

仓库已包含可独立重新构建 Apple Silicon + Intel 双架构 Universal Binary 的脚本(需要 Xcode Command Line Tools):

pnpm run build:native
pnpm run verify:binary

卸载与回滚

在 DeepSeek Harness 插件 页面关闭或卸载 微信聊天记录拖放,后台原生辅助进程会随插件生命周期立即退出,不留任何残留。

致谢

本插件的交互思路源自 Alma 作者 yetone 在 Alma 中的原生拖放设计,这里按该设计方式移植适配到 DeepSeek Harness。特别感谢 yetone 大佬!

开源协议

MIT

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 36.7k

↓ 103/wk

MIT

TypeScript

Nov 24, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 10.6k

↓ 105/wk

Apache-2.0

TypeScript

Nov 24, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 10.4k

↓ 105/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by PC2005-cloud

DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物

UI & ExperienceManifest valid

★ 6.7k

↓ 68.7k/wk

MIT

TypeScript

Nov 17, 2026

dsh plugin --profile web add dsh-pet

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 5.5k

↓ 115.8k/wk

Apache-2.0

TypeScript

Nov 24, 2026

dsh plugin --profile web add dsh-context

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 5.3k

↓ 79.5k/wk

MIT

TypeScript

Nov 21, 2026

dsh plugin --profile web add dsh-better-sidebar