@wecom/wecom-openclaw-plugin 1.0.6 → 1.0.7-beta.1

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/dist/index.esm.js CHANGED
@@ -1079,16 +1079,14 @@ async function routeAndDispatchMessage(params) {
1079
1079
  },
1080
1080
  });
1081
1081
  // 发送最终消息
1082
- if (state.accumulatedText) {
1083
- await sendWeComReply({
1084
- wsClient,
1085
- frame,
1086
- text: state.accumulatedText,
1087
- runtime,
1088
- finish: true,
1089
- streamId: state.streamId,
1090
- });
1091
- }
1082
+ await sendWeComReply({
1083
+ wsClient,
1084
+ frame,
1085
+ text: state.accumulatedText,
1086
+ runtime,
1087
+ finish: true,
1088
+ streamId: state.streamId,
1089
+ });
1092
1090
  safeCleanup();
1093
1091
  }
1094
1092
  catch (err) {