Skip to content

Sysone 0.3.0 — zero dependencies

Choose a tag to compare

@6uimorais 6uimorais released this 19 Sep 07:07
· 24 commits to main since this release

Sysone 0.3.0 has zero runtime, optional or peer dependencies, including every provider. The complete library is 3,902 bytes minified + gzip; the core alone is 2,711 bytes.

  • Vercel now uses native fetch against the Gateway evaluation protocol. Remove ai and @ai-sdk/gateway if your application does not use them elsewhere. The explicit { provider, model } interface is unchanged.
  • All providers share a small HTTP transport with cancellation, sanitized failures and no retries. Response evidence and metadata are validated locally. Malformed Gateway responses now consistently use INVALID_RESPONSE.
  • Compact ESM entry points share implementation code and support tree shaking. TypeScript declarations are included. No third-party runtime code is bundled.
  • CI enforces a 4,000-byte gzip budget for core plus all providers, verifies published size claims, and rejects dependency additions.

Measured with all core exports retained, esbuild 0.28.2, ESM/ES2022, gzip level 9 (zlib 1.3.1.zlib-ng). Compression implementations can vary slightly; CI checks bundle hashes and enforces the same budget on each Node version. These are JavaScript bundle sizes, excluding types and documentation; they are not tarball download sizes. Reproduce with npm run build && npm run size.

Validation: 31 tests, type checks, production build, and a normal install into an empty consumer containing only Sysone. All three providers execute without external packages. The direct Vercel transport was validated with live Jev predicate, classifier and rubric requests before promoting the deployment.

The Gateway evaluation protocol remains experimental; Sysone now maintains the HTTP adapter directly. See docs/vercel-transport.md for the wire contract.

The initial npm publication remains pending authentication. Install the release package:

npm install https://github.com/sysone-help/sysone/releases/download/v0.3.0/sysone-0.3.0.tgz

Node.js 22+ and ESM. No additional packages are needed for any provider.