v1.0.0 - AI SDK v6 Stable
AI SDK v6 Stable Release
This release upgrades the provider to AI SDK v6 stable.
Breaking Changes
- LanguageModelV2 → LanguageModelV3
- ProviderV2 → ProviderV3
- finishReason format:
'stop'→{ unified: 'stop', raw: undefined } - Usage format: flat → nested structure with
inputTokens.total,outputTokens.total, andrawfield
Changed
- Dependencies updated to stable versions:
@ai-sdk/provider: ^3.0.0@ai-sdk/provider-utils: ^4.0.1ai(dev): ^6.0.3
For AI SDK v5 Users
Continue using the v5-compatible version:
npm install ai-sdk-provider-codex-cli@ai-sdk-v5 ai@^5.0.0Version Compatibility
| Provider Version | AI SDK Version | NPM Installation |
|---|---|---|
| 1.x.x | v6 | npm i ai-sdk-provider-codex-cli ai@^6.0.0 |
| 0.x.x | v5 | npm i ai-sdk-provider-codex-cli@ai-sdk-v5 ai@^5.0.0 |