@softomnitel/omnicall-protocol
v0.1.0
Published
OmniCall local protocol v1 runtime schemas, inferred types, and compatibility fixtures
Downloads
330
Readme
@softomnitel/omnicall-protocol
Runtime schemas and inferred TypeScript types for the OmniCall local protocol v1 (ADR-0014…0017).
Status
Implemented in SDK-02. Public surface is schemas, constants, validation helpers,
and compatibility helpers. There is no OmniCallClient and no transport.
Source of truth
Zod schemas author the contract. Types are inferred. Golden fixtures under
fixtures/{valid,invalid,meta}/ are the shared SDK ↔ desktop compatibility corpus
(docs/COMPATIBILITY-FIXTURES.md). Desktop DI-01 must load the same bytes without
translation.
Install (workspace)
cd omnicall-kit
npm ci
npm run build -w @softomnitel/omnicall-protocolBoundaries
protocolmust not import@softomnitel/omnicall-kitor desktopsrc/.- Domain must not import this package (desktop Application/adapters validate at the edge).
- Wire payloads are JSON-safe and redaction-safe; machine-readable errors only.
