{
  "name": "@earendil-works/pi-coding-agent",
  "version": "1.6.0",
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
  "type": "module",
  "piConfig": {
    "configDir": ".pi"
  },
  "bin": {
    "pi": "dist/bundle/cli.js"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./rpc-entry": {
      "import": "./dist/bundle/rpc-entry.js"
    }
  },
  "files": [
    "dist",
    "docs",
    "examples",
    "schemas",
    "containerization.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "clean": "node ../../scripts/package-files.mjs clean dist",
    "build": "npm run build:unbundled && node ../../scripts/build-coding-agent-bundle.mjs",
    "build:unbundled": "tsc -p tsconfig.build.json && node ../../scripts/package-files.mjs executable dist/cli.js dist/rpc-entry.js && npm run copy-assets",
    "build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile --no-compile-autoload-bunfig --no-compile-autoload-dotenv --compile-autoload-package-json ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/extensions/codemode/worker.ts --outfile dist/pi && npm run copy-binary-assets",
    "copy-assets": "node ../../scripts/package-files.mjs copy \"src/modes/interactive/theme/*.json\" dist/modes/interactive/theme && node ../../scripts/package-files.mjs copy \"src/modes/interactive/assets/*.png\" dist/modes/interactive/assets && node ../../scripts/package-files.mjs copy src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html && node ../../scripts/package-files.mjs copy \"src/core/export-html/vendor/*.js\" dist/core/export-html/vendor",
    "copy-binary-assets": "node ../../scripts/package-files.mjs copy package.json README.md CHANGELOG.md docs examples ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist && node ../../scripts/package-files.mjs copy \"src/modes/interactive/theme/*.json\" dist/theme && node ../../scripts/package-files.mjs copy \"src/modes/interactive/assets/*.png\" dist/assets && node ../../scripts/package-files.mjs copy src/core/export-html/template.html dist/export-html && node ../../scripts/package-files.mjs copy \"src/core/export-html/vendor/*.js\" dist/export-html/vendor",
    "test": "vitest --run",
    "generate:schemas": "node --import ./src/experimental/source-resolver.ts scripts/generate-schemas.ts",
    "generate:references": "node --import ./src/experimental/source-resolver.ts scripts/generate-references.ts",
    "prepublishOnly": "npm run clean && npm run build"
  },
  "dependencies": {
    "@silvia-odwyer/photon-node": "0.3.4",
    "brace-expansion": "5.0.12",
    "chalk": "6.0.0",
    "cross-spawn": "7.1.0",
    "diff": "8.0.4",
    "highlight.js": "10.7.3",
    "hosted-git-info": "9.0.3",
    "ignore": "7.0.8",
    "jiti": "2.7.0",
    "lovely-mermaid": "0.3.3",
    "minimatch": "11.0.7",
    "proper-lockfile": "4.1.2",
    "quickjs-wasi": "3.6.2",
    "semver": "7.8.5",
    "typebox": "1.3.27",
    "undici": "8.12.4",
    "yaml": "2.9.0"
  },
  "overrides": {
    "protobufjs": "7.6.6"
  },
  "devDependencies": {
    "@types/cross-spawn": "6.0.6",
    "@types/hosted-git-info": "3.0.5",
    "@types/node": "22.19.19",
    "@types/proper-lockfile": "4.1.4",
    "@types/semver": "7.7.1",
    "marked": "18.0.11",
    "vitest": "4.1.12"
  },
  "keywords": [
    "coding-agent",
    "ai",
    "llm",
    "cli",
    "tui",
    "agent"
  ],
  "author": "Mario Zechner",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/earendil-works/pi.git",
    "directory": "packages/coding-agent"
  },
  "engines": {
    "node": ">=22.19.0"
  }
}
