@melony/client

Connect to Melony runtimes from any JavaScript environment.

Overview

The @melony/client package provides a robust client for communicating with a Melony runtime over HTTP. It handles streaming, state management, and action dispatching.

npm install @melony/client

Features

  • Framework Agnostic: Works in React, Vue, Svelte, Node.js, or vanilla JS.
  • Streaming Support: Handles server-sent events (SSE) and chunked responses.
  • State Management: Tracks conversation history and current agent state.