claw-subagent-service 0.0.156 → 0.0.157

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claw-subagent-service",
3
- "version": "0.0.156",
3
+ "version": "0.0.157",
4
4
  "description": "虾说智能助手",
5
5
  "main": "cli.js",
6
6
  "bin": {
package/service/worker.js CHANGED
@@ -391,6 +391,7 @@ async function initRongCloud() {
391
391
  ...parsed,
392
392
  ...innerContent, // 展开 content 中的字段(如 command, command_id 等)
393
393
  content: typeof innerContent === 'object' ? innerContent.content : innerContent,
394
+ source_im_id: parsed.source_im_id || msg.senderUserId, // 确保下游 handler 能取到 source_im_id
394
395
  senderUserId: parsed.source_im_id || msg.senderUserId,
395
396
  targetId: msg.targetId,
396
397
  conversationType: msg.conversationType,