* feat(network): share proxy settings across features and MCP (NAN-315) * fix(network): address shared proxy review regressions * test(network): align rebased OAuth fixtures with runtime admission * fix(webui): configure shared proxy without leaving connection drafts * feat(webui): add optional shared proxy authentication editor * fix(webui): align proxy save tests and loading skeleton
93 lines
2.1 KiB
JSON
93 lines
2.1 KiB
JSON
{
|
|
"setup": {
|
|
"docsLabel": "打开 Telegram 配置指南",
|
|
"officialLabel": "打开 BotFather",
|
|
"fields": {
|
|
"token": {
|
|
"label": "机器人令牌",
|
|
"placeholder": "123456:ABC..."
|
|
},
|
|
"useProxy": {
|
|
"label": "使用代理"
|
|
},
|
|
"allowFrom": {
|
|
"label": "允许用户",
|
|
"placeholder": "* 或 Telegram 用户 ID"
|
|
},
|
|
"groupPolicy": {
|
|
"label": "群聊规则",
|
|
"choices": {
|
|
"mention": "提及回复",
|
|
"open": "全部消息",
|
|
"allowlist": "白名单"
|
|
}
|
|
},
|
|
"mode": {
|
|
"label": "连接方式",
|
|
"choices": {
|
|
"polling": "长轮询",
|
|
"webhook": "Webhook"
|
|
}
|
|
},
|
|
"replyToMessage": {
|
|
"label": "引用回复",
|
|
"choices": {
|
|
"true": "开启",
|
|
"false": "关闭"
|
|
}
|
|
},
|
|
"reactEmoji": {
|
|
"label": "已读表情"
|
|
},
|
|
"connectionPoolSize": {
|
|
"label": "连接池大小"
|
|
},
|
|
"poolTimeout": {
|
|
"label": "连接池超时"
|
|
},
|
|
"streaming": {
|
|
"label": "流式输出",
|
|
"choices": {
|
|
"true": "开启",
|
|
"false": "关闭"
|
|
}
|
|
},
|
|
"inlineKeyboards": {
|
|
"label": "消息按钮",
|
|
"choices": {
|
|
"true": "开启",
|
|
"false": "关闭"
|
|
}
|
|
},
|
|
"richMessages": {
|
|
"label": "富文本消息",
|
|
"choices": {
|
|
"true": "开启",
|
|
"false": "关闭"
|
|
}
|
|
},
|
|
"streamEditInterval": {
|
|
"label": "更新间隔(秒)"
|
|
},
|
|
"webhookUrl": {
|
|
"label": "Webhook 地址"
|
|
},
|
|
"webhookListenHost": {
|
|
"label": "Webhook 监听地址"
|
|
},
|
|
"webhookListenPort": {
|
|
"label": "Webhook 监听端口"
|
|
},
|
|
"webhookPath": {
|
|
"label": "Webhook 路径"
|
|
},
|
|
"webhookSecretToken": {
|
|
"label": "Webhook 密钥"
|
|
},
|
|
"webhookMaxConnections": {
|
|
"label": "Webhook 连接上限"
|
|
}
|
|
}
|
|
}
|
|
}
|