Files
buzz/crates
Logan Johnson 3ce8799379 feat(cli): find people by name through the relay's name-only profile search
`buzz users get --name`, `messages search --author <name>` and
`notes --author <name>` searched kind:0 with NIP-50, which matches the
whole profile JSON. Agent profiles that share a default avatar whose data
contains "Wes" filled all 100 results, so `--name wes` never found Wes.

All three now use the relay's POST /profiles/search, which matches only
name and display_name and ranks exact names first. A relay without the
endpoint answers 404 or 405, and the lookup uses the old NIP-50 search.

Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <loganj@squareup.com>
2026-10-14 17:17:41 -04:00
..