Adds a 'typecheck' AI tool backed by a new src/lib/typecheck module that
runs the real TypeScript compiler against the project VFS in the browser:
- In-memory CompilerHost over project files, with tsconfig.json parsing
(including local extends chains and Vite-style project references)
- TypeScript's bundled lib.*.d.ts files served as lazy-loaded chunks
- Type declarations for npm dependencies acquired from jsdelivr via
@typescript/ata, pinned to package-lock.json/package.json versions
(including declared @types/* packages, since ATA's own DT fallback
always fetches latest), cached per session
- Vite ambient type shim (asset imports, import.meta.env) when vite/client
types are unavailable
- Missing external type declarations reported as notes instead of errors
- Network concurrency capped at 16 in-flight requests to avoid the browser
failing dependency downloads with ERR_INSUFFICIENT_RESOURCES