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

Function envelopeRequiresThreadParticipantRouting

internal/network/router.go:1597–1602  ·  view source on GitHub ↗
(envelope Envelope)

Source from the content-addressed store, hash-verified

1595}
1596
1597func envelopeRequiresThreadParticipantRouting(envelope Envelope) bool {
1598 return !envelope.IsDirected() &&
1599 envelope.Surface != nil &&
1600 *envelope.Surface == SurfaceThread &&
1601 envelope.ThreadID != nil
1602}
1603
1604func (r *Router) threadParticipantSet(ctx context.Context, envelope Envelope) (map[string]bool, error) {
1605 participants, err := r.threadParticipants.ListThreadParticipants(

Callers 1

Calls 1

IsDirectedMethod · 0.80

Tested by

no test coverage detected