cursor-delegate-mcp 2.9.0 → 2.10.0

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/src/version.js CHANGED
@@ -11,10 +11,8 @@ function readVersion() {
11
11
  // Captured once, for the ACP/MCP identity handshake that is sent at connect and never re-read.
12
12
  export const VERSION = readVersion();
13
13
 
14
- // doctor reads fresh rather than using the constant: the MCP child is long-lived and
15
- // /reload-plugins does not restart it, so a version captured at process start goes stale after
16
- // an in-place upgrade — exactly when doctor is run to confirm the new version shipped. An
17
- // un-restarted child running old code stays a gap, but no in-process value can close that.
14
+ // Read fresh for doctor: /reload-plugins does not restart the server, so the constant goes stale
15
+ // after an in-place upgrade, just when doctor confirms it. The running code stays old until a restart.
18
16
  export function readPackageVersion() {
19
17
  try {
20
18
  return readVersion();