@talex-touch/zlab-weixin-bridge0.1.45
WeChat Clawdbot plugin for Oh My Pi with QR login, polling, replies, contacts, and proactive messaging.
Built for omp
The author tagged this package omp-plugin.
Reports 0
No reports yet.
Readme
@talex-touch/zlab-weixin-bridge
WeChat Clawdbot plugin for Oh My Pi.
Install
omp plugin install @talex-touch/zlab-weixin-bridge
Local development:
omp plugin link ./packages/zlab-weixin-bridge
The 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 zlab-weixin-bridge@1.0.3 under the MIT license.