{
  "name": "pi-model-discovery",
  "version": "0.3.0",
  "private": false,
  "description": "Pi extension that discovers provider models, enriches metadata, caches results, and registers them dynamically.",
  "type": "module",
  "main": "./index.ts",
  "exports": {
    ".": "./index.ts"
  },
  "files": [
    "index.ts",
    "src",
    "scripts/verify-free-models.mjs",
    "config/config.example.json",
    "config.schema.json",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "pi": {
    "extensions": [
      "./index.ts"
    ]
  },
  "scripts": {
    "typecheck": "tsc --noEmit",
    "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json",
    "lint": "npm run audit:terminal",
    "audit:terminal": "node scripts/audit-terminal.mjs",
    "validate:json": "node scripts/validate-json.mjs",
    "verify:free-models": "npm run build --silent && node scripts/verify-free-models.mjs",
    "test": "npm run build --silent && node --test \"dist/test/**/*.test.js\"",
    "check": "npm run typecheck && npm run lint && npm run validate:json && npm run build && npm run test",
    "package:dry-run": "npm pack --dry-run",
    "prepublishOnly": "npm run check",
    "postinstall": "node -e \"const fs=require('fs'),cp=require('child_process'),p=require('path');const cwd=process.cwd();const normalized=cwd.split(p.sep).join('/');if(!normalized.includes('/.pi/agent/extensions/'))process.exit(0);const s=p.resolve(cwd,'../../scripts/patch-vulnerable-deps.mjs');if(!fs.existsSync(s))process.exit(0);const r=cp.spawnSync(process.execPath,[s,'--target',cwd,'--quiet'],{stdio:'inherit'});process.exit(r.status||0)\""
  },
  "keywords": [
    "pi-package",
    "pi",
    "pi-extension",
    "pi-coding-agent",
    "coding-agent",
    "pi-model-discovery",
    "model-catalog",
    "dynamic-models"
  ],
  "author": "MasuRii",
  "license": "MIT",
  "homepage": "https://github.com/MasuRii/pi-model-discovery#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MasuRii/pi-model-discovery.git"
  },
  "bugs": {
    "url": "https://github.com/MasuRii/pi-model-discovery/issues"
  },
  "engines": {
    "node": ">=20"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "^0.74.0 || ^0.75.0 || ^0.77.0 || ^0.78.0 || ^0.79.0 || ^0.80.0",
    "@earendil-works/pi-tui": "^0.74.0 || ^0.75.0 || ^0.77.0 || ^0.78.0 || ^0.79.0 || ^0.80.0"
  },
  "devDependencies": {
    "@types/node": "^26.1.0",
    "typescript": "^6.0.3",
    "@earendil-works/pi-coding-agent": "^0.80.3"
  },
  "publishConfig": {
    "access": "public"
  },
  "overrides": {
    "protobufjs": "7.6.3",
    "ws": "8.21.0"
  }
}
