@skenion/contracts
v0.75.0
Published
Generated Skenion v0 wire contracts
Readme
@skenion/contracts
Generated TypeScript DTOs, JSON Schema constants, contract identity, and strict validators for the Skenion v0 wire protocol.
TypeSpec under the source repository's typespec/ directory owns object,
package, graph, project, Runtime HTTP/realtime, log, object-host, capability,
startup, and Studio UI bridge shapes. Cross-field rules are emitted once and
consumed by both TypeScript and Rust validators.
TypeScript validators are compiled to Ajv standalone ESM during generation. Importing the package does not compile schemas or require string code generation, including in browser and desktop WebView CSP environments.
Do not edit src/generated/. Change TypeSpec or the shared generation layer at
the repository root and run pnpm run generate. Runtime execution semantics,
package installation policy, and Object implementations are intentionally not
part of this package.
Canonical repository: https://github.com/skenion/skenion-contracts
