-
Notifications
You must be signed in to change notification settings - Fork 15.7k
feat(zalouser): add core bridge, monitor, onboarding, and messaging functionalities #1032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
suminhthanh
commented
Jan 16, 2026
- Implement core bridge for loading dependencies and resolving module paths.
- Create monitor for handling incoming messages and dispatching replies.
- Develop onboarding process for Zalo Personal account setup with QR login.
- Introduce messaging capabilities including sending text, images, and links.
- Add utility functions for managing Zalo accounts and configurations.
- Establish types for Zalo-related data structures and command results.
- Ensure proper error handling and logging throughout the implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a new Zalo Personal Account integration for Clawdbot via the zca-cli wrapper, enabling users to connect their personal Zalo accounts through QR code authentication and interact with the Zalo messaging platform.
Changes:
- Implements core zca-cli wrapper with process spawning and result handling
- Creates channel plugin with onboarding, monitoring, and messaging capabilities
- Adds comprehensive CLI commands for authentication, messaging, and data access
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| extensions/zalouser/src/zca.ts | Implements zca binary wrapper with timeout handling and streaming support |
| extensions/zalouser/src/types.ts | Defines TypeScript types for zca results, messages, and configuration |
| extensions/zalouser/src/tool.ts | Provides agent tool integration for AI-driven messaging |
| extensions/zalouser/src/send.ts | Implements message sending functions with media type detection |
| extensions/zalouser/src/onboarding.ts | Handles QR login flow and account setup wizard |
| extensions/zalouser/src/monitor.ts | Manages real-time message listener and reply dispatcher |
| extensions/zalouser/src/core-bridge.ts | Resolves and loads core dependencies from main package |
| extensions/zalouser/src/cli.ts | Registers comprehensive CLI command structure |
| extensions/zalouser/src/channel.ts | Implements channel plugin interface with all lifecycle hooks |
| extensions/zalouser/src/accounts.ts | Handles account resolution and authentication status |
| extensions/zalouser/package.json | Defines package metadata and extension registration |
| extensions/zalouser/index.ts | Plugin entry point registering CLI, channel, and tool |
| extensions/zalouser/README.md | Provides installation instructions and usage documentation |
| docs/docs.json | Adds zalouser to documentation navigation |
| docs/channels/index.md | Lists Zalo Personal in channel overview |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Landed via squash merge (single commit on main).\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- PR head commit (pre-merge): b4286db\n- Main commit: 390bd11\n\nThanks @suminhthanh! |
…uminhthanh) - Unified UX: channels login + message send; no plugin-specific top-level command\n- Added generic directory CLI for channel identity/groups\n- Docs: channel + plugin pages
…uminhthanh) - Unified UX: channels login + message send; no plugin-specific top-level command\n- Added generic directory CLI for channel identity/groups\n- Docs: channel + plugin pages