@opencode-ai/sdk 0.15.10 → 0.15.12
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 +7 -2
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -552,8 +552,10 @@ export type Todo = {
|
|
|
552
552
|
};
|
|
553
553
|
export type FileDiff = {
|
|
554
554
|
file: string;
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
before: string;
|
|
556
|
+
after: string;
|
|
557
|
+
additions: number;
|
|
558
|
+
deletions: number;
|
|
557
559
|
};
|
|
558
560
|
export type UserMessage = {
|
|
559
561
|
id: string;
|
|
@@ -892,6 +894,7 @@ export type FileNode = {
|
|
|
892
894
|
ignored: boolean;
|
|
893
895
|
};
|
|
894
896
|
export type FileContent = {
|
|
897
|
+
type: "text";
|
|
895
898
|
content: string;
|
|
896
899
|
diff?: string;
|
|
897
900
|
patch?: {
|
|
@@ -908,6 +911,8 @@ export type FileContent = {
|
|
|
908
911
|
}>;
|
|
909
912
|
index?: string;
|
|
910
913
|
};
|
|
914
|
+
encoding?: "base64";
|
|
915
|
+
mimeType?: string;
|
|
911
916
|
};
|
|
912
917
|
export type File = {
|
|
913
918
|
path: string;
|