---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Upgrade related dependencies together

The CLI now installs required companion releases when upgrading an SDK.

When your coding agent upgrades a workspace, a new release may need a newer companion package. The upgrade command now installs those required releases together, avoiding a failed install followed by a manual repair.

Tell the coding agent you build with: “Run the workspace upgrade and review any changes it reports before deploying.” If the component uses its own package registry settings, the upgrade reads dependency information there, where the installation runs.

Run `segmentstream upgrade` when you perform the upgrade yourself. This improves the upgrade path; it does not deploy the workspace for you.
