command
ridu upgrade
Move a project to another Ridu release: version pins, dependencies, generated contracts, agent guidance, and any migration the release needs.
Example
npx @riducms/[email protected] upgrade X.Y.ZHow it works
Sets every @riducms package in the project's package.json files, the official entries in ridu.plugins.json, and the github.com/riducms/ridu requirement to the release. Linked specifiers such as workspace: and file: are reported and left unchanged.
It then installs dependencies, runs go mod tidy, and uses the newly installed CLI to run ridu generate, ridu agent sync when agent guidance is installed, and ridu migrate create --name ridu-<version>. When the schema did not change, no migration is created. Review and commit the result.
With --no-install it only rewrites the pins and prints the remaining commands.
Full signature
ridu upgrade <version> [--no-install]