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.
@infercrane/sdk is repository-local during release-candidate qualification. Do not depend on
an npm package until InferCrane publishes and signs it.
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.