Skip to content

fix: resolve incorrect peer dependency warning for ai@6.0.86#189

Merged
konard merged 3 commits intomainfrom
issue-186-d49a9a9bd545
Feb 15, 2026
Merged

fix: resolve incorrect peer dependency warning for ai@6.0.86#189
konard merged 3 commits intomainfrom
issue-186-d49a9a9bd545

Conversation

@konard
Copy link
Copy Markdown
Contributor

@konard konard commented Feb 15, 2026

Summary

This PR fixes the warn: incorrect peer dependency "ai@6.0.86" warning that appears when installing @link-assistant/agent using Bun.

Before:

$ bun install -g @link-assistant/agent@0.16.0
warn: incorrect peer dependency "ai@6.0.86"
warn: incorrect peer dependency "solid-js@1.9.11"

After:

$ bun install -g @link-assistant/agent@0.17.0
warn: incorrect peer dependency "solid-js@1.9.11"

The ai@6.0.86 warning is now resolved. The solid-js warning remains due to an upstream issue.

Root Cause Analysis

Warning Root Cause Solution
ai@6.0.86 @openrouter/ai-sdk-provider@1.5.4 requires ai@^5.0.0 but we use ai@^6.0.1 Update to @openrouter/ai-sdk-provider@^2.2.3 which supports AI SDK v6
solid-js@1.9.11 @opentui/solid@0.1.46 requires exact solid-js@1.9.9 Reported upstream: opentui#689

Changes

  • Update @openrouter/ai-sdk-provider from ^1.5.4 to ^2.2.3
  • Update @opentui/core from ^0.1.46 to ^0.1.79
  • Update @opentui/solid from ^0.1.46 to ^0.1.79
  • Add case study documentation in docs/case-studies/issue-186/

Test Plan

  • Run bun install and verify ai@6.0.86 warning is gone
  • Run npm run lint - passes
  • Run npm run format:check - passes
  • CI passes

External Issues Filed

References

Fixes #186


Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #186
@konard konard self-assigned this Feb 15, 2026
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>
@konard konard changed the title [WIP] warn: incorrect peer dependency "ai@6.0.86" fix: resolve incorrect peer dependency warning for ai@6.0.86 Feb 15, 2026
@konard konard marked this pull request as ready for review February 15, 2026 11:47
@konard
Copy link
Copy Markdown
Contributor Author

konard commented Feb 15, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $3.715447
  • Calculated by Anthropic: $2.379132 USD
  • Difference: $-1.336315 (-35.97%)
    📎 Log file uploaded as Gist (401KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit f05b281 into main Feb 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

warn: incorrect peer dependency "ai@6.0.86"

1 participant