Skip to content

Fix AI SDK version in error message to match peer dependency - #151

Closed
ryoppippi with Copilot wants to merge 2 commits into
feat/migrate-to-pnpm-vitestfrom
copilot/sub-pr-143
Closed

Fix AI SDK version in error message to match peer dependency#151
ryoppippi with Copilot wants to merge 2 commits into
feat/migrate-to-pnpm-vitestfrom
copilot/sub-pr-143

Conversation

CopilotAI commented Dec 8, 2025

Copy link
Copy Markdown

The error message for missing AI SDK instructed users to install ai@4.x|5.x, but the peer dependency catalog only specifies ^5.0.63 (version 5.x only).

Changes:

  • Updated error message in src/tool.ts to reflect actual peer dependency: ai@^5.0.63
  • Removed misleading reference to version 4.x support
thrownewStackOneError('AI SDK is not installed. Please install it with: npm install ai@^5.0.63 or pnpm add ai@^5.0.63');

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Summary by cubic

Updated the AI SDK install error in src/tool.ts to require ai@^5.0.63, matching the peer dependency and removing outdated 4.x guidance.

Written for commit c8016d4. Summary will update automatically on new commits.

… dependency
Co-authored-by: ryoppippi <1560508+ryoppippi@users.noreply.github.com>

CopilotAI commented Dec 8, 2025

Copy link
Copy Markdown
Author

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/StackOneHQ/stackone-ai-node/pulls/143/comments
    • Triggering command: /usr/bin/curl curl -s -L REDACTED -H Accept: application/vnd.github&#43;json (http block)

If you need me to access, download, or install something from one of these locations, you can either:

CopilotAI changed the title [WIP] WIP on feedback from PR #143 for bun to pnpm+vitest migrationFix AI SDK version in error message to match peer dependencyDec 8, 2025
CopilotAI requested a review from ryoppippiDecember 8, 2025 21:51
@pkg-pr-new

pkg-pr-newBot commented Dec 8, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@151

commit: c8016d4

@ryoppippi
ryoppippi deleted the copilot/sub-pr-143 branch December 9, 2025 10:04
Sign up for freeto 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.

2 participants

@ryoppippi