Releases: CUNY-AI-Lab/cail-client
Release list
v6.2.2
Shares AbortSignal validation and cancellation helpers without changing the public API. Preserves Mantle catalog and Worker service binding support; adds multipart upload and serialization regression coverage. Reviewed in #20. Exact main CI passed before publication.
v6.2.1
Fix catalog parsing for descriptions containing CR/LF line breaks. The client preserves those descriptions exactly while continuing to reject other control characters and line breaks in model identifiers and other text fields.
The full package gate passed, including 64 tests, and independent review found no issues. The corrected client parsed the actual public Gateway catalog with all 291 models, including seven multiline descriptions.
v6.2.0
Adds Bedrock Mantle provider support to the catalog parser and preserves the Workerd redirect handling shipped in 6.1.1. Verified by the complete 52-test package check and exact-main CI.
cail-client 6.1.1
Fix Worker-runtime compatibility in the shared Gateway transport. Requests now use redirect: "manual" while the client continues to reject opaque and HTTP 3xx redirects, cancel discarded response bodies, and make one attempt.
Both 6.0.0 and 6.1.0 were affected. This patch preserves the existing client API.
Verified with 52 tests, including actual local Workerd service-binding requests and redirect-destination refusal. No model inference was used.
Fix: #18
Report: CUNY-AI-Lab/cail-gateway#117
v6.1.0
cail-client 6.0.0
cail-client 6.0.0
- Exports the canonical Gateway origin and OpenAI
/v1base URL. - Defaults omitted
baseUrltohttps://tools.ailab.gc.cuny.edu; explicit custom-origin overrides remain supported. - Moves quota transport to
/v1/quota; the legacy/quotapath is removed. - Updates documentation/tests and publishes the v6 wire contract.
cail-client 5.0.1
Harden cail-client contracts and runtime boundaries, adopt the complete anti-slop lint profile, pin the vulnerable nanoid transitive dependency, and publish the 5.0.1 patch release.
cail-client 5.0.0
Expose Cloudflare-managed estimated quota usage and remove the former reset/enforcement snapshot fields.
cail-client v4.0.1
Thin CAIL extensions for catalog, quota, native run, and typed CAIL errors. Ordinary OpenAI-compatible inference now uses standard provider SDKs directly.
cail-client 3.0.2
Raises the successful public catalog response limit to 8 MiB while preserving the 64 KiB error and quota response limits. Includes production-shaped catalog, exact-bound, and oversized-stream cancellation coverage.