{"repo":"ben-vargas/ai-sdk-provider-opencode-sdk","free":true,"listed":false,"github":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","clone":"git clone https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","description":"Vercel AI SDK community provider for OpenCode SDK - Use OpenCode configured providers via SDK","language":"TypeScript","stars":112,"topics":["ai-sdk","ai-sdk-v5","anthropic","gemini","openai","opencode","opencode-ai","sst","zen"],"license":"MIT","category":"ai-agents","readme_excerpt":"AI SDK Provider for OpenCode Latest Release : Version 4.x supports AI SDK v7. Version 3.x moves to maintenance for AI SDK v6 under the ai-sdk-v6 tag. A community provider for the Vercel AI SDK that enables using AI models through OpenCode and the @opencode-ai/sdk/v2 APIs. OpenCode is a terminal-based AI coding assistant that supports multiple providers (Anthropic, OpenAI, Google, and more). This provider enables you to use OpenCode's AI capabilities through the familiar Vercel AI SDK interface, supporting generateText() , streamText() , streamObject() , native JSON-schema structured output with practical fallback patterns, tool approval flows, and file/source streaming parts. Version Compatibility Provider Version AI SDK Version NPM Tag Status Branch ---------------- -------------- ----------- ----------- ---------------------------------------------------------------------------------------- 4.x.x v7 latest Stable main 3.x.x v6 ai-sdk-v6 Maintenance ai-sdk-v6 2.x.x v6 N/A Legacy historical 1.x.x v6 N/A Legacy historical 0.x.x v5 ai-sdk-v5 Legacy ai-sdk-v5 Breaking Changes in 4.0.0 This release upgrades the provider to AI SDK v7 and the V4 provider interfaces: - Node.js = 22 : The package now requires Node.js = 22 . - File data parts : Per AI SDK v7, reference file input parts are unsupported and skipped with a warning. - reasoning call option : The reasoning model call option is unsupported; it logs a warning and is ignored. - reasoning-file parts : Explicitly a no-op for ou","default_branch":null,"files":null,"tree":[],"storefront":"/r/ben-vargas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ben-vargas/ai-sdk-provider-opencode-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}