@fricken/protocol
v0.4.0
Published
Canonical wire-protocol types, msgpack codecs, schema metadata, and generated artifact helpers for the Frick framework.
Readme
@fricken/protocol
Canonical wire-protocol types, msgpack codecs, schema metadata, and generated artifact helpers for the Frick framework.
This package is the source of truth for the wire contract every Frick client and server speaks. It exports:
FrickSchema,validateSchema,foundationSchemaFrameKindenum andFrickFramediscriminated unionFrickErrorEnvelope,createFrickErrorEnvelope,isFrickErrorEnvelopeFrickClientCapabilities,FrickServerCapabilities, capability helperscompareSchemaCompatibility,requireSchemaCompatibility- Schema linter (
lintSchema,lintSchemaChange) - Native-artifact generator entry points for Swift and Kotlin
- Reference fixtures under
fixtures/used by every SDK's conformance suite
See docs/versioning.md for compatibility rules and docs/cross-platform-client-contract.md for what every client must honor.
Install
pnpm add @fricken/protocolLicense
See repository root.
