@remnic/core 9.69.38 → 9.69.39
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/dist/access-admin-ops-surface.d.ts +2 -2
- package/dist/access-admin-ops-surface.js +18 -18
- package/dist/access-authorization-probe.d.ts +2 -2
- package/dist/access-authorization-probe.js +19 -19
- package/dist/access-boundary.d.ts +2 -2
- package/dist/access-boundary.js +18 -18
- package/dist/access-cli.js +67 -66
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.d.ts +2 -2
- package/dist/access-extraction-force-flush.js +18 -18
- package/dist/access-http-briefing.d.ts +2 -2
- package/dist/access-http-briefing.js +19 -19
- package/dist/access-http-lcm-compaction.d.ts +2 -2
- package/dist/access-http-lifecycle-flush.d.ts +2 -2
- package/dist/access-http-offline-stream.d.ts +2 -2
- package/dist/access-http-query.js +20 -20
- package/dist/access-http.d.ts +3 -3
- package/dist/access-http.js +35 -35
- package/dist/access-identity-continuity-surface.d.ts +1 -1
- package/dist/access-identity-continuity-surface.js +18 -18
- package/dist/access-lcm-surface.d.ts +2 -2
- package/dist/access-lcm-surface.js +18 -18
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-mcp.js +25 -25
- package/dist/access-namespace-preflight.js +18 -18
- package/dist/access-observe-transcript.d.ts +1 -1
- package/dist/access-observe-write-surface.d.ts +2 -2
- package/dist/access-observe-write-surface.js +18 -18
- package/dist/access-offline-manifest.d.ts +1 -1
- package/dist/access-operations-batch.js +19 -19
- package/dist/access-operations.d.ts +2 -2
- package/dist/access-operations.js +24 -24
- package/dist/access-recall-concurrency.d.ts +2 -2
- package/dist/access-recall-concurrency.js +18 -18
- package/dist/access-recall-response.d.ts +2 -2
- package/dist/access-recall-response.js +18 -18
- package/dist/access-recall-surface.d.ts +2 -2
- package/dist/access-recall-surface.js +18 -18
- package/dist/{access-service-gBcdRUHY.d.ts → access-service-MY4bsr_Q.d.ts} +1 -1
- package/dist/access-service-helpers.d.ts +2 -2
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +18 -18
- package/dist/access-surface-catalog.d.ts +2 -2
- package/dist/access-surface-catalog.js +20 -20
- package/dist/active-recall.js +2 -2
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/bootstrap.d.ts +1 -1
- package/dist/briefing.js +7 -7
- package/dist/causal-consolidation.js +8 -8
- package/dist/{chunk-2PTNJTBE.js → chunk-2ZTDRNCS.js} +2 -2
- package/dist/{chunk-BX4EOMKT.js → chunk-3EKVN2OP.js} +2 -2
- package/dist/{chunk-DPMTLJCT.js → chunk-3NPNBVFR.js} +2 -2
- package/dist/{chunk-OKO57IXB.js → chunk-4JVQRFZD.js} +4 -4
- package/dist/{chunk-6PRY6CLC.js → chunk-4RZLTZVM.js} +1 -1
- package/dist/{chunk-PPQEP4OH.js → chunk-54NX5EG4.js} +2 -2
- package/dist/{chunk-2OGTN37H.js → chunk-5SPCMAUC.js} +3 -3
- package/dist/{chunk-TUKGXQ5T.js → chunk-5YCNDC3C.js} +2 -2
- package/dist/chunk-6AGWBKQU.js +94 -0
- package/dist/chunk-6AGWBKQU.js.map +1 -0
- package/dist/{chunk-BJEJUOGM.js → chunk-6YAIN5XJ.js} +2 -2
- package/dist/{chunk-X2NFFBTO.js → chunk-A7GQBJP5.js} +4 -4
- package/dist/{chunk-ZKZFFWLV.js → chunk-AAZEKXUP.js} +2 -2
- package/dist/{chunk-6ZMNTRU3.js → chunk-AENM6GKU.js} +2 -2
- package/dist/{chunk-7S53BPTU.js → chunk-CZTPU65V.js} +8 -8
- package/dist/{chunk-UQNYPK7G.js → chunk-D545Z7UH.js} +2 -2
- package/dist/{chunk-GT4ZHOKT.js → chunk-ENBPQEVU.js} +2 -2
- package/dist/{chunk-TRHBQVVO.js → chunk-EYKIDK33.js} +11 -11
- package/dist/{chunk-EY5JAWZC.js → chunk-F4EHXVP7.js} +2 -2
- package/dist/{chunk-474DL7UB.js → chunk-FNHLI2RE.js} +3 -3
- package/dist/{chunk-2MT4ADLQ.js → chunk-FWWWUPOE.js} +2 -2
- package/dist/{chunk-M3MYMWXG.js → chunk-FXHOZGSE.js} +2 -2
- package/dist/{chunk-VHOSM5G4.js → chunk-GG5FHZJJ.js} +2 -2
- package/dist/{chunk-CBFYCDYO.js → chunk-GI4ZBWPQ.js} +3 -3
- package/dist/{chunk-KDFDXEXZ.js → chunk-GMIQV6DD.js} +2 -2
- package/dist/{chunk-XGRXQR6T.js → chunk-IL6ODG6M.js} +2 -2
- package/dist/{chunk-XWLLFKHM.js → chunk-IQEJIOEU.js} +7 -7
- package/dist/{chunk-MLWMR2GE.js → chunk-JKKII6GX.js} +2 -2
- package/dist/{chunk-T32B72QX.js → chunk-JTQR6L2N.js} +2 -2
- package/dist/{chunk-BRZWWUCJ.js → chunk-LMLGBG6H.js} +2 -2
- package/dist/{chunk-3OYSIVOO.js → chunk-LPYYY4AP.js} +152 -112
- package/dist/chunk-LPYYY4AP.js.map +1 -0
- package/dist/{chunk-A6CKMIPK.js → chunk-MUTVRKKY.js} +8 -8
- package/dist/{chunk-JPOX2AJB.js → chunk-NXGSONWM.js} +2 -2
- package/dist/{chunk-GGAXFTNH.js → chunk-O4M4BDIJ.js} +2 -2
- package/dist/{chunk-VV4ZVUE6.js → chunk-O76F5QPP.js} +2 -2
- package/dist/{chunk-G43PMSME.js → chunk-OPBFP4TF.js} +3 -3
- package/dist/{chunk-JNSENHV5.js → chunk-PCOVEDPK.js} +3 -3
- package/dist/{chunk-VMNCZ627.js → chunk-Q432REND.js} +2 -2
- package/dist/{chunk-QMWKENNK.js → chunk-Q4AUIFUA.js} +4 -4
- package/dist/{chunk-74AHCL56.js → chunk-Q7CLGFA7.js} +2 -2
- package/dist/{chunk-5AERZWJD.js → chunk-QTQ6XKGT.js} +3 -3
- package/dist/{chunk-K5DA5TRG.js → chunk-RLJHJQUY.js} +2 -2
- package/dist/{chunk-GQQVEH6V.js → chunk-TA4C3XB7.js} +2 -2
- package/dist/{chunk-V6G2PSXA.js → chunk-TNZNSMVJ.js} +26 -26
- package/dist/{chunk-JA2QJOAX.js → chunk-TSP5WH72.js} +2 -2
- package/dist/{chunk-NWMUSKED.js → chunk-UHRZ324M.js} +3 -3
- package/dist/{chunk-62QIQEUC.js → chunk-UZEHHXYC.js} +13 -13
- package/dist/{chunk-TTSJ7WUC.js → chunk-VBSNUH4J.js} +2 -2
- package/dist/{chunk-R4VAUNNC.js → chunk-VJIE4D2I.js} +2 -2
- package/dist/{chunk-BYZKLEWG.js → chunk-VSL63CFJ.js} +5 -5
- package/dist/{chunk-4B3HBIFX.js → chunk-WBM2MVBK.js} +2 -2
- package/dist/{chunk-ULDBGA5W.js → chunk-WIWLX65T.js} +2 -2
- package/dist/{chunk-XN6XT6GR.js → chunk-X4TD4O2F.js} +2 -2
- package/dist/{chunk-UIOIDW3L.js → chunk-XH3HGI2N.js} +2 -2
- package/dist/chunk-YDVAM7S4.js +221 -0
- package/dist/chunk-YDVAM7S4.js.map +1 -0
- package/dist/{chunk-VELCIWJZ.js → chunk-YKREX63Z.js} +19 -10
- package/dist/chunk-YKREX63Z.js.map +1 -0
- package/dist/{chunk-HVS7TH2Y.js → chunk-ZBW7A667.js} +2 -2
- package/dist/{cli-BNg-TAlz.d.ts → cli-DGq0MNpO.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +49 -49
- package/dist/coding/export-okf-codegraph.js +6 -6
- package/dist/compounding/engine.js +7 -7
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.js +7 -7
- package/dist/connectors/index.js +7 -7
- package/dist/convergence-refresh.js +9 -9
- package/dist/corpus-watermark.js +9 -9
- package/dist/deep-recall-http-glue.d.ts +2 -2
- package/dist/deep-recall-mcp-tools.d.ts +2 -2
- package/dist/entity-retrieval.js +7 -7
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/external-wiki-access.d.ts +2 -2
- package/dist/external-wiki-access.js +19 -19
- package/dist/external-wiki-mcp-tools.d.ts +2 -2
- package/dist/extraction.js +7 -7
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +78 -69
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +4 -4
- package/dist/location/index.js +9 -9
- package/dist/maintenance/memory-governance.js +7 -7
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +8 -8
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/memory-subject-cli.d.ts +2 -2
- package/dist/memory-subject.d.ts +2 -2
- package/dist/namespaces/migrate.js +8 -8
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.js +7 -7
- package/dist/operator-doctor-corpus.js +10 -10
- package/dist/operator-toolkit.js +17 -17
- package/dist/orchestration/maintenance.js +15 -15
- package/dist/{orchestrator-DocO0_hw.d.ts → orchestrator-ComHLm49.d.ts} +13 -2
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +67 -66
- package/dist/{public-http-C0FoTiL_.d.ts → public-http-CuK4_Cb1.d.ts} +1 -1
- package/dist/recall-state-view-admission.js +4 -4
- package/dist/recall-state-view-anchors.d.ts +85 -0
- package/dist/recall-state-view-anchors.js +21 -0
- package/dist/recall-state-view-anchors.js.map +1 -0
- package/dist/recall-state-view-inject.js +2 -2
- package/dist/recall-state-view-render.js +2 -2
- package/dist/recall-state-view-widen.js +2 -2
- package/dist/recall-state-view-wire.js +3 -3
- package/dist/recall-state-view.d.ts +37 -1
- package/dist/recall-state-view.js +11 -3
- package/dist/resume-bundles.js +3 -3
- package/dist/search/factory.js +3 -3
- package/dist/search/index.js +7 -7
- package/dist/semantic-consolidation.js +8 -8
- package/dist/semantic-rule-promotion.js +7 -7
- package/dist/semantic-rule-verifier.js +7 -7
- package/dist/source-agent-qualifier.js +7 -7
- package/dist/standup/build.js +7 -7
- package/dist/storage.js +6 -6
- package/dist/support-passport/index.d.ts +5 -5
- package/dist/support-passport/index.js +21 -21
- package/dist/transfer/export-okf.js +7 -7
- package/dist/verified-recall.js +7 -7
- package/dist/who-knows-cli.d.ts +2 -2
- package/dist/who-knows-cli.js +8 -8
- package/dist/who-knows.d.ts +2 -2
- package/dist/who-knows.js +7 -7
- package/package.json +2 -2
- package/src/orchestration/recall-internal.ts +91 -74
- package/src/orchestration/recall-rerank-coordinator.ts +41 -4
- package/src/orchestration/recall-search-pipeline.ts +25 -18
- package/src/orchestration/recall-state-view-pipeline.test.ts +89 -0
- package/src/recall-rerank-coordinator.test.ts +153 -0
- package/src/recall-state-view-anchors.ts +163 -0
- package/src/recall-state-view-widen.ts +21 -7
- package/src/recall-state-view-zero-diff.test.ts +30 -0
- package/src/recall-state-view.test.ts +161 -0
- package/src/recall-state-view.ts +206 -35
- package/src/trust-score-recall-paths.test.ts +1 -1
- package/dist/chunk-255PC37A.js +0 -120
- package/dist/chunk-255PC37A.js.map +0 -1
- package/dist/chunk-3OYSIVOO.js.map +0 -1
- package/dist/chunk-VELCIWJZ.js.map +0 -1
- /package/dist/{chunk-2PTNJTBE.js.map → chunk-2ZTDRNCS.js.map} +0 -0
- /package/dist/{chunk-BX4EOMKT.js.map → chunk-3EKVN2OP.js.map} +0 -0
- /package/dist/{chunk-DPMTLJCT.js.map → chunk-3NPNBVFR.js.map} +0 -0
- /package/dist/{chunk-OKO57IXB.js.map → chunk-4JVQRFZD.js.map} +0 -0
- /package/dist/{chunk-6PRY6CLC.js.map → chunk-4RZLTZVM.js.map} +0 -0
- /package/dist/{chunk-PPQEP4OH.js.map → chunk-54NX5EG4.js.map} +0 -0
- /package/dist/{chunk-2OGTN37H.js.map → chunk-5SPCMAUC.js.map} +0 -0
- /package/dist/{chunk-TUKGXQ5T.js.map → chunk-5YCNDC3C.js.map} +0 -0
- /package/dist/{chunk-BJEJUOGM.js.map → chunk-6YAIN5XJ.js.map} +0 -0
- /package/dist/{chunk-X2NFFBTO.js.map → chunk-A7GQBJP5.js.map} +0 -0
- /package/dist/{chunk-ZKZFFWLV.js.map → chunk-AAZEKXUP.js.map} +0 -0
- /package/dist/{chunk-6ZMNTRU3.js.map → chunk-AENM6GKU.js.map} +0 -0
- /package/dist/{chunk-7S53BPTU.js.map → chunk-CZTPU65V.js.map} +0 -0
- /package/dist/{chunk-UQNYPK7G.js.map → chunk-D545Z7UH.js.map} +0 -0
- /package/dist/{chunk-GT4ZHOKT.js.map → chunk-ENBPQEVU.js.map} +0 -0
- /package/dist/{chunk-TRHBQVVO.js.map → chunk-EYKIDK33.js.map} +0 -0
- /package/dist/{chunk-EY5JAWZC.js.map → chunk-F4EHXVP7.js.map} +0 -0
- /package/dist/{chunk-474DL7UB.js.map → chunk-FNHLI2RE.js.map} +0 -0
- /package/dist/{chunk-2MT4ADLQ.js.map → chunk-FWWWUPOE.js.map} +0 -0
- /package/dist/{chunk-M3MYMWXG.js.map → chunk-FXHOZGSE.js.map} +0 -0
- /package/dist/{chunk-VHOSM5G4.js.map → chunk-GG5FHZJJ.js.map} +0 -0
- /package/dist/{chunk-CBFYCDYO.js.map → chunk-GI4ZBWPQ.js.map} +0 -0
- /package/dist/{chunk-KDFDXEXZ.js.map → chunk-GMIQV6DD.js.map} +0 -0
- /package/dist/{chunk-XGRXQR6T.js.map → chunk-IL6ODG6M.js.map} +0 -0
- /package/dist/{chunk-XWLLFKHM.js.map → chunk-IQEJIOEU.js.map} +0 -0
- /package/dist/{chunk-MLWMR2GE.js.map → chunk-JKKII6GX.js.map} +0 -0
- /package/dist/{chunk-T32B72QX.js.map → chunk-JTQR6L2N.js.map} +0 -0
- /package/dist/{chunk-BRZWWUCJ.js.map → chunk-LMLGBG6H.js.map} +0 -0
- /package/dist/{chunk-A6CKMIPK.js.map → chunk-MUTVRKKY.js.map} +0 -0
- /package/dist/{chunk-JPOX2AJB.js.map → chunk-NXGSONWM.js.map} +0 -0
- /package/dist/{chunk-GGAXFTNH.js.map → chunk-O4M4BDIJ.js.map} +0 -0
- /package/dist/{chunk-VV4ZVUE6.js.map → chunk-O76F5QPP.js.map} +0 -0
- /package/dist/{chunk-G43PMSME.js.map → chunk-OPBFP4TF.js.map} +0 -0
- /package/dist/{chunk-JNSENHV5.js.map → chunk-PCOVEDPK.js.map} +0 -0
- /package/dist/{chunk-VMNCZ627.js.map → chunk-Q432REND.js.map} +0 -0
- /package/dist/{chunk-QMWKENNK.js.map → chunk-Q4AUIFUA.js.map} +0 -0
- /package/dist/{chunk-74AHCL56.js.map → chunk-Q7CLGFA7.js.map} +0 -0
- /package/dist/{chunk-5AERZWJD.js.map → chunk-QTQ6XKGT.js.map} +0 -0
- /package/dist/{chunk-K5DA5TRG.js.map → chunk-RLJHJQUY.js.map} +0 -0
- /package/dist/{chunk-GQQVEH6V.js.map → chunk-TA4C3XB7.js.map} +0 -0
- /package/dist/{chunk-V6G2PSXA.js.map → chunk-TNZNSMVJ.js.map} +0 -0
- /package/dist/{chunk-JA2QJOAX.js.map → chunk-TSP5WH72.js.map} +0 -0
- /package/dist/{chunk-NWMUSKED.js.map → chunk-UHRZ324M.js.map} +0 -0
- /package/dist/{chunk-62QIQEUC.js.map → chunk-UZEHHXYC.js.map} +0 -0
- /package/dist/{chunk-TTSJ7WUC.js.map → chunk-VBSNUH4J.js.map} +0 -0
- /package/dist/{chunk-R4VAUNNC.js.map → chunk-VJIE4D2I.js.map} +0 -0
- /package/dist/{chunk-BYZKLEWG.js.map → chunk-VSL63CFJ.js.map} +0 -0
- /package/dist/{chunk-4B3HBIFX.js.map → chunk-WBM2MVBK.js.map} +0 -0
- /package/dist/{chunk-ULDBGA5W.js.map → chunk-WIWLX65T.js.map} +0 -0
- /package/dist/{chunk-XN6XT6GR.js.map → chunk-X4TD4O2F.js.map} +0 -0
- /package/dist/{chunk-UIOIDW3L.js.map → chunk-XH3HGI2N.js.map} +0 -0
- /package/dist/{chunk-HVS7TH2Y.js.map → chunk-ZBW7A667.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ActivityStore,
|
|
15
15
|
MaintenanceScheduler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IQEJIOEU.js";
|
|
17
17
|
import {
|
|
18
18
|
runPeerProfileReasoner
|
|
19
19
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
} from "./chunk-VZAKYDMJ.js";
|
|
23
23
|
import {
|
|
24
24
|
LcmEngine
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
chunkTranscriptEntries
|
|
28
|
-
} from "./chunk-TECVW3JP.js";
|
|
25
|
+
} from "./chunk-A7GQBJP5.js";
|
|
29
26
|
import {
|
|
30
27
|
cleanupConversationChunks
|
|
31
28
|
} from "./chunk-C5JF6EZ7.js";
|
|
32
29
|
import {
|
|
33
30
|
CompoundingEngine,
|
|
34
31
|
defaultTierMigrationCycleBudget
|
|
35
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-X4TD4O2F.js";
|
|
36
33
|
import {
|
|
37
34
|
SharedContextManager
|
|
38
35
|
} from "./chunk-CARRTDKC.js";
|
|
36
|
+
import {
|
|
37
|
+
chunkTranscriptEntries
|
|
38
|
+
} from "./chunk-TECVW3JP.js";
|
|
39
39
|
import {
|
|
40
40
|
cleanArchivedUserMessage
|
|
41
41
|
} from "./chunk-47DU4SGJ.js";
|
|
@@ -47,6 +47,9 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
extractTopics
|
|
49
49
|
} from "./chunk-KVDUKH5E.js";
|
|
50
|
+
import {
|
|
51
|
+
buildTemporalTimelineRecallSection
|
|
52
|
+
} from "./chunk-2NKY7OC6.js";
|
|
50
53
|
import {
|
|
51
54
|
CODEX_THREAD_KEY_PREFIX
|
|
52
55
|
} from "./chunk-4EX5WZ4M.js";
|
|
@@ -63,9 +66,6 @@ import {
|
|
|
63
66
|
buildTargetedFactRecallSection,
|
|
64
67
|
shouldRecallTargetedFactEvidence
|
|
65
68
|
} from "./chunk-T67LUYCR.js";
|
|
66
|
-
import {
|
|
67
|
-
buildTemporalTimelineRecallSection
|
|
68
|
-
} from "./chunk-2NKY7OC6.js";
|
|
69
69
|
import {
|
|
70
70
|
SessionObserverState
|
|
71
71
|
} from "./chunk-ODZKV2F7.js";
|
|
@@ -109,13 +109,17 @@ import {
|
|
|
109
109
|
rerankLocalOrNoop
|
|
110
110
|
} from "./chunk-LUDXM7MD.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
resolveRecallStateViewActive
|
|
115
|
-
} from "./chunk-5AERZWJD.js";
|
|
112
|
+
indexStateViewAnnotatedResults
|
|
113
|
+
} from "./chunk-QTQ6XKGT.js";
|
|
116
114
|
import {
|
|
117
115
|
applyRecallStateViews
|
|
118
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-LMLGBG6H.js";
|
|
117
|
+
import {
|
|
118
|
+
StateViewAnchorTracker,
|
|
119
|
+
filterRecentScanMemories,
|
|
120
|
+
resolveRecallStateViewFlags,
|
|
121
|
+
stateViewPacketActive
|
|
122
|
+
} from "./chunk-6AGWBKQU.js";
|
|
119
123
|
import {
|
|
120
124
|
dedupeResultsByNamespace,
|
|
121
125
|
hasMemoryForResult,
|
|
@@ -193,7 +197,7 @@ import {
|
|
|
193
197
|
buildEntityRecallSection,
|
|
194
198
|
entityRecentTranscriptLookbackHours,
|
|
195
199
|
readRecentEntityTranscriptEntries
|
|
196
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-RLJHJQUY.js";
|
|
197
201
|
import {
|
|
198
202
|
planEpisodeWindowsWithFallback
|
|
199
203
|
} from "./chunk-T3GIETKV.js";
|
|
@@ -208,7 +212,7 @@ import {
|
|
|
208
212
|
} from "./chunk-LVXBC6YB.js";
|
|
209
213
|
import {
|
|
210
214
|
refreshConvergedNamespaces
|
|
211
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-2ZTDRNCS.js";
|
|
212
216
|
import {
|
|
213
217
|
builtInConnectorPackageSpecifier,
|
|
214
218
|
ensureBuiltInWearableConnectors,
|
|
@@ -217,7 +221,7 @@ import {
|
|
|
217
221
|
runTimelinePublishCli,
|
|
218
222
|
screenCandidateFact,
|
|
219
223
|
summarizeVaultPublish
|
|
220
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-TNZNSMVJ.js";
|
|
221
225
|
import {
|
|
222
226
|
normalizeReplaySessionKey
|
|
223
227
|
} from "./chunk-AJVLDJU6.js";
|
|
@@ -227,14 +231,14 @@ import {
|
|
|
227
231
|
import {
|
|
228
232
|
compareVerifiedEpisodeResults,
|
|
229
233
|
searchVerifiedEpisodes
|
|
230
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-AAZEKXUP.js";
|
|
231
235
|
import {
|
|
232
236
|
ThreadingManager
|
|
233
237
|
} from "./chunk-OJP3N7UK.js";
|
|
234
238
|
import {
|
|
235
239
|
compareVerifiedSemanticRuleResults,
|
|
236
240
|
searchVerifiedSemanticRules
|
|
237
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-AENM6GKU.js";
|
|
238
242
|
import {
|
|
239
243
|
searchWorkProductLedgerEntries
|
|
240
244
|
} from "./chunk-G7NYVKD6.js";
|
|
@@ -247,10 +251,10 @@ import {
|
|
|
247
251
|
import {
|
|
248
252
|
runNamespaceMaintenanceFanout,
|
|
249
253
|
summarizeNamespaceMaintenanceHealth
|
|
250
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-MUTVRKKY.js";
|
|
251
255
|
import {
|
|
252
256
|
planNamespaceMaintenance
|
|
253
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-FNHLI2RE.js";
|
|
254
258
|
import {
|
|
255
259
|
isAboveImportanceThreshold,
|
|
256
260
|
scoreImportance
|
|
@@ -282,7 +286,7 @@ import {
|
|
|
282
286
|
materializeAfterSemanticConsolidation,
|
|
283
287
|
parseConsolidationResponse,
|
|
284
288
|
parseOperatorAwareConsolidationResponse
|
|
285
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-Q432REND.js";
|
|
286
290
|
import {
|
|
287
291
|
buildBehaviorSignalsForMemory,
|
|
288
292
|
dedupeBehaviorSignalsByMemoryAndHash
|
|
@@ -310,7 +314,7 @@ import {
|
|
|
310
314
|
detectMeetings,
|
|
311
315
|
embeddingsFromCosineHits,
|
|
312
316
|
normalizeConnectorScope
|
|
313
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-FWWWUPOE.js";
|
|
314
318
|
import {
|
|
315
319
|
compileCorrectionRule,
|
|
316
320
|
correctionsFilePath,
|
|
@@ -334,7 +338,7 @@ import {
|
|
|
334
338
|
} from "./chunk-MI2OTWV5.js";
|
|
335
339
|
import {
|
|
336
340
|
MeetingsInputError
|
|
337
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-EYKIDK33.js";
|
|
338
342
|
import {
|
|
339
343
|
WearablesInputError,
|
|
340
344
|
describeErrorForOperator
|
|
@@ -352,14 +356,14 @@ import {
|
|
|
352
356
|
} from "./chunk-DGS34QSY.js";
|
|
353
357
|
import {
|
|
354
358
|
NamespaceCatalog
|
|
355
|
-
} from "./chunk-
|
|
359
|
+
} from "./chunk-54NX5EG4.js";
|
|
356
360
|
import {
|
|
357
361
|
RecallResultFormatter,
|
|
358
362
|
SessionContextCoordinator,
|
|
359
363
|
capturePassiveCorrections,
|
|
360
364
|
clusterByKey,
|
|
361
365
|
detectPassiveCorrections
|
|
362
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-UZEHHXYC.js";
|
|
363
367
|
import {
|
|
364
368
|
importCapsule
|
|
365
369
|
} from "./chunk-ZHXSOMYH.js";
|
|
@@ -402,7 +406,7 @@ import {
|
|
|
402
406
|
} from "./chunk-HM7RHKS4.js";
|
|
403
407
|
import {
|
|
404
408
|
searchHarmonicRetrieval
|
|
405
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-4RZLTZVM.js";
|
|
406
410
|
import {
|
|
407
411
|
ProfilingCollector
|
|
408
412
|
} from "./chunk-NLE6TSLG.js";
|
|
@@ -429,7 +433,7 @@ import {
|
|
|
429
433
|
} from "./chunk-7ZNJN5WZ.js";
|
|
430
434
|
import {
|
|
431
435
|
NamespaceStorageRouter
|
|
432
|
-
} from "./chunk-
|
|
436
|
+
} from "./chunk-GG5FHZJJ.js";
|
|
433
437
|
import {
|
|
434
438
|
pruneOrphanCueAnchors
|
|
435
439
|
} from "./chunk-BMWN7B3Y.js";
|
|
@@ -491,7 +495,7 @@ import {
|
|
|
491
495
|
} from "./chunk-CSAKJVXW.js";
|
|
492
496
|
import {
|
|
493
497
|
buildChainFollowupGenerator
|
|
494
|
-
} from "./chunk-
|
|
498
|
+
} from "./chunk-5YCNDC3C.js";
|
|
495
499
|
import {
|
|
496
500
|
QmdResultResolver,
|
|
497
501
|
StorageManager,
|
|
@@ -510,7 +514,10 @@ import {
|
|
|
510
514
|
reconstructFusionInputs,
|
|
511
515
|
selfDeps,
|
|
512
516
|
serializeFusionDay
|
|
513
|
-
} from "./chunk-
|
|
517
|
+
} from "./chunk-CZTPU65V.js";
|
|
518
|
+
import {
|
|
519
|
+
buildRetiredFactTombstoneInputs
|
|
520
|
+
} from "./chunk-46WM6JX2.js";
|
|
514
521
|
import {
|
|
515
522
|
bodyIsEscaped,
|
|
516
523
|
decodeTranscriptBody,
|
|
@@ -521,18 +528,15 @@ import {
|
|
|
521
528
|
saveSpeakerRegistry,
|
|
522
529
|
speakerRegistryKey
|
|
523
530
|
} from "./chunk-UHVXE24Y.js";
|
|
524
|
-
import {
|
|
525
|
-
buildRetiredFactTombstoneInputs
|
|
526
|
-
} from "./chunk-46WM6JX2.js";
|
|
527
531
|
import {
|
|
528
532
|
NamespaceSearchRouter,
|
|
529
533
|
namespaceCollectionName
|
|
530
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-6YAIN5XJ.js";
|
|
531
535
|
import {
|
|
532
536
|
createConversationIndexRuntime,
|
|
533
537
|
createSearchBackend,
|
|
534
538
|
isSearchBackendEnabled
|
|
535
|
-
} from "./chunk-
|
|
539
|
+
} from "./chunk-4JVQRFZD.js";
|
|
536
540
|
import {
|
|
537
541
|
NoopSearchBackend
|
|
538
542
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -617,6 +621,10 @@ import {
|
|
|
617
621
|
fallbackLlmRuntimeContextFromConfig,
|
|
618
622
|
gatewayTaskChainOptions
|
|
619
623
|
} from "./chunk-LQNRVPTV.js";
|
|
624
|
+
import {
|
|
625
|
+
capStateViewPackets,
|
|
626
|
+
reconcileStateViewPairs
|
|
627
|
+
} from "./chunk-YDVAM7S4.js";
|
|
620
628
|
import {
|
|
621
629
|
assertExternalWikiRootOutsideMemoryDirCanonical
|
|
622
630
|
} from "./chunk-JV3C2MNQ.js";
|
|
@@ -2554,9 +2562,9 @@ var RecallRerankCoordinator = class _RecallRerankCoordinator {
|
|
|
2554
2562
|
return results;
|
|
2555
2563
|
}
|
|
2556
2564
|
}
|
|
2557
|
-
diversifyRecallResultsWithHeadroom(sectionId, results, limit, retrievalQuery, caps = resolveCapabilities(this.getConfig())) {
|
|
2565
|
+
diversifyRecallResultsWithHeadroom(sectionId, results, limit, retrievalQuery, caps = resolveCapabilities(this.getConfig()), stateViewActive) {
|
|
2558
2566
|
const safeLimit = typeof limit === "number" && Number.isFinite(limit) ? Math.max(0, Math.floor(limit)) : 0;
|
|
2559
|
-
const candidates = Array.isArray(results) ? results : [];
|
|
2567
|
+
const candidates = stateViewActive === true && Array.isArray(results) ? reconcileStateViewPairs(results) : Array.isArray(results) ? results : [];
|
|
2560
2568
|
let orderedPool;
|
|
2561
2569
|
const resolveOrderedPool = () => {
|
|
2562
2570
|
if (orderedPool) return orderedPool;
|
|
@@ -2567,24 +2575,40 @@ var RecallRerankCoordinator = class _RecallRerankCoordinator {
|
|
|
2567
2575
|
orderedPool = this.applyMmrToQmdResults(sectionId, boosted, caps);
|
|
2568
2576
|
return orderedPool;
|
|
2569
2577
|
};
|
|
2578
|
+
let appliedCache;
|
|
2579
|
+
const resolveApplied = () => {
|
|
2580
|
+
if (appliedCache) return appliedCache;
|
|
2581
|
+
if (safeLimit === 0 || candidates.length === 0) {
|
|
2582
|
+
appliedCache = [];
|
|
2583
|
+
return appliedCache;
|
|
2584
|
+
}
|
|
2585
|
+
const ordered = resolveOrderedPool();
|
|
2586
|
+
appliedCache = stateViewActive === true ? capStateViewPackets(ordered, safeLimit) : ordered.slice(0, safeLimit);
|
|
2587
|
+
return appliedCache;
|
|
2588
|
+
};
|
|
2570
2589
|
return {
|
|
2571
2590
|
get appliedResults() {
|
|
2572
|
-
|
|
2573
|
-
return resolveOrderedPool().slice(0, safeLimit);
|
|
2591
|
+
return resolveApplied().slice();
|
|
2574
2592
|
},
|
|
2575
2593
|
get headroomResults() {
|
|
2576
2594
|
if (candidates.length === 0) return [];
|
|
2577
|
-
|
|
2595
|
+
const ordered = resolveOrderedPool();
|
|
2596
|
+
if (stateViewActive === true) {
|
|
2597
|
+
const applied = new Set(resolveApplied());
|
|
2598
|
+
return ordered.filter((row) => !applied.has(row));
|
|
2599
|
+
}
|
|
2600
|
+
return ordered.slice(safeLimit);
|
|
2578
2601
|
}
|
|
2579
2602
|
};
|
|
2580
2603
|
}
|
|
2581
|
-
diversifyAndLimitRecallResults(sectionId, results, limit, retrievalQuery, caps = resolveCapabilities(this.getConfig())) {
|
|
2604
|
+
diversifyAndLimitRecallResults(sectionId, results, limit, retrievalQuery, caps = resolveCapabilities(this.getConfig()), stateViewActive) {
|
|
2582
2605
|
return this.diversifyRecallResultsWithHeadroom(
|
|
2583
2606
|
sectionId,
|
|
2584
2607
|
results,
|
|
2585
2608
|
limit,
|
|
2586
2609
|
retrievalQuery,
|
|
2587
|
-
caps
|
|
2610
|
+
caps,
|
|
2611
|
+
stateViewActive
|
|
2588
2612
|
).appliedResults;
|
|
2589
2613
|
}
|
|
2590
2614
|
/**
|
|
@@ -10241,7 +10265,12 @@ var RecallInternalCoordinator = class {
|
|
|
10241
10265
|
cronConversationRecallMode: this.deps.config.cronConversationRecallMode
|
|
10242
10266
|
});
|
|
10243
10267
|
const retrievalQuery = queryPolicy.retrievalQuery || prompt;
|
|
10244
|
-
const stateViewActive =
|
|
10268
|
+
const { stateViewActive, stateViewPacketActive: stateViewPacketActive2 } = resolveRecallStateViewFlags(
|
|
10269
|
+
options.stateView,
|
|
10270
|
+
this.deps.config.recallStateViews,
|
|
10271
|
+
retrievalQuery,
|
|
10272
|
+
asOfMs
|
|
10273
|
+
);
|
|
10245
10274
|
const retrievalQueryHash = createHash5("sha256").update(retrievalQuery).digest("hex");
|
|
10246
10275
|
const policyVersion = this.deps.currentPolicyVersion();
|
|
10247
10276
|
let recallSource = "none";
|
|
@@ -13065,15 +13094,17 @@ ${tmtNode.summary}`
|
|
|
13065
13094
|
memoryResults,
|
|
13066
13095
|
recallResultLimit,
|
|
13067
13096
|
retrievalQuery,
|
|
13068
|
-
caps
|
|
13097
|
+
caps,
|
|
13098
|
+
stateViewPacketActive2
|
|
13069
13099
|
) : null;
|
|
13070
|
-
memoryResults = hotQmdPartition ? [...hotQmdPartition.appliedResults] : this.deps.
|
|
13100
|
+
memoryResults = hotQmdPartition ? [...hotQmdPartition.appliedResults] : this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13071
13101
|
"memories",
|
|
13072
13102
|
memoryResults,
|
|
13073
13103
|
recallResultLimit,
|
|
13074
13104
|
retrievalQuery,
|
|
13075
|
-
caps
|
|
13076
|
-
|
|
13105
|
+
caps,
|
|
13106
|
+
stateViewPacketActive2
|
|
13107
|
+
).appliedResults;
|
|
13077
13108
|
if (resolveRecallEnhancementCapabilities(this.deps.config).memoryReconstruction && memoryResults.length > 0) {
|
|
13078
13109
|
try {
|
|
13079
13110
|
const snippets = memoryResults.map((r) => r.snippet);
|
|
@@ -13175,20 +13206,6 @@ ${tmtNode.summary}`
|
|
|
13175
13206
|
},
|
|
13176
13207
|
[]
|
|
13177
13208
|
);
|
|
13178
|
-
const embeddingPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13179
|
-
"memories",
|
|
13180
|
-
scoped,
|
|
13181
|
-
recallResultLimit,
|
|
13182
|
-
retrievalQuery,
|
|
13183
|
-
caps
|
|
13184
|
-
) : null;
|
|
13185
|
-
scoped = embeddingPartition?.appliedResults ?? this.deps.diversifyAndLimitRecallResults(
|
|
13186
|
-
"memories",
|
|
13187
|
-
scoped,
|
|
13188
|
-
recallResultLimit,
|
|
13189
|
-
retrievalQuery,
|
|
13190
|
-
caps
|
|
13191
|
-
);
|
|
13192
13209
|
{
|
|
13193
13210
|
const trustT0 = Date.now();
|
|
13194
13211
|
const trustFallback = { results: scoped, trustByPath: recallTrustByPath };
|
|
@@ -13216,6 +13233,22 @@ ${tmtNode.summary}`
|
|
|
13216
13233
|
success: !trustFellBack
|
|
13217
13234
|
});
|
|
13218
13235
|
}
|
|
13236
|
+
const embeddingPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13237
|
+
"memories",
|
|
13238
|
+
scoped,
|
|
13239
|
+
recallResultLimit,
|
|
13240
|
+
retrievalQuery,
|
|
13241
|
+
caps,
|
|
13242
|
+
stateViewPacketActive2
|
|
13243
|
+
) : null;
|
|
13244
|
+
scoped = embeddingPartition?.appliedResults ?? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13245
|
+
"memories",
|
|
13246
|
+
scoped,
|
|
13247
|
+
recallResultLimit,
|
|
13248
|
+
retrievalQuery,
|
|
13249
|
+
caps,
|
|
13250
|
+
stateViewPacketActive2
|
|
13251
|
+
).appliedResults;
|
|
13219
13252
|
if (scoped.length > 0) {
|
|
13220
13253
|
if (shouldPersistGraphSnapshot) {
|
|
13221
13254
|
graphSnapshotFinalResults = this.deps.buildGraphRecallRankedResults(
|
|
@@ -13368,20 +13401,6 @@ ${tmtNode.summary}`
|
|
|
13368
13401
|
},
|
|
13369
13402
|
[]
|
|
13370
13403
|
);
|
|
13371
|
-
const embeddingPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13372
|
-
"memories",
|
|
13373
|
-
scoped,
|
|
13374
|
-
recallResultLimit,
|
|
13375
|
-
retrievalQuery,
|
|
13376
|
-
caps
|
|
13377
|
-
) : null;
|
|
13378
|
-
scoped = embeddingPartition?.appliedResults ?? this.deps.diversifyAndLimitRecallResults(
|
|
13379
|
-
"memories",
|
|
13380
|
-
scoped,
|
|
13381
|
-
recallResultLimit,
|
|
13382
|
-
retrievalQuery,
|
|
13383
|
-
caps
|
|
13384
|
-
);
|
|
13385
13404
|
{
|
|
13386
13405
|
const trustT0 = Date.now();
|
|
13387
13406
|
const trustFallback = { results: scoped, trustByPath: recallTrustByPath };
|
|
@@ -13409,6 +13428,22 @@ ${tmtNode.summary}`
|
|
|
13409
13428
|
success: !trustFellBack
|
|
13410
13429
|
});
|
|
13411
13430
|
}
|
|
13431
|
+
const embeddingPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13432
|
+
"memories",
|
|
13433
|
+
scoped,
|
|
13434
|
+
recallResultLimit,
|
|
13435
|
+
retrievalQuery,
|
|
13436
|
+
caps,
|
|
13437
|
+
stateViewPacketActive2
|
|
13438
|
+
) : null;
|
|
13439
|
+
scoped = embeddingPartition?.appliedResults ?? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13440
|
+
"memories",
|
|
13441
|
+
scoped,
|
|
13442
|
+
recallResultLimit,
|
|
13443
|
+
retrievalQuery,
|
|
13444
|
+
caps,
|
|
13445
|
+
stateViewPacketActive2
|
|
13446
|
+
).appliedResults;
|
|
13412
13447
|
if (scoped.length > 0) {
|
|
13413
13448
|
if (shouldPersistGraphSnapshot) {
|
|
13414
13449
|
graphSnapshotFinalResults = this.deps.buildGraphRecallRankedResults(
|
|
@@ -13445,16 +13480,16 @@ ${tmtNode.summary}`
|
|
|
13445
13480
|
[]
|
|
13446
13481
|
);
|
|
13447
13482
|
if (memories.length > 0) {
|
|
13448
|
-
const activeMemories =
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13483
|
+
const activeMemories = filterRecentScanMemories(memories, {
|
|
13484
|
+
stateViewActive,
|
|
13485
|
+
asOfMs,
|
|
13486
|
+
namespaceOf: (p) => this.deps.namespaceFromPath(p),
|
|
13487
|
+
isExcluded: (p) => isGenericRecallExcludedPath(p, this.deps.config),
|
|
13488
|
+
supersessionOptions: {
|
|
13452
13489
|
enabled: lifecycleCaps.temporalSupersession,
|
|
13453
13490
|
includeInRecall: this.deps.config.temporalSupersessionIncludeInRecall
|
|
13454
|
-
}
|
|
13455
|
-
|
|
13456
|
-
asOfMs
|
|
13457
|
-
);
|
|
13491
|
+
}
|
|
13492
|
+
});
|
|
13458
13493
|
const queryAwareScopedMemories = queryAwarePrefilter.candidatePaths ? activeMemories.filter(
|
|
13459
13494
|
(memory) => queryAwarePrefilter.candidatePaths?.has(memory.path)
|
|
13460
13495
|
) : activeMemories;
|
|
@@ -13539,20 +13574,6 @@ ${tmtNode.summary}`
|
|
|
13539
13574
|
},
|
|
13540
13575
|
[]
|
|
13541
13576
|
);
|
|
13542
|
-
const recentPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13543
|
-
"memories",
|
|
13544
|
-
recent,
|
|
13545
|
-
recallResultLimit,
|
|
13546
|
-
retrievalQuery,
|
|
13547
|
-
caps
|
|
13548
|
-
) : null;
|
|
13549
|
-
recent = recentPartition?.appliedResults ?? this.deps.diversifyAndLimitRecallResults(
|
|
13550
|
-
"memories",
|
|
13551
|
-
recent,
|
|
13552
|
-
recallResultLimit,
|
|
13553
|
-
retrievalQuery,
|
|
13554
|
-
caps
|
|
13555
|
-
);
|
|
13556
13577
|
{
|
|
13557
13578
|
const trustT0 = Date.now();
|
|
13558
13579
|
const recentPreloaded = new Map(
|
|
@@ -13583,6 +13604,22 @@ ${tmtNode.summary}`
|
|
|
13583
13604
|
success: !trustFellBack
|
|
13584
13605
|
});
|
|
13585
13606
|
}
|
|
13607
|
+
const recentPartition = options.xrayCapture === true ? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13608
|
+
"memories",
|
|
13609
|
+
recent,
|
|
13610
|
+
recallResultLimit,
|
|
13611
|
+
retrievalQuery,
|
|
13612
|
+
caps,
|
|
13613
|
+
stateViewPacketActive2
|
|
13614
|
+
) : null;
|
|
13615
|
+
recent = recentPartition?.appliedResults ?? this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
13616
|
+
"memories",
|
|
13617
|
+
recent,
|
|
13618
|
+
recallResultLimit,
|
|
13619
|
+
retrievalQuery,
|
|
13620
|
+
caps,
|
|
13621
|
+
stateViewPacketActive2
|
|
13622
|
+
).appliedResults;
|
|
13586
13623
|
if (recent.length > 0) {
|
|
13587
13624
|
if (shouldPersistGraphSnapshot) {
|
|
13588
13625
|
graphSnapshotFinalResults = this.deps.buildGraphRecallRankedResults(
|
|
@@ -14891,18 +14928,21 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
14891
14928
|
results,
|
|
14892
14929
|
options.recallResultLimit,
|
|
14893
14930
|
options.prompt,
|
|
14894
|
-
caps
|
|
14931
|
+
caps,
|
|
14932
|
+
// #2859: packet semantics are off under a historical asOf pin.
|
|
14933
|
+
stateViewPacketActive(options.stateViewActive, options.asOfMs)
|
|
14895
14934
|
);
|
|
14896
14935
|
options.resultPartitionSink.partition = partition;
|
|
14897
14936
|
return partition.appliedResults;
|
|
14898
14937
|
}
|
|
14899
|
-
return this.deps.
|
|
14938
|
+
return this.deps.recallRerankCoordinator.diversifyRecallResultsWithHeadroom(
|
|
14900
14939
|
"memories",
|
|
14901
14940
|
results,
|
|
14902
14941
|
options.recallResultLimit,
|
|
14903
14942
|
options.prompt,
|
|
14904
|
-
caps
|
|
14905
|
-
|
|
14943
|
+
caps,
|
|
14944
|
+
stateViewPacketActive(options.stateViewActive, options.asOfMs)
|
|
14945
|
+
).appliedResults;
|
|
14906
14946
|
}
|
|
14907
14947
|
async loadSearchResultMemoryMap(results, preloadedMemoryMap, options) {
|
|
14908
14948
|
const memoryByPath = preloadedMemoryMap ? new Map(preloadedMemoryMap) : /* @__PURE__ */ new Map();
|
|
@@ -14991,7 +15031,7 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
14991
15031
|
}
|
|
14992
15032
|
filterSearchResultsByRecallSafety(results, memoryByPath, options) {
|
|
14993
15033
|
const stateViewActive = options?.stateViewActive === true;
|
|
14994
|
-
const
|
|
15034
|
+
const stateViewAnchors = stateViewActive ? new StateViewAnchorTracker() : null;
|
|
14995
15035
|
const stateViewDeferred = [];
|
|
14996
15036
|
const stateViewBuilt = stateViewActive ? new Array(results.length).fill(null) : null;
|
|
14997
15037
|
const buildRecallRow = (r, memory) => ({
|
|
@@ -15003,8 +15043,11 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
15003
15043
|
...stateViewActive && memory ? {
|
|
15004
15044
|
id: memory.frontmatter.id,
|
|
15005
15045
|
status: memory.frontmatter.status,
|
|
15046
|
+
supersedes: memory.frontmatter.supersedes,
|
|
15006
15047
|
supersededBy: memory.frontmatter.supersededBy,
|
|
15007
|
-
supersededAt: memory.frontmatter.supersededAt
|
|
15048
|
+
supersededAt: memory.frontmatter.supersededAt,
|
|
15049
|
+
validAt: memory.frontmatter.valid_at,
|
|
15050
|
+
invalidAt: memory.frontmatter.invalid_at
|
|
15008
15051
|
} : {}
|
|
15009
15052
|
});
|
|
15010
15053
|
let stateViewAdmittedCount = 0;
|
|
@@ -15097,10 +15140,7 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
15097
15140
|
const builtRow = buildRecallRow(r, memory);
|
|
15098
15141
|
if (stateViewBuilt !== null) {
|
|
15099
15142
|
stateViewBuilt[resultIdx] = builtRow;
|
|
15100
|
-
if (memory)
|
|
15101
|
-
const id = memory.frontmatter.id;
|
|
15102
|
-
if (typeof id === "string" && id.length > 0) stateViewSurvivorIds.add(id);
|
|
15103
|
-
}
|
|
15143
|
+
if (memory && stateViewAnchors) stateViewAnchors.admit(r.namespace, memory.frontmatter);
|
|
15104
15144
|
}
|
|
15105
15145
|
filtered.push(builtRow);
|
|
15106
15146
|
}
|
|
@@ -15110,12 +15150,12 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
15110
15150
|
progress = false;
|
|
15111
15151
|
for (const deferredIdx of stateViewDeferred) {
|
|
15112
15152
|
if (admitted.has(deferredIdx)) continue;
|
|
15113
|
-
const
|
|
15153
|
+
const deferredRow = results[deferredIdx];
|
|
15154
|
+
const deferredMemory = memoryForResult(memoryByPath, deferredRow);
|
|
15114
15155
|
if (!deferredMemory) continue;
|
|
15115
|
-
if (
|
|
15156
|
+
if (stateViewAnchors.anchored(deferredRow.namespace, deferredMemory.frontmatter)) {
|
|
15116
15157
|
admitted.add(deferredIdx);
|
|
15117
|
-
|
|
15118
|
-
if (typeof id === "string" && id.length > 0) stateViewSurvivorIds.add(id);
|
|
15158
|
+
stateViewAnchors.admit(deferredRow.namespace, deferredMemory.frontmatter);
|
|
15119
15159
|
progress = true;
|
|
15120
15160
|
}
|
|
15121
15161
|
}
|
|
@@ -30429,4 +30469,4 @@ export {
|
|
|
30429
30469
|
blendGraphExpandedRecallScore,
|
|
30430
30470
|
Orchestrator
|
|
30431
30471
|
};
|
|
30432
|
-
//# sourceMappingURL=chunk-
|
|
30472
|
+
//# sourceMappingURL=chunk-LPYYY4AP.js.map
|