fix: import typing callbacks from compatible SDK path - #262
Open
AmAzing129 wants to merge 1 commit into
Open
AmAzing129 wants to merge 1 commit into
AmAzing129 wants to merge 1 commit into
Conversation
|
Independent verification on 2026-08-28:
This is the compatibility-preserving fix for current hosts while retaining the package's documented |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
createTypingCallbacksfromopenclaw/plugin-sdk/channel-reply-pipelineopenclaw >=2026.5.12)plugin-sdk/channel-runtimeProblem
@tencent-weixin/openclaw-weixin@2.4.6currently importscreateTypingCallbacksfromopenclaw/plugin-sdk/channel-runtime. OpenClaw removed that package export in2026.7.2-beta.4, so the Weixin provider exits at startup on newer hosts with:This was reproduced with OpenClaw
2026.8.1-beta.2: the channel repeatedly restarted and never received messages.channel-reply-pipelineis exported by both the plugin's minimum supported host (2026.5.12) and2026.8.1-beta.2, and exports the samecreateTypingCallbackshelper.channel-outboundwould be canonical on current hosts, but is not exported by2026.5.12, so using it would break the existing compatibility contract.Related OpenClaw report: openclaw/openclaw#115478
Verification
npm run typecheckagainstopenclaw@2026.5.12npm run buildcreateTypingCallbacksresolves fromchannel-reply-pipelineonopenclaw@2026.8.1-beta.2process-message.tsis excluded from coverage)