feat(frontend): add publish integrations center and streamline agent editor

Move IM and web embed channel management into a dedicated sidebar entry,
remove the user-menu IM overview submenu, and show a lightweight publish
channel status row in the agent editor basic settings instead of full panels.
This commit is contained in:
wizardchen
2026-06-24 16:28:39 +08:00
committed by lyingbug
parent 4db727ac69
commit 314b2a035c
19 changed files with 1398 additions and 876 deletions
+48
View File
@@ -2,6 +2,7 @@ export default {
menu: {
knowledgeBase: "知识库",
agents: "智能体",
integrations: "发布集成",
organizations: "共享空间",
chat: "对话",
newChat: "新对话",
@@ -5168,6 +5169,7 @@ export default {
deleteConfirm: "确定删除该渠道?删除后无法恢复。",
channelName: "渠道名称",
channelNamePlaceholder: "输入渠道名称,方便辨识",
channelNameDefaultHint: "默认为平台名称,可自行修改;留空保存时也会使用平台名称",
platform: "平台",
mode: "接入模式",
outputMode: "输出模式",
@@ -5207,6 +5209,21 @@ export default {
wechatHint: "需要 iOS 微信 8.0.70+ 版本,仅支持单聊消息",
wechatQRExpired: "二维码已过期,请重新获取",
wechatBinding: "绑定中...",
sectionChannel: "渠道信息",
sectionConnection: "连接设置",
sectionCredentials: "平台凭证",
selectPlatform: "选择平台",
selectPlatformDesc: "选择要接入的即时通讯平台",
enabled: "启用渠道",
stepBasic: "基本信息",
stepConnection: "连接设置",
stepKnowledge: "文件存储",
stepCredentials: "平台凭证",
sectionAccess: "接入与输出",
sectionSession: "会话设置",
sectionCallback: "回调地址",
sectionKnowledge: "文件存储",
sectionStatus: "运行状态",
},
tools: {
thinking: "思考",
@@ -5592,6 +5609,37 @@ export default {
syncResultDeleted: "-{n}",
moreActions: "更多",
},
integrations: {
title: "发布集成",
subtitle: "将智能体发布到 IM 平台与网站",
tabs: {
im: "IM 集成",
embed: "网页嵌入",
},
manageSectionTitle: "渠道配置",
manageSectionDesc: "选择智能体后,可创建或编辑该智能体下的集成渠道",
selectAgent: "选择智能体",
selectAgentDesc: "每个集成渠道绑定一个智能体,请先选择要配置的智能体",
selectAgentPlaceholder: "请选择智能体",
selectAgentHint: "请先选择一个智能体",
manageChannel: "管理渠道",
goToCenter: "前往集成中心",
imOverview: {
title: "已接入的 IM",
subtitle: "当前空间下所有智能体已接入的 IM 渠道,可快速启停或选择下方进行详细配置",
},
embedOverview: {
title: "网页嵌入渠道",
subtitle: "当前空间下所有智能体的网页嵌入渠道,可快速启停或选择下方进行详细配置",
empty: "当前空间还没有配置网页嵌入渠道",
loadFailed: "加载网页嵌入渠道失败",
},
agentEditor: {
label: "发布渠道",
desc: "将智能体发布到 IM 平台或网站,在集成中心统一管理",
manage: "管理",
},
},
imOverview: {
menuTitle: "已接入的 IM",
pageTitle: "已接入的 IM",