@drakon-systems/shieldcortex-realtime 4.11.1 → 4.12.0

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/README.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  OpenClaw plugin for ShieldCortex real-time defence scanning and optional memory extraction.
4
4
 
5
+ ## Compatibility
6
+
7
+ - **Node.js** — ≥ 18 required
8
+ - **OpenClaw** — ≥ 2026.3.22 required, **≥ 2026.4.23 recommended** — 2026.4.23 added host-package linking for plugins that declare `openclaw` as a peer dependency ([#70462](https://github.com/openclaw/openclaw/pull/70462)), which lets any future `openclaw/plugin-sdk/*` imports resolve without a duplicate runtime bundle
9
+ - **ShieldCortex** — ≥ 4.11.1 required
10
+
11
+ OpenClaw is declared as an **optional** peer dependency, so installs on older OpenClaw keep working but miss the linking benefit.
12
+
13
+ ### Known limitations under OpenClaw 2026.4.23
14
+
15
+ - **Forked subagent context is host-owned.** OpenClaw 2026.4.23 added `ContextEngine.prepareSubagentSpawn({ contextMode: "isolated" | "fork" })` on the plugin-sdk's `ContextEngine` interface, but the spawn itself is initiated by the host runtime — plugins can only react to the lifecycle, not call `sessions_spawn` directly. Work that would benefit from an isolated scratch transcript (e.g. batch scans) therefore still runs inline in the parent session. If upstream exposes a plugin-callable spawn API, scan offloading will be revisited.
16
+ - **No public `systemPromptAddition` seam in plugin-sdk.** Hook metadata (`{ name, description }`) is typed and stable, but the SDK does not expose a structured hook for contributing to the effective system prompt. SC's bootstrap injection was disabled in v2026.2.26 for this reason (it was using private internals), and OpenClaw's native Memory Search now handles context recall at session start.
17
+
5
18
  ## What it does
6
19
 
7
20
  | Hook | Action |
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "id": "shieldcortex-realtime",
3
- "version": "4.11.1",
3
+ "version": "4.12.0",
4
4
  "name": "ShieldCortex Real-time Scanner",
5
5
  "description": "Real-time defence scanning on LLM input, memory extraction on LLM output, and active tool call interception with approval gating.",
6
6
  "kind": null,
7
+ "engines": {
8
+ "openclaw": ">=2026.3.22",
9
+ "recommended": ">=2026.4.23"
10
+ },
7
11
  "enabledByDefault": false,
8
12
  "activation": {
9
13
  "hooks": ["llm_input", "llm_output", "before_tool_call", "session_end"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drakon-systems/shieldcortex-realtime",
3
- "version": "4.11.1",
3
+ "version": "4.12.0",
4
4
  "description": "OpenClaw plugin for ShieldCortex real-time defence scanning and optional memory extraction.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -24,10 +24,15 @@
24
24
  "pack:verify": "npm pack --dry-run"
25
25
  },
26
26
  "peerDependencies": {
27
- "shieldcortex": "^4.11.1"
27
+ "shieldcortex": "^4.12.0",
28
+ "openclaw": ">=2026.3.22"
29
+ },
30
+ "peerDependenciesMeta": {
31
+ "openclaw": { "optional": true }
28
32
  },
29
33
  "engines": {
30
- "node": ">=18.0.0"
34
+ "node": ">=18.0.0",
35
+ "openclaw": ">=2026.4.23"
31
36
  },
32
37
  "publishConfig": {
33
38
  "access": "public"