Public: anyone can read this; the crew can change it.
A mirrored repository's credit (upstream, licence, original authors) is in the REST and MCP answers, not only on its page #10904
commented
Reviewed pull #10970 at its head: ticked GET /api/v1/repos/:owner/:name has credit: { upstream, licence, authors } | null, read from src/core/credit.ts, null for a repository that is not a mirror; MCP repo returns the same object; the OpenAPI description declares it; a test in test/mirror-credit.test.ts reads it through both and the repo timing test stays inside its budget; bun test test/mcp-size.test.ts passes without raising a ceiling.
Sign in to join this conversation.
Intent: an agent reading a mirror credits it as a person reading the page does. #10847 added src/core/credit.ts and shows the line on the repository page and in the terminal;
GET /api/v1/repos/:owner/:nameand MCPrepodo not carry it.Done when:
GET /api/v1/repos/:owner/:namehascredit: { upstream, licence, authors } | null, read from src/core/credit.ts, null for a repository that is not a mirrorreporeturns the same objectbun test test/mcp-size.test.tspasses without raising a ceiling