feat:wecom ai bot

This commit is contained in:
wangcham
2025-09-05 08:08:49 +00:00
committed by WangCham
parent eae9980f5e
commit 8b935175bd
7 changed files with 865 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
apiVersion: v1
kind: MessagePlatformAdapter
metadata:
name: wecombot
label:
en_US: WeComBot
zh_Hans: 企业微信智能机器人
description:
en_US: WeComBot Adapter
zh_Hans: 企业微信智能机器人适配器,请查看文档了解使用方式
icon: wecombot.png
spec:
config:
- name: host
label:
en_US: Host
zh_Hans: 监听主机
description:
en_US: Webhook host, unless you know what you're doing, please write 0.0.0.0
zh_Hans: Webhook 监听主机,除非你知道自己在做什么,否则请写 0.0.0.0
type: string
required: true
default: "0.0.0.0"
- name: port
label:
en_US: Port
zh_Hans: 监听端口
type: integer
required: true
default: 2291
- name: Corpid
label:
en_US: Corpid
zh_Hans: 企业ID
type: string
required: true
default: ""
- name: Token
label:
en_US: Token
zh_Hans: 令牌
type: string
required: true
default: ""
- name: EncodingAESKey
label:
en_US: EncodingAESKey
zh_Hans: 消息加解密密钥
type: string
required: true
default: ""
- name: BotId
label:
en_US: BotId
zh_Hans: 机器人ID
type: string
required: true
default: ""
execution:
python:
path: ./wecombot.py
attr: WecomBotAdapter