{
  "name": "@openuidev/react-headless",
  "version": "0.8.2",
  "description": "Headless React primitives for AI chat — state management, streaming adapters for OpenAI and AG-UI, message format converters, and thread management for OpenUI generative UI apps",
  "license": "MIT",
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.mjs",
  "types": "dist/index.d.cts",
  "sideEffects": false,
  "files": [
    "dist",
    "README.md"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "peerDependencies": {
    "react": "^18.3.1 || ^19.0.0",
    "zustand": "^4.5.5"
  },
  "devDependencies": {
    "@types/react": ">=19.0.0",
    "openai": "^6.22.0",
    "vitest": "^4.0.18"
  },
  "keywords": [
    "openui",
    "react",
    "headless",
    "chat",
    "streaming",
    "ai",
    "generative-ui",
    "llm",
    "openai",
    "zustand",
    "state-management",
    "sse",
    "server-sent-events",
    "chatbot",
    "copilot",
    "agentic",
    "ag-ui"
  ],
  "homepage": "https://openui.com",
  "author": "engineering@thesys.dev",
  "repository": {
    "type": "git",
    "url": "https://github.com/thesysdev/openui.git",
    "directory": "packages/react-headless"
  },
  "bugs": {
    "url": "https://github.com/thesysdev/openui/issues"
  },
  "dependencies": {
    "@ag-ui/core": "^0.0.45"
  },
  "scripts": {
    "test": "vitest run",
    "build": "tsdown",
    "typecheck": "tsc --noEmit",
    "lint:check": "eslint ./src",
    "lint:fix": "eslint ./src --fix",
    "format:fix": "prettier --write ./src",
    "format:check": "prettier --check ./src",
    "check:publint": "publint",
    "check:attw": "attw --pack .",
    "ci": "pnpm run lint:check && pnpm run format:check"
  }
}