{
  "name": "@alvera-ai/platform-sdk",
  "version": "0.21.4",
  "description": "Typed SDK for the Alvera platform API — manage data sources, tools, generic tables, AI agents, and action status updaters.",
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    }
  },
  "bin": {
    "platform-sdk": "./dist/bin/platform-sdk.mjs"
  },
  "files": [
    "dist",
    ".agent",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "fetch-metadata": "tsx scripts/fetch-metadata.ts",
    "gen-environments": "tsx scripts/gen-environments.ts",
    "codegen": "openapi-ts && tsx scripts/patch-generated.ts",
    "regen": "bun run fetch-metadata && bun run gen-environments && bun run codegen",
    "build": "tsdown",
    "test": "bun test",
    "test:contract": "bun test test/contract.test.ts",
    "test:prism-surface": "bun test test/prism-surface.test.ts",
    "validate:cookbook": "tsx scripts/cookbook-doctest/run.ts",
    "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p scripts/tsconfig.json && bun run typecheck:guides",
    "typecheck:guides": "tsx scripts/type-gate.ts",
    "clean": "rm -rf dist src/generated src/environments.generated.ts .cookbook-doctest .agent",
    "sync-agent-corpus": "tsx scripts/sync-agent-corpus.ts",
    "prepack": "bun run sync-agent-corpus",
    "prepare": "bun run regen && bun run build"
  },
  "dependencies": {},
  "devDependencies": {
    "@hey-api/openapi-ts": "0.96.0",
    "@stoplight/prism-cli": "^5.14.2",
    "@types/bun": "^1.3.14",
    "@types/mdast": "^4.0.4",
    "@types/node": "^25.3.3",
    "remark-parse": "^11.0.0",
    "tsdown": "^0.16.0",
    "tsx": "^4.19.2",
    "typescript": "5.9.3",
    "unified": "^11.0.5",
    "yaml": "2.6.1"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "alvera",
    "sdk",
    "platform",
    "api",
    "typescript"
  ],
  "license": "MIT",
  "author": "Alvera",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/alvera-ai/platform-sdk.git",
    "directory": "packages/sdk"
  },
  "homepage": "https://github.com/alvera-ai/platform-sdk/tree/main/packages/sdk#readme",
  "bugs": {
    "url": "https://github.com/alvera-ai/platform-sdk/issues"
  }
}
