Feature
2.2.30 โ Feature Added
๐ Apertis SDK v2.1 โ Better compatible with OpenCode, Kilo Code & all AI coding tools
What changed?
In v1.x, our SDK used a custom implementation that caused compatibility issues with some tools โ most notably Zod parsing errors and empty responses in OpenCode. We've completely rewritten the SDK as a thin wrapper over the official @ai-sdk/openai-compatible package, guaranteeing compatibility across the ecosystem.
What you need to do
Nothing โ the API is unchanged. Just update:
npm install @apertis/ai-sdk-provider@latestOpenCode users
You can now use our SDK directly in your OpenCode config:
{
"provider": {
"apertis": {
"npm": "@apertis/ai-sdk-provider",
"options": {
"apiKey": "your_apertis_api_key"
},
"models": {
"claude-opus-4-6": { "name": "Claude Opus 4.6" },
"claude-sonnet-4-6": { "name": "Claude Sonnet 4.6" }
}
}
}
}Key improvements
- Works with AI SDK v5+ (previously required v6+)
- Zero Zod parsing errors
- Zero streaming issues
- Simplified and battle-tested codebase
Full documentation:
- Installation: https://docs.apertis.ai/installation/opencode
- GitHub: https://github.com/apertis-ai/apertis-sdk
- NPM: https://www.npmjs.com/package/@apertis/ai-sdk-provider
As always, get your API key or subscription keys to use all supported coding tools!
Happy Building.