pnpm build is clean now. TypeScript and Vite both completed successfully. Vite emitted a non-blocking warning that the local Node version is 20.18.0, while Vite wants 20.19+ or 22.12+, but it still built.
Main fixes:
- Removed the workspace-level TanStack Router search validators in src/router.tsx and read those query flags manually in the route components. That eliminated the router-wide
searchtyping failures. - Exported the missing
ProjectThreadResponsetype through src/features/workspace/data/queries.ts and src/features/workspace/data/index.ts. - Fixed the command menu callbacks in src/features/workspace/app-home-page/workspace-command-menu.tsx so they return
Promise<void>. - Removed an unused React import in src/pages/workspace/project-home-page.tsx.
If you want, I can also do a quick pass on the Node version warning so the build environment matches Vite’s supported range.