dsh-qq-agent-mail
Manifest validTencent QQ Agent Mail integration for DeepSeek Harness with a Service, event stream, Web settings, OAuth, and 14 structured tools.
dsh-qq-agent-mail
English | 简体中文
A native DeepSeek Harness plugin for Tencent QQ Agent Mail, powered by the official
@tencent-qqmail/agently-cli package.
This package exposes mail as native Harness capabilities:
- a reusable
ctx.mailCordis service; - a
mail/message-receivedevent for mail-driven automation; - 14
qq_agent_mail_*tools with stable structured output schemas; - a model-free Web settings page for basic preferences and OAuth.
Features
- Authenticate, inspect the current account, list, search, and read messages.
- Send, reply, forward, move to trash, and permanently delete with two-stage confirmation.
- Download regular attachments and return large-attachment URLs without rewriting them.
- Stream new mail through bounded tool calls or a persistent Cordis event source.
- Normalize CLI response variants into stable public objects for Code Mode composition.
- Resolve the packaged native CLI, its JavaScript wrapper,
PATH, or a custom executable. - Clean up watcher processes during unload and hot reload.
Dependency
- @tencent-qqmail/agently-cli — installed as this package's runtime dependency; no global CLI installation is required. OAuth credentials remain under agently-cli control and are never stored by this plugin.
Install
- Install from GitHub:
dsh plugin --profile web add github:AtomerCore/dsh-qq-agent-mail#v1.0.1
dsh web
- Build and install manually:
npm ci
npm pack
dsh plugin --profile web add .\dsh-qq-agent-mail-1.0.1.tgz
dsh web
Quick start
- Open Settings → QQ Agent Mail.
- Set the CLI working directory, default mail folder, and default list size.
- Select Start OAuth login, finish authorization in the browser, then refresh the authorization status.
Tools
| Category | Tools |
|---|---|
| Authentication | qq_agent_mail_login, qq_agent_mail_logout, qq_agent_mail_auth_status, qq_agent_mail_whoami |
| Reading | qq_agent_mail_list, qq_agent_mail_read, qq_agent_mail_search, qq_agent_mail_watch |
| Writing | qq_agent_mail_send, qq_agent_mail_reply, qq_agent_mail_forward, qq_agent_mail_trash, qq_agent_mail_delete |
| Attachments | qq_agent_mail_download_attachment |
send, reply, forward, trash, and delete require two-stage confirmation unless a trusted
Native APIs
Other Cordis plugins can inject mail and call the same implementation used by the tools:
export const inject = ['mail']
export function apply(ctx) {
ctx.on('mail/message-received', (message) => {
// Treat every message field as untrusted external data.
console.log(message.id, message.subject)
})
}
Enable autoWatch to maintain the persistent watcher that emits
mail/message-received. The on-demand qq_agent_mail_watch tool remains bounded by watchTimeoutMs.
Configuration
Every option is declared by the exported Config schema. Basic preferences are editable on the Web
settings page; advanced deployment options belong in the profile patch.
| Option | Default | Description |
|---|---|---|
cliPath | agently-cli | Packaged CLI by default; also accepts a command name or absolute path. |
cwd | empty | CLI working directory and base for relative attachment paths. |
defaultDir | inbox | Default folder: inbox, sent, trash, or spam. |
defaultLimit | 10 | Default number of messages returned by list operations. |
loginTimeoutMs | 30000 | Time allowed to capture the OAuth URL. |
loginHardCapMs | 300000 | Maximum login-process lifetime after URL capture; 0 disables the cap. |
watchTimeoutMs | 60000 | Maximum duration of one qq_agent_mail_watch call. |
autoWatch | false | Start a persistent watcher and emit mail events. |
autoConfirm | false | Skip write confirmation; use only in a trusted automation environment. |
extraArgs | empty | Additional CLI arguments, one per line. |
extraEnv | empty | Additional child-process environment entries, one KEY=VALUE per line. |
Example profile override:
- insert:
- id: qq-agent-mail
name: dsh-qq-agent-mail
config:
defaultLimit: 20
autoWatch: false
autoConfirm: false
License
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.1 | — | — |
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.3k
↓ 10.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 355/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby 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,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026