Skip to content

Releases: agustif/opencode-lmstudio

v0.3.0

18 Dec 03:43

Choose a tag to compare

🎉 Release v0.3.0

Changes

  • c0d3288 chore: bump version to 0.3.0
  • 50323db chore: bump version to 0.2.1
  • 4ad232a chore: bump version to 0.2.0
  • 7c022de chore(deps): bump esbuild, vitest and @vitest/coverage-v8 (#6)
  • 7307708 chore: bump version to 0.1.1
  • a161e7b docs: add comprehensive release documentation
  • 65d3438 feat: add GitHub Actions workflow for automated releases
  • aa66734 feat: support NPM_TOKEN environment variable in release script
  • 3345734 fix: improve npm publish error handling - don't exit on failure
  • 14f7011 feat: add automated release script

Installation

npm install opencode-lmstudio@0.3.0
# or
bun add opencode-lmstudio@0.3.0

Features

  • Auto-detection: Automatically detects LM Studio running on common ports
  • Dynamic Model Discovery: Queries LM Studio's /v1/models endpoint
  • Smart Model Formatting: Automatically formats model names for better readability
  • Organization Owner Extraction: Extracts and sets organizationOwner field
  • Health Check Monitoring: Verifies LM Studio is accessible
  • Automatic Configuration: Auto-creates lmstudio provider if detected
  • Model Merging: Intelligently merges discovered models with existing configuration
  • Comprehensive Caching: Reduces API calls with intelligent caching
  • Error Handling: Smart error categorization with auto-fix suggestions

v0.2.1

18 Dec 03:30

Choose a tag to compare

🎉 Release v0.2.1

Changes

  • 50323db chore: bump version to 0.2.1
  • 4ad232a chore: bump version to 0.2.0
  • 7c022de chore(deps): bump esbuild, vitest and @vitest/coverage-v8 (#6)
  • 7307708 chore: bump version to 0.1.1
  • a161e7b docs: add comprehensive release documentation
  • 65d3438 feat: add GitHub Actions workflow for automated releases
  • aa66734 feat: support NPM_TOKEN environment variable in release script
  • 3345734 fix: improve npm publish error handling - don't exit on failure
  • 14f7011 feat: add automated release script
  • 64c3762 fix: normalize repository URL format for npm

Installation

npm install opencode-lmstudio@0.2.1
# or
bun add opencode-lmstudio@0.2.1

Features

  • Auto-detection: Automatically detects LM Studio running on common ports
  • Dynamic Model Discovery: Queries LM Studio's /v1/models endpoint
  • Smart Model Formatting: Automatically formats model names for better readability
  • Organization Owner Extraction: Extracts and sets organizationOwner field
  • Health Check Monitoring: Verifies LM Studio is accessible
  • Automatic Configuration: Auto-creates lmstudio provider if detected
  • Model Merging: Intelligently merges discovered models with existing configuration
  • Comprehensive Caching: Reduces API calls with intelligent caching
  • Error Handling: Smart error categorization with auto-fix suggestions

v0.2.0

18 Dec 03:29

Choose a tag to compare

🎉 Release v0.2.0

Changes

  • 4ad232a chore: bump version to 0.2.0
  • 7c022de chore(deps): bump esbuild, vitest and @vitest/coverage-v8 (#6)
  • 7307708 chore: bump version to 0.1.1
  • a161e7b docs: add comprehensive release documentation
  • 65d3438 feat: add GitHub Actions workflow for automated releases
  • aa66734 feat: support NPM_TOKEN environment variable in release script
  • 3345734 fix: improve npm publish error handling - don't exit on failure
  • 14f7011 feat: add automated release script
  • 64c3762 fix: normalize repository URL format for npm
  • ab9fa5a docs: update README with new features and add prepublishOnly script

Installation

npm install opencode-lmstudio@0.2.0
# or
bun add opencode-lmstudio@0.2.0

Features

  • Auto-detection: Automatically detects LM Studio running on common ports
  • Dynamic Model Discovery: Queries LM Studio's /v1/models endpoint
  • Smart Model Formatting: Automatically formats model names for better readability
  • Organization Owner Extraction: Extracts and sets organizationOwner field
  • Health Check Monitoring: Verifies LM Studio is accessible
  • Automatic Configuration: Auto-creates lmstudio provider if detected
  • Model Merging: Intelligently merges discovered models with existing configuration
  • Comprehensive Caching: Reduces API calls with intelligent caching
  • Error Handling: Smart error categorization with auto-fix suggestions

v0.1.1

18 Dec 03:17

Choose a tag to compare

🎉 Release v0.1.1

Changes

  • 7307708 chore: bump version to 0.1.1
  • a161e7b docs: add comprehensive release documentation
  • 65d3438 feat: add GitHub Actions workflow for automated releases
  • aa66734 feat: support NPM_TOKEN environment variable in release script
  • 3345734 fix: improve npm publish error handling - don't exit on failure
  • 14f7011 feat: add automated release script
  • 64c3762 fix: normalize repository URL format for npm
  • ab9fa5a docs: update README with new features and add prepublishOnly script
  • 1481f9d refactor: modularize codebase and improve model discovery
  • 0cd6c29 Merge pull request #5 from agustif/feat/task-1-4-loading-state-monitoring

Installation

npm install opencode-lmstudio@0.1.1
# or
bun add opencode-lmstudio@0.1.1

Features

  • Auto-detection: Automatically detects LM Studio running on common ports
  • Dynamic Model Discovery: Queries LM Studio's /v1/models endpoint
  • Smart Model Formatting: Automatically formats model names for better readability
  • Organization Owner Extraction: Extracts and sets organizationOwner field
  • Health Check Monitoring: Verifies LM Studio is accessible
  • Automatic Configuration: Auto-creates lmstudio provider if detected
  • Model Merging: Intelligently merges discovered models with existing configuration
  • Comprehensive Caching: Reduces API calls with intelligent caching
  • Error Handling: Smart error categorization with auto-fix suggestions

v0.1.0 - Initial Release

18 Dec 03:11

Choose a tag to compare

🎉 Initial Release

Features

  • Auto-detection: Automatically detects LM Studio running on common ports (1234, 8080, 11434)
  • Dynamic Model Discovery: Queries LM Studio's /v1/models endpoint to discover available models
  • Smart Model Formatting: Automatically formats model names for better readability (e.g., "Qwen3 30B A3B" instead of "qwen/qwen3-30b-a3b")
  • Organization Owner Extraction: Extracts and sets organizationOwner field from model IDs
  • Health Check Monitoring: Verifies LM Studio is accessible before attempting operations
  • Automatic Configuration: Auto-creates lmstudio provider if detected but not configured
  • Model Merging: Intelligently merges discovered models with existing configuration
  • Comprehensive Caching: Reduces API calls with intelligent caching system
  • Error Handling: Smart error categorization with auto-fix suggestions

Architecture

  • Modular Codebase: Highly modular, atomic file structure following OpenCode patterns
  • Type-Safe: Full TypeScript with strict type checking
  • Well-Tested: 16 comprehensive tests covering all major functionality
  • Production-Ready: Clean code, proper error handling, and comprehensive logging

Installation

npm install opencode-lmstudio
# or
bun add opencode-lmstudio

Usage

Add to your opencode.json:

{
  "plugin": ["opencode-lmstudio@latest"],
  "provider": {
    "lmstudio": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LM Studio",
      "options": {
        "baseURL": "http://127.0.0.1:1234/v1"
      }
    }
  }
}

The plugin will automatically discover and configure models from your running LM Studio instance.