Skip to content

Commit 5ab08b6

Browse files
atorberchoogoo
andauthored
3.9.10.27 (#249)
* add messageSendText/contactSelfInfo/contactList/roomList (#237) * 3.9.10.19 init (#233) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json --------- Co-authored-by: choogoo <[email protected]> * update to support 3.9.10.19 (#234) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version --------- Co-authored-by: choogoo <[email protected]> * Updated the automatic packaging logic (#235) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version * Update npm.yml --------- Co-authored-by: choogoo <[email protected]> * Update README.md * Update README.md * Update raw-sidecar-hook.ts * 3.9.10.27 init * 2.1.0 * 3.9.10.27 add messageSendText/contactSelfInfo/contactList/roomList --------- Co-authored-by: choogoo <[email protected]> * fixed Transfer message err (#239) * 3.9.10.19 init (#233) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json --------- Co-authored-by: choogoo <[email protected]> * update to support 3.9.10.19 (#234) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version --------- Co-authored-by: choogoo <[email protected]> * Updated the automatic packaging logic (#235) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version * Update npm.yml --------- Co-authored-by: choogoo <[email protected]> * Update README.md * Update README.md * Update raw-sidecar-hook.ts * 3.9.10.27 init * 2.1.0 * 3.9.10.27 add messageSendText/contactSelfInfo/contactList/roomList * fixed Transfer message err * Update puppet-xp.ts --------- Co-authored-by: choogoo <[email protected]> * 3.9.10.27 (#248) * 3.9.10.19 init (#233) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json --------- Co-authored-by: choogoo <[email protected]> * update to support 3.9.10.19 (#234) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version --------- Co-authored-by: choogoo <[email protected]> * Updated the automatic packaging logic (#235) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug * 1.13.7 修复@好友昵称重复bug (#209) * 3.9.2.23 init (#180) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 3.9.2.23 init (#182) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 (#185) * 3.9.2.23 initt * Update init-agent-script.js * 3.9.2.23 adapter * 适配3.9.2.23 * Delete agent-script-3.9.2.23-new.js * 适配3.9.2.23 --------- Co-authored-by: LuChao <[email protected]> * add 1.3.0 illustrate * Update README.md * Update README.md * add demo * 1.13.1 * 1.13.1 * 1.13.2 dev * 增加扫码登录、检测登录状态 * 增加登入登出事件 * 增加ts改造init * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 * 1.13.2 1. 修复获取群成员昵称乱码 * Update .npmignore * Update .gitignore * 1.13.2删除agent的ts文件 * 1.13.4 * 1.13.5 * Update init-agent-script.ts * 1.13.5 * 1.13.6 * del png file * Update init-agent-script.js * 1.13.7 修复@好友出现两个昵称的bug --------- Co-authored-by: choogoo <[email protected]> * 1.13.7 * Update README.md * 1.13.8 * 3.9.10.19 init * 3.9.10.19 init 1. Support WeChat version 3.9.10.19 2. Support list - getMyselfInfo - sendMsg - recvMsg * Update package.json * match wechat client version * Update npm.yml --------- Co-authored-by: choogoo <[email protected]> * Update README.md * Update README.md * Update raw-sidecar-hook.ts * 3.9.10.27 init * 2.1.0 * 3.9.10.27 add messageSendText/contactSelfInfo/contactList/roomList * fixed Transfer message err * Update puppet-xp.ts --------- Co-authored-by: choogoo <[email protected]> --------- Co-authored-by: choogoo <[email protected]>
1 parent 2cd0438 commit 5ab08b6

16 files changed

+2626
-7013
lines changed

.github/workflows/npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: ./scripts/npm-pack-testing.sh
5858

5959
publish:
60-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/v'))
60+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/3'))
6161
name: Publish
6262
needs: [build, pack]
6363
runs-on: ubuntu-latest
@@ -85,7 +85,7 @@ jobs:
8585
- name: Check Branch
8686
id: check-branch
8787
run: |
88-
if [[ ${{ github.ref }} =~ ^refs/heads/(main|v[0-9]+\.[0-9]+.*)$ ]]; then
88+
if [[ ${{ github.ref }} =~ ^refs/heads/(main|[0-9]+\.[0-9]+\.[0-9].*)$ ]]; then
8989
echo ::set-output name=match::true
9090
fi # See: https://stackoverflow.com/a/58869470/1123955
9191
- name: Is A Publish Branch

README.md

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ wechaty-puppet-xp is a local puppet for Wechaty:
2929

3030
- STEP 1: Install wechat client in your Windows computer.
3131

32-
> 1.13.0+ is the latest version, only support WeChat v3.9.2.23. Note to use the npm package that matches the WeChat version.
32+
> 1.13.+ is the latest version, only support WeChat v3.9.2.23. Note to use the npm package that matches the WeChat version.
3333
3434
- STEP 2: Login the wechat client on the computer.
3535
- STEP 3: Getting Started with TypeScript/JavaScript (RECOMMENDED).
@@ -62,32 +62,32 @@ puppet-xp also have already released the installation package on NPM. Running wi
6262

6363
XP is a young puppet,it keeps growing and improving.
6464

65-
版本|3.3.0.115|3.6.0.18|3.9.2.23|
66-
:---|:---|:---|:---|
65+
版本|3.3.0.115|3.6.0.18|3.9.2.23|3.9.10.27|
66+
:---|:---|:---|:---|:---|
6767
**<消息>**|
68-
接收文本|✅|✅|✅
68+
接收文本|✅|✅|✅|✅
6969
接收图片|✅|✅|✅
70-
接收文件|✅|✅|✅
71-
接收动图|✅|✅|✅
72-
接收表情|✅|✅|✅
70+
接收文件|✅|✅|✅|✅
71+
接收动图|✅|✅|✅|✅
72+
接收表情|✅|✅|✅|✅
7373
接收小程序卡片|✅|✅|✅
7474
接收联系人卡片|✅|✅|✅
7575
接收位置卡片|✅|✅|✅
76-
发送文本|✅|✅|✅
76+
发送文本|✅|✅|✅|✅
7777
发送图片|✅|✅|✅
7878
发送文件|✅|✅|✅
7979
发送动图|✅|✅|✅
8080
**<群组>**|
8181
@群成员|✅|✅|✅
82-
群列表|✅|✅|✅
82+
群列表|✅|✅|✅|✅
8383
群成员列表|✅|✅|✅
8484
群详情|✅|✅|✅
8585
进群提示|✅|✅|✅
8686
**<联系人>**|
87-
好友列表|✅|✅|✅
87+
好友列表|✅|✅|✅|✅
8888
好友详情|✅|✅|✅
8989
**<其他>**|
90-
登录事件|✅|✅|✅
90+
登录事件|✅|✅|✅|✅
9191
扫码登录|||✅
9292

9393
## VERSION SUPPORT
@@ -96,12 +96,30 @@ Note: You need to install an NPM version that matches your WeChat client version
9696

9797
puppet-xp|wechat|npm install|
9898
|:---|:---|:---|
99-
|1.3.x|[WeChat-v3.9.2.23](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe)|npm i wechaty-puppet-xp@next|
99+
|2.1.1|[WeChat-v3.9.10.27](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.10.27/WeChatSetup-3.9.10.27.exe)|npm i [email protected]|
100+
|1.13.12|[WeChat-v3.9.2.23](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe)|npm i [email protected]|
100101
|1.12.7|[WeChat-v3.6.0.18](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.6.0.18/WeChatSetup-3.6.0.18.exe)|npm i [email protected]|
101102
|1.11.14|[WeChat-v3.3.0.115](https://github.com/wechaty/wechaty-puppet-xp/releases/download/v0.5/WeChatSetup-v3.3.0.115.exe)|npm i [email protected]|
102103

103104
## HISTORY
104105

106+
### v2.1.1
107+
108+
1. Support WeChat version 3.9.10.27
109+
2. Support list
110+
- getMyselfInfo
111+
- contactList
112+
- sendMsg
113+
- recvMsg
114+
115+
### v2.0.0
116+
117+
1. Support WeChat version 3.9.10.19
118+
2. Support list
119+
- getMyselfInfo
120+
- sendMsg
121+
- recvMsg
122+
105123
### v1.13.12
106124

107125
1. Fixed the bug where the system crashes upon receiving a message before successful startup

examples/raw-sidecar-hook.ts

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/* eslint-disable no-console */
2+
3+
/**
4+
* Wechaty - https://github.com/wechaty/wechaty
5+
*
6+
* @copyright 2021 Wechaty Contributors <https://github.com/wechaty>
7+
*
8+
* Licensed under the Apache License, Version 2.0 (the "License");
9+
* you may not use this file except in compliance with the License.
10+
* You may obtain a copy of the License at
11+
*
12+
* http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software
15+
* distributed under the License is distributed on an "AS IS" BASIS,
16+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
* See the License for the specific language governing permissions and
18+
* limitations under the License.
19+
*
20+
*/
21+
import {
22+
attach,
23+
detach,
24+
} from 'sidecar'
25+
26+
import {
27+
WeChatSidecar,
28+
// XpSidecar
29+
} from '../src/wechat-sidecar.js'
30+
31+
async function main () {
32+
console.log('WeChat Sidecar starting...')
33+
34+
const sidecar = new WeChatSidecar()
35+
await attach(sidecar)
36+
37+
console.log('WeChat Sidecar started.')
38+
39+
sidecar.on('hook', ({ method, args }) => {
40+
// console.log(`onhook事件消息:${new Date().toLocaleString()}\n`, method, JSON.stringify(args))
41+
console.log(`onhook事件消息:${new Date().toLocaleString()}`, method)
42+
switch (method) {
43+
case 'recvMsg':{
44+
void onRecvMsg(args)
45+
break
46+
}
47+
case 'checkQRLogin':
48+
break
49+
case 'loginEvent':{
50+
break
51+
}
52+
case 'agentReady':
53+
console.log('agentReady...')
54+
break
55+
default:
56+
console.log('onHook没有匹配到处理方法:', method, JSON.stringify(args))
57+
break
58+
}
59+
})
60+
61+
const onRecvMsg = async (args: any) => {
62+
console.log('onRecvMsg事件触发:', JSON.stringify(args))
63+
64+
if (args instanceof Error) {
65+
console.error('onRecvMsg: 参数错误 Error', args)
66+
return
67+
}
68+
69+
const toId = String(args[3])
70+
const text = String(args[2])
71+
const talkerId = String(args[1])
72+
73+
// const nickname = await sidecar.GetContactOrChatRoomNickname(talkerId)
74+
// console.log('发言人昵称:', nickname)
75+
console.log('talkerId:', talkerId)
76+
console.log('toId:', toId)
77+
console.log('text:', text)
78+
if (talkerId && text === 'ding') {
79+
console.log('叮咚测试: ding found, reply dong')
80+
try {
81+
await sidecar.sendMsg(talkerId || toId, 'dong')
82+
// await sidecar.sendAtMsg(toId, 'dong',talkerId)
83+
} catch (e) {
84+
console.error('发送消息失败:', e)
85+
}
86+
}
87+
}
88+
89+
const clean = () => {
90+
console.log('Sidecar detaching...')
91+
void detach(sidecar)
92+
}
93+
94+
process.on('SIGINT', clean)
95+
process.on('SIGTERM', clean)
96+
}
97+
98+
main()
99+
.catch(e => {
100+
console.error('主函数运行失败:', e)
101+
})

examples/raw-sidecar.ts

Lines changed: 40 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,22 @@ import {
2525

2626
import {
2727
WeChatSidecar,
28-
// XpSidecar
2928
} from '../src/wechat-sidecar.js'
3029

3130
async function main () {
3231
console.info('WeChat Sidecar starting...')
33-
// new XpSidecar({ wechatVersion: '3.9.2.23' })
3432

3533
const sidecar = new WeChatSidecar()
3634
await attach(sidecar)
3735

3836
console.info('WeChat Sidecar started.')
3937

40-
const ver = await sidecar.getWeChatVersion()
41-
const verStr = await sidecar.getWechatVersionString()
42-
const isSupported = await sidecar.checkSupported()
43-
console.info(`\nWeChat Version: ${ver} -> ${verStr} , Supported: ${isSupported}\n`)
44-
45-
const isLoggedIn = await sidecar.isLoggedIn()
38+
// const isLoggedIn = await sidecar.isLoggedIn()
4639
const myselfInfo = await sidecar.getMyselfInfo()
4740
console.info(`当前登陆账号信息: ${myselfInfo}`)
4841

49-
const loginUrl = await sidecar.getLoginUrl()
50-
console.info(`登陆二维码地址loginUrl: ${loginUrl}`)
42+
// const loginUrl = await sidecar.getLoginUrl()
43+
// console.info(`登陆二维码地址loginUrl: ${loginUrl}`)
5144

5245
// const contact = await sidecar.getChatroomMemberInfo()
5346
// //console.log(contact)
@@ -74,18 +67,18 @@ async function main () {
7467
void onScan(args)
7568
break
7669
case 'loginEvent':{
77-
if (!isLoggedIn) {
78-
let loginRes = false
79-
sidecar.isLoggedIn().then(res => {
80-
loginRes = res
81-
if (loginRes) {
82-
void onLogin()
83-
}
84-
return res
85-
}).catch(e => {
86-
console.error('登录状态检查失败:', e)
87-
})
88-
}
70+
// if (!isLoggedIn) {
71+
// let loginRes = false
72+
// sidecar.isLoggedIn().then(res => {
73+
// loginRes = res
74+
// if (loginRes) {
75+
// void onLogin()
76+
// }
77+
// return res
78+
// }).catch(e => {
79+
// console.error('登录状态检查失败:', e)
80+
// })
81+
// }
8982
break
9083
}
9184
case 'agentReady':
@@ -100,31 +93,31 @@ async function main () {
10093
}
10194
})
10295

103-
const onLogin = async () => {
104-
console.info('登陆事件触发')
105-
console.info(`登陆状态: ${isLoggedIn}`)
106-
// await sidecar.sendMsg('filehelper', 'Sidecar is ready!')
107-
const contacts = await sidecar.getContact()
108-
// console.log(`contacts: ${contacts}`)
109-
const contactsJSON = JSON.parse(contacts)
110-
console.log('contacts列表:', contactsJSON.length)
111-
112-
for (const contact of contactsJSON) {
113-
if (!contact.name) {
114-
console.info('好友:', JSON.stringify(contact))
115-
}
116-
}
96+
// const onLogin = async () => {
97+
// console.info('登陆事件触发')
98+
// console.info(`登陆状态: ${isLoggedIn}`)
99+
// await sidecar.sendMsg('filehelper', 'Sidecar is ready!')
100+
// const contacts = await sidecar.getContact()
101+
// console.log(`contacts: ${contacts}`)
102+
// const contactsJSON = JSON.parse(contacts)
103+
// console.log('contacts列表:', contactsJSON.length)
104+
105+
// for (const contact of contactsJSON) {
106+
// if (!contact.name) {
107+
// console.info('好友:', JSON.stringify(contact))
108+
// }
109+
// }
117110

118-
const roomList = await sidecar.getChatroomMemberInfo()
119-
// console.log(`roomList: ${roomList}`)
120-
const roomListJSON = JSON.parse(roomList)
121-
console.log('roomList列表:', roomListJSON.length)
122-
// for (const room of roomListJSON) {
123-
// console.info('room:', room)
124-
// }
125-
// await sidecar.sendAtMsg('21341182572@chatroom', new Date().toLocaleString(), 'atorber', '超哥');
111+
// const roomList = await sidecar.getChatroomMemberInfo()
112+
// console.log(`roomList: ${roomList}`)
113+
// const roomListJSON = JSON.parse(roomList)
114+
// console.log('roomList列表:', roomListJSON.length)
115+
// for (const room of roomListJSON) {
116+
// console.info('room:', room)
117+
// }
118+
// await sidecar.sendAtMsg('21341182572@chatroom', new Date().toLocaleString(), 'atorber', '超哥');
126119

127-
}
120+
// }
128121

129122
const onLogout = (bySrv: number) => {
130123
console.info('登出事件触发:', bySrv)
@@ -170,8 +163,8 @@ async function main () {
170163
// const nickname = await sidecar.GetContactOrChatRoomNickname(talkerId)
171164
// console.log('发言人昵称:', nickname)
172165

173-
const talker = await sidecar.getChatroomMemberNickInfo(talkerId, toId)
174-
console.log('发言人:', talker)
166+
// const talker = await sidecar.getChatroomMemberNickInfo(talkerId, toId)
167+
// console.log('发言人:', talker)
175168
if (talkerId && text === 'ding') {
176169
console.info('叮咚测试: ding found, reply dong')
177170
await sidecar.sendMsg(toId, 'dong')

examples/ripe-wechaty.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ async function onLogin (user: Contact) {
4242
log.info('好友数量:', friends.length)
4343

4444
// 发送@好友消息
45-
const room = await bot.Room.find({topic:'大师是群主'})
46-
const contact = await bot.Contact.find({name:'luyuchao'})
47-
log.info('room:', room)
48-
if(room && contact){
49-
const contacts:Contact[]= [contact]
45+
const room = await bot.Room.find({ topic:'大师是群主' })
46+
const contact = await bot.Contact.find({ name:'luyuchao' })
47+
await contact?.say('你好,我是瓦力!')
48+
49+
if (room && contact) {
50+
const contacts:Contact[] = [ contact ]
5051
await room.say(new Date().toLocaleString() + ':瓦力上线了!', ...contacts)
5152
}
5253
}
@@ -140,7 +141,7 @@ async function onMessage (msg: Message) {
140141

141142
}
142143

143-
const puppet = new PuppetXp({ wechatVersion:'0.0.0.0' })
144+
const puppet = new PuppetXp()
144145
const bot = WechatyBuilder.build({
145146
name: 'ding-dong-bot',
146147
puppet,

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wechaty-puppet-xp",
3-
"version": "1.13.12",
3+
"version": "2.2.0",
44
"description": "Puppet XP for Wechaty",
55
"type": "module",
66
"exports": {
@@ -18,7 +18,7 @@
1818
"clean": "shx rm -fr dist/*",
1919
"dist": "npm-run-all clean build dist:copy dist:commonjs",
2020
"build:agent": "tsc src/init-agent-script.ts --outFile src/init-agent-script.js",
21-
"frida": "tsc tests/frida.ts --outFile tests/frida.js && frida -n WeChat.exe -l tests/frida.js --debug",
21+
"frida": "frida -n WeChat.exe -l src/init-agent-script.js --debug",
2222
"build": "tsc && tsc -p tsconfig.cjs.json",
2323
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
2424
"dist:copy": "npm-run-all copy:esm copy:cjs",
@@ -29,6 +29,7 @@
2929
"start:raw": "cross-env BROLOG_LEVEL=silly NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
3030
"start:raw:nobuild": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
3131
"start:raw:info": "npm run build:agent && cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
32+
"start:raw:hook": "npm run build:agent && cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar-hook.ts",
3233
"start:ripe": "cross-env WECHATY_LOG=verbose NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty.ts",
3334
"start:ripe:info": "npm run build:agent && cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty.ts",
3435
"start:ripe:demo": "npm run build:agent && cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/demo.ts",
@@ -83,8 +84,9 @@
8384
"wechaty-puppet": "^1.10.2"
8485
},
8586
"dependencies": {
87+
"@swc/core": "^1.5.25",
8688
"cuid": "^2.1.8",
87-
"sidecar": "^0.17.8",
89+
"sidecar": "^1.0.19",
8890
"xml2js": "^0.4.23",
8991
"xmlreader": "^0.2.3"
9092
},

0 commit comments

Comments
 (0)