{
  "name": "@mochabug/adapt-sdk",
  "version": "2.0.0-beta.18",
  "description": "Application APIs, routers, browser utilities, and shared contracts for Mochabug Adapt v2",
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist"
  ],
  "type": "module",
  "sideEffects": [
    "./dist/react/styles.css"
  ],
  "engines": {
    "node": ">=22"
  },
  "exports": {
    "./api": {
      "types": "./dist/api/index.d.ts",
      "import": "./dist/api/index.js",
      "default": "./dist/api/index.js"
    },
    "./router": {
      "types": "./dist/router/index.d.ts",
      "import": "./dist/router/index.js",
      "default": "./dist/router/index.js"
    },
    "./browser": {
      "types": "./dist/browser/index.d.ts",
      "import": "./dist/browser/index.js",
      "default": "./dist/browser/index.js"
    },
    "./cel": {
      "types": "./dist/cel/index.d.ts",
      "import": "./dist/cel/index.js",
      "default": "./dist/cel/index.js"
    },
    "./react": {
      "types": "./dist/react/index.d.ts",
      "import": "./dist/react/index.js",
      "default": "./dist/react/index.js"
    },
    "./react/styles.css": "./dist/react/styles.css",
    "./signals": {
      "types": "./dist/signals/index.d.ts",
      "import": "./dist/signals/index.js",
      "default": "./dist/signals/index.js"
    },
    "./gemini": {
      "types": "./dist/gemini/index.d.ts",
      "import": "./dist/gemini/index.js",
      "default": "./dist/gemini/index.js"
    },
    "./openai": {
      "types": "./dist/openai/index.d.ts",
      "import": "./dist/openai/index.js",
      "default": "./dist/openai/index.js"
    },
    "./anthropic": {
      "types": "./dist/anthropic/index.d.ts",
      "import": "./dist/anthropic/index.js",
      "default": "./dist/anthropic/index.js"
    },
    "./proto": {
      "types": "./dist/proto/index.d.ts",
      "import": "./dist/proto/index.js",
      "default": "./dist/proto/index.js"
    },
    "./jtd": {
      "types": "./dist/jtd/index.d.ts",
      "import": "./dist/jtd/index.js",
      "default": "./dist/jtd/index.js"
    }
  },
  "scripts": {
    "generate": "rm -rf src/genproto && buf generate --include-imports --path api/mochabugapis/adapt/automations/v1 --path api/mochabugapis/adapt/graph/v1 --path api/mochabugapis/adapt/plugins/v1 --path api/mochabugapis/adapt/runtime/v1",
    "build": "npm run generate && npm run typecheck && npm test && node build.mjs && tsc -p tsconfig.runtime.json --emitDeclarationOnly && tsc -p tsconfig.browser.json --emitDeclarationOnly && tsc -p tsconfig.shared.json --emitDeclarationOnly && npm run test:types && npm run test:examples",
    "test": "vitest run",
    "test:watch": "vitest",
    "sample": "cd sample && npm install && npx vite",
    "test:browser": "node --test test/browser.mjs",
    "test:sample": "npm run build --prefix sample && node --test test/sample.mjs",
    "typecheck": "tsc -p tsconfig.runtime.json --noEmit && tsc -p tsconfig.browser.json --noEmit && tsc -p tsconfig.shared.json --noEmit && tsc -p tsconfig.test.json --noEmit",
    "test:types": "node test/package-types.mjs",
    "test:examples": "node --test test/network-examples.mjs"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mochabug/adapt-sdk.git"
  },
  "bugs": {
    "url": "https://github.com/mochabug/adapt-sdk/issues"
  },
  "homepage": "https://github.com/mochabug/adapt-sdk#readme",
  "author": "Mikael Hedberg",
  "license": "Apache-2.0",
  "keywords": [
    "plugin",
    "mochabug",
    "adapt",
    "intelligent automation",
    "automation",
    "artificial intelligence"
  ],
  "devDependencies": {
    "@bufbuild/buf": "1.75.0",
    "@bufbuild/protoc-gen-es": "2.16.0",
    "@connectrpc/connect-web": "2.2.0",
    "@mochabug/adapt-builder": "2.0.0-beta.12",
    "@playwright/test": "^1.64.1",
    "@types/node": "^26.6.5",
    "@types/react": "^19.3.0",
    "ajv": "^8.20.0",
    "jsonschema": "^1.5.0",
    "rolldown": "^1.2.15",
    "typescript": "^7.0.2",
    "vitest": "^5.0.5"
  },
  "dependencies": {
    "@bufbuild/cel": "^0.6.1",
    "@bufbuild/protobuf": "^2.16.0",
    "@connectrpc/connect": "2.2.0",
    "fuse.js": "^7.5.0",
    "path-to-regexp": "^8.4.2"
  },
  "peerDependencies": {
    "@mochabug/adapt-builder": ">=2.0.0-0",
    "react": "^19.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "@mochabug/adapt-builder": {
      "optional": true
    }
  },
  "allowScripts": {
    "@bufbuild/buf@1.73.0": true,
    "fsevents@2.3.3": true
  }
}
