ref:main

fix(repo): switch `anvil repo list` to GET /repos #23

merged colechristensen cole.christensen@gmail.com wants to merge fix/repo-list-endpoint into main

Summary

`anvil repo list` was calling `GET /:org/repos` which doesn’t exist on the server — every invocation returned 404 in prod. Switch to the new `GET /repos` endpoint (server side: anvil#165), which returns every repo the caller can see across all their orgs.

`–org` becomes a client-side substring filter on the returned list. The table now shows `org/slug` instead of bare slug since results span orgs.

Blocked on: fangorn/anvil#165 deploy.

Test plan

  • `cargo test` (82 passing)
  • After anvil#165 deploys: `anvil repo list` shows all my visible repos
  • `anvil repo list –org fangorn` filters
  • `anvil –json repo list` returns the raw response

🤖 Generated with Claude Code

Created May 29, 2026 at 02:53 UTC | Merged May 29, 2026 at 03:06 UTC by colechristensen cole.christensen@gmail.com