Files
shakespeare/src/lib/tools
Alex Gleason a72eec2966 Add typecheck tool that typechecks projects like tsc --noEmit
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
2026-07-20 13:11:53 -05:00
..
2026-01-21 21:04:52 -06:00
2026-01-21 21:45:30 -06:00
2026-01-21 21:45:30 -06:00
2026-03-06 11:45:21 -06:00
2026-01-23 23:56:10 -06:00
2026-01-23 23:56:10 -06:00
2026-01-22 00:42:01 -06:00
2026-01-22 00:42:01 -06:00
2026-01-21 21:04:52 -06:00