dsh-qqbot
Open-source DeepSeek Harness (dsh) QQ Bot IM plugin 适合需将 DSH 接入 QQ 的用户,需配置 appId 与 appSecret,支持群聊 @ 触发。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cafeawa/dsh-qqbotドキュメント
README 全文を読む ↗配置
在 profile 的 cordis.patch.yml 中:
- id: im-qqbot
config:
appId: __FROM_ENV__
appSecret: __FROM_ENV__
requireMention: true
textChunkLimit: 4500
sessionIdleTimeout: 1800000
maxQueue: 20
processingTimeoutMs: 120000
historyLimit: 10
access:
c2cMode: open
c2cAllow: []
groupMode: open
groupAllow: []
debug: false
主要配置:
| 配置 | 类型 | 默认值 | 说明 |
|---|---|---|---|
appId / appSecret | string | 必填 | QQ Bot 凭据,也可用 QQBOT_APPID / QQBOT_SECRET |
provider / model | string | 继承宿主 | 默认模型路由 |
requireMention | boolean | true | 群聊是否需要 @bot |
streaming | boolean | true | C2C 流式回复 |
sessionIdleTimeout | number | 1800000 | 会话闲置回收时间 |
approvalTimeoutMs | number | 300000 | QQ 审批等待超时 |
approvalNotifyTarget | object | - | 固定审批通知目标 |
access | object | open | 访问控制 |