Skip to main content

Module upgrade

Module upgrade 

Source
Expand description

room upgrade command — checks for newer versions of room-cli and room-ralph on crates.io, verifies plugin compatibility, and executes the upgrade.

Reads ~/.room/plugins/*.meta.json to determine installed plugin protocol compatibility ranges. If any plugin would be incompatible with the new room-protocol version, the upgrade is blocked with a warning.

Structs§

PluginCompat
Result of checking plugin compatibility against a new protocol version.
UpgradeCheck
Result of checking a single binary for upgrades.

Functions§

check_compat
Check whether a plugin’s protocol_compat range includes a target version.
cmd_upgrade
Run the upgrade check and display the plan.
is_newer
Compare two semver strings. Returns true if latest > current.