Skip to content

[codex] add native openclaw-weixin support#289

Merged
everettjf merged 18 commits intomainfrom
codex/openclaw-weixin-bridge
Mar 24, 2026
Merged

[codex] add native openclaw-weixin support#289
everettjf merged 18 commits intomainfrom
codex/openclaw-weixin-bridge

Conversation

@everettjf
Copy link
Copy Markdown
Contributor

@everettjf everettjf commented Mar 22, 2026

This PR turns openclaw-weixin into a native-only Rust channel for MicroClaw.

What is native now:

  • QR login via ilink/bot/get_bot_qrcode + get_qrcode_status
  • credential persistence per account
  • long polling via ilink/bot/getupdates
  • webhook-compatible inbound normalization
  • text replies via ilink/bot/sendmessage
  • image / video / file attachment replies via native getuploadurl + AES-128-ECB + CDN upload + sendmessage
  • persisted context_token cache per user
  • persisted get_updates_buf sync cursor
  • CLI operations: microclaw weixin login|status|logout

What was removed:

  • Weixin bridge mode
  • Weixin auto mode
  • Weixin send_command config path
  • Node bridge examples and sidecar docs
  • Weixin-specific MICROCLAW_WEIXIN_* send-command contract

Result:

  • MicroClaw no longer requires Node or @tencent-weixin/openclaw-weixin for Weixin login, polling, text send, or attachment send.
  • The Weixin channel is now a pure Rust implementation in MicroClaw.

Validation:

  • cargo build
  • cargo test weixin --lib
  • cargo test --bin microclaw
  • cargo test infer_channel_from_prefixed_chat_type -p microclaw-channels
  • node scripts/generate_docs_artifacts.mjs --check

@everettjf everettjf changed the title [codex] add openclaw-weixin bridge channel [codex] add native openclaw-weixin support Mar 23, 2026
@everettjf everettjf marked this pull request as ready for review March 24, 2026 05:56
@everettjf everettjf merged commit d393703 into main Mar 24, 2026
9 checks passed
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