squad-openclaw 2026.2.1902 → 2026.2.1903

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -952,14 +952,17 @@ function registerVersionMethods(api) {
952
952
  }
953
953
  }
954
954
  const after = getCurrentVersion();
955
- const updated = before !== after;
956
955
  respond(true, {
957
956
  previousVersion: before,
958
957
  currentVersion: after,
959
- updated,
960
- restartRequired: updated,
958
+ updated: true,
959
+ restartRequired: true,
961
960
  output: updateOutput.slice(0, 500)
962
961
  });
962
+ console.log(
963
+ `[version] Plugin update command succeeded (was ${before}), restarting gateway in 2s...`
964
+ );
965
+ setTimeout(() => process.exit(0), 2e3);
963
966
  } catch (e) {
964
967
  const msg = e instanceof Error ? e.message : String(e);
965
968
  respond(false, { error: msg });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squad-openclaw",
3
- "version": "2026.2.1902",
3
+ "version": "2026.2.1903",
4
4
  "description": "Entity registry, filesystem tools, and version management plugin for OpenClaw gateway",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",