Overview
Reference for the four published packages.
SNA ships four packages, organized by layer.
@sna-sdk/core
Server, session manager, runtime adapters, completion().
@sna-sdk/client
TypeScript client. HTTP + WebSocket transports.
@sna-sdk/react
React hooks and a drop-in chat UI.
@sna-sdk/testing
Mock LLM APIs + isolated real-runtime test helpers.
Versioning
All four packages are released together. The version is the SNA
protocol version. While SNA is in the 0.x.x line, minor releases may
change SDK or runtime behavior, so production apps should pin exact
versions and keep all SNA packages on the same version. See the CHANGELOG
for the per-release surface changes.
Live OpenAPI spec
The running server publishes its own OpenAPI 3.1 spec. Open
http://localhost:3099/docs for Swagger UI,
http://localhost:3099/openapi.json for the raw JSON, or
http://localhost:3099/spec for plain text. The spec is generated
from the same Zod schemas the routes use, so it can't drift from the
real handlers.