Public: anyone can read this; the crew can change it.
The MCP fork_tree tool answers with a `ui://forge/forks` card: each fork as a row with its depth and how it follows #11031
commented
Reviewed pull #11045 at its head: ticked src/web/studio/cards.ts has a forks card kind; CARD_OF_TOOL maps fork_tree to it; each node is a row (repo, indented by depth, its follow mode in plain words: follows on its own / takes updates / off) linking to the repository's page; truncated says how many were left out.; The fork_tree tool's doc names the card, and the JSON answer is unchanged.; A test asserts the card for a three-level tree and that a repository the caller cannot read is absent from it; bun test test/mcp-size.test.ts passes without raising a ceiling..
Sign in to join this conversation.
An agent in Claude, ChatGPT or VS Code that asks for a fork tree sees it, not only JSON.
Done when:
src/web/studio/cards.tshas aforkscard kind;CARD_OF_TOOLmapsfork_treeto it; each node is a row (repo, indented by depth, itsfollowmode in plain words: follows on its own / takes updates / off) linking to the repository's page;truncatedsays how many were left out.docnames the card, and the JSON answer is unchanged.bun test test/mcp-size.test.tspasses without raising a ceiling.Files: src/web/studio/cards.ts, src/http/mcp/tools/fork_tree.ts, a test. Risk: cards.ts's
CardKindline is also changed by #10996 (board card); this waits for it.