dsh-qq-bridge
A QQ channel for DSH companion agents: a backend-pluggable bridge over OneBot 11 (NapCat / LLBot), one DSH session per conversation, and a tool surface small enough to hand to an agent that reads untrusted text. 适合需要将Harness智能体部署到QQ群提供对话服务的用户。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dx3906-xn/dsh-qq-bridge配置
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 关掉就只保留配置,不连 |
endpoint | ws://127.0.0.1:3001 | OneBot 11 正向 WS 地址 |
accessToken | '' | 需要时作为 Authorization: Bearer 发出 |
groupMode | mention | always / mention / off |
allowedGroups | [] | 群白名单;空表示所有群按 groupMode 处理 |
preset | '' | 每个会话用哪个 agent 预设;空用 profile 默认 |
provider / model | '' | 模型路由;空用 profile 当前的默认模型 |
workspace | '' | 新会话记录的 cwd;空用进程 cwd |
language | zh | 信封和工具描述的语言 |
minimumGapMs | 1200 | 同一个会话两次发送的最小间隔 |
maxChars | 1200 | 单条上限,超过在句末切开 |
ignoreAutoReply | true | 丢掉对方 QQ 的 [自动回复] ,不让它唤醒 agent |
dailyProactive | 0 | 每天允许主动发几条;0 是禁止主动 |
maxLiveAgents | 8 | 内存里保留几个热 agent,超出淘汰最久未用的 |
rosterPath | '' | 会话名单文件;空用 $DSH_HOME/qq-bridge/conversations.json |
dailyProactive 默认 0 是有意的。主动说话是这个插件唯一由模型发起、而不是由人发起的路径,所以它默认关着,打开要运维按天给额度。