@drakon-systems/shieldcortex-realtime 4.12.12 → 4.12.14

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/index.ts CHANGED
@@ -280,9 +280,12 @@ function extractPluginConfig(rootConfig: unknown): SCConfig {
280
280
  }
281
281
 
282
282
  function applyPluginConfigOverride(api: PluginApi): void {
283
- const runtimeConfig = typeof api.runtime?.config?.loadConfig === "function"
284
- ? api.runtime.config.loadConfig()
285
- : api.config;
283
+ const runtimeConfigApi = api.runtime?.config;
284
+ const runtimeConfig = typeof runtimeConfigApi?.current === "function"
285
+ ? runtimeConfigApi.current()
286
+ : typeof runtimeConfigApi?.loadConfig === "function"
287
+ ? runtimeConfigApi.loadConfig()
288
+ : api.config;
286
289
  const pluginConfig = extractPluginConfig(runtimeConfig);
287
290
  if (Object.keys(pluginConfig).length === 0) return;
288
291
  _configOverride = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "shieldcortex-realtime",
3
- "version": "4.12.12",
3
+ "version": "4.12.14",
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,
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "enabledByDefault": false,
12
12
  "activation": {
13
+ "onStartup": false,
13
14
  "hooks": ["llm_input", "llm_output", "before_tool_call", "session_end"],
14
15
  "commands": ["shieldcortex-status"]
15
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drakon-systems/shieldcortex-realtime",
3
- "version": "4.12.12",
3
+ "version": "4.12.14",
4
4
  "description": "OpenClaw plugin for ShieldCortex real-time defence scanning and optional memory extraction.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -25,7 +25,7 @@
25
25
  "pack:verify": "npm pack --dry-run"
26
26
  },
27
27
  "peerDependencies": {
28
- "shieldcortex": "^4.12.12",
28
+ "shieldcortex": "^4.12.14",
29
29
  "openclaw": ">=2026.3.22"
30
30
  },
31
31
  "peerDependenciesMeta": {