Runs a synchronous inference. Returns the JSON response as a Dart
string, or null on failure. The native string buffer is freed
internally — callers do not need to call stringFree.
Where the runtime keeps its on-disk KV cache (the prefilled prompt prefix,
restored at the next model load so the first turn after a cold start
skips re-reading it). Process-wide; read at model load. An empty string
turns the cache off. Returns false when the runtime lacks the feature.
Telemetry snapshot as a JSON array of inference metrics (each optionally
carrying fallback diagnostics). Returns null when the engine handle is
invalid or nothing has been recorded. The native buffer is freed here.