@mcowger/opencode-plexus 1.4.8 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -721,8 +721,8 @@ var PlexusProviderPlugin = async (ctx) => {
721
721
  const key = authKey ?? apiKey;
722
722
  if (!baseURL) {
723
723
  log.info("Provider hook skipped live refresh; baseURL missing");
724
- const cached2 = await readCachedModels(client, suppress);
725
- return cached2 ? toRuntimeModels(cached2.models, provider) : {};
724
+ const cached = await readCachedModels(client, suppress);
725
+ return cached ? toRuntimeModels(cached.models, provider) : {};
726
726
  }
727
727
  const refreshPromise = refreshModels(client, baseURL, log, key, false, suppress);
728
728
  const race = await raceWithTimeout(refreshPromise, CONFIG_HOOK_REFRESH_BUDGET_MS);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcowger/opencode-plexus",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "OpenCode plugin: Plexus provider with dynamic model discovery",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",