UNPKG

@assistant-ui/react

Version:

Typescript/React library for AI Chat

118 lines 2.71 kB
{ "name": "@assistant-ui/react", "description": "Typescript/React library for AI Chat", "keywords": [ "radix-ui", "nextjs", "vercel", "ai-sdk", "react", "components", "ui", "frontend", "tailwind", "shadcn", "assistant", "openai", "ai", "chat", "chatbot", "copilot", "assistant", "ai-chat", "ai-chatbot", "ai-assistant", "ai-copilot", "chatgpt", "gpt4", "gpt-4", "conversational-ui", "conversational-ai" ], "version": "0.8.15", "license": "MIT", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./edge": { "types": "./dist/edge.d.ts", "import": "./dist/edge.mjs", "require": "./dist/edge.js" } }, "source": "./src/index.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist", "generated", "edge", "src", "README.md" ], "sideEffects": false, "dependencies": { "@ai-sdk/provider": "^1.1.0", "@radix-ui/primitive": "^1.1.1", "@radix-ui/react-compose-refs": "^1.1.1", "@radix-ui/react-context": "^1.1.1", "@radix-ui/react-popover": "^1.1.6", "@radix-ui/react-primitive": "^2.0.2", "@radix-ui/react-slot": "^1.1.2", "@radix-ui/react-use-callback-ref": "^1.1.0", "@radix-ui/react-use-escape-keydown": "^1.1.0", "json-schema": "^0.4.0", "nanoid": "3.3.8", "react-textarea-autosize": "^8.5.7", "secure-json-parse": "^3.0.2", "zod": "^3.24.1", "zod-to-json-schema": "^3.24.1", "zustand": "^5.0.3", "assistant-stream": "^0.0.27" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^18 || ^19 || ^19.0.0-rc", "react-dom": "^18 || ^19 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true } }, "devDependencies": { "@types/json-schema": "^7.0.15", "@types/node": "^22.13.1", "eslint": "^9", "eslint-config-next": "15.1.6", "tsx": "^4.19.2", "@assistant-ui/tsbuildutils": "^0.0.1", "@assistant-ui/tsconfig": "0.0.0" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://www.assistant-ui.com/", "repository": { "type": "git", "url": "https://github.com/assistant-ui/assistant-ui/tree/main/packages/react" }, "bugs": { "url": "https://github.com/assistant-ui/assistant-ui/issues" }, "engines": { "node": ">=20.10.0" }, "scripts": { "build": "tsx scripts/build.mts" } }