@opencode-ai/sdk 0.15.10 → 0.15.11

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.
@@ -892,6 +892,7 @@ export type FileNode = {
892
892
  ignored: boolean;
893
893
  };
894
894
  export type FileContent = {
895
+ type: "text";
895
896
  content: string;
896
897
  diff?: string;
897
898
  patch?: {
@@ -908,6 +909,8 @@ export type FileContent = {
908
909
  }>;
909
910
  index?: string;
910
911
  };
912
+ encoding?: "base64";
913
+ mimeType?: string;
911
914
  };
912
915
  export type File = {
913
916
  path: string;
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.15.10",
4
+ "version": "0.15.11",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",