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)

74 lines (68 loc) 1.94 kB
/** * TDAI Core — barrel re-export for core types and service facade. * * This module exports ONLY the host-neutral interfaces and the TdaiCore facade. * Host-specific adapters live in `../adapters/`. */ // Types & interfaces export type { Logger, RuntimeContext, LLMRunParams, LLMRunner, LLMRunnerCreateOptions, LLMRunnerFactory, HostAdapter, CompletedTurn, RecallResult, CaptureResult, MemorySearchParams, ConversationSearchParams, } from "./types.js"; // TdaiCore service facade export { TdaiCore } from "./tdai-core.js"; export type { TdaiCoreOptions } from "./tdai-core.js"; // Instance config provider (VDB per-instance pool + COS global). // LocalConfigSource lives inline in instance-config-provider.ts; other // deployments may provide their own IConfigSource implementation. export { InstanceConfigProvider, LocalConfigSource, } from "./instance-config-provider.js"; export type { VdbConfig, CosConfig, InstanceConfig, IConfigSource, InstanceConfigProviderOptions, } from "./instance-config-provider.js"; // Store pool (per-instanceId Store instances) export { StorePool } from "./store/store-pool.js"; export type { PooledStore, StorePoolOptions, StoreMode } from "./store/store-pool.js"; // Storage backend (unified file/object abstraction). // Optional remote object storage backends are loaded dynamically by // createStorageBackend and are not re-exported from core. export { LocalStorageBackend, StoragePaths, StorageAdapter, createStorageBackend, createLocalStorageBackend, MockCredentialProvider, StaticCredentialProvider, CachedCredentialProvider, PrefixedCredentialProvider, parseCosUrl, } from "./storage/index.js"; export type { IStorageBackend, ICredentialProvider, StorageBackendConfig, StorageObject, PutObjectOptions, ListObjectsOptions, ListResult, ListEntry, CosCredential, StorageLogger, } from "./storage/index.js";