MCPcopy
hub / github.com/kagent-dev/kagent / cn

Function cn

ui/src/lib/utils.ts:6–8  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

4import { Message as A2AMessage, Task as A2ATask, TaskStatusUpdateEvent as A2ATaskStatusUpdateEvent, TaskArtifactUpdateEvent as A2ATaskArtifactUpdateEvent } from "@a2a-js/sdk";
5
6export function cn(...inputs: ClassValue[]) {
7 return twMerge(clsx(inputs));
8}
9
10// When NEXT_PUBLIC_BACKEND_URL is relative (e.g. "/api"), the browser uses same-origin nginx; on the
11// server we call nginx on loopback (helm/kagent/files/nginx.conf listen 8080). Helm still sets

Callers 15

AgentListFunction · 0.90
AgentCardFunction · 0.90
SortableThFunction · 0.90
AgentListRowFunction · 0.90
ModelComboboxFunction · 0.90
NamespaceComboboxFunction · 0.90
ProviderComboboxFunction · 0.90
ModelProviderComboboxFunction · 0.90
AppPageFrameFunction · 0.90
PageHeaderFunction · 0.90
ModelConfigStepFunction · 0.90
AskUserDisplayFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected