mirror of
https://github.com/block/buzz.git
synced 2026-11-24 02:02:07 +00:00
`buzz users get --name` now leaves out identities on the relay's NIP-IA archive list. `--include-archived` brings them back, each marked `"archived": true`. `--pubkey` lookups always return the profile and mark it when archived. - The list is read by `fetch_archived_snapshot`, the same reader as `buzz agents archived`, so only a kind:13535 event signed by the relay's NIP-11 `self` key (with the NIP-70 tag) counts. A profile that sets its own `archived: true` is not marked unless the signed list names it. - Fail open: if the list can't be read, can't be verified, or takes longer than 5s, results come back unfiltered with a JSON warning on stderr. The search never fails because of it. - Name searches and `--pubkey` lookups read the profiles and the archive list in parallel. A profile error returns at once as the usual single JSON error, without waiting for the archive read or printing its warning. `--owner` with no matching agents returns `[]` straight away. - Documented in the CLI README. Out of scope: the relay and `send`/`dm`. Related: [buzz-app#4021](https://github.com/block/buzz-app/pull/4021) --------- Signed-off-by: Will Pfleger <wpfleger@block.xyz> Co-authored-by: Hayt <211b96e6a2b7f45fd4047988976c7bbbeeda0c15f3ae7b32eec20834b5a55118@buzz.block.builderlab.xyz>