{
  "name": "@lgrammel/llama-cpp-provider",
  "version": "0.4.3",
  "description": "A minimal llama.cpp provider for the Vercel AI SDK implementing LanguageModelV4 and EmbeddingModelV4",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "files": [
    "dist",
    "native",
    "scripts",
    "CMakeLists.txt"
  ],
  "publishConfig": {
    "access": "public"
  },
  "llamaCpp": {
    "repo": "https://github.com/ggml-org/llama.cpp.git",
    "commit": "8c146a8366304c871efc26057cc90370ccf58dad"
  },
  "keywords": [
    "ai",
    "llama",
    "llama.cpp",
    "vercel",
    "ai-sdk",
    "language-model",
    "gguf"
  ],
  "author": "Lars Grammel",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lgrammel/llama-cpp-provider.git",
    "directory": "packages/llama-cpp-provider"
  },
  "bugs": {
    "url": "https://github.com/lgrammel/llama-cpp-provider/issues"
  },
  "homepage": "https://github.com/lgrammel/llama-cpp-provider#readme",
  "engines": {
    "node": ">=22.0.0"
  },
  "dependencies": {
    "@ai-sdk/provider": "4.0.0",
    "cmake-js": "^7.3.0",
    "node-addon-api": "^8.0.0"
  },
  "devDependencies": {
    "@types/node": "^20.10.0",
    "@vitest/coverage-v8": "^4.0.16",
    "typescript": "^5.3.0",
    "vitest": "^4.0.16"
  },
  "binary": {
    "napi_versions": [
      8
    ]
  },
  "scripts": {
    "postinstall": "node scripts/postinstall.cjs",
    "build:native": "cmake-js compile",
    "build:native:debug": "cmake-js compile --debug",
    "test:native": "cmake-js reconfigure --CDLLAMA_PROVIDER_BUILD_TESTS=ON && cmake-js build && ctest --test-dir build --output-on-failure",
    "build:ts": "tsc",
    "build": "pnpm run build:native && pnpm run build:ts",
    "clean": "rm -rf dist build llama.cpp",
    "test": "vitest",
    "test:run": "vitest run",
    "test:unit": "vitest run tests/unit",
    "test:integration": "vitest run tests/integration",
    "test:coverage": "vitest run --coverage",
    "typecheck": "tsc --noEmit -p tsconfig.check.json"
  }
}