summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js/src
diff options
context:
space:
mode:
authorAlex Yaroshuk <[email protected]>2026-02-01 23:40:33 +0800
committerGitHub <[email protected]>2026-02-01 09:40:33 -0600
commit23c803707d2ee1ac71bbb9420272c45139947382 (patch)
treebf448912d6c0d1e16f9ce2396a731e052c527fe8 /packages/sdk/js/src
parentb51005ec4af0dc99e4cdbfb42055581bee584fa4 (diff)
downloadopencode-23c803707d2ee1ac71bbb9420272c45139947382.tar.gz
opencode-23c803707d2ee1ac71bbb9420272c45139947382.zip
fix(app): binary file handling in file view (#11312)
Diffstat (limited to 'packages/sdk/js/src')
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts2
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index ca13e5e93..8eefe5bfe 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -1554,7 +1554,7 @@ export type FileNode = {
}
export type FileContent = {
- type: "text"
+ type: "text" | "binary"
content: string
diff?: string
patch?: {
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index cb2f58677..e992b27bd 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -2042,7 +2042,7 @@ export type FileNode = {
}
export type FileContent = {
- type: "text"
+ type: "text" | "binary"
content: string
diff?: string
patch?: {