{
  "name": "@platinum-dev/sdk",
  "publishConfig": { "access": "public" },
  "version": "0.9.0",
  "description": "Platinum TypeScript SDK — typed client for hardware-isolated sandbox microVMs.",
  "license": "MIT",
  "type": "module",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "sideEffects": false,
  "engines": { "node": ">=18" },
  "files": ["dist", "README.md", "LICENSE"],
  "exports": {
    ".": {
      "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
      "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" },
      "default": "./dist/index.js"
    }
  },
  "keywords": ["sandbox", "microvm", "vm", "code-execution", "agents", "platinum"],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kortix-ai/platinum.git",
    "directory": "packages/sdk-ts"
  },
  "scripts": {
    "build": "bun run build:esm && bun run build:cjs && bun run build:types",
    "build:esm": "bun build src/index.ts --outdir dist --target node --format esm",
    "build:cjs": "bun build src/index.ts --outfile dist/index.cjs --target node --format cjs",
    "build:types": "bun x tsc -p tsconfig.json && mkdir -p dist/generated && cp src/generated/schema.d.ts dist/generated/schema.d.ts && node scripts/build-cts.mjs",
    "gen": "openapi-typescript ../../apps/api/openapi.codegen.json -o src/generated/schema.d.ts",
    "test": "bun test",
    "prepublishOnly": "bun run build"
  },
  "devDependencies": {
    "@types/bun": "latest",
    "@types/node": "^22",
    "openapi-typescript": "7.13.0",
    "typescript": "^5.7.2"
  }
}
