MCPcopy Create free account
hub / github.com/compozy/agh / nativeBoundSessionAllowsChannel

Function nativeBoundSessionAllowsChannel

internal/daemon/native_tools.go:4829–4835  ·  view source on GitHub ↗
(bound *nativeBoundSessionScope, channel string)

Source from the content-addressed store, hash-verified

4827}
4828
4829func nativeBoundSessionAllowsChannel(bound *nativeBoundSessionScope, channel string) bool {
4830 if bound == nil || len(bound.networkChannels) == 0 {
4831 return true
4832 }
4833 _, ok := bound.networkChannels[strings.TrimSpace(channel)]
4834 return ok
4835}
4836
4837func nativeFilterNetworkChannelPayloads(
4838 bound *nativeBoundSessionScope,

Callers 3

networkSendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected