@talex-touch/zlab-weixin-bridge
v0.1.44
Published
WeChat Clawdbot plugin for Oh My Pi with QR login, polling, replies, contacts, and proactive messaging.
Maintainers
Readme
@talex-touch/zlab-weixin-bridge
WeChat Clawdbot plugin for Oh My Pi.
Install
omp plugin install @talex-touch/zlab-weixin-bridgeLocal development:
omp plugin link ./packages/zlab-weixin-bridgeThe package uses the native OMP plugin manifest:
{
"omp": {
"extensions": ["./src/index.ts"]
}
}Capabilities
Commands:
/weixin-login/wechat-login/weixin-status
LLM tools:
weixin_loginweixin_sendweixin_statusweixin_contactsweixin_alias
Runtime behavior:
- Restores a cached OMP WeChat session quietly on session start.
- Renders a terminal QR code when a new login is required.
- Long-polls incoming text messages and queues one OMP turn per message.
- Associates each assistant response with the correct WeChat sender.
- Supports proactive messages, contacts, aliases, and context tokens.
- Stops timers and network polling on OMP session shutdown.
Local State
Private state is stored under:
~/.omp/agent/state/weixin-clawdbot/PI_CODING_AGENT_DIR is respected when OMP uses a custom agent directory or profile.
Files are written with user-only permissions. The plugin does not automatically copy or delete legacy .pi/weixin credentials; the first OMP connection requires a new QR login.
Upstream
The ilink protocol integration is based on [email protected] under the MIT license.
