{
  "name": "@ghx-dev/core",
  "version": "0.8.0",
  "description": "Route GitHub operations through deterministic adapters instead of fragile shell scraping. 70+ capabilities covering issues, PRs, repos, releases, and projects — each with validated input, normalized output, and automatic fallback routing.",
  "author": "Arye Kogan",
  "license": "MIT",
  "keywords": [
    "github",
    "github-api",
    "ai-agents",
    "agentic",
    "cli",
    "graphql",
    "automation",
    "typescript"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/aryeko/ghx.git",
    "directory": "packages/core"
  },
  "bugs": {
    "url": "https://github.com/aryeko/ghx/issues"
  },
  "homepage": "https://github.com/aryeko/ghx/tree/main/packages/core#readme",
  "engines": {
    "node": ">=22.13.0"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "ghx": "bin/ghx"
  },
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./cli": {
      "import": "./dist/cli/index.js"
    }
  },
  "files": [
    "bin",
    "dist",
    "scripts/plugin",
    ".claude-plugin",
    ".cursor-plugin",
    "skills",
    "LICENSE",
    "README.md"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "nx": {
    "targets": {
      "ci": {},
      "ci:extra": {
        "dependsOn": [
          "plugin:sync:check"
        ]
      },
      "test:e2e": {}
    }
  },
  "dependencies": {
    "ajv": "^8.20.0",
    "graphql": "^17.0.2",
    "js-yaml": "^5.2.2"
  },
  "devDependencies": {
    "@graphql-typed-document-node/core": "^3.2.0",
    "@opencode-ai/sdk": "^1.18.10",
    "@types/node": "^26.1.2",
    "@vitest/coverage-v8": "^4.1.10",
    "tsup": "^8.5.1",
    "tsx": "^4.23.1",
    "typescript": "npm:@typescript/typescript6@^6.0.2",
    "vitest": "^4.1.10"
  },
  "scripts": {
    "ghx": "tsx src/cli/index.ts",
    "build": "tsup",
    "format": "biome check --write .",
    "format:check": "biome check .",
    "lint": "oxlint .",
    "typecheck": "tsc --noEmit",
    "test": "vitest run --project unit",
    "test:watch": "vitest watch --project unit",
    "test:coverage": "vitest run --project unit --coverage",
    "test:e2e:local": "vitest run --project e2e:local",
    "test:e2e:sdk": "if [ -n \"$OPENAI_API_KEY\" ]; then vitest run --project e2e:sdk; else echo 'Skipping core SDK E2E: OPENAI_API_KEY not set'; fi",
    "plugin:sync": "node scripts/sync-plugin-manifests.mjs",
    "plugin:sync:check": "node scripts/sync-plugin-manifests.mjs --check",
    "gql:generate": "node scripts/generate-gql-artifacts.mjs && biome check --write --no-errors-on-unmatched src/gql/operations",
    "gql:schema:refresh": "GITHUB_TOKEN=\"$(gh auth token)\" graphql-codegen --config codegen-schema.ts",
    "gql:verify": "pnpm run gql:generate && git diff --exit-code -- ':(glob)src/gql/**/*.generated.ts'"
  }
}