cli: route `entire recap` to entire-api, team column included

Commit

Soph2mo ago

recap always sends the current repo as /me/recap's ?repo= to render the team/contributors column. entire-api addresses repos by ULID there, not owner/repo — but entire.io/api documents the mirror id as exactly that repo_id (repo_id = mirror_repos.id; "mirrorId is exactly the repoId entire-api wants"). The CLI already fetches mirrorId in the same listing it uses for the cell, so no extra lookup is needed.

  • Carry the mirror id through as entireAPIPlacement.RepoID and expose it from the entire-api client as repoID.
  • newRecapClient now returns the correct ?repo= value for its client: the repo ULID on entire-api, the owner/repo slug on the data API. It prefers the entire-api cell and, keeping recap's render-through-401 behaviour, falls back to the data API when not logged in.

Both personal and team recap work on entire-api; no owner/repo→ULID side-lookup required after all.

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

Checkpoints

Route CLI Commands to entire-api

Claude Code
View session
Checkpoint 1