Skip to content

v0.4.0

Choose a tag to compare

@Oaklight Oaklight released this 26 Mar 17:17
· 58 commits to master since this release

What's New

  • Credential migration CLI (experimental) — weilink migrate openclaw imports sessions from the OpenClaw weixin plugin (@tencent-weixin/openclaw-weixin) without re-scanning the QR code; supports --dry-run and --source
  • Send quota tracking — per-user send count against 10-message context_token quota; QuotaExhaustedError + SendResult.remaining
  • TextTooLongError — raised when text exceeds 16 KiB UTF-8 limit
  • BotInfo.user_id — login captures the authorizing WeChat user ID
  • Additional model fields — ImageInfo.hd_size, VoiceInfo.encode_type / bits_per_sample / sample_rate
  • Session expiry recovery — auto-clears cursor and context tokens on errcode: -14
  • Recv robustness — retry backoff on consecutive failures; honors server longpolling_timeout_ms
  • Callback dispatcher — on_message(), run_forever(), run_background() for event-driven bots

Breaking Changes

  • weilink.mcp module renamed to weilink.server (CLI subcommands unchanged)

Full Changelog: v0.3.0...v0.4.0

PyPI: https://pypi.org/project/weilink/0.4.0/