Add repository guidelines and update AI SDK to v5 #5
+469
−441
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update AI SDK to v5 and add repository guidelines
This PR updates the project to use AI SDK v5 and adds comprehensive repository guidelines. Key changes include:
Added
AGENTS.md
with detailed repository guidelines covering:Updated AI SDK dependencies:
ai@5.0.8
)zod
dependency with pinned versionImproved build script to:
Updated code to support AI SDK v5 API changes:
ProviderV1
toProviderV2
interfacessignature
field optional in thinking contentUpdated examples in documentation to reference newer models like
gpt-5-mini
instead of older models.These changes ensure compatibility with the latest AI SDK while providing clear guidelines for contributors.