fix: resolve incorrect peer dependency warning for ai@6.0.86#189
Merged
fix: resolve incorrect peer dependency warning for ai@6.0.86#189
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #186
This commit addresses issue #186 where `bun install` shows "warn: incorrect peer dependency ai@6.0.86" warning. Root cause: @openrouter/ai-sdk-provider@1.5.4 requires ai@^5.0.0 as peer dependency, but @link-assistant/agent uses ai@^6.0.1. Solution: - Update @openrouter/ai-sdk-provider from ^1.5.4 to ^2.2.3 (version 2.0.0+ supports AI SDK v6) - Update @opentui/core from ^0.1.46 to ^0.1.79 - Update @opentui/solid from ^0.1.46 to ^0.1.79 Note: The solid-js peer dependency warning remains due to upstream issue in @opentui/solid which uses exact version pinning (1.9.9). Reported at: anomalyco/opentui#689 Added case study documentation in docs/case-studies/issue-186/ References: - OpenRouterTeam/ai-sdk-provider#307 - https://github.com/OpenRouterTeam/ai-sdk-provider/releases/tag/2.0.0 Fixes #186 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit 5f34d35.
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
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.
Summary
This PR fixes the
warn: incorrect peer dependency "ai@6.0.86"warning that appears when installing@link-assistant/agentusing Bun.Before:
After:
The
ai@6.0.86warning is now resolved. Thesolid-jswarning remains due to an upstream issue.Root Cause Analysis
ai@6.0.86@openrouter/ai-sdk-provider@1.5.4requiresai@^5.0.0but we useai@^6.0.1@openrouter/ai-sdk-provider@^2.2.3which supports AI SDK v6solid-js@1.9.11@opentui/solid@0.1.46requires exactsolid-js@1.9.9Changes
@openrouter/ai-sdk-providerfrom^1.5.4to^2.2.3@opentui/corefrom^0.1.46to^0.1.79@opentui/solidfrom^0.1.46to^0.1.79docs/case-studies/issue-186/Test Plan
bun installand verifyai@6.0.86warning is gonenpm run lint- passesnpm run format:check- passesExternal Issues Filed
References
Fixes #186
Generated with Claude Code