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

Function agentHarnessTypeLabel

ui/src/lib/agentHarness.ts:59–70  ·  view source on GitHub ↗
(backend: AgentHarnessBackend)

Source from the content-addressed store, hash-verified

57
58/** Short label for the agent list “type” column; harness-specific where known. */
59export function agentHarnessTypeLabel(backend: AgentHarnessBackend): string {
60 switch (backend) {
61 case "openclaw":
62 return "OpenClaw";
63 case "hermes":
64 return "Hermes";
65 default: {
66 const _exhaustive: never = backend;
67 return _exhaustive;
68 }
69 }
70}
71
72export function agentHarnessRuntimeLabel(_runtime: "substrate"): string {
73 return "Substrate";

Callers 4

AgentCardFunction · 0.90
RowTypeCellFunction · 0.90
rowTypeSortKeyFunction · 0.90
AgentListRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected