@opencode-ai/sdk 1.15.10 → 1.15.12
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.
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -773,6 +773,8 @@ export declare class Pty extends HeyApiClient {
|
|
|
773
773
|
ptyID: string;
|
|
774
774
|
directory?: string;
|
|
775
775
|
workspace?: string;
|
|
776
|
+
cursor?: string;
|
|
777
|
+
ticket?: string;
|
|
776
778
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
|
|
777
779
|
}
|
|
778
780
|
export declare class Question extends HeyApiClient {
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -1563,6 +1563,8 @@ export class Pty extends HeyApiClient {
|
|
|
1563
1563
|
{ in: "path", key: "ptyID" },
|
|
1564
1564
|
{ in: "query", key: "directory" },
|
|
1565
1565
|
{ in: "query", key: "workspace" },
|
|
1566
|
+
{ in: "query", key: "cursor" },
|
|
1567
|
+
{ in: "query", key: "ticket" },
|
|
1566
1568
|
],
|
|
1567
1569
|
},
|
|
1568
1570
|
]);
|
|
@@ -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.
|
|
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
|
|
759
|
-
output
|
|
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";
|
|
@@ -6892,6 +6896,8 @@ export type PtyConnectData = {
|
|
|
6892
6896
|
query?: {
|
|
6893
6897
|
directory?: string;
|
|
6894
6898
|
workspace?: string;
|
|
6899
|
+
cursor?: string;
|
|
6900
|
+
ticket?: string;
|
|
6895
6901
|
};
|
|
6896
6902
|
url: "/pty/{ptyID}/connect";
|
|
6897
6903
|
};
|