cli: route activity/recap through the shared entire-api cell client

Commit

Soph2mo ago

Reconcile onto the cell-routing client that landed with the experts work (#1588) instead of a parallel mechanism. activity and recap call the /me/* endpoints entire-api serves, so they now go through auth.NewEntireAPICellClient (home-jurisdiction routing, target=nil) — one routing/token path across the CLI.

Cell routing is a best-effort upgrade: any failure building the cell client (no cell for the region, not logged in, discovery/exchange error) falls back to the data API, which also serves /me/* and yields the canonical auth errors — so existing users are unaffected until their region has a cell. recap keeps its render-through-401 behaviour via that fallback.

recap's team column still needs the repo ULID for /me/recap?repo=; currentRepoID resolves it best-effort from the mirror id (which entire-api treats as the repo_id), empty → personal recap only.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: dc4fb6be0484

Checkpoints

Route CLI Commands to entire-api

Claude Code
View session
Checkpoint 1

can you do me an aggregation over the last month across all PRs about how reviewed how many PRs?

Claude Code
View session
Checkpoint 1