@leoqlin/openclaw-qqbot 1.6.8-beta.3 → 1.6.8-beta.4

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/src/api.js CHANGED
@@ -850,7 +850,6 @@ async function sleep(ms, signal) {
850
850
  }
851
851
  });
852
852
  }
853
- import { StreamInputState } from "./types.js";
854
853
  /**
855
854
  * 发送流式消息(C2C 私聊)
856
855
  *
@@ -882,9 +881,5 @@ export async function sendC2CStreamMessage(accessToken, openid, req) {
882
881
  if (req.stream_msg_id) {
883
882
  body.stream_msg_id = req.stream_msg_id;
884
883
  }
885
- // 仅终结分片触发引用回调,中间分片跳过
886
- if (req.input_state === StreamInputState.DONE) {
887
- return sendAndNotify(accessToken, "POST", path, body, { text: req.content_raw });
888
- }
889
884
  return apiRequest(accessToken, "POST", path, body);
890
885
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leoqlin/openclaw-qqbot",
3
- "version": "1.6.8-beta.3",
3
+ "version": "1.6.8-beta.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/api.ts CHANGED
@@ -1276,9 +1276,5 @@ export async function sendC2CStreamMessage(
1276
1276
  if (req.stream_msg_id) {
1277
1277
  body.stream_msg_id = req.stream_msg_id;
1278
1278
  }
1279
- // 仅终结分片触发引用回调,中间分片跳过
1280
- if (req.input_state === StreamInputState.DONE) {
1281
- return sendAndNotify(accessToken, "POST", path, body, { text: req.content_raw });
1282
- }
1283
1279
  return apiRequest<MessageResponse>(accessToken, "POST", path, body);
1284
1280
  }