Skip to main content

@enclave-vm/types

Type definitions and Zod schemas for the EnclaveJS streaming runtime protocol. This package provides the foundation for type-safe communication between all EnclaveJS components.

Installation

Protocol Identifiers

Session and Call IDs

Session State Machine

Session Limits

Stream Events

Event Types

Event Structures

Zod Schemas

All types have corresponding Zod schemas for runtime validation:

Available Schemas

Encryption Types

Event Filtering Types

Runtime Channel Messages

Reference Tokens