@remcp/remcp 0.2.225 → 0.2.226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli/update.mjs +3 -1
package/package.json
CHANGED
package/src/cli/update.mjs
CHANGED
|
@@ -266,7 +266,9 @@ export async function updateCommand(flags) {
|
|
|
266
266
|
|
|
267
267
|
// Legacy Scheduled Task /End can orphan an already running agent. Refuse the
|
|
268
268
|
// update before touching npm or package state until ownership is verifiable.
|
|
269
|
-
|
|
269
|
+
// An old task may survive an explicit service opt-out. Its ownership must be
|
|
270
|
+
// checked independently of that preference before replacing either package.
|
|
271
|
+
assertWindowsUpdateLifecycleSafe();
|
|
270
272
|
const before = { cli: VERSION, runtime: installedVersion(cfg.runtime.packageName) };
|
|
271
273
|
console.log(`Updating ReMCP to ${targets.clientSpec} with ${targets.runtimeSpec}…`);
|
|
272
274
|
npmGlobalUpdate([PACKAGE_NAME, cfg.runtime.packageName], targets.clientSpec, targets.runtimeSpec);
|