Zalo Personal Plugin
Zalo Personal (plugin)
Section titled “Zalo Personal (plugin)”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.
Naming
Section titled “Naming”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.
Where it runs
Section titled “Where it runs”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.
Install
Section titled “Install”Option A: install from npm
Section titled “Option A: install from npm”coderclaw plugins install @coderclaw/zalouserRestart the Gateway afterwards.
Option B: install from a local folder (dev)
Section titled “Option B: install from a local folder (dev)”coderclaw plugins install ./extensions/zalousercd ./extensions/zalouser && pnpm installRestart the Gateway afterwards.
Prerequisite: zca-cli
Section titled “Prerequisite: zca-cli”The Gateway machine must have zca on PATH:
zca --versionConfig
Section titled “Config”Channel config lives under channels.zalouser (not plugins.entries.*):
{ channels: { zalouser: { enabled: true, dmPolicy: "pairing", }, },}coderclaw channels login --channel zalousercoderclaw channels logout --channel zalousercoderclaw channels status --probecoderclaw message send --channel zalouser --target <threadId> --message "Hello from CoderClaw"coderclaw directory peers list --channel zalouser --query "name"Agent tool
Section titled “Agent tool”Tool name: zalouser
Actions: send, image, link, friends, groups, me, status