DeepSeek Harness plugin

dsh-qq-agent-mail

Tencent QQ Agent Mail integration for DeepSeek Harness with a Service, event stream, Web settings, OAuth, and 14 structured tools.

Jump to install

Source facts

Repository
AtomerCore/dsh-qq-agent-mail
Latest update
Aug 19, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/AtomerCore/dsh-qq-agent-mail
Plugin: dsh-qq-agent-mail
Author: AtomerCore

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

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.mail Cordis service;
  • a mail/message-received event 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

1. Open Settings → QQ Agent Mail. 2. Set the CLI working directory, default mail folder, and default list size. 3. Select Start OAuth login, finish authorization in the browser, then refresh the authorization status.

Tools

CategoryTools
Authenticationqq_agent_mail_login, qq_agent_mail_logout, qq_agent_mail_auth_status, qq_agent_mail_whoami
Readingqq_agent_mail_list, qq_agent_mail_read, qq_agent_mail_search, qq_agent_mail_watch
Writingqq_agent_mail_send, qq_agent_mail_reply, qq_agent_mail_forward, qq_agent_mail_trash, qq_agent_mail_delete
Attachmentsqq_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.

OptionDefaultDescription
cliPathagently-cliPackaged CLI by default; also accepts a command name or absolute path.
cwdemptyCLI working directory and base for relative attachment paths.
defaultDirinboxDefault folder: inbox, sent, trash, or spam.
defaultLimit10Default number of messages returned by list operations.
loginTimeoutMs30000Time allowed to capture the OAuth URL.
loginHardCapMs300000Maximum login-process lifetime after URL capture; 0 disables the cap.
watchTimeoutMs60000Maximum duration of one qq_agent_mail_watch call.
autoWatchfalseStart a persistent watcher and emit mail events.
autoConfirmfalseSkip write confirmation; use only in a trusted automation environment.
extraArgsemptyAdditional CLI arguments, one per line.
extraEnvemptyAdditional 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

[MIT](./LICENSE)