(backend: AgentHarnessBackend)
| 57 | |
| 58 | /** Short label for the agent list “type” column; harness-specific where known. */ |
| 59 | export 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 | |
| 72 | export function agentHarnessRuntimeLabel(_runtime: "substrate"): string { |
| 73 | return "Substrate"; |
no outgoing calls
no test coverage detected