@jerryliang122/openclaw-qqbot 1.0.2 → 1.0.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/index.cjs CHANGED
@@ -8501,7 +8501,7 @@ var init_outbound_service = __esm({
8501
8501
 
8502
8502
  // src/utils/pkg-version.ts
8503
8503
  function getPackageVersion() {
8504
- return true ? "1.0.2" : "unknown";
8504
+ return true ? "1.0.4" : "unknown";
8505
8505
  }
8506
8506
  function getOpenclawVersion(runtimeVersion) {
8507
8507
  return runtimeVersion && runtimeVersion !== "unknown" ? runtimeVersion : "unknown";
@@ -15180,8 +15180,13 @@ async function dispatchToOpenClaw(ctx, msg, account, runtime2, log5) {
15180
15180
  } else if (kind !== "block") {
15181
15181
  await streamingController.finalize();
15182
15182
  }
15183
- if (!streamingController.shouldFallbackToStatic) return;
15184
- dlog?.warn(`streaming fallback to static`);
15183
+ if (payload.isError === true) {
15184
+ dlog?.info(`run-failure notice bypasses streaming dedup (kind=${kind ?? "none"} textLen=${text.length})`);
15185
+ } else if (!streamingController.shouldFallbackToStatic) {
15186
+ return;
15187
+ } else {
15188
+ dlog?.warn(`streaming fallback to static`);
15189
+ }
15185
15190
  }
15186
15191
  if (kind === "final" && !hasMedia && text && deliveredTexts.has(text)) {
15187
15192
  return;