feat: implement native hooks runtime

This commit is contained in:
jb
2026-09-01 16:43:46 -04:00
parent 3a9e61c22d
commit 73fa3299bf
59 changed files with 3392 additions and 8 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"name": "pi-native-hooks",
"version": "0.1.0",
"description": "Native Pi hooks runtime for shared diagnostics and verification gates",
"type": "module",
"engines": { "node": ">=22.19" },
"keywords": ["pi-package"],
"exports": {
"./policy": { "types": "./src/policy.ts", "default": "./src/policy.ts" }
},
"pi": {
"extensions": ["./extensions/pi-native-hooks/index.ts"],
"skills": ["./skills/native-hook-authoring"]
},
"scripts": {
"test": "node --import tsx --test --experimental-test-coverage tests/*.test.ts",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": "*",
"typebox": "*"
},
"devDependencies": {
"@earendil-works/pi-coding-agent": "^0.84.4",
"@types/node": "^24.0.0",
"typebox": "^1.0.48",
"tsx": "^4.20.0",
"typescript": "^5.9.0"
}
}