opencode icon indicating copy to clipboard operation
opencode copied to clipboard

chore(server): split session routes to avoid TS2589

Open connorads opened this issue 6 days ago • 2 comments

Addresses TS2589 (type instantiation depth) in openapi generation that I'm getting in #6154 because I add a new route Fixes #7532

Screen Shot 2026-01-09 at 9 20 12 PM

Refactor to reduce Hono schema type depth - no functional changes Split session routes into a dedicated router Seems to match the existing pattern for separate routers (ProjectRoute, TuiRoute)

Tested on #6154 to validate that it would fix build, but wanted a separate PR to keep things clean

connorads avatar Jan 09 '26 21:01 connorads