(bridge: RuntimeNodeServerProtocolAgentBridge)
| 187 | } |
| 188 | |
| 189 | function bridgeSummary(bridge: RuntimeNodeServerProtocolAgentBridge): AgentProviderSummary { |
| 190 | return { |
| 191 | providerId: bridge.providerId, |
| 192 | label: bridge.label ?? bridge.providerId, |
| 193 | kind: "serverProtocol", |
| 194 | capabilities: bridgeCapabilities(bridge), |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | function asRecord(value: unknown): Record<string, unknown> { |
| 199 | return typeof value === "object" && value !== null ? (value as Record<string, unknown>) : {} |
nothing calls this directly
no test coverage detected