Skip to main content
The TypeScript SDK targets Node.js 20 or newer and uses the platform fetch implementation. It has no runtime dependency and calls only the InferCrane HTTP surfaces.
The npm rc tag resolves to the public beta. Use the SDK version from the same InferCrane release as the control plane; stable 1.0.0 remains reserved for the stable release.
wait accepts an AbortSignal. Aborting the local wait does not cancel the durable operation. Call client.cancel(operation.id) only when cooperative server-side cancellation is intentional.
The SDK verifies HTTP status before decoding, exposes ApiError, OperationFailed, OperationCancelled, OperationTimeout, and StreamError, and never retries a streaming request after transmission begins.

Evaluate inference evidence

SLO thresholds are validated before transmission. These methods persist and inspect deterministic, advisory decisions; they do not apply a candidate configuration automatically.