update_runtimes
Check for and apply updates to language runtimes (mise, rustup, swiftly, npm, uv, apt) with a safe dry-run by default; use apply=True to execute, with sudo-gated commands skipped unless allowed.
Instructions
Update language runtimes. SAFE BY DEFAULT: with apply=False this is a
dry run — it returns the update commands that WOULD run without changing
anything. Pass apply=True to actually execute them (mise up, rustup update,
swiftly update, apt-get upgrade of language packages, npm -g update, uv tool
upgrade). languages = comma-separated subset; empty = all.
PRIVILEGE: the apt manager updates system packages and its command begins
with sudo. Those commands do NOT run unless the HOST has set
CODECALC_ALLOW_RUNTIME_APPLY=1; without it they are reported as skipped
with ok: false and the variable named, and the rest still run. Every
entry carries an elevated flag either way. mise/rustup/swiftly/npm/uv
touch user-owned toolchains and are never gated.
NETWORK: yes, on both paths. apply=False still asks each manager what the latest version is, which is a remote lookup; apply=True additionally downloads and installs. "Dry run" bounds what changes on disk, not what is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| timeout | No | ||
| languages | No |