# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- ChatEngine for integrated chat flow
- MessageStore and MemoryStore interfaces
- Provider Registry with factory support
- Context Manager with LRU token caching
- Session-based incremental context updates
- Streaming support (async generators + callbacks)
- Typed error hierarchy
- Component-wise examples

### Changed
- Renamed package from @chatreal/llm-sdk to llm-sdk
- ModelConfig now supports defaultSettings

### Fixed
- Token cache now model-aware for accurate counts

## [1.0.0] - 2024-12-06

### Added
- Initial release
- Multi-provider support (OpenAI, Friendli, Novita)
- Context management with truncation strategies
- Prompt management with Zod validation
- Retry logic with exponential backoff
- Request cancellation with AbortSignal
- Tokenization with fallback support
