Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions .changeset/cli-ai-sdk-deps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@objectstack/cli": patch
---

Bundle the `@ai-sdk/openai`, `@ai-sdk/anthropic`, and `@ai-sdk/google` provider
SDKs as direct CLI dependencies. These were previously only declared as optional
peer dependencies on `@objectstack/service-ai`, so a globally-installed CLI could
not resolve them at runtime. Configuring an OpenAI-compatible provider (DeepSeek,
DashScope, SiliconFlow, OpenRouter, Cloudflare) — all of which normalise to
`provider=openai` and dynamically import `@ai-sdk/openai` — failed with
"Could not build adapter for provider=…". The CLI now ships these providers so
they work out of the box.
3 changes: 3 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
"topicSeparator": " "
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.0",
"@ai-sdk/gateway": "^3.0.121",
"@ai-sdk/google": "^3.0.0",
"@ai-sdk/openai": "^3.0.0",
"@objectstack/account": "workspace:*",
"@objectstack/client": "workspace:*",
"@objectstack/console": "workspace:*",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.