gRPC service definitions and client for Wechaty, the chatbot SDK. Version 1.0.1 stable release, maintained with regular updates. Provides protobuf-based RPC for puppet-host communication, enabling cross-language chatbot backends. Ships TypeScript types and supports Node >=16. Key differentiator: seamless integration with Wechaty ecosystem for scaling chatbot operations via gRPC.
npm install wechaty-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to a Wechaty gRPC puppet host, sends a message, and disconnects.
Use @grpc/grpc-js instead of grpc; update your package.json dependencies
Replace Puppet.create({...}) with new Puppet({...})Ensure process.env.WECHATY_TOKEN is defined or pass token option explicitly
Upgrade Node to version 16 or higher
Ensure wechaty-grpc version matches the puppet host's grpc version
Run npm install protobufjs --save
Use import { WechatyGrpc } from 'wechaty-grpc' or const { WechatyGrpc } = require('wechaty-grpc')Ensure puppet host is running and supports requested method; check version compatibility