agentshield-sdk 7.2.0 → 7.2.1

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
@@ -388,7 +388,7 @@ validator.validate(plugin); // Safety & quality validation
388
388
 
389
389
  ### VS Code Extension (v2.0)
390
390
 
391
- The `vscode-extension/` directory contains a VS Code extension that provides inline diagnostics and real-time scanning for JS/TS/Python/Markdown files with 31 detection patterns.
391
+ The `vscode-extension/` directory contains a VS Code extension that provides inline diagnostics and real-time scanning for JS/TS/Python/Markdown files with 141 detection patterns.
392
392
 
393
393
  ### Enterprise Features (v2.1)
394
394
 
@@ -833,8 +833,9 @@ Automatically scan PRs for injection threats with Check Run annotations:
833
833
  ### Real-Time Dashboard (v5.0)
834
834
 
835
835
  ```javascript
836
- const { ThreatStreamServer } = require('agent-shield/dashboard-live/server');
837
- const { DashboardIntegration } = require('agent-shield/dashboard-live/integration');
836
+ // Dashboard is a standalone sub-project - import directly:
837
+ const { ThreatStreamServer } = require('./dashboard-live/server');
838
+ const { DashboardIntegration } = require('./dashboard-live/integration');
838
839
 
839
840
  const server = new ThreatStreamServer({ port: 3001 });
840
841
  server.start();
@@ -998,7 +999,7 @@ Total: **1,282 test assertions** across 15 test suites.
998
999
 
999
1000
  ## CI/CD
1000
1001
 
1001
- A GitHub Actions workflow is included at `.github/workflows/ci.yml`. It runs all tests across Node.js 16, 18, 20, and 22 on every push and PR.
1002
+ A GitHub Actions workflow is included at `.github/workflows/ci.yml`. It runs all tests across Node.js 18, 20, and 22 on every push and PR.
1002
1003
 
1003
1004
  ## Privacy
1004
1005
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentshield-sdk",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "description": "The security standard for MCP and AI agents. Protects against prompt injection, confused deputy attacks, data exfiltration, and 30+ threats. Zero dependencies, runs locally.",
5
5
  "main": "src/main.js",
6
6
  "types": "types/index.d.ts",
@@ -29,7 +29,8 @@
29
29
  "test:v6": "node test/test-v6-modules.js",
30
30
  "test:adaptive": "node test/test-adaptive-defense.js",
31
31
  "test:ipia": "node test/test-ipia-detector.js",
32
- "test:full": "npm test && node test/test-mcp-security.js && node test/test-confused-deputy.js && node test/test-v6-modules.js && node test/test-adaptive-defense.js && node test/test-ipia-detector.js && npm run test:all",
32
+ "test:production": "node test/test-production-readiness.js",
33
+ "test:full": "npm test && node test/test-mcp-security.js && node test/test-confused-deputy.js && node test/test-v6-modules.js && node test/test-adaptive-defense.js && node test/test-ipia-detector.js && node test/test-production-readiness.js && npm run test:all",
33
34
  "test:coverage": "c8 --reporter=text --reporter=lcov --reporter=json-summary npm test",
34
35
  "lint": "node test/lint.js",
35
36
  "lint:eslint": "eslint src/ test/ bin/",
@@ -53,7 +54,7 @@
53
54
  "benchmark:generate": "node scripts/generate-dataset.js",
54
55
  "benchmark:baseline": "node scripts/run-benchmark.js --save-baseline",
55
56
  "benchmark:regression": "node scripts/run-benchmark.js --check-regression",
56
- "prepublishOnly": "npm test && npm run test:all && npm run test:fp"
57
+ "prepublishOnly": "npm run test:full"
57
58
  },
58
59
  "keywords": [
59
60
  "ai",