@moderniser/plugin 0.1.2 → 0.1.3

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 +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -419,6 +419,7 @@ var ModerniserPlugin = async () => {
419
419
  options: { baseURL: GATEWAY(), ...key ? { apiKey: key } : {} },
420
420
  models
421
421
  };
422
+ config.enabled_providers ??= [PROVIDER_ID];
422
423
  const requested = process.env.MODERNISER_MODEL;
423
424
  if (requested !== "off") {
424
425
  config.model ??= requested || DEFAULT_MODEL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moderniser/plugin",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Moderniser plugin for opencode: points inference at the gateway, carries the board and Context Hub tools, and reports session telemetry",
6
6
  "license": "MIT",