Skip to content

v0.4.9 Release

Choose a tag to compare

@yuhp yuhp released this 09 Apr 10:04
· 424 commits to main since this release

Breaking Changes

  • None

New Features

  • Universal OpenAI-Compatible Provider Support: Plugin now auto-discovers models from ANY provider with OpenAI-compatible endpoints, not just LM Studio
  • Provider Detection: Supports both strict detection (npm === "@ai-sdk/openai-compatible") and URL-based detection (baseURL contains /v1/)
  • Provider Filtering: Configure which providers to discover with providers.include and providers.exclude
  • Configurable Discovery TTL: Set cache TTL via discovery.ttl (default 15000ms)
  • API Key Support: Health checks and model discovery now support API key authentication

Refactoring

  • Removed Validation Feature: Plugin now focuses exclusively on automatic model discovery. Validation (checking if a model is loaded/available) is handled by the AI SDK or provider
  • Simplified PluginConfig: Removed validation-related configuration fields
  • Moved Type Guards: canDiscoverModels, isOpenAICompatibleProvider, etc. moved to openai-compatible-api.ts

Documentation

  • Added original author credit (forked from opencode-lmstudio)
  • Clarified plugin focuses on discovery only, not validation
  • Added engines.opencode: ">=1.4.0" requirement