Repository navigation
v2.7.0
Minor Changes
-
Server-side safety fallback (ported from cortexkit/anthropic-auth v1.19.0): OAuth requests for
claude-fable-5/claude-opus-5now opt into Anthropic'sfallbacks: "default"server-side safety
fallback, so a content-filter refusal is transparently rerouted instead of returned as an error. The
returnedfallbackcontent block is hidden behind a signedthinkingmarker before being stored by
OpenCode, and restored on the next replay before the request is signed. Only affects the OAuth fetch
path — custom API-key routes are unaffected. -
Assistant prefill strip (ported from cortexkit/anthropic-auth v1.19.0): trailing whitespace-only
text after the latest assistanttool_useis removed before replay, preventing a valid tool-result
continuation from being rejected as an unsupported assistant prefill.