-
Notifications
You must be signed in to change notification settings - Fork 502
OpenCode threads fail on Markdown file attachments #3499
Copy link
Copy link
Open
Labels
opencodeOpenCode providerOpenCode providerpartial-reproBug partially reproduced; some claims unverified; see linked reportBug partially reproduced; some claims unverified; see linked reportprovider-acpBuilt-in plugin: provider-acpBuilt-in plugin: provider-acpprovidersCross-provider bridges, models, loginCross-provider bridges, models, login
Description
Activity
Metadata
Metadata
Assignees
Labels
opencodeOpenCode providerOpenCode providerpartial-reproBug partially reproduced; some claims unverified; see linked reportBug partially reproduced; some claims unverified; see linked reportprovider-acpBuilt-in plugin: provider-acpBuilt-in plugin: provider-acpprovidersCross-provider bridges, models, loginCross-provider bridges, models, login
What happened
BB accepts a Markdown attachment when creating an OpenCode thread, but the turn fails before inference with:
Later text-only messages such as
resumefail with the same error, so the thread cannot recover normally.What should happen
OpenCode threads should receive supported file input, such as a staged file-path text marker, or BB should reject unsupported attachments before starting the turn with an actionable message. A rejected attachment should not prevent later text-only turns from running.
Repro
.mdfile with MIME typetext/markdown.Evidence
thr_7cyd92n6mdon BB0.42.2-nightly.34486466131.1.packages/provider-bridge-acp/src/bridge/bridge.ts:1290-1296converts everylocalFileto an ACPresource_linkwithout provider capability handling.packages/provider-bridge-acp/src/bridge/bridge.test.tshas nolocalFileorresource_linkcoverage.localFile, which provides a compatible fallback pattern.Acceptance