证据快照复核于 2026-09-16GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle集成与连接Web Profileqqbot Profile

QQ Bot Settings Panel

为官方腾讯 QQ Bot 插件提供 DSH 网页设置页。

快速了解

它能做什么

为官方腾讯 QQ Bot 插件提供 DSH 网页设置页。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
集成与连接配置消息UI
适配技术
httpsdshofficial-qq-bot-plugin
兼容性

Web Profile, qqbot Profile
Not declared in supplied evidence

可信度与状态

证据已验证
核对日期 2026/9/11 UTC 14:28

有代码证据的贡献

它为 DSH 增加什么

QQ Bot 设置面板

新增“设置 → QQ Bot”,用于管理 QQ Bot 插件的凭据、访问控制、工作区和扫码绑定。

机制证据

选择前先看

此配套 Bundle 在 DeepSeek Harness 中新增“设置 → QQ Bot”。可在网页中配置 QQ Bot 的 AppID/AppSecret、私聊与群聊访问模式及白名单、群聊是否必须 @机器人,以及机器人会话使用的工作区;还可生成二维码来绑定 QQ Bot,并更新 QQ Bot profile 的 cordis.patch.yml。

适合谁

已经运行或计划运行官方 @tencent-connect/dsh-qqbot 插件,并希望通过浏览器管理其设置的 DSH 用户。

常见任务

  • 无需手动编辑 profile patch 即可配置 QQ Bot 凭据。
  • 设置 c2c 和群聊访问模式、白名单及群聊是否需要 @。
  • 选择 QQ Bot 智能体会话创建所在的工作区。
  • 在设置面板中扫码绑定 QQ Bot。

权限与数据

该面板管理敏感的 QQ Bot 配置,并通过文档所述的仅回环 API 路由通信。

权限
  • 读取和写入 QQ Bot profile 的 cordis.patch.yml。
  • 存储扫码绑定流程返回的 AppID 和 AppSecret。
  • 为工作区选择器读取工作区及其会话数量信息。
数据处理
  • 文档称返回 AppSecret 时会掩码显示,且不会以空值覆盖。
  • 文档称扫码绑定凭据会以 0600 权限存储在 QQ Bot profile 配置中。
外部服务
  • 扫码绑定使用 QQ Bot connect task。
  • 依赖官方 @tencent-connect/dsh-qqbot 配套插件。
凭据
  • QQ Bot AppID 和 AppSecret,可直接提供或由扫码绑定流程返回。

局限

  • 它只是配套设置面板;必须先安装并绑定官方 QQ Bot 插件才有实际用途。
  • 提供的证据未证明安装成功或运行时行为。
  • 文档称界面刻意保持简洁,使用内联样式而非外部 UI 组件库。

DSHub 已核对

  • 固定源提交和 DSH Bundle 结构已验证。
  • manifest 声明了网页客户端注入与 Bundle patch。
  • README 记录了设置页、可配置范围、扫码绑定和本地 API 限制。
  • 包声明 Node ^22.19.0 或 >=24.0.0,以及指定的 DSH peer 依赖。

DSHub 未核对

  • 未审计 npm registry 中的包内容。
  • 提供的证据未实际执行安装、扫码绑定、配置热重载或回环访问限制。
  • 提供的证据未声明 DeepSeek Harness 版本范围。

固定版本安装

安装 QQ Bot Settings Panel

这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

项目 README

查看 commit 6465fea 对应的 README
维护者编写的上游内容原文于 2026/9/11README.md 获取,正文和仓库相对媒体固定到 commit 6465fea39b9c,内容哈希为 0c342e660916。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

dsh-qqbot-panel

English | 中文

A visual settings panel for the official @tencent-connect/dsh-qqbot plugin for DeepSeek Harness (dsh). The official QQ bot plugin is a pure CLI plugin with no Web UI; this companion plugin adds a Settings → QQ Bot page so you can configure everything — and even bind your bot by scanning a QR code — right from the web GUI.

Features

  • Settings panel — web GUI: Settings → QQ Bot. Manage appId / appSecret, private-chat (c2c) & group access modes (open / allowlist / disabled) and their allowlists, requireMention, and the agent working directory.
  • Scan-to-bind — one click generates a QR code inside the panel; scan it with the QQ app and the returned appId / appSecret are written back automatically (no browser connect page, no Apple-ID login).
  • Workspace picker — choose which workspace the QQ bot's agent sessions live in (cwd); the panel lists every workspace that already has sessions and its session count.
  • Reads/writes the im-qqbot row in the qqbot profile's cordis.patch.yml via a loopback-only /api/dsh-qqbot-panel route family.
  • appSecret is only ever returned masked and is never overwritten by an empty value.

Companion / dependency

This is a companion panel for the official QQ bot plugin (@tencent-connect/dsh-qqbot). That plugin must be installed and bound to a QQ bot for this panel to be useful — the panel edits the same cordis.patch.yml the QQ bot profile loads.

Runtime dependencies (installed automatically): @tencent-connect/qqbot-connector, qrcode, js-yaml.

Install

# after publishing (repo tagged with the `dsh-plugin` topic)
dsh plugin --profile web add github:zhengjy01/dsh-qqbot-panel

# local development
dsh plugin --profile web add link:/path/to/dsh-qqbot-panel

Then restart dsh web and open Settings → QQ Bot. The plugin needs no build step — lib/index.js is plain ESM.

Used with

# the official QQ bot plugin (required companion), in its own profile
dsh plugin --profile qqbot add @tencent-connect/dsh-qqbot
dsh --profile qqbot          # prints a QR to bind, or use the panel's scan-to-bind

Configuration

Everything is managed from the panel: Settings → QQ Bot. There you can set appId / appSecret, the access modes and allowlists, whether group chats need @bot (requireMention), and the workspace the QQ bot sessions land in.

The panel persists changes to the qqbot profile's cordis.patch.yml (~/.dsh/profiles/qqbot/cordis.patch.yml), which the running QQ bot hot-reloads.

Notes

  • The /api/dsh-qqbot-panel routes are loopback-only (browser same-origin only).
  • The scan-to-bind flow uses the QQ bot connect task; the returned appId/appSecret are stored with mode 0600 in the qqbot profile config.
  • Logo / branding intentionally minimal; the panel uses plain inline styles and no external UI kit.

License

MIT

有意识地管理

安装与管理

前置条件与目标 Profile

目标 Web Profile, qqbot Profile

交付方式 Git Bundle — zhengjy01/dsh-qqbot-panel#6465fea39b9ce95eac211ea0a02f025b17845346

验证、更新与移除

显示生命周期命令
验证
dsh plugin --profile web list

兼容性与访问范围

Requires DSH web profile plus official QQ Bot companion Not declared in supplied evidence

检查兼容性证据

风险事实

credential-storage

Handles QQ Bot AppID and AppSecret; scan-to-bind writes returned credentials to the QQ Bot profile configuration with mode 0600.

证据
configuration-write

Reads and writes the QQ Bot profile’s cordis.patch.yml, including access modes, allowlists, and workspace selection.

证据
network-surface

Its documented API routes are loopback-only and browser same-origin only.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

建议使用固定提交的 Git 源进行审查。该 Bundle 会修改 QQ Bot 凭据和 profile 访问设置;在用于生产消息前,应先在受控的 DSH 环境中验证。

AI 审查于 2026/9/11 UTC 14:29GitHub 事实核对日期: 2026/9/11 UTC 14:29

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: QQ Bot Settings Panel