jev_dart 0.1.5
jev_dart: ^0.1.5 copied to clipboard
Dart client for TypeSafe AI (Jev / System One). Send state and typed questions; get structured answers. Pure Dart — works in CLI, server, and Flutter.
Changelog #
0.1.5 - 2026-09-23 #
- Keep pooled HTTP/2 as the native default for connection reuse and throughput. Caller cancellation and timeouts stop waiting in the SDK, but do not abort a request already sent on the HTTP/2 stream.
- Parse standard HTTP-date values in
Retry-Afterheaders, while retaining support for ISO-8601 dates accepted by earlier versions. - Add
http_parseras a direct dependency for HTTP-date parsing. - Add a package screenshot and a Snake example; expand the README with the package overview and performance characteristics.
0.1.4 - 2026-09-21 #
- Major serialization and memory-path optimization for request/response throughput.
- Native VM/mobile/desktop requests now encode directly to UTF-8 bytes with Crimson,
avoiding the intermediate JSON
Stringand reducing encoding allocations. - Native JSON responses are decoded from
bodyBytesthrough Crimson; non-JSON, unsupported targets, and decoder failures retain the tolerant standard fallback. - Encoded request bytes are reused across retries instead of being serialized again.
- Reduced hot-path allocations by caching invariant headers and removing redundant
Mapcopies during typed response decoding. - Avoided stopwatch, redaction, and debug-log allocations when logging is disabled.
- Kept a
JsonUtf8Encoderfallback for values that exposetoJson()and for Web. - Documented the valid-JSON API contract required by the native fast decoder.
0.1.1 #
- Dart analysis fix
0.1.0 #
-
Example: playground quickstart, JS SDK demo ticket, and a calm contrast case with checks.
-
Package name:
jev_dart. -
Initial Dart client for TypeSafe System One (
systemOne,models.list). -
Question builders:
noul,choice,score. -
HTTP/2 default on VM via
package:http2;package:httpon web. -
Retries, timeouts, and typed API errors.
