feat: add wechatpad for personal wechat

* 更新了wechatpad接口,以及适配器

* 更新了wechatpad接口,以及适配器

* 修复一些细节问题,比如at回复,以及启动登录和启动ws长连接的线程同步

* importutil中修复了在wi上启动替换斜杠问题,login中加上了一个login,暂时没啥用。wechatpad中做出了一些细节修改

* 更新了wechatpad接口,以及适配器

* 怎加了处理图片链接转换为image_base64发送

* feat(wechatpad): 调整日志+bugfix

* feat(wechatpad): fix typo

* 修正了发送语音api参数错误,添加了发送链接处理为base64数据(好像只有一部分链接可以)

* 修复了部分手抽的typo错误

* chore: remove manager.py

---------

Co-authored-by: shinelin <shinelinxx@gmail.com>
Co-authored-by: Junyan Qin (Chin) <rockchinq@gmail.com>
This commit is contained in:
fdc310
2025-05-14 21:18:08 +08:00
committed by GitHub
parent 248d4beed1
commit 20a62fcf69
17 changed files with 1611 additions and 1 deletions
+51
View File
@@ -0,0 +1,51 @@
apiVersion: v1
kind: MessagePlatformAdapter
metadata:
name: wechatpad
label:
en_US: WeChatPad
zh_CN: WeChatPad(个人微信ipad
description:
en_US: WeChatPad Adapter
zh_CN: WeChatPad 适配器
spec:
config:
- name: wechatpad_url
label:
en_US: WeChatPad ERL
zh_CN: WeChatPad URL
type: string
required: true
default: ""
- name: wechatpad_ws
label:
en_US: WeChatPad_Ws
zh_CN: WeChatPad_Ws
type: string
required: true
default: ""
- name: admin_key
label:
en_US: Admin_Key
zh_CN: 管理员密匙
type: string
required: true
default: ""
- name: token
label:
en_US: Token
zh_CN: 令牌
type: string
required: true
default: ""
- name: wxid
label:
en_US: wxid
zh_CN: wxid
type: string
required: true
default: ""
execution:
python:
path: ./wechatpad.py
attr: WeChatPadAdapter