@silmaril-security/firewall-plugin 1.2.6 → 1.2.7

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/CLAUDE.md CHANGED
@@ -101,10 +101,10 @@ Configuration fields:
101
101
  Classifier requests still include harness provenance. On macOS that provenance
102
102
  can include the local computer name, and classification does not wait for the
103
103
  lookup
104
- - `timeoutMs`: optional classifier timeout in milliseconds. Finite numbers,
105
- including numeric strings, are truncated toward zero and then kept when that
106
- integer is from `250` through `10000`. Omitted, non-finite, or out-of-range
107
- values use `2500`
104
+ - `timeoutMs`: optional classifier timeout in milliseconds. OpenClaw plugin
105
+ configuration accepts JSON integers from `250` through `10000`; omission uses
106
+ `2500`. The host validates the manifest schema before runtime loading and
107
+ rejects numeric strings, fractional numbers, and out-of-range values
108
108
  - `mode`: optional `shadow`, `warn`, or `block` override. A set value wins over
109
109
  the legacy booleans below and over `mode` on the classifier response
110
110
  - `shadowMode`: legacy flag. `true` forces Shadow, including when
@@ -244,7 +244,7 @@ for direct source loading or the CLI install path is unavailable.
244
244
 
245
245
  ```sh
246
246
  npm pack
247
- openclaw plugins install ./silmaril-security-firewall-plugin-1.2.6.tgz
247
+ openclaw plugins install ./silmaril-security-firewall-plugin-1.2.7.tgz
248
248
  openclaw plugins enable firewall-plugin
249
249
  ```
250
250
 
package/README.md CHANGED
@@ -119,10 +119,11 @@ plugin to receive `before_agent_run`. Without that host permission, OpenClaw
119
119
  loads the remaining hooks but skips prompt classification and reports a plugin
120
120
  diagnostic.
121
121
 
122
- `timeoutMs` is optional. Finite numbers, including numeric strings, are
123
- truncated toward zero and then kept when that integer is from `250` through
124
- `10000`. Omitted, non-finite, or out-of-range values use `2500`. That value
125
- bounds each classifier request.
122
+ `timeoutMs` is optional. In OpenClaw plugin configuration, use a JSON integer
123
+ from `250` through `10000`; for example, `"timeoutMs": 2500`. Omit it to use
124
+ `2500`. The host validates configuration against the plugin manifest before
125
+ loading the runtime and rejects numeric strings, fractional numbers, and values
126
+ outside that range. That value bounds each classifier request.
126
127
 
127
128
  The Silmaril endpoint app supplies `endpointId` as a canonical UUID v4. Every classifier request carries plugin-owned `metadata.silmaril.provenance` with `schema_version` `1` and harness `openclaw`. An omitted or invalid endpoint ID omits `endpoint_id`. On macOS, provenance can also include the local computer name. Classification does not wait for that lookup, and other platforms omit it.
128
129
 
@@ -177,7 +178,7 @@ not represented as independently verified prevention.
177
178
 
178
179
  ## Install
179
180
 
180
- After version 1.2.6 is published, install that package by name:
181
+ The currently published npm release is 1.2.6. Install it by name:
181
182
 
182
183
  ```sh
183
184
  openclaw plugins install @silmaril-security/firewall-plugin@1.2.6
@@ -226,7 +227,7 @@ generated tarball:
226
227
  npm install
227
228
  npm run build
228
229
  npm pack
229
- openclaw plugins install ./silmaril-security-firewall-plugin-1.2.6.tgz
230
+ openclaw plugins install ./silmaril-security-firewall-plugin-1.2.7.tgz
230
231
  openclaw plugins enable firewall-plugin
231
232
  openclaw gateway restart
232
233
  ```
package/dist/index.js CHANGED
@@ -225,7 +225,7 @@ function omitUndefined(record) {
225
225
 
226
226
  // index.ts
227
227
  var PLUGIN_ID = "firewall-plugin";
228
- var PLUGIN_VERSION = "1.2.6";
228
+ var PLUGIN_VERSION = "1.2.7";
229
229
  var LOCAL_EVIDENCE_POLICY_VERSION = "openclaw-plugin-policy-v1";
230
230
  var DEFAULT_CLASSIFY_TIMEOUT_MS = 2500;
231
231
  var MIN_CLASSIFY_TIMEOUT_MS = 250;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silmaril-security/firewall-plugin",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "repository": {