Files
chpark 37cac72085 refactor: Pipeline 네이밍 통일 및 AI 에이전트/장비 연결 기능 추가
- Docker/K8s 배포 설정을 pipeline-backend/pipeline-front로 통일
- 네임스페이스, 서비스, PVC 등 k8s 리소스명 pipeline-* 로 변경
- AI 에이전트 관리 기능 추가 (에이전트, 그룹, 프로바이더, 대화, API 키, 지식베이스)
- 장비 연결 관리 기능 추가 (PLC/Modbus/OPC-UA/MQTT)
- 배치 스케줄러에 AI agent/device collection/crawling 타입 추가
- 배치 편집 UI 개선 (6가지 실행 방식 지원)
- 회사별 페이지(COMPANY_*) 제거 및 AdminPageRenderer 최적화
- 메뉴 재구성: 장비 연결 관리 시스템관리로 이동, 에이전트 오케스트레이션으로 개명
- ai-assistant 디렉토리 제거 (backend-node로 통합)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 12:14:50 +09:00

43 lines
1.3 KiB
TypeScript

"use client";
import { ChevronRight } from "lucide-react";
import { useFlowEditorStore } from "@/lib/stores/flowEditorStore";
import { getNodePaletteItem } from "./sidebar/nodePaletteConfig";
export function FlowBreadcrumb() {
const { flowName, nodes, selectedNodes } = useFlowEditorStore();
const selectedNode =
selectedNodes.length === 1
? nodes.find((n) => n.id === selectedNodes[0])
: null;
const nodeInfo = selectedNode
? getNodePaletteItem(selectedNode.type as string)
: null;
return (
<div className="flex items-center gap-1.5 text-xs">
<span className="text-muted-foreground"> </span>
<ChevronRight className="h-3 w-3 text-muted-foreground/50" />
<span className="font-medium">{flowName || "새 플로우"}</span>
{selectedNode && (
<>
<ChevronRight className="h-3 w-3 text-muted-foreground/50" />
<span className="flex items-center gap-1.5">
{nodeInfo && (
<span
className="inline-block h-2 w-2 rounded-full"
style={{ backgroundColor: nodeInfo.color }}
/>
)}
<span className="text-primary">
{(selectedNode.data as any)?.displayName || nodeInfo?.label || selectedNode.type}
</span>
</span>
</>
)}
</div>
);
}