mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 21:31:26 +00:00
* fix(qqbot): lazy-load silk-wasm to avoid hard failure when package is missing Replace the static top-level import with a cached dynamic import helper. If silk-wasm is unavailable the plugin loads normally; voice encode/decode degrades gracefully instead of crashing the module at load time. * fix(qqbot): store in-flight Promise in loadSilkWasm to prevent duplicate imports Concurrent cold-start calls to loadSilkWasm() before the first import() resolves would each fire a separate dynamic import. Storing the Promise instead of the resolved value (matching the detectFfmpeg pattern in platform.ts) ensures all concurrent callers await the same import, keeping the codebase consistent and avoiding redundant parallel loads. * QQBot: add changelog for silk-wasm lazy load * QQBot: move changelog entry for PR #58829 --------- Co-authored-by: sliverp <870080352@qq.com> Co-authored-by: Sliverp <38134380+sliverp@users.noreply.github.com>