Ticket ID: B5
Parent
#248 — orpc-v2: consolidate fork into everything-dev and migrate platform to oRPC v2 + Effect 4 (epic)
What to build
Stage B, step 5: migrate the host to oRPC v2. The host's API route handlers live in host/src/routes/api.ts (the plan doc's claim that they live in program.ts is wrong) and need:
- Updated RPCHandler wiring; the
interceptors option carries over unchanged (the doc's routingInterceptors/transportInterceptors rename does not apply).
- The
ZodToJsonSchemaConverter import path update and the OpenAPIReferencePlugin rename per the v2 migration guide.
- The OpenAPI generator pinned to
version: '3.1.1' — v2 defaults to 3.2.0 and MCP tool generation requires 3.1.
- The MCP service (tools generated from the OpenAPI spec) verified end-to-end.
Acceptance criteria
Blocked by
Ticket ID: B5
Parent
#248 — orpc-v2: consolidate fork into everything-dev and migrate platform to oRPC v2 + Effect 4 (epic)
What to build
Stage B, step 5: migrate the host to oRPC v2. The host's API route handlers live in
host/src/routes/api.ts(the plan doc's claim that they live inprogram.tsis wrong) and need:interceptorsoption carries over unchanged (the doc'sroutingInterceptors/transportInterceptorsrename does not apply).ZodToJsonSchemaConverterimport path update and theOpenAPIReferencePluginrename per the v2 migration guide.version: '3.1.1'— v2 defaults to 3.2.0 and MCP tool generation requires 3.1.Acceptance criteria
/apidocs render; MCP tools generate and invokeBlocked by