Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/opencode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@actions/core": "1.11.1",
"@actions/github": "6.0.1",
"@agentclientprotocol/sdk": "0.14.1",
"@ai-sdk/amazon-bedrock": "3.0.82",
"@ai-sdk/amazon-bedrock": "4.0.92",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0: Major version incompatibility: @ai-sdk/amazon-bedrock@4.0.92 belongs to the AI SDK v7 release train and depends on @ai-sdk/provider@3.0.8 and @ai-sdk/provider-utils@4.0.23, while the project uses ai@5.0.124 (which depends on @ai-sdk/provider@2.0.1 / @ai-sdk/provider-utils@3.0.20). This will result in duplicate, incompatible versions of shared internal packages in the dependency tree, likely causing runtime failures when the Bedrock provider is used. The other @ai-sdk/* packages and the core ai package would need to be upgraded together.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/opencode/package.json, line 62:

<comment>Major version incompatibility: `@ai-sdk/amazon-bedrock@4.0.92` belongs to the AI SDK v7 release train and depends on `@ai-sdk/provider@3.0.8` and `@ai-sdk/provider-utils@4.0.23`, while the project uses `ai@5.0.124` (which depends on `@ai-sdk/provider@2.0.1` / `@ai-sdk/provider-utils@3.0.20`). This will result in duplicate, incompatible versions of shared internal packages in the dependency tree, likely causing runtime failures when the Bedrock provider is used. The other `@ai-sdk/*` packages and the core `ai` package would need to be upgraded together.</comment>

<file context>
@@ -59,7 +59,7 @@
     "@actions/github": "6.0.1",
     "@agentclientprotocol/sdk": "0.14.1",
-    "@ai-sdk/amazon-bedrock": "3.0.82",
+    "@ai-sdk/amazon-bedrock": "4.0.92",
     "@ai-sdk/anthropic": "2.0.65",
     "@ai-sdk/azure": "2.0.91",
</file context>
Suggested change
"@ai-sdk/amazon-bedrock": "4.0.92",
"@ai-sdk/amazon-bedrock": "3.0.82",
Fix with Cubic

"@ai-sdk/anthropic": "2.0.65",
"@ai-sdk/azure": "2.0.91",
"@ai-sdk/cerebras": "1.0.36",
Expand Down
Loading