fix(deps): peer @browser-ai/* v3, which is the pair for ai v7 - #5
Merged
Conversation
The package depends on ai ^7.0.66 but still asked for @browser-ai/* ^2.0.0, and @browser-ai/web-llm v2 peers ai ^6 — so anyone installing this package together with the local WebLLM path got an unsatisfiable peer set and npm refused to resolve it (found while wiring the demo to 0.0.9). v3 is the line that peers ai ^7, which is what the code has tracked since the AI SDK v7 bump. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur
This was referenced Aug 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
0.0.9depends onai@^7.0.66but still declares@browser-ai/coreand@browser-ai/web-llmas^2.0.0peers — and@browser-ai/web-llm@2.xpeersai@^6. The two cannot both be satisfied, so installing this package alongside the local WebLLM path fails outright:Found while pointing the sibling demo (dudko-dev/agent-web-react#3) at the freshly published
0.0.9.What
Peer ranges move to
^3.0.0, the line that peersai@^7— which is what this codebase has actually tracked since the AI SDK v7 bump, and what its own devDependencies already install. No source changes;typecheck,format:check,build,test(89 passing) are green.Version bumped to
0.0.10so the release workflow publishes it — it skips any version already on npm.Generated by Claude Code