@remnic/core 10.0.141 → 10.0.143
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/abstraction-nodes.js +4 -4
- package/dist/access-admin-ops-surface.js +107 -106
- package/dist/access-cli.js +107 -106
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush-preempt.js +107 -106
- package/dist/access-extraction-force-flush.js +107 -106
- package/dist/access-http-briefing.js +107 -106
- package/dist/access-http-query.js +107 -106
- package/dist/access-http.js +107 -106
- package/dist/access-identity-continuity-surface.js +107 -106
- package/dist/access-lcm-surface.js +107 -106
- package/dist/access-mcp.d.ts.map +1 -1
- package/dist/access-mcp.js +107 -106
- package/dist/access-observe-write-category.js +2 -2
- package/dist/access-observe-write-surface.js +107 -106
- package/dist/access-operations-batch.js +107 -106
- package/dist/access-operations.js +107 -106
- package/dist/access-recall-concurrency.js +107 -106
- package/dist/access-recall-mcp-search-options.d.ts +42 -0
- package/dist/access-recall-mcp-search-options.d.ts.map +1 -0
- package/dist/access-recall-mcp-search-options.js +8 -0
- package/dist/access-recall-response.js +107 -106
- package/dist/access-recall-surface.d.ts.map +1 -1
- package/dist/access-recall-surface.js +107 -106
- package/dist/access-schema.d.ts +36 -0
- package/dist/access-schema.d.ts.map +1 -1
- package/dist/access-schema.js +3 -1
- package/dist/access-service.js +107 -106
- package/dist/active-recall.js +22 -22
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +23 -23
- package/dist/buffer.js +7 -7
- package/dist/{capsule-merge-ILR35DIB.js → capsule-merge-PCSDJOAO.js} +5 -5
- package/dist/causal-consolidation.js +23 -23
- package/dist/{chunk-6WV76JHC.js → chunk-22M7NYJK.js} +2 -2
- package/dist/{chunk-F476AJQJ.js → chunk-2642VLWP.js} +2 -2
- package/dist/{chunk-UF5RTFN3.js → chunk-2DXDHGLG.js} +5 -5
- package/dist/{chunk-LPDOCXHH.js → chunk-2M7F2I7I.js} +2 -2
- package/dist/{chunk-PFUXPTBT.js → chunk-4LF5E2LM.js} +5 -5
- package/dist/{chunk-KUQLUYIR.js → chunk-4QEDFEBY.js} +3 -3
- package/dist/{chunk-C64XATK7.js → chunk-4U5VHHVF.js} +39 -3
- package/dist/chunk-4U5VHHVF.js.map +1 -0
- package/dist/{chunk-WGM2KSWN.js → chunk-5XONJ5C4.js} +2 -2
- package/dist/{chunk-3RJU7QFE.js → chunk-72QMGTDF.js} +2 -2
- package/dist/{chunk-XOOYE37V.js → chunk-7SUAHTGH.js} +2 -2
- package/dist/{chunk-3PZDG5ZH.js → chunk-A7SU5ET7.js} +2 -2
- package/dist/{chunk-VH4UCI3R.js → chunk-AHUTHRTL.js} +3 -3
- package/dist/{chunk-O3JG4PD3.js → chunk-AW56K4SI.js} +2 -2
- package/dist/{chunk-G2CGIFRP.js → chunk-AXR472RS.js} +2 -2
- package/dist/{chunk-CFSCKCT5.js → chunk-B4I37XX6.js} +4 -4
- package/dist/{chunk-NWA6IXR3.js → chunk-B7HYXVME.js} +27 -1
- package/dist/chunk-B7HYXVME.js.map +1 -0
- package/dist/{chunk-JCBKGPFE.js → chunk-BFFKIME2.js} +3 -3
- package/dist/{chunk-GNIMBEOK.js → chunk-C7CP7OEG.js} +11 -11
- package/dist/{chunk-NM6UL4W5.js → chunk-CPWZGM4E.js} +9 -9
- package/dist/{chunk-BDIXKROL.js → chunk-CPYVH6LI.js} +8 -8
- package/dist/chunk-CQ3IG3GZ.js +30 -0
- package/dist/chunk-CQ3IG3GZ.js.map +1 -0
- package/dist/{chunk-H6VQ7L5D.js → chunk-CSZCLTIV.js} +5 -5
- package/dist/{chunk-UM22PKA3.js → chunk-DVC2OYLF.js} +2 -2
- package/dist/{chunk-4IMMF5W6.js → chunk-F3PTUQIK.js} +3 -3
- package/dist/{chunk-D6IGZYTN.js → chunk-FJEYZSJD.js} +3 -3
- package/dist/{chunk-ITAUMNQU.js → chunk-FPII4O7C.js} +2 -2
- package/dist/{chunk-FL3O34XF.js → chunk-FYJYQ65N.js} +3 -3
- package/dist/{chunk-HRMOKGQM.js → chunk-GCQIXPWZ.js} +4 -4
- package/dist/{chunk-UX7KPVAM.js → chunk-GOT6G3C6.js} +2 -2
- package/dist/{chunk-FONPAA43.js → chunk-HQJAQENN.js} +2 -2
- package/dist/{chunk-DGLNT6VO.js → chunk-HQV5GCMD.js} +3 -3
- package/dist/{chunk-USVA4XWY.js → chunk-IIVDGKMW.js} +3 -3
- package/dist/{chunk-K5CM4M65.js → chunk-ITT4SVVA.js} +7 -7
- package/dist/{chunk-2HI22OK7.js → chunk-JKYAKDBP.js} +2 -2
- package/dist/{chunk-MGN2RQRG.js → chunk-KAGLV5KH.js} +2 -2
- package/dist/{chunk-VRBGYSSQ.js → chunk-KETT3EZO.js} +2 -2
- package/dist/chunk-KETT3EZO.js.map +1 -0
- package/dist/{chunk-2NJ74RQU.js → chunk-LE27GU4M.js} +2 -2
- package/dist/{chunk-7NSGKXFD.js → chunk-LYPBQHAX.js} +4 -4
- package/dist/{chunk-EGDUG2ZX.js → chunk-MBBRU5LJ.js} +2 -2
- package/dist/{chunk-IUXTKLZY.js → chunk-MSVBNOFX.js} +22 -22
- package/dist/{chunk-DOJBV6WR.js → chunk-MX5VGD6C.js} +5 -5
- package/dist/{chunk-GAVFANAB.js → chunk-NFNH4ZPB.js} +2 -2
- package/dist/{chunk-NCS2NXSP.js → chunk-NIG54XKA.js} +3 -3
- package/dist/{chunk-EIZUL6JC.js → chunk-NKO4VZRO.js} +3 -3
- package/dist/{chunk-QZUT4VTV.js → chunk-O5OFHBAP.js} +2 -2
- package/dist/{chunk-SZ6QV3DY.js → chunk-OM2YWPFX.js} +2 -2
- package/dist/{chunk-7YD5XSJK.js → chunk-OOJMQV3L.js} +5 -5
- package/dist/{chunk-FJTRNFI4.js → chunk-P3COXHWB.js} +2 -2
- package/dist/{chunk-ZG4GNPRE.js → chunk-PBE7NFB5.js} +5 -5
- package/dist/{chunk-SZK2DX5U.js → chunk-PCMGMPQZ.js} +2 -2
- package/dist/{chunk-WIV37T4U.js → chunk-QBNZLS3U.js} +5 -5
- package/dist/{chunk-DLZGSZVC.js → chunk-RJ5L6LRD.js} +5 -5
- package/dist/{chunk-342VFB56.js → chunk-RVPISCKY.js} +3 -3
- package/dist/{chunk-BYWNF25B.js → chunk-SFHEIWIE.js} +2 -2
- package/dist/{chunk-YXFY4YOF.js → chunk-TD72RHHZ.js} +3 -3
- package/dist/{chunk-FREKFMCA.js → chunk-TJE4LIVD.js} +2 -2
- package/dist/{chunk-M5GVCJSJ.js → chunk-TVWLYSX4.js} +2 -2
- package/dist/{chunk-O3GZPLVY.js → chunk-UUSL22HE.js} +2 -2
- package/dist/{chunk-63JPXUFA.js → chunk-VKTZXJSR.js} +2 -2
- package/dist/{chunk-27N6SGEY.js → chunk-VNMJWFYR.js} +2 -2
- package/dist/{chunk-AA6G3W3B.js → chunk-W236BAJR.js} +2 -2
- package/dist/{chunk-GCHM5BYL.js → chunk-WWQMZBDI.js} +4 -4
- package/dist/{chunk-OVZIYLBZ.js → chunk-YCK26VSL.js} +2 -2
- package/dist/{chunk-3GHQCNNG.js → chunk-YJUZ465J.js} +5 -5
- package/dist/{chunk-DIBOWE53.js → chunk-YXPUQBHK.js} +17 -2
- package/dist/chunk-YXPUQBHK.js.map +1 -0
- package/dist/{chunk-QHDBKC5Z.js → chunk-ZFJOPBQD.js} +2 -2
- package/dist/{chunk-JLD44JR7.js → chunk-ZNYOY2MM.js} +354 -330
- package/dist/chunk-ZNYOY2MM.js.map +1 -0
- package/dist/cli.js +107 -106
- package/dist/coding/export-okf-codegraph.js +22 -22
- package/dist/compounding/engine.js +23 -23
- package/dist/config.js +22 -22
- package/dist/connectors/codex-materialize-runner.js +22 -22
- package/dist/connectors/index.js +22 -22
- package/dist/consolidation-provenance-check.js +5 -5
- package/dist/consolidation-undo.js +4 -4
- package/dist/contradiction/index.js +3 -3
- package/dist/convergence-refresh.js +24 -24
- package/dist/corpus-watermark.js +24 -24
- package/dist/cue-anchors.js +5 -5
- package/dist/deep-recall-http-glue.js +2 -2
- package/dist/{entity-canonical-id-migration-IG77BOGD.js → entity-canonical-id-migration-ZOWR44RK.js} +4 -4
- package/dist/entity-retrieval.js +23 -23
- package/dist/explicit-capture.js +107 -106
- package/dist/extraction.js +26 -26
- package/dist/harmonic-construction.js +6 -6
- package/dist/harmonic-graph-version.js +3 -3
- package/dist/harmonic-retrieval.js +25 -25
- package/dist/index.js +165 -162
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/location/index.js +23 -23
- package/dist/maintenance/memory-governance.js +22 -22
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +22 -22
- package/dist/maintenance/rebuild-memory-projection-runner.js +24 -24
- package/dist/maintenance/rebuild-memory-projection.js +23 -23
- package/dist/memory-browse.js +6 -6
- package/dist/memory-cache.d.ts +5 -0
- package/dist/memory-cache.d.ts.map +1 -1
- package/dist/memory-cache.js +9 -1
- package/dist/memory-corpus-version.js +2 -2
- package/dist/namespaces/migrate.js +23 -23
- package/dist/namespaces/search.js +11 -11
- package/dist/namespaces/storage.js +22 -22
- package/dist/operator-doctor-corpus.js +25 -25
- package/dist/operator-toolkit.js +30 -30
- package/dist/orchestration/backlog-scheduler.js +108 -107
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +108 -107
- package/dist/orchestration/maintenance.js +30 -30
- package/dist/orchestration/orchestrator-helpers.d.ts +3 -15
- package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -1
- package/dist/orchestration/recall-internal-deps.d.ts +2 -1
- package/dist/orchestration/recall-internal-deps.d.ts.map +1 -1
- package/dist/orchestration/recall-internal.d.ts.map +1 -1
- package/dist/orchestration/recall-search-pipeline.d.ts +3 -10
- package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -1
- package/dist/orchestrator.d.ts +2 -2
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +107 -106
- package/dist/page-versioning.js +4 -4
- package/dist/qmd.js +3 -3
- package/dist/recall-composition-decision.js +2 -2
- package/dist/recall-navigation.js +107 -106
- package/dist/recall-state-view-admission.js +6 -6
- package/dist/recall-why-service.js +6 -6
- package/dist/{resolution-7XBNQVKU.js → resolution-A3NAI3YE.js} +4 -4
- package/dist/resolution-A3NAI3YE.js.map +1 -0
- package/dist/resume-bundles.js +23 -23
- package/dist/search/factory.js +10 -10
- package/dist/search/index.js +14 -14
- package/dist/search/lancedb-backend.js +3 -3
- package/dist/search/meilisearch-backend.js +3 -3
- package/dist/search/orama-backend.js +3 -3
- package/dist/search/port.d.ts +2 -0
- package/dist/search/port.d.ts.map +1 -1
- package/dist/search/port.js +3 -1
- package/dist/search/remote-backend.js +2 -2
- package/dist/semantic-consolidation.js +23 -23
- package/dist/semantic-rule-promotion.js +22 -22
- package/dist/semantic-rule-verifier.js +22 -22
- package/dist/source-agent-qualifier.js +25 -25
- package/dist/standup/build.js +22 -22
- package/dist/storage.js +21 -21
- package/dist/transfer/capsule-import.js +5 -5
- package/dist/transfer/export-okf.js +23 -23
- package/dist/verified-recall.js +22 -22
- package/dist/who-knows-cli.js +23 -23
- package/dist/who-knows.js +22 -22
- package/package.json +2 -2
- package/src/access-mcp.test.ts +25 -0
- package/src/access-mcp.ts +2 -0
- package/src/access-recall-mcp-search-options.ts +26 -0
- package/src/access-recall-surface.ts +2 -3
- package/src/access-schema.ts +24 -0
- package/src/memory-cache.test.ts +27 -0
- package/src/memory-cache.ts +45 -2
- package/src/orchestration/orchestrator-helpers.ts +4 -16
- package/src/orchestration/recall-internal-deps.ts +2 -0
- package/src/orchestration/recall-internal.ts +9 -8
- package/src/orchestration/recall-search-pipeline.test.ts +65 -0
- package/src/orchestration/recall-search-pipeline.ts +17 -20
- package/src/orchestrator.ts +17 -54
- package/src/recall-navigation-surface.test.ts +3 -3
- package/src/recall-search-options.test.ts +64 -0
- package/src/search/port.ts +35 -0
- package/dist/chunk-C64XATK7.js.map +0 -1
- package/dist/chunk-DIBOWE53.js.map +0 -1
- package/dist/chunk-JLD44JR7.js.map +0 -1
- package/dist/chunk-NWA6IXR3.js.map +0 -1
- package/dist/chunk-VRBGYSSQ.js.map +0 -1
- /package/dist/{entity-canonical-id-migration-IG77BOGD.js.map → access-recall-mcp-search-options.js.map} +0 -0
- /package/dist/{capsule-merge-ILR35DIB.js.map → capsule-merge-PCSDJOAO.js.map} +0 -0
- /package/dist/{chunk-6WV76JHC.js.map → chunk-22M7NYJK.js.map} +0 -0
- /package/dist/{chunk-F476AJQJ.js.map → chunk-2642VLWP.js.map} +0 -0
- /package/dist/{chunk-UF5RTFN3.js.map → chunk-2DXDHGLG.js.map} +0 -0
- /package/dist/{chunk-LPDOCXHH.js.map → chunk-2M7F2I7I.js.map} +0 -0
- /package/dist/{chunk-PFUXPTBT.js.map → chunk-4LF5E2LM.js.map} +0 -0
- /package/dist/{chunk-KUQLUYIR.js.map → chunk-4QEDFEBY.js.map} +0 -0
- /package/dist/{chunk-WGM2KSWN.js.map → chunk-5XONJ5C4.js.map} +0 -0
- /package/dist/{chunk-3RJU7QFE.js.map → chunk-72QMGTDF.js.map} +0 -0
- /package/dist/{chunk-XOOYE37V.js.map → chunk-7SUAHTGH.js.map} +0 -0
- /package/dist/{chunk-3PZDG5ZH.js.map → chunk-A7SU5ET7.js.map} +0 -0
- /package/dist/{chunk-VH4UCI3R.js.map → chunk-AHUTHRTL.js.map} +0 -0
- /package/dist/{chunk-O3JG4PD3.js.map → chunk-AW56K4SI.js.map} +0 -0
- /package/dist/{chunk-G2CGIFRP.js.map → chunk-AXR472RS.js.map} +0 -0
- /package/dist/{chunk-CFSCKCT5.js.map → chunk-B4I37XX6.js.map} +0 -0
- /package/dist/{chunk-JCBKGPFE.js.map → chunk-BFFKIME2.js.map} +0 -0
- /package/dist/{chunk-GNIMBEOK.js.map → chunk-C7CP7OEG.js.map} +0 -0
- /package/dist/{chunk-NM6UL4W5.js.map → chunk-CPWZGM4E.js.map} +0 -0
- /package/dist/{chunk-BDIXKROL.js.map → chunk-CPYVH6LI.js.map} +0 -0
- /package/dist/{chunk-H6VQ7L5D.js.map → chunk-CSZCLTIV.js.map} +0 -0
- /package/dist/{chunk-UM22PKA3.js.map → chunk-DVC2OYLF.js.map} +0 -0
- /package/dist/{chunk-4IMMF5W6.js.map → chunk-F3PTUQIK.js.map} +0 -0
- /package/dist/{chunk-D6IGZYTN.js.map → chunk-FJEYZSJD.js.map} +0 -0
- /package/dist/{chunk-ITAUMNQU.js.map → chunk-FPII4O7C.js.map} +0 -0
- /package/dist/{chunk-FL3O34XF.js.map → chunk-FYJYQ65N.js.map} +0 -0
- /package/dist/{chunk-HRMOKGQM.js.map → chunk-GCQIXPWZ.js.map} +0 -0
- /package/dist/{chunk-UX7KPVAM.js.map → chunk-GOT6G3C6.js.map} +0 -0
- /package/dist/{chunk-FONPAA43.js.map → chunk-HQJAQENN.js.map} +0 -0
- /package/dist/{chunk-DGLNT6VO.js.map → chunk-HQV5GCMD.js.map} +0 -0
- /package/dist/{chunk-USVA4XWY.js.map → chunk-IIVDGKMW.js.map} +0 -0
- /package/dist/{chunk-K5CM4M65.js.map → chunk-ITT4SVVA.js.map} +0 -0
- /package/dist/{chunk-2HI22OK7.js.map → chunk-JKYAKDBP.js.map} +0 -0
- /package/dist/{chunk-MGN2RQRG.js.map → chunk-KAGLV5KH.js.map} +0 -0
- /package/dist/{chunk-2NJ74RQU.js.map → chunk-LE27GU4M.js.map} +0 -0
- /package/dist/{chunk-7NSGKXFD.js.map → chunk-LYPBQHAX.js.map} +0 -0
- /package/dist/{chunk-EGDUG2ZX.js.map → chunk-MBBRU5LJ.js.map} +0 -0
- /package/dist/{chunk-IUXTKLZY.js.map → chunk-MSVBNOFX.js.map} +0 -0
- /package/dist/{chunk-DOJBV6WR.js.map → chunk-MX5VGD6C.js.map} +0 -0
- /package/dist/{chunk-GAVFANAB.js.map → chunk-NFNH4ZPB.js.map} +0 -0
- /package/dist/{chunk-NCS2NXSP.js.map → chunk-NIG54XKA.js.map} +0 -0
- /package/dist/{chunk-EIZUL6JC.js.map → chunk-NKO4VZRO.js.map} +0 -0
- /package/dist/{chunk-QZUT4VTV.js.map → chunk-O5OFHBAP.js.map} +0 -0
- /package/dist/{chunk-SZ6QV3DY.js.map → chunk-OM2YWPFX.js.map} +0 -0
- /package/dist/{chunk-7YD5XSJK.js.map → chunk-OOJMQV3L.js.map} +0 -0
- /package/dist/{chunk-FJTRNFI4.js.map → chunk-P3COXHWB.js.map} +0 -0
- /package/dist/{chunk-ZG4GNPRE.js.map → chunk-PBE7NFB5.js.map} +0 -0
- /package/dist/{chunk-SZK2DX5U.js.map → chunk-PCMGMPQZ.js.map} +0 -0
- /package/dist/{chunk-WIV37T4U.js.map → chunk-QBNZLS3U.js.map} +0 -0
- /package/dist/{chunk-DLZGSZVC.js.map → chunk-RJ5L6LRD.js.map} +0 -0
- /package/dist/{chunk-342VFB56.js.map → chunk-RVPISCKY.js.map} +0 -0
- /package/dist/{chunk-BYWNF25B.js.map → chunk-SFHEIWIE.js.map} +0 -0
- /package/dist/{chunk-YXFY4YOF.js.map → chunk-TD72RHHZ.js.map} +0 -0
- /package/dist/{chunk-FREKFMCA.js.map → chunk-TJE4LIVD.js.map} +0 -0
- /package/dist/{chunk-M5GVCJSJ.js.map → chunk-TVWLYSX4.js.map} +0 -0
- /package/dist/{chunk-O3GZPLVY.js.map → chunk-UUSL22HE.js.map} +0 -0
- /package/dist/{chunk-63JPXUFA.js.map → chunk-VKTZXJSR.js.map} +0 -0
- /package/dist/{chunk-27N6SGEY.js.map → chunk-VNMJWFYR.js.map} +0 -0
- /package/dist/{chunk-AA6G3W3B.js.map → chunk-W236BAJR.js.map} +0 -0
- /package/dist/{chunk-GCHM5BYL.js.map → chunk-WWQMZBDI.js.map} +0 -0
- /package/dist/{chunk-OVZIYLBZ.js.map → chunk-YCK26VSL.js.map} +0 -0
- /package/dist/{chunk-3GHQCNNG.js.map → chunk-YJUZ465J.js.map} +0 -0
- /package/dist/{chunk-QHDBKC5Z.js.map → chunk-ZFJOPBQD.js.map} +0 -0
- /package/dist/{resolution-7XBNQVKU.js.map → entity-canonical-id-migration-ZOWR44RK.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ENTITY_CANONICAL_ID_RECONCILE_MARKER,
|
|
11
11
|
assertSafeEntityId,
|
|
12
12
|
withEntityCanonicalMutationLock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UUSL22HE.js";
|
|
14
14
|
import {
|
|
15
15
|
computeSupersessionKey,
|
|
16
16
|
normalizeSupersessionKey
|
|
@@ -874,4 +874,4 @@ export {
|
|
|
874
874
|
readSafeEntityEntries,
|
|
875
875
|
migrateLegacyEntityCanonicalIds
|
|
876
876
|
};
|
|
877
|
-
//# sourceMappingURL=chunk-
|
|
877
|
+
//# sourceMappingURL=chunk-AW56K4SI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bumpHarmonicGraphVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FPII4O7C.js";
|
|
4
4
|
import {
|
|
5
5
|
compareDeterministicStrings,
|
|
6
6
|
mergeSortedUniqueStrings
|
|
@@ -264,4 +264,4 @@ export {
|
|
|
264
264
|
upsertAbstractionNode,
|
|
265
265
|
getAbstractionNodeStoreStatus
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=chunk-
|
|
267
|
+
//# sourceMappingURL=chunk-AXR472RS.js.map
|
|
@@ -105,12 +105,12 @@ import {
|
|
|
105
105
|
import {
|
|
106
106
|
parseProvenanceConfig
|
|
107
107
|
} from "./chunk-FF6N7BXC.js";
|
|
108
|
-
import {
|
|
109
|
-
normalizeEntitySchemas
|
|
110
|
-
} from "./chunk-ZIKENA2C.js";
|
|
111
108
|
import {
|
|
112
109
|
parseDirectorySidecarsEnabled
|
|
113
110
|
} from "./chunk-3OUGSOJP.js";
|
|
111
|
+
import {
|
|
112
|
+
normalizeEntitySchemas
|
|
113
|
+
} from "./chunk-ZIKENA2C.js";
|
|
114
114
|
import {
|
|
115
115
|
parseBackgroundGeneration
|
|
116
116
|
} from "./chunk-27NO2KVB.js";
|
|
@@ -5860,4 +5860,4 @@ export {
|
|
|
5860
5860
|
VALID_MEMORY_CATEGORIES,
|
|
5861
5861
|
parseConfig
|
|
5862
5862
|
};
|
|
5863
|
-
//# sourceMappingURL=chunk-
|
|
5863
|
+
//# sourceMappingURL=chunk-B4I37XX6.js.map
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
// src/search/port.ts
|
|
2
|
+
function mergeSearchQueryOptions(configured, request) {
|
|
3
|
+
if (!configured && !request) return void 0;
|
|
4
|
+
const out = { ...configured ?? {} };
|
|
5
|
+
if (!request) {
|
|
6
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
7
|
+
}
|
|
8
|
+
if (request.intent !== void 0) {
|
|
9
|
+
const intent = request.intent.trim();
|
|
10
|
+
if (intent.length > 0) out.intent = intent;
|
|
11
|
+
}
|
|
12
|
+
if (request.explain !== void 0) {
|
|
13
|
+
out.explain = request.explain;
|
|
14
|
+
}
|
|
15
|
+
if (request.rerank === false) out.rerank = false;
|
|
16
|
+
if (request.chunkStrategy === "auto" || request.chunkStrategy === "regex") {
|
|
17
|
+
out.chunkStrategy = request.chunkStrategy;
|
|
18
|
+
}
|
|
19
|
+
if (request.candidateLimit !== void 0 && Number.isFinite(request.candidateLimit) && request.candidateLimit > 0) {
|
|
20
|
+
out.candidateLimit = Math.floor(request.candidateLimit);
|
|
21
|
+
}
|
|
22
|
+
if (request.structuredSearches !== void 0 && request.structuredSearches.length > 0) {
|
|
23
|
+
out.structuredSearches = request.structuredSearches;
|
|
24
|
+
}
|
|
25
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
26
|
+
}
|
|
2
27
|
function reportSearchDegradation(execution, degradation) {
|
|
3
28
|
try {
|
|
4
29
|
execution?.onDegradation?.(degradation);
|
|
@@ -28,10 +53,11 @@ function resolveEnsureCollectionArgs(collectionOrExecution, execution) {
|
|
|
28
53
|
}
|
|
29
54
|
|
|
30
55
|
export {
|
|
56
|
+
mergeSearchQueryOptions,
|
|
31
57
|
reportSearchDegradation,
|
|
32
58
|
FATAL_SEARCH_DEGRADATION_CODES,
|
|
33
59
|
fatalSearchDegradations,
|
|
34
60
|
describeSearchDegradations,
|
|
35
61
|
resolveEnsureCollectionArgs
|
|
36
62
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-B7HYXVME.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/search/port.ts"],"sourcesContent":["import type { QmdSearchResult } from \"../types.js\";\n\n/** Alias so consumers don't need to reference \"Qmd\" in a backend-agnostic context. */\nexport type SearchResult = QmdSearchResult;\n\nexport interface SearchQueryOptions {\n intent?: string;\n explain?: boolean;\n candidateLimit?: number;\n rerank?: boolean;\n chunkStrategy?: \"auto\" | \"regex\";\n structuredSearches?: Array<{ type: \"lex\" | \"vec\" | \"hyde\"; query: string }>;\n}\n\n/** Merge config-derived QMD options with an optional per-recall HTTP/MCP override. */\nexport function mergeSearchQueryOptions(\n configured: SearchQueryOptions | undefined,\n request?: SearchQueryOptions,\n): SearchQueryOptions | undefined {\n if (!configured && !request) return undefined;\n const out: SearchQueryOptions = { ...(configured ?? {}) };\n if (!request) {\n return Object.keys(out).length > 0 ? out : undefined;\n }\n if (request.intent !== undefined) {\n const intent = request.intent.trim();\n if (intent.length > 0) out.intent = intent;\n }\n if (request.explain !== undefined) {\n out.explain = request.explain;\n }\n // QMD wire path only honors explicit opt-out (`rerank: false`); `true` is a no-op.\n if (request.rerank === false) out.rerank = false;\n if (request.chunkStrategy === \"auto\" || request.chunkStrategy === \"regex\") {\n out.chunkStrategy = request.chunkStrategy;\n }\n if (\n request.candidateLimit !== undefined &&\n Number.isFinite(request.candidateLimit) &&\n request.candidateLimit > 0\n ) {\n out.candidateLimit = Math.floor(request.candidateLimit);\n }\n if (request.structuredSearches !== undefined && request.structuredSearches.length > 0) {\n out.structuredSearches = request.structuredSearches;\n }\n return Object.keys(out).length > 0 ? out : undefined;\n}\n\n/**\n * A search that returned empty (or partial) results because the backend was\n * unavailable, still loading, or timed out — cases that are otherwise\n * indistinguishable from a genuine \"no matches\" (issue #1536, CLAUDE.md\n * rule 34).\n */\nexport interface SearchDegradation {\n backend: \"qmd\" | \"remote\" | \"meilisearch\" | \"orama\" | \"lancedb\";\n code:\n | \"backend_unavailable\"\n | \"backend_error\"\n | \"daemon_timeout\"\n | \"daemon_loading\"\n | \"subprocess_error\"\n | \"deadline_exceeded\"\n | \"remote_error\"\n | \"vector_tier_unavailable\";\n detail?: string;\n}\n\nexport interface SearchExecutionOptions {\n signal?: AbortSignal;\n /**\n * Observer invoked when the backend degrades during this call (#1536).\n * Callers that need to distinguish empty-because-degraded from\n * empty-because-no-matches (recall x-ray, fallback decisions) pass a\n * collector here. Observer failures are swallowed by the notifier —\n * observability must never break search.\n */\n onDegradation?: (degradation: SearchDegradation) => void;\n}\n\nexport function reportSearchDegradation(\n execution: SearchExecutionOptions | undefined,\n degradation: SearchDegradation\n): void {\n try {\n execution?.onDegradation?.(degradation);\n } catch {\n // Observability must never break search.\n }\n}\n\n/**\n * Codes that mean the search backend could NOT answer, so an empty\n * result set carries no information (issue #3082 / recall_why #3033).\n * `vector_tier_unavailable` is excluded on purpose: the lexical tier\n * still answered, so the result set is degraded but real.\n */\nexport const FATAL_SEARCH_DEGRADATION_CODES: Readonly<\n Partial<Record<SearchDegradation[\"code\"], true>>\n> = Object.freeze({\n backend_unavailable: true,\n backend_error: true,\n daemon_timeout: true,\n daemon_loading: true,\n subprocess_error: true,\n deadline_exceeded: true,\n remote_error: true,\n});\n\nexport function fatalSearchDegradations(\n degradations: readonly SearchDegradation[],\n): SearchDegradation[] {\n return degradations.filter((d) => FATAL_SEARCH_DEGRADATION_CODES[d.code] === true);\n}\n\nexport function describeSearchDegradations(\n degradations: readonly SearchDegradation[],\n): string {\n return degradations\n .map((d) => `${d.backend}:${d.code}${d.detail !== undefined ? ` (${d.detail})` : \"\"}`)\n .join(\"; \");\n}\n\nexport function resolveEnsureCollectionArgs(\n collectionOrExecution?: string | SearchExecutionOptions,\n execution?: SearchExecutionOptions\n): { collection?: string; execution?: SearchExecutionOptions } {\n if (typeof collectionOrExecution === \"string\") {\n return { collection: collectionOrExecution, execution };\n }\n return { collection: undefined, execution: collectionOrExecution ?? execution };\n}\n\n/**\n * Optional status report for search backends that track embedding backlog.\n * Backends without embedding pipelines return null from status().\n */\nexport interface SearchBackendStatus {\n pendingEmbeddings: number | null;\n oldestPendingAgeMs: number | null;\n totalFiles: number | null;\n embeddedFiles: number | null;\n}\n\n/**\n * Abstract search backend interface.\n *\n * Implementations:\n * - QmdClient (default, local hybrid BM25+vector+reranking)\n * - OramaBackend (embedded, pure JS, hybrid FTS+vector)\n * - LanceDbBackend (embedded, native Arrow bindings, RRF reranking)\n * - MeilisearchBackend (server-based SDK, hybrid search)\n * - RemoteSearchBackend (HTTP REST adapter)\n * - NoopSearchBackend (graceful degradation)\n *\n * See docs/writing-a-search-backend.md for the implementation guide.\n */\nexport interface SearchBackend {\n // ── Lifecycle ──\n probe(execution?: SearchExecutionOptions): Promise<boolean>;\n /**\n * Optional non-mutating availability probe for health/readiness checks.\n * Implementations must avoid auto-upgrades, collection creation, daemon\n * startup, or any other runtime-modifying side effects.\n */\n checkAvailability?(execution?: SearchExecutionOptions): Promise<boolean>;\n isAvailable(): boolean;\n debugStatus(): string;\n /** Optional embedding backlog status for health surfaces. */\n status?(): Promise<SearchBackendStatus>;\n\n // ── Search ──\n search(\n query: string,\n collection?: string,\n maxResults?: number,\n options?: SearchQueryOptions,\n execution?: SearchExecutionOptions\n ): Promise<SearchResult[]>;\n searchGlobal(query: string, maxResults?: number, execution?: SearchExecutionOptions): Promise<SearchResult[]>;\n bm25Search(\n query: string,\n collection?: string,\n maxResults?: number,\n execution?: SearchExecutionOptions\n ): Promise<SearchResult[]>;\n vectorSearch(\n query: string,\n collection?: string,\n maxResults?: number,\n execution?: SearchExecutionOptions\n ): Promise<SearchResult[]>;\n hybridSearch(\n query: string,\n collection?: string,\n maxResults?: number,\n execution?: SearchExecutionOptions\n ): Promise<SearchResult[]>;\n\n // ── Maintenance ──\n update(execution?: SearchExecutionOptions): Promise<void>;\n /**\n * Wall-clock ms of the most recent SUCCESSFUL index refresh, or null when the\n * backend has never run one. Ordinary update() is fail-open: it returns\n * silently (without throwing or advancing this timestamp) when the backend is\n * unavailable or the call is suppressed by a min-interval / failure backoff.\n * Callers that must know whether update() actually indexed — so they can\n * invalidate dependent caches only on a real refresh — snapshot this before\n * the call and treat the backend as refreshed iff the value advanced. Optional\n * because not every backend tracks it; absent means \"assume refreshed\".\n */\n readonly lastUpdateRanAtMs?: number | null;\n /**\n * Optional strict refresh used by callers that must know whether the backend\n * was actually refreshed before writing success markers. Ordinary update\n * calls remain fail-open for migration/maintenance resilience.\n */\n updateStrict?(execution?: SearchExecutionOptions): Promise<void>;\n /**\n * Fail-open like update(), but reports whether the index was actually brought\n * up to date: false when it returned early (aborted, unavailable, suppressed\n * or skipped) or failed. It never rejects for an update failure. For backends with no strict variant, so a caller\n * that must not lose a re-index (the entity-migration pending marker) can tell.\n */\n updateCompleted?(execution?: SearchExecutionOptions): Promise<boolean>;\n updateCollection(collection: string, execution?: SearchExecutionOptions): Promise<void>;\n updateCollectionFromDir?(collection: string, memoryDir: string, execution?: SearchExecutionOptions): Promise<void>;\n /**\n * True when update() refreshes every indexed collection, not just this\n * backend's configured collection. Namespace routers use this to avoid\n * repeating the same expensive global update once per namespace.\n */\n updatesAllCollections?(): boolean;\n /**\n * Optional strict refresh used by callers that must know whether a collection\n * was actually refreshed before writing success markers. Ordinary update\n * calls remain fail-open for migration/maintenance resilience.\n */\n updateCollectionStrict?(collection: string, execution?: SearchExecutionOptions): Promise<void>;\n embed(): Promise<void>;\n /**\n * Optional strict embed used by callers that must know vectors were actually\n * refreshed before writing success markers.\n */\n embedStrict?(): Promise<void>;\n embedCollection(collection: string): Promise<void>;\n /**\n * Optional strict collection embed used by callers that must know vectors were\n * actually refreshed before writing success markers.\n */\n embedCollectionStrict?(collection: string): Promise<void>;\n\n // ── Collection management ──\n /**\n * True only when the backend can bind, isolate, search, and delete collections\n * outside Remnic's primary memory roots.\n */\n supportsAdditionalCollections?(): boolean;\n /**\n * Prevent a collection from participating in unscoped/global searches.\n * Dedicated corpora must call this immediately after collection creation.\n */\n excludeCollectionFromGlobalSearch?(collection: string, execution?: SearchExecutionOptions): Promise<void>;\n /** Remove a non-primary collection and its backend-owned index state. */\n deleteCollection?(collection: string, execution?: SearchExecutionOptions): Promise<boolean>;\n /** Canonical source root currently bound to a named collection. */\n collectionRoot?(collection: string, execution?: SearchExecutionOptions): Promise<string | null>;\n /** Collection-scoped status for observability surfaces. */\n collectionStatus?(collection: string): Promise<Pick<SearchBackendStatus, \"totalFiles\">>;\n /**\n * Optional non-mutating collection probe. Backends that can distinguish a\n * missing collection from a transient probe failure should implement this so\n * callers can avoid auto-creating collections in unsafe layouts.\n */\n checkCollection?(\n collectionOrExecution?: string | SearchExecutionOptions,\n execution?: SearchExecutionOptions\n ): Promise<\"present\" | \"missing\" | \"unknown\" | \"skipped\">;\n ensureCollection(\n memoryDir: string,\n execution?: SearchExecutionOptions\n ): Promise<\"present\" | \"missing\" | \"unknown\" | \"skipped\">;\n ensureCollection(\n memoryDir: string,\n collection?: string,\n execution?: SearchExecutionOptions\n ): Promise<\"present\" | \"missing\" | \"unknown\" | \"skipped\">;\n}\n"],"mappings":";AAeO,SAAS,wBACd,YACA,SACgC;AAChC,MAAI,CAAC,cAAc,CAAC,QAAS,QAAO;AACpC,QAAM,MAA0B,EAAE,GAAI,cAAc,CAAC,EAAG;AACxD,MAAI,CAAC,SAAS;AACZ,WAAO,OAAO,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM;AAAA,EAC7C;AACA,MAAI,QAAQ,WAAW,QAAW;AAChC,UAAM,SAAS,QAAQ,OAAO,KAAK;AACnC,QAAI,OAAO,SAAS,EAAG,KAAI,SAAS;AAAA,EACtC;AACA,MAAI,QAAQ,YAAY,QAAW;AACjC,QAAI,UAAU,QAAQ;AAAA,EACxB;AAEA,MAAI,QAAQ,WAAW,MAAO,KAAI,SAAS;AAC3C,MAAI,QAAQ,kBAAkB,UAAU,QAAQ,kBAAkB,SAAS;AACzE,QAAI,gBAAgB,QAAQ;AAAA,EAC9B;AACA,MACE,QAAQ,mBAAmB,UAC3B,OAAO,SAAS,QAAQ,cAAc,KACtC,QAAQ,iBAAiB,GACzB;AACA,QAAI,iBAAiB,KAAK,MAAM,QAAQ,cAAc;AAAA,EACxD;AACA,MAAI,QAAQ,uBAAuB,UAAa,QAAQ,mBAAmB,SAAS,GAAG;AACrF,QAAI,qBAAqB,QAAQ;AAAA,EACnC;AACA,SAAO,OAAO,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM;AAC7C;AAkCO,SAAS,wBACd,WACA,aACM;AACN,MAAI;AACF,eAAW,gBAAgB,WAAW;AAAA,EACxC,QAAQ;AAAA,EAER;AACF;AAQO,IAAM,iCAET,OAAO,OAAO;AAAA,EAChB,qBAAqB;AAAA,EACrB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,cAAc;AAChB,CAAC;AAEM,SAAS,wBACd,cACqB;AACrB,SAAO,aAAa,OAAO,CAAC,MAAM,+BAA+B,EAAE,IAAI,MAAM,IAAI;AACnF;AAEO,SAAS,2BACd,cACQ;AACR,SAAO,aACJ,IAAI,CAAC,MAAM,GAAG,EAAE,OAAO,IAAI,EAAE,IAAI,GAAG,EAAE,WAAW,SAAY,KAAK,EAAE,MAAM,MAAM,EAAE,EAAE,EACpF,KAAK,IAAI;AACd;AAEO,SAAS,4BACd,uBACA,WAC6D;AAC7D,MAAI,OAAO,0BAA0B,UAAU;AAC7C,WAAO,EAAE,YAAY,uBAAuB,UAAU;AAAA,EACxD;AACA,SAAO,EAAE,YAAY,QAAW,WAAW,yBAAyB,UAAU;AAChF;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamespaceStorageRouter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VNMJWFYR.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceCollectionName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IIVDGKMW.js";
|
|
7
7
|
import {
|
|
8
8
|
isSafeRouteNamespace
|
|
9
9
|
} from "./chunk-PCXDUHQH.js";
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
verifyNamespaces,
|
|
214
214
|
runNamespaceMigration
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-BFFKIME2.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RemoteSearchBackend
|
|
3
|
+
} from "./chunk-YCK26VSL.js";
|
|
4
|
+
import {
|
|
5
|
+
EmbedHelper
|
|
6
|
+
} from "./chunk-EXYT52NR.js";
|
|
1
7
|
import {
|
|
2
8
|
LanceDbBackend
|
|
3
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MX5VGD6C.js";
|
|
4
10
|
import {
|
|
5
11
|
MeilisearchBackend
|
|
6
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4LF5E2LM.js";
|
|
7
13
|
import {
|
|
8
14
|
NoopSearchBackend
|
|
9
15
|
} from "./chunk-CYEPCZN5.js";
|
|
10
16
|
import {
|
|
11
17
|
OramaBackend
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
RemoteSearchBackend
|
|
15
|
-
} from "./chunk-OVZIYLBZ.js";
|
|
16
|
-
import {
|
|
17
|
-
EmbedHelper
|
|
18
|
-
} from "./chunk-EXYT52NR.js";
|
|
18
|
+
} from "./chunk-RJ5L6LRD.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
21
|
} from "./chunk-TFA6HPOA.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-F4TWWUMP.js";
|
|
25
25
|
import {
|
|
26
26
|
QmdClient
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AHUTHRTL.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveIndexingCapabilities,
|
|
30
30
|
resolvePipelineProcessingCapabilities,
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createConversationSearchBackend,
|
|
180
180
|
createConversationIndexRuntime
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-C7CP7OEG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
readNamespaceMaintenanceLastRanStatuses,
|
|
4
4
|
readNamespaceMaintenanceStatuses,
|
|
5
5
|
runNamespaceMaintenancePlan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7SUAHTGH.js";
|
|
7
7
|
import {
|
|
8
8
|
analyzeSessionIntegrity,
|
|
9
9
|
applySessionRepair,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-CMTINOFS.js";
|
|
15
15
|
import {
|
|
16
16
|
summarizeCorpusAndReplica
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-W236BAJR.js";
|
|
18
18
|
import {
|
|
19
19
|
readJudgeVerdictStats
|
|
20
20
|
} from "./chunk-OZKOPQCM.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
listMemoryGovernanceRuns,
|
|
30
30
|
readMemoryGovernanceRunArtifact
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LYPBQHAX.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveCuratedIncludeFilesStatePath,
|
|
34
34
|
resolveNativeKnowledgeStatePath,
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
} from "./chunk-2DQ2XREU.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveCorpusNamespaceRoots
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DVC2OYLF.js";
|
|
40
40
|
import {
|
|
41
41
|
listNamespaces
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BFFKIME2.js";
|
|
43
43
|
import {
|
|
44
44
|
runConsolidationProvenanceCheck
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZFJOPBQD.js";
|
|
46
46
|
import {
|
|
47
47
|
analyzeGraphHealth
|
|
48
48
|
} from "./chunk-DC55RIEZ.js";
|
|
@@ -51,13 +51,13 @@ import {
|
|
|
51
51
|
} from "./chunk-YBPYIAA5.js";
|
|
52
52
|
import {
|
|
53
53
|
parseConfig
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-B4I37XX6.js";
|
|
55
55
|
import {
|
|
56
56
|
summarizeExtractionLiveness
|
|
57
57
|
} from "./chunk-DURQZFVJ.js";
|
|
58
58
|
import {
|
|
59
59
|
StorageManager
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-MSVBNOFX.js";
|
|
61
61
|
import {
|
|
62
62
|
lintWorkspaceFiles
|
|
63
63
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -1876,4 +1876,4 @@ export {
|
|
|
1876
1876
|
runBenchmarkRecall,
|
|
1877
1877
|
runOperatorRepair
|
|
1878
1878
|
};
|
|
1879
|
-
//# sourceMappingURL=chunk-
|
|
1879
|
+
//# sourceMappingURL=chunk-CPWZGM4E.js.map
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ExtractionDeadlineError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFHEIWIE.js";
|
|
4
|
+
import {
|
|
5
|
+
refuseOverCapBatch,
|
|
6
|
+
refuseOverCapSingle,
|
|
7
|
+
resolveMaxTurnsPerSession,
|
|
8
|
+
sessionTurnCapReached
|
|
9
|
+
} from "./chunk-LWZNSQN3.js";
|
|
4
10
|
import {
|
|
5
11
|
BufferAdmissionRefusedError,
|
|
6
12
|
BufferSessionTurnRefusedError,
|
|
@@ -15,12 +21,6 @@ import {
|
|
|
15
21
|
import {
|
|
16
22
|
BufferSessionPersistence
|
|
17
23
|
} from "./chunk-4Y26S76X.js";
|
|
18
|
-
import {
|
|
19
|
-
refuseOverCapBatch,
|
|
20
|
-
refuseOverCapSingle,
|
|
21
|
-
resolveMaxTurnsPerSession,
|
|
22
|
-
sessionTurnCapReached
|
|
23
|
-
} from "./chunk-LWZNSQN3.js";
|
|
24
24
|
import {
|
|
25
25
|
scanSignals
|
|
26
26
|
} from "./chunk-H3FZVNRN.js";
|
|
@@ -946,4 +946,4 @@ var SmartBuffer = class {
|
|
|
946
946
|
export {
|
|
947
947
|
SmartBuffer
|
|
948
948
|
};
|
|
949
|
-
//# sourceMappingURL=chunk-
|
|
949
|
+
//# sourceMappingURL=chunk-CPYVH6LI.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/access-recall-mcp-search-options.ts
|
|
2
|
+
var engramRecallSearchOptionsMcpProperty = {
|
|
3
|
+
type: "object",
|
|
4
|
+
description: "Per-recall QMD query options. Only rerank: false is honored on the wire (--no-rerank); rerank: true is a no-op when daemon rerank is on.",
|
|
5
|
+
properties: {
|
|
6
|
+
intent: { type: "string" },
|
|
7
|
+
explain: { type: "boolean" },
|
|
8
|
+
candidateLimit: { type: "number" },
|
|
9
|
+
rerank: { type: "boolean" },
|
|
10
|
+
chunkStrategy: { type: "string", enum: ["auto", "regex"] },
|
|
11
|
+
structuredSearches: {
|
|
12
|
+
type: "array",
|
|
13
|
+
items: {
|
|
14
|
+
type: "object",
|
|
15
|
+
properties: {
|
|
16
|
+
type: { type: "string", enum: ["lex", "vec", "hyde"] },
|
|
17
|
+
query: { type: "string" }
|
|
18
|
+
},
|
|
19
|
+
required: ["type", "query"],
|
|
20
|
+
additionalProperties: false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
additionalProperties: false
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
engramRecallSearchOptionsMcpProperty
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=chunk-CQ3IG3GZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/access-recall-mcp-search-options.ts"],"sourcesContent":["/** MCP `engram.recall` inputSchema fragment for `searchOptions` (HTTP parity). */\nexport const engramRecallSearchOptionsMcpProperty = {\n type: \"object\",\n description:\n \"Per-recall QMD query options. Only rerank: false is honored on the wire (--no-rerank); rerank: true is a no-op when daemon rerank is on.\",\n properties: {\n intent: { type: \"string\" },\n explain: { type: \"boolean\" },\n candidateLimit: { type: \"number\" },\n rerank: { type: \"boolean\" },\n chunkStrategy: { type: \"string\", enum: [\"auto\", \"regex\"] },\n structuredSearches: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n type: { type: \"string\", enum: [\"lex\", \"vec\", \"hyde\"] },\n query: { type: \"string\" },\n },\n required: [\"type\", \"query\"],\n additionalProperties: false,\n },\n },\n },\n additionalProperties: false,\n} as const;\n"],"mappings":";AACO,IAAM,uCAAuC;AAAA,EAClD,MAAM;AAAA,EACN,aACE;AAAA,EACF,YAAY;AAAA,IACV,QAAQ,EAAE,MAAM,SAAS;AAAA,IACzB,SAAS,EAAE,MAAM,UAAU;AAAA,IAC3B,gBAAgB,EAAE,MAAM,SAAS;AAAA,IACjC,QAAQ,EAAE,MAAM,UAAU;AAAA,IAC1B,eAAe,EAAE,MAAM,UAAU,MAAM,CAAC,QAAQ,OAAO,EAAE;AAAA,IACzD,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,OAAO;AAAA,QACL,MAAM;AAAA,QACN,YAAY;AAAA,UACV,MAAM,EAAE,MAAM,UAAU,MAAM,CAAC,OAAO,OAAO,MAAM,EAAE;AAAA,UACrD,OAAO,EAAE,MAAM,SAAS;AAAA,QAC1B;AAAA,QACA,UAAU,CAAC,QAAQ,OAAO;AAAA,QAC1B,sBAAsB;AAAA,MACxB;AAAA,IACF;AAAA,EACF;AAAA,EACA,sBAAsB;AACxB;","names":[]}
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
ExtractionDrain,
|
|
3
3
|
TurnIngestionCoordinator,
|
|
4
4
|
shouldSkipImplicitExtraction
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZNYOY2MM.js";
|
|
6
6
|
import {
|
|
7
7
|
headerConnector,
|
|
8
8
|
renderExtractionConversation,
|
|
9
9
|
resolveSourceConnector
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VKTZXJSR.js";
|
|
11
11
|
import {
|
|
12
12
|
SmartBuffer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CPYVH6LI.js";
|
|
14
14
|
import {
|
|
15
15
|
selfDeps
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MSVBNOFX.js";
|
|
17
17
|
import {
|
|
18
18
|
describeError,
|
|
19
19
|
groupTurnsByExtractionScope
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
ClaimBufferStorage,
|
|
448
448
|
BufferDrainRunner
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=chunk-
|
|
450
|
+
//# sourceMappingURL=chunk-CSZCLTIV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BFFKIME2.js";
|
|
4
4
|
import {
|
|
5
5
|
corpusScanWorker
|
|
6
6
|
} from "./chunk-4LZ7SVKM.js";
|
|
@@ -292,4 +292,4 @@ export {
|
|
|
292
292
|
computeServiceCorpusWatermarks,
|
|
293
293
|
computeServiceCorpusCensus
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk-
|
|
295
|
+
//# sourceMappingURL=chunk-DVC2OYLF.js.map
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
} from "./chunk-5CO5G4MN.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveDefaultNamespaceRoot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VNMJWFYR.js";
|
|
12
12
|
import {
|
|
13
13
|
StorageManager,
|
|
14
14
|
readRawMemoryDocument
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MSVBNOFX.js";
|
|
16
16
|
import {
|
|
17
17
|
parseContinuityImprovementLoops
|
|
18
18
|
} from "./chunk-LDXUBPMO.js";
|
|
@@ -1869,4 +1869,4 @@ export {
|
|
|
1869
1869
|
defaultTierMigrationCycleBudget,
|
|
1870
1870
|
CompoundingEngine
|
|
1871
1871
|
};
|
|
1872
|
-
//# sourceMappingURL=chunk-
|
|
1872
|
+
//# sourceMappingURL=chunk-F3PTUQIK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upsertCueAnchors
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FYJYQ65N.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeRecallTokens
|
|
6
6
|
} from "./chunk-YCVB7X56.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
HARMONIC_SOURCE_MEMORY_INSERTED_AT_KEY,
|
|
12
12
|
upsertAbstractionNodes
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AXR472RS.js";
|
|
14
14
|
import {
|
|
15
15
|
compareDeterministicStrings
|
|
16
16
|
} from "./chunk-G73MCJKL.js";
|
|
@@ -290,4 +290,4 @@ export {
|
|
|
290
290
|
deriveHarmonicRecords,
|
|
291
291
|
persistHarmonicRecords
|
|
292
292
|
};
|
|
293
|
-
//# sourceMappingURL=chunk-
|
|
293
|
+
//# sourceMappingURL=chunk-FJEYZSJD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MEMORY_CORPUS_VERSION_SENTINEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TVWLYSX4.js";
|
|
4
4
|
|
|
5
5
|
// src/harmonic-graph-version.ts
|
|
6
6
|
import { appendFileSync, mkdirSync, statSync } from "fs";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
bumpHarmonicGraphVersion,
|
|
38
38
|
readHarmonicGraphStamp
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-FPII4O7C.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAbstractionNodeStoreDir,
|
|
3
3
|
validateAbstractionNode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AXR472RS.js";
|
|
5
5
|
import {
|
|
6
6
|
bumpHarmonicGraphVersion
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FPII4O7C.js";
|
|
8
8
|
import {
|
|
9
9
|
compareDeterministicStrings,
|
|
10
10
|
mergeSortedUniqueStrings
|
|
@@ -325,4 +325,4 @@ export {
|
|
|
325
325
|
pruneOrphanCueAnchors,
|
|
326
326
|
getCueAnchorStoreStatus
|
|
327
327
|
};
|
|
328
|
-
//# sourceMappingURL=chunk-
|
|
328
|
+
//# sourceMappingURL=chunk-FYJYQ65N.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-QV2VZKD5.js";
|
|
4
4
|
import {
|
|
5
5
|
createVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4QEDFEBY.js";
|
|
7
7
|
import {
|
|
8
8
|
HistoricalEntityCanonicalIdCache,
|
|
9
9
|
canonicalizeEntityRefFrontmatter,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
repairContentAfterJournalMove,
|
|
13
13
|
requestEntityCanonicalIdReconcile,
|
|
14
14
|
withRawEntityPageMutation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UUSL22HE.js";
|
|
16
16
|
import {
|
|
17
17
|
parseExportBundle
|
|
18
18
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-GCGJW34D.js";
|
|
30
30
|
import {
|
|
31
31
|
bumpMemoryCorpusVersionForDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TVWLYSX4.js";
|
|
33
33
|
|
|
34
34
|
// src/transfer/capsule-import.ts
|
|
35
35
|
import { lstat, mkdir, readFile, realpath, stat, unlink, writeFile } from "fs/promises";
|
|
@@ -296,4 +296,4 @@ function mintForkId(capsuleId, originalId, now) {
|
|
|
296
296
|
export {
|
|
297
297
|
importCapsule
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-GCQIXPWZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KJTKLXTH.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MSVBNOFX.js";
|
|
7
7
|
import {
|
|
8
8
|
assertInjectedStorageRooted
|
|
9
9
|
} from "./chunk-BNZAR6PO.js";
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
backupExistingLedger,
|
|
261
261
|
rebuildMemoryLifecycleLedger
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-GOT6G3C6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MSVBNOFX.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-X26YOFGS.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-HQJAQENN.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
listMemoryGovernanceRuns,
|
|
6
6
|
readMemoryGovernanceRunArtifact
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LYPBQHAX.js";
|
|
8
8
|
import {
|
|
9
9
|
loadPersistedNativeKnowledgeChunks
|
|
10
10
|
} from "./chunk-2DQ2XREU.js";
|
|
11
11
|
import {
|
|
12
12
|
StorageManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MSVBNOFX.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeProjectionPreview,
|
|
16
16
|
normalizeProjectionTags
|
|
@@ -1156,4 +1156,4 @@ export {
|
|
|
1156
1156
|
verifyMemoryProjection,
|
|
1157
1157
|
repairMemoryProjection
|
|
1158
1158
|
};
|
|
1159
|
-
//# sourceMappingURL=chunk-
|
|
1159
|
+
//# sourceMappingURL=chunk-HQV5GCMD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSearchBackend
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C7CP7OEG.js";
|
|
4
4
|
import {
|
|
5
5
|
reportSearchDegradation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B7HYXVME.js";
|
|
7
7
|
import {
|
|
8
8
|
namespaceIdentityToken,
|
|
9
9
|
normalizeNamespaceIdentity
|
|
@@ -572,4 +572,4 @@ export {
|
|
|
572
572
|
normalizeQmdResultPath,
|
|
573
573
|
resolveNamespaceResultPath
|
|
574
574
|
};
|
|
575
|
-
//# sourceMappingURL=chunk-
|
|
575
|
+
//# sourceMappingURL=chunk-IIVDGKMW.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rebuildMemoryLifecycleLedger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GOT6G3C6.js";
|
|
4
4
|
import {
|
|
5
5
|
PROJECTION_REBUILD_RUNNER_FLAG
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-72QMGTDF.js";
|
|
7
7
|
import {
|
|
8
8
|
startLocationAutoSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NIG54XKA.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureContradictionScanCron,
|
|
12
12
|
ensureDaySummaryCron,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
isIsoWeekId,
|
|
22
22
|
msUntilNextIsoWeek,
|
|
23
23
|
previousIsoWeekId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F3PTUQIK.js";
|
|
25
25
|
import {
|
|
26
26
|
planNamespaceMaintenance,
|
|
27
27
|
runNamespaceMaintenanceBatchPlan
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7SUAHTGH.js";
|
|
29
29
|
import {
|
|
30
30
|
rebuildMemoryProjection
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HQV5GCMD.js";
|
|
32
32
|
import {
|
|
33
33
|
LocalLlmClient
|
|
34
34
|
} from "./chunk-AWKD2A73.js";
|
|
@@ -2874,4 +2874,4 @@ export {
|
|
|
2874
2874
|
ActivitySyncScheduler,
|
|
2875
2875
|
MaintenanceScheduler
|
|
2876
2876
|
};
|
|
2877
|
-
//# sourceMappingURL=chunk-
|
|
2877
|
+
//# sourceMappingURL=chunk-ITT4SVVA.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZCUTSMR2.js";
|
|
14
14
|
import {
|
|
15
15
|
StorageManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MSVBNOFX.js";
|
|
17
17
|
import {
|
|
18
18
|
excludeSupportPassportPrivateMemories
|
|
19
19
|
} from "./chunk-TSUSHXBW.js";
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
runCodexMaterialize,
|
|
135
135
|
runPostConsolidationMaterialize
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-JKYAKDBP.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
describeSearchDegradations,
|
|
9
9
|
fatalSearchDegradations
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B7HYXVME.js";
|
|
11
11
|
import {
|
|
12
12
|
isAbortError
|
|
13
13
|
} from "./chunk-R2MBW2S4.js";
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
notifyContextComposition,
|
|
103
103
|
recallFailureComposition
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-KAGLV5KH.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-TBBDFYXW.js";
|
|
11
11
|
import {
|
|
12
12
|
parseQmdExplain
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AHUTHRTL.js";
|
|
14
14
|
import {
|
|
15
15
|
parseFlexibleIsoTimestamp
|
|
16
16
|
} from "./chunk-P7FMDTKL.js";
|
|
@@ -645,4 +645,4 @@ export {
|
|
|
645
645
|
appendMemoryToGraphContext,
|
|
646
646
|
resolvePersistedMemoryRelativePath
|
|
647
647
|
};
|
|
648
|
-
//# sourceMappingURL=chunk-
|
|
648
|
+
//# sourceMappingURL=chunk-KETT3EZO.js.map
|