Zalo Personal support for CoderClaw via a plugin, using zca-cli to automate a normal Zalo user account.
Warning: Unofficial automation may lead to account suspension/ban. Use at your own risk.
Channel id is zalouser to make it explicit this automates a personal Zalo user account (unofficial). We keep zalo reserved for a potential future official Zalo API integration.
This plugin runs inside the Gateway process.
If you use a remote Gateway, install/configure it on the machine running the Gateway, then restart the Gateway.
coderclaw plugins install @coderclaw/zalouser
Restart the Gateway afterwards.
coderclaw plugins install ./extensions/zalouser
cd ./extensions/zalouser && pnpm install
Restart the Gateway afterwards.
The Gateway machine must have zca on PATH:
zca --version
Channel config lives under channels.zalouser (not plugins.entries.*):
{
channels: {
zalouser: {
enabled: true,
dmPolicy: "pairing",
},
},
}
coderclaw channels login --channel zalouser
coderclaw channels logout --channel zalouser
coderclaw channels status --probe
coderclaw message send --channel zalouser --target <threadId> --message "Hello from CoderClaw"
coderclaw directory peers list --channel zalouser --query "name"
Tool name: zalouser
Actions: send, image, link, friends, groups, me, status