Initial policy gate package

This commit is contained in:
enne2
2026-05-23 18:01:54 +02:00
commit f10266ca97
6 changed files with 2954 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"name": "@enne2/pi-policy-gate",
"version": "0.1.0",
"description": "Policy gate extension for pi that classifies risky tool calls into allow, confirm, deny, or require-refinement.",
"type": "module",
"keywords": [
"pi-package",
"pi-extension",
"security",
"policy",
"guardrails"
],
"files": [
"index.ts",
"README.md",
"policy-gate.example.json"
],
"pi": {
"extensions": [
"./index.ts"
]
},
"scripts": {
"check": "npm pack --dry-run >/dev/null",
"pack:check": "npm pack --dry-run"
},
"dependencies": {
"minimatch": "^10.1.1"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": "*"
},
"license": "MIT"
}