jbc-dssi 1.1.96 → 1.1.98

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.
Files changed (2) hide show
  1. package/index.js +14 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -391,6 +391,20 @@ export function activateRelay(ctx, opts) {
391
391
  botsMeta,
392
392
  dssAgent,
393
393
  groups,
394
+ /*
395
+ * ★ 定时任务引擎(2026-11-08 事故根因):这里少一行,中继路径就整条哑掉。
396
+ *
397
+ * ensureConnection() 建业务通道时要把 capabilities 全量交给 BridgeConnection,
398
+ * 其中包含 `schedules`。它引用的是**本函数作用域**里的名字 —— 漏解构就是
399
+ * `ReferenceError: schedules is not defined`,而 onAdmitted 回调把这个异常
400
+ * "已兜住"吞掉,于是:设备准入通过、中继连接正常、**业务通道永远不建**,
401
+ * 手机侧表现为"连上了但智能体列表一直连接中"(HELLO/SESSIONS 一帧都没有)。
402
+ *
403
+ * 直连路径(activate 里的 onConnection)直接闭包了同一个变量,所以只有
404
+ * 中继路径坏 —— 这正是"DSH 重启后手机才坏"的原因:重启把插件换成了带
405
+ * schedules 的版本,准入一通过就撞上这个 ReferenceError。
406
+ */
407
+ schedules,
394
408
  log,
395
409
  onChannelReady,
396
410
  onChannelClosed,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jbc-dssi",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "type": "module",
5
5
  "description": "鲸编程 - 不只是手机遥控操作电脑,而是将电脑级的Agent能力装进手机",
6
6
  "keywords": [