@opencode-ai/sdk 1.0.85 → 1.0.86

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.
@@ -877,6 +877,10 @@ export type Config = {
877
877
  * Disable providers that are loaded automatically
878
878
  */
879
879
  disabled_providers?: Array<string>;
880
+ /**
881
+ * When set, ONLY these providers will be enabled. All other providers will be ignored
882
+ */
883
+ enabled_providers?: Array<string>;
880
884
  /**
881
885
  * Model to use in the format of provider/model, eg anthropic/claude-2
882
886
  */
@@ -958,6 +962,8 @@ export type Config = {
958
962
  };
959
963
  };
960
964
  };
965
+ whitelist?: Array<string>;
966
+ blacklist?: Array<string>;
961
967
  options?: {
962
968
  apiKey?: string;
963
969
  baseURL?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "1.0.85",
4
+ "version": "1.0.86",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",