Check SDK freshness
check_sdk_versionCompare an installed @mushi-mushi/* package version against the published catalog to reveal SDK drift, then get actionable next steps (docs search or upgrade skill) when outdated.
Instructions
Compare a published @mushi-mushi/* package version against the catalog (GET /v1/sdk/latest-version). Returns { package, current, latest, outdated } and, when outdated, suggestedActions (Sentry-style, max 1) pointing at search_mushi_docs plus the mushi-sdk-upgrade skill. Read-only. Use when Dependabot or mushi upgrade --check reports a drift, or before dispatching a fix that assumes a current SDK. Does not bump the pin — that stays a human/Dependabot change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | No | Installed version from package.json, if known (e.g. 1.27.0). | |
| package | No | npm package name (default @mushi-mushi/web). Examples: @mushi-mushi/web, @mushi-mushi/node, @mushi-mushi/core. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | ||
| current | No | ||
| package | Yes | ||
| outdated | No | ||
| suggestedActions | No |