@wenbin_wb/dsh-bridge 2.8.4 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/client/client.js +302 -32
- package/client/index.js +319 -39
- package/docs/fix-tunnel-sse-and-session-list.md +134 -0
- package/lib/cloudflared-manager.mjs +75 -12
- package/lib/feishu/gateway.js +1 -0
- package/lib/feishu/node.js +1 -0
- package/lib/index.js +65 -9
- package/lib/platform/conversation-bridge.js +201 -197
- package/lib/qq/gateway.js +26 -2
- package/lib/qq/node.js +2 -0
- package/lib/telegram/gateway.js +3 -0
- package/lib/telegram/node.js +1 -0
- package/lib/tunnel-client.mjs +402 -289
- package/lib/wechat/gateway.js +2 -0
- package/lib/wechat/node.js +1 -0
- package/package.json +2 -2
package/lib/wechat/gateway.js
CHANGED
|
@@ -845,8 +845,10 @@ export class WechatGateway extends Service {
|
|
|
845
845
|
if (this.statusValue !== 'connected') {
|
|
846
846
|
this.logger?.info?.('[dsh-bridge wechat] connected to iLink platform')
|
|
847
847
|
}
|
|
848
|
+
if (this.stopPollingLocal) break
|
|
848
849
|
this.setStatus('connected')
|
|
849
850
|
for (const message of batch.messages) {
|
|
851
|
+
if (this.stopPollingLocal) break
|
|
850
852
|
this.dispatchInbound(message)
|
|
851
853
|
}
|
|
852
854
|
if (this.c.pollIdleDelayMs > 0) await sleep(this.c.pollIdleDelayMs)
|
package/lib/wechat/node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenbin_wb/dsh-bridge",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.6",
|
|
4
4
|
"description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
|
|
5
|
-
"releaseNotes": "【v2.8.
|
|
5
|
+
"releaseNotes": "【v2.8.6 移动端交互适配重构 & 隧道保活与传输优化】\n• 📱 修复移动端工作区面板遮挡对话与白屏问题:重构工作区显隐状态机,新增常驻「✕ 返回对话」胶囊与多途径秒级回切机制,收起时彻底离场\n• 🗂️ 移动端侧边栏抽屉顶部集成收起图标:完整适配复用 DSH 原生自带收起图标(`[|`),支持双向顺畅开合与点击背景收起\n• 🖥️ 移动端样式与 PC 桌面端严格隔离:采用媒体查询与运行期断点隔离,PC 桌面端 100% 保持官方原生多列分栏与纯净体验\n• 🛡️ 修复 Cloudflared 守护进程异常退出问题:增加子进程退出监听与指数退避自动重启机制,确保长时间公网访问不断连\n• ⚡ 优化自建隧道 SSE 稳定性与传输效率:修复弱网下 SSE 断线重连,精简 Session 列表大数据负载,显著降低移动端带宽与卡顿\n• 🤖 优化 IM 机器人会话管理与推送:会话列表按工作区分组对齐官方账本排序,产物文件采用 AI 显式驱动直传",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"exports": {
|