Skip to content

chore(ai): include docs in npm package#11764

Merged
lgrammel merged 3 commits intomainfrom
lg/35aBvWJh
Jan 13, 2026
Merged

chore(ai): include docs in npm package#11764
lgrammel merged 3 commits intomainfrom
lg/35aBvWJh

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented Jan 13, 2026

Background

Documentation can help AI agents build correctly for the installed AI SDK version.

Summary

Add documentation from content/docs to npm package under docs.

Manual Verification

Related Issues

Related to #11723

@vercel-ai-sdk vercel-ai-sdk bot added the documentation Improvements or additions to documentation label Jan 13, 2026
@lgrammel lgrammel marked this pull request as ready for review January 13, 2026 13:04
@lgrammel lgrammel merged commit ec24401 into main Jan 13, 2026
19 checks passed
@lgrammel lgrammel deleted the lg/35aBvWJh branch January 13, 2026 15:06
lgrammel added a commit that referenced this pull request Jan 22, 2026
## Background

Providers have different options and metadata. Including the docs in the
npm package can help AI agents write the correct code for the different
providers.

## Summary

Add provider documentation pages from `content/providers` to provider
npm package under `docs`.

## Manual Verification

- [x] snapshot release for `@ai-sdk/openai` contains documentation
https://www.npmjs.com/package/@ai-sdk/openai/v/0.0.0-2f1ae29d-20260122140908?activeTab=code

## Future Work

- remove test and fixtures etc from npm packages

## Related Issues

Similar to #11764
B-Step62 pushed a commit to B-Step62/ai that referenced this pull request Jan 28, 2026
## Background

Providers have different options and metadata. Including the docs in the
npm package can help AI agents write the correct code for the different
providers.

## Summary

Add provider documentation pages from `content/providers` to provider
npm package under `docs`.

## Manual Verification

- [x] snapshot release for `@ai-sdk/openai` contains documentation
https://www.npmjs.com/package/@ai-sdk/openai/v/0.0.0-2f1ae29d-20260122140908?activeTab=code

## Future Work

- remove test and fixtures etc from npm packages

## Related Issues

Similar to vercel#11764
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants