openpencil/tests
rcoenen ff31f90de9
fix(ai): opt into Anthropic direct browser access (#438)
Anthropic omits Access-Control-Allow-Origin unless the caller sends
anthropic-dangerous-direct-browser-access, so the web build failed with an
opaque "Could not reach this endpoint from the browser" for the anthropic
provider. @ai-sdk/anthropic does not send the header and neither did our
adapter.

Send it from the browser only. The desktop build routes through tauriFetch
and is not subject to CORS, so it does not need to advertise browser access.

Fixes #436

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-31 20:22:45 +03:00
..
e2e fix(canvas): import dropped SVG files 2026-07-29 15:20:06 +03:00
engine fix(ai): opt into Anthropic direct browser access (#438) 2026-07-31 20:22:45 +03:00
figma style: tighten import grouping 2026-05-06 02:22:08 +03:00
fixtures feat(vector): add bitmap vectorization engine 2026-07-27 15:33:15 +03:00
helpers refactor(mcp): align transport domain structure 2026-07-25 22:59:59 +03:00