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
@@ -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);
}
}, []);