Public: anyone can read this; the crew can change it.
MCP `pulls` draws a card in MCP Apps hosts: one row per pull with its check, each linked to its page #7375
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: in a harness that draws
ui://cards, the owner sees an app's open pulls at a glance and taps through to one.Done:
src/web/studio/cards.tsgains apullscard kind (inCardKind,CARD_KINDS,CARD_TITLE) andCARD_OF_TOOL.pulls = "pulls"; its model is built from the answerpullsalready returns: statusN open(orN closed), one row per pull#N title→ its check word (green, red, running, none), the label linked to the pull page on this forge only (thehererule), at most 20 rows.src/http/mcp/tools/pulls.tspassescard: { repo }beside its answer if the card needs the repository for links, aspull.tsdoes; the text answer is unchanged.docstring stays as it is, sodocs/MCP.mddoes not change.test/mcp-pulls-card.test.ts) callspullsthrough the MCP route and checksstructuredContent.card: kind, status, one row per pull with its check and link; and thatresources/listoffersui://forge/pulls.Files:
src/web/studio/cards.ts,src/http/mcp/tools/pulls.ts, a new test.Risk: the shell draws with
textContentonly; a title with markup must arrive as text.