-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@cognitive-fab/polyman",
"version": "0.1.0",
"type": "module",
"description": "polyman — a taint-tracking tool gate for AI agents whose policy is proven unbreakable at design time. The man-in-the-middle for the PolySec family. No API key on the decision path.",
"keywords": [
"ai-agents",
"security",
"prompt-injection",
"mcp",
"tool-calling",
"reference-monitor",
"lethal-trifecta",
"vercel-ai-sdk",
"polysec",
"sam"
],
"license": "Apache-2.0",
"author": "Cognitive Fab LLC",
"repository": {
"type": "git",
"url": "git+https://github.com/jdubray/polysec.git",
"directory": "polyman"
},
"homepage": "https://github.com/jdubray/polysec/tree/main/polyman#readme",
"bugs": "https://github.com/jdubray/polysec/issues",
"engines": {
"node": ">=20"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./vercel": {
"types": "./dist/vercel.d.ts",
"import": "./dist/vercel.js",
"require": "./dist/vercel.cjs"
},
"./mcp": {
"types": "./dist/mcp.d.ts",
"import": "./dist/mcp.js",
"require": "./dist/mcp.cjs"
},
"./policy/*": "./policy/*"
},
"peerDependencies": {
"ai": ">=7 <8"
},
"peerDependenciesMeta": {
"ai": {
"optional": true
}
},
"files": [
"dist",
"policy",
"vendor",
"README.md",
"LICENSE"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"//scripts": "verify is a dev/CI coherence gate (reaches the sibling PolySec/Polygraph engines); not shipped as a bin.",
"scripts": {
"build": "tsup",
"verify": "node bin/polyman.mjs verify",
"test": "node --test \"test/**/*.test.ts\"",
"prepublishOnly": "npm run build && npm test"
},
"devDependencies": {
"@types/node": "^26.1.1",
"ai": "^7.0.34",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
}
}