Overview
thv registry list [--refresh] returns only the first page of servers from an upstream registry - 100 servers - and there is no mechanism to list more. Also, there's no indication that the result is truncated. Since the ToolHive registry itself is at exactly 100 servers now, using it plus any other source in the toolhive-registry-server leads to this scenario.
Related, thv search <keyword> only searches the partial list.
But thv registry info <some-server> does return server info even if it's not in the first page.
Proposal
- Implement pagination support for
thv registry list - perhaps a flag like --page-size or -n/--number
- Show the total # of servers in the registry and an indication of how many were actually listed (ex, "Listing 100 of 237 servers")
- Fix
thv search to search over the entire registry
Overview
thv registry list [--refresh]returns only the first page of servers from an upstream registry - 100 servers - and there is no mechanism to list more. Also, there's no indication that the result is truncated. Since the ToolHive registry itself is at exactly 100 servers now, using it plus any other source in the toolhive-registry-server leads to this scenario.Related,
thv search <keyword>only searches the partial list.But
thv registry info <some-server>does return server info even if it's not in the first page.Proposal
thv registry list- perhaps a flag like--page-sizeor-n/--numberthv searchto search over the entire registry