mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-20 09:14:22 +01:00
drop excess dependency in opencode sdk
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user