MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / bridgeSummary

Function bridgeSummary

projects/runtime-node/src/agents.ts:189–196  ·  view source on GitHub ↗
(bridge: RuntimeNodeServerProtocolAgentBridge)

Source from the content-addressed store, hash-verified

187}
188
189function 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
198function asRecord(value: unknown): Record<string, unknown> {
199 return typeof value === "object" && value !== null ? (value as Record<string, unknown>) : {}

Callers

nothing calls this directly

Calls 1

bridgeCapabilitiesFunction · 0.85

Tested by

no test coverage detected