zalo-agent-cli 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/DISCLAIMER.md CHANGED
@@ -1,13 +1,27 @@
1
1
  # Disclaimer
2
2
 
3
+ ## ⚠️ Cảnh báo quan trọng / Important Warning
4
+
5
+ **Tool này sử dụng [zca-js](https://github.com/AKAspanion/zca-js) — một thư viện gọi API Zalo không chính thức. Zalo không hỗ trợ và tài khoản của bạn có thể bị khóa (ban) khi sử dụng.**
6
+
7
+ **This tool uses [zca-js](https://github.com/AKAspanion/zca-js) — an unofficial Zalo API library. Zalo does not support this and your account may be banned.**
8
+
9
+ ---
10
+
3
11
  This is an **unofficial** project and is **not affiliated with, endorsed by, or connected to Zalo or VNG Corporation** in any way.
4
12
 
5
- This tool is provided for **research, educational, and personal automation purposes only**. Users are solely responsible for ensuring their use of this tool complies with:
13
+ This tool is provided for **research, educational, and personal automation purposes only**. By using this tool, you acknowledge and accept that:
14
+
15
+ - **Your Zalo account may be permanently banned or restricted** — Zalo actively detects and blocks unofficial API usage
16
+ - This tool relies on **reverse-engineered, undocumented APIs** via the zca-js library, which can break at any time
17
+ - There is **no guarantee of stability, compatibility, or continued functionality**
18
+
19
+ Users are solely responsible for ensuring their use of this tool complies with:
6
20
 
7
21
  - Zalo's Terms of Service
8
22
  - Applicable local and international laws and regulations
9
23
  - Data privacy requirements
10
24
 
11
- The authors and contributors of this project accept **no responsibility or liability** for any misuse, account restrictions, or legal consequences arising from the use of this software.
25
+ The authors and contributors of this project accept **no responsibility or liability** for any misuse, account restrictions, bans, or legal consequences arising from the use of this software.
12
26
 
13
- **Use at your own risk.**
27
+ **Sử dụng trên tinh thần tự chịu trách nhiệm. Use at your own risk.**
package/README.md CHANGED
@@ -290,7 +290,9 @@ Transfer content: max 50 characters (VietQR/NAPAS spec).
290
290
 
291
291
  ### Disclaimer
292
292
 
293
- This is an **unofficial** project and is **not affiliated with, endorsed by, or connected to Zalo or VNG Corporation**. Use at your own risk. See [DISCLAIMER.md](DISCLAIMER.md).
293
+ > ⚠️ **Warning:** This tool uses [zca-js](https://github.com/AKAspanion/zca-js), an **unofficial** Zalo API library. Zalo does not support this and **your account may be banned**. Use at your own risk.
294
+
295
+ This is an **unofficial** project and is **not affiliated with, endorsed by, or connected to Zalo or VNG Corporation**. See [DISCLAIMER.md](DISCLAIMER.md) for full details.
294
296
 
295
297
  ### License
296
298
 
@@ -458,7 +460,9 @@ Nội dung chuyển khoản: tối đa 50 ký tự (theo chuẩn VietQR/NAPAS).
458
460
 
459
461
  ### Tuyên bố miễn trừ
460
462
 
461
- Đây dự án **không chính thức** và **không liên kết với Zalo hay Tập đoàn VNG**. Sử dụng trên tinh thần tự chịu trách nhiệm. Xem [DISCLAIMER.md](DISCLAIMER.md).
463
+ > ⚠️ **Cảnh báo:** Tool này sử dụng [zca-js](https://github.com/AKAspanion/zca-js) — thư viện gọi API Zalo **không chính thức**. Zalo không hỗ trợ và **tài khoản của bạn thể bị khóa (ban)**. Dùng trên tinh thần tự chịu trách nhiệm.
464
+
465
+ Đây là dự án **không chính thức** và **không liên kết với Zalo hay Tập đoàn VNG**. Xem [DISCLAIMER.md](DISCLAIMER.md) để biết chi tiết.
462
466
 
463
467
  ### Giấy phép
464
468
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zalo-agent-cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "CLI tool for Zalo automation — multi-account, proxy support, bank transfers, QR payments",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -21,7 +21,9 @@ import { registerAccountCommands } from "./commands/account.js";
21
21
  import { registerListenCommand } from "./commands/listen.js";
22
22
  import { autoLogin } from "./core/zalo-client.js";
23
23
  import { checkForUpdates, selfUpdate } from "./utils/update-check.js";
24
- import { success, error } from "./utils/output.js";
24
+ import { success, error, warning } from "./utils/output.js";
25
+
26
+ const DISCLAIMER = "This tool uses unofficial Zalo APIs (zca-js) — your account may be banned. Use at your own risk. | Tool này dùng API Zalo không chính thức (zca-js) — account có thể bị ban. Tự chịu trách nhiệm.";
25
27
 
26
28
  const program = new Command();
27
29
 
@@ -34,6 +36,9 @@ program
34
36
  // Suppress zca-js internal logs in JSON mode to keep stdout clean for piping
35
37
  if (program.opts().json) {
36
38
  process.env.ZALO_JSON_MODE = "1";
39
+ } else {
40
+ warning(DISCLAIMER);
41
+ console.log();
37
42
  }
38
43
  // Auto-login before any command that needs it (skip for login/account commands)
39
44
  const cmdName = thisCommand.args?.[0] || thisCommand.name();