weilink
weilink copied to clipboard
Zero-dependency Python SDK for WeChat Bot (iLink protocol) — text, image, video messaging & MCP server | 零依赖微信机器人 Python SDK,支持多媒体消息和 MCP 服务器
## Problem When background polling is enabled (via `run_background()`), the dispatcher puts received messages into an unbounded `queue.Queue`. If no consumer calls `recv()` to drain the queue (e.g., MCP/OpenAPI server...
## Background The official SDK pauses for 1 hour when receiving `errcode -14` (session expired). Our current implementation raises `SessionExpiredError` and the dispatcher stops immediately. ## Current behavior - `_protocol.py`:...
## Description During testing via WeiLink MCP tools (Claude Code to WeChat), message delivery was occasionally delayed -- a reply would not appear on the user phone immediately, then suddenly...
## Bug report Reported by **三皮哥** ([email protected]) via email. If you are the reporter and have a GitHub account, please comment below so we can credit you properly. ### Environment...
2026-04-27 16:24:51,752 INFO Voice: 2000s, text='我又发了一条语音' 2026-04-27 16:24:51,936 ERROR Voice handling failed: EVP_DecryptFinal_ex failed
## Summary Code audit of the core SDK identified a race condition in dispatcher lifecycle management and gaps in correctness test coverage for single-consumer and multi-consumer scenarios. ## Changes ###...
## Summary Consolidate all zerodep-sourced vendored files into a single `_vendor/` sub-package and remove the now-unnecessary `_crypto/` directory. ## Changes - Create `src/weilink/_vendor/` with `__init__.py`, `filelock.py`, `qr.py`, `aes.py`, `aes_openssl.py` -...
## Summary The `src/weilink/` package root has 10+ underscore-prefixed internal modules scattered at the top level. This makes the codebase harder to navigate as it grows. ## Proposed Changes Group...