UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines (13 loc) 4.24 kB
import { _ as ensureMemoryRecallMetadataSchema, a as MEMORY_INDEX_META_TABLE, b as ensureMemoryChunkProvenance, c as MEMORY_INDEX_CHUNKS_TABLE, d as MEMORY_INDEX_SOURCES_TABLE, g as MEMORY_INDEX_CHUNK_RECALL_METADATA_TABLE, i as MEMORY_INDEX_DERIVED_TABLES, l as MEMORY_INDEX_FTS_TABLE, m as ensureMemoryPathFtsTriggers, o as MEMORY_INDEX_STATE_TABLE, p as dropMemoryPathFtsTriggers, r as MEMORY_EMBEDDING_CACHE_TABLE, s as MEMORY_INDEX_VECTOR_TABLE, t as ensureMemoryIndexSchema, u as MEMORY_INDEX_PATHS_FTS_TABLE, y as MEMORY_INDEX_CHUNK_PROVENANCE_TABLE } from "../memory-schema-CqyUjI_b.js"; import { t as openOpenClawAgentDatabaseReadOnly } from "../openclaw-agent-db-readonly-CHjf8FxN.js"; import { t as loadSqliteVecExtension } from "../sqlite-vec-C8wbuI1F.js"; import { n as isFileMissingError, s as statRegularFile } from "../fs-utils-BgbE2uPY.js"; import { a as resolveMemoryIndexIdentityReason, i as resolveMemoryIndexIdentityDiagnostic, n as isAutomaticMemoryEntryEligible, o as resolveMemorySearchStaleness, r as isMemoryOriginEligibleForAutomaticInjection, t as formatMemoryIndexRebuildGuidance } from "../types-BTd4wVMl.js"; import { a as cosineSimilarity, c as listMemoryFiles, d as normalizeExtraMemoryPaths, f as parseEmbedding, h as splitCuratedMarkdownEntries, i as chunkMarkdown, l as matchesExtraMemoryPathEntry, m as runMemoryHostTasksWithConcurrency, n as buildFileEntry, o as ensureMemoryHostDir, p as remapChunkLines, r as buildMultimodalChunkForIndexing, t as MEMORY_CHUNKING_VERSION, u as normalizeExtraMemoryPathEntries } from "../internal-DLNsOpsV.js"; import { n as retryTransientMemoryRead, r as hashText, t as isTransientMemoryReadError } from "../read-retry-SJrN5J_J.js"; import { i as stripMemoryAnnotationCarriers, n as extractProjectKeysFromCuratedEntry, r as normalizeProjectAnnotationKey, t as INVALID_PROJECT_ANNOTATION_KEY } from "../curated-annotations-mTWgerpx.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-CQJyRUvP.js"; import { t as resolveMemoryBackendConfig } from "../backend-config-D3tXhXDP.js"; import { a as readCuratedProjectMemoryCandidates, i as readCuratedMemoryTriggerCandidates, n as configureMemorySqliteWalMaintenance, o as readMemoryRecallMetadata, r as requireMemoryHostNodeSqlite, t as closeMemorySqliteWalMaintenance } from "../engine-storage-Dk7qCapl.js"; import "../memory-core-host-engine-storage-CwJRhiiY.js"; export { DEFAULT_MEMORY_READ_LINES, DEFAULT_MEMORY_READ_MAX_CHARS, INVALID_PROJECT_ANNOTATION_KEY, MEMORY_CHUNKING_VERSION, MEMORY_EMBEDDING_CACHE_TABLE, MEMORY_INDEX_CHUNKS_TABLE, MEMORY_INDEX_CHUNK_PROVENANCE_TABLE, MEMORY_INDEX_CHUNK_RECALL_METADATA_TABLE, MEMORY_INDEX_DERIVED_TABLES, 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, ensureMemoryChunkProvenance, ensureMemoryIndexSchema, ensureMemoryPathFtsTriggers, ensureMemoryRecallMetadataSchema, extractProjectKeysFromCuratedEntry, formatMemoryIndexRebuildGuidance, hashText, isAutomaticMemoryEntryEligible, isFileMissingError, isMemoryOriginEligibleForAutomaticInjection, isTransientMemoryReadError, listMemoryFiles, loadSqliteVecExtension, matchesExtraMemoryPathEntry, normalizeExtraMemoryPathEntries, normalizeExtraMemoryPaths, normalizeProjectAnnotationKey, openOpenClawAgentDatabaseReadOnly, parseEmbedding, readCuratedMemoryTriggerCandidates, readCuratedProjectMemoryCandidates, readMemoryFile, readMemoryRecallMetadata, remapChunkLines, requireMemoryHostNodeSqlite as requireNodeSqlite, resolveMemoryBackendConfig, resolveMemoryIndexIdentityDiagnostic, resolveMemoryIndexIdentityReason, resolveMemorySearchStaleness, retryTransientMemoryRead, runMemoryHostTasksWithConcurrency as runWithConcurrency, splitCuratedMarkdownEntries, statRegularFile, stripMemoryAnnotationCarriers };