@opencode-ai/sdk 0.0.0-dev-202603101507 → 0.0.0-dev-202603101543
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
|
@@ -393,6 +393,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
393
393
|
parentID?: string;
|
|
394
394
|
title?: string;
|
|
395
395
|
permission?: PermissionRuleset;
|
|
396
|
+
workspaceID?: string;
|
|
396
397
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
|
|
397
398
|
/**
|
|
398
399
|
* Get session status
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -1001,7 +1001,11 @@ export type ProviderConfig = {
|
|
|
1001
1001
|
* Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
|
|
1002
1002
|
*/
|
|
1003
1003
|
timeout?: number | false;
|
|
1004
|
-
|
|
1004
|
+
/**
|
|
1005
|
+
* Timeout in milliseconds between streamed SSE chunks for this provider. If no chunk arrives within this window, the request is aborted.
|
|
1006
|
+
*/
|
|
1007
|
+
chunkTimeout?: number;
|
|
1008
|
+
[key: string]: unknown | string | boolean | number | false | number | undefined;
|
|
1005
1009
|
};
|
|
1006
1010
|
};
|
|
1007
1011
|
export type McpLocalConfig = {
|
|
@@ -2341,6 +2345,7 @@ export type SessionCreateData = {
|
|
|
2341
2345
|
parentID?: string;
|
|
2342
2346
|
title?: string;
|
|
2343
2347
|
permission?: PermissionRuleset;
|
|
2348
|
+
workspaceID?: string;
|
|
2344
2349
|
};
|
|
2345
2350
|
path?: never;
|
|
2346
2351
|
query?: {
|