@drakon-systems/shieldcortex-realtime 4.18.1 → 4.18.3
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 +4 -0
- package/dist/openclaw.plugin.json +82 -12
- package/openclaw.plugin.json +82 -12
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -10,6 +10,10 @@ OpenClaw plugin for ShieldCortex real-time defence scanning and optional memory
|
|
|
10
10
|
|
|
11
11
|
OpenClaw is declared as an **optional** peer dependency, so installs on older OpenClaw keep working but miss the linking benefit.
|
|
12
12
|
|
|
13
|
+
### Packaging note for OpenClaw discovery
|
|
14
|
+
|
|
15
|
+
The main `shieldcortex` package and the dedicated `@drakon-systems/shieldcortex-realtime` plugin both expose OpenClaw metadata. From `4.18.3`, the main package also ships a root `openclaw.plugin.json` matching the canonical plugin manifest. This is intentional: OpenClaw's npm discovery validates packages with a `package.json.openclaw.extensions` entry by looking for a root manifest. Without it, `openclaw update` can stop the gateway and then fail config validation with `plugin manifest not found`.
|
|
16
|
+
|
|
13
17
|
### Known limitations under OpenClaw 2026.4.23
|
|
14
18
|
|
|
15
19
|
- **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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "shieldcortex-realtime",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.3",
|
|
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,
|
|
@@ -11,8 +11,15 @@
|
|
|
11
11
|
"enabledByDefault": false,
|
|
12
12
|
"activation": {
|
|
13
13
|
"onStartup": false,
|
|
14
|
-
"hooks": [
|
|
15
|
-
|
|
14
|
+
"hooks": [
|
|
15
|
+
"llm_input",
|
|
16
|
+
"llm_output",
|
|
17
|
+
"before_tool_call",
|
|
18
|
+
"session_end"
|
|
19
|
+
],
|
|
20
|
+
"commands": [
|
|
21
|
+
"shieldcortex-status"
|
|
22
|
+
]
|
|
16
23
|
},
|
|
17
24
|
"contracts": {},
|
|
18
25
|
"commandAliases": {
|
|
@@ -107,25 +114,88 @@
|
|
|
107
114
|
"interceptor": {
|
|
108
115
|
"type": "object",
|
|
109
116
|
"properties": {
|
|
110
|
-
"enabled": {
|
|
117
|
+
"enabled": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"default": true
|
|
120
|
+
},
|
|
111
121
|
"severityActions": {
|
|
112
122
|
"type": "object",
|
|
113
123
|
"additionalProperties": false,
|
|
114
124
|
"properties": {
|
|
115
|
-
"low": {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
125
|
+
"low": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"log",
|
|
129
|
+
"warn",
|
|
130
|
+
"require_approval"
|
|
131
|
+
],
|
|
132
|
+
"default": "log"
|
|
133
|
+
},
|
|
134
|
+
"medium": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"enum": [
|
|
137
|
+
"log",
|
|
138
|
+
"warn",
|
|
139
|
+
"require_approval"
|
|
140
|
+
],
|
|
141
|
+
"default": "log"
|
|
142
|
+
},
|
|
143
|
+
"high": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"log",
|
|
147
|
+
"warn",
|
|
148
|
+
"require_approval"
|
|
149
|
+
],
|
|
150
|
+
"default": "warn"
|
|
151
|
+
},
|
|
152
|
+
"critical": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"enum": [
|
|
155
|
+
"log",
|
|
156
|
+
"warn",
|
|
157
|
+
"require_approval"
|
|
158
|
+
],
|
|
159
|
+
"default": "log"
|
|
160
|
+
}
|
|
119
161
|
}
|
|
120
162
|
},
|
|
121
163
|
"failurePolicy": {
|
|
122
164
|
"type": "object",
|
|
123
165
|
"additionalProperties": false,
|
|
124
166
|
"properties": {
|
|
125
|
-
"low": {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
167
|
+
"low": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"allow",
|
|
171
|
+
"deny"
|
|
172
|
+
],
|
|
173
|
+
"default": "allow"
|
|
174
|
+
},
|
|
175
|
+
"medium": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": [
|
|
178
|
+
"allow",
|
|
179
|
+
"deny"
|
|
180
|
+
],
|
|
181
|
+
"default": "allow"
|
|
182
|
+
},
|
|
183
|
+
"high": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"enum": [
|
|
186
|
+
"allow",
|
|
187
|
+
"deny"
|
|
188
|
+
],
|
|
189
|
+
"default": "deny"
|
|
190
|
+
},
|
|
191
|
+
"critical": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": [
|
|
194
|
+
"allow",
|
|
195
|
+
"deny"
|
|
196
|
+
],
|
|
197
|
+
"default": "deny"
|
|
198
|
+
}
|
|
129
199
|
}
|
|
130
200
|
}
|
|
131
201
|
}
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "shieldcortex-realtime",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.3",
|
|
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,
|
|
@@ -11,8 +11,15 @@
|
|
|
11
11
|
"enabledByDefault": false,
|
|
12
12
|
"activation": {
|
|
13
13
|
"onStartup": false,
|
|
14
|
-
"hooks": [
|
|
15
|
-
|
|
14
|
+
"hooks": [
|
|
15
|
+
"llm_input",
|
|
16
|
+
"llm_output",
|
|
17
|
+
"before_tool_call",
|
|
18
|
+
"session_end"
|
|
19
|
+
],
|
|
20
|
+
"commands": [
|
|
21
|
+
"shieldcortex-status"
|
|
22
|
+
]
|
|
16
23
|
},
|
|
17
24
|
"contracts": {},
|
|
18
25
|
"commandAliases": {
|
|
@@ -107,25 +114,88 @@
|
|
|
107
114
|
"interceptor": {
|
|
108
115
|
"type": "object",
|
|
109
116
|
"properties": {
|
|
110
|
-
"enabled": {
|
|
117
|
+
"enabled": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"default": true
|
|
120
|
+
},
|
|
111
121
|
"severityActions": {
|
|
112
122
|
"type": "object",
|
|
113
123
|
"additionalProperties": false,
|
|
114
124
|
"properties": {
|
|
115
|
-
"low": {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
125
|
+
"low": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"log",
|
|
129
|
+
"warn",
|
|
130
|
+
"require_approval"
|
|
131
|
+
],
|
|
132
|
+
"default": "log"
|
|
133
|
+
},
|
|
134
|
+
"medium": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"enum": [
|
|
137
|
+
"log",
|
|
138
|
+
"warn",
|
|
139
|
+
"require_approval"
|
|
140
|
+
],
|
|
141
|
+
"default": "log"
|
|
142
|
+
},
|
|
143
|
+
"high": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"log",
|
|
147
|
+
"warn",
|
|
148
|
+
"require_approval"
|
|
149
|
+
],
|
|
150
|
+
"default": "warn"
|
|
151
|
+
},
|
|
152
|
+
"critical": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"enum": [
|
|
155
|
+
"log",
|
|
156
|
+
"warn",
|
|
157
|
+
"require_approval"
|
|
158
|
+
],
|
|
159
|
+
"default": "log"
|
|
160
|
+
}
|
|
119
161
|
}
|
|
120
162
|
},
|
|
121
163
|
"failurePolicy": {
|
|
122
164
|
"type": "object",
|
|
123
165
|
"additionalProperties": false,
|
|
124
166
|
"properties": {
|
|
125
|
-
"low": {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
167
|
+
"low": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"allow",
|
|
171
|
+
"deny"
|
|
172
|
+
],
|
|
173
|
+
"default": "allow"
|
|
174
|
+
},
|
|
175
|
+
"medium": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": [
|
|
178
|
+
"allow",
|
|
179
|
+
"deny"
|
|
180
|
+
],
|
|
181
|
+
"default": "allow"
|
|
182
|
+
},
|
|
183
|
+
"high": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"enum": [
|
|
186
|
+
"allow",
|
|
187
|
+
"deny"
|
|
188
|
+
],
|
|
189
|
+
"default": "deny"
|
|
190
|
+
},
|
|
191
|
+
"critical": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": [
|
|
194
|
+
"allow",
|
|
195
|
+
"deny"
|
|
196
|
+
],
|
|
197
|
+
"default": "deny"
|
|
198
|
+
}
|
|
129
199
|
}
|
|
130
200
|
}
|
|
131
201
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drakon-systems/shieldcortex-realtime",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.3",
|
|
4
4
|
"description": "OpenClaw plugin for ShieldCortex real-time defence scanning and optional memory extraction.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,11 +30,13 @@
|
|
|
30
30
|
"pack:verify": "npm pack --dry-run"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"shieldcortex": "^4.18.
|
|
33
|
+
"shieldcortex": "^4.18.3",
|
|
34
34
|
"openclaw": ">=2026.3.22"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
|
-
"openclaw": {
|
|
37
|
+
"openclaw": {
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
38
40
|
},
|
|
39
41
|
"engines": {
|
|
40
42
|
"node": ">=18.0.0",
|