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
+49 -1
View File
@@ -2,6 +2,7 @@ export default {
menu: {
knowledgeBase: 'Knowledge Base',
agents: 'Agents',
integrations: 'Publish & Integrations',
organizations: 'Shared Spaces',
chat: 'Chat',
newChat: 'New Chat',
@@ -5059,7 +5060,7 @@ export default {
basic: 'Basics',
knowledge: 'Knowledge & Retrieval',
capability: 'Extensions',
integration: 'Publish & Integrate',
integration: 'Publish & Integrations',
},
placeholders: {
available: 'Available variables: ',
@@ -5220,6 +5221,7 @@ export default {
deleteConfirm: 'Are you sure you want to delete this channel? This action cannot be undone.',
channelName: 'Channel Name',
channelNamePlaceholder: 'Enter a name for easy identification',
channelNameDefaultHint: 'Defaults to the platform name; you can customize it, or leave blank to use the platform name on save',
platform: 'Platform',
mode: 'Connection Mode',
outputMode: 'Output Mode',
@@ -5259,6 +5261,21 @@ export default {
wechatHint: 'Requires iOS WeChat 8.0.70+, direct messages only',
wechatQRExpired: 'QR code expired, please try again',
wechatBinding: 'Binding...',
sectionChannel: 'Channel info',
sectionConnection: 'Connection',
sectionCredentials: 'Platform credentials',
selectPlatform: 'Select platform',
selectPlatformDesc: 'Choose the messaging platform to connect',
enabled: 'Enable channel',
stepBasic: 'Basic info',
stepConnection: 'Connection',
stepKnowledge: 'File storage',
stepCredentials: 'Credentials',
sectionAccess: 'Access & output',
sectionSession: 'Session',
sectionCallback: 'Callback URL',
sectionKnowledge: 'File storage',
sectionStatus: 'Status',
},
agentType: {
label: 'Agent Type',
@@ -5574,6 +5591,37 @@ export default {
syncResultDeleted: '-{n}',
moreActions: 'More',
},
integrations: {
title: 'Publish & Integrations',
subtitle: 'Publish agents to IM platforms and websites',
tabs: {
im: 'IM Integration',
embed: 'Web Embed',
},
manageSectionTitle: 'Channel configuration',
manageSectionDesc: 'Select an agent to create or edit integration channels for that agent',
selectAgent: 'Select agent',
selectAgentDesc: 'Each integration channel is bound to one agent. Choose the agent to configure.',
selectAgentPlaceholder: 'Choose an agent',
selectAgentHint: 'Please select an agent first',
manageChannel: 'Manage channel',
goToCenter: 'Open Integrations',
imOverview: {
title: 'Connected IM channels',
subtitle: 'All IM channels across agents in this workspace. Toggle quickly or configure details below.',
},
embedOverview: {
title: 'Web embed channels',
subtitle: 'All web embed channels across agents in this workspace. Toggle quickly or configure details below.',
empty: 'No web embed channels configured yet',
loadFailed: 'Failed to load web embed channels',
},
agentEditor: {
label: 'Publish channels',
desc: 'Publish this agent to IM platforms or websites. Manage in Integrations.',
manage: 'Manage',
},
},
imOverview: {
menuTitle: 'Connected IMs',
pageTitle: 'Connected IMs',