Skip to content

Improve WeChat bridge compatibility and output rendering#21

Open
18277934443 wants to merge 3 commits intoWechat-ggGitHub:mainfrom
18277934443:feat-wechat-compat-display-v2
Open

Improve WeChat bridge compatibility and output rendering#21
18277934443 wants to merge 3 commits intoWechat-ggGitHub:mainfrom
18277934443:feat-wechat-compat-display-v2

Conversation

@18277934443
Copy link
Copy Markdown

Summary

This PR improves the WeChat bridge for real-world WeChat plugin usage, with a focus on compatibility and user-facing reply quality.

  • Reduce accidental session resets and improve session reuse behavior
  • Filter bridge-internal chatter and context-leak phrases before sending final replies
  • Split long replies into WeChat-friendly chunks instead of one large block
  • Harden WeChat API handling and validate non-zero ret responses
  • Add richer media support for files, images, videos, and voice
  • Improve Windows support for local bridge usage

Why

  • Long replies were often dumped as a single large message in WeChat
  • Internal coordination text could leak into user-visible messages
  • Media handling on Windows and current WeChat plugin flows needed better compatibility
  • Looser API error handling made failures harder to understand

Testing

  • npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant