@melandlabs/memory-store 0.3.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +209 -56
- package/dist/{config-2Q092MUz.d.ts → config-CnbqSek5.d.ts} +215 -2
- package/dist/contracts.d.ts +1 -0
- package/dist/contracts.js +2 -0
- package/dist/http.d.ts +21 -5
- package/dist/http.js +1047 -150
- package/dist/index.d.ts +230 -15
- package/dist/index.js +1083 -147
- package/dist/mcp.d.ts +14 -5
- package/dist/mcp.js +1184 -169
- package/dist/policies/memory-graph-correction-policy.d.ts +1 -0
- package/dist/policies/memory-graph-correction-policy.js +4 -0
- package/dist/policies/memory-graph-write-policy.d.ts +1 -0
- package/dist/policies/memory-graph-write-policy.js +2 -0
- package/dist/search/unified-search.d.ts +6 -19
- package/dist/search/unified-search.js +745 -140
- package/dist/server/cli-http.js +1047 -150
- package/dist/server/cli-mcp.js +1181 -166
- package/dist/server/cli-shared.d.ts +5 -2
- package/dist/server/cli-shared.js +3 -0
- package/dist/storage/chroma-memory-index.d.ts +1 -0
- package/dist/storage/chroma-memory-index.js +1 -2
- package/dist/storage/postgres-raw-message-factory.d.ts +4 -1
- package/dist/storage/raw-message-store.d.ts +5 -2
- package/dist/storage/raw-message-store.js +3 -0
- package/dist/storage/sqlite-raw-message-store.d.ts +5 -1
- package/dist/storage/sqlite-raw-message-store.js +3 -0
- package/dist/storage/sqlite-vector-index.d.ts +4 -1
- package/dist/storage/sqlite-vector-index.js +1 -0
- package/dist/unified-search-Bft57TRH.d.ts +122 -0
- package/package.json +9 -6
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Cross-source search over raw messages (always), insights, and
|
|
8
|
-
* uploaded knowledge documents. The host wires up the cross-domain
|
|
9
|
-
* dependencies via `UnifiedSearchDeps` so this module stays
|
|
10
|
-
* framework-agnostic.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
interface UnifiedSearch {
|
|
14
|
-
searchUnifiedMemory(input: UnifiedMemorySearchInput): Promise<UnifiedMemorySearchOutput>;
|
|
15
|
-
searchRawMemorySemantically(input: UnifiedMemorySearchInput): Promise<UnifiedMemorySearchResult[]>;
|
|
16
|
-
}
|
|
17
|
-
declare function createUnifiedSearch(deps?: UnifiedSearchDeps): UnifiedSearch;
|
|
18
|
-
|
|
19
|
-
export { UnifiedMemorySearchInput, UnifiedMemorySearchOutput, UnifiedMemorySearchResult, type UnifiedSearch, createUnifiedSearch };
|
|
1
|
+
export { c as SearchEvidence, d as SearchInput, e as SearchOutput, i as SearchSource, S as SearchTier, j as UnifiedMemoryMergeStrategy, k as UnifiedMemoryRankedList, l as UnifiedMemoryReasoningStrategy, f as UnifiedMemorySearchInput, g as UnifiedMemorySearchOutput, h as UnifiedMemorySearchResult, m as UnifiedMemorySearchSource, b as UnifiedMemorySearchWarning, n as clampUnifiedMemorySearchLimit, o as clampUnifiedMemorySearchThreshold, p as isRawMemorySemanticResult, q as mergeUnifiedMemorySearchResults, r as mergeUnifiedMemorySearchResultsRrf, s as normalizeUnifiedMemoryMergeStrategy, t as normalizeUnifiedMemoryReasoningStrategy, u as normalizeUnifiedMemorySearchSources, v as toKnowledgeResult, w as toMemoryResult } from '../config-CnbqSek5.js';
|
|
2
|
+
export { U as UnifiedSearch, c as createUnifiedSearch } from '../unified-search-Bft57TRH.js';
|
|
3
|
+
import '@melandlabs/memory-consolidation';
|
|
4
|
+
import '@melandlabs/contracts/peer';
|
|
5
|
+
import '@melandlabs/contracts';
|
|
6
|
+
import '@melandlabs/ai/memory';
|