{
    "name": "@github/copilot-sdk",
    "repository": {
        "type": "git",
        "url": "https://github.com/github/copilot-sdk.git"
    },
    "version": "1.0.13",
    "copilotCliVersion": "1.0.83",
    "description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
    "main": "./dist/cjs/index.js",
    "types": "./dist/index.d.ts",
    "exports": {
        ".": {
            "import": {
                "types": "./dist/index.d.ts",
                "default": "./dist/index.js"
            },
            "require": {
                "types": "./dist/index.d.ts",
                "default": "./dist/cjs/index.js"
            }
        },
        "./extension": {
            "import": {
                "types": "./dist/extension.d.ts",
                "default": "./dist/extension.js"
            },
            "require": {
                "types": "./dist/extension.d.ts",
                "default": "./dist/cjs/extension.js"
            }
        }
    },
    "type": "module",
    "scripts": {
        "clean": "rimraf --glob dist *.tgz",
        "build": "tsx esbuild-copilotsdk-nodejs.ts",
        "pack:release": "tsx scripts/package-sdk.ts",
        "verify:release-packages": "tsx scripts/verify-release-packages.ts",
        "prepare:runtime": "tsx scripts/prepare-runtime.ts",
        "test": "vitest run",
        "test:watch": "vitest",
        "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
        "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
        "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
        "lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\"",
        "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
        "generate": "cd ../scripts/codegen && npm run generate",
        "set:cli-version": "node scripts/set-cli-version.js",
        "update:protocol-version": "tsx scripts/update-protocol-version.ts",
        "prepublishOnly": "npm run build",
        "package": "npm run clean && npm run build && node scripts/set-version.js && npm run pack:release && npm version 0.0.0-dev --no-git-tag-version --allow-same-version"
    },
    "keywords": [
        "github",
        "copilot",
        "sdk",
        "jsonrpc",
        "agent"
    ],
    "author": "GitHub",
    "license": "MIT",
    "dependencies": {
        "koffi": "^3.1.0",
        "vscode-jsonrpc": "^8.2.1",
        "zod": "^4.3.6"
    },
    "devDependencies": {
        "@platformatic/vfs": "^0.3.0",
        "@types/node": "^25.2.0",
        "@types/ws": "^8.18.1",
        "@typescript-eslint/eslint-plugin": "^8.54.0",
        "@typescript-eslint/parser": "^8.54.0",
        "esbuild": "^0.28.1",
        "eslint": "^9.0.0",
        "glob": "^13.0.1",
        "json-schema": "^0.4.0",
        "json-schema-to-typescript": "^15.0.4",
        "prettier": "^3.8.1",
        "quicktype-core": "^23.2.6",
        "rimraf": "^6.1.2",
        "semver": "^7.7.3",
        "tar": "^7.5.22",
        "tsx": "^4.20.6",
        "typescript": "^5.0.0",
        "vitest": "^4.0.18",
        "ws": "^8.21.0"
    },
    "engines": {
        "node": "^20.19.0 || >=22.12.0"
    },
    "files": [
        "dist/**/*",
        "docs/**/*",
        "README.md"
    ],
    "optionalDependencies": {
        "@github/copilot-sdk-darwin-arm64": "1.0.13",
        "@github/copilot-sdk-darwin-x64": "1.0.13",
        "@github/copilot-sdk-linux-arm64": "1.0.13",
        "@github/copilot-sdk-linux-x64": "1.0.13",
        "@github/copilot-sdk-linuxmusl-arm64": "1.0.13",
        "@github/copilot-sdk-linuxmusl-x64": "1.0.13",
        "@github/copilot-sdk-win32-arm64": "1.0.13",
        "@github/copilot-sdk-win32-x64": "1.0.13"
    }
}
