@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.
@@ -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
@@ -752,6 +752,7 @@ export class Session2 extends HeyApiClient {
752
752
  { in: "body", key: "parentID" },
753
753
  { in: "body", key: "title" },
754
754
  { in: "body", key: "permission" },
755
+ { in: "body", key: "workspaceID" },
755
756
  ],
756
757
  },
757
758
  ]);
@@ -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
- [key: string]: unknown | string | boolean | number | false | undefined;
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?: {
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.0.0-dev-202603101507",
4
+ "version": "0.0.0-dev-202603101543",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {