{
  "name": "@r3b1s/pi-repair-layer",
  "version": "0.4.3",
  "description": "Tool-input repair layer for the pi coding agent: validate-then-repair for built-in tool calls, ported from the behavior of commandcode's repair layer",
  "repository": {
    "type": "git",
    "url": "https://github.com/r3b1s/pi-repair-layer.git"
  },
  "files": [
    "dist",
    "docs",
    "README.md",
    "LICENSE"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./core": {
      "types": "./dist/src/core.d.ts",
      "import": "./dist/src/core.js"
    },
    "./pi": {
      "types": "./dist/src/pi.d.ts",
      "import": "./dist/src/pi.js"
    },
    "./grammar": {
      "types": "./dist/src/grammar.d.ts",
      "import": "./dist/src/grammar.js"
    }
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi-coding-agent",
    "tool-repair",
    "validation"
  ],
  "pi": {
    "extensions": [
      "./dist/index.js"
    ]
  },
  "dependencies": {
    "typebox": "1.1.38"
  },
  "devDependencies": {
    "@biomejs/biome": "2.4.8",
    "@earendil-works/pi-ai": "^0.80.6",
    "@earendil-works/pi-coding-agent": "0.80.6",
    "@earendil-works/pi-tui": "0.80.6",
    "@types/node": "^24.0.0",
    "eslint": "^9.25.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.31.1",
    "vitest": "^4.1.10"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "*",
    "@earendil-works/pi-tui": "*"
  },
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "check": "tsc --noEmit",
    "build": "rm -rf dist && tsc -p tsconfig.build.json",
    "lint": "biome check . && eslint src/ test/ index.ts",
    "test": "vitest run",
    "test:fuzz": "vitest run test/envelope-fuzz.test.ts",
    "test:fuzz:large": "PI_REPAIR_FUZZ_CASES=10000 vitest run test/envelope-fuzz.test.ts",
    "test:watch": "vitest",
    "format": "biome check --write .",
    "test:package": "node scripts/package-smoke.mjs",
    "clean": "rm -rf dist node_modules coverage"
  }
}