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

Method GetAgentByEmail

internal/ws/handler.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, email string)

Source from the content-addressed store, hash-verified

20 // API does (HIGH-1): an agent-scoped key must not open another agent's stream.
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

Callers 11

HandleDeleteAgentMethod · 0.65
HandleUpdateAgentMethod · 0.65
HandleAgentActivityMethod · 0.65
HandleCreateAPIKeyMethod · 0.65
resolveAgentForUserMethod · 0.65
selfAgentFunction · 0.65
handleOAuthConsentMethod · 0.65
serveMethod · 0.65
injectInboundMessageMethod · 0.65
execWSConnectMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 3

selfAgentFunction · 0.52
injectInboundMessageMethod · 0.52
execWSConnectMethod · 0.52