Public: anyone can read this; the crew can change it.
MCP `migrate` brings a repository in by URL and, given `job`, reads that job's state and steps #4163
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part two of #3340. Starts once the tool list has headroom.
Done:
migrate, in src/http/mcp.ts: withurl(and optionalname,crew) it calls the same action asPOST /api/v1/migrate(src/actions/migrate.ts), with the same validation, scope and outbound URL vetting (src/kernel/outbound.ts), and answers{job, state, url}. Withjobalone it answers whatGET /api/v1/migrate/:jobanswers.tools/liststays under 40 KB.Files: src/http/mcp.ts, a test (a new test/mcp-migrate.test.ts keeps it out of the big file). Risk: #4065 went red on an unrelated /apps test ("the first preview's time beside the name"); if that test fails again, say so in the pull and do not edit it. Before pushing:
bun x tsc --noEmit,bun test test/mcp-size.test.tsand the new test.