feat(rpc): support `by=replaces`

2 jobs for colin/search-by-provides in 4 minutes and 40 seconds (queued for 2 seconds)
latest