Documentation Index
Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt
Use this file to discover all available pages before exploring further.
@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
| Schema | Description |
|---|---|
SessionIdSchema | Session ID format validation |
CallIdSchema | Call ID format validation |
RefIdSchema | Reference ID format validation |
SessionLimitsSchema | Session limits configuration |
StreamEventSchema | Union of all event types |
SessionInitEventSchema | Session init event |
StdoutEventSchema | Stdout event |
LogEventSchema | Log event |
ToolCallEventSchema | Tool call event |
FinalEventSchema | Final event |
ErrorEventSchema | Error event |