@upx-us/shield 0.7.7 → 0.7.8

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ---
6
6
 
7
+ ## [0.7.8] — 2026-03-16
8
+
9
+ ### Fixed
10
+
11
+ - **Bug causing the plugin to be repeatedly terminated by the gateway after updating** — The same boot-loop fix from v0.7.7 was missing from the gateway plugin entrypoint. When running as an OpenClaw plugin (the normal mode), the gateway would spawn the plugin, the plugin would trigger a new update check, send itself a restart signal, and get killed — silently repeating on every boot.
12
+
13
+ ---
14
+
7
15
  ## [0.7.7] — 2026-03-16
8
16
 
9
17
  ### Fixed
package/dist/index.js CHANGED
@@ -667,8 +667,9 @@ exports.default = {
667
667
  }
668
668
  catch { }
669
669
  const autoUpdateMode = pluginConfig.autoUpdate ?? true;
670
- log.info('updater', `Startup update check (autoUpdate=${autoUpdateMode}, current=${version_1.VERSION})`);
671
- const startupUpdate = (0, updater_1.performAutoUpdate)(autoUpdateMode, 0);
670
+ const _bootState = (0, updater_1.loadUpdateState)();
671
+ log.info('updater', `Startup update check (autoUpdate=${autoUpdateMode}, current=${version_1.VERSION}, pendingRestart=${_bootState.pendingRestart})`);
672
+ const startupUpdate = (0, updater_1.performAutoUpdate)(autoUpdateMode, _bootState.pendingRestart ? undefined : 0);
672
673
  if (startupUpdate.action === 'updated') {
673
674
  log.info('updater', startupUpdate.message);
674
675
  const restarted = (0, updater_1.requestGatewayRestart)();
@@ -2,7 +2,7 @@
2
2
  "id": "shield",
3
3
  "name": "OpenClaw Shield",
4
4
  "description": "Real-time security monitoring — streams enriched, redacted security events to the Shield detection platform.",
5
- "version": "0.7.7",
5
+ "version": "0.7.8",
6
6
  "skills": [
7
7
  "./skills"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upx-us/shield",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Security monitoring plugin for OpenClaw agents — streams enriched security events to the Shield detection platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",