Adds @vectorize-io/hindsight-chat, a wrapper for the Vercel Chat SDK that gives any chat bot (Slack, Discord, Teams, etc.) long-term memory via Hindsight. Includes withHindsightChat() handler wrapper with auto-recall, auto-retain, and memoriesAsSystemPrompt() formatting. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "@vectorize-io/hindsight-chat",
|
|
"version": "0.1.0",
|
|
"description": "Hindsight memory integration for Vercel Chat SDK - Give your chat bots persistent, per-user memory",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"chat",
|
|
"chatbot",
|
|
"slack",
|
|
"discord",
|
|
"teams",
|
|
"memory",
|
|
"hindsight",
|
|
"agents",
|
|
"llm",
|
|
"long-term-memory"
|
|
],
|
|
"author": "Vectorize <support@vectorize.io>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vectorize-io/hindsight.git",
|
|
"directory": "hindsight-integrations/chat"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"peerDependencies": {
|
|
"chat": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@vitest/ui": "^4.0.18",
|
|
"chat": "^4.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|