DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Deepseek Harness Channel Imessage — DeepSeek Harness 插件(DSH…
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@anarkhgatsby/deepseek-harness-channel-imessage

Deepseek Harness Channel Imessage

DeepSeek Harness 的频道插件:通过 Messages.app 和 chat.db 实现仅限本地的 iMessage 传输。基于 @anarkhgatsby/deepseek-harness-core 的轻量封装。

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

npx -y @deepseek-ai/dsh plugin --profile web add @anarkhgatsby/deepseek-harness-channel-imessage@0.1.11
README兼容性版本

兼容性与来源证明

Deepseek Harness Channel Imessage 以 @anarkhgatsby/deepseek-harness-channel-imessage 发布,当前版本为 0.1.11。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/10/16

版本

0.1.11stable
2026/10/6
0.1.10stable
2026/9/26
0.1.9stable
2026/9/26
查看其余 8 个版本收起版本
0.1.8stable
2026/9/21
0.1.7stable
2026/9/14
0.1.6stable
2026/9/10
0.1.5stable
2026/9/8
0.1.4stable
2026/9/7
0.1.3stable
2026/9/3
0.1.2stable
2026/9/3
0.1.1stable
2026/8/31

相关插件

正在加载相关插件…

最新版
0.1.11
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
31.9 kB
文件数
9
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
91
最近提交
2026/9/27
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Im@xmanrui/dsh-im将微信、飞书、企微、钉钉、QQ、Telegram、WhatsApp、Slack、Discord 和 Matrix 接入 DSH。Workbuddy Connectdsh-workbuddy-connect将 WorkBuddy 桌面 App 中包含的模型自动接入 DeepSeek Harness,无需配置。Ds Botds-botDS Bot:DeepSeek Harness 的一组长期运行的 Bot,支持主 Bot、Bot 间消息和群聊Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:24 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel 无需密钥;通过 MCP 使用 Zhihu 全局/站内搜索,以及 Perplexity/SerpBase/DeepSeek/You.com/Baidu/Kimi/Aliyun/Doubao,需密钥;OpenAI/Gemini/Claude

README

@anarkhgatsby/deepseek-harness-channel-imessage

简体中文 | NPM | Repository

Native local iMessage channel plugin for DeepSeek Harness. It uses macOS Messages.app and the local chat.db database, without the imsg CLI, Photon, or any cloud relay.

⚠️ Unofficial project — independently developed and maintained by the open-source community. It is not an official DeepSeek or Apple product.

What's new in 0.1.5

  • iMessage replies are normalized to readable plain text before they are sent through Messages.app.
  • Common Markdown markers such as **bold**, *italic*, backticks, and strikethrough no longer appear in the conversation.
  • Lists, headings, links, and fenced code blocks receive channel-appropriate plain-text formatting.

Platform and installation

This plugin is macOS-only. Windows desktop bundles intentionally exclude iMessage because Windows has no Messages.app or AppleScript transport.

dsh plugin add @anarkhgatsby/deepseek-harness-channel-imessage
dsh plugin add @anarkhgatsby/deepseek-harness-channel-config

The configuration package is optional. The shared @anarkhgatsby/deepseek-harness-core package is resolved as a dependency.

Privacy and security

  • Message data stays on the local Mac and is not sent through a third-party relay.
  • Incoming messages are read from ~/Library/Messages/chat.db in read-only mode.
  • Outgoing messages are sent through macOS /usr/bin/osascript controlling Messages.app.
  • No additional CLI or cloud API key is required.
  • DeepSeek Harness needs Full Disk Access and Automation permission to control Messages.app.

架构

Harness Agent
     │
     ▼
Cordis 通道插件(host: index.js)
     │
     ▼
GatewayCore(来自 @anarkhgatsby/deepseek-harness-core)
     │  统一消息总线:路由 / 去重 / 投递 / 流式回复
     ▼
LocalAdapter
     ├── chat.db:读取入站消息
     └── Messages.app:发送出站消息

Configuration

The plugin keeps local as a compatibility marker; it is currently the only supported mode. The configuration page exposes:

  • chatDb: Messages database path, defaulting to ~/Library/Messages/chat.db
  • defaultWorkspace: default workspace path
  • autoReply, streamReplies, and toolCallReplies
  • allowlist and routes for sender access and workspace routing

The imessage settings namespace can also be configured in YAML. Prefer an absolute path when overriding chatDb:

imessage:
  mode: "local"
  chatDb: "/Users/you/Library/Messages/chat.db"
  defaultWorkspace: "/Users/you/dsh/default"
  autoReply: true
  streamReplies: true
  toolCallReplies: true
  allowlist: []
  routes: {}

Defaults can be overridden during local development with IMSG_CHAT_DB and IMSG_DEFAULT_WORKSPACE. Incoming messages are routed by sender to the selected workspace and then delivered to the Harness Agent.

Outbound message formatting

Messages.app sends plain text, so the adapter applies a small readability pass before delivering an iMessage reply:

  • Markdown emphasis, strikethrough, and inline-code markers are removed;
  • headings become plain-text headings;
  • unordered lists use • bullets;
  • Markdown links keep both their label and URL;
  • fenced code blocks are rendered under a 代码: label with indentation preserved.

This conversion is limited to iMessage outbound messages. Web, Feishu, DingTalk, and other rich-text-capable channels keep their existing rendering behavior.

Approvals and agent questions

For an Agent session created from iMessage, sandbox or tool permission requests are sent to the same Messages conversation:

  • Reply 1 to approve once.
  • Reply 2 or any other non-approval text to reject.
  • For userQuestions, reply with the displayed option number; separate multiple selections with commas.

Requests from desktop GUI sessions continue to use the native Harness GUI dialog. Approval and question prompts time out if no answer is received within the runtime window.

Code structure

  • index.js — registers the imessage settings namespace, local gateway, and message_imessage tool.
  • client.js — exports client metadata for the local mode.
  • lib/config.mjs — local-mode schema and settings normalization.
  • lib/adapters/local.mjs — chat.db polling and Messages.app AppleScript delivery.
  • cordis.patch.yml — Cordis bundle patch entry.

Troubleshooting

SymptomCheck
chat.db cannot be openedGrant Full Disk Access to DeepSeek Harness (or Terminal / iTerm2 when running from a shell).
Messages are received but replies failGrant Automation permission for DeepSeek Harness to control Messages.app.
No conversations appearConfirm the database path, the signed-in Messages account, and that the runtime is running on macOS.
Approval appears as a GUI popupThe session-to-sender mapping was not recognized; inspect the Core and iMessage runtime logs.
Duplicate repliesEnsure only one iMessage runtime instance is watching the same chat.db.

Development

node --check index.js
node --check client.js
node --check lib/config.mjs
node --check lib/adapters/local.mjs

Compatibility

0.1.9 is validated with DeepSeek Harness 0.1.5-rc.1, 0.1.5-rc.2, 0.1.6-alpha.2, and 0.1.7-rc.2, @deepseek-ai/cordis@^4.0.4, and matching protocol and tools peers. It uses @anarkhgatsby/deepseek-harness-core@0.1.8 and is macOS-only.

License

MIT License