{
  "name": "pi-shift-router",
  "version": "0.9.1",
  "description": "Two-tier model router for pi-coding-agent — automatic execution/judgment routing with LLM Judge, multi-model fallback chains, and exponential-backoff runtime failover. Zero runtime dependencies.",
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi-coding-agent",
    "pi-agent",
    "shift-router",
    "model-routing",
    "ai-router",
    "llm-router",
    "model-selection",
    "task-classifier",
    "llm-judge",
    "two-tier-routing",
    "multi-model-fallback",
    "exponential-backoff",
    "agent-failover",
    "rate-limit-handling",
    "model-switching",
    "agent-routing",
    "auto-router",
    "cost-optimization"
  ],
  "license": "MIT",
  "homepage": "https://shiftrouter.greenerai.top",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/green-dalii/pi-shift-router.git"
  },
  "bugs": {
    "url": "https://github.com/green-dalii/pi-shift-router/issues"
  },
  "author": {
    "name": "green-dalii",
    "url": "https://github.com/green-dalii"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "pi": {
    "extensions": [
      "./dist/index.js"
    ],
    "minPiVersion": "0.80.0"
  },
  "engines": {
    "node": ">=24.0.0"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "files": [
    "dist",
    "docs",
    "assets",
    "README.md",
    "README.zh-CN.md",
    "LICENSE",
    "CHANGELOG.md",
    "package.json"
  ],
  "scripts": {
    "build": "tsc && node scripts/copy-assets.mjs",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "clean": "rm -rf node_modules dist",
    "pack:check": "npm pack --dry-run && node scripts/pack-check.mjs",
    "prepublishOnly": "npm run test && npm run build && npm run pack:check"
  },
  "dependencies": {},
  "peerDependencies": {
    "@earendil-works/pi-tui": "*"
  },
  "devDependencies": {
    "@earendil-works/pi-coding-agent": ">=0.80.0",
    "@earendil-works/pi-tui": "^0.81.1",
    "@types/node": "^22.0.0",
    "typescript": "^5.8.0",
    "vitest": "^2.1.0"
  }
}
