@remnic/core 10.0.142 → 10.0.144
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 +137 -135
- package/dist/access-cli.js +137 -135
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush-preempt.js +137 -135
- package/dist/access-extraction-force-flush.js +137 -135
- package/dist/access-http-briefing.js +137 -135
- package/dist/access-http-query.js +137 -135
- package/dist/access-http.js +137 -135
- package/dist/access-identity-continuity-surface.js +137 -135
- package/dist/access-lcm-surface.js +137 -135
- package/dist/access-mcp.d.ts.map +1 -1
- package/dist/access-mcp.js +137 -135
- package/dist/access-observe-write-category.js +9 -9
- package/dist/access-observe-write-surface.js +137 -135
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +137 -135
- package/dist/access-operations.js +137 -135
- package/dist/access-recall-concurrency.js +137 -135
- 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 +137 -135
- package/dist/access-recall-surface.d.ts.map +1 -1
- package/dist/access-recall-surface.js +137 -135
- package/dist/access-schema.d.ts +36 -0
- package/dist/access-schema.d.ts.map +1 -1
- package/dist/access-schema.js +10 -8
- package/dist/access-service.js +137 -135
- package/dist/active-recall.js +26 -26
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +23 -23
- package/dist/buffer.js +8 -8
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{capsule-merge-ILR35DIB.js → capsule-merge-PCSDJOAO.js} +5 -5
- package/dist/causal-consolidation.js +23 -23
- package/dist/{chunk-UF5RTFN3.js → chunk-2IMKMMUS.js} +5 -5
- package/dist/{chunk-IUXTKLZY.js → chunk-2LQUPEWF.js} +22 -22
- package/dist/{chunk-27N6SGEY.js → chunk-2S4XW47C.js} +2 -2
- package/dist/{chunk-DOJBV6WR.js → chunk-3DJ6R4CC.js} +2 -2
- package/dist/{chunk-BYWNF25B.js → chunk-3KQPFIVV.js} +2 -2
- package/dist/chunk-3TKX7ZMV.js +27 -0
- package/dist/chunk-3TKX7ZMV.js.map +1 -0
- 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-PFUXPTBT.js → chunk-66DUCUOC.js} +2 -2
- package/dist/{chunk-NM6UL4W5.js → chunk-6CSWINXA.js} +9 -9
- package/dist/{chunk-AA6G3W3B.js → chunk-6DHSEJIO.js} +2 -2
- package/dist/{chunk-ZANNIXXE.js → chunk-6MEQHJTF.js} +3 -3
- package/dist/{chunk-342VFB56.js → chunk-74BX5NCU.js} +3 -3
- package/dist/{chunk-SZ6QV3DY.js → chunk-A3EWNU5V.js} +2 -2
- package/dist/{chunk-VRBGYSSQ.js → chunk-AGJJTD3Q.js} +2 -2
- package/dist/chunk-AGJJTD3Q.js.map +1 -0
- package/dist/{chunk-QZUT4VTV.js → chunk-AOZYOS4G.js} +2 -2
- 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-FREKFMCA.js → chunk-B72X3KWL.js} +2 -2
- package/dist/{chunk-NWA6IXR3.js → chunk-B7HYXVME.js} +27 -1
- package/dist/chunk-B7HYXVME.js.map +1 -0
- package/dist/{chunk-HXFIILGF.js → chunk-BFPF5N3H.js} +4 -4
- package/dist/{chunk-ZG4GNPRE.js → chunk-BNQJKWWZ.js} +8 -8
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-63JPXUFA.js → chunk-CBJRI6VJ.js} +2 -2
- package/dist/{chunk-USVA4XWY.js → chunk-CBTERRF5.js} +3 -3
- package/dist/chunk-CQ3IG3GZ.js +30 -0
- package/dist/chunk-CQ3IG3GZ.js.map +1 -0
- package/dist/{chunk-DLZGSZVC.js → chunk-DLR3SBOM.js} +2 -2
- package/dist/{chunk-7NSGKXFD.js → chunk-DLX277NS.js} +4 -4
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-SU63UQPL.js → chunk-E23BTVB2.js} +2 -2
- package/dist/{chunk-FONPAA43.js → chunk-EDGWAJLS.js} +2 -2
- package/dist/{chunk-D6IGZYTN.js → chunk-FJEYZSJD.js} +3 -3
- package/dist/{chunk-XOOYE37V.js → chunk-FJVWKIDV.js} +2 -2
- package/dist/{chunk-ITAUMNQU.js → chunk-FPII4O7C.js} +2 -2
- package/dist/{chunk-JLD44JR7.js → chunk-FWDVW2BD.js} +435 -406
- package/dist/chunk-FWDVW2BD.js.map +1 -0
- package/dist/{chunk-DGLNT6VO.js → chunk-FYH62SF3.js} +3 -3
- package/dist/{chunk-FL3O34XF.js → chunk-FYJYQ65N.js} +3 -3
- package/dist/{chunk-7YD5XSJK.js → chunk-IJBOJJVS.js} +5 -5
- package/dist/{chunk-FJTRNFI4.js → chunk-JVSHXYOO.js} +2 -2
- package/dist/{chunk-3PZDG5ZH.js → chunk-JY3WATTF.js} +2 -2
- package/dist/{chunk-MGN2RQRG.js → chunk-KAGLV5KH.js} +2 -2
- package/dist/{chunk-2NJ74RQU.js → chunk-LE27GU4M.js} +2 -2
- package/dist/{chunk-LPDOCXHH.js → chunk-M43GO34S.js} +2 -2
- package/dist/{chunk-GAVFANAB.js → chunk-MEALRZYB.js} +2 -2
- package/dist/{chunk-TAUHAP5J.js → chunk-MFDEEOOZ.js} +4 -4
- package/dist/{chunk-GNIMBEOK.js → chunk-MIG4KRYU.js} +11 -11
- package/dist/{chunk-F476AJQJ.js → chunk-MPQQIHA7.js} +2 -2
- package/dist/{chunk-EIZUL6JC.js → chunk-N7LYEA3K.js} +3 -3
- package/dist/{chunk-2HI22OK7.js → chunk-NLSMLRH4.js} +2 -2
- package/dist/{chunk-WGM2KSWN.js → chunk-NWS4I4K7.js} +2 -2
- package/dist/{chunk-BDIXKROL.js → chunk-OV3XHQAB.js} +8 -8
- package/dist/{chunk-UX7KPVAM.js → chunk-OYHGCAGQ.js} +2 -2
- package/dist/{chunk-6WV76JHC.js → chunk-OYUTSLBU.js} +2 -2
- package/dist/{chunk-SZK2DX5U.js → chunk-PCMGMPQZ.js} +2 -2
- package/dist/{chunk-4IMMF5W6.js → chunk-POXJ3KXJ.js} +3 -3
- package/dist/{chunk-DIBOWE53.js → chunk-QJJURIZV.js} +19 -4
- package/dist/chunk-QJJURIZV.js.map +1 -0
- package/dist/{chunk-H6VQ7L5D.js → chunk-QPOWOQYH.js} +5 -5
- package/dist/{chunk-KQAFEZQX.js → chunk-R45L4TV6.js} +6 -6
- package/dist/{chunk-HRMOKGQM.js → chunk-RHQSAXN3.js} +5 -5
- package/dist/{chunk-3DAWHP5K.js → chunk-RQBYC7EK.js} +5 -5
- package/dist/{chunk-NCS2NXSP.js → chunk-RSRHWNNM.js} +3 -3
- package/dist/{chunk-EGDUG2ZX.js → chunk-RVUD4WN3.js} +2 -2
- package/dist/{chunk-M5GVCJSJ.js → chunk-TVWLYSX4.js} +2 -2
- package/dist/{chunk-JCBKGPFE.js → chunk-UC3KG7KX.js} +3 -3
- package/dist/{chunk-O3GZPLVY.js → chunk-UUSL22HE.js} +2 -2
- package/dist/{chunk-3RJU7QFE.js → chunk-VAVCFMMQ.js} +2 -2
- package/dist/{chunk-3GHQCNNG.js → chunk-VEPT6DXJ.js} +5 -5
- package/dist/{chunk-VH4UCI3R.js → chunk-WVV54HL2.js} +14 -14
- package/dist/{chunk-GCHM5BYL.js → chunk-WWQMZBDI.js} +4 -4
- package/dist/{chunk-OZNBZJ3S.js → chunk-WZ55LEUN.js} +8 -8
- package/dist/{chunk-UM22PKA3.js → chunk-XGDWR2L6.js} +2 -2
- package/dist/{chunk-K5CM4M65.js → chunk-XUKBX3GO.js} +13 -13
- package/dist/{chunk-YXFY4YOF.js → chunk-Y6IRNAWT.js} +3 -3
- package/dist/{chunk-OVZIYLBZ.js → chunk-YCK26VSL.js} +2 -2
- package/dist/{chunk-WIV37T4U.js → chunk-YWXFO7G2.js} +5 -5
- package/dist/{chunk-QHDBKC5Z.js → chunk-ZFJOPBQD.js} +2 -2
- package/dist/cli.js +137 -135
- package/dist/coding/export-okf-codegraph.js +22 -22
- package/dist/compounding/engine.js +23 -23
- package/dist/config.js +26 -26
- 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 +9 -9
- package/dist/deep-recall.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 +137 -135
- 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 +201 -197
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.js +9 -9
- package/dist/lcm-summarize-budget.d.ts +13 -0
- package/dist/lcm-summarize-budget.d.ts.map +1 -0
- package/dist/lcm-summarize-budget.js +11 -0
- package/dist/lcm-summarize-budget.js.map +1 -0
- 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 +7 -7
- 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/offline-sync-changeset-generations.js +3 -3
- package/dist/offline-sync-embedding-generation.js +2 -2
- package/dist/offline-sync-snapshot-stream.js +5 -5
- package/dist/offline-sync.js +6 -6
- package/dist/operator-doctor-corpus.js +25 -25
- package/dist/operator-toolkit.js +34 -34
- package/dist/orchestration/backlog-scheduler.js +138 -136
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +138 -136
- 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 +137 -135
- package/dist/page-versioning.js +4 -4
- package/dist/qmd.js +8 -8
- package/dist/recall-composition-decision.js +2 -2
- package/dist/recall-navigation.js +137 -135
- package/dist/recall-state-view-admission.js +7 -7
- package/dist/recall-why-service.js +7 -7
- package/dist/{resolution-7XBNQVKU.js → resolution-A3NAI3YE.js} +4 -4
- package/dist/resolution-A3NAI3YE.js.map +1 -0
- package/dist/resume-bundles.js +27 -27
- package/dist/search/factory.js +10 -10
- package/dist/search/index.js +14 -14
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/orama-backend.js +2 -2
- 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/autodetect.js +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +6 -6
- 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/lcm-summarize-budget.test.ts +66 -0
- package/src/lcm-summarize-budget.ts +34 -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 +25 -59
- 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/{capsule-crypto-7FJQINUR.js.map → access-recall-mcp-search-options.js.map} +0 -0
- /package/dist/{entity-canonical-id-migration-IG77BOGD.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{capsule-merge-ILR35DIB.js.map → capsule-merge-PCSDJOAO.js.map} +0 -0
- /package/dist/{chunk-UF5RTFN3.js.map → chunk-2IMKMMUS.js.map} +0 -0
- /package/dist/{chunk-IUXTKLZY.js.map → chunk-2LQUPEWF.js.map} +0 -0
- /package/dist/{chunk-27N6SGEY.js.map → chunk-2S4XW47C.js.map} +0 -0
- /package/dist/{chunk-DOJBV6WR.js.map → chunk-3DJ6R4CC.js.map} +0 -0
- /package/dist/{chunk-BYWNF25B.js.map → chunk-3KQPFIVV.js.map} +0 -0
- /package/dist/{chunk-KUQLUYIR.js.map → chunk-4QEDFEBY.js.map} +0 -0
- /package/dist/{chunk-PFUXPTBT.js.map → chunk-66DUCUOC.js.map} +0 -0
- /package/dist/{chunk-NM6UL4W5.js.map → chunk-6CSWINXA.js.map} +0 -0
- /package/dist/{chunk-AA6G3W3B.js.map → chunk-6DHSEJIO.js.map} +0 -0
- /package/dist/{chunk-ZANNIXXE.js.map → chunk-6MEQHJTF.js.map} +0 -0
- /package/dist/{chunk-342VFB56.js.map → chunk-74BX5NCU.js.map} +0 -0
- /package/dist/{chunk-SZ6QV3DY.js.map → chunk-A3EWNU5V.js.map} +0 -0
- /package/dist/{chunk-QZUT4VTV.js.map → chunk-AOZYOS4G.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-FREKFMCA.js.map → chunk-B72X3KWL.js.map} +0 -0
- /package/dist/{chunk-HXFIILGF.js.map → chunk-BFPF5N3H.js.map} +0 -0
- /package/dist/{chunk-ZG4GNPRE.js.map → chunk-BNQJKWWZ.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-63JPXUFA.js.map → chunk-CBJRI6VJ.js.map} +0 -0
- /package/dist/{chunk-USVA4XWY.js.map → chunk-CBTERRF5.js.map} +0 -0
- /package/dist/{chunk-DLZGSZVC.js.map → chunk-DLR3SBOM.js.map} +0 -0
- /package/dist/{chunk-7NSGKXFD.js.map → chunk-DLX277NS.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-SU63UQPL.js.map → chunk-E23BTVB2.js.map} +0 -0
- /package/dist/{chunk-FONPAA43.js.map → chunk-EDGWAJLS.js.map} +0 -0
- /package/dist/{chunk-D6IGZYTN.js.map → chunk-FJEYZSJD.js.map} +0 -0
- /package/dist/{chunk-XOOYE37V.js.map → chunk-FJVWKIDV.js.map} +0 -0
- /package/dist/{chunk-ITAUMNQU.js.map → chunk-FPII4O7C.js.map} +0 -0
- /package/dist/{chunk-DGLNT6VO.js.map → chunk-FYH62SF3.js.map} +0 -0
- /package/dist/{chunk-FL3O34XF.js.map → chunk-FYJYQ65N.js.map} +0 -0
- /package/dist/{chunk-7YD5XSJK.js.map → chunk-IJBOJJVS.js.map} +0 -0
- /package/dist/{chunk-FJTRNFI4.js.map → chunk-JVSHXYOO.js.map} +0 -0
- /package/dist/{chunk-3PZDG5ZH.js.map → chunk-JY3WATTF.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-LPDOCXHH.js.map → chunk-M43GO34S.js.map} +0 -0
- /package/dist/{chunk-GAVFANAB.js.map → chunk-MEALRZYB.js.map} +0 -0
- /package/dist/{chunk-TAUHAP5J.js.map → chunk-MFDEEOOZ.js.map} +0 -0
- /package/dist/{chunk-GNIMBEOK.js.map → chunk-MIG4KRYU.js.map} +0 -0
- /package/dist/{chunk-F476AJQJ.js.map → chunk-MPQQIHA7.js.map} +0 -0
- /package/dist/{chunk-EIZUL6JC.js.map → chunk-N7LYEA3K.js.map} +0 -0
- /package/dist/{chunk-2HI22OK7.js.map → chunk-NLSMLRH4.js.map} +0 -0
- /package/dist/{chunk-WGM2KSWN.js.map → chunk-NWS4I4K7.js.map} +0 -0
- /package/dist/{chunk-BDIXKROL.js.map → chunk-OV3XHQAB.js.map} +0 -0
- /package/dist/{chunk-UX7KPVAM.js.map → chunk-OYHGCAGQ.js.map} +0 -0
- /package/dist/{chunk-6WV76JHC.js.map → chunk-OYUTSLBU.js.map} +0 -0
- /package/dist/{chunk-SZK2DX5U.js.map → chunk-PCMGMPQZ.js.map} +0 -0
- /package/dist/{chunk-4IMMF5W6.js.map → chunk-POXJ3KXJ.js.map} +0 -0
- /package/dist/{chunk-H6VQ7L5D.js.map → chunk-QPOWOQYH.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-R45L4TV6.js.map} +0 -0
- /package/dist/{chunk-HRMOKGQM.js.map → chunk-RHQSAXN3.js.map} +0 -0
- /package/dist/{chunk-3DAWHP5K.js.map → chunk-RQBYC7EK.js.map} +0 -0
- /package/dist/{chunk-NCS2NXSP.js.map → chunk-RSRHWNNM.js.map} +0 -0
- /package/dist/{chunk-EGDUG2ZX.js.map → chunk-RVUD4WN3.js.map} +0 -0
- /package/dist/{chunk-M5GVCJSJ.js.map → chunk-TVWLYSX4.js.map} +0 -0
- /package/dist/{chunk-JCBKGPFE.js.map → chunk-UC3KG7KX.js.map} +0 -0
- /package/dist/{chunk-O3GZPLVY.js.map → chunk-UUSL22HE.js.map} +0 -0
- /package/dist/{chunk-3RJU7QFE.js.map → chunk-VAVCFMMQ.js.map} +0 -0
- /package/dist/{chunk-3GHQCNNG.js.map → chunk-VEPT6DXJ.js.map} +0 -0
- /package/dist/{chunk-VH4UCI3R.js.map → chunk-WVV54HL2.js.map} +0 -0
- /package/dist/{chunk-GCHM5BYL.js.map → chunk-WWQMZBDI.js.map} +0 -0
- /package/dist/{chunk-OZNBZJ3S.js.map → chunk-WZ55LEUN.js.map} +0 -0
- /package/dist/{chunk-UM22PKA3.js.map → chunk-XGDWR2L6.js.map} +0 -0
- /package/dist/{chunk-K5CM4M65.js.map → chunk-XUKBX3GO.js.map} +0 -0
- /package/dist/{chunk-YXFY4YOF.js.map → chunk-Y6IRNAWT.js.map} +0 -0
- /package/dist/{chunk-OVZIYLBZ.js.map → chunk-YCK26VSL.js.map} +0 -0
- /package/dist/{chunk-WIV37T4U.js.map → chunk-YWXFO7G2.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
|
@@ -16,12 +16,18 @@ import {
|
|
|
16
16
|
syncWearableSource,
|
|
17
17
|
wearableSourceLabel
|
|
18
18
|
} from "./chunk-ZZYJNT2J.js";
|
|
19
|
+
import {
|
|
20
|
+
chatgptReplayNormalizer
|
|
21
|
+
} from "./chunk-MMACM5G2.js";
|
|
19
22
|
import {
|
|
20
23
|
claudeReplayNormalizer
|
|
21
24
|
} from "./chunk-54BGIBCR.js";
|
|
22
25
|
import {
|
|
23
26
|
openclawReplayNormalizer
|
|
24
27
|
} from "./chunk-H4CKS5B2.js";
|
|
28
|
+
import {
|
|
29
|
+
importSqlite
|
|
30
|
+
} from "./chunk-PYHOAXTI.js";
|
|
25
31
|
import {
|
|
26
32
|
exportWorkBoardMarkdown,
|
|
27
33
|
exportWorkBoardSnapshot,
|
|
@@ -31,12 +37,12 @@ import {
|
|
|
31
37
|
WorkStorage
|
|
32
38
|
} from "./chunk-MPC7TYTZ.js";
|
|
33
39
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
40
|
+
exportJsonBundle
|
|
41
|
+
} from "./chunk-UP6MOYCB.js";
|
|
36
42
|
import {
|
|
37
43
|
exportOkfBundle,
|
|
38
44
|
parseIncludeStatus
|
|
39
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VEPT6DXJ.js";
|
|
40
46
|
import {
|
|
41
47
|
exportSqlite
|
|
42
48
|
} from "./chunk-BV2TIZ4F.js";
|
|
@@ -44,8 +50,10 @@ import {
|
|
|
44
50
|
importMarkdownBundle
|
|
45
51
|
} from "./chunk-HDDRVXX4.js";
|
|
46
52
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
SupportPassportAccessSurface,
|
|
54
|
+
createSupportPassportModelAdapter,
|
|
55
|
+
supportsSupportPassportPrivateFiles
|
|
56
|
+
} from "./chunk-77SYM565.js";
|
|
49
57
|
import {
|
|
50
58
|
detectImportFormat
|
|
51
59
|
} from "./chunk-OZKVVUJB.js";
|
|
@@ -54,16 +62,13 @@ import {
|
|
|
54
62
|
} from "./chunk-2DL3OFLD.js";
|
|
55
63
|
import {
|
|
56
64
|
backupMemoryDir
|
|
57
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BXLOS5AJ.js";
|
|
58
66
|
import {
|
|
59
67
|
exportMarkdownBundle
|
|
60
68
|
} from "./chunk-765K3SAT.js";
|
|
61
69
|
import {
|
|
62
70
|
importCapsule
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import {
|
|
65
|
-
exportJsonBundle
|
|
66
|
-
} from "./chunk-UP6MOYCB.js";
|
|
71
|
+
} from "./chunk-RHQSAXN3.js";
|
|
67
72
|
import {
|
|
68
73
|
isSharedContextWriteInputError,
|
|
69
74
|
parseSharedWriteOutputControls
|
|
@@ -71,12 +76,16 @@ import {
|
|
|
71
76
|
import {
|
|
72
77
|
buildStandup,
|
|
73
78
|
parseStandupDate
|
|
74
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-RVUD4WN3.js";
|
|
75
80
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
81
|
+
buildReplayNormalizerRegistry,
|
|
82
|
+
clampBatchSize,
|
|
83
|
+
runReplay
|
|
84
|
+
} from "./chunk-FGDKJJZS.js";
|
|
85
|
+
import {
|
|
86
|
+
isReplaySource,
|
|
87
|
+
normalizeReplaySessionKey
|
|
88
|
+
} from "./chunk-AJVLDJU6.js";
|
|
80
89
|
import {
|
|
81
90
|
RoutingRulesStore
|
|
82
91
|
} from "./chunk-TBUEE7XF.js";
|
|
@@ -86,19 +95,13 @@ import {
|
|
|
86
95
|
import {
|
|
87
96
|
ActivityStore,
|
|
88
97
|
MaintenanceScheduler
|
|
89
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-XUKBX3GO.js";
|
|
90
99
|
import {
|
|
91
100
|
runPeerProfileReasoner
|
|
92
101
|
} from "./chunk-I74SUMNI.js";
|
|
93
102
|
import {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
runReplay
|
|
97
|
-
} from "./chunk-FGDKJJZS.js";
|
|
98
|
-
import {
|
|
99
|
-
isReplaySource,
|
|
100
|
-
normalizeReplaySessionKey
|
|
101
|
-
} from "./chunk-AJVLDJU6.js";
|
|
103
|
+
migrateFromEngram
|
|
104
|
+
} from "./chunk-VZAKYDMJ.js";
|
|
102
105
|
import {
|
|
103
106
|
TailscaleHelper
|
|
104
107
|
} from "./chunk-SZDLX763.js";
|
|
@@ -110,13 +113,10 @@ import {
|
|
|
110
113
|
} from "./chunk-EDR6CVWZ.js";
|
|
111
114
|
import {
|
|
112
115
|
rebuildMemoryLifecycleLedger
|
|
113
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-OYHGCAGQ.js";
|
|
114
117
|
import {
|
|
115
118
|
rebuildObservations
|
|
116
119
|
} from "./chunk-WHCD4Z3D.js";
|
|
117
|
-
import {
|
|
118
|
-
migrateFromEngram
|
|
119
|
-
} from "./chunk-VZAKYDMJ.js";
|
|
120
120
|
import {
|
|
121
121
|
backfillMemoryStorage,
|
|
122
122
|
runLocationBackfill,
|
|
@@ -124,32 +124,35 @@ import {
|
|
|
124
124
|
runLocationDay,
|
|
125
125
|
runLocationStatus,
|
|
126
126
|
runLocationSync
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-RSRHWNNM.js";
|
|
128
128
|
import {
|
|
129
129
|
archiveObservations
|
|
130
130
|
} from "./chunk-7IGMKQWK.js";
|
|
131
131
|
import {
|
|
132
132
|
LcmEngine
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-BNQJKWWZ.js";
|
|
134
|
+
import {
|
|
135
|
+
executeResolution,
|
|
136
|
+
isValidResolutionVerb,
|
|
137
|
+
runPreferenceDriftScan
|
|
138
|
+
} from "./chunk-PCMGMPQZ.js";
|
|
134
139
|
import {
|
|
135
140
|
chunkTranscriptEntries
|
|
136
141
|
} from "./chunk-TECVW3JP.js";
|
|
137
142
|
import {
|
|
138
143
|
cleanupConversationChunks
|
|
139
144
|
} from "./chunk-C5JF6EZ7.js";
|
|
145
|
+
import {
|
|
146
|
+
runCompatChecks
|
|
147
|
+
} from "./chunk-2524MOWK.js";
|
|
140
148
|
import {
|
|
141
149
|
CompoundingEngine,
|
|
142
150
|
defaultTierMigrationCycleBudget
|
|
143
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-POXJ3KXJ.js";
|
|
144
152
|
import {
|
|
145
153
|
SharedContextManager,
|
|
146
154
|
UNATTRIBUTED_ACCESS_WRITE_ORIGIN
|
|
147
155
|
} from "./chunk-JVBAPAWZ.js";
|
|
148
|
-
import {
|
|
149
|
-
executeResolution,
|
|
150
|
-
isValidResolutionVerb,
|
|
151
|
-
runPreferenceDriftScan
|
|
152
|
-
} from "./chunk-SZK2DX5U.js";
|
|
153
156
|
import {
|
|
154
157
|
getBulkImportSource,
|
|
155
158
|
listBulkImportSources,
|
|
@@ -181,11 +184,18 @@ import {
|
|
|
181
184
|
isCodingGraphInstalled
|
|
182
185
|
} from "./chunk-VQ7B2Q6M.js";
|
|
183
186
|
import {
|
|
184
|
-
|
|
185
|
-
} from "./chunk-
|
|
187
|
+
WriteQuarantineStore
|
|
188
|
+
} from "./chunk-BANSBRNX.js";
|
|
189
|
+
import {
|
|
190
|
+
WriteRateLimiter
|
|
191
|
+
} from "./chunk-TB6CBZ5V.js";
|
|
186
192
|
import {
|
|
187
193
|
AdapterRegistry
|
|
188
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-WWQMZBDI.js";
|
|
195
|
+
import {
|
|
196
|
+
compareVerifiedEpisodeResults,
|
|
197
|
+
searchVerifiedEpisodes
|
|
198
|
+
} from "./chunk-Y6IRNAWT.js";
|
|
189
199
|
import {
|
|
190
200
|
WHO_KNOWS_DEFAULT_LIMIT,
|
|
191
201
|
WHO_KNOWS_MCP_TOOLS,
|
|
@@ -193,13 +203,17 @@ import {
|
|
|
193
203
|
handleWhoKnowsHttpQuery,
|
|
194
204
|
loadWhoKnowsEntities,
|
|
195
205
|
validateWhoKnowsInput
|
|
196
|
-
} from "./chunk-
|
|
197
|
-
import {
|
|
198
|
-
WriteQuarantineStore
|
|
199
|
-
} from "./chunk-BANSBRNX.js";
|
|
206
|
+
} from "./chunk-JVSHXYOO.js";
|
|
200
207
|
import {
|
|
201
|
-
|
|
202
|
-
|
|
208
|
+
getTrustZoneStoreStatus,
|
|
209
|
+
isTrustZoneName,
|
|
210
|
+
listTrustZoneRecords,
|
|
211
|
+
promoteTrustZoneRecord,
|
|
212
|
+
scoreTrustZoneProvenance,
|
|
213
|
+
searchTrustZoneRecords,
|
|
214
|
+
seedTrustZoneDemoDataset,
|
|
215
|
+
summarizeTrustZonePromotionReadiness
|
|
216
|
+
} from "./chunk-JWX2Q6HS.js";
|
|
203
217
|
import {
|
|
204
218
|
cleanArchivedUserMessage
|
|
205
219
|
} from "./chunk-47DU4SGJ.js";
|
|
@@ -216,10 +230,6 @@ import {
|
|
|
216
230
|
getUtilityTelemetryStatus,
|
|
217
231
|
recordUtilityTelemetryEvent
|
|
218
232
|
} from "./chunk-EOU6V4IN.js";
|
|
219
|
-
import {
|
|
220
|
-
compareVerifiedEpisodeResults,
|
|
221
|
-
searchVerifiedEpisodes
|
|
222
|
-
} from "./chunk-YXFY4YOF.js";
|
|
223
233
|
import {
|
|
224
234
|
extractTopics
|
|
225
235
|
} from "./chunk-KVDUKH5E.js";
|
|
@@ -234,15 +244,8 @@ import {
|
|
|
234
244
|
renderEpistemicHedge
|
|
235
245
|
} from "./chunk-YN2UN7N3.js";
|
|
236
246
|
import {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
listTrustZoneRecords,
|
|
240
|
-
promoteTrustZoneRecord,
|
|
241
|
-
scoreTrustZoneProvenance,
|
|
242
|
-
searchTrustZoneRecords,
|
|
243
|
-
seedTrustZoneDemoDataset,
|
|
244
|
-
summarizeTrustZonePromotionReadiness
|
|
245
|
-
} from "./chunk-JWX2Q6HS.js";
|
|
247
|
+
buildTemporalTimelineRecallSection
|
|
248
|
+
} from "./chunk-VHF73MGU.js";
|
|
246
249
|
import {
|
|
247
250
|
CODEX_THREAD_KEY_PREFIX
|
|
248
251
|
} from "./chunk-4EX5WZ4M.js";
|
|
@@ -259,35 +262,53 @@ import {
|
|
|
259
262
|
TmtBuilder
|
|
260
263
|
} from "./chunk-ECZU5BJH.js";
|
|
261
264
|
import {
|
|
262
|
-
|
|
263
|
-
|
|
265
|
+
buildTargetedFactRecallSection,
|
|
266
|
+
shouldRecallTargetedFactEvidence
|
|
267
|
+
} from "./chunk-77NTFICT.js";
|
|
268
|
+
import {
|
|
269
|
+
memoriesToStandingEntries,
|
|
270
|
+
prefixStandingMemoryBlock,
|
|
271
|
+
renderStandingMemoryBlock
|
|
272
|
+
} from "./chunk-LJLGH2DE.js";
|
|
264
273
|
import {
|
|
265
274
|
HourlySummarizer,
|
|
266
275
|
summarizeHourlyStatus
|
|
267
276
|
} from "./chunk-XF2QQQXO.js";
|
|
268
277
|
import {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
} from "./chunk-77NTFICT.js";
|
|
278
|
+
SessionObserverState
|
|
279
|
+
} from "./chunk-ODZKV2F7.js";
|
|
272
280
|
import {
|
|
273
281
|
migrateSessionTranscripts,
|
|
274
282
|
planSessionTranscriptMigration
|
|
275
283
|
} from "./chunk-WWDO7ZWM.js";
|
|
276
|
-
import {
|
|
277
|
-
memoriesToStandingEntries,
|
|
278
|
-
prefixStandingMemoryBlock,
|
|
279
|
-
renderStandingMemoryBlock
|
|
280
|
-
} from "./chunk-LJLGH2DE.js";
|
|
281
284
|
import {
|
|
282
285
|
promoteSemanticRuleFromMemory
|
|
283
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-EDGWAJLS.js";
|
|
284
287
|
import {
|
|
285
288
|
compareVerifiedSemanticRuleResults,
|
|
286
289
|
searchVerifiedSemanticRules
|
|
287
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-74BX5NCU.js";
|
|
288
291
|
import {
|
|
289
|
-
|
|
290
|
-
|
|
292
|
+
mergeWithAgentResults,
|
|
293
|
+
runDirectAgent,
|
|
294
|
+
runTemporalAgent,
|
|
295
|
+
shouldRunAgent
|
|
296
|
+
} from "./chunk-XMYWYJM2.js";
|
|
297
|
+
import {
|
|
298
|
+
clearIndexesAsync,
|
|
299
|
+
deindexMemoriesBatchAsync,
|
|
300
|
+
deindexMemoryAsync,
|
|
301
|
+
extractTagsFromPrompt,
|
|
302
|
+
indexMemoriesBatchAsync,
|
|
303
|
+
indexesExistAsync,
|
|
304
|
+
isTemporalQuery,
|
|
305
|
+
queryByDateRangeAsync,
|
|
306
|
+
queryByTagsAsync,
|
|
307
|
+
queryTemporalTimelineAsync,
|
|
308
|
+
readIndexSnapshotAsync,
|
|
309
|
+
recencyWindowFromPrompt,
|
|
310
|
+
resolvePromptTagPrefilterAsync
|
|
311
|
+
} from "./chunk-ZOKZIR5K.js";
|
|
291
312
|
import {
|
|
292
313
|
applyRuntimeRetrievalPolicy
|
|
293
314
|
} from "./chunk-5IZL4DCV.js";
|
|
@@ -307,7 +328,7 @@ import {
|
|
|
307
328
|
buildResumeBundleFromState,
|
|
308
329
|
getResumeBundleStatus,
|
|
309
330
|
recordResumeBundle
|
|
310
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-LE27GU4M.js";
|
|
311
332
|
import {
|
|
312
333
|
getWorkProductLedgerStatus,
|
|
313
334
|
recordWorkProductLedgerEntry,
|
|
@@ -318,26 +339,8 @@ import {
|
|
|
318
339
|
utcDayRange
|
|
319
340
|
} from "./chunk-5RONA5FF.js";
|
|
320
341
|
import {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
runTemporalAgent,
|
|
324
|
-
shouldRunAgent
|
|
325
|
-
} from "./chunk-XMYWYJM2.js";
|
|
326
|
-
import {
|
|
327
|
-
clearIndexesAsync,
|
|
328
|
-
deindexMemoriesBatchAsync,
|
|
329
|
-
deindexMemoryAsync,
|
|
330
|
-
extractTagsFromPrompt,
|
|
331
|
-
indexMemoriesBatchAsync,
|
|
332
|
-
indexesExistAsync,
|
|
333
|
-
isTemporalQuery,
|
|
334
|
-
queryByDateRangeAsync,
|
|
335
|
-
queryByTagsAsync,
|
|
336
|
-
queryTemporalTimelineAsync,
|
|
337
|
-
readIndexSnapshotAsync,
|
|
338
|
-
recencyWindowFromPrompt,
|
|
339
|
-
resolvePromptTagPrefilterAsync
|
|
340
|
-
} from "./chunk-ZOKZIR5K.js";
|
|
342
|
+
runRecallWhy
|
|
343
|
+
} from "./chunk-N7LYEA3K.js";
|
|
341
344
|
import {
|
|
342
345
|
parseXrayCliOptions
|
|
343
346
|
} from "./chunk-5IGWEYNV.js";
|
|
@@ -360,13 +363,10 @@ import {
|
|
|
360
363
|
lastRecallTimingsFor,
|
|
361
364
|
recordRecallTiming
|
|
362
365
|
} from "./chunk-G4NKURT4.js";
|
|
363
|
-
import {
|
|
364
|
-
runRecallWhy
|
|
365
|
-
} from "./chunk-EIZUL6JC.js";
|
|
366
366
|
import {
|
|
367
367
|
indexStateViewAnnotatedResults,
|
|
368
368
|
resolveRecallStateViewActive
|
|
369
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-A3EWNU5V.js";
|
|
370
370
|
import {
|
|
371
371
|
applyRecallStateViews
|
|
372
372
|
} from "./chunk-DBB5JPSL.js";
|
|
@@ -375,6 +375,12 @@ import {
|
|
|
375
375
|
filterRecentScanMemories,
|
|
376
376
|
stateViewPacketActive
|
|
377
377
|
} from "./chunk-G2DF5MI7.js";
|
|
378
|
+
import {
|
|
379
|
+
maybeRespondRecallNavigation
|
|
380
|
+
} from "./chunk-WXDTOE6F.js";
|
|
381
|
+
import {
|
|
382
|
+
RECALL_NAVIGATION_MCP_TOOLS
|
|
383
|
+
} from "./chunk-TE6S7KDF.js";
|
|
378
384
|
import {
|
|
379
385
|
renderNavigationResult
|
|
380
386
|
} from "./chunk-KIW3OOZE.js";
|
|
@@ -386,11 +392,8 @@ import {
|
|
|
386
392
|
assertIdInNavigationWindow
|
|
387
393
|
} from "./chunk-5KVT6G5U.js";
|
|
388
394
|
import {
|
|
389
|
-
|
|
390
|
-
} from "./chunk-
|
|
391
|
-
import {
|
|
392
|
-
RECALL_NAVIGATION_MCP_TOOLS
|
|
393
|
-
} from "./chunk-TE6S7KDF.js";
|
|
395
|
+
reorderRecallResultsWithMmr
|
|
396
|
+
} from "./chunk-IIK2PD3F.js";
|
|
394
397
|
import {
|
|
395
398
|
takeNavigateBudget
|
|
396
399
|
} from "./chunk-VYDGHJIN.js";
|
|
@@ -414,27 +417,15 @@ import {
|
|
|
414
417
|
estimateRecallTokens,
|
|
415
418
|
summarizeDisclosureTokens
|
|
416
419
|
} from "./chunk-PKPW7MXT.js";
|
|
417
|
-
import {
|
|
418
|
-
reorderRecallResultsWithMmr
|
|
419
|
-
} from "./chunk-IIK2PD3F.js";
|
|
420
|
-
import {
|
|
421
|
-
applyReasoningTraceBoost
|
|
422
|
-
} from "./chunk-EVWDNKQA.js";
|
|
423
420
|
import {
|
|
424
421
|
compactRecallContextFromBuckets,
|
|
425
422
|
decideRecallContextComposition,
|
|
426
423
|
notifyContextComposition,
|
|
427
424
|
recallFailureComposition
|
|
428
|
-
} from "./chunk-
|
|
425
|
+
} from "./chunk-KAGLV5KH.js";
|
|
429
426
|
import {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
parsePatternsExplainOptions,
|
|
433
|
-
parsePatternsListOptions,
|
|
434
|
-
parseStrictCliDate,
|
|
435
|
-
renderPatternExplain,
|
|
436
|
-
renderPatternsList
|
|
437
|
-
} from "./chunk-3T74IZB3.js";
|
|
427
|
+
applyReasoningTraceBoost
|
|
428
|
+
} from "./chunk-EVWDNKQA.js";
|
|
438
429
|
import {
|
|
439
430
|
PolicyRuntimeManager,
|
|
440
431
|
readRuntimePolicySnapshot,
|
|
@@ -454,23 +445,35 @@ import {
|
|
|
454
445
|
runOperatorRepair,
|
|
455
446
|
runOperatorSetup,
|
|
456
447
|
summarizeNamespaceMaintenanceHealth
|
|
457
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-6CSWINXA.js";
|
|
458
449
|
import {
|
|
459
450
|
NamespaceCatalog,
|
|
460
451
|
isNamespaceKind,
|
|
461
452
|
planNamespaceMaintenance
|
|
462
|
-
} from "./chunk-
|
|
453
|
+
} from "./chunk-FJVWKIDV.js";
|
|
463
454
|
import {
|
|
464
455
|
analyzeSessionIntegrity,
|
|
465
456
|
applySessionRepair,
|
|
466
457
|
planSessionRepair
|
|
467
458
|
} from "./chunk-KFY3SGN7.js";
|
|
459
|
+
import {
|
|
460
|
+
collectPatternMemories,
|
|
461
|
+
explainPatternMemory,
|
|
462
|
+
parsePatternsExplainOptions,
|
|
463
|
+
parsePatternsListOptions,
|
|
464
|
+
parseStrictCliDate,
|
|
465
|
+
renderPatternExplain,
|
|
466
|
+
renderPatternsList
|
|
467
|
+
} from "./chunk-3T74IZB3.js";
|
|
468
|
+
import {
|
|
469
|
+
buildEmbeddingAwareSnapshotStream
|
|
470
|
+
} from "./chunk-6MEQHJTF.js";
|
|
468
471
|
import {
|
|
469
472
|
ReplicaDivergenceMonitor
|
|
470
473
|
} from "./chunk-7IWRLYFJ.js";
|
|
471
474
|
import {
|
|
472
|
-
|
|
473
|
-
} from "./chunk-
|
|
475
|
+
recordMemoryOutcome
|
|
476
|
+
} from "./chunk-UD7UNYRD.js";
|
|
474
477
|
import {
|
|
475
478
|
NegativeExampleStore
|
|
476
479
|
} from "./chunk-23L3IXFD.js";
|
|
@@ -479,11 +482,11 @@ import {
|
|
|
479
482
|
buildMemoryWorthCounterMap
|
|
480
483
|
} from "./chunk-3GPTTA4J.js";
|
|
481
484
|
import {
|
|
482
|
-
|
|
483
|
-
} from "./chunk-
|
|
485
|
+
MEMORY_BROWSE_MCP_TOOLS
|
|
486
|
+
} from "./chunk-EIB4FJVR.js";
|
|
484
487
|
import {
|
|
485
488
|
runMemoryBrowse
|
|
486
|
-
} from "./chunk-
|
|
489
|
+
} from "./chunk-M43GO34S.js";
|
|
487
490
|
import {
|
|
488
491
|
filterRecallCandidates,
|
|
489
492
|
isGenericRecallExcludedPath,
|
|
@@ -491,7 +494,7 @@ import {
|
|
|
491
494
|
isTopLevelArchivePath,
|
|
492
495
|
journalPath,
|
|
493
496
|
writeJournalFile
|
|
494
|
-
} from "./chunk-
|
|
497
|
+
} from "./chunk-MPQQIHA7.js";
|
|
495
498
|
import {
|
|
496
499
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
|
|
497
500
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
|
|
@@ -510,12 +513,6 @@ import {
|
|
|
510
513
|
import {
|
|
511
514
|
maybeRespondMemoryBrowse
|
|
512
515
|
} from "./chunk-UYHDMCY2.js";
|
|
513
|
-
import {
|
|
514
|
-
MEMORY_BROWSE_MCP_TOOLS
|
|
515
|
-
} from "./chunk-EIB4FJVR.js";
|
|
516
|
-
import {
|
|
517
|
-
serializeInlineScriptValue
|
|
518
|
-
} from "./chunk-3HSRWJTC.js";
|
|
519
516
|
import {
|
|
520
517
|
GITHUB_CONNECTOR_ID,
|
|
521
518
|
GMAIL_CONNECTOR_ID,
|
|
@@ -534,6 +531,15 @@ import {
|
|
|
534
531
|
import {
|
|
535
532
|
listConnectorStates
|
|
536
533
|
} from "./chunk-MDPT6QFK.js";
|
|
534
|
+
import {
|
|
535
|
+
coerceIncludedMemories
|
|
536
|
+
} from "./chunk-2YA5N2BY.js";
|
|
537
|
+
import {
|
|
538
|
+
serializeInlineScriptValue
|
|
539
|
+
} from "./chunk-3HSRWJTC.js";
|
|
540
|
+
import {
|
|
541
|
+
scaleLcmSummarizeBudget
|
|
542
|
+
} from "./chunk-3TKX7ZMV.js";
|
|
537
543
|
import {
|
|
538
544
|
classifyMemoryKind
|
|
539
545
|
} from "./chunk-YAZNBMNF.js";
|
|
@@ -542,9 +548,6 @@ import {
|
|
|
542
548
|
rescoreMemoryImportance,
|
|
543
549
|
scoreImportance
|
|
544
550
|
} from "./chunk-UOBPK2OS.js";
|
|
545
|
-
import {
|
|
546
|
-
coerceIncludedMemories
|
|
547
|
-
} from "./chunk-2YA5N2BY.js";
|
|
548
551
|
import {
|
|
549
552
|
buildGraphSnapshot
|
|
550
553
|
} from "./chunk-YLTU2DC4.js";
|
|
@@ -554,11 +557,11 @@ import {
|
|
|
554
557
|
harmonicEntitySegment,
|
|
555
558
|
normalizedHarmonicEntityIdentity,
|
|
556
559
|
persistHarmonicRecords
|
|
557
|
-
} from "./chunk-
|
|
560
|
+
} from "./chunk-FJEYZSJD.js";
|
|
558
561
|
import {
|
|
559
562
|
readProjectedHarmonicGraph,
|
|
560
563
|
searchHarmonicRetrieval
|
|
561
|
-
} from "./chunk-
|
|
564
|
+
} from "./chunk-IJBOJJVS.js";
|
|
562
565
|
import {
|
|
563
566
|
removeNodeEdgesForRewrite,
|
|
564
567
|
rollbackNodeEdgeRewrite
|
|
@@ -566,15 +569,22 @@ import {
|
|
|
566
569
|
import {
|
|
567
570
|
scoreEvidencePathDetail
|
|
568
571
|
} from "./chunk-XXSOVESA.js";
|
|
572
|
+
import {
|
|
573
|
+
chunkExtractionWindow,
|
|
574
|
+
classifyDrainResult,
|
|
575
|
+
extractionWindowBudgetChars,
|
|
576
|
+
mergeDrainResults,
|
|
577
|
+
splitOversizedTurns
|
|
578
|
+
} from "./chunk-LEO4MQ3S.js";
|
|
569
579
|
import {
|
|
570
580
|
ExtractionEngine
|
|
571
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-OYUTSLBU.js";
|
|
572
582
|
import {
|
|
573
583
|
wrapWorkLayerContext
|
|
574
584
|
} from "./chunk-EI6V5UXY.js";
|
|
575
585
|
import {
|
|
576
586
|
CONNECTOR_LABEL_MAX_LENGTH
|
|
577
|
-
} from "./chunk-
|
|
587
|
+
} from "./chunk-CBJRI6VJ.js";
|
|
578
588
|
import {
|
|
579
589
|
isValidConnectorId
|
|
580
590
|
} from "./chunk-YAVIBVCU.js";
|
|
@@ -593,12 +603,14 @@ import {
|
|
|
593
603
|
parseMemoryActionEligibilityContext
|
|
594
604
|
} from "./chunk-JHU4EYDV.js";
|
|
595
605
|
import {
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
606
|
+
REDACTION_RULES_SUBDIR,
|
|
607
|
+
contentMatchesRedactionRules,
|
|
608
|
+
loadRedactionRules
|
|
609
|
+
} from "./chunk-LTHVM4XN.js";
|
|
610
|
+
import {
|
|
611
|
+
EXTRACTION_JUDGE_VERDICT_CATEGORY,
|
|
612
|
+
recordJudgeVerdict
|
|
613
|
+
} from "./chunk-OZKOPQCM.js";
|
|
602
614
|
import {
|
|
603
615
|
recordJudgeTrainingPair
|
|
604
616
|
} from "./chunk-PWFCHOB3.js";
|
|
@@ -609,18 +621,13 @@ import {
|
|
|
609
621
|
judgeFactDurability,
|
|
610
622
|
validateProcedureExtraction
|
|
611
623
|
} from "./chunk-LMJVP5CM.js";
|
|
612
|
-
import {
|
|
613
|
-
REDACTION_RULES_SUBDIR,
|
|
614
|
-
contentMatchesRedactionRules,
|
|
615
|
-
loadRedactionRules
|
|
616
|
-
} from "./chunk-LTHVM4XN.js";
|
|
617
624
|
import {
|
|
618
625
|
EXTERNAL_WIKI_MCP_TOOLS
|
|
619
626
|
} from "./chunk-A5KNZSNA.js";
|
|
620
627
|
import {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
} from "./chunk-
|
|
628
|
+
pickFactEventTimeAnchor,
|
|
629
|
+
resolveFactEventTime
|
|
630
|
+
} from "./chunk-IAIPNEHD.js";
|
|
624
631
|
import {
|
|
625
632
|
buildExplicitCueRecallSection
|
|
626
633
|
} from "./chunk-NED7IR7B.js";
|
|
@@ -649,15 +656,11 @@ import {
|
|
|
649
656
|
import {
|
|
650
657
|
shouldRecallEventOrderEvidence
|
|
651
658
|
} from "./chunk-BUYVPUEM.js";
|
|
652
|
-
import {
|
|
653
|
-
pickFactEventTimeAnchor,
|
|
654
|
-
resolveFactEventTime
|
|
655
|
-
} from "./chunk-IAIPNEHD.js";
|
|
656
659
|
import {
|
|
657
660
|
buildEntityRecallSection,
|
|
658
661
|
entityRecentTranscriptLookbackHours,
|
|
659
662
|
readRecentEntityTranscriptEntries
|
|
660
|
-
} from "./chunk-
|
|
663
|
+
} from "./chunk-2IMKMMUS.js";
|
|
661
664
|
import {
|
|
662
665
|
boundRecallContextComposition,
|
|
663
666
|
composeMissingMemoryContext,
|
|
@@ -670,19 +673,26 @@ import {
|
|
|
670
673
|
import {
|
|
671
674
|
EmbeddingFallback
|
|
672
675
|
} from "./chunk-SBRUTD5O.js";
|
|
676
|
+
import {
|
|
677
|
+
renderDeepRecallResult
|
|
678
|
+
} from "./chunk-RF2SMMPP.js";
|
|
673
679
|
import {
|
|
674
680
|
createDeepRecallSeedSearch
|
|
675
681
|
} from "./chunk-3X5OPDPF.js";
|
|
676
682
|
import {
|
|
677
683
|
runBudgetedDeepRecall
|
|
678
|
-
} from "./chunk-
|
|
684
|
+
} from "./chunk-BFPF5N3H.js";
|
|
679
685
|
import {
|
|
680
686
|
tryDirectAnswer
|
|
681
687
|
} from "./chunk-OB72KNMF.js";
|
|
688
|
+
import {
|
|
689
|
+
CrossNamespaceBudget,
|
|
690
|
+
toBudgetWarning
|
|
691
|
+
} from "./chunk-UFGFMWAD.js";
|
|
682
692
|
import {
|
|
683
693
|
getCueAnchorStoreStatus,
|
|
684
694
|
pruneOrphanCueAnchors
|
|
685
|
-
} from "./chunk-
|
|
695
|
+
} from "./chunk-FYJYQ65N.js";
|
|
686
696
|
import {
|
|
687
697
|
GraphDashboardServer
|
|
688
698
|
} from "./chunk-EZ25VE3G.js";
|
|
@@ -691,24 +701,21 @@ import {
|
|
|
691
701
|
} from "./chunk-7G5NTS7F.js";
|
|
692
702
|
import {
|
|
693
703
|
respondDeepRecall
|
|
694
|
-
} from "./chunk-
|
|
704
|
+
} from "./chunk-MEALRZYB.js";
|
|
695
705
|
import {
|
|
696
706
|
DEEP_RECALL_MCP_TOOLS
|
|
697
707
|
} from "./chunk-HUSTM6PU.js";
|
|
698
708
|
import {
|
|
699
709
|
callDeepRecallPolicyLlm
|
|
700
710
|
} from "./chunk-SPAKBUJY.js";
|
|
701
|
-
import {
|
|
702
|
-
renderDeepRecallResult
|
|
703
|
-
} from "./chunk-RF2SMMPP.js";
|
|
704
711
|
import {
|
|
705
712
|
refreshConvergedNamespaces
|
|
706
|
-
} from "./chunk-
|
|
713
|
+
} from "./chunk-B72X3KWL.js";
|
|
707
714
|
import {
|
|
708
715
|
rebuildMemoryProjection,
|
|
709
716
|
repairMemoryProjection,
|
|
710
717
|
verifyMemoryProjection
|
|
711
|
-
} from "./chunk-
|
|
718
|
+
} from "./chunk-FYH62SF3.js";
|
|
712
719
|
import {
|
|
713
720
|
buildProposedActions,
|
|
714
721
|
buildQualityScore,
|
|
@@ -717,7 +724,7 @@ import {
|
|
|
717
724
|
readMemoryGovernanceRunArtifact,
|
|
718
725
|
restoreMemoryGovernanceRun,
|
|
719
726
|
runMemoryGovernance
|
|
720
|
-
} from "./chunk-
|
|
727
|
+
} from "./chunk-DLX277NS.js";
|
|
721
728
|
import {
|
|
722
729
|
collectNativeKnowledgeChunks,
|
|
723
730
|
formatNativeKnowledgeSection,
|
|
@@ -726,19 +733,15 @@ import {
|
|
|
726
733
|
import {
|
|
727
734
|
CorpusWatermarkCache,
|
|
728
735
|
computeServiceCorpusCensus
|
|
729
|
-
} from "./chunk-
|
|
736
|
+
} from "./chunk-XGDWR2L6.js";
|
|
730
737
|
import {
|
|
731
738
|
listNamespaces,
|
|
732
739
|
runNamespaceMigration,
|
|
733
740
|
verifyNamespaces
|
|
734
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-UC3KG7KX.js";
|
|
735
742
|
import {
|
|
736
743
|
NamespaceStorageRouter
|
|
737
|
-
} from "./chunk-
|
|
738
|
-
import {
|
|
739
|
-
CrossNamespaceBudget,
|
|
740
|
-
toBudgetWarning
|
|
741
|
-
} from "./chunk-UFGFMWAD.js";
|
|
744
|
+
} from "./chunk-2S4XW47C.js";
|
|
742
745
|
import {
|
|
743
746
|
buildConnectorRowsFromDefinitions,
|
|
744
747
|
parseConnectorsListOptions,
|
|
@@ -754,6 +757,19 @@ import {
|
|
|
754
757
|
recordCommitmentLedgerEntry,
|
|
755
758
|
transitionCommitmentLedgerEntryState
|
|
756
759
|
} from "./chunk-ZAJLJ35W.js";
|
|
760
|
+
import {
|
|
761
|
+
buildConsolidationPrompt,
|
|
762
|
+
buildExtensionsBlockForConsolidation,
|
|
763
|
+
buildOperatorAwareConsolidationPrompt,
|
|
764
|
+
chooseConsolidationOperator,
|
|
765
|
+
findSimilarClusters,
|
|
766
|
+
materializeAfterSemanticConsolidation,
|
|
767
|
+
parseConsolidationResponse,
|
|
768
|
+
parseOperatorAwareConsolidationResponse
|
|
769
|
+
} from "./chunk-NWS4I4K7.js";
|
|
770
|
+
import {
|
|
771
|
+
resolveNamespaceChildRoot
|
|
772
|
+
} from "./chunk-3UXOZBHV.js";
|
|
757
773
|
import {
|
|
758
774
|
GraphIndex,
|
|
759
775
|
analyzeGraphHealth
|
|
@@ -774,19 +790,6 @@ import {
|
|
|
774
790
|
import {
|
|
775
791
|
defaultCapsulesDir
|
|
776
792
|
} from "./chunk-ZY2MNJR6.js";
|
|
777
|
-
import {
|
|
778
|
-
buildConsolidationPrompt,
|
|
779
|
-
buildExtensionsBlockForConsolidation,
|
|
780
|
-
buildOperatorAwareConsolidationPrompt,
|
|
781
|
-
chooseConsolidationOperator,
|
|
782
|
-
findSimilarClusters,
|
|
783
|
-
materializeAfterSemanticConsolidation,
|
|
784
|
-
parseConsolidationResponse,
|
|
785
|
-
parseOperatorAwareConsolidationResponse
|
|
786
|
-
} from "./chunk-WGM2KSWN.js";
|
|
787
|
-
import {
|
|
788
|
-
resolveNamespaceChildRoot
|
|
789
|
-
} from "./chunk-3UXOZBHV.js";
|
|
790
793
|
import {
|
|
791
794
|
semanticChunkContent
|
|
792
795
|
} from "./chunk-2GBFKHBZ.js";
|
|
@@ -795,13 +798,13 @@ import {
|
|
|
795
798
|
} from "./chunk-6TBIWIAG.js";
|
|
796
799
|
import {
|
|
797
800
|
SmartBuffer
|
|
798
|
-
} from "./chunk-
|
|
801
|
+
} from "./chunk-OV3XHQAB.js";
|
|
799
802
|
import {
|
|
800
803
|
ExtractionDeadlineError,
|
|
801
804
|
ExtractionRunCoordinator,
|
|
802
805
|
ProviderCircuitBreaker,
|
|
803
806
|
classifyExtractionOrigin
|
|
804
|
-
} from "./chunk-
|
|
807
|
+
} from "./chunk-3KQPFIVV.js";
|
|
805
808
|
import {
|
|
806
809
|
ARTIFACT_STATUS_CACHE_TTL_MS,
|
|
807
810
|
BulkImportBatchPartialFailureError,
|
|
@@ -841,7 +844,7 @@ import {
|
|
|
841
844
|
throwIfRecallAborted,
|
|
842
845
|
tokenizeRecallQuery,
|
|
843
846
|
utcDateKeysForLocalDay
|
|
844
|
-
} from "./chunk-
|
|
847
|
+
} from "./chunk-AGJJTD3Q.js";
|
|
845
848
|
import {
|
|
846
849
|
inferIntentFromText,
|
|
847
850
|
intentCompatibilityScore,
|
|
@@ -859,7 +862,11 @@ import {
|
|
|
859
862
|
parseBriefingFocus,
|
|
860
863
|
parseBriefingWindow,
|
|
861
864
|
validateBriefingFormat
|
|
862
|
-
} from "./chunk-
|
|
865
|
+
} from "./chunk-YWXFO7G2.js";
|
|
866
|
+
import {
|
|
867
|
+
BriefingTimeoutError,
|
|
868
|
+
withBriefingDeadline
|
|
869
|
+
} from "./chunk-FNFURZBZ.js";
|
|
863
870
|
import {
|
|
864
871
|
ReplayAdmissionRefusedError,
|
|
865
872
|
StorageTargetRequiredError
|
|
@@ -885,9 +892,15 @@ import {
|
|
|
885
892
|
BoxBuilder
|
|
886
893
|
} from "./chunk-B7RWBZXW.js";
|
|
887
894
|
import {
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
895
|
+
meetingsBuild,
|
|
896
|
+
meetingsGet,
|
|
897
|
+
meetingsList,
|
|
898
|
+
wearablesStatus,
|
|
899
|
+
wearablesSync,
|
|
900
|
+
wearablesTranscriptDay,
|
|
901
|
+
wearablesTranscriptMemories,
|
|
902
|
+
wearablesTranscriptSearch
|
|
903
|
+
} from "./chunk-SYOIVK7K.js";
|
|
891
904
|
import {
|
|
892
905
|
evaluateMemoryActionPolicy
|
|
893
906
|
} from "./chunk-MI2OTWV5.js";
|
|
@@ -914,7 +927,7 @@ import {
|
|
|
914
927
|
validateCorrectionAction,
|
|
915
928
|
validateCorrectionRequest,
|
|
916
929
|
validateRedactionPattern
|
|
917
|
-
} from "./chunk-
|
|
930
|
+
} from "./chunk-B4I37XX6.js";
|
|
918
931
|
import {
|
|
919
932
|
compileCorrectionRule,
|
|
920
933
|
correctionsFilePath,
|
|
@@ -1027,7 +1040,7 @@ import {
|
|
|
1027
1040
|
reconstructFusionInputs,
|
|
1028
1041
|
selfDeps,
|
|
1029
1042
|
serializeFusionDay
|
|
1030
|
-
} from "./chunk-
|
|
1043
|
+
} from "./chunk-2LQUPEWF.js";
|
|
1031
1044
|
import {
|
|
1032
1045
|
buildRetiredFactTombstoneInputs
|
|
1033
1046
|
} from "./chunk-QGVCFVX6.js";
|
|
@@ -1046,12 +1059,12 @@ import {
|
|
|
1046
1059
|
embeddingBacklogExceeds,
|
|
1047
1060
|
isSearchHealthDegraded,
|
|
1048
1061
|
namespaceCollectionName
|
|
1049
|
-
} from "./chunk-
|
|
1062
|
+
} from "./chunk-CBTERRF5.js";
|
|
1050
1063
|
import {
|
|
1051
1064
|
createConversationIndexRuntime,
|
|
1052
1065
|
createSearchBackend,
|
|
1053
1066
|
isSearchBackendEnabled
|
|
1054
|
-
} from "./chunk-
|
|
1067
|
+
} from "./chunk-MIG4KRYU.js";
|
|
1055
1068
|
import {
|
|
1056
1069
|
NoopSearchBackend
|
|
1057
1070
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -1098,7 +1111,7 @@ import {
|
|
|
1098
1111
|
recordStrandedCommit,
|
|
1099
1112
|
removeVersion,
|
|
1100
1113
|
revertToVersion
|
|
1101
|
-
} from "./chunk-
|
|
1114
|
+
} from "./chunk-4QEDFEBY.js";
|
|
1102
1115
|
import {
|
|
1103
1116
|
HistoricalEntityCanonicalIdCache,
|
|
1104
1117
|
canonicalizeEntityRefFrontmatter,
|
|
@@ -1109,7 +1122,7 @@ import {
|
|
|
1109
1122
|
requestEntityCanonicalIdReconcile,
|
|
1110
1123
|
requestEntityCanonicalIdReconcileSync,
|
|
1111
1124
|
withRawEntityPageMutation
|
|
1112
|
-
} from "./chunk-
|
|
1125
|
+
} from "./chunk-UUSL22HE.js";
|
|
1113
1126
|
import {
|
|
1114
1127
|
applyTemporalSupersession,
|
|
1115
1128
|
applyTemporalSupersessionPrimaryMutation,
|
|
@@ -1129,6 +1142,9 @@ import {
|
|
|
1129
1142
|
buildExplicitCaptureDedupKey,
|
|
1130
1143
|
normalizeExplicitCaptureContent
|
|
1131
1144
|
} from "./chunk-Y33KJ556.js";
|
|
1145
|
+
import {
|
|
1146
|
+
mergeSearchQueryOptions
|
|
1147
|
+
} from "./chunk-B7HYXVME.js";
|
|
1132
1148
|
import {
|
|
1133
1149
|
renderQmdBacklogStatus
|
|
1134
1150
|
} from "./chunk-IUM3VSHI.js";
|
|
@@ -1151,6 +1167,12 @@ import {
|
|
|
1151
1167
|
import {
|
|
1152
1168
|
fallbackLlmRuntimeContextFromConfig
|
|
1153
1169
|
} from "./chunk-QSF5SJAM.js";
|
|
1170
|
+
import {
|
|
1171
|
+
createBoundedCoreSectionRunner,
|
|
1172
|
+
createRecallSectionMetricRecorder,
|
|
1173
|
+
resolveRecallCoreSectionDeadlineMs,
|
|
1174
|
+
runRecallSectionWithinDeadline
|
|
1175
|
+
} from "./chunk-RNFMFC37.js";
|
|
1154
1176
|
import {
|
|
1155
1177
|
coerceBool,
|
|
1156
1178
|
coerceBooleanLike,
|
|
@@ -1166,11 +1188,8 @@ import {
|
|
|
1166
1188
|
isHighImpactPersonalFact
|
|
1167
1189
|
} from "./chunk-QW27DOHG.js";
|
|
1168
1190
|
import {
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
resolveRecallCoreSectionDeadlineMs,
|
|
1172
|
-
runRecallSectionWithinDeadline
|
|
1173
|
-
} from "./chunk-RNFMFC37.js";
|
|
1191
|
+
engramRecallSearchOptionsMcpProperty
|
|
1192
|
+
} from "./chunk-CQ3IG3GZ.js";
|
|
1174
1193
|
import {
|
|
1175
1194
|
delegateExtractionForceFlush
|
|
1176
1195
|
} from "./chunk-RMMA44HE.js";
|
|
@@ -1181,19 +1200,9 @@ import {
|
|
|
1181
1200
|
SupportPassportError,
|
|
1182
1201
|
buildSupportPassportPublicRequestHandler
|
|
1183
1202
|
} from "./chunk-UPE7TJWN.js";
|
|
1184
|
-
import {
|
|
1185
|
-
meetingsBuild,
|
|
1186
|
-
meetingsGet,
|
|
1187
|
-
meetingsList,
|
|
1188
|
-
wearablesStatus,
|
|
1189
|
-
wearablesSync,
|
|
1190
|
-
wearablesTranscriptDay,
|
|
1191
|
-
wearablesTranscriptMemories,
|
|
1192
|
-
wearablesTranscriptSearch
|
|
1193
|
-
} from "./chunk-SYOIVK7K.js";
|
|
1194
1203
|
import {
|
|
1195
1204
|
splitCanonicalWriteRequest
|
|
1196
|
-
} from "./chunk-
|
|
1205
|
+
} from "./chunk-JY3WATTF.js";
|
|
1197
1206
|
import {
|
|
1198
1207
|
buildWithBriefingLocation,
|
|
1199
1208
|
daySummaryAutoOptions,
|
|
@@ -1236,10 +1245,10 @@ import {
|
|
|
1236
1245
|
retainedCategoryAlias,
|
|
1237
1246
|
suggestionSubmitRequestSchema,
|
|
1238
1247
|
validateRequest
|
|
1239
|
-
} from "./chunk-
|
|
1248
|
+
} from "./chunk-QJJURIZV.js";
|
|
1240
1249
|
import {
|
|
1241
1250
|
exportCapsule
|
|
1242
|
-
} from "./chunk-
|
|
1251
|
+
} from "./chunk-R45L4TV6.js";
|
|
1243
1252
|
import {
|
|
1244
1253
|
CAPSULE_ID_PATTERN
|
|
1245
1254
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -1257,7 +1266,7 @@ import {
|
|
|
1257
1266
|
} from "./chunk-BJMBJZ2Y.js";
|
|
1258
1267
|
import {
|
|
1259
1268
|
createOfflineSyncManifestStream
|
|
1260
|
-
} from "./chunk-
|
|
1269
|
+
} from "./chunk-E23BTVB2.js";
|
|
1261
1270
|
import {
|
|
1262
1271
|
peerManifestRevision
|
|
1263
1272
|
} from "./chunk-FEUWI5QH.js";
|
|
@@ -1326,10 +1335,10 @@ import {
|
|
|
1326
1335
|
buildOfflineSyncSnapshotFromBase,
|
|
1327
1336
|
normalizeOfflineSyncChangeset,
|
|
1328
1337
|
readOfflineSyncFileContentChunk
|
|
1329
|
-
} from "./chunk-
|
|
1338
|
+
} from "./chunk-WZ55LEUN.js";
|
|
1330
1339
|
import {
|
|
1331
1340
|
storageBackedIndexStoreIo
|
|
1332
|
-
} from "./chunk-
|
|
1341
|
+
} from "./chunk-MFDEEOOZ.js";
|
|
1333
1342
|
import {
|
|
1334
1343
|
compileOfflineSyncExcludeGlobs
|
|
1335
1344
|
} from "./chunk-63LFM77Z.js";
|
|
@@ -1541,11 +1550,14 @@ import {
|
|
|
1541
1550
|
} from "./chunk-R2MBW2S4.js";
|
|
1542
1551
|
import {
|
|
1543
1552
|
getAbstractionNodeStoreStatus
|
|
1544
|
-
} from "./chunk-
|
|
1553
|
+
} from "./chunk-AXR472RS.js";
|
|
1545
1554
|
import {
|
|
1546
1555
|
MEMORY_CORPUS_VERSION_SENTINEL,
|
|
1547
1556
|
bumpMemoryCorpusVersionForDir
|
|
1548
|
-
} from "./chunk-
|
|
1557
|
+
} from "./chunk-TVWLYSX4.js";
|
|
1558
|
+
import {
|
|
1559
|
+
runInQmdSearchCacheRecallScope
|
|
1560
|
+
} from "./chunk-4U5VHHVF.js";
|
|
1549
1561
|
import {
|
|
1550
1562
|
buildQmdRecallCacheKey,
|
|
1551
1563
|
getCachedQmdRecall,
|
|
@@ -15550,7 +15562,7 @@ var RecallInternalCoordinator = class {
|
|
|
15550
15562
|
this.deps.profiler.endSpan("planning", profileTraceId);
|
|
15551
15563
|
const recallMode = requestedMode ?? recallDecision.effectiveMode;
|
|
15552
15564
|
const queryIntent = inferIntentFromText(retrievalQuery);
|
|
15553
|
-
const qmdSearchOptions = this.deps.buildConfiguredQmdSearchOptions(retrievalQuery);
|
|
15565
|
+
const qmdSearchOptions = this.deps.buildConfiguredQmdSearchOptions(retrievalQuery, options.searchOptions);
|
|
15554
15566
|
timings.recallPlan = recallMode;
|
|
15555
15567
|
const plannerRecallResultLimit = recallMode === "no_recall" ? 0 : recallMode === "minimal" ? Math.max(
|
|
15556
15568
|
0,
|
|
@@ -18519,6 +18531,7 @@ ${tmtNode.summary}`
|
|
|
18519
18531
|
deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
|
|
18520
18532
|
asOfMs,
|
|
18521
18533
|
requestingConnector: options.sourceConnector,
|
|
18534
|
+
searchOptions: qmdSearchOptions,
|
|
18522
18535
|
...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
|
|
18523
18536
|
});
|
|
18524
18537
|
recallTrustByPath = trustByPathSink.trustByPath;
|
|
@@ -18736,6 +18749,7 @@ ${tmtNode.summary}`
|
|
|
18736
18749
|
deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
|
|
18737
18750
|
asOfMs,
|
|
18738
18751
|
requestingConnector: options.sourceConnector,
|
|
18752
|
+
searchOptions: qmdSearchOptions,
|
|
18739
18753
|
...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
|
|
18740
18754
|
});
|
|
18741
18755
|
recallTrustByPath = trustByPathSink.trustByPath;
|
|
@@ -18890,6 +18904,7 @@ ${tmtNode.summary}`
|
|
|
18890
18904
|
deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
|
|
18891
18905
|
asOfMs,
|
|
18892
18906
|
requestingConnector: options.sourceConnector,
|
|
18907
|
+
searchOptions: qmdSearchOptions,
|
|
18893
18908
|
...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
|
|
18894
18909
|
});
|
|
18895
18910
|
recallTrustByPath = trustByPathSink.trustByPath;
|
|
@@ -18944,6 +18959,7 @@ ${tmtNode.summary}`
|
|
|
18944
18959
|
deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
|
|
18945
18960
|
asOfMs,
|
|
18946
18961
|
requestingConnector: options.sourceConnector,
|
|
18962
|
+
searchOptions: qmdSearchOptions,
|
|
18947
18963
|
...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
|
|
18948
18964
|
});
|
|
18949
18965
|
recallTrustByPath = trustByPathSink.trustByPath;
|
|
@@ -19662,177 +19678,187 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
19662
19678
|
const qmdRecallBudgetMs = this.deps.config.recallEnrichmentDeadlineMs ?? 6e4;
|
|
19663
19679
|
const qmdRecallBudgetEnabled = qmdRecallBudgetMs > 0;
|
|
19664
19680
|
const startedAtMs = Date.now();
|
|
19665
|
-
|
|
19666
|
-
|
|
19667
|
-
|
|
19668
|
-
|
|
19669
|
-
|
|
19670
|
-
|
|
19671
|
-
const
|
|
19672
|
-
|
|
19673
|
-
|
|
19674
|
-
|
|
19675
|
-
|
|
19676
|
-
|
|
19677
|
-
|
|
19678
|
-
|
|
19679
|
-
|
|
19680
|
-
|
|
19681
|
-
|
|
19682
|
-
recallNamespaces: options.recallNamespaces,
|
|
19683
|
-
resolveNamespace: options.resolveNamespace,
|
|
19684
|
-
limit: qmdFetchLimit,
|
|
19685
|
-
pathPolicy: this.deps.config
|
|
19686
|
-
});
|
|
19687
|
-
const emitDebugSnapshot = async (results, currentFetchLimit) => {
|
|
19688
|
-
if (!options.onDebugSnapshot) return;
|
|
19689
|
-
await options.onDebugSnapshot({
|
|
19690
|
-
recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
19691
|
-
queryHash: createHash8("sha256").update(prompt).digest("hex"),
|
|
19692
|
-
queryLength: prompt.length,
|
|
19693
|
-
collection: options.collection,
|
|
19694
|
-
namespaces: options.recallNamespaces,
|
|
19695
|
-
fetchLimit: currentFetchLimit,
|
|
19696
|
-
primaryResultCount: lastPrimaryResultCount,
|
|
19697
|
-
hybridResultCount: lastHybridResultCount,
|
|
19698
|
-
queryAwareSeedCount: scopedSeedResults.length,
|
|
19699
|
-
resultCount: results.length,
|
|
19700
|
-
intentHint: debugSearchOptions?.intent,
|
|
19701
|
-
explainEnabled: debugSearchOptions?.explain === true,
|
|
19702
|
-
hybridTopUpUsed: lastHybridTopUpUsed,
|
|
19703
|
-
hybridTopUpSkippedReason: lastHybridTopUpSkippedReason,
|
|
19704
|
-
results: results.slice(0, 32).map((result) => ({
|
|
19705
|
-
...result,
|
|
19706
|
-
snippet: result.snippet.slice(0, 280)
|
|
19707
|
-
}))
|
|
19708
|
-
});
|
|
19709
|
-
};
|
|
19710
|
-
if (queryAwarePrefilter.candidatePaths?.size === 0) {
|
|
19711
|
-
await emitDebugSnapshot([], fetchLimit);
|
|
19712
|
-
return [];
|
|
19713
|
-
}
|
|
19714
|
-
for (; ; ) {
|
|
19715
|
-
throwIfRecallAborted(options.abortSignal);
|
|
19716
|
-
if (qmdRecallBudgetEnabled && Date.now() - startedAtMs >= qmdRecallBudgetMs) {
|
|
19717
|
-
break;
|
|
19718
|
-
}
|
|
19719
|
-
let primaryResults = options.collection ? options.abortSignal ? await this.deps.qmd.search(
|
|
19720
|
-
prompt,
|
|
19721
|
-
options.collection,
|
|
19722
|
-
fetchLimit,
|
|
19723
|
-
primarySearchOptions,
|
|
19724
|
-
{
|
|
19725
|
-
signal: options.abortSignal,
|
|
19726
|
-
onDegradation: options.onDegradation
|
|
19727
|
-
}
|
|
19728
|
-
) : await this.deps.qmd.search(
|
|
19729
|
-
prompt,
|
|
19730
|
-
options.collection,
|
|
19731
|
-
fetchLimit,
|
|
19732
|
-
primarySearchOptions,
|
|
19733
|
-
{ onDegradation: options.onDegradation }
|
|
19734
|
-
) : await this.deps.searchAcrossNamespaces({
|
|
19735
|
-
query: prompt,
|
|
19736
|
-
namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
|
|
19737
|
-
maxResults: fetchLimit,
|
|
19738
|
-
mode: "search",
|
|
19739
|
-
searchOptions: primarySearchOptions,
|
|
19740
|
-
execution: {
|
|
19741
|
-
signal: options.abortSignal,
|
|
19742
|
-
onDegradation: options.onDegradation
|
|
19743
|
-
}
|
|
19744
|
-
});
|
|
19745
|
-
primaryResults = normalizeFlatQmdResults(primaryResults, this.deps.config, options.collection);
|
|
19746
|
-
lastPrimaryResultCount = primaryResults.length;
|
|
19747
|
-
lastHybridResultCount = 0;
|
|
19748
|
-
lastHybridTopUpUsed = false;
|
|
19749
|
-
lastHybridTopUpSkippedReason = void 0;
|
|
19750
|
-
let mergedResults = primaryResults;
|
|
19751
|
-
const primaryRecallableCount = primaryResults.filter(recallable).length;
|
|
19752
|
-
const primaryIncludesArchivePath = primaryResults.some(
|
|
19753
|
-
(result) => isTopLevelArchivePath(result.path, this.deps.config, "qmd")
|
|
19754
|
-
);
|
|
19755
|
-
if (primaryRecallableCount < qmdFetchLimit && (primaryResults.length < qmdFetchLimit || primaryIncludesArchivePath) && (!qmdRecallBudgetEnabled || Date.now() - startedAtMs < qmdRecallBudgetMs)) {
|
|
19756
|
-
if (debugSearchOptions?.intent) {
|
|
19757
|
-
lastHybridTopUpSkippedReason = "intent_hint_active";
|
|
19758
|
-
} else if (this.deps.config.qmdSearchStrategy === "lex") {
|
|
19759
|
-
lastHybridTopUpSkippedReason = "lex_strategy";
|
|
19760
|
-
} else {
|
|
19761
|
-
let hybridResults = options.collection ? await this.deps.qmd.hybridSearch(
|
|
19762
|
-
prompt,
|
|
19763
|
-
options.collection,
|
|
19764
|
-
fetchLimit,
|
|
19765
|
-
{
|
|
19766
|
-
signal: options.abortSignal,
|
|
19767
|
-
onDegradation: options.onDegradation
|
|
19768
|
-
}
|
|
19769
|
-
) : await this.deps.searchAcrossNamespaces({
|
|
19770
|
-
query: prompt,
|
|
19771
|
-
namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
|
|
19772
|
-
maxResults: fetchLimit,
|
|
19773
|
-
mode: "hybrid",
|
|
19774
|
-
execution: {
|
|
19775
|
-
signal: options.abortSignal,
|
|
19776
|
-
onDegradation: options.onDegradation
|
|
19777
|
-
}
|
|
19778
|
-
});
|
|
19779
|
-
hybridResults = normalizeFlatQmdResults(hybridResults, this.deps.config, options.collection);
|
|
19780
|
-
lastHybridResultCount = hybridResults.length;
|
|
19781
|
-
lastHybridTopUpUsed = hybridResults.length > 0;
|
|
19782
|
-
if (hybridResults.length > 0) {
|
|
19783
|
-
mergedResults = dedupeResultsByNamespace(
|
|
19784
|
-
[...primaryResults, ...hybridResults],
|
|
19785
|
-
this.deps.namespaceFromPath,
|
|
19786
|
-
fetchLimit,
|
|
19787
|
-
{ transportFallback: "hybrid", filter: recallable }
|
|
19788
|
-
);
|
|
19789
|
-
}
|
|
19790
|
-
}
|
|
19791
|
-
}
|
|
19792
|
-
if (crossScriptVectorHits.length > 0) {
|
|
19793
|
-
mergedResults = dedupeResultsByNamespace(
|
|
19794
|
-
[...mergedResults, ...crossScriptVectorHits],
|
|
19795
|
-
this.deps.namespaceFromPath,
|
|
19796
|
-
fetchLimit,
|
|
19797
|
-
{ filter: recallable }
|
|
19798
|
-
);
|
|
19799
|
-
}
|
|
19800
|
-
if (scopedSeedResults.length > 0) {
|
|
19801
|
-
mergedResults = dedupeResultsByNamespace(
|
|
19802
|
-
[...scopedSeedResults, ...mergedResults],
|
|
19803
|
-
this.deps.namespaceFromPath,
|
|
19804
|
-
fetchLimit,
|
|
19805
|
-
{ filter: recallable }
|
|
19806
|
-
);
|
|
19807
|
-
}
|
|
19808
|
-
const filteredResults = filterRecallCandidates(mergedResults, {
|
|
19681
|
+
return runInQmdSearchCacheRecallScope(qmdRecallBudgetMs, async () => {
|
|
19682
|
+
let lastPrimaryResultCount = 0;
|
|
19683
|
+
let lastHybridResultCount = 0;
|
|
19684
|
+
let lastHybridTopUpUsed = false;
|
|
19685
|
+
let lastHybridTopUpSkippedReason;
|
|
19686
|
+
const backendHonorsQmdSearchSignals = (this.deps.config.searchBackend ?? "qmd") === "qmd";
|
|
19687
|
+
const resolvedSearchOptions = (() => {
|
|
19688
|
+
const resolver = this.deps.qmd.resolveSupportedSearchOptions;
|
|
19689
|
+
if (typeof resolver === "function") {
|
|
19690
|
+
return resolver.call(this.deps.qmd, options.searchOptions);
|
|
19691
|
+
}
|
|
19692
|
+
return options.searchOptions;
|
|
19693
|
+
})();
|
|
19694
|
+
const primarySearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : options.searchOptions;
|
|
19695
|
+
const debugSearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : void 0;
|
|
19696
|
+
const crossScriptVectorHits = options.crossScript ? await this.searchEmbeddingFallback(prompt, fetchLimit) : [];
|
|
19697
|
+
let bestFiltered = filterRecallCandidates(scopedSeedResults, {
|
|
19809
19698
|
namespacesEnabled: options.namespacesEnabled,
|
|
19810
19699
|
recallNamespaces: options.recallNamespaces,
|
|
19811
19700
|
resolveNamespace: options.resolveNamespace,
|
|
19812
|
-
limit:
|
|
19701
|
+
limit: qmdFetchLimit,
|
|
19813
19702
|
pathPolicy: this.deps.config
|
|
19814
19703
|
});
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
await
|
|
19818
|
-
|
|
19819
|
-
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
19825
|
-
|
|
19704
|
+
const emitDebugSnapshot = async (results, currentFetchLimit) => {
|
|
19705
|
+
if (!options.onDebugSnapshot) return;
|
|
19706
|
+
await options.onDebugSnapshot({
|
|
19707
|
+
recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
19708
|
+
queryHash: createHash8("sha256").update(prompt).digest("hex"),
|
|
19709
|
+
queryLength: prompt.length,
|
|
19710
|
+
collection: options.collection,
|
|
19711
|
+
namespaces: options.recallNamespaces,
|
|
19712
|
+
fetchLimit: currentFetchLimit,
|
|
19713
|
+
primaryResultCount: lastPrimaryResultCount,
|
|
19714
|
+
hybridResultCount: lastHybridResultCount,
|
|
19715
|
+
queryAwareSeedCount: scopedSeedResults.length,
|
|
19716
|
+
resultCount: results.length,
|
|
19717
|
+
intentHint: debugSearchOptions?.intent,
|
|
19718
|
+
explainEnabled: debugSearchOptions?.explain === true,
|
|
19719
|
+
hybridTopUpUsed: lastHybridTopUpUsed,
|
|
19720
|
+
hybridTopUpSkippedReason: lastHybridTopUpSkippedReason,
|
|
19721
|
+
results: results.slice(0, 32).map((result) => ({
|
|
19722
|
+
...result,
|
|
19723
|
+
snippet: result.snippet.slice(0, 280)
|
|
19724
|
+
}))
|
|
19725
|
+
});
|
|
19726
|
+
};
|
|
19727
|
+
if (queryAwarePrefilter.candidatePaths?.size === 0) {
|
|
19728
|
+
await emitDebugSnapshot([], fetchLimit);
|
|
19729
|
+
return [];
|
|
19826
19730
|
}
|
|
19827
|
-
|
|
19828
|
-
|
|
19731
|
+
for (; ; ) {
|
|
19732
|
+
throwIfRecallAborted(options.abortSignal);
|
|
19733
|
+
if (qmdRecallBudgetEnabled && Date.now() - startedAtMs >= qmdRecallBudgetMs) {
|
|
19734
|
+
break;
|
|
19735
|
+
}
|
|
19736
|
+
let primaryResults = options.collection ? options.abortSignal ? await this.deps.qmd.search(
|
|
19737
|
+
prompt,
|
|
19738
|
+
options.collection,
|
|
19739
|
+
fetchLimit,
|
|
19740
|
+
primarySearchOptions,
|
|
19741
|
+
{
|
|
19742
|
+
signal: options.abortSignal,
|
|
19743
|
+
onDegradation: options.onDegradation
|
|
19744
|
+
}
|
|
19745
|
+
) : await this.deps.qmd.search(
|
|
19746
|
+
prompt,
|
|
19747
|
+
options.collection,
|
|
19748
|
+
fetchLimit,
|
|
19749
|
+
primarySearchOptions,
|
|
19750
|
+
{ onDegradation: options.onDegradation }
|
|
19751
|
+
) : await this.deps.searchAcrossNamespaces({
|
|
19752
|
+
query: prompt,
|
|
19753
|
+
namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
|
|
19754
|
+
maxResults: fetchLimit,
|
|
19755
|
+
mode: "search",
|
|
19756
|
+
searchOptions: primarySearchOptions,
|
|
19757
|
+
execution: {
|
|
19758
|
+
signal: options.abortSignal,
|
|
19759
|
+
onDegradation: options.onDegradation
|
|
19760
|
+
}
|
|
19761
|
+
});
|
|
19762
|
+
primaryResults = normalizeFlatQmdResults(primaryResults, this.deps.config, options.collection);
|
|
19763
|
+
lastPrimaryResultCount = primaryResults.length;
|
|
19764
|
+
lastHybridResultCount = 0;
|
|
19765
|
+
lastHybridTopUpUsed = false;
|
|
19766
|
+
lastHybridTopUpSkippedReason = void 0;
|
|
19767
|
+
let mergedResults = primaryResults;
|
|
19768
|
+
const primaryDeliverableCount = filterRecallCandidates(primaryResults, {
|
|
19769
|
+
namespacesEnabled: options.namespacesEnabled,
|
|
19770
|
+
recallNamespaces: options.recallNamespaces,
|
|
19771
|
+
resolveNamespace: options.resolveNamespace,
|
|
19772
|
+
limit: qmdFetchLimit,
|
|
19773
|
+
pathPolicy: this.deps.config
|
|
19774
|
+
}).length;
|
|
19775
|
+
const primaryIncludesArchivePath = primaryResults.some(
|
|
19776
|
+
(result) => isTopLevelArchivePath(result.path, this.deps.config, "qmd")
|
|
19777
|
+
);
|
|
19778
|
+
if (primaryDeliverableCount >= qmdFetchLimit) {
|
|
19779
|
+
lastHybridTopUpSkippedReason = "primary_deliverable_sufficient";
|
|
19780
|
+
} else if ((primaryResults.length < qmdFetchLimit || primaryIncludesArchivePath) && (!qmdRecallBudgetEnabled || Date.now() - startedAtMs < qmdRecallBudgetMs)) {
|
|
19781
|
+
if (debugSearchOptions?.intent) {
|
|
19782
|
+
lastHybridTopUpSkippedReason = "intent_hint_active";
|
|
19783
|
+
} else if (this.deps.config.qmdSearchStrategy === "lex") {
|
|
19784
|
+
lastHybridTopUpSkippedReason = "lex_strategy";
|
|
19785
|
+
} else {
|
|
19786
|
+
let hybridResults = options.collection ? await this.deps.qmd.hybridSearch(
|
|
19787
|
+
prompt,
|
|
19788
|
+
options.collection,
|
|
19789
|
+
fetchLimit,
|
|
19790
|
+
{
|
|
19791
|
+
signal: options.abortSignal,
|
|
19792
|
+
onDegradation: options.onDegradation
|
|
19793
|
+
}
|
|
19794
|
+
) : await this.deps.searchAcrossNamespaces({
|
|
19795
|
+
query: prompt,
|
|
19796
|
+
namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
|
|
19797
|
+
maxResults: fetchLimit,
|
|
19798
|
+
mode: "hybrid",
|
|
19799
|
+
execution: {
|
|
19800
|
+
signal: options.abortSignal,
|
|
19801
|
+
onDegradation: options.onDegradation
|
|
19802
|
+
}
|
|
19803
|
+
});
|
|
19804
|
+
hybridResults = normalizeFlatQmdResults(hybridResults, this.deps.config, options.collection);
|
|
19805
|
+
lastHybridResultCount = hybridResults.length;
|
|
19806
|
+
lastHybridTopUpUsed = hybridResults.length > 0;
|
|
19807
|
+
if (hybridResults.length > 0) {
|
|
19808
|
+
mergedResults = dedupeResultsByNamespace(
|
|
19809
|
+
[...primaryResults, ...hybridResults],
|
|
19810
|
+
this.deps.namespaceFromPath,
|
|
19811
|
+
fetchLimit,
|
|
19812
|
+
{ transportFallback: "hybrid", filter: recallable }
|
|
19813
|
+
);
|
|
19814
|
+
}
|
|
19815
|
+
}
|
|
19816
|
+
}
|
|
19817
|
+
if (crossScriptVectorHits.length > 0) {
|
|
19818
|
+
mergedResults = dedupeResultsByNamespace(
|
|
19819
|
+
[...mergedResults, ...crossScriptVectorHits],
|
|
19820
|
+
this.deps.namespaceFromPath,
|
|
19821
|
+
fetchLimit,
|
|
19822
|
+
{ filter: recallable }
|
|
19823
|
+
);
|
|
19824
|
+
}
|
|
19825
|
+
if (scopedSeedResults.length > 0) {
|
|
19826
|
+
mergedResults = dedupeResultsByNamespace(
|
|
19827
|
+
[...scopedSeedResults, ...mergedResults],
|
|
19828
|
+
this.deps.namespaceFromPath,
|
|
19829
|
+
fetchLimit,
|
|
19830
|
+
{ filter: recallable }
|
|
19831
|
+
);
|
|
19832
|
+
}
|
|
19833
|
+
const filteredResults = filterRecallCandidates(mergedResults, {
|
|
19834
|
+
namespacesEnabled: options.namespacesEnabled,
|
|
19835
|
+
recallNamespaces: options.recallNamespaces,
|
|
19836
|
+
resolveNamespace: options.resolveNamespace,
|
|
19837
|
+
limit: fetchLimit,
|
|
19838
|
+
pathPolicy: this.deps.config
|
|
19839
|
+
});
|
|
19840
|
+
if (filteredResults.length >= qmdFetchLimit) {
|
|
19841
|
+
const capped2 = filteredResults.slice(0, qmdFetchLimit);
|
|
19842
|
+
await emitDebugSnapshot(capped2, fetchLimit);
|
|
19843
|
+
return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped2, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
|
|
19844
|
+
}
|
|
19845
|
+
if (filteredResults.length > bestFiltered.length) {
|
|
19846
|
+
bestFiltered = filteredResults;
|
|
19847
|
+
}
|
|
19848
|
+
if (primaryResults.length < fetchLimit) {
|
|
19849
|
+
await emitDebugSnapshot(filteredResults, fetchLimit);
|
|
19850
|
+
return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, filteredResults, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
|
|
19851
|
+
}
|
|
19852
|
+
if (fetchLimit >= maxFetchLimit) {
|
|
19853
|
+
break;
|
|
19854
|
+
}
|
|
19855
|
+
const growth = Math.max(20, Math.floor(fetchLimit / 2));
|
|
19856
|
+
fetchLimit = Math.min(maxFetchLimit, fetchLimit + growth);
|
|
19829
19857
|
}
|
|
19830
|
-
const
|
|
19831
|
-
|
|
19832
|
-
|
|
19833
|
-
|
|
19834
|
-
await emitDebugSnapshot(capped, fetchLimit);
|
|
19835
|
-
return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
|
|
19858
|
+
const capped = bestFiltered.slice(0, qmdFetchLimit);
|
|
19859
|
+
await emitDebugSnapshot(capped, fetchLimit);
|
|
19860
|
+
return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
|
|
19861
|
+
});
|
|
19836
19862
|
}
|
|
19837
19863
|
async searchEmbeddingFallback(query, limit) {
|
|
19838
19864
|
return searchEmbeddingFallback(this.deps, query, limit);
|
|
@@ -19934,7 +19960,7 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
19934
19960
|
resolveNamespace: (p) => this.deps.namespaceFromPath(p),
|
|
19935
19961
|
collection: coldCollection,
|
|
19936
19962
|
queryAwarePrefilter: options.queryAwarePrefilter,
|
|
19937
|
-
searchOptions: this.deps.buildConfiguredQmdSearchOptions(options.prompt),
|
|
19963
|
+
searchOptions: this.deps.buildConfiguredQmdSearchOptions(options.prompt, options.searchOptions),
|
|
19938
19964
|
abortSignal: stepSignal,
|
|
19939
19965
|
onDegradation: (degradation) => {
|
|
19940
19966
|
if (coldQmdObserverActive) {
|
|
@@ -28539,7 +28565,7 @@ var Orchestrator = class {
|
|
|
28539
28565
|
async readNamespaceMaintenanceHealth() {
|
|
28540
28566
|
return summarizeNamespaceMaintenanceHealth(this.config);
|
|
28541
28567
|
}
|
|
28542
|
-
buildConfiguredQmdSearchOptions(queryText) {
|
|
28568
|
+
buildConfiguredQmdSearchOptions(queryText, requestOverride) {
|
|
28543
28569
|
const intentHint = resolveQmdCapabilities(this.config).qmdIntentHints ? buildQmdIntentHint(inferIntentFromText(queryText)) : void 0;
|
|
28544
28570
|
const explain = resolveQmdCapabilities(this.config).qmdExplain === true;
|
|
28545
28571
|
const searchOptions = {};
|
|
@@ -28549,7 +28575,10 @@ var Orchestrator = class {
|
|
|
28549
28575
|
if (explain) {
|
|
28550
28576
|
searchOptions.explain = true;
|
|
28551
28577
|
}
|
|
28552
|
-
return
|
|
28578
|
+
return mergeSearchQueryOptions(
|
|
28579
|
+
Object.keys(searchOptions).length > 0 ? searchOptions : void 0,
|
|
28580
|
+
requestOverride
|
|
28581
|
+
);
|
|
28553
28582
|
}
|
|
28554
28583
|
async searchAcrossNamespaces(options) {
|
|
28555
28584
|
return this.namespaceReadFanoutCoordinator.searchAcrossNamespaces(
|
|
@@ -28864,21 +28893,23 @@ var Orchestrator = class {
|
|
|
28864
28893
|
});
|
|
28865
28894
|
if (resolvePipelineProcessingCapabilities(this.config).lcm) {
|
|
28866
28895
|
const summarizeFn = async (text, targetTokens, aggressive) => {
|
|
28867
|
-
const
|
|
28896
|
+
const budget = scaleLcmSummarizeBudget(text, targetTokens);
|
|
28897
|
+
const { promptText, effectiveTargetTokens, maxCompletionTokens } = budget;
|
|
28898
|
+
const instructionText = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${effectiveTargetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${effectiveTargetTokens} tokens.`;
|
|
28868
28899
|
try {
|
|
28869
28900
|
const messages = [
|
|
28870
28901
|
{ role: "system", content: instructionText },
|
|
28871
|
-
{ role: "user", content:
|
|
28902
|
+
{ role: "user", content: promptText }
|
|
28872
28903
|
];
|
|
28873
28904
|
const result = this.config.modelSource === "gateway" && this._fastGatewayLlm ? await this._fastGatewayLlm.chatCompletion(messages, {
|
|
28874
|
-
maxTokens:
|
|
28905
|
+
maxTokens: maxCompletionTokens,
|
|
28875
28906
|
timeoutMs: this.config.localLlmFastTimeoutMs,
|
|
28876
28907
|
// LCM is latency-sensitive. A configured fast persona is the
|
|
28877
28908
|
// explicit fast-tier route; otherwise use taskModelChain so LCM
|
|
28878
28909
|
// avoids falling to an expensive gateway default. Issue #1473.
|
|
28879
28910
|
...this.config.fastGatewayAgentId ? { agentId: this.config.fastGatewayAgentId } : gatewayTaskChainOptions(this.config)
|
|
28880
28911
|
}) : await this.fastLlm.chatCompletion(messages, {
|
|
28881
|
-
maxTokens:
|
|
28912
|
+
maxTokens: maxCompletionTokens,
|
|
28882
28913
|
operation: "lcm-summarize",
|
|
28883
28914
|
priority: "background"
|
|
28884
28915
|
});
|
|
@@ -30033,9 +30064,7 @@ ${doc.content}` : doc.content
|
|
|
30033
30064
|
);
|
|
30034
30065
|
}
|
|
30035
30066
|
async applyColdFallbackPipeline(options) {
|
|
30036
|
-
return this.recallSearchPipelineCoordinator.applyColdFallbackPipeline(
|
|
30037
|
-
options
|
|
30038
|
-
);
|
|
30067
|
+
return this.recallSearchPipelineCoordinator.applyColdFallbackPipeline(options);
|
|
30039
30068
|
}
|
|
30040
30069
|
// ---------------------------------------------------------------------------
|
|
30041
30070
|
// Access Tracking (Phase 1A)
|
|
@@ -35477,7 +35506,8 @@ var EngramMcpServer = class {
|
|
|
35477
35506
|
stateView: {
|
|
35478
35507
|
type: "boolean",
|
|
35479
35508
|
description: "Opt in to state-aware recall views (issue #1952); ORs with the recallStateViews config flag."
|
|
35480
|
-
}
|
|
35509
|
+
},
|
|
35510
|
+
searchOptions: engramRecallSearchOptionsMcpProperty
|
|
35481
35511
|
},
|
|
35482
35512
|
required: ["query"],
|
|
35483
35513
|
additionalProperties: false
|
|
@@ -51081,7 +51111,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
51081
51111
|
}
|
|
51082
51112
|
}
|
|
51083
51113
|
if (sourceArchive.endsWith(".enc")) {
|
|
51084
|
-
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-
|
|
51114
|
+
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-YO5QJ6L3.js");
|
|
51085
51115
|
const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
|
|
51086
51116
|
if (encDetected) {
|
|
51087
51117
|
throw new Error(
|
|
@@ -51089,7 +51119,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
51089
51119
|
);
|
|
51090
51120
|
}
|
|
51091
51121
|
}
|
|
51092
|
-
const { mergeCapsule } = await import("./capsule-merge-
|
|
51122
|
+
const { mergeCapsule } = await import("./capsule-merge-PCSDJOAO.js");
|
|
51093
51123
|
const result = await mergeCapsule({
|
|
51094
51124
|
sourceArchive,
|
|
51095
51125
|
targetRoot: memoryDir,
|
|
@@ -51244,7 +51274,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
51244
51274
|
const { parseExportBundle } = await import("./transfer/types.js");
|
|
51245
51275
|
let decryptedBuf;
|
|
51246
51276
|
try {
|
|
51247
|
-
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-
|
|
51277
|
+
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-YO5QJ6L3.js");
|
|
51248
51278
|
decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
|
|
51249
51279
|
} catch (decErr) {
|
|
51250
51280
|
const msg = decErr instanceof Error ? decErr.message : String(decErr);
|
|
@@ -53735,7 +53765,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
53735
53765
|
console.error("--verb is required. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context");
|
|
53736
53766
|
process.exit(1);
|
|
53737
53767
|
}
|
|
53738
|
-
const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-
|
|
53768
|
+
const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-A3NAI3YE.js");
|
|
53739
53769
|
if (!isValidResolutionVerb2(verb)) {
|
|
53740
53770
|
console.error(`Invalid verb: ${verb}. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context`);
|
|
53741
53771
|
process.exit(1);
|
|
@@ -62395,11 +62425,10 @@ var AccessRecallSurface = class {
|
|
|
62395
62425
|
...asOf !== void 0 ? { asOf } : {},
|
|
62396
62426
|
...request.includeLowConfidence === true ? { includeLowConfidence: true } : {},
|
|
62397
62427
|
...request.abortSignal ? { abortSignal: request.abortSignal } : {},
|
|
62398
|
-
//
|
|
62399
|
-
// the field so recall-timings stays additive and byte-identical to the
|
|
62400
|
-
// pre-#1906 uncontended path (acceptance: "record queueWaitMs ~0 or omit").
|
|
62428
|
+
// Omit queueWaitMs when 0 (#1906 uncontended path unchanged).
|
|
62401
62429
|
...typeof request.queueWaitMs === "number" && request.queueWaitMs > 0 ? { queueWaitMs: request.queueWaitMs } : {}
|
|
62402
62430
|
};
|
|
62431
|
+
if (request.searchOptions) recallOptions.searchOptions = request.searchOptions;
|
|
62403
62432
|
const startedAt = Date.now();
|
|
62404
62433
|
let reservedBudgetPrincipal = null;
|
|
62405
62434
|
let reservedBudget;
|
|
@@ -67483,4 +67512,4 @@ export {
|
|
|
67483
67512
|
EngramAccessService,
|
|
67484
67513
|
AccessAdminOpsSurface
|
|
67485
67514
|
};
|
|
67486
|
-
//# sourceMappingURL=chunk-
|
|
67515
|
+
//# sourceMappingURL=chunk-FWDVW2BD.js.map
|