dsh-agent-office 4.1.7 → 4.1.8

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/lib/client.js +3 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -208,7 +208,9 @@ window.__ModuleLoader__.load({
208
208
  }
209
209
  }
210
210
 
211
- return module.exports
211
+ // 注意:apply 不能返回 module.exports,cordis 会把返回值当作 effect,
212
+ // 非函数/可迭代对象会抛 “Invalid effect”,导致设置分区注册失败。
213
+ return undefined
212
214
  }
213
215
  return module.exports
214
216
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agent-office",
3
- "version": "4.1.7",
3
+ "version": "4.1.8",
4
4
  "description": "实时 3D 办公室可视化 DSH 会话;Catora 发布后拓展笔记、思维导图、私人知识库与 RAG 检索。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",