{
  "name": "@llm-ports/core",
  "version": "0.1.0-alpha.28",
  "description": "Provider-agnostic LLM port interface, registry, cost gating, content blocks, validation strategies. The foundation of llm-ports.",
  "license": "MIT",
  "author": "Babak Abbaschian",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist",
    "scripts/postinstall-notice.mjs",
    "README.md"
  ],
  "dependencies": {
    "jsonrepair": "^3.14.0"
  },
  "peerDependencies": {
    "zod": ">=3.24.0 <5",
    "@llm-ports/observability-contract": "0.1.0-alpha.28"
  },
  "devDependencies": {
    "tsup": "^8.3.0",
    "typescript": "^5.6.3",
    "vitest": "^2.1.4",
    "zod": "^3.25.76",
    "@llm-ports/observability-contract": "0.1.0-alpha.28"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/baabakk/llm-ports.git",
    "directory": "packages/core"
  },
  "keywords": [
    "llm",
    "ai",
    "typescript",
    "openai",
    "anthropic",
    "ollama",
    "ai-sdk",
    "generative-ai",
    "llm-routing",
    "llm-fallback",
    "llm-abstraction",
    "multi-provider",
    "multi-provider-llm",
    "ports-and-adapters",
    "hexagonal-architecture",
    "cost-control",
    "cost-gating",
    "vendor-lock-in",
    "provider-router",
    "ai-architecture",
    "production-llm"
  ],
  "homepage": "https://github.com/baabakk/llm-ports#readme",
  "bugs": {
    "url": "https://github.com/baabakk/llm-ports/issues"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf dist",
    "postinstall": "node scripts/postinstall-notice.mjs || true"
  }
}