summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-19 15:15:43 -0600
committerAdam <[email protected]>2025-12-20 04:25:17 -0600
commita9700c8773cb3475abfb7b32474d250cd7be010c (patch)
tree6b845dafde74cdc6c79929468dbc62ca1efd3fa6 /packages
parent26cf5e003ebd402b3343504dd6726a4c8cc9ffe3 (diff)
downloadopencode-a9700c8773cb3475abfb7b32474d250cd7be010c.tar.gz
opencode-a9700c8773cb3475abfb7b32474d250cd7be010c.zip
fix: shouldEncode
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/file/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/file/index.ts b/packages/opencode/src/file/index.ts
index 821a7365f..148ab45cb 100644
--- a/packages/opencode/src/file/index.ts
+++ b/packages/opencode/src/file/index.ts
@@ -73,6 +73,7 @@ export namespace File {
async function shouldEncode(file: BunFile): Promise<boolean> {
const type = file.type?.toLowerCase()
+ log.info("shouldEncode", { type })
if (!type) return false
if (type.startsWith("text/")) return false
@@ -92,7 +93,6 @@ export namespace File {
"bzip",
"compressed",
"binary",
- "stream",
"pdf",
"msword",
"powerpoint",