{
  "name": "@agentclientprotocol/sdk",
  "version": "1.3.0",
  "publishConfig": {
    "access": "public"
  },
  "description": "The Agent Client Protocol (ACP) is a protocol that standardizes communication between *code editors* (interactive programs for viewing and editing source code) and *coding agents* (programs that use generative AI to autonomously modify code).",
  "homepage": "https://github.com/agentclientprotocol/typescript-sdk#readme",
  "bugs": {
    "url": "https://github.com/agentclientprotocol/typescript-sdk/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/agentclientprotocol/typescript-sdk.git"
  },
  "license": "Apache-2.0",
  "author": "Zed Industries",
  "files": [
    "typescript",
    "dist",
    "schema/schema.json",
    "schema/v2/schema.unstable.json",
    "LICENSE-APACHE"
  ],
  "type": "module",
  "main": "dist/acp.js",
  "types": "dist/acp.d.ts",
  "exports": {
    ".": {
      "types": "./dist/acp.d.ts",
      "import": "./dist/acp.js",
      "default": "./dist/acp.js"
    },
    "./experimental/v2": {
      "types": "./dist/v2/acp.d.ts",
      "import": "./dist/v2/acp.js",
      "default": "./dist/v2/acp.js"
    },
    "./experimental/http-client": {
      "types": "./dist/http-stream.d.ts",
      "import": "./dist/http-stream.js",
      "default": "./dist/http-stream.js"
    },
    "./experimental/ws-client": {
      "types": "./dist/ws-stream.d.ts",
      "import": "./dist/ws-stream.js",
      "default": "./dist/ws-stream.js"
    },
    "./experimental/server": {
      "types": "./dist/server.d.ts",
      "import": "./dist/server.js",
      "default": "./dist/server.js"
    },
    "./experimental/node": {
      "types": "./dist/node-adapter.d.ts",
      "import": "./dist/node-adapter.js",
      "default": "./dist/node-adapter.js"
    },
    "./schema/schema.json": "./schema/schema.json",
    "./schema/v2/schema.unstable.json": "./schema/v2/schema.unstable.json"
  },
  "directories": {
    "example": "examples"
  },
  "scripts": {
    "clean": "rm -rf dist tsconfig.tsbuildinfo",
    "test": "vitest run",
    "generate": "node scripts/generate.js",
    "build": "tsc",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "lint": "eslint",
    "lint:fix": "eslint --fix",
    "spellcheck": "./scripts/spellcheck.sh",
    "spellcheck:fix": "./scripts/spellcheck.sh --write-changes",
    "check": "npm run lint && npm run format:check && npm run spellcheck && npm run build && npm run test && npm run docs:ts:verify",
    "docs:ts:build": "cd src && typedoc --options typedoc.json && typedoc --options typedoc.v2.json && echo 'TypeScript documentation generated in ./src/docs'",
    "docs:ts:dev": "concurrently \"cd src && typedoc --options typedoc.json --watch --preserveWatchOutput --cleanOutputDir false\" \"cd src && typedoc --options typedoc.v2.json --watch --preserveWatchOutput --cleanOutputDir false\" \"npx http-server src/docs -p 8081\"",
    "docs:ts:verify": "cd src && typedoc --options typedoc.json --emit none && typedoc --options typedoc.v2.json --emit none && echo 'TypeDoc verification passed'"
  },
  "peerDependencies": {
    "zod": "^3.25.0 || ^4.0.0"
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@hey-api/openapi-ts": "^0.99.0",
    "@types/node": "^26.0.1",
    "@types/ws": "^8.5.13",
    "@typescript-eslint/eslint-plugin": "^8.62.1",
    "@typescript-eslint/parser": "^8.62.1",
    "concurrently": "^10.0.0",
    "eslint": "^10.6.0",
    "eslint-config-prettier": "^10.1.8",
    "globals": "^17.7.0",
    "http-server": "^14.1.1",
    "prettier": "^3.9.4",
    "tsx": "^4.21.0",
    "typedoc": "^0.28.16",
    "typedoc-github-theme": "^0.4.0",
    "typescript": "^6.0.2",
    "vitest": "^4.1.0",
    "ws": "^8.18.0",
    "zod": "^3.25.0 || ^4.0.0"
  }
}
