sliverp/DeepSeek-harness-qqbot 预览 preview

sliverp/DeepSeek-harness-qqbot

DeepSeek Harness 的 QQ 机器人文本与图片频道插件

Project Overview项目介绍

This is a native out-of-tree channel plugin built exclusively for DeepSeek Harness (DSH). It connects an official Tencent QQ Bot Gateway to persistent DSH agent sessions, using the official @tencent-connect/qqbot-nodejs client for gateway connections. It supports both C2C direct messages and group text messages, and can process inbound PNG, JPEG, WebP, and GIF images as durable DSH attachments, automatically falling back to text metadata if the selected model does not support image input. To install the plugin, you can run the install command directly from GitHub or a local checkout path in your terminal.

Each C2C chat or group conversation maps to one persistent DSH session, and the /new and /reset commands let you start a fresh session without deleting old conversation history. All other built-in DSH slash commands are routed directly to the DSH command runtime instead of being treated as regular user messages. The plugin supports configurable access policies for C2C and group traffic, ranging from open, allowlist-only, to fully disabled. It also includes built-in utility commands for testing and management, and will not block DSH startup if credentials are missing.

This plugin requires Node.js 22.19 or newer, pnpm 10.33.4, and DeepSeek Harness 0.1.0-rc.7 or later to run correctly. You will need to create a QQ Bot app through Tencent's developer platform, obtain an AppID and AppSecret, and enable permissions for C2C and group message events, plus inline keyboard support for approval buttons. Credentials can be configured via environment variables for local development, or stored through DSH's built-in credential manager for production deployments. This plugin is released under the permissive MIT open-source license.

这是一个专为DeepSeek Harness(DSH)开发的原生外树通道插件,作用是将官方QQ机器人网关连接到DSH的持久化代理会话。它基于腾讯官方的@tencent-connect/qqbot-nodejs网关客户端开发,支持C2C私聊和群聊文本消息,可将传入的PNG、JPEG、WebP、GIF图片转为DSH持久附件,对不支持图片输入的模型自动切换为文本回退方案。安装可通过pnpm dsh plugin命令从GitHub或本地路径添加。

每个C2C或群聊对话对应一个持久化DSH会话,支持/new和/reset命令切换新会话同时保留历史记录,其他DSH斜杠命令会直接交由命令运行时处理。它支持访问控制策略,可配置为开放、允许列表或禁用,还内置了/bot-ping、/bot-image-test等多个测试管理命令,凭证通过DSH凭证服务解析,未配置凭证也不会阻塞DSH启动。

项目依赖Node.js 22.19或更高版本、pnpm 10.33.4以及DSH 0.1.0-rc.7或更高版本,用户需要提前申请开通QQ机器人的AppID和AppSecret,并开启C2C、群消息事件和内联键盘权限。配置可通过环境变量或DSH凭证界面完成,采用MIT开源许可证,可免费使用和修改。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:sliverp/DeepSeek-harness-qqbot

把 sliverp/DeepSeek-harness-qqbot 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Harness QQBot

中文 | English

An out-of-tree DeepSeek Harness channel plugin that connects an official QQ Bot Gateway to persistent Harness agents.

Features

  • Official @tencent-connect/qqbot-nodejs Gateway client
  • C2C and group text messages
  • Inbound PNG, JPEG, WebP, and GIF images as durable Harness attachments
  • Automatic text-only fallback when the selected model does not accept image input
  • Inbound voice transcripts and non-image attachment metadata with the temporary QQ download URL
  • Outbound assistant text, images, and local workspace files
  • A QQ-turn-scoped qq_send_file tool with workspace containment and file-size checks
  • QQ Markdown replies, enabled by default
  • One persistent Harness session per C2C or group conversation
  • /new and /reset retain old history and switch to a fresh durable session; other Harness slash commands go directly to the command runtime
  • Harness agent-preset composition for the same tools, prompts, and skills as Web sessions
  • Safe reuse of a live session already opened by Web, without a second session writer
  • Proactive, requester-bound QQ approval prompts with one-shot Allow and Reject buttons
  • Approval timeout rejection, fallback to another composed approval channel, and no escalation carry-over to later tool calls
  • Typing indicators, long-reply splitting, per-conversation ordering, duplicate suppression, send retries, and bounded timeouts
  • Open, allowlist, or disabled access policies for C2C and group traffic
  • /bot-ping, /bot-image-test, /bot-file-test, /bot-help, /bot-status, and /bot-cancel
  • Secrets resolved through the Harness credential service instead of plugin configuration
  • Dormant startup when AppID or AppSecret is not configured, so installation alone never blocks DSH

Requirements

  • Node.js 22.19 or later
  • pnpm 10.33.4
  • DeepSeek Harness 0.1.0-rc.7 or later
  • A QQ Bot AppID and AppSecret with C2C and/or group message events enabled; Inline Keyboard permission is required for QQ approval buttons

Install from GitHub

pnpm dsh plugin --profile web add github:sliverp/DeepSeek-harness-qqbot

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-developer 下一个 Next dsh-holdem →