openclaw-yas
v1.1.0
Published
Yonyou/Yas channel plugin for OpenClaw
Maintainers
Readme
openclaw-yas
Yonyou/Yas (友未来) channel plugin for OpenClaw.
Features
- ✅ WebSocket connection with token authentication
- ✅ Automatic heartbeat (online message) every 30 seconds
- ✅ Auto-reconnection on disconnect
- ✅ Support for text, image, and file messages
- ✅ Direct and group chat support
- ✅ Compatible with OpenClaw agent
Installation
npm install openclaw-yasConfiguration
{
"channels": {
"yas": {
"accounts": {
"default": {
"accountId": "default",
"matchCode": "YOUR_MATCH_CODE"
}
}
}
}
}Configuration Options
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| matchCode | string | Yes | Your Yonyou/Yas match code |
| serverUrl | string | No | API server URL (default: https://abu3.yonyouauto.com) |
| wsUrl | string | No | WebSocket server URL (default: wss://abu3.yonyouauto.com/im) |
Usage
- Install the plugin in your OpenClaw agent
- Configure your
matchCodein the agent config - Start the agent - the plugin will automatically:
- Get access token from the API
- Establish WebSocket connection
- Send heartbeat messages every 30 seconds
- Receive and forward messages to OpenClaw
Development
# Install dependencies
npm install
# Build the plugin
npm run build
# Publish to npm
npm publish --access publicLicense
MIT
