UNPKG

@tencentdb-agent-memory/memory-tencentdb

Version:

Four-layer local memory system plugin for OpenClaw — auto-captures, structures, and profiles conversational knowledge using local LLM + SQLite vector search (L0→L1→L2→L3 pipeline)

52 lines (47 loc) 1.41 kB
/** * Storage — barrel re-export for the storage abstraction layer. * * This file is the open-source / standalone surface of the storage layer. * It only re-exports the interface, the local backend, and the generic * credential primitives. * * Optional remote object storage support is loaded dynamically by the storage * factory at runtime. */ // Types & interfaces export type { IStorageBackend, ICredentialProvider, StorageBackendConfig, StorageObject, PutObjectOptions, ListObjectsOptions, ListResult, ListEntry, CosCredential, StorageLogger, } from "./types.js"; export { StoragePaths } from "./types.js"; // Default implementation (always available) export { LocalStorageBackend } from "./local-backend.js"; export type { LocalStorageBackendOptions } from "./local-backend.js"; export { StorageAdapter } from "./adapter.js"; // Generic credential primitives (no cloud-vendor dependency) export { MockCredentialProvider, StaticCredentialProvider, CachedCredentialProvider, PrefixedCredentialProvider, parseCosUrl, } from "./credential-provider.js"; export type { MockCredentialConfig, StaticCredentialConfig, CredentialFetcher, CachedCredentialProviderOptions, } from "./credential-provider.js"; // Factory (dynamically loads optional COS backend when requested) export { createStorageBackend, createLocalStorageBackend, } from "./factory.js";