From 22b2de5a3665389f770be512e2b80f8113ddd510 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:44:38 +0000 Subject: [PATCH 1/2] Initial plan From c8016d446371cc8d6aadd561a5cbee5ab5508ce2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:48:42 +0000 Subject: [PATCH 2/2] fix: update AI SDK version requirement in error message to match peer dependency Co-authored-by: ryoppippi <1560508+ryoppippi@users.noreply.github.com> --- src/tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool.ts b/src/tool.ts index d8bbacf..420b11d 100644 --- a/src/tool.ts +++ b/src/tool.ts @@ -203,7 +203,7 @@ export class BaseTool { jsonSchema = ai.jsonSchema; } catch { throw new StackOneError( - 'AI SDK is not installed. Please install it with: npm install ai@4.x|5.x or pnpm add ai@4.x|5.x' + 'AI SDK is not installed. Please install it with: npm install ai@^5.0.63 or pnpm add ai@^5.0.63' ); }