pi-mega-compact 0.16.1 → 0.16.2
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.
|
@@ -41,7 +41,7 @@ function raptorSearchHits(store, sid, query, k, checkpoints) {
|
|
|
41
41
|
const stateDir = store.stateDir;
|
|
42
42
|
const cfg = store.cfg;
|
|
43
43
|
const embedder = store.embedder;
|
|
44
|
-
const record = store.record;
|
|
44
|
+
const record = store.record.bind(store);
|
|
45
45
|
// S25 gate (a): honor shadow mode at SERVE time. When RAPTOR_SHADOW_MODE=true,
|
|
46
46
|
// the tree is built + persisted but NOT merged into recall (transition/eval).
|
|
47
47
|
// Default is live: shadow mode is opt-in, not the default.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-mega-compact",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Layered, local, vector-backed context compressor for pi — supersede/collapse/cluster compaction with deduped inline recall.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "BSD-3-Clause",
|
package/src/vector-search.ts
CHANGED
|
@@ -62,7 +62,7 @@ function raptorSearchHits(
|
|
|
62
62
|
const stateDir = store.stateDir;
|
|
63
63
|
const cfg = store.cfg;
|
|
64
64
|
const embedder = store.embedder;
|
|
65
|
-
const record = store.record;
|
|
65
|
+
const record = store.record.bind(store);
|
|
66
66
|
|
|
67
67
|
// S25 gate (a): honor shadow mode at SERVE time. When RAPTOR_SHADOW_MODE=true,
|
|
68
68
|
// the tree is built + persisted but NOT merged into recall (transition/eval).
|