Skip to content

Commit e01e523

Browse files
committed
refactor(channels)!: remove the zalouser channel plugin
Retire the unofficial zca-js Zalo personal-account (web-spoof) channel. Zalo automation via zca-js carries account-ban risk and has no official vendor backing; the official path is the external @zalo-platforms/openclaw-zaloclawbot plugin. - Delete extensions/zalouser and its docs; purge every registry, catalog, labeler, CodeQL, Opengrep, i18n, and generated-metadata reference. - Config migration: an orphaned channels.zalouser now loads with a warning instead of failing config load, and `openclaw doctor --fix` strips the stale key plus dependent modelByChannel/heartbeat refs (REMOVED_BUNDLED_CHANNEL_IDS in src/channels/ids.ts). - Add core/doctor/removed-zalouser-state to clean leftover state/credentials/zalouser credential files. The plugin-sdk/zalouser compat facade is intentionally retained for external published plugins that import it.
1 parent 591c6ce commit e01e523

150 files changed

Lines changed: 404 additions & 15045 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/codeql/codeql-channel-runtime-boundary-critical-quality.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ paths:
3535
- extensions/twitch/src
3636
- extensions/whatsapp/src
3737
- extensions/zalo/src
38-
- extensions/zalouser/src
3938
- src/channels
4039

4140
paths-ignore:

‎.github/labeler.yml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,6 @@
212212
- changed-files:
213213
- any-glob-to-any-file:
214214
- "docs/channels/zaloclawbot.md"
215-
"channel: zalouser":
216-
- changed-files:
217-
- any-glob-to-any-file:
218-
- "extensions/zalouser/**"
219-
- "docs/channels/zalouser.md"
220-
221215
"app: android":
222216
- changed-files:
223217
- any-glob-to-any-file:

‎.github/workflows/codeql-critical-quality.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ on:
5858
- "extensions/twitch/src/**"
5959
- "extensions/whatsapp/src/**"
6060
- "extensions/zalo/src/**"
61-
- "extensions/zalouser/src/**"
6261
- "src/agents/*auth*.ts"
6362
- "src/agents/**/*auth*.ts"
6463
- "src/agents/auth-health*.ts"
@@ -241,7 +240,7 @@ jobs:
241240
src/auto-reply/reply/post-compaction-context.ts|src/auto-reply/reply/queue/*|src/auto-reply/reply/startup-context.ts|src/commands/doctor-session-*.ts|src/commands/session-store-targets.ts|src/commands/sessions*.ts|src/infra/diagnostic-*.ts|src/infra/diagnostics-timeline.ts|src/infra/session-delivery-queue*.ts|src/logging/diagnostic*.ts)
242241
session_diagnostics=true
243242
;;
244-
extensions/discord/src/*|extensions/feishu/src/*|extensions/googlechat/src/*|extensions/imessage/src/*|extensions/irc/src/*|extensions/line/src/*|extensions/matrix/src/*|extensions/mattermost/src/*|extensions/msteams/src/*|extensions/nextcloud-talk/src/*|extensions/nostr/src/*|extensions/qa-channel/src/*|extensions/qqbot/src/*|extensions/signal/src/*|extensions/slack/src/*|extensions/synology-chat/src/*|extensions/telegram/src/*|extensions/tlon/src/*|extensions/twitch/src/*|extensions/whatsapp/src/*|extensions/zalo/src/*|extensions/zalouser/src/*|src/channels/*)
243+
extensions/discord/src/*|extensions/feishu/src/*|extensions/googlechat/src/*|extensions/imessage/src/*|extensions/irc/src/*|extensions/line/src/*|extensions/matrix/src/*|extensions/mattermost/src/*|extensions/msteams/src/*|extensions/nextcloud-talk/src/*|extensions/nostr/src/*|extensions/qa-channel/src/*|extensions/qqbot/src/*|extensions/signal/src/*|extensions/slack/src/*|extensions/synology-chat/src/*|extensions/telegram/src/*|extensions/tlon/src/*|extensions/twitch/src/*|extensions/whatsapp/src/*|extensions/zalo/src/*|src/channels/*)
245244
channel=true
246245
;;
247246
src/config/*)

‎config/max-lines-baseline.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ extensions/workboard/src/tools.ts
335335
extensions/xai/realtime-voice-provider.test.ts
336336
extensions/xai/web-search.test.ts
337337
extensions/zalo/src/monitor.ts
338-
extensions/zalouser/src/monitor.ts
339-
extensions/zalouser/src/zalo-js.ts
340338
packages/agent-core/src/agent-loop.test.ts
341339
packages/agent-core/src/agent-loop.ts
342340
packages/agent-core/src/harness/compaction/compaction.ts
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"core": 2351,
3-
"channel": 3627,
4-
"plugin": 3556
3+
"channel": 3571,
4+
"plugin": 3538
55
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
efd6e8ac56ba46833230deef3552065b6e5588d4ac28efe856332e0e56eb2668 config-baseline.json
2-
dbf9485e8f4bb6ac112ef1a9cd71941abd00cd9593c8094dfa1c16517456017e config-baseline.core.json
3-
0ab331946d642d2e1ebf69033f0a79ffad53472ecccf4b7cc96211bea79f3788 config-baseline.channel.json
4-
fab3420186223207228066225cf4577702fdcbaf40ba0c35f8315d24019acbc4 config-baseline.plugin.json
1+
6c367d91975c0841660cb1f27af4fa2fe40f184f3f37e3c5735ac051a1e366d2 config-baseline.json
2+
f7a472020cac133cc9cb020e39071d4aaf58e9257a6c3e09f5307cc0eb097207 config-baseline.core.json
3+
cd3fba8dfe571f8c542136cc82be7dbac6b4fd73ba9769ae2c462ae56a90f560 config-baseline.channel.json
4+
e552c352d6203d76810eba0701427928ed150439dd4b5468500ee150d71c6730 config-baseline.plugin.json

‎docs/channels/index.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ restart. "External plugin" channels are maintained outside the OpenClaw repo.
4444
- [Yuanbao](/channels/yuanbao) - Tencent Yuanbao bot (external plugin).
4545
- [Zalo](/channels/zalo) - Zalo Bot API; Vietnam's popular messenger (official plugin).
4646
- [Zalo ClawBot](/channels/zaloclawbot) - Personal Zalo assistant via QR login; owner-bound (external plugin).
47-
- [Zalo Personal](/channels/zalouser) - Zalo personal account via QR login (official plugin).
4847

4948
## Delivery notes
5049

‎docs/channels/pairing.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ That gives first-time setups an explicit owner for privileged commands and exec
4747
approval prompts. After an owner exists, later pairing approvals only grant DM
4848
access; they do not add more owners.
4949

50-
Supported channels (any installed channel plugin that declares pairing; external plugins such as `openclaw-weixin` can add more): `discord`, `feishu`, `googlechat`, `imessage`, `irc`, `line`, `matrix`, `mattermost`, `msteams`, `nextcloud-talk`, `nostr`, `signal`, `slack`, `sms`, `synology-chat`, `telegram`, `twitch`, `whatsapp`, `zalo`, `zalouser`.
50+
Supported channels (any installed channel plugin that declares pairing; external plugins such as `openclaw-weixin` can add more): `discord`, `feishu`, `googlechat`, `imessage`, `irc`, `line`, `matrix`, `mattermost`, `msteams`, `nextcloud-talk`, `nostr`, `signal`, `slack`, `sms`, `synology-chat`, `telegram`, `twitch`, `whatsapp`, `zalo`.
5151

5252
### Reusable sender groups
5353

‎docs/channels/zalouser.md‎

Lines changed: 0 additions & 218 deletions
This file was deleted.

‎docs/cli/directory.md‎

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,37 @@ openclaw message send --channel slack --target user:U012ABCDEF --message "hello"
3535

3636
## ID formats by channel
3737

38-
| Channel | Target id format |
39-
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
40-
| WhatsApp | `+15551234567` (DM), `[email protected]` (group), `120363123456789@newsletter` (Channel/Newsletter, outbound only) |
41-
| Signal | Configured aliases resolve to E.164/UUID DM targets or `group:<id>` group targets |
42-
| Telegram | `@username` or numeric chat id; groups use numeric ids |
43-
| Slack | `user:U…` and `channel:C…` |
44-
| Discord | `user:<id>` and `channel:<id>` |
45-
| Matrix (plugin) | `user:@user:server`, `room:!roomId:server`, or `#alias:server` |
46-
| Microsoft Teams (plugin) | `user:<id>` and `conversation:<id>` |
47-
| Zalo (plugin) | User id (Bot API) |
48-
| Zalo Personal / `zalouser` (plugin) | Thread id (DM/group), from `zca` (`me`, `friend list`, `group list`) |
38+
| Channel | Target id format |
39+
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
40+
| WhatsApp | `+15551234567` (DM), `[email protected]` (group), `120363123456789@newsletter` (Channel/Newsletter, outbound only) |
41+
| Signal | Configured aliases resolve to E.164/UUID DM targets or `group:<id>` group targets |
42+
| Telegram | `@username` or numeric chat id; groups use numeric ids |
43+
| Slack | `user:U…` and `channel:C…` |
44+
| Discord | `user:<id>` and `channel:<id>` |
45+
| Matrix (plugin) | `user:@user:server`, `room:!roomId:server`, or `#alias:server` |
46+
| Microsoft Teams (plugin) | `user:<id>` and `conversation:<id>` |
47+
| Zalo (plugin) | User id (Bot API) |
4948

5049
## Self ("me")
5150

5251
```bash
53-
openclaw directory self --channel zalouser
52+
openclaw directory self --channel slack
5453
```
5554

5655
## Peers (contacts/users)
5756

5857
```bash
59-
openclaw directory peers list --channel zalouser
60-
openclaw directory peers list --channel zalouser --query "name"
61-
openclaw directory peers list --channel zalouser --limit 50
58+
openclaw directory peers list --channel slack
59+
openclaw directory peers list --channel slack --query "name"
60+
openclaw directory peers list --channel slack --limit 50
6261
```
6362

6463
## Groups
6564

6665
```bash
67-
openclaw directory groups list --channel zalouser
68-
openclaw directory groups list --channel zalouser --query "work"
69-
openclaw directory groups members --channel zalouser --group-id <id>
66+
openclaw directory groups list --channel slack
67+
openclaw directory groups list --channel slack --query "work"
68+
openclaw directory groups members --channel slack --group-id <id>
7069
```
7170

7271
## Related

0 commit comments

Comments
 (0)