@upx-us/shield 0.2.14-beta → 0.2.15-beta

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.

Potentially problematic release.


This version of @upx-us/shield might be problematic. Click here for more details.

package/dist/index.js CHANGED
@@ -261,6 +261,11 @@ exports.default = {
261
261
  try {
262
262
  const entries = await fetchNewEntries(config);
263
263
  if (entries.length === 0) {
264
+ // Still commit cursors so initCursorsForDir positions
265
+ // (set to current file sizes) are persisted on disk.
266
+ // Without this, each poll re-initialises cursors to the
267
+ // NEW file size and silently skips events between polls.
268
+ commitCursors(config, []);
264
269
  state.consecutiveFailures = 0;
265
270
  state.lastPollAt = Date.now();
266
271
  persistState();
@@ -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.2.14-beta",
5
+ "version": "0.2.15-beta",
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.2.14-beta",
3
+ "version": "0.2.15-beta",
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",