cafeawa/dsh-qqbot ↗★ 0

dsh-qqbot

Open-source DeepSeek Harness (dsh) QQ Bot IM plugin 适合需将 DSH 接入 QQ 的用户,需配置 appId 与 appSecret,支持群聊 @ 触发。

パッケージ
dsh-qqbot
互換性
未検証
Harness ピア範囲
>=0.1.0-rc.6
Cordis ピア範囲
>=4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/16

同名パッケージの別リポジトリ

インストール

$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 / appSecretstring必填QQ Bot 凭据,也可用 QQBOT_APPID / QQBOT_SECRET
provider / modelstring继承宿主默认模型路由
requireMentionbooleantrue群聊是否需要 @bot
streamingbooleantrueC2C 流式回复
sessionIdleTimeoutnumber1800000会话闲置回收时间
approvalTimeoutMsnumber300000QQ 审批等待超时
approvalNotifyTargetobject-固定审批通知目标
accessobjectopen访问控制