@luwenjun_/dsh-qqbot
v0.2.1
Published
LGCBOT: DeepSeek Harness plugin for the official QQ bot API v2, with a local management panel.
Readme
LGCBOT
LGCBOT:DeepSeek Harness 插件,对接 QQ 机器人官方 API v2。
覆盖文档里的 HTTP 接口(单聊、群聊、频道、子频道、私信、菜单、指令面板、素材、互动回调、网关)以及网关事件。管理界面用的是 Soybean Admin。插件启动时会用默认浏览器自动打开 http://127.0.0.1:3770 ;不想自动打开就设 QQBOT_NO_OPEN=1 或在配置里把 autoOpen 设为 false。群聊和频道在里面查看、记下来、再调用对应接口。
票据写在 ~/.dsh/qqbot/state.json,权限尽量设为仅本人可读。后台只监听本机。
只开面板
需要 Node.js 22.13 或更新:
node start-panel.mjs浏览器打开 http://127.0.0.1:3770 ,填开放平台的 AppID 和 AppSecret。
装进 dsh
在已安装 dsh 0.2.1-rc.2 的机器上,从 npm 安装:
npx @deepseek-ai/dsh plugin --profile web add @luwenjun_/dsh-qqbot
npx @deepseek-ai/dsh --profile web也可以从本地源码安装:
dsh plugin --profile web -- add "file:/绝对路径/dsh-qqbot"装好后重启 dsh web。Agent 可以使用 qqbot_capabilities 和 qqbot_call。
Windows 的 install.ps1 只是本仓库的启动脚本;插件本身不依赖 PowerShell。Linux/macOS 直接使用上面的 DSH profile 安装方式即可,数据目录仍是 ~/.dsh/qqbot。
沙箱环境在面板里勾选,请求会改走 https://sandbox.api.sgroup.qq.com。
