@upx-us/shield 0.3.16 → 0.4.36
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 +601 -0
- package/README.md +174 -19
- package/dist/index.js +196 -13
- package/dist/src/case-monitor.d.ts +24 -0
- package/dist/src/case-monitor.js +193 -0
- package/dist/src/cli-cases.d.ts +1 -0
- package/dist/src/cli-cases.js +184 -0
- package/dist/src/config.d.ts +2 -0
- package/dist/src/config.js +2 -0
- package/dist/src/event-store.d.ts +31 -0
- package/dist/src/event-store.js +163 -0
- package/dist/src/events/exec/enrich.d.ts +1 -0
- package/dist/src/events/exec/enrich.js +74 -7
- package/dist/src/index.js +75 -0
- package/dist/src/inventory.d.ts +26 -0
- package/dist/src/inventory.js +191 -0
- package/dist/src/rpc/client.d.ts +12 -0
- package/dist/src/rpc/client.js +105 -0
- package/dist/src/rpc/handlers.d.ts +57 -0
- package/dist/src/rpc/handlers.js +141 -0
- package/dist/src/rpc/index.d.ts +10 -0
- package/dist/src/rpc/index.js +13 -0
- package/dist/src/safe-io.d.ts +2 -0
- package/dist/src/safe-io.js +78 -0
- package/dist/src/transformer.d.ts +1 -0
- package/dist/src/transformer.js +59 -20
- package/dist/src/updater.d.ts +49 -0
- package/dist/src/updater.js +477 -0
- package/openclaw.plugin.json +81 -57
- package/package.json +80 -70
- package/skills/shield/README.md +39 -0
- package/skills/shield/SKILL.md +66 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## [0.4.12] — 2026-03-04
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- `openclaw shield cases` CLI command — list open security cases from the platform.
|
|
11
|
+
- `openclaw shield cases show <ID>` — full case detail with events, rule info, and playbook.
|
|
12
|
+
- `openclaw shield cases resolve <ID>` — resolve a case with `--resolution`, `--root-cause`, and `--comment` flags.
|
|
13
|
+
- `callPlatformApi` now supports GET and POST methods.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- README updated with features table and complete RPC reference (9 RPCs).
|
|
17
|
+
- SKILL.md updated with case CLI commands.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## [0.4.11] — 2026-03-04
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- Case notification system — agent polls platform for new cases and notifies users.
|
|
25
|
+
- Case resolution — close cases with categorization (resolution + root cause) via RPC.
|
|
26
|
+
- 4 new RPCs: `shield.cases_list`, `shield.case_detail`, `shield.case_resolve`, `shield.cases_ack`.
|
|
27
|
+
- Case monitor with pending notification queue and acknowledgment.
|
|
28
|
+
- Platform attribution in case detail responses.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
- HMAC signing in RPC client aligned with sender format (`fingerprint:nonce`).
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- SKILL.md updated with case handling section.
|
|
35
|
+
- README updated with features table and RPC documentation.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## [0.4.7] — 2026-03-04
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
43
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
44
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
45
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
49
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## [0.4.6] — 2026-03-04
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
- Auto-update no longer kills bridge when gateway restart fails — continues running with old version in memory instead of disconnecting.
|
|
57
|
+
- Stale PID detection in `shield status` — warns when daemon PID is no longer running.
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
- Atomic file writes (`writeJsonSafe`) for status, stats, vault, updater state, and IP cache — prevents corruption on crash or disk-full.
|
|
61
|
+
- Corrupt JSON recovery (`readJsonSafe`) — auto-recovers from corrupted state files instead of crash-looping. Corrupt files preserved as `.corrupt.<timestamp>` for forensics.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## [0.4.7] — 2026-03-04
|
|
66
|
+
|
|
67
|
+
### Added
|
|
68
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
69
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
70
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
71
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
72
|
+
|
|
73
|
+
### Changed
|
|
74
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
75
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## [0.4.5] — 2026-03-04
|
|
80
|
+
|
|
81
|
+
### Fixed
|
|
82
|
+
- OpenClaw version detection: replaced hardcoded macOS paths with platform-independent require.resolve + execSync fallback. Fixes incorrect version in telemetry on Windows and non-standard installs.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## [0.4.7] — 2026-03-04
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
90
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
91
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
92
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
93
|
+
|
|
94
|
+
### Changed
|
|
95
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
96
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## [0.4.4] — 2026-03-04
|
|
101
|
+
|
|
102
|
+
### Added
|
|
103
|
+
- `vault show` now displays redaction token summary (host:HASH, user:HASH counts) alongside agent inventory.
|
|
104
|
+
- Multi-machine warning in README for shared config setups.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## [0.4.7] — 2026-03-04
|
|
109
|
+
|
|
110
|
+
### Added
|
|
111
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
112
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
113
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
114
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
115
|
+
|
|
116
|
+
### Changed
|
|
117
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
118
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## [0.4.3] — 2026-03-04
|
|
123
|
+
|
|
124
|
+
### Changed
|
|
125
|
+
- SKILL.md: added YAML frontmatter with ClawHub metadata, gating via requires.config, full status output example, vault show documentation, redaction token table.
|
|
126
|
+
- Cross-references between npm, ClawHub, and dashboard in SKILL.md and skill README.
|
|
127
|
+
- openclaw.plugin.json: added clawhub.slug and skillVersion tracking.
|
|
128
|
+
|
|
129
|
+
### Added
|
|
130
|
+
- Skill validation tests (26 tests): prevent infrastructure leaks in ClaWHub-published content.
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## [0.4.7] — 2026-03-04
|
|
135
|
+
|
|
136
|
+
### Added
|
|
137
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
138
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
139
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
140
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
141
|
+
|
|
142
|
+
### Changed
|
|
143
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
144
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## [0.4.2] — 2026-03-04
|
|
149
|
+
|
|
150
|
+
### Changed
|
|
151
|
+
- **SKILL.md**: added `vault show` command docs, redaction token type reference, vault output interpretation guide.
|
|
152
|
+
- **Skill README**: added links to npm package and ClawHub listing.
|
|
153
|
+
- **package.json**: added `homepage` → ClawHub, `clawhub.slug` metadata, expanded keywords for discoverability.
|
|
154
|
+
|
|
155
|
+
### Fixed
|
|
156
|
+
- Skill and plugin now cross-reference each other: SKILL.md links to npm, package.json links to ClawHub.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## [0.4.7] — 2026-03-04
|
|
161
|
+
|
|
162
|
+
### Added
|
|
163
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
164
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
165
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
166
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
167
|
+
|
|
168
|
+
### Changed
|
|
169
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
170
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## [0.4.1] — 2026-03-04
|
|
175
|
+
|
|
176
|
+
### Added
|
|
177
|
+
- Host agent/workspace inventory: scans agents on startup, persists to local vault.
|
|
178
|
+
- Cross-workspace access detection: enriches events when an agent accesses another agent's workspace.
|
|
179
|
+
- New token categories for redaction: `agent:HASH`, `workspace:HASH`.
|
|
180
|
+
- New CLI command: `openclaw shield vault show` — displays host agent inventory with hashed IDs.
|
|
181
|
+
|
|
182
|
+
### Changed
|
|
183
|
+
- README: updated redaction explanation with full token category list.
|
|
184
|
+
- PUBLISHING.md: added audience rule and token dictionary rule for public docs.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## [0.4.7] — 2026-03-04
|
|
189
|
+
|
|
190
|
+
### Added
|
|
191
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
192
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
193
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
194
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
195
|
+
|
|
196
|
+
### Changed
|
|
197
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
198
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## [0.4.0] — 2026-03-03
|
|
203
|
+
|
|
204
|
+
### Added
|
|
205
|
+
- **Auto-update**: plugin checks for updates on gateway restart and every 6 hours. Patch and minor versions install automatically with backup and rollback safety. Major versions notify only. Default: enabled.
|
|
206
|
+
- **Chained command detection**: exec events parse shell chains (`&&`, `||`, `;`) to detect destructive commands regardless of position.
|
|
207
|
+
- Startup update check with explicit logging.
|
|
208
|
+
- Tarball shasum preserved in openclaw.json after self-update.
|
|
209
|
+
- Plugin metadata sync prevents OpenClaw core updates from removing the plugin.
|
|
210
|
+
|
|
211
|
+
### Changed
|
|
212
|
+
- Installation instructions rewritten: three options (Quick Install, Agent Configure, Agent Full) with command reference table and agent refusal guidance.
|
|
213
|
+
- CHANGELOG.md now bundled with npm package.
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## [0.4.7] — 2026-03-04
|
|
218
|
+
|
|
219
|
+
### Added
|
|
220
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
221
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
222
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
223
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
224
|
+
|
|
225
|
+
### Changed
|
|
226
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
227
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## [0.3.29] — 2026-03-03
|
|
232
|
+
|
|
233
|
+
### Changed
|
|
234
|
+
- README installation section fully rewritten: three clear options (Quick Install, Agent Configure, Agent Full), command reference table, concern table, manual steps. Progressive disclosure — simplest path first.
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## [0.4.7] — 2026-03-04
|
|
239
|
+
|
|
240
|
+
### Added
|
|
241
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
242
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
243
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
244
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
245
|
+
|
|
246
|
+
### Changed
|
|
247
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
248
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## [0.3.28] — 2026-03-03
|
|
253
|
+
|
|
254
|
+
### Added
|
|
255
|
+
- Commands reference table in README (install, activate, status, flush, update).
|
|
256
|
+
- Quick Install section for terminal-based setup (no agent needed).
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## [0.4.7] — 2026-03-04
|
|
261
|
+
|
|
262
|
+
### Added
|
|
263
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
264
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
265
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
266
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
267
|
+
|
|
268
|
+
### Changed
|
|
269
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
270
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## [0.3.27] — 2026-03-03
|
|
275
|
+
|
|
276
|
+
### Changed
|
|
277
|
+
- Install prompt now directs agents to read the npm README before installing, so they find the security guidance table themselves.
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
## [0.4.7] — 2026-03-04
|
|
282
|
+
|
|
283
|
+
### Added
|
|
284
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
285
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
286
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
287
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
288
|
+
|
|
289
|
+
### Changed
|
|
290
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
291
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## [0.3.26] — 2026-03-03
|
|
296
|
+
|
|
297
|
+
### Changed
|
|
298
|
+
- README: added agent refusal guidance with explicit trust confirmation prompt and concern-by-concern explanation table.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## [0.4.7] — 2026-03-04
|
|
303
|
+
|
|
304
|
+
### Added
|
|
305
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
306
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
307
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
308
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
309
|
+
|
|
310
|
+
### Changed
|
|
311
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
312
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## [0.3.25] — 2026-03-03
|
|
317
|
+
|
|
318
|
+
### Changed
|
|
319
|
+
- Quick Start prompt rewritten: clarifies user registered at uss.upx.com, uses openclaw plugins install command, explains redaction model, addresses common agent security refusals.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
## [0.4.7] — 2026-03-04
|
|
324
|
+
|
|
325
|
+
### Added
|
|
326
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
327
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
328
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
329
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
330
|
+
|
|
331
|
+
### Changed
|
|
332
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
333
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## [0.3.24] — 2026-03-03
|
|
338
|
+
|
|
339
|
+
### Fixed
|
|
340
|
+
- Auto-update now computes and preserves tarball shasum in openclaw.json metadata after self-update.
|
|
341
|
+
|
|
342
|
+
### Changed
|
|
343
|
+
- Quick Start prompt expanded to address agent security concerns (external data sending, installation key purpose, npm scope trust).
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## [0.4.7] — 2026-03-04
|
|
348
|
+
|
|
349
|
+
### Added
|
|
350
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
351
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
352
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
353
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
354
|
+
|
|
355
|
+
### Changed
|
|
356
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
357
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
## [0.3.23] — 2026-03-03
|
|
362
|
+
|
|
363
|
+
### Changed
|
|
364
|
+
- Quick Start prompt simplified.
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
## [0.4.7] — 2026-03-04
|
|
369
|
+
|
|
370
|
+
### Added
|
|
371
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
372
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
373
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
374
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
375
|
+
|
|
376
|
+
### Changed
|
|
377
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
378
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## [0.3.22] — 2026-03-03
|
|
383
|
+
|
|
384
|
+
### Fixed
|
|
385
|
+
- Auto-update now syncs `plugins.installs.shield` metadata in `openclaw.json` after self-updating. Prevents OpenClaw core updates from removing the plugin due to version/integrity mismatch.
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## [0.4.7] — 2026-03-04
|
|
390
|
+
|
|
391
|
+
### Added
|
|
392
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
393
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
394
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
395
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
396
|
+
|
|
397
|
+
### Changed
|
|
398
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
399
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## [0.3.21] — 2026-03-03
|
|
404
|
+
|
|
405
|
+
### Fixed
|
|
406
|
+
- Auto-update now wired into the plugin entry point (the file OpenClaw actually loads). Previously only connected to the standalone bridge CLI.
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## [0.4.7] — 2026-03-04
|
|
411
|
+
|
|
412
|
+
### Added
|
|
413
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
414
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
415
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
416
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
417
|
+
|
|
418
|
+
### Changed
|
|
419
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
420
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
## [0.3.20] — 2026-03-03
|
|
425
|
+
|
|
426
|
+
### Added
|
|
427
|
+
- Update check on gateway startup — no longer need to wait for the 6-hour cycle.
|
|
428
|
+
- Explicit startup log: `Startup update check (autoUpdate=..., current=...)` and `Up to date` confirmation.
|
|
429
|
+
|
|
430
|
+
### Changed
|
|
431
|
+
- CHANGELOG.md now bundled with the npm package.
|
|
432
|
+
- No GitHub links in public docs.
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## [0.4.7] — 2026-03-04
|
|
437
|
+
|
|
438
|
+
### Added
|
|
439
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
440
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
441
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
442
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
443
|
+
|
|
444
|
+
### Changed
|
|
445
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
446
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
447
|
+
|
|
448
|
+
---
|
|
449
|
+
|
|
450
|
+
## [0.3.19] — 2026-03-03
|
|
451
|
+
|
|
452
|
+
### Changed
|
|
453
|
+
- Changelog FAQ now links to public GitHub CHANGELOG.
|
|
454
|
+
|
|
455
|
+
---
|
|
456
|
+
|
|
457
|
+
## [0.4.7] — 2026-03-04
|
|
458
|
+
|
|
459
|
+
### Added
|
|
460
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
461
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
462
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
463
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
464
|
+
|
|
465
|
+
### Changed
|
|
466
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
467
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
|
|
471
|
+
## [0.3.18] — 2026-03-03
|
|
472
|
+
|
|
473
|
+
### Added
|
|
474
|
+
- **Auto-update**: Shield checks for newer versions and installs them automatically. Patch and minor versions are installed with backup and rollback safety. Major versions notify only. Configure via `autoUpdate` in plugin config (`true` | `false` | `"notify-only"`). Default: `true`.
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## [0.4.7] — 2026-03-04
|
|
479
|
+
|
|
480
|
+
### Added
|
|
481
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
482
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
483
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
484
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
485
|
+
|
|
486
|
+
### Changed
|
|
487
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
488
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## [0.3.17] — 2026-03-02
|
|
493
|
+
|
|
494
|
+
### Added
|
|
495
|
+
- **Chained command detection**: exec events now parse chained commands (`&&`, `||`, `;`) to extract all commands in a chain. New metadata fields: `cmd_all_root_commands`, `cmd_is_chained`, `cmd_chain_count`.
|
|
496
|
+
|
|
497
|
+
### Fixed
|
|
498
|
+
- Detection rules can now match destructive commands embedded after chain operators (e.g. `mkdir /tmp && rm -rf /path`).
|
|
499
|
+
|
|
500
|
+
---
|
|
501
|
+
|
|
502
|
+
## [0.4.7] — 2026-03-04
|
|
503
|
+
|
|
504
|
+
### Added
|
|
505
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
506
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
507
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
508
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
509
|
+
|
|
510
|
+
### Changed
|
|
511
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
512
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
## [0.3.16] — 2026-02-27
|
|
517
|
+
|
|
518
|
+
### Changed
|
|
519
|
+
- Quick Start: single intent-based prompt for installation.
|
|
520
|
+
|
|
521
|
+
---
|
|
522
|
+
|
|
523
|
+
## [0.4.7] — 2026-03-04
|
|
524
|
+
|
|
525
|
+
### Added
|
|
526
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
527
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
528
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
529
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
530
|
+
|
|
531
|
+
### Changed
|
|
532
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
533
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
## [0.3.6] — 2026-02-26
|
|
538
|
+
|
|
539
|
+
### Added
|
|
540
|
+
- Public IP and instance name included in telemetry for geo-enrichment and display.
|
|
541
|
+
|
|
542
|
+
---
|
|
543
|
+
|
|
544
|
+
## [0.4.7] — 2026-03-04
|
|
545
|
+
|
|
546
|
+
### Added
|
|
547
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
548
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
549
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
550
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
551
|
+
|
|
552
|
+
### Changed
|
|
553
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
554
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
555
|
+
|
|
556
|
+
---
|
|
557
|
+
|
|
558
|
+
## [0.3.5] — 2026-02-26
|
|
559
|
+
|
|
560
|
+
### Fixed
|
|
561
|
+
- Plugin no longer deactivates on transient registration failures at startup. Retries up to 10 times before exiting.
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## [0.4.7] — 2026-03-04
|
|
566
|
+
|
|
567
|
+
### Added
|
|
568
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
569
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
570
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
571
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
572
|
+
|
|
573
|
+
### Changed
|
|
574
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
575
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
## [0.3.4] — 2026-02-26
|
|
580
|
+
|
|
581
|
+
### Changed
|
|
582
|
+
- Documentation improvements.
|
|
583
|
+
|
|
584
|
+
---
|
|
585
|
+
|
|
586
|
+
## [0.4.7] — 2026-03-04
|
|
587
|
+
|
|
588
|
+
### Added
|
|
589
|
+
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
590
|
+
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
591
|
+
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
592
|
+
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
593
|
+
|
|
594
|
+
### Changed
|
|
595
|
+
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
596
|
+
- README.md updated with Local Event Buffer section and configuration reference.
|
|
597
|
+
|
|
598
|
+
---
|
|
599
|
+
|
|
600
|
+
## [0.3.0] — 2026-02-26
|
|
601
|
+
- First public release.
|