drop excess dependency in opencode sdk

This commit is contained in:
Dax Raad
2025-10-09 20:55:25 -04:00
parent d91781c639
commit f211fc45a3
3 changed files with 14 additions and 12 deletions

View File

@@ -17,13 +17,11 @@
],
"devDependencies": {
"typescript": "catalog:",
"@hey-api/openapi-ts": "0.80.1",
"@hey-api/openapi-ts": "0.81.0",
"@tsconfig/node22": "catalog:"
},
"dependencies": {
"@hey-api/openapi-ts": "0.81.0"
},
"dependencies": {},
"publishConfig": {
"directory": "dist"
}
}
}

View File

@@ -413,6 +413,10 @@ export type Config = {
context: number
output: number
}
modalities?: {
input: Array<"text" | "audio" | "image" | "video" | "pdf">
output: Array<"text" | "audio" | "image" | "video" | "pdf">
}
experimental?: boolean
options?: {
[key: string]: unknown
@@ -746,6 +750,7 @@ export type ToolStateCompleted = {
end: number
compacted?: number
}
attachments?: Array<FilePart>
}
export type ToolStateError = {
@@ -904,6 +909,10 @@ export type Model = {
context: number
output: number
}
modalities?: {
input: Array<"text" | "audio" | "image" | "video" | "pdf">
output: Array<"text" | "audio" | "image" | "video" | "pdf">
}
experimental?: boolean
options: {
[key: string]: unknown