Context
Both status() (packages/loopover-mcp/bin/loopover-mcp.js:2941-2947) and doctor() (lines 3004-3016) render the same inspectApiCompatibility() result, which can return status unavailable/unknown/incompatible/compatible (defined at line 4214). doctor()'s if/else-if chain covers all four; status()'s human-readable branch covers only incompatible/compatible/unavailable, with no unknown case and no final else — so when the API reports an unparseable minimum-version string, loopover-mcp status (non-JSON output) prints nothing about compatibility at all, while doctor explicitly warns about it.
Requirements
- Add the missing
unknown case to status()'s compatibility-rendering branch, matching doctor()'s handling and messaging style.
- Do not change
doctor() — it's already correct.
Test Coverage Requirements
99%+ Codecov patch coverage on the added branch; add a test simulating an unknown compatibility status and confirming status() now prints something about it.
Deliverables
Expected Outcome
loopover-mcp status never silently says nothing about API compatibility when the API itself couldn't be parsed.
Links & Resources
packages/loopover-mcp/bin/loopover-mcp.js:2941-2947,3004-3016,4214
Context
Both
status()(packages/loopover-mcp/bin/loopover-mcp.js:2941-2947) anddoctor()(lines 3004-3016) render the sameinspectApiCompatibility()result, which can return statusunavailable/unknown/incompatible/compatible(defined at line 4214).doctor()'s if/else-if chain covers all four;status()'s human-readable branch covers onlyincompatible/compatible/unavailable, with nounknowncase and no finalelse— so when the API reports an unparseable minimum-version string,loopover-mcp status(non-JSON output) prints nothing about compatibility at all, whiledoctorexplicitly warns about it.Requirements
unknowncase tostatus()'s compatibility-rendering branch, matchingdoctor()'s handling and messaging style.doctor()— it's already correct.Test Coverage Requirements
99%+ Codecov patch coverage on the added branch; add a test simulating an
unknowncompatibility status and confirmingstatus()now prints something about it.Deliverables
status()handles theunknowncompatibility case.Expected Outcome
loopover-mcp statusnever silently says nothing about API compatibility when the API itself couldn't be parsed.Links & Resources
packages/loopover-mcp/bin/loopover-mcp.js:2941-2947,3004-3016,4214