Skip to content

opencode-lmstudio v0.3.1

Latest

Choose a tag to compare

@agustif agustif released this 21 Jun 18:50
418f956

0.3.1 adds API-key authentication for LM Studio servers and publishes the
built JavaScript package entrypoint used by OpenCode.

Highlights:

  • sends configured Bearer authentication through discovery, health checks,
    cache warmup, and runtime model validation;
  • supports explicit provider.lmstudio.options.apiKey, OpenCode {env:NAME}
    references, LMSTUDIO_API_KEY, and LM_API_TOKEN;
  • limits automatic environment-token lookup to local and private-network
    servers;
  • filters embedding models from OpenCode's chat-model list while preserving
    explicit model configuration and whitelists; and
  • ships the generated dist/ entrypoint for package-cache and desktop loading.

Install the immutable package with:

npm install opencode-lmstudio@0.3.1

Thank you to @trigger2k20 for the contribution
in #29.

npm: https://www.npmjs.com/package/opencode-lmstudio/v/0.3.1

Full diff: v0.3.0...v0.3.1