feat(agent): add event orchestration surface

This commit is contained in:
Junyan Qin
2026-06-23 23:23:09 +08:00
committed by huanghuoguoguo
parent c6596b98e6
commit 27b43c1731
34 changed files with 2980 additions and 139 deletions
@@ -196,7 +196,7 @@ const ENTITY_KEY_MAP: Record<
// Route prefix map for entity detail pages
const ENTITY_ROUTE_MAP: Record<EntityCategoryId, string> = {
bots: '/home/bots',
pipelines: '/home/pipelines',
pipelines: '/home/agents',
knowledge: '/home/knowledge',
plugins: '/home/extensions',
mcp: '/home/mcp',
@@ -115,9 +115,9 @@ export function SidebarDataProvider({
const refreshPipelines = useCallback(async () => {
try {
const resp = await httpClient.getPipelines();
const resp = await httpClient.getAgents();
setPipelines(
resp.pipelines.map((p) => ({
resp.agents.map((p) => ({
id: p.uuid || '',
name: p.name,
description: p.description,
@@ -126,7 +126,7 @@ export function SidebarDataProvider({
})),
);
} catch (error) {
console.error('Failed to fetch pipelines for sidebar:', error);
console.error('Failed to fetch agents for sidebar:', error);
}
}, []);
@@ -57,10 +57,10 @@ export const sidebarConfigList = [
}),
new SidebarChildVO({
id: 'pipelines',
name: t('pipelines.title'),
name: t('agents.title'),
icon: <Workflow className="text-blue-500" />,
route: '/home/pipelines',
description: t('pipelines.description'),
route: '/home/agents',
description: t('agents.description'),
helpLink: {
en_US: 'https://link.langbot.app/en/docs/pipelines',
zh_Hans: 'https://link.langbot.app/zh/docs/pipelines',