Changelog
v0.2.0 (Latest)
Enterprise Plugin Architecture
- Middleware Hooks: Introduced the
TekimaxPlugininterface exposing lifecycle hooks (beforeRequest,afterResponse,onStreamChunk,beforeToolExecute,afterToolExecute). - Security (
PIIFilterPlugin): Built-in plugin to redact sensitive regex patterns (emails, SSNs) before they leave the client. - Scalability (
MaxContextOverflowPlugin): Built-in plugin to safely truncate context windows on long-running loops while safely preserving system prompts. - Telemetry (
LoggerPlugin): Standardized console logging for requests, tool executions, and tokens.
Core Capabilities
- Real-Time Streaming: Native support for Server-Sent Events (SSE) via Javascript Async Iterables (
client.text.generateStream()). - Embeddings API: Unified interface for text embeddings (
client.text.embed()). - React Hooks: Exported
useChathook fromtekimax-ts/reactsupporting chunked streaming directly in the frontend.
Provider Catalog Fusion
- Models.dev Introspection: The SDK now optionally fuses metadata from the
models.devcatalog into standardModelDefinitionobjects. - Strict Capabilities:
getModels()exposes an authoritative map of model limits, costs, supported modalities, and reasoning (think) capabilities.
v0.1.9 (Latest)
Multi-Modal Parity
- OpenAIProvider: Added
generateImage,analyzeImage,generateSpeech, andtranscribeAudio. - GeminiProvider: Added
analyzeImageandanalyzeVideo(Video-to-Text). - AnthropicProvider: Added
analyzeImage(Vision via Claude 3.5 Sonnet). - Core: Validated unified multi-modal interfaces across all modalities.
v0.1.8
Tooling & Parity
- GeminiProvider: Added full support for function calling (
toolsandtool_choice). Gemini usesfunctionDeclarationsinternally, but the SDK normalizes this to the standardtoolsarray format. - AnthropicProvider: Implemented response parsing for
tool_useblocks, mapping Anthropic's content-block format to the unifiedtoolCallsarray. - Parity: Achieved tool calling parity across OpenAI, Ollama, Gemini, and Anthropic.
Browser Compatibility
- OllamaProvider: Switched import from
ollamatoollama/browserto avoidnode:fsexternalization errors in Vite/Next.js client-side builds. The/browsersub-export strips Node-only file-system code. - Utilities: Added browser-safe
fileToBase64helper usingFileReaderinstead ofBuffer.
Core Enhancements
- Reasoning: Added
parseThinkingutility to handle<think>blocks from models like DeepSeek-R1. Handles three cases: no think tag, streaming (tag opened but not closed), and complete blocks. - Exports: Exposed
ToolDefinitionandToolCalltypes from root.
v0.1.1
Adapter Standardization
- TekimaxProvider: Added support for Stateless Mode (full history mapping).
- OllamaProvider: Added support for Cloud Authentication (
apiKeyoption). Uses a customfetchwrapper to injectAuthorization: Bearerheaders, because the Ollama JS SDK doesn't natively support auth tokens. - Verified: Consistency checks passed for Anthropic, Gemini, OpenAI, and internal adapters.
Documentation
- Updated core documentation to reflect stateless capabilities.
- Added usage examples for authenticated Ollama connections.
- Removed stale "Supported Models" lists in favor of linking to official provider documentation.
Dependencies Updated
- openai:
4.0.0→^6.17.0(major upgrade — v6 changed response types and requiresmax_completion_tokensinstead ofmax_tokens). - @anthropic-ai/sdk:
0.33.1→^0.72.1. - @google/generative-ai:
0.21.0→^0.24.1. - ollama:
0.5.11→^0.6.3.
v0.1.0 (Initial Release)
Features
- Monorepo Structure: Migrated to Turborepo for unified builds across SDK, docs, and UI packages.
- Unified Client:
Tekimaxclient withAIProviderinterface. - Adapters: Initial support for Anthropic, Gemini, Grok, Ollama, OpenAI, and OpenRouter.
- Docs: Launched documentation site on Cloudflare Pages.
