Repository navigation
fix(context-mode): replace the D1 host update command with plugin upgrade advice - #630
Conversation
…rade advice Context Mode 2.1.7 and later print the host's own update command as the D1 fix for an outdated runtime (for example claude plugin update or npm i -g context-mode && context-mode setup) instead of run ctx_upgrade, so the doctor passed native-install advice through for the bundled runtime. Match the D1 update-available row and give the runtime-specific advice again.
|
| Topic | Details | ||||||
|---|---|---|---|---|---|---|---|
| Diagnostics Tests | Verify that newer Claude and Copilot D1 diagnostics produce the correct bundled and configured-install advice.Modified files (1)
Latest Contributors(1)
| ||||||
| D1 Upgrade Advice | Replace outdated D1 host commands with runtime-aware plugin guidance, distinguishing bundled Paseo runtimes from installations configured in settings.Modified files (1)
Latest Contributors(1)
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Problem
Since Context Mode 2.1.7,
ctx_doctorno longer printsFix: run ctx_upgradeon the D1 row when the runtime is out of date. It prints the host's own update command instead (checkVersionusesupdateCommand ?? DOCTOR_FIX_UPGRADE, andUPGRADE_HOST_COMMANDmaps each agent to a command).doctorRowonly rewritesrun ctx_upgrade, so the Diagnostics tab passes native-install advice through for the bundled runtime:claude plugin marketplace update context-mode && claude plugin update context-mode@context-modecodex plugin marketplace upgrade context-modenpm i -g context-mode && context-mode setup --agents copilot-cliopencode plugin updateNone of these updates the runtime Paseo bundles, and the Copilot one runs
context-mode setup, which the README says the doctor never suggests.Change
doctorRowtreats a D1 row whose detail saysupdate availablethe same as arun ctx_upgraderow: the bundled runtime gets "Update the Context Mode plugin in Paseo" as a warning, a configured runtime gets "Upgrade the Context Mode install configured in settings" with upstream's status. Therun ctx_upgradematch stays for 2.1.4 to 2.1.6.Out of scope
The context-mode 2.1.10 bump itself (#621). The stale "Bundles Context Mode 2.1.4" line in the README.
Verification
ctx_doctoragainst the real 2.1.7 and 2.1.10 runtimes for all four providers in an isolated home: D1 now shows the plugin advice, D3 stays a warning without a fix, every other check is ok.npm run check,npm run typecheck,npm run test:coverage(123 passed),npm run verify:package.