mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
drop excess dependency in opencode sdk
This commit is contained in:
parent
d91781c639
commit
f211fc45a3
3 changed files with 14 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue