{
  "name": "pi-yaml-hooks",
  "version": "2026.5.12",
  "description": "YAML hook automation for the PI coding agent: tool guards, session hooks, prompts, notifications, and bash actions.",
  "author": "Kristjan Pikhof <kristjan.pikhof@gmail.com> (https://github.com/KristjanPikhof)",
  "type": "module",
  "engines": {
    "node": ">=22.0.0"
  },
  "main": "./dist/index.js",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./types": {
      "types": "./dist/index.d.ts"
    },
    "./extensions": "./dist/extensions/index.js",
    "./extensions/pi-yaml-hooks": "./dist/extensions/pi-yaml-hooks/index.js",
    "./package.json": "./package.json"
  },
  "pi": {
    "extensions": [
      "./extensions/index.ts"
    ]
  },
  "keywords": [
    "hooks",
    "yaml",
    "hook",
    "automation",
    "ai",
    "pi",
    "developer-tools",
    "agents",
    "agentic-ai",
    "coding-agent",
    "agent-hooks",
    "pi-coding-agent",
    "pi-extension",
    "pi-package",
    "pi-extensions",
    "pi-hooks",
    "pi-yaml-hooks"
  ],
  "files": [
    "dist",
    "src",
    "extensions",
    "docs",
    "examples/post-tool-developer-feedback",
    "examples/pre-tool-developer-guards",
    "examples/README.md",
    "scripts/tail-hook-log.sh",
    "README.md",
    "!**/*.test.ts",
    "!**/*.test.js",
    "!**/*.test.d.ts",
    "!**/*.tsbuildinfo"
  ],
  "scripts": {
    "typecheck": "tsc --noEmit",
    "build": "tsc && mkdir -p dist/extensions/pi-yaml-hooks && printf 'export { default } from \"./pi-yaml-hooks/index.js\";\n' > dist/extensions/index.js && printf 'export { default } from \"../../index.js\";\n' > dist/extensions/pi-yaml-hooks/index.js",
    "build:publish": "rm -rf dist && tsc -p tsconfig.publish.json && mkdir -p dist/extensions/pi-yaml-hooks && printf 'export { default } from \"./pi-yaml-hooks/index.js\";\n' > dist/extensions/index.js && printf 'export { default } from \"../../index.js\";\n' > dist/extensions/pi-yaml-hooks/index.js",
    "prepack": "npm run build:publish",
    "test": "echo \"no consumer tests\" && exit 0",
    "test:internal": "npm run build && node scripts/run-tests.mjs",
    "compat:sdk-matrix": "bash scripts/check-sdk-matrix.sh",
    "compat:sdk-matrix:dry-run": "bash scripts/check-sdk-matrix.sh --dry-run",
    "compat:sdk-matrix:future": "bash scripts/check-sdk-matrix.sh --include-future"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/KristjanPikhof/pi-yaml-hooks.git"
  },
  "homepage": "https://github.com/KristjanPikhof/pi-yaml-hooks#readme",
  "bugs": {
    "url": "https://github.com/KristjanPikhof/pi-yaml-hooks/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "license": "MIT",
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "^0.74.0",
    "@earendil-works/pi-tui": "^0.74.0"
  },
  "dependencies": {
    "yaml": "^2.8.2"
  },
  "devDependencies": {
    "@types/node": "^24.0.0",
    "typescript": "^5.9.3"
  }
}
