fleet-memory/hindsight-integrations/chat/src/index.ts
Ben fed987f931
feat: add Chat SDK integration for persistent chat bot memory (#442)
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>
2026-02-26 17:07:47 +01:00

22 lines
463 B
TypeScript

export { withHindsightChat } from './wrapper.js';
export { formatMemoriesAsSystemPrompt } from './format.js';
export type {
Budget,
FactType,
RecallResult,
EntityState,
RecallResponse,
ReflectFact,
ReflectResponse,
RetainResponse,
HindsightClient,
BankIdResolver,
ChatMessage,
ChatThread,
MemoryPromptOptions,
RecallOptions,
RetainOptions,
HindsightChatOptions,
HindsightChatContext,
HindsightChatHandler,
} from './types.js';