agentverify 1.4.0 → 2.0.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/CHANGELOG.md +34 -1
- package/README.md +1 -1
- package/dist/cli.js +774 -28
- package/dist/cli.mjs +776 -28
- package/dist/guard.d.mts +105 -0
- package/dist/guard.d.ts +105 -0
- package/dist/guard.js +249 -0
- package/dist/guard.mjs +220 -0
- package/dist/sdk.d.mts +4 -0
- package/dist/sdk.d.ts +4 -0
- package/package.json +28 -8
package/dist/sdk.d.ts
CHANGED
|
@@ -52,6 +52,10 @@ interface Finding {
|
|
|
52
52
|
recommendedFix: string;
|
|
53
53
|
fixCode?: string;
|
|
54
54
|
quickFix?: string;
|
|
55
|
+
/** Line in the scanned content, when the finding can be located. */
|
|
56
|
+
line?: number;
|
|
57
|
+
/** Set by the API when this finding has a fix your plan does not include (Pro). */
|
|
58
|
+
fixLocked?: boolean;
|
|
55
59
|
compliance?: {
|
|
56
60
|
owasp?: string[];
|
|
57
61
|
nist?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentverify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"mcpName": "io.github.AI-Blockchain-Ventures/agentverify",
|
|
4
5
|
"description": "CLI and SDK for Agent Verify — execution trust analysis for AI agents",
|
|
5
6
|
"bin": {
|
|
6
7
|
"agentverify": "dist/cli.js"
|
|
@@ -14,19 +15,38 @@
|
|
|
14
15
|
"import": "./dist/sdk.mjs",
|
|
15
16
|
"require": "./dist/sdk.js"
|
|
16
17
|
},
|
|
18
|
+
"./guard": {
|
|
19
|
+
"types": "./dist/guard.d.ts",
|
|
20
|
+
"import": "./dist/guard.mjs",
|
|
21
|
+
"require": "./dist/guard.js"
|
|
22
|
+
},
|
|
17
23
|
"./cli": "./dist/cli.js"
|
|
18
24
|
},
|
|
19
|
-
"files": [
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE",
|
|
29
|
+
"CHANGELOG.md"
|
|
30
|
+
],
|
|
20
31
|
"scripts": {
|
|
21
|
-
"build": "tsup src/cli.ts src/sdk.ts --format cjs,esm --dts --clean",
|
|
22
|
-
"dev": "tsup src/cli.ts src/sdk.ts --format cjs,esm --dts --watch",
|
|
23
|
-
"test": "npm run build && node test/cli.test.mjs",
|
|
32
|
+
"build": "tsup src/cli.ts src/sdk.ts src/guard.ts --format cjs,esm --dts --clean",
|
|
33
|
+
"dev": "tsup src/cli.ts src/sdk.ts src/guard.ts --format cjs,esm --dts --watch",
|
|
34
|
+
"test": "npm run build && node test/cli.test.mjs && node --test test/profile.test.mjs test/mcp.test.mjs test/guard.test.mjs",
|
|
24
35
|
"prepublishOnly": "npm run build"
|
|
25
36
|
},
|
|
26
|
-
"engines": {
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=18.0.0"
|
|
39
|
+
},
|
|
27
40
|
"keywords": [
|
|
28
|
-
"ai",
|
|
29
|
-
"
|
|
41
|
+
"ai",
|
|
42
|
+
"agents",
|
|
43
|
+
"security",
|
|
44
|
+
"verification",
|
|
45
|
+
"a2spa",
|
|
46
|
+
"agent-security",
|
|
47
|
+
"llm",
|
|
48
|
+
"ai-safety",
|
|
49
|
+
"cli"
|
|
30
50
|
],
|
|
31
51
|
"author": "AI Blockchain Ventures LLC <hello@aiblockchainventures.com>",
|
|
32
52
|
"license": "MIT",
|