timestamp=2026-09-21T09:56:44.764Z level=INFO run=1638ac46 message=event event.id=evt_0c365825c001i9glaoT4GrZf6D event.created=1789984604764 event.type=provider.updated event.location.directory=/private/var/folders/9l/l_jnc13s4rj9nr7ylz0_ypdr0000gn/T/opencode event.location.workspaceID=undefined event.data={}
timestamp=2026-09-21T09:56:44.779Z level=INFO run=1638ac46 message=event event.id=evt_0c365826b001TJDtRbm0U152Yg event.created=1789984604779 event.type=model.updated event.location.directory=/private/var/folders/9l/l_jnc13s4rj9nr7ylz0_ypdr0000gn/T/opencode event.location.workspaceID=undefined event.data={} http.span=300065 role=server
timestamp=2026-09-21T09:56:45.352Z level=INFO run=fb99b67b message="cli starting" version=2.0.11 channel=latest local=false args=[] role=cli
timestamp=2026-09-21T09:56:45.392Z level=INFO run=fb99b67b message="event stream connecting" component=client attempt=0 role=cli
timestamp=2026-09-21T09:56:45.395Z level=INFO run=fb99b67b message="event stream connected" component=client role=cli
timestamp=2026-09-21T09:56:45.400Z level=INFO run=fb99b67b message="plugin reconciliation started" component=plugin id=1 role=cli
timestamp=2026-09-21T09:56:45.406Z level=INFO run=fb99b67b message="plugin reconciliation completed" component=plugin id=1 durationMs=6 plugins=12 role=cli
timestamp=2026-09-21T09:56:45.425Z level=INFO run=fb99b67b message="plugin reconciliation started" component=plugin id=2 role=cli
timestamp=2026-09-21T09:56:45.432Z level=INFO run=fb99b67b message="plugin reconciliation completed" component=plugin id=2 durationMs=7 plugins=12 role=cli
timestamp=2026-09-21T09:56:45.432Z level=INFO run=fb99b67b message="plugin reconciliation started" component=plugin id=3 role=cli
timestamp=2026-09-21T09:56:45.432Z level=INFO run=fb99b67b message="plugin reconciliation completed" component=plugin id=3 durationMs=0 plugins=12 role=cli
timestamp=2026-09-21T09:56:45.447Z level=INFO run=fb99b67b message="plugin reconciliation started" component=plugin id=4 role=cli
timestamp=2026-09-21T09:56:45.452Z level=INFO run=fb99b67b message="plugin reconciliation completed" component=plugin id=4 durationMs=5 plugins=12 role=cli
timestamp=2026-09-21T09:56:45.862Z level=INFO run=fb99b67b message="update check" current=2.0.11 latest=2.0.12 role=cli
timestamp=2026-09-21T09:56:45.863Z level=INFO run=fb99b67b message="OpenCode update available" current=2.0.11 latest=2.0.12 action=notify role=cli
timestamp=2026-09-21T09:56:46.412Z level=INFO run=1638ac46 message="spawning process" command=/opt/homebrew/bin/rg args="[\"--no-config\",\"--files\",\"--glob=!**/.git/**\",\".\"]" cwd=/private/tmp/br0ken http.span=4 role=server
timestamp=2026-09-21T09:56:48.335Z level=INFO run=1638ac46 cause="Error: Schema validation failed\n at <anonymous> (/$bunfs/root/chunk-5tvdqet6.js:4:36213)\n at <anonymous> (/$bunfs/root/chunk-f79f68bn.js:122:299)\n at SessionPrompt.normalizeImageAttachment (/$bunfs/root/chunk-f79f68bn.js:122:23)\n at SessionPrompt.normalizeImageAttachment (definition) (/$bunfs/root/chunk-f79f68bn.js:122:193)\n at SessionPrompt.materializeAttachment (/$bunfs/root/chunk-fzekn76j.js:24:19733)\n at SessionPrompt.materializeAttachment (definition) (/$bunfs/root/chunk-f79f68bn.js:120:1878)\n at SessionPrompt.prepare (/$bunfs/root/chunk-f79f68bn.js:137:4860)\n at SessionPrompt.prepare (definition) (/$bunfs/root/chunk-f79f68bn.js:120:834)\n at Session.prompt (/$bunfs/root/chunk-pa155s7f.js:432:7403)\n at Session.prompt (definition) (/$bunfs/root/chunk-f79f68bn.js:137:4621)\n at Effect.fn (/$bunfs/root/chunk-pa155s7f.js:56:6933)\n at Effect.fn (definition) (/$bunfs/root/chunk-pa155s7f.js:432:7363) {\n [cause]: Error: {\"~effect/SchemaIssue/Issue\":\"~effect/SchemaIssue/Issue\",\"_tag\":\"Composite\",\"ast\":{\"~effect/Schema\":\"~effect/Schema\",\"checks\":[{\"_tag\":\"Filter\",\"annotations\":{\"expected\":\"a string matching the RegExp ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\",\"representation\":{\"id\":\"effect/schema/isPattern\",\"payload\":{\"source\":\"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\",\"flags\":\"\"}},\"arbitrary\":{\"constraint\":{\"patterns\":[\"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\"]}},\"identifier\":\"Prompt.Base64\"},\"aborted\":false}],\"_tag\":\"String\"},\"issues\":[{\"~effect/SchemaIssue/Issue\":\"~effect/SchemaIssue/Issue\",\"_tag\":\"Filter\",\"filter\":{\"_tag\":\"Filter\",\"annotations\":{\"expected\":\"a string matching the RegExp ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\",\"representation\":{\"id\":\"effect/schema/isPattern\",\"payload\":{\"source\":\"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\",\"flags\":\"\"}},\"arbitrary\":{\"constraint\":{\"patterns\":[\"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\"]}},\"identifier\":\"Prompt.Base64\"},\"aborted\":false},\"issue\":{\"~effect/SchemaIssue/Issue\":\"~effect/SchemaIssue/Issue\",\"_tag\":\"InvalidValue\"}}]}\n}" http.span=66 role=server http.method=POST http.url=/api/session/ses_f3c9a701dffe1oxiskq13lE21O/prompt http.status=500
timestamp=2026-09-21T09:57:04.132Z level=INFO run=1638ac46 message=event event.id=evt_0c365ce03001T6kgO6az9e0kkC event.created=1789984624132 event.type=provider.updated event.location.directory=/private/tmp/foo event.location.workspaceID=undefined event.data={}
timestamp=2026-09-21T09:57:04.144Z level=INFO run=1638ac46 message=event event.id=evt_0c365ce10001vKJXLp3nHZb2BM event.created=1789984624144 event.type=model.updated event.location.directory=/private/tmp/foo event.location.workspaceID=undefined event.data={} http.span=1199984 role=server
Description
@foo.xlsxcrashes the session."foo.xlsx" how big?Plugins
No response
OpenCode version
v2.0.12
Steps to reproduce
@foo.xlsxlarge xlsx filefoo.xlsx
Screenshot and/or share link
Operating System
macOS latest
Terminal
Ghostty