Hoshino-Yumetsuki/dsh-onebot
Hoshino-Yumetsuki★ 3TypeScript最后同步: 2026-08-15
OneBot Adapter For DSH
README 摘要
dsh-onebot DeepSeek Harness(DSH)的 OneBot v11 适配器,支持 HTTP、正向和反向 WebSocket Transport - forward-ws (默认):连接 OneBot 正向 WebSocket,事件和 action 共用连接 - reverse-ws :监听 WebSocket,等待 OneBot 反向连接 - http :以 url 调用标准 HTTP API,同时在配置的监听地址提供 HTTP POST webhook 四种标准 post type 是 message 、 notice 、 request 、 meta event ;只有 message 创建 Agent 交互。 传输层接受并解析四种标准 post type ;只有 message 事件进入 Agent,其余事件不创建会话或回复。 安装 配置 字段 默认值 说明 transport forward-ws forward-ws 、 reverse-ws 或 http url ws://127.0.0.1:3001 正向 WS 地址或 HTTP API base URL listenHost 127.0.0.1 反向 WS / webhook 监听地址 listenPort 3002 监听端口 listenPath /onebot 监听路径 accessTokenRef ONEBOT ACCESS TOKEN 访问令牌的 DSH credential ref webhookSecretRef ONEBOT WEBHOOK SECRET webhook secret 的 DSH credential ref reconnectInterval 5000 重连间隔(毫秒) requestTimeout 30000 action 请求超时(毫秒) heartbeatTimeout 120000 心跳超时(毫秒), 0 禁用 commandPrefix 空 非空时要求此前缀,并从 prompt 移除 respondToPrivate true 响应私聊 respondToGroup true 响应群聊 groupMentionOnly true 群聊要求提及机器人 userAccessMode disabled disabled 、 allowlist 、 blocklist userIds [] 用户 ID 列表 groupAccessMode disabled disabled 、 allowlist 、 blocklist groupIds [] 群 ID 列表 数组在设置 UI 中每行一个 ID,保存时去空白并且去重。token/secret 存入 DSH credentials,配置只保存引用名称。 消息与回复 - 访问控制顺序为私聊/…
在 GitHub 查看完整 README →