/** * memory-providers — memory store adapters. * * RedisStore, AgentCoreStore, sqliteVectorStore, pgVectorStore, s3VectorsStore * and future stores (DynamoDB, Pinecone, …) all live here — a new store adds an * export, never a new import path. * * Pattern: Adapter (GoF) — each store translates the `MemoryStore` * interface onto a specific backend (Redis, DynamoDB-style * AWS Bedrock AgentCore Memory, etc.). * Role: Outer ring (Hexagonal). All store adapters lazy-require * their vendor SDKs at construction time, so importing this * barrel costs ZERO peer-dep load — only the stores you * actually instantiate pull their SDK in. * * @example * import { RedisStore, AgentCoreStore } from 'agentfootprint/memory'; * * Not an import path of its own since 9.0.0. This is the implementation barrel * behind `agentfootprint/memory`, which re-exports every name here — same * symbols, one door. Import from the door. */ export { RedisStore, type RedisStoreOptions, type RedisLikeClient, type RedisLikePipeline, } from './adapters/memory/redis.js'; export { AgentCoreStore, UnreadableMemoryEntryError, type AgentCoreStoreOptions, type AgentCoreLikeClient, type AgentCoreEvent, type AgentCoreMemoryRecord, } from './adapters/memory/agentcore.js'; export { memoryBankStore, MemoryBankStore, MAX_PAGE_SIZE, MAX_CARRIED_JSON, scoreFromDistance, type MemoryBankStoreOptions, type MemoryScope, } from './adapters/memory/memoryBank.js'; export { sqliteVectorStore, UnreadableIndexFileError, type SqliteVectorStore, type SqliteVectorStoreOptions, type SqliteVectorDatabaseLike, type SqliteVectorStatementLike, type SqliteVectorModuleLike, } from './adapters/memory/sqliteVector.js'; export { SqliteUnavailableError } from './lib/sqliteUnavailable.js'; export { EmbedderMismatchError } from './lib/embedderMismatch.js'; export { pgVectorStore, PgVectorSchemaError, type PgVectorStore, type PgVectorStoreOptions, type PgVectorColumns, type PgLikeClient, type PgQueryResult, type PgSdkModule, } from './adapters/memory/pgVector.js'; export { s3VectorsStore, type S3VectorsStore, type S3VectorsStoreOptions, type S3VectorsLikeClient, type S3VectorsSdkModule, } from './adapters/memory/s3Vectors.js'; export { BedrockAgentMemory, type BedrockAgentMemoryOptions, type BedrockAgentMemoryLikeClient, type BedrockAgentSummary, } from './adapters/memory/bedrockAgentMemory.js';