(ctx context.Context, email string)
| 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 |
no outgoing calls