mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
Add INostrClient.activeOutboxEvents(url) (backed by PoolEventOutbox.activeOutboxEventsFor) returning the full events still pending delivery to a relay, not just their ids like activeOutboxCache. This lets a host explain *why* a relay is being authenticated with — e.g. a pending kind-1059 gift wrap means we're sending a DM to its recipient — by inspecting kind/tags. Combined with the existing activeRequests(url) filters, it is the generic challenge context the NIP-42 decision hook needs. Updates the INostrClient test fakes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZjmYpgHP4pf79Sav5QT8a