MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / GetMessagesByAgent

Method GetMessagesByAgent

internal/ws/handler.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, f identity.MessageListFilter)

Source from the content-addressed store, hash-verified

21 GetPrincipalByAPIKey(ctx context.Context, apiKey string) (*identity.Principal, error)
22 GetAgentByEmail(ctx context.Context, email string) (*identity.AgentIdentity, error)
23 GetMessagesByAgent(ctx context.Context, f identity.MessageListFilter) ([]identity.Message, error)
24}
25
26// Handler upgrades HTTP connections to WebSocket. Open to any agent the

Callers 4

inboxIDsFunction · 0.65
inInboxFunction · 0.65
drainUnreadMethod · 0.65

Implementers 2

Storeinternal/identity/store.go
mockStoreinternal/ws/handler_test.go

Calls

no outgoing calls

Tested by 3

inboxIDsFunction · 0.52
inInboxFunction · 0.52