@opencode-ai/sdk 1.15.9 → 1.15.11

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.
@@ -718,11 +718,15 @@ export type ProviderConfig = {
718
718
  enterpriseUrl?: string;
719
719
  setCacheKey?: boolean;
720
720
  /**
721
- * Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
721
+ * Timeout in milliseconds for full requests to this provider. Set to false to disable timeout.
722
722
  */
723
723
  timeout?: number | false;
724
+ /**
725
+ * Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout.
726
+ */
727
+ headerTimeout?: number | false;
724
728
  chunkTimeout?: number;
725
- [key: string]: unknown | string | boolean | number | false | number | undefined;
729
+ [key: string]: unknown | string | boolean | number | false | number | false | number | undefined;
726
730
  };
727
731
  models?: {
728
732
  [key: string]: {
@@ -755,8 +759,8 @@ export type ProviderConfig = {
755
759
  output: number;
756
760
  };
757
761
  modalities?: {
758
- input: Array<"text" | "audio" | "image" | "video" | "pdf">;
759
- output: Array<"text" | "audio" | "image" | "video" | "pdf">;
762
+ input?: Array<"text" | "audio" | "image" | "video" | "pdf">;
763
+ output?: Array<"text" | "audio" | "image" | "video" | "pdf">;
760
764
  };
761
765
  experimental?: boolean;
762
766
  status?: "alpha" | "beta" | "deprecated" | "active";
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.15.9",
4
+ "version": "1.15.11",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {