3 Commits

Author SHA1 Message Date
realZachi
038aa5bc3b refactor(ai): enhance OpenCode model handling and proxy functionality 2026-08-19 23:20:39 +02:00
Cursor Agent
84f6c8f00f
fix(ai): keep OpenCode Zen/Go path prefixes when proxying
Absolute /v1/... suffixes were resolved against the OpenCode origin and dropped /zen and /zen/go. Join relative to those prefixes in the worker and Vite rewrites.

Co-authored-by: mahmoud <realZachi@users.noreply.github.com>
2026-08-15 17:34:31 +00:00
Cursor Agent
d71b7e0a7d
feat(ai): add OpenCode Zen and Go providers
Add OpenCode as a key-based provider with shared Zen/Go credentials, a same-origin CORS proxy, runtime model catalogs, and a vision-model fallback that describes screenshots for text-only coding models.

Co-authored-by: mahmoud <realZachi@users.noreply.github.com>
2026-08-15 17:33:15 +00:00