Introduction¶
DeepSeek Harness (DSH) is a host-level plugin system. During agent development, developers often need to handle approval requests on remote devices or obtain development suggestions. dsh-relay is a host-level plugin that pushes DSH-internal requests requiring authorization or development guidance to configurable channels such as iMessage, Email, or WeChat by numbered ID, allowing users to directly approve, reject, or answer questions within the channel.
Core Capabilities¶
The plugin mainly handles remote interactions for the following types of requests:
1. Approval requests: including tool name, reason, and session information.
2. Question requests: providing a list of options and supporting multiple selections.
3. Session turn end notifications: automatically sends notifications; content is automatically sanitized.
4. Multi-channel support: supports iMessage / Email / WeChat channels.
5. Natural language replies: supports natural language replies.
6. Command support: supports command-line and web commands.
7. Cross-session sharing: the plugin is installed at the profile layer and is shared across all conversations.
Installation and Enablement¶
Use the official installation command:
dsh plugin --profile web add https://github.com/<owner>/dsh-relay
Configuration and Usage¶
The configuration file must be written to the local profile file and must never be committed to git. Before use, note the following:
* iMessage channel: supported only on macOS; full disk access permission is required.
* Email channel: actual IMAP/SMTP credentials are required.
* WeChat channel: disabled by default.
* Security configuration: a whitelist must be configured.
Typical usage is as follows:
* View pending tasks: node cli.js or /relay
* Approve/Reject: #N 批准 or #N 拒绝
* Answer question: #N <选项>
* Toggle control: 开启 or 关闭
Notes¶
- The iMessage channel is supported only on macOS; full disk access permission is required.
- The Email channel requires actual IMAP/SMTP credentials.
- The WeChat channel is disabled by default.
- Configuration must be written to the local profile file and must never be committed to git.
- A whitelist must be configured.
Summary¶
dsh-relay enables remote handling and control of DSH-internal requests through external channels. It is suitable for developers who need to approve agent operations on mobile or remote devices.