DMWork channel plugin for OpenClaw v0.6.4 (stable, weekly releases). This plugin connects OpenClaw bots to DMWork servers via DMWORK WebSocket for real-time messaging. It supports multi-account configuration, auto-reconnection, streaming responses, typing indicators, and group chat history. Ships TypeScript types. Requires Node.js >= 18 and OpenClaw >=2026.5.4. Key differentiators: seamless integration with OpenClaw's plugin system, one-command install via npx, CLI tools for health checks and configuration, and automatic WebSocket URL detection.
npm install openclaw-channel-dmworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and register the plugin with OpenClaw API, and manually start a bot account using environment variables.
Use npx -y openclaw-channel-dmwork install with --flags.
Ensure token obtained from BotFather in DMWork (send /newbot).
Simply run npx -y openclaw-channel-dmwork install without flags.
Restart the OpenClaw gateway after modifying account configurations.
Move apiUrl under each account object in channels.dmwork.accounts.
Set historyLimit to a reasonable value (e.g., 20).
Ensure package is installed (npm i openclaw-channel-dmwork) and that your project uses ESM (type: module in package.json).
Use: import plugin from 'openclaw-channel-dmwork'; then plugin.register(api);
Create a bot via /newbot in DMWork BotFather and use the token starting with 'bf_'.
Add apiUrl under each account in channels.dmwork.accounts (e.g., "my_bot": {"botToken": "...", "apiUrl": "http://..."}).Check wsUrl or ensure DMWork server is running and accessible.