@opencode-ai/sdk 1.0.22 → 1.0.24

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.
@@ -385,6 +385,10 @@ export type Config = {
385
385
  options?: {
386
386
  apiKey?: string;
387
387
  baseURL?: string;
388
+ /**
389
+ * GitHub Enterprise URL for copilot authentication
390
+ */
391
+ enterpriseUrl?: string;
388
392
  /**
389
393
  * Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
390
394
  */
@@ -1020,6 +1024,7 @@ export type OAuth = {
1020
1024
  refresh: string;
1021
1025
  access: string;
1022
1026
  expires: number;
1027
+ enterpriseUrl?: string;
1023
1028
  };
1024
1029
  export type ApiAuth = {
1025
1030
  type: "api";
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.0.22",
4
+ "version": "1.0.24",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",