{
  "name": "@makemore/agent-frontend",
  "version": "2.16.1",
  "description": "A lightweight chat widget for AI agents. Use as an embeddable script tag or import directly into React/Preact projects.",
  "type": "module",
  "main": "dist/chat-widget.cjs.js",
  "module": "dist/chat-widget.esm.js",
  "browser": "dist/chat-widget.js",
  "exports": {
    ".": {
      "import": "./dist/chat-widget.esm.js",
      "require": "./dist/chat-widget.cjs.js",
      "browser": "./dist/chat-widget.js"
    },
    "./react": {
      "import": "./dist/react.esm.js",
      "require": "./dist/react.cjs.js"
    },
    "./embed": "./dist/chat-widget.js",
    "./css": "./dist/chat-widget.css"
  },
  "files": [
    "dist/",
    "src/",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "node build.js",
    "build:dev": "node build.js --dev",
    "build:embed": "esbuild src/index.js --bundle --minify --format=iife --global-name=ChatWidgetModule --outfile=dist/chat-widget.js",
    "watch": "node watch.js",
    "copy": "mkdir -p ../../agent/django_agent_studio/static/agent-frontend && cp -f dist/chat-widget.js dist/chat-widget.css dist/chat-widget-markdown.js ../../agent/django_agent_studio/static/agent-frontend/ 2>/dev/null || true && echo 'Copied to agent/django_agent_studio'",
    "prepublishOnly": "npm run build",
    "serve": "python -m http.server 8080"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/makemore/agent-frontend.git"
  },
  "keywords": [
    "chat",
    "widget",
    "chatbot",
    "ai",
    "agent",
    "sse",
    "streaming",
    "preact",
    "embeddable",
    "chat-widget",
    "conversational-ai",
    "customer-support"
  ],
  "author": "makemore",
  "license": "BSL-1.1",
  "bugs": {
    "url": "https://github.com/makemore/agent-frontend/issues"
  },
  "homepage": "https://github.com/makemore/agent-frontend#readme",
  "engines": {
    "node": ">=14.0.0"
  },
  "dependencies": {
    "@makemore/agent-client": "file:../agent-client",
    "@picovoice/porcupine-web": "^4.0.0",
    "@picovoice/web-voice-processor": "^4.0.10",
    "htm": "^3.1.1",
    "preact": "^10.19.3"
  },
  "peerDependencies": {
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    }
  },
  "devDependencies": {
    "esbuild": "^0.20.0"
  }
}
