openzca 0.1.47 → 0.1.48
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/README.md +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ openzca listen
|
|
|
50
50
|
|
|
51
51
|
| Command | Description |
|
|
52
52
|
|---------|-------------|
|
|
53
|
-
| `openzca auth login` | Login with QR code (`--qr-path <path>` to save QR image) |
|
|
53
|
+
| `openzca auth login` | Login with QR code (`--qr-path <path>` to save QR image, `--qr-base64` for integration mode) |
|
|
54
54
|
| `openzca auth login-cred [file]` | Login using a credential JSON file |
|
|
55
55
|
| `openzca auth logout` | Remove saved credentials |
|
|
56
56
|
| `openzca auth status` | Show login status |
|
|
@@ -67,7 +67,7 @@ You can also open the saved file manually (for example: `open qr.png` on macOS).
|
|
|
67
67
|
|
|
68
68
|
| Command | Description |
|
|
69
69
|
|---------|-------------|
|
|
70
|
-
| `openzca msg send <threadId> <message>` | Send text
|
|
70
|
+
| `openzca msg send <threadId> <message>` | Send text with formatting (`**bold**`, `*italic*`, `~~strike~~`, etc.) and group @mention resolution (`--raw` to skip formatting) |
|
|
71
71
|
| `openzca msg image <threadId> [file]` | Send image(s) from file or URL |
|
|
72
72
|
| `openzca msg video <threadId> [file]` | Send video(s) from file or URL; single `.mp4` inputs try native video mode |
|
|
73
73
|
| `openzca msg voice <threadId> [file]` | Send voice message from local file or URL (`.aac`, `.mp3`, `.m4a`, `.wav`, `.ogg`) |
|
|
@@ -78,9 +78,14 @@ You can also open the saved file manually (for example: `open qr.png` on macOS).
|
|
|
78
78
|
| `openzca msg typing <threadId>` | Send typing indicator |
|
|
79
79
|
| `openzca msg forward <message> <targets...>` | Forward text to multiple targets |
|
|
80
80
|
| `openzca msg delete <msgId> <cliMsgId> <uidFrom> <threadId>` | Delete a message |
|
|
81
|
+
| `openzca msg edit <msgId> <cliMsgId> <threadId> <message>` | Edit message (undo + resend shim) |
|
|
81
82
|
| `openzca msg undo <msgId> <cliMsgId> <threadId>` | Recall a sent message |
|
|
82
83
|
| `openzca msg upload <arg1> [arg2]` | Upload and send file(s) |
|
|
83
84
|
| `openzca msg recent <threadId>` | List recent messages (`-n`, `--json`, newest-first); group mode prefers direct group-history endpoint (websocket fallback) |
|
|
85
|
+
| `openzca msg pin <threadId>` | Pin a conversation |
|
|
86
|
+
| `openzca msg unpin <threadId>` | Unpin a conversation |
|
|
87
|
+
| `openzca msg list-pins` | List pinned conversations |
|
|
88
|
+
| `openzca msg member-info <userId>` | Get member/user profile info |
|
|
84
89
|
|
|
85
90
|
Media commands accept local files, `file://` paths, and repeatable `--url` options. Add `--group` for group threads.
|
|
86
91
|
`openzca msg video` attempts native video send for a single `.mp4` input by uploading the video and thumbnail to Zalo first. If `ffmpeg` is unavailable, the input is not a single `.mp4`, or native send fails, it falls back to the normal attachment send path. Use `--thumbnail <path-or-url>` to supply the preview image explicitly.
|
|
@@ -167,6 +172,7 @@ Poll creation currently targets group threads only and maps to the existing `zca
|
|
|
167
172
|
| `openzca friend reject <userId>` | Reject friend request |
|
|
168
173
|
| `openzca friend cancel <userId>` | Cancel sent friend request |
|
|
169
174
|
| `openzca friend sent` | List sent requests |
|
|
175
|
+
| `openzca friend request-status <userId>` | Check friend request status for user |
|
|
170
176
|
| `openzca friend remove <userId>` | Remove a friend |
|
|
171
177
|
| `openzca friend alias <userId> <alias>` | Set friend alias |
|
|
172
178
|
| `openzca friend remove-alias <userId>` | Remove alias |
|
|
@@ -175,6 +181,7 @@ Poll creation currently targets group threads only and maps to the existing `zca
|
|
|
175
181
|
| `openzca friend unblock <userId>` | Unblock user |
|
|
176
182
|
| `openzca friend block-feed <userId>` | Block user from viewing your feed |
|
|
177
183
|
| `openzca friend unblock-feed <userId>` | Unblock user from viewing your feed |
|
|
184
|
+
| `openzca friend boards <conversationId>` | Get boards in conversation |
|
|
178
185
|
|
|
179
186
|
### me — Profile
|
|
180
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openzca",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
4
4
|
"description": "Open-source zca-compatible CLI to integrate Zalo with OpenClaw",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"commander": "^14.0.3",
|
|
47
47
|
"image-size": "^2.0.2",
|
|
48
48
|
"qrcode-terminal": "^0.12.0",
|
|
49
|
-
"zca-js": "^2.
|
|
49
|
+
"zca-js": "^2.1.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^25.2.3",
|