@melony/core

The foundation of the Melony framework.

Overview

The @melony/core package contains the shared types, event definitions, and protocol specifications used across the entire framework. It has zero dependencies and is designed to be lightweight.

npm install @melony/core

Key Concepts

  • Events: Standardized event types for streaming UI and data.
  • Protocol: The communication protocol between the runtime and the client.
  • Types: Shared TypeScript interfaces for actions, messages, and state.