mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
128 lines
2.9 KiB
JSON
128 lines
2.9 KiB
JSON
{
|
|
"name": "chat",
|
|
"version": "4.41.0",
|
|
"description": "Chat SDK — universal TypeScript toolkit for building multi-platform chat bots and AI agents on Slack, Teams, Google Chat, Discord, WhatsApp, and more",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./ai": {
|
|
"types": "./dist/ai/index.d.ts",
|
|
"import": "./dist/ai/index.js"
|
|
},
|
|
"./adapters": {
|
|
"types": "./dist/adapters/index.d.ts",
|
|
"import": "./dist/adapters/index.js"
|
|
},
|
|
"./workflow": {
|
|
"types": "./dist/workflow/index.d.ts",
|
|
"import": "./dist/workflow/index.js"
|
|
},
|
|
"./serialization": {
|
|
"types": "./dist/serialization.d.ts",
|
|
"import": "./dist/serialization.js"
|
|
},
|
|
"./jsx-runtime": {
|
|
"types": "./dist/jsx-runtime.d.ts",
|
|
"import": "./dist/jsx-runtime.js"
|
|
},
|
|
"./jsx-dev-runtime": {
|
|
"types": "./dist/jsx-runtime.d.ts",
|
|
"import": "./dist/jsx-runtime.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"docs",
|
|
"resources"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm clean && tsup && node scripts/check-workflow-serialization-bundle.mjs && cp -r ../../apps/docs/content/docs ./docs",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist docs"
|
|
},
|
|
"dependencies": {
|
|
"@workflow/serde": "4.1.0-beta.2",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-stringify": "^11.0.0",
|
|
"remend": "^1.2.1",
|
|
"unified": "^11.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/node": "^25.3.2",
|
|
"ai": "^7.0.0",
|
|
"es-module-lexer": "^2.3.0",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^4.0.18",
|
|
"workflow": "5.0.0-beta.40",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"peerDependencies": {
|
|
"ai": "^6.0.182 || ^7.0.0",
|
|
"workflow": "^5.0.0-beta.35",
|
|
"zod": "^3.0.0 || ^4.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ai": {
|
|
"optional": true
|
|
},
|
|
"workflow": {
|
|
"optional": true
|
|
},
|
|
"zod": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vercel/chat.git",
|
|
"directory": "packages/chat"
|
|
},
|
|
"homepage": "https://chat-sdk.dev/docs",
|
|
"bugs": {
|
|
"url": "https://github.com/vercel/chat/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"chat",
|
|
"chat-sdk",
|
|
"chatbot",
|
|
"chat-bot",
|
|
"bot",
|
|
"bot-framework",
|
|
"messaging",
|
|
"multi-platform",
|
|
"slack",
|
|
"teams",
|
|
"microsoft-teams",
|
|
"discord",
|
|
"google-chat",
|
|
"telegram",
|
|
"whatsapp",
|
|
"github",
|
|
"webhook",
|
|
"ai-agent",
|
|
"ai-sdk",
|
|
"typescript",
|
|
"vercel"
|
|
],
|
|
"license": "MIT"
|
|
}
|