UNPKG

@assistant-ui/react

Version:

Typescript/React library for AI Chat

127 lines 2.96 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", "ai-chat", "ai-chatbot", "ai-assistant", "ai-copilot", "chatgpt", "gpt4", "gpt-4", "conversational-ui", "conversational-ai" ], "version": "0.10.0", "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./edge": { "types": "./dist/edge.d.ts", "default": "./dist/edge.js" }, "./smooth": { "types": "./dist/smooth.d.ts", "default": "./dist/smooth.js" }, "./types": { "types": "./dist/types.d.ts", "default": "./dist/types.js" } }, "source": "./src/index.ts", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "generated", "src", "README.md" ], "sideEffects": false, "dependencies": { "@radix-ui/primitive": "^1.1.2", "@radix-ui/react-compose-refs": "^1.1.2", "@radix-ui/react-context": "^1.1.2", "@radix-ui/react-popover": "^1.1.10", "@radix-ui/react-primitive": "^2.1.0", "@radix-ui/react-slot": "^1.2.0", "@radix-ui/react-use-callback-ref": "^1.1.1", "@radix-ui/react-use-escape-keydown": "^1.1.1", "@standard-schema/spec": "^1.0.0", "assistant-stream": "^0.2.0", "json-schema": "^0.4.0", "nanoid": "5.1.5", "react-textarea-autosize": "^8.5.9", "zod": "^3.24.3", "zustand": "^5.0.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "assistant-stream": "^0.2.0", "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": { "@stryker-mutator/core": "^8.7.1", "@stryker-mutator/vitest-runner": "^8.7.1", "@types/json-schema": "^7.0.15", "@types/node": "^22.14.1", "eslint": "^9", "eslint-config-next": "15.3.1", "tsx": "^4.19.3", "vitest": "^3.1.1", "@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.0.0" }, "scripts": { "build": "tsx scripts/build.mts", "test": "vitest run", "test:watch": "vitest", "test:mutation": "stryker run" } }