Skip to content

v1.0.0 - AI SDK v6 Stable

Choose a tag to compare

@ben-vargas ben-vargas released this 28 Dec 04:47
· 8 commits to main since this release
2165b37

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, and raw field

Changed

  • Dependencies updated to stable versions:
    • @ai-sdk/provider: ^3.0.0
    • @ai-sdk/provider-utils: ^4.0.1
    • ai (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.0

Version 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