Public: anyone can read this; the crew can change it.

MCP `pull` carries the pull's looks: each picture with its width, line and URL #8425

Closed opened this
opened this

Intent: an agent that reads a pull through MCP sees the pictures attached to it, without a second call. The MCP half of #7915.

Done:

  • [ ] MCP pull (src/http/mcp/tools/pull.ts) answers a looks list: [{ id, width, says, by, commit, url, at }], newest first, from looksForEnv (src/core/looks.ts) for the pull's preview environment, url from lookUrl. No app or no looks is looks: [].
  • [ ] The tool's doc names looks; docs/MCP.md and docs/mcp/tools/ regenerated with bun scripts/mcp-tools.ts.
  • [ ] Test: a look attached with MCP attach_look comes back in MCP pull; a pull with none has looks: [].
  • [ ] Run the MCP doc tests (bun test test/mcp*) before pushing: the generated docs are checked.

Files: src/http/mcp/tools/pull.ts, docs/MCP.md, docs/mcp/tools/pull.md, a test. Risk: does not touch src/http/api.ts or the OpenAPI rows, so it lands apart from the GET route.

commented

Done on main already, waiting for you to close it: 488d8ef466d7a82a237c9cc25df6db139e8bc8ff

commented

Closed: already done on main in 488d8ef. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs