{
  "name": "pi",
  "private": true,
  "type": "module",
  "homepage": "https://github.com/getcompanion-ai/co-mono#readme",
  "bugs": {
    "url": "https://github.com/getcompanion-ai/co-mono/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/getcompanion-ai/co-mono.git"
  },
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
    "clean": "npm run clean --workspaces",
    "build": "cd packages/tui && npm run build && cd ../ai && npm run build && cd ../agent && npm run build && cd ../coding-agent && npm run build",
    "dev": "concurrently --names \"ai,agent,coding-agent,tui\" --prefix-colors \"cyan,yellow,red,magenta\" \"cd packages/ai && npm run dev\" \"cd packages/agent && npm run dev\" \"cd packages/coding-agent && npm run dev\" \"cd packages/tui && npm run dev\"",
    "dev:tsc": "cd packages/ai && npm run dev:tsc",
    "check": "biome check --write --error-on-warnings . && tsgo --noEmit && npm run check:browser-smoke",
    "check:browser-smoke": "sh -c 'esbuild scripts/browser-smoke-entry.ts --bundle --platform=browser --format=esm --log-limit=0 --outfile=/tmp/pi-browser-smoke.js > /tmp/pi-browser-smoke-errors.log 2>&1 || { echo \"Browser smoke check failed. See /tmp/pi-browser-smoke-errors.log\"; exit 1; }'",
    "test": "npm run test --workspaces --if-present",
    "version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js && shx rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
    "version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js && shx rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
    "version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js && shx rm -rf node_modules packages/*/node_modules package-lock.json && npm install",
    "version:set": "npm version -ws",
    "prepublishOnly": "npm run clean && npm run build && npm run check",
    "publish": "npm run prepublishOnly && npm publish -ws --access public",
    "publish:dry": "npm run prepublishOnly && npm publish -ws --access public --dry-run",
    "release:patch": "node scripts/release.mjs patch",
    "release:minor": "node scripts/release.mjs minor",
    "release:major": "node scripts/release.mjs major",
    "prepare": "husky"
  },
  "devDependencies": {
    "@biomejs/biome": "2.3.5",
    "@types/node": "^22.10.5",
    "@typescript/native-preview": "7.0.0-dev.20260120.1",
    "concurrently": "^9.2.1",
    "husky": "^9.1.7",
    "shx": "^0.4.0",
    "tsx": "^4.20.3",
    "typescript": "^5.9.2"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "version": "0.0.3",
  "dependencies": {
    "@mariozechner/jiti": "^2.6.5",
    "@mariozechner/pi-coding-agent": "^0.30.2",
    "get-east-asian-width": "^1.4.0"
  },
  "overrides": {
    "rimraf": "6.1.2",
    "fast-xml-parser": "5.3.8",
    "gaxios": {
      "rimraf": "6.1.2"
    }
  }
}
