@opencode-ai/sdk 0.14.6 → 0.15.0
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.
- package/dist/gen/types.gen.d.ts +9 -0
- package/package.json +6 -7
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -393,6 +393,10 @@ export type Config = {
|
|
|
393
393
|
context: number;
|
|
394
394
|
output: number;
|
|
395
395
|
};
|
|
396
|
+
modalities?: {
|
|
397
|
+
input: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
398
|
+
output: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
399
|
+
};
|
|
396
400
|
experimental?: boolean;
|
|
397
401
|
options?: {
|
|
398
402
|
[key: string]: unknown;
|
|
@@ -697,6 +701,7 @@ export type ToolStateCompleted = {
|
|
|
697
701
|
end: number;
|
|
698
702
|
compacted?: number;
|
|
699
703
|
};
|
|
704
|
+
attachments?: Array<FilePart>;
|
|
700
705
|
};
|
|
701
706
|
export type ToolStateError = {
|
|
702
707
|
status: "error";
|
|
@@ -832,6 +837,10 @@ export type Model = {
|
|
|
832
837
|
context: number;
|
|
833
838
|
output: number;
|
|
834
839
|
};
|
|
840
|
+
modalities?: {
|
|
841
|
+
input: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
842
|
+
output: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
843
|
+
};
|
|
835
844
|
experimental?: boolean;
|
|
836
845
|
options: {
|
|
837
846
|
[key: string]: unknown;
|
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": "0.
|
|
4
|
+
"version": "0.15.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
@@ -25,13 +25,12 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@hey-api/openapi-ts": "0.81.0"
|
|
28
|
+
"@hey-api/openapi-ts": "0.81.0",
|
|
29
|
+
"@tsconfig/node22": "22.0.2",
|
|
30
|
+
"@types/node": "24.7.1",
|
|
31
|
+
"typescript": "5.8.2"
|
|
34
32
|
},
|
|
33
|
+
"dependencies": {},
|
|
35
34
|
"publishConfig": {
|
|
36
35
|
"directory": "dist"
|
|
37
36
|
}
|