ai-sentinel 0.1.14 → 0.1.15
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/dist/api-reporter.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api-reporter.js
CHANGED
|
@@ -20,7 +20,7 @@ import * as log from "./logger.js";
|
|
|
20
20
|
// - 5-second timeout per request via AbortController
|
|
21
21
|
// - Never blocks hooks (fire-and-forget)
|
|
22
22
|
// =============================================================================
|
|
23
|
-
const PLUGIN_VERSION = "0.1.
|
|
23
|
+
const PLUGIN_VERSION = "0.1.15";
|
|
24
24
|
const REQUEST_TIMEOUT_MS = 5_000;
|
|
25
25
|
const MAX_RETRY_DELAY_MS = 5 * 60 * 1000;
|
|
26
26
|
const INITIAL_RETRY_DELAY_MS = 5_000;
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ const plugin = {
|
|
|
20
20
|
// Initialize logger
|
|
21
21
|
log.setLogLevel(config.logLevel);
|
|
22
22
|
log.setPluginLogger(api.logger);
|
|
23
|
-
log.info(`Initializing AI Sentinel v0.1.
|
|
23
|
+
log.info(`Initializing AI Sentinel v0.1.15 [mode=${config.mode}, threshold=${config.threatThreshold}]`);
|
|
24
24
|
// Log per-agent configuration
|
|
25
25
|
if (config.excludeAgents.length > 0) {
|
|
26
26
|
log.info(`Excluded agents: ${config.excludeAgents.join(", ")}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-sentinel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "OpenClaw plugin for prompt injection detection. Drop-in security scanning that hooks into message, tool call, and tool result lifecycle events using heuristic pattern matching. For the full SDK with ML classification, custom rules, and audit logging, see ai-sentinel-sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|