jev_dart 0.1.5 copy "jev_dart: ^0.1.5" to clipboard
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-After headers, while retaining support for ISO-8601 dates accepted by earlier versions.
  • Add http_parser as 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 String and reducing encoding allocations.
  • Native JSON responses are decoded from bodyBytes through 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 Map copies during typed response decoding.
  • Avoided stopwatch, redaction, and debug-log allocations when logging is disabled.
  • Kept a JsonUtf8Encoder fallback for values that expose toJson() 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:http on web.

  • Retries, timeouts, and typed API errors.

2
likes
160
points
167
downloads
screenshot

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Dart client for TypeSafe AI (Jev / System One). Send state and typed questions; get structured answers. Pure Dart — works in CLI, server, and Flutter.

Repository (GitHub)
View/report issues

Topics

#ai #api #http #typesafe #jev

License

MIT (license)

Dependencies

crimson, http, http2, http_parser

More

Packages that depend on jev_dart