workspace sdk/ directory (contains types/ and sdk-binding.d.ts)
directory with TypeScript lib files
Type-check agent code.
agent TypeScript (function body)
diagnostics (empty when the code type-checks)
Warm the language service so the first agent call is fast.
A persistent language service over the prepared SDK declarations.