@opencode-ai/sdk 0.3.111 → 0.3.112

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.
@@ -552,6 +552,21 @@ export type Config = {
552
552
  extensions?: Array<string>;
553
553
  };
554
554
  };
555
+ lsp?: {
556
+ [key: string]: {
557
+ disabled: boolean;
558
+ } | {
559
+ command: Array<string>;
560
+ extensions?: Array<string>;
561
+ disabled?: boolean;
562
+ env?: {
563
+ [key: string]: string;
564
+ };
565
+ initialization?: {
566
+ [key: string]: unknown;
567
+ };
568
+ };
569
+ };
555
570
  /**
556
571
  * Additional instruction files or patterns to include
557
572
  */
@@ -739,6 +754,7 @@ export type KeybindsConfig = {
739
754
  export type ModeConfig = {
740
755
  model?: string;
741
756
  temperature?: number;
757
+ top_p?: number;
742
758
  prompt?: string;
743
759
  tools?: {
744
760
  [key: string]: boolean;
@@ -861,6 +877,7 @@ export type File = {
861
877
  export type Mode = {
862
878
  name: string;
863
879
  temperature?: number;
880
+ topP?: number;
864
881
  model?: {
865
882
  modelID: string;
866
883
  providerID: 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": "0.3.111",
4
+ "version": "0.3.112",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./dist/index.js"