import { o as statRegularFile } from "../regular-file-CuvhUtZS.js";
import { A as ensureMemoryIndexSchema, C as MEMORY_INDEX_FTS_TABLE, D as MEMORY_INDEX_STATE_TABLE, E as MEMORY_INDEX_SOURCES_TABLE, O as MEMORY_INDEX_VECTOR_TABLE, S as MEMORY_INDEX_CHUNKS_TABLE, T as MEMORY_INDEX_PATHS_FTS_TABLE, j as ensureMemoryPathFtsTriggers, k as dropMemoryPathFtsTriggers, w as MEMORY_INDEX_META_TABLE, x as MEMORY_EMBEDDING_CACHE_TABLE } from "../openclaw-agent-db-C4OFXhEu.js";
import { a as ensureMemoryHostDir, c as normalizeExtraMemoryPaths, d as runMemoryHostTasksWithConcurrency, i as cosineSimilarity, l as parseEmbedding, n as buildMultimodalChunkForIndexing, r as chunkMarkdown, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "../internal-DablS17S.js";
import { t as isFileMissingError } from "../fs-utils-O0tbrxuI.js";
import { n as isTransientMemoryReadError, r as retryTransientMemoryRead, t as hashText } from "../hash-CLsGYYJA.js";
import { a as buildMemoryReadResult, i as DEFAULT_MEMORY_READ_MAX_CHARS, n as readMemoryFile, o as buildMemoryReadResultFromSlice, r as DEFAULT_MEMORY_READ_LINES } from "../read-file-Bu_LxU0J.js";
import { t as resolveMemoryBackendConfig } from "../backend-config-B8COK-Tp.js";
import { i as loadSqliteVecExtension, n as configureMemorySqliteWalMaintenance, r as requireMemoryHostNodeSqlite, t as closeMemorySqliteWalMaintenance } from "../engine-storage-CuwZtJTX.js";
import "../memory-core-host-engine-storage-BiP0G2Un.js";
export { DEFAULT_MEMORY_READ_LINES, DEFAULT_MEMORY_READ_MAX_CHARS, MEMORY_EMBEDDING_CACHE_TABLE, MEMORY_INDEX_CHUNKS_TABLE, MEMORY_INDEX_FTS_TABLE, MEMORY_INDEX_META_TABLE, MEMORY_INDEX_PATHS_FTS_TABLE, MEMORY_INDEX_SOURCES_TABLE, MEMORY_INDEX_STATE_TABLE, MEMORY_INDEX_VECTOR_TABLE, buildFileEntry, buildMemoryReadResult, buildMemoryReadResultFromSlice, buildMultimodalChunkForIndexing, chunkMarkdown, closeMemorySqliteWalMaintenance, configureMemorySqliteWalMaintenance, cosineSimilarity, dropMemoryPathFtsTriggers, ensureMemoryHostDir as ensureDir, ensureMemoryIndexSchema, ensureMemoryPathFtsTriggers, hashText, isFileMissingError, isTransientMemoryReadError, listMemoryFiles, loadSqliteVecExtension, normalizeExtraMemoryPaths, parseEmbedding, readMemoryFile, remapChunkLines, requireMemoryHostNodeSqlite as requireNodeSqlite, resolveMemoryBackendConfig, retryTransientMemoryRead, runMemoryHostTasksWithConcurrency as runWithConcurrency, statRegularFile };
