summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-04-02 10:38:30 -0500
committerGitHub <[email protected]>2026-04-02 15:38:30 +0000
commit510a1e81403c2438498a5d48b61ce4aa998dfcc9 (patch)
tree265852f5fc6e2d4f3b9ee84cf290e5a0fa8b8bc2 /packages/sdk
parent159ede2d5c68ce0e2c2662cc1f89cc9d01a0299e (diff)
downloadopencode-510a1e81403c2438498a5d48b61ce4aa998dfcc9.tar.gz
opencode-510a1e81403c2438498a5d48b61ce4aa998dfcc9.zip
ignore: fix typecheck in dev (#20702)
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts12
-rw-r--r--packages/sdk/openapi.json35
2 files changed, 46 insertions, 1 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 6ac6af143..2f8e99cfe 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -4168,11 +4168,23 @@ export type ProviderListResponses = {
input: Array<"text" | "audio" | "image" | "video" | "pdf">
output: Array<"text" | "audio" | "image" | "video" | "pdf">
}
+ experimental?: boolean
status?: "alpha" | "beta" | "deprecated"
+ options: {
+ [key: string]: unknown
+ }
+ headers?: {
+ [key: string]: string
+ }
provider?: {
npm?: string
api?: string
}
+ variants?: {
+ [key: string]: {
+ [key: string]: unknown
+ }
+ }
}
}
}>
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 549fcc4fe..8e41f9deb 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -4744,10 +4744,29 @@
},
"required": ["input", "output"]
},
+ "experimental": {
+ "type": "boolean"
+ },
"status": {
"type": "string",
"enum": ["alpha", "beta", "deprecated"]
},
+ "options": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ },
+ "headers": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
"provider": {
"type": "object",
"properties": {
@@ -4758,6 +4777,19 @@
"type": "string"
}
}
+ },
+ "variants": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ }
}
},
"required": [
@@ -4768,7 +4800,8 @@
"reasoning",
"temperature",
"tool_call",
- "limit"
+ "limit",
+ "options"
]
}
}