{
  "name": "pi-safety-net",
  "version": "1.0.8",
  "description": "Fail-open fork of cc-safety-net — blocks destructive git/filesystem commands, but defaults to fail-OPEN on broken/legacy config so the shell never bricks.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "bin": {
    "cc-safety-net": "dist/bin/cc-safety-net.js"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "bun run clean && bun run scripts/build.ts",
    "build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly --declaration",
    "build:schema": "bun run scripts/build-schema.ts",
    "clean": "rm -rf dist",
    "check": "bun run lint && bun run typecheck && bun run knip && bun run check-duplicates && bun run sg:scan && AGENT=1 bun test --coverage",
    "check:ci": "bun run lint:ci && bun run typecheck && bun run knip && bun run check-duplicates && bun run sg:scan && AGENT=1 bun test --coverage --coverage-reporter=lcov",
    "lint": "biome check --write",
    "lint:ci": "biome ci .",
    "typecheck": "tsc --noEmit",
    "knip": "knip --production",
    "check-duplicates": "bunx jscpd src tests --exitCode 1 --reporters ai",
    "sg:scan": "ast-grep scan",
    "test": "bun test",
    "publish:dry-run": "bun run scripts/publish.ts --dry-run",
    "cc-safety-net": "bun run src/bin/cc-safety-net.ts",
    "prepare": "husky && bun run setup-hooks",
    "setup-hooks": "chmod +x .husky/pre-commit .husky/pre-push"
  },
  "author": {
    "name": "J Liew",
    "email": "jliew@420024lab.com"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/buihongduc132/pi-safety-net.git"
  },
  "bugs": {
    "url": "https://github.com/buihongduc132/pi-safety-net/issues"
  },
  "homepage": "https://github.com/buihongduc132/pi-safety-net#readme",
  "devDependencies": {
    "@ast-grep/cli": "^0.40.4",
    "@biomejs/biome": "2.3.10",
    "@opencode-ai/plugin": "^1.0.224",
    "@types/bun": "latest",
    "@types/shell-quote": "^1.7.5",
    "husky": "^9.1.7",
    "jscpd": "^4.0.9",
    "knip": "^5.79.0",
    "lint-staged": "^16.2.7",
    "zod": "^4.3.5"
  },
  "peerDependencies": {
    "typescript": "^5"
  },
  "pi": {
    "extensions": [
      "./dist/pi/index.js"
    ]
  },
  "dependencies": {
    "shell-quote": "^1.8.4"
  },
  "trustedDependencies": [
    "@ast-grep/cli"
  ],
  "engines": {
    "node": ">=18"
  },
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi",
    "pi-coding-agent",
    "claude-code",
    "opencode",
    "codex",
    "gemini-cli",
    "safety",
    "fail-open",
    "plugin",
    "security"
  ]
}
