mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-30 14:02:56 +08:00
117 lines
3.0 KiB
JSON
117 lines
3.0 KiB
JSON
{
|
|
"id": "feishu",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"channels": ["feishu"],
|
|
"channelEnvVars": {
|
|
"feishu": [
|
|
"FEISHU_APP_ID",
|
|
"FEISHU_APP_SECRET",
|
|
"FEISHU_VERIFICATION_TOKEN",
|
|
"FEISHU_ENCRYPT_KEY"
|
|
]
|
|
},
|
|
"skills": ["./skills"],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"$defs": {
|
|
"secretRef": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"source": {
|
|
"type": "string",
|
|
"enum": ["env", "file", "exec"]
|
|
},
|
|
"provider": { "type": "string" },
|
|
"id": { "type": "string" }
|
|
},
|
|
"required": ["source", "provider", "id"]
|
|
},
|
|
"secretInput": {
|
|
"anyOf": [{ "type": "string", "minLength": 1 }, { "$ref": "#/$defs/secretRef" }]
|
|
},
|
|
"account": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"enabled": { "type": "boolean" },
|
|
"name": { "type": "string" },
|
|
"appId": { "type": "string" },
|
|
"appSecret": { "$ref": "#/$defs/secretInput" },
|
|
"encryptKey": { "$ref": "#/$defs/secretInput" },
|
|
"verificationToken": { "$ref": "#/$defs/secretInput" },
|
|
"domain": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": ["feishu", "lark"]
|
|
},
|
|
{
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
]
|
|
},
|
|
"connectionMode": {
|
|
"type": "string",
|
|
"enum": ["websocket", "webhook"]
|
|
},
|
|
"renderMode": {
|
|
"type": "string",
|
|
"enum": ["auto", "raw", "card"]
|
|
},
|
|
"streaming": { "type": "boolean" },
|
|
"replyInThread": {
|
|
"type": "string",
|
|
"enum": ["disabled", "enabled"]
|
|
},
|
|
"typingIndicator": { "type": "boolean" }
|
|
}
|
|
}
|
|
},
|
|
"properties": {
|
|
"enabled": { "type": "boolean" },
|
|
"defaultAccount": { "type": "string" },
|
|
"appId": { "type": "string" },
|
|
"appSecret": { "$ref": "#/$defs/secretInput" },
|
|
"encryptKey": { "$ref": "#/$defs/secretInput" },
|
|
"verificationToken": { "$ref": "#/$defs/secretInput" },
|
|
"domain": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": ["feishu", "lark"]
|
|
},
|
|
{
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
]
|
|
},
|
|
"connectionMode": {
|
|
"type": "string",
|
|
"enum": ["websocket", "webhook"]
|
|
},
|
|
"renderMode": {
|
|
"type": "string",
|
|
"enum": ["auto", "raw", "card"]
|
|
},
|
|
"streaming": { "type": "boolean" },
|
|
"replyInThread": {
|
|
"type": "string",
|
|
"enum": ["disabled", "enabled"]
|
|
},
|
|
"typingIndicator": { "type": "boolean" },
|
|
"accounts": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/account"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|