{
  "name": "@yassimba/pi-guardrails",
  "version": "0.3.0",
  "description": "Editable distribution of Pi Guardrails for local policy customization",
  "license": "MIT",
  "type": "module",
  "engines": {
    "node": ">=22.6"
  },
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi",
    "guardrails",
    "security"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Yassimba/ai-setup.git",
    "directory": "plugins/guardrails"
  },
  "publishConfig": {
    "access": "public"
  },
  "pi": {
    "extensions": [
      "./extensions/path-access/index.ts",
      "./extensions/guardrails/index.ts",
      "./extensions/permission-gate/index.ts",
      "./extensions/workspace-roots/index.ts"
    ],
    "video": "https://assets.aliou.me/github/aliou/pi-guardrails/demo.mp4",
    "image": "https://assets.aliou.me/github/aliou/pi-guardrails/banner.png"
  },
  "aiSetup": {
    "catalog": {
      "label": "Guardrails",
      "description": "Protect files, restrict paths, and gate dangerous shell commands"
    }
  },
  "files": [
    "src",
    "extensions",
    "README.md",
    "LICENSE",
    "THIRD_PARTY_NOTICES.md",
    "schema.json",
    "!src/**/*.test.ts",
    "!extensions/**/*.test.ts"
  ],
  "dependencies": {
    "@aliou/pi-utils-settings": "^0.17.0",
    "@aliou/sh": "^0.1.0"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "*",
    "@earendil-works/pi-tui": "*",
    "typebox": "*"
  },
  "peerDependenciesMeta": {
    "@earendil-works/pi-coding-agent": {
      "optional": true
    },
    "@earendil-works/pi-tui": {
      "optional": true
    },
    "typebox": {
      "optional": true
    }
  },
  "devDependencies": {
    "@earendil-works/pi-coding-agent": "^0.80.5",
    "@earendil-works/pi-tui": "^0.80.5",
    "@biomejs/biome": "^2.5.3",
    "@types/node": "^26.1.1",
    "memfs": "^4.57.2",
    "ts-json-schema-generator": "^2.9.0",
    "typebox": "^1.1.38",
    "typescript": "^7.0.2",
    "vitest": "^4.1.4"
  },
  "scripts": {
    "test": "vitest run",
    "typecheck": "tsc --noEmit",
    "lint": "biome check",
    "gen:schema": "ts-json-schema-generator --path src/shared/config/types.ts --type GuardrailsConfig --no-type-check -o schema.json",
    "check:schema": "ts-json-schema-generator --path src/shared/config/types.ts --type GuardrailsConfig --no-type-check -o /tmp/pi-guardrails-schema-check.json && diff -q schema.json /tmp/pi-guardrails-schema-check.json"
  }
}
