@remnic/core 9.69.101 → 9.69.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.js +52 -51
- package/dist/access-authorization-probe.js +53 -52
- package/dist/access-boundary.js +52 -51
- package/dist/access-cli.js +151 -148
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +52 -51
- package/dist/access-http-briefing.js +53 -52
- package/dist/access-http-query.js +54 -53
- package/dist/access-http.js +76 -75
- package/dist/access-identity-continuity-surface.js +52 -51
- package/dist/access-lcm-surface.js +52 -51
- package/dist/access-mcp.js +65 -64
- package/dist/access-namespace-preflight.js +52 -51
- package/dist/access-observe-write-category.js +8 -8
- package/dist/access-observe-write-surface.js +52 -51
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +56 -55
- package/dist/access-operations.js +63 -62
- package/dist/access-recall-concurrency.js +52 -51
- package/dist/access-recall-response.js +52 -51
- package/dist/access-recall-surface.js +52 -51
- package/dist/access-schema.js +7 -7
- package/dist/access-service.js +52 -51
- package/dist/access-surface-catalog.js +54 -53
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +20 -19
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +14 -13
- package/dist/buffer.js +5 -5
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{capsule-merge-ZCXUPLNJ.js → capsule-merge-42GJGDUC.js} +4 -3
- package/dist/{capsule-merge-ZCXUPLNJ.js.map → capsule-merge-42GJGDUC.js.map} +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.js +17 -16
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.js +3 -3
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-UL7KDVLC.js → chunk-26DJ7FG6.js} +11 -11
- package/dist/{chunk-QCYUIZK2.js → chunk-2GSO4FEC.js} +7 -7
- package/dist/{chunk-533RHNHB.js → chunk-2JJD7GIW.js} +2 -2
- package/dist/{chunk-IOYY6ROU.js → chunk-2MMBJE53.js} +7 -7
- package/dist/{chunk-QSXEQPC4.js → chunk-2OFDC3AK.js} +2 -2
- package/dist/{chunk-5FAGCOZD.js → chunk-2U3R3DDH.js} +9 -9
- package/dist/{chunk-SCXURCVT.js → chunk-2UPTRDGM.js} +3 -3
- package/dist/{chunk-XVZA6VXC.js → chunk-3SL52JKD.js} +4 -4
- package/dist/{chunk-XEATJBNB.js → chunk-4QHWRWCF.js} +70 -70
- package/dist/{chunk-SBOCJ47I.js → chunk-5FHH4NJR.js} +6 -6
- package/dist/{chunk-V3I4NLZP.js → chunk-5GKRQBPQ.js} +2 -2
- package/dist/{chunk-PYYQCHJC.js → chunk-5PEBJUYD.js} +2 -2
- package/dist/{chunk-PEZAHDDU.js → chunk-6RWPKWCZ.js} +4 -4
- package/dist/{chunk-DSPWVQZ6.js → chunk-73R4HOOK.js} +3 -3
- package/dist/chunk-7CT3AI52.js +84 -0
- package/dist/chunk-7CT3AI52.js.map +1 -0
- package/dist/{chunk-S533KGX6.js → chunk-7X7A7KVN.js} +2 -2
- package/dist/{chunk-F5MINS3R.js → chunk-A6WNTVA7.js} +3 -3
- package/dist/{chunk-F5MINS3R.js.map → chunk-A6WNTVA7.js.map} +1 -1
- package/dist/{chunk-JZ66PN72.js → chunk-AWSP3WNM.js} +2 -2
- package/dist/{chunk-IY47KPML.js → chunk-B3OFQP5Y.js} +6 -6
- package/dist/{chunk-GNBZB43J.js → chunk-B44TVSEI.js} +2 -2
- package/dist/{chunk-4DXNOVNW.js → chunk-B454SHPU.js} +6 -6
- package/dist/{chunk-3LMOJXZR.js → chunk-BKVCTTEN.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-HWLIMQE2.js → chunk-CHDGJJV6.js} +2 -2
- package/dist/{chunk-UYPQOASU.js → chunk-CNBGAFDY.js} +2 -2
- package/dist/{chunk-CYG3K2T2.js → chunk-D42DLA4D.js} +6 -6
- package/dist/{chunk-X5TAWDRO.js → chunk-D4MXH276.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-UFIZRMQZ.js → chunk-E4XLFYHV.js} +61 -29
- package/dist/chunk-E4XLFYHV.js.map +1 -0
- package/dist/{chunk-4OXXDL3X.js → chunk-EWWK65CI.js} +2 -2
- package/dist/{chunk-DFPG47ET.js → chunk-EZ3F4YIN.js} +11 -11
- package/dist/{chunk-PNVOKGAX.js → chunk-G5I5ZT6O.js} +2 -2
- package/dist/{chunk-7Z2UKRNJ.js → chunk-GQ6ZF4LD.js} +2 -2
- package/dist/{chunk-7OA4JWP5.js → chunk-GWWHV7F3.js} +2 -2
- package/dist/chunk-H6Z3RNW3.js +330 -0
- package/dist/chunk-H6Z3RNW3.js.map +1 -0
- package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
- package/dist/{chunk-PHBH74Q6.js → chunk-HTXTVY64.js} +2 -2
- package/dist/{chunk-AXHU56C3.js → chunk-HWGFTTPS.js} +2 -2
- package/dist/{chunk-ARY6O3JN.js → chunk-HYFVZJLX.js} +2 -2
- package/dist/{chunk-2SGLMP2E.js → chunk-IDSZNHIP.js} +2 -2
- package/dist/{chunk-LO4UKPKX.js → chunk-IFCKHPY4.js} +2 -2
- package/dist/{chunk-ZHXSOMYH.js → chunk-IOMLGJHG.js} +4 -4
- package/dist/{chunk-YRULQW5J.js → chunk-ISX7GVZE.js} +4 -4
- package/dist/{chunk-5PHZSD75.js → chunk-J3ZJBX7I.js} +2 -2
- package/dist/{chunk-DINOVGA5.js → chunk-JHZOY4CJ.js} +48 -48
- package/dist/chunk-JHZOY4CJ.js.map +1 -0
- package/dist/{chunk-RFQT7IZO.js → chunk-JRDL3FGM.js} +3 -3
- package/dist/{chunk-OGZC2WUX.js → chunk-JWFTPRYD.js} +2 -2
- package/dist/{chunk-VPOAMPDD.js → chunk-K5ABKRXK.js} +59 -59
- package/dist/{chunk-P3WRFSYF.js → chunk-KMN2JE4D.js} +2 -2
- package/dist/{chunk-4MP2Q2EI.js → chunk-KN4GNQH7.js} +3 -3
- package/dist/{chunk-L6YCGS7I.js → chunk-KYUVFCT2.js} +2 -2
- package/dist/{chunk-5BVL2XUD.js → chunk-L6BUCPGI.js} +17 -17
- package/dist/{chunk-55NZVUNI.js → chunk-LP4UW5WI.js} +2 -2
- package/dist/{chunk-SF7CWSR6.js → chunk-LXJZUNLX.js} +2 -2
- package/dist/{chunk-XCB6QDL6.js → chunk-M5GVCJSJ.js} +8 -2
- package/dist/chunk-M5GVCJSJ.js.map +1 -0
- package/dist/{chunk-DGS34QSY.js → chunk-MFZACYZ6.js} +2 -2
- package/dist/{chunk-G3BW6SDE.js → chunk-NBYSCXOY.js} +3 -3
- package/dist/{chunk-KYLYXGKD.js → chunk-NIGZ3LE7.js} +2 -2
- package/dist/{chunk-JTC3PBNH.js → chunk-NN62MUZA.js} +2 -2
- package/dist/{chunk-R2TVWQLR.js → chunk-NT2Q6AHC.js} +2 -2
- package/dist/{chunk-ABGM2BN4.js → chunk-O43AAJFQ.js} +2 -2
- package/dist/{chunk-CZN53OT5.js → chunk-OC6ATPIP.js} +2 -2
- package/dist/{chunk-6Z263Z3E.js → chunk-OWV6LKNZ.js} +2 -2
- package/dist/{chunk-NM3BT2OH.js → chunk-PNZAFABF.js} +2 -2
- package/dist/{chunk-HIHN4XHL.js → chunk-PQ7EB5AD.js} +3 -3
- package/dist/{chunk-VVYLVE6R.js → chunk-PQKZLBCJ.js} +1 -1
- package/dist/{chunk-OFFW73OZ.js → chunk-PRNR47DI.js} +2 -2
- package/dist/{chunk-RZXFXKWY.js → chunk-Q3LWW7WS.js} +2 -2
- package/dist/{chunk-M7T2NKET.js → chunk-QKCGOECM.js} +2 -2
- package/dist/{chunk-Z3O53WZR.js → chunk-QWUJWBZ5.js} +2 -2
- package/dist/{chunk-HFOY2SBG.js → chunk-RYN4AIRM.js} +7 -5
- package/dist/chunk-RYN4AIRM.js.map +1 -0
- package/dist/{chunk-4LNCLZNK.js → chunk-S2GR3T7W.js} +2 -2
- package/dist/{chunk-2IWBHZ3H.js → chunk-SIGDETMB.js} +2 -2
- package/dist/{chunk-7AUIGOH4.js → chunk-SOVRTUD3.js} +2 -2
- package/dist/chunk-SP4DB6SX.js +19 -0
- package/dist/chunk-SP4DB6SX.js.map +1 -0
- package/dist/{chunk-S5R77WHV.js → chunk-SWXPR5SE.js} +2 -2
- package/dist/{chunk-3DNTFZAT.js → chunk-T32YYUT2.js} +2 -2
- package/dist/{chunk-W5JQSVPZ.js → chunk-T6RQNV7E.js} +2 -2
- package/dist/{chunk-O23QMYN4.js → chunk-TRN56SPQ.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-ZGYLPCWN.js → chunk-VO2BNAA2.js} +3 -3
- package/dist/{chunk-WVEECBCG.js → chunk-VV2MVHCJ.js} +2 -2
- package/dist/{chunk-HVDEKJJR.js → chunk-VYIBRCVW.js} +70 -61
- package/dist/chunk-VYIBRCVW.js.map +1 -0
- package/dist/{chunk-B3O3IRZN.js → chunk-VZBW6CDG.js} +1 -1
- package/dist/{chunk-JPKK466T.js → chunk-W5XWHTDO.js} +2 -2
- package/dist/{chunk-JNAOTN7B.js → chunk-XLWMNDQR.js} +4 -4
- package/dist/chunk-XLWMNDQR.js.map +1 -0
- package/dist/{chunk-DBWNTLLI.js → chunk-XM32D6YZ.js} +6 -6
- package/dist/{chunk-RP7RSENW.js → chunk-XQWKB6PY.js} +2 -2
- package/dist/{chunk-64S6X4IU.js → chunk-XTN54NML.js} +4 -4
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-Y7427SL7.js → chunk-Z6EZCN6Z.js} +10 -10
- package/dist/{chunk-5K2ALMSZ.js → chunk-ZRUC7FD3.js} +2 -2
- package/dist/cli.js +102 -101
- package/dist/coding/export-okf-codegraph.js +13 -12
- package/dist/coding/export-okf-codegraph.js.map +1 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.js +14 -13
- package/dist/config.js +20 -19
- package/dist/connectors/codex-materialize-runner.js +14 -13
- package/dist/connectors/index.js +14 -13
- package/dist/consolidation-provenance-check.js +4 -3
- package/dist/consolidation-undo.js +3 -2
- package/dist/consolidation-undo.js.map +1 -1
- package/dist/contradiction/index.js +3 -2
- package/dist/convergence-refresh.js +16 -15
- package/dist/corpus-watermark.js +16 -15
- package/dist/dashboard-runtime.js +2 -2
- package/dist/deep-recall-http-glue.js +8 -8
- package/dist/deep-recall.js +2 -2
- package/dist/entity-mention-carry.d.ts +16 -0
- package/dist/entity-mention-carry.d.ts.map +1 -0
- package/dist/entity-mention-carry.js +8 -0
- package/dist/entity-mention-epoch.d.ts +22 -0
- package/dist/entity-mention-epoch.d.ts.map +1 -0
- package/dist/entity-mention-epoch.js +8 -0
- package/dist/entity-mention-index-cache.d.ts +28 -0
- package/dist/entity-mention-index-cache.d.ts.map +1 -0
- package/dist/entity-mention-index-cache.js +29 -0
- package/dist/entity-mention-index-cache.js.map +1 -0
- package/dist/entity-retrieval.d.ts.map +1 -1
- package/dist/entity-retrieval.js +18 -15
- package/dist/event-order-recall.js +2 -2
- package/dist/external-wiki-access.js +53 -52
- package/dist/extraction-span-materialize.js +2 -2
- package/dist/extraction.js +21 -20
- package/dist/{graph-edge-decay-MKIRZ762.js → graph-edge-decay-PVKDKLQK.js} +6 -6
- package/dist/graph-edge-decay-PVKDKLQK.js.map +1 -0
- package/dist/graph-jsonl.js +4 -4
- package/dist/graph-snapshot.js +4 -4
- package/dist/graph.js +5 -5
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.js +186 -183
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.js +13 -13
- package/dist/location/index.js +16 -15
- package/dist/maintenance/memory-governance.js +14 -13
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -13
- package/dist/maintenance/rebuild-memory-projection.js +15 -14
- package/dist/memory-browse-operations.js +53 -52
- package/dist/memory-browse.js +5 -5
- package/dist/memory-corpus-version.d.ts +8 -3
- package/dist/memory-corpus-version.d.ts.map +1 -1
- package/dist/memory-corpus-version.js +2 -1
- package/dist/namespaces/migrate.js +15 -14
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.js +14 -13
- 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 +7 -7
- package/dist/operator-doctor-corpus.js +17 -16
- package/dist/operator-toolkit.js +33 -32
- package/dist/orchestration/maintenance.js +22 -21
- package/dist/orchestrator.js +151 -148
- package/dist/page-versioning.js +3 -2
- package/dist/preferences/preference-drift.d.ts.map +1 -1
- package/dist/procedural/library-maintenance.d.ts.map +1 -1
- package/dist/qmd.js +4 -4
- package/dist/recall-navigation-operations.js +53 -52
- package/dist/recall-navigation.js +52 -51
- package/dist/recall-state-view-admission.js +5 -5
- package/dist/recall-why-service.js +5 -5
- package/dist/{resolution-BROE3TRO.js → resolution-RSG4HZTL.js} +4 -3
- package/dist/resolution-RSG4HZTL.js.map +1 -0
- package/dist/resume-bundles.js +21 -20
- package/dist/search/factory.js +6 -6
- package/dist/search/index.js +12 -12
- package/dist/semantic-consolidation.js +15 -14
- package/dist/semantic-rule-promotion.js +14 -13
- package/dist/semantic-rule-verifier.js +14 -13
- package/dist/source-agent-qualifier.js +17 -16
- package/dist/standup/build.js +14 -13
- package/dist/storage/entity-mention-frontmatter-hold.d.ts +14 -0
- package/dist/storage/entity-mention-frontmatter-hold.d.ts.map +1 -0
- package/dist/storage.d.ts +13 -9
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +13 -12
- package/dist/support-passport/index.js +55 -54
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +5 -4
- package/dist/transfer/export-okf.js +14 -13
- package/dist/verified-recall.js +14 -13
- package/dist/who-knows-cli.js +15 -14
- package/dist/who-knows.js +14 -13
- package/package.json +2 -2
- package/src/entity-mention-carry.ts +31 -0
- package/src/entity-mention-epoch.ts +120 -0
- package/src/entity-mention-index-cache.ts +443 -0
- package/src/entity-retrieval.ts +72 -71
- package/src/maintenance/rebuild-memory-projection.ts +1 -1
- package/src/memory-corpus-version.ts +13 -3
- package/src/preferences/preference-drift.ts +5 -3
- package/src/procedural/library-maintenance.ts +4 -3
- package/src/semantic-rule-promotion.ts +1 -1
- package/src/storage/entity-mention-frontmatter-hold.ts +44 -0
- package/src/storage.ts +40 -38
- package/dist/chunk-DINOVGA5.js.map +0 -1
- package/dist/chunk-HFOY2SBG.js.map +0 -1
- package/dist/chunk-HVDEKJJR.js.map +0 -1
- package/dist/chunk-JNAOTN7B.js.map +0 -1
- package/dist/chunk-UFIZRMQZ.js.map +0 -1
- package/dist/chunk-XCB6QDL6.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-UL7KDVLC.js.map → chunk-26DJ7FG6.js.map} +0 -0
- /package/dist/{chunk-QCYUIZK2.js.map → chunk-2GSO4FEC.js.map} +0 -0
- /package/dist/{chunk-533RHNHB.js.map → chunk-2JJD7GIW.js.map} +0 -0
- /package/dist/{chunk-IOYY6ROU.js.map → chunk-2MMBJE53.js.map} +0 -0
- /package/dist/{chunk-QSXEQPC4.js.map → chunk-2OFDC3AK.js.map} +0 -0
- /package/dist/{chunk-5FAGCOZD.js.map → chunk-2U3R3DDH.js.map} +0 -0
- /package/dist/{chunk-SCXURCVT.js.map → chunk-2UPTRDGM.js.map} +0 -0
- /package/dist/{chunk-XVZA6VXC.js.map → chunk-3SL52JKD.js.map} +0 -0
- /package/dist/{chunk-XEATJBNB.js.map → chunk-4QHWRWCF.js.map} +0 -0
- /package/dist/{chunk-SBOCJ47I.js.map → chunk-5FHH4NJR.js.map} +0 -0
- /package/dist/{chunk-V3I4NLZP.js.map → chunk-5GKRQBPQ.js.map} +0 -0
- /package/dist/{chunk-PYYQCHJC.js.map → chunk-5PEBJUYD.js.map} +0 -0
- /package/dist/{chunk-PEZAHDDU.js.map → chunk-6RWPKWCZ.js.map} +0 -0
- /package/dist/{chunk-DSPWVQZ6.js.map → chunk-73R4HOOK.js.map} +0 -0
- /package/dist/{chunk-S533KGX6.js.map → chunk-7X7A7KVN.js.map} +0 -0
- /package/dist/{chunk-JZ66PN72.js.map → chunk-AWSP3WNM.js.map} +0 -0
- /package/dist/{chunk-IY47KPML.js.map → chunk-B3OFQP5Y.js.map} +0 -0
- /package/dist/{chunk-GNBZB43J.js.map → chunk-B44TVSEI.js.map} +0 -0
- /package/dist/{chunk-4DXNOVNW.js.map → chunk-B454SHPU.js.map} +0 -0
- /package/dist/{chunk-3LMOJXZR.js.map → chunk-BKVCTTEN.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-HWLIMQE2.js.map → chunk-CHDGJJV6.js.map} +0 -0
- /package/dist/{chunk-UYPQOASU.js.map → chunk-CNBGAFDY.js.map} +0 -0
- /package/dist/{chunk-CYG3K2T2.js.map → chunk-D42DLA4D.js.map} +0 -0
- /package/dist/{chunk-X5TAWDRO.js.map → chunk-D4MXH276.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-4OXXDL3X.js.map → chunk-EWWK65CI.js.map} +0 -0
- /package/dist/{chunk-DFPG47ET.js.map → chunk-EZ3F4YIN.js.map} +0 -0
- /package/dist/{chunk-PNVOKGAX.js.map → chunk-G5I5ZT6O.js.map} +0 -0
- /package/dist/{chunk-7Z2UKRNJ.js.map → chunk-GQ6ZF4LD.js.map} +0 -0
- /package/dist/{chunk-7OA4JWP5.js.map → chunk-GWWHV7F3.js.map} +0 -0
- /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
- /package/dist/{chunk-PHBH74Q6.js.map → chunk-HTXTVY64.js.map} +0 -0
- /package/dist/{chunk-AXHU56C3.js.map → chunk-HWGFTTPS.js.map} +0 -0
- /package/dist/{chunk-ARY6O3JN.js.map → chunk-HYFVZJLX.js.map} +0 -0
- /package/dist/{chunk-2SGLMP2E.js.map → chunk-IDSZNHIP.js.map} +0 -0
- /package/dist/{chunk-LO4UKPKX.js.map → chunk-IFCKHPY4.js.map} +0 -0
- /package/dist/{chunk-ZHXSOMYH.js.map → chunk-IOMLGJHG.js.map} +0 -0
- /package/dist/{chunk-YRULQW5J.js.map → chunk-ISX7GVZE.js.map} +0 -0
- /package/dist/{chunk-5PHZSD75.js.map → chunk-J3ZJBX7I.js.map} +0 -0
- /package/dist/{chunk-RFQT7IZO.js.map → chunk-JRDL3FGM.js.map} +0 -0
- /package/dist/{chunk-OGZC2WUX.js.map → chunk-JWFTPRYD.js.map} +0 -0
- /package/dist/{chunk-VPOAMPDD.js.map → chunk-K5ABKRXK.js.map} +0 -0
- /package/dist/{chunk-P3WRFSYF.js.map → chunk-KMN2JE4D.js.map} +0 -0
- /package/dist/{chunk-4MP2Q2EI.js.map → chunk-KN4GNQH7.js.map} +0 -0
- /package/dist/{chunk-L6YCGS7I.js.map → chunk-KYUVFCT2.js.map} +0 -0
- /package/dist/{chunk-5BVL2XUD.js.map → chunk-L6BUCPGI.js.map} +0 -0
- /package/dist/{chunk-55NZVUNI.js.map → chunk-LP4UW5WI.js.map} +0 -0
- /package/dist/{chunk-SF7CWSR6.js.map → chunk-LXJZUNLX.js.map} +0 -0
- /package/dist/{chunk-DGS34QSY.js.map → chunk-MFZACYZ6.js.map} +0 -0
- /package/dist/{chunk-G3BW6SDE.js.map → chunk-NBYSCXOY.js.map} +0 -0
- /package/dist/{chunk-KYLYXGKD.js.map → chunk-NIGZ3LE7.js.map} +0 -0
- /package/dist/{chunk-JTC3PBNH.js.map → chunk-NN62MUZA.js.map} +0 -0
- /package/dist/{chunk-R2TVWQLR.js.map → chunk-NT2Q6AHC.js.map} +0 -0
- /package/dist/{chunk-ABGM2BN4.js.map → chunk-O43AAJFQ.js.map} +0 -0
- /package/dist/{chunk-CZN53OT5.js.map → chunk-OC6ATPIP.js.map} +0 -0
- /package/dist/{chunk-6Z263Z3E.js.map → chunk-OWV6LKNZ.js.map} +0 -0
- /package/dist/{chunk-NM3BT2OH.js.map → chunk-PNZAFABF.js.map} +0 -0
- /package/dist/{chunk-HIHN4XHL.js.map → chunk-PQ7EB5AD.js.map} +0 -0
- /package/dist/{chunk-VVYLVE6R.js.map → chunk-PQKZLBCJ.js.map} +0 -0
- /package/dist/{chunk-OFFW73OZ.js.map → chunk-PRNR47DI.js.map} +0 -0
- /package/dist/{chunk-RZXFXKWY.js.map → chunk-Q3LWW7WS.js.map} +0 -0
- /package/dist/{chunk-M7T2NKET.js.map → chunk-QKCGOECM.js.map} +0 -0
- /package/dist/{chunk-Z3O53WZR.js.map → chunk-QWUJWBZ5.js.map} +0 -0
- /package/dist/{chunk-4LNCLZNK.js.map → chunk-S2GR3T7W.js.map} +0 -0
- /package/dist/{chunk-2IWBHZ3H.js.map → chunk-SIGDETMB.js.map} +0 -0
- /package/dist/{chunk-7AUIGOH4.js.map → chunk-SOVRTUD3.js.map} +0 -0
- /package/dist/{chunk-S5R77WHV.js.map → chunk-SWXPR5SE.js.map} +0 -0
- /package/dist/{chunk-3DNTFZAT.js.map → chunk-T32YYUT2.js.map} +0 -0
- /package/dist/{chunk-W5JQSVPZ.js.map → chunk-T6RQNV7E.js.map} +0 -0
- /package/dist/{chunk-O23QMYN4.js.map → chunk-TRN56SPQ.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-ZGYLPCWN.js.map → chunk-VO2BNAA2.js.map} +0 -0
- /package/dist/{chunk-WVEECBCG.js.map → chunk-VV2MVHCJ.js.map} +0 -0
- /package/dist/{chunk-B3O3IRZN.js.map → chunk-VZBW6CDG.js.map} +0 -0
- /package/dist/{chunk-JPKK466T.js.map → chunk-W5XWHTDO.js.map} +0 -0
- /package/dist/{chunk-DBWNTLLI.js.map → chunk-XM32D6YZ.js.map} +0 -0
- /package/dist/{chunk-RP7RSENW.js.map → chunk-XQWKB6PY.js.map} +0 -0
- /package/dist/{chunk-64S6X4IU.js.map → chunk-XTN54NML.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-Y7427SL7.js.map → chunk-Z6EZCN6Z.js.map} +0 -0
- /package/dist/{chunk-5K2ALMSZ.js.map → chunk-ZRUC7FD3.js.map} +0 -0
- /package/dist/{graph-edge-decay-MKIRZ762.js.map → entity-mention-carry.js.map} +0 -0
- /package/dist/{resolution-BROE3TRO.js.map → entity-mention-epoch.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZCUTSMR2.js";
|
|
14
14
|
import {
|
|
15
15
|
StorageManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E4XLFYHV.js";
|
|
17
17
|
import {
|
|
18
18
|
excludeSupportPassportPrivateMemories
|
|
19
19
|
} from "./chunk-PWPIERBM.js";
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
runCodexMaterialize,
|
|
135
135
|
runPostConsolidationMaterialize
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-EWWK65CI.js.map
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RemoteSearchBackend
|
|
3
|
-
} from "./chunk-7VO6E5UD.js";
|
|
4
|
-
import {
|
|
5
|
-
EmbedHelper
|
|
6
|
-
} from "./chunk-5BUCKFRE.js";
|
|
7
|
-
import {
|
|
8
|
-
LanceDbBackend
|
|
9
|
-
} from "./chunk-S7LWX2PQ.js";
|
|
10
1
|
import {
|
|
11
2
|
MeilisearchBackend
|
|
12
3
|
} from "./chunk-T2YX56QI.js";
|
|
@@ -16,6 +7,15 @@ import {
|
|
|
16
7
|
import {
|
|
17
8
|
OramaBackend
|
|
18
9
|
} from "./chunk-T3FMRLWQ.js";
|
|
10
|
+
import {
|
|
11
|
+
RemoteSearchBackend
|
|
12
|
+
} from "./chunk-7VO6E5UD.js";
|
|
13
|
+
import {
|
|
14
|
+
EmbedHelper
|
|
15
|
+
} from "./chunk-5BUCKFRE.js";
|
|
16
|
+
import {
|
|
17
|
+
LanceDbBackend
|
|
18
|
+
} from "./chunk-S7LWX2PQ.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-B3OFQP5Y.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-EZ3F4YIN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCorpusNamespaceRoots
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TRN56SPQ.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-IG747LRN.js";
|
|
@@ -200,4 +200,4 @@ async function readAggregateExtractionWatermark(options) {
|
|
|
200
200
|
export {
|
|
201
201
|
readAggregateExtractionWatermark
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-G5I5ZT6O.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-H3FZVNRN.js";
|
|
14
14
|
import {
|
|
15
15
|
ExtractionDeadlineError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7X7A7KVN.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePrincipal
|
|
19
19
|
} from "./chunk-OEIA4IHU.js";
|
|
@@ -801,4 +801,4 @@ var SmartBuffer = class {
|
|
|
801
801
|
export {
|
|
802
802
|
SmartBuffer
|
|
803
803
|
};
|
|
804
|
-
//# sourceMappingURL=chunk-
|
|
804
|
+
//# sourceMappingURL=chunk-GQ6ZF4LD.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7T4TOGMS.js";
|
|
4
4
|
import {
|
|
5
5
|
defineOperation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHZOY4CJ.js";
|
|
7
7
|
|
|
8
8
|
// src/external-wiki-access.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -26,4 +26,4 @@ var externalWikiSearchOperation = defineOperation({
|
|
|
26
26
|
export {
|
|
27
27
|
externalWikiSearchOperation
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-GWWHV7F3.js.map
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import {
|
|
2
|
+
entityMentionEpoch
|
|
3
|
+
} from "./chunk-7CT3AI52.js";
|
|
4
|
+
import {
|
|
5
|
+
raceAbort
|
|
6
|
+
} from "./chunk-BTTPKDIL.js";
|
|
7
|
+
import {
|
|
8
|
+
log
|
|
9
|
+
} from "./chunk-3WCASNQZ.js";
|
|
10
|
+
|
|
11
|
+
// src/entity-mention-index-cache.ts
|
|
12
|
+
import path from "path";
|
|
13
|
+
import { mkdir, readFile, rm, writeFile } from "fs/promises";
|
|
14
|
+
var MAX_SLOTS = 32;
|
|
15
|
+
var SETTLE_ROUNDS = 8;
|
|
16
|
+
var slots = /* @__PURE__ */ new Map();
|
|
17
|
+
var rebuildsByScope = /* @__PURE__ */ new Map();
|
|
18
|
+
var GENERATION_STRIDE = 1e9;
|
|
19
|
+
var clearEpoch = 0;
|
|
20
|
+
var localGenerationByDir = /* @__PURE__ */ new Map();
|
|
21
|
+
var publishedGenerationByDir = /* @__PURE__ */ new Map();
|
|
22
|
+
var persistTailByDir = /* @__PURE__ */ new Map();
|
|
23
|
+
function resolveMentionDir(dir) {
|
|
24
|
+
return path.resolve(dir);
|
|
25
|
+
}
|
|
26
|
+
function entityMentionCacheGeneration(dir) {
|
|
27
|
+
const resolved = resolveMentionDir(dir);
|
|
28
|
+
return clearEpoch * GENERATION_STRIDE + (localGenerationByDir.get(resolved) ?? 0);
|
|
29
|
+
}
|
|
30
|
+
function entityMentionPersistedIndexReadable(dir) {
|
|
31
|
+
const resolved = resolveMentionDir(dir);
|
|
32
|
+
const local = localGenerationByDir.get(resolved) ?? 0;
|
|
33
|
+
if (clearEpoch === 0 && local === 0) return true;
|
|
34
|
+
return publishedGenerationByDir.get(resolved) === entityMentionCacheGeneration(resolved);
|
|
35
|
+
}
|
|
36
|
+
function dirsInScope(scopeKey) {
|
|
37
|
+
const nsEnd = scopeKey.indexOf("");
|
|
38
|
+
const storageEnd = nsEnd === -1 ? -1 : scopeKey.indexOf("", nsEnd + 1);
|
|
39
|
+
if (nsEnd === -1 || storageEnd === -1) return [];
|
|
40
|
+
return scopeKey.slice(nsEnd + 1, storageEnd).split("").map((part) => part.split("")[0] ?? "").filter((dir) => dir.length > 0).map((dir) => resolveMentionDir(dir));
|
|
41
|
+
}
|
|
42
|
+
function persistedMentionIndexFiles(scopeKey) {
|
|
43
|
+
return dirsInScope(scopeKey).map((dir) => path.join(dir, "state", "entity-mention-index.json"));
|
|
44
|
+
}
|
|
45
|
+
function bumpScopeDirs(scopeKey) {
|
|
46
|
+
for (const dir of dirsInScope(scopeKey)) {
|
|
47
|
+
localGenerationByDir.set(dir, (localGenerationByDir.get(dir) ?? 0) + 1);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function captureDirGenerations(scopeKey) {
|
|
51
|
+
const captured = /* @__PURE__ */ new Map();
|
|
52
|
+
for (const dir of dirsInScope(scopeKey)) captured.set(dir, entityMentionCacheGeneration(dir));
|
|
53
|
+
return captured;
|
|
54
|
+
}
|
|
55
|
+
function generationsCurrent(captured) {
|
|
56
|
+
for (const [dir, generation] of captured) {
|
|
57
|
+
if (entityMentionCacheGeneration(dir) !== generation) return false;
|
|
58
|
+
}
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
function publishDirGenerations(captured) {
|
|
62
|
+
for (const [dir, generation] of captured) {
|
|
63
|
+
if (entityMentionCacheGeneration(dir) === generation) publishedGenerationByDir.set(dir, generation);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
async function writePersistedEntityMentionIndex(dir, generation, content) {
|
|
67
|
+
const resolved = resolveMentionDir(dir);
|
|
68
|
+
const previous = persistTailByDir.get(resolved) ?? Promise.resolve();
|
|
69
|
+
const run = previous.catch(() => void 0).then(async () => {
|
|
70
|
+
if (entityMentionCacheGeneration(resolved) !== generation) return;
|
|
71
|
+
const file = path.join(resolved, "state", "entity-mention-index.json");
|
|
72
|
+
await mkdir(path.dirname(file), { recursive: true });
|
|
73
|
+
const current = await readFile(file, "utf-8").catch(() => "");
|
|
74
|
+
if (current === content) return;
|
|
75
|
+
if (entityMentionCacheGeneration(resolved) !== generation) return;
|
|
76
|
+
await writeFile(file, content, "utf-8");
|
|
77
|
+
});
|
|
78
|
+
persistTailByDir.set(resolved, run.then(() => void 0, () => void 0));
|
|
79
|
+
await run;
|
|
80
|
+
}
|
|
81
|
+
function discardPersistedMentionIndex(scopeKey) {
|
|
82
|
+
for (const file of persistedMentionIndexFiles(scopeKey)) {
|
|
83
|
+
void rm(file, { force: true }).catch(() => void 0);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function throwIfMentionAborted(signal) {
|
|
87
|
+
if (!signal?.aborted) return;
|
|
88
|
+
const reason = signal.reason;
|
|
89
|
+
throw reason instanceof Error ? reason : new Error("entity mention rebuild aborted");
|
|
90
|
+
}
|
|
91
|
+
function compareStrings(left, right) {
|
|
92
|
+
if (left < right) return -1;
|
|
93
|
+
if (left > right) return 1;
|
|
94
|
+
return 0;
|
|
95
|
+
}
|
|
96
|
+
function deduped(values) {
|
|
97
|
+
const seen = /* @__PURE__ */ new Set();
|
|
98
|
+
const out = [];
|
|
99
|
+
for (const value of values) {
|
|
100
|
+
const trimmed = value.trim();
|
|
101
|
+
if (trimmed.length === 0 || seen.has(trimmed)) continue;
|
|
102
|
+
seen.add(trimmed);
|
|
103
|
+
out.push(trimmed);
|
|
104
|
+
}
|
|
105
|
+
return out;
|
|
106
|
+
}
|
|
107
|
+
function sameIdentity(left, right) {
|
|
108
|
+
return left.mentionEpoch === right.mentionEpoch && left.entityMutation === right.entityMutation;
|
|
109
|
+
}
|
|
110
|
+
function noteRebuild(scopeKey) {
|
|
111
|
+
rebuildsByScope.set(scopeKey, (rebuildsByScope.get(scopeKey) ?? 0) + 1);
|
|
112
|
+
}
|
|
113
|
+
function scopeFamily(scopeKey) {
|
|
114
|
+
const nsEnd = scopeKey.indexOf("");
|
|
115
|
+
const storageEnd = nsEnd === -1 ? -1 : scopeKey.indexOf("", nsEnd + 1);
|
|
116
|
+
const namespaceKey = nsEnd === -1 ? scopeKey : scopeKey.slice(0, nsEnd);
|
|
117
|
+
const storageKey = nsEnd === -1 || storageEnd === -1 ? "" : scopeKey.slice(nsEnd + 1, storageEnd);
|
|
118
|
+
const dirs = storageKey.split("").map((part) => part.split("")[0] ?? "").join("");
|
|
119
|
+
return `${namespaceKey}${dirs}`;
|
|
120
|
+
}
|
|
121
|
+
function forgetScope(scopeKey, bumpPersisted = false) {
|
|
122
|
+
const slot = slots.get(scopeKey);
|
|
123
|
+
if (slot) {
|
|
124
|
+
slot.token += 1;
|
|
125
|
+
slot.again = false;
|
|
126
|
+
}
|
|
127
|
+
if (bumpPersisted) bumpScopeDirs(scopeKey);
|
|
128
|
+
slots.delete(scopeKey);
|
|
129
|
+
rebuildsByScope.delete(scopeKey);
|
|
130
|
+
}
|
|
131
|
+
function evictOldest(scopeKey) {
|
|
132
|
+
if (slots.size < MAX_SLOTS || slots.has(scopeKey)) return;
|
|
133
|
+
const oldest = slots.keys().next().value;
|
|
134
|
+
if (typeof oldest === "string") forgetScope(oldest);
|
|
135
|
+
}
|
|
136
|
+
function evictSameFamily(scopeKey) {
|
|
137
|
+
const family = scopeFamily(scopeKey);
|
|
138
|
+
for (const key of [...slots.keys()]) {
|
|
139
|
+
if (key !== scopeKey && scopeFamily(key) === family) forgetScope(key, true);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function wantsSnippetReconcile(index) {
|
|
143
|
+
return !!index && typeof index === "object" && index.pendingSnippetReconcile === true;
|
|
144
|
+
}
|
|
145
|
+
function armRebuild(slot) {
|
|
146
|
+
if (!slot.rebuild) slot.followUps = 1;
|
|
147
|
+
startRebuild(slot);
|
|
148
|
+
}
|
|
149
|
+
function startRebuild(slot) {
|
|
150
|
+
if (slot.rebuild) return;
|
|
151
|
+
const token = slot.token;
|
|
152
|
+
const captured = captureDirGenerations(slot.scopeKey);
|
|
153
|
+
noteRebuild(slot.scopeKey);
|
|
154
|
+
const started = slot.currentIdentity();
|
|
155
|
+
slot.again = false;
|
|
156
|
+
const handle = { pending: null };
|
|
157
|
+
handle.pending = slot.buildFull(void 0).then((index) => {
|
|
158
|
+
if (slot.token !== token || !generationsCurrent(captured)) return;
|
|
159
|
+
publishDirGenerations(captured);
|
|
160
|
+
const ended = slot.currentIdentity();
|
|
161
|
+
slot.index = index;
|
|
162
|
+
if (sameIdentity(started, ended)) {
|
|
163
|
+
slot.identity = ended;
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
slot.identity = started;
|
|
167
|
+
slot.again = true;
|
|
168
|
+
}).catch((err) => {
|
|
169
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
170
|
+
log.warn(`entity mention index rebuild failed: ${message}`);
|
|
171
|
+
}).finally(() => {
|
|
172
|
+
if (slot.rebuild === handle.pending) slot.rebuild = null;
|
|
173
|
+
if (!slot.again || slot.followUps <= 0) return;
|
|
174
|
+
slot.again = false;
|
|
175
|
+
slot.followUps -= 1;
|
|
176
|
+
startRebuild(slot);
|
|
177
|
+
});
|
|
178
|
+
slot.rebuild = handle.pending;
|
|
179
|
+
}
|
|
180
|
+
function entityMentionScopeKey(namespaces, storages, nativeRevision) {
|
|
181
|
+
const namespaceKey = deduped(namespaces ?? []).join("");
|
|
182
|
+
const storageKey = storages.map((storage) => {
|
|
183
|
+
const aliases = Object.entries(storage.entityAliases ?? {}).sort(
|
|
184
|
+
([left], [right]) => compareStrings(left, right)
|
|
185
|
+
);
|
|
186
|
+
return `${path.resolve(storage.dir)}${storage.hotCacheKeyId?.() ?? ""}${JSON.stringify(aliases)}`;
|
|
187
|
+
}).join("");
|
|
188
|
+
return `${namespaceKey}${storageKey}${nativeRevision}`;
|
|
189
|
+
}
|
|
190
|
+
function entityMentionIdentity(storages) {
|
|
191
|
+
return {
|
|
192
|
+
mentionEpoch: storages.map((storage) => String(entityMentionEpoch.current(storage.dir))).join(""),
|
|
193
|
+
entityMutation: storages.map((storage) => String(storage.getEntityMutationVersion?.() ?? 0)).join("")
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
function entityMentionFullRebuildsStarted(scopeKey) {
|
|
197
|
+
return rebuildsByScope.get(scopeKey) ?? 0;
|
|
198
|
+
}
|
|
199
|
+
function entityMentionIndexScopeKeys() {
|
|
200
|
+
return [...slots.keys()];
|
|
201
|
+
}
|
|
202
|
+
function dropEntityMentionIndexCache(scopeKey) {
|
|
203
|
+
if (scopeKey === void 0) {
|
|
204
|
+
clearEpoch += 1;
|
|
205
|
+
for (const key of [...slots.keys()]) {
|
|
206
|
+
discardPersistedMentionIndex(key);
|
|
207
|
+
forgetScope(key);
|
|
208
|
+
}
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
discardPersistedMentionIndex(scopeKey);
|
|
212
|
+
forgetScope(scopeKey, true);
|
|
213
|
+
}
|
|
214
|
+
async function settleEntityMentionIndex(scopeKey) {
|
|
215
|
+
const matches = (slot) => scopeKey === void 0 || slot.scopeKey === scopeKey;
|
|
216
|
+
for (let round = 0; round < SETTLE_ROUNDS; round += 1) {
|
|
217
|
+
for (const slot of slots.values()) {
|
|
218
|
+
if (!matches(slot)) continue;
|
|
219
|
+
if (!slot.rebuild && slot.again) {
|
|
220
|
+
slot.again = false;
|
|
221
|
+
startRebuild(slot);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
const pending = [...slots.values()].filter((slot) => matches(slot) && slot.rebuild).map((slot) => slot.rebuild);
|
|
225
|
+
if (pending.length === 0) return;
|
|
226
|
+
await Promise.all(pending);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
async function resolveEntityMentionIndex(options) {
|
|
230
|
+
const live = options.currentIdentity();
|
|
231
|
+
const existing = slots.get(options.scopeKey);
|
|
232
|
+
if (!existing) {
|
|
233
|
+
evictSameFamily(options.scopeKey);
|
|
234
|
+
evictOldest(options.scopeKey);
|
|
235
|
+
noteRebuild(options.scopeKey);
|
|
236
|
+
const captured = captureDirGenerations(options.scopeKey);
|
|
237
|
+
const started = options.currentIdentity();
|
|
238
|
+
const index = await options.buildFull(options.abortSignal);
|
|
239
|
+
if (!generationsCurrent(captured)) return index;
|
|
240
|
+
publishDirGenerations(captured);
|
|
241
|
+
const ended = options.currentIdentity();
|
|
242
|
+
evictSameFamily(options.scopeKey);
|
|
243
|
+
evictOldest(options.scopeKey);
|
|
244
|
+
const slot = {
|
|
245
|
+
scopeKey: options.scopeKey,
|
|
246
|
+
index,
|
|
247
|
+
identity: sameIdentity(started, ended) ? ended : started,
|
|
248
|
+
token: 0,
|
|
249
|
+
rebuild: null,
|
|
250
|
+
entityJob: null,
|
|
251
|
+
again: false,
|
|
252
|
+
followUps: 0,
|
|
253
|
+
currentIdentity: options.currentIdentity,
|
|
254
|
+
buildFull: options.buildFull
|
|
255
|
+
};
|
|
256
|
+
slots.set(options.scopeKey, slot);
|
|
257
|
+
if (!sameIdentity(started, ended)) armRebuild(slot);
|
|
258
|
+
return index;
|
|
259
|
+
}
|
|
260
|
+
existing.currentIdentity = options.currentIdentity;
|
|
261
|
+
existing.buildFull = options.buildFull;
|
|
262
|
+
while (existing.identity.entityMutation !== options.currentIdentity().entityMutation) {
|
|
263
|
+
throwIfMentionAborted(options.abortSignal);
|
|
264
|
+
const pending = existing.entityJob;
|
|
265
|
+
if (pending) {
|
|
266
|
+
await raceAbort(pending, options.abortSignal, "entity mention rebuild aborted");
|
|
267
|
+
continue;
|
|
268
|
+
}
|
|
269
|
+
const liveNow = options.currentIdentity();
|
|
270
|
+
const epochBefore = existing.identity.mentionEpoch;
|
|
271
|
+
const mutationBefore = liveNow.entityMutation;
|
|
272
|
+
let release = () => {
|
|
273
|
+
};
|
|
274
|
+
const gate = new Promise((resolve) => {
|
|
275
|
+
release = resolve;
|
|
276
|
+
});
|
|
277
|
+
existing.entityJob = gate;
|
|
278
|
+
existing.token += 1;
|
|
279
|
+
existing.again = false;
|
|
280
|
+
const token = existing.token;
|
|
281
|
+
const captured = captureDirGenerations(existing.scopeKey);
|
|
282
|
+
const scan = options.rebuildEntities(existing.index, void 0);
|
|
283
|
+
void scan.then(
|
|
284
|
+
(rebuilt2) => {
|
|
285
|
+
if (existing.token !== token || !generationsCurrent(captured)) return;
|
|
286
|
+
const now = options.currentIdentity();
|
|
287
|
+
existing.index = rebuilt2;
|
|
288
|
+
const epochStable = epochBefore === liveNow.mentionEpoch && epochBefore === now.mentionEpoch;
|
|
289
|
+
const mutationStable = mutationBefore === now.entityMutation;
|
|
290
|
+
existing.identity = {
|
|
291
|
+
entityMutation: mutationStable ? now.entityMutation : mutationBefore,
|
|
292
|
+
mentionEpoch: epochStable ? now.mentionEpoch : epochBefore
|
|
293
|
+
};
|
|
294
|
+
if (existing.identity.mentionEpoch !== now.mentionEpoch || wantsSnippetReconcile(rebuilt2)) {
|
|
295
|
+
armRebuild(existing);
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
() => {
|
|
299
|
+
}
|
|
300
|
+
).finally(() => {
|
|
301
|
+
if (existing.entityJob === gate) existing.entityJob = null;
|
|
302
|
+
release();
|
|
303
|
+
});
|
|
304
|
+
const rebuilt = await raceAbort(scan, options.abortSignal, "entity mention rebuild aborted");
|
|
305
|
+
throwIfMentionAborted(options.abortSignal);
|
|
306
|
+
return rebuilt;
|
|
307
|
+
}
|
|
308
|
+
if (existing.identity.mentionEpoch !== live.mentionEpoch) {
|
|
309
|
+
armRebuild(existing);
|
|
310
|
+
return existing.index;
|
|
311
|
+
}
|
|
312
|
+
return existing.index;
|
|
313
|
+
}
|
|
314
|
+
entityMentionEpoch.registerReset(() => {
|
|
315
|
+
dropEntityMentionIndexCache();
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
export {
|
|
319
|
+
entityMentionCacheGeneration,
|
|
320
|
+
entityMentionPersistedIndexReadable,
|
|
321
|
+
writePersistedEntityMentionIndex,
|
|
322
|
+
entityMentionScopeKey,
|
|
323
|
+
entityMentionIdentity,
|
|
324
|
+
entityMentionFullRebuildsStarted,
|
|
325
|
+
entityMentionIndexScopeKeys,
|
|
326
|
+
dropEntityMentionIndexCache,
|
|
327
|
+
settleEntityMentionIndex,
|
|
328
|
+
resolveEntityMentionIndex
|
|
329
|
+
};
|
|
330
|
+
//# sourceMappingURL=chunk-H6Z3RNW3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/entity-mention-index-cache.ts"],"sourcesContent":["import path from \"node:path\";\nimport { mkdir, readFile, rm, writeFile } from \"node:fs/promises\";\nimport { raceAbort } from \"./abort-error.js\";\nimport { entityMentionEpoch } from \"./entity-mention-epoch.js\";\nimport { log } from \"./logger.js\";\n\n/**\n * In-memory entity mention index.\n *\n * Scope (namespaces, dirs, secure-store key, alias map, native revision) is\n * the cache key. Mention epoch and entity-file mutation are identity inside\n * the slot, not part of the key:\n *\n * - metadata-only corpus bumps do not move the epoch, so the next recall hits\n * - entity-file changes rebuild from entity files before the recall returns,\n * reusing memory snippets (no fact scan). A new entity is visible on that\n * recall; its memory snippets arrive with the next full reconcile. A new\n * canonical id schedules that reconcile. Callers share one scan. One\n * caller's abort stops that caller waiting and leaves the scan running\n * for the others\n * - memory create/edit/delete moves the epoch. The recall serves the last\n * index immediately and one background reconcile runs, plus at most one\n * follow-up if that scan overlaps a later write. A recall during either\n * scan does not grant another follow-up. Further rescans wait for the\n * next recall. After writes quiesce and `settleEntityMentionIndex`\n * finishes, the index matches a full rebuild\n * - secure-store key, alias map, and native revision stay in the key, so a\n * change is a miss and awaits a full rebuild. A locked store never reads\n * another key's plaintext. Evicting that older scope also stops its scan\n * from publishing the persisted index\n * - a persisted index is readable per storage root. A process-wide cache\n * clear blocks every root until that root's own post-clear build publishes.\n * One root publishing does not reopen another root's file\n */\n\nconst MAX_SLOTS = 32;\nconst SETTLE_ROUNDS = 8;\n\nexport type EntityMentionIdentity = {\n mentionEpoch: string;\n entityMutation: string;\n};\n\ntype ScopedStorage = {\n dir: string;\n hotCacheKeyId?(): string;\n entityAliases?: Readonly<Record<string, string>> | null;\n getEntityMutationVersion?(): number;\n};\n\ntype Slot = {\n scopeKey: string;\n index: unknown;\n identity: EntityMentionIdentity;\n token: number;\n rebuild: Promise<void> | null;\n entityJob: Promise<void> | null;\n again: boolean;\n followUps: number;\n currentIdentity: () => EntityMentionIdentity;\n buildFull: (abortSignal?: AbortSignal) => Promise<unknown>;\n};\n\nconst slots = new Map<string, Slot>();\nconst rebuildsByScope = new Map<string, number>();\nconst GENERATION_STRIDE = 1_000_000_000;\nlet clearEpoch = 0;\nconst localGenerationByDir = new Map<string, number>();\nconst publishedGenerationByDir = new Map<string, number>();\nconst persistTailByDir = new Map<string, Promise<void>>();\n\nfunction resolveMentionDir(dir: string): string {\n return path.resolve(dir);\n}\n\nexport function entityMentionCacheGeneration(dir: string): number {\n const resolved = resolveMentionDir(dir);\n return clearEpoch * GENERATION_STRIDE + (localGenerationByDir.get(resolved) ?? 0);\n}\n\nexport function entityMentionPersistedIndexReadable(dir: string): boolean {\n const resolved = resolveMentionDir(dir);\n const local = localGenerationByDir.get(resolved) ?? 0;\n if (clearEpoch === 0 && local === 0) return true;\n return publishedGenerationByDir.get(resolved) === entityMentionCacheGeneration(resolved);\n}\n\nfunction dirsInScope(scopeKey: string): string[] {\n const nsEnd = scopeKey.indexOf(\"\\u001e\");\n const storageEnd = nsEnd === -1 ? -1 : scopeKey.indexOf(\"\\u001e\", nsEnd + 1);\n if (nsEnd === -1 || storageEnd === -1) return [];\n return scopeKey\n .slice(nsEnd + 1, storageEnd)\n .split(\"\\u001f\")\n .map((part) => part.split(\"\\u001d\")[0] ?? \"\")\n .filter((dir) => dir.length > 0)\n .map((dir) => resolveMentionDir(dir));\n}\n\nfunction persistedMentionIndexFiles(scopeKey: string): string[] {\n return dirsInScope(scopeKey).map((dir) => path.join(dir, \"state\", \"entity-mention-index.json\"));\n}\n\nfunction bumpScopeDirs(scopeKey: string): void {\n for (const dir of dirsInScope(scopeKey)) {\n localGenerationByDir.set(dir, (localGenerationByDir.get(dir) ?? 0) + 1);\n }\n}\n\nfunction captureDirGenerations(scopeKey: string): Map<string, number> {\n const captured = new Map<string, number>();\n for (const dir of dirsInScope(scopeKey)) captured.set(dir, entityMentionCacheGeneration(dir));\n return captured;\n}\n\nfunction generationsCurrent(captured: Map<string, number>): boolean {\n for (const [dir, generation] of captured) {\n if (entityMentionCacheGeneration(dir) !== generation) return false;\n }\n return true;\n}\n\nfunction publishDirGenerations(captured: Map<string, number>): void {\n for (const [dir, generation] of captured) {\n if (entityMentionCacheGeneration(dir) === generation) publishedGenerationByDir.set(dir, generation);\n }\n}\n\nexport async function writePersistedEntityMentionIndex(\n dir: string,\n generation: number,\n content: string,\n): Promise<void> {\n const resolved = resolveMentionDir(dir);\n const previous = persistTailByDir.get(resolved) ?? Promise.resolve();\n const run = previous.catch(() => undefined).then(async () => {\n if (entityMentionCacheGeneration(resolved) !== generation) return;\n const file = path.join(resolved, \"state\", \"entity-mention-index.json\");\n await mkdir(path.dirname(file), { recursive: true });\n const current = await readFile(file, \"utf-8\").catch(() => \"\");\n if (current === content) return;\n if (entityMentionCacheGeneration(resolved) !== generation) return;\n await writeFile(file, content, \"utf-8\");\n });\n persistTailByDir.set(resolved, run.then(() => undefined, () => undefined));\n await run;\n}\n\nfunction discardPersistedMentionIndex(scopeKey: string): void {\n for (const file of persistedMentionIndexFiles(scopeKey)) {\n void rm(file, { force: true }).catch(() => undefined);\n }\n}\n\nfunction throwIfMentionAborted(signal?: AbortSignal): void {\n if (!signal?.aborted) return;\n const reason = signal.reason;\n throw reason instanceof Error ? reason : new Error(\"entity mention rebuild aborted\");\n}\n\nfunction compareStrings(left: string, right: string): number {\n if (left < right) return -1;\n if (left > right) return 1;\n return 0;\n}\n\nfunction deduped(values: readonly string[]): string[] {\n const seen = new Set<string>();\n const out: string[] = [];\n for (const value of values) {\n const trimmed = value.trim();\n if (trimmed.length === 0 || seen.has(trimmed)) continue;\n seen.add(trimmed);\n out.push(trimmed);\n }\n return out;\n}\n\nfunction sameIdentity(left: EntityMentionIdentity, right: EntityMentionIdentity): boolean {\n return left.mentionEpoch === right.mentionEpoch && left.entityMutation === right.entityMutation;\n}\n\nfunction noteRebuild(scopeKey: string): void {\n rebuildsByScope.set(scopeKey, (rebuildsByScope.get(scopeKey) ?? 0) + 1);\n}\n\nfunction scopeFamily(scopeKey: string): string {\n const nsEnd = scopeKey.indexOf(\"\\u001e\");\n const storageEnd = nsEnd === -1 ? -1 : scopeKey.indexOf(\"\\u001e\", nsEnd + 1);\n const namespaceKey = nsEnd === -1 ? scopeKey : scopeKey.slice(0, nsEnd);\n const storageKey = nsEnd === -1 || storageEnd === -1 ? \"\" : scopeKey.slice(nsEnd + 1, storageEnd);\n const dirs = storageKey\n .split(\"\\u001f\")\n .map((part) => part.split(\"\\u001d\")[0] ?? \"\")\n .join(\"\\u001f\");\n return `${namespaceKey}\\u001e${dirs}`;\n}\n\nfunction forgetScope(scopeKey: string, bumpPersisted = false): void {\n const slot = slots.get(scopeKey);\n if (slot) {\n slot.token += 1;\n slot.again = false;\n }\n if (bumpPersisted) bumpScopeDirs(scopeKey);\n slots.delete(scopeKey);\n rebuildsByScope.delete(scopeKey);\n}\n\nfunction evictOldest(scopeKey: string): void {\n if (slots.size < MAX_SLOTS || slots.has(scopeKey)) return;\n const oldest = slots.keys().next().value;\n if (typeof oldest === \"string\") forgetScope(oldest);\n}\n\nfunction evictSameFamily(scopeKey: string): void {\n const family = scopeFamily(scopeKey);\n for (const key of [...slots.keys()]) {\n if (key !== scopeKey && scopeFamily(key) === family) forgetScope(key, true);\n }\n}\n\nfunction wantsSnippetReconcile(index: unknown): boolean {\n return (\n !!index &&\n typeof index === \"object\" &&\n (index as { pendingSnippetReconcile?: boolean }).pendingSnippetReconcile === true\n );\n}\n\nfunction armRebuild(slot: Slot): void {\n // A recall that arrives while a scan is already running must not grant\n // another follow-up. The chain stops after the one already armed.\n if (!slot.rebuild) slot.followUps = 1;\n startRebuild(slot);\n}\n\nfunction startRebuild(slot: Slot): void {\n // A recall that arrives during a scan is not a write. The follow-up is\n // armed only when the scan's end identity differs from the identity it\n // started with. Setting `again` here made every concurrent recall pay a\n // second full corpus scan after a stable rebuild.\n if (slot.rebuild) return;\n const token = slot.token;\n const captured = captureDirGenerations(slot.scopeKey);\n noteRebuild(slot.scopeKey);\n const started = slot.currentIdentity();\n slot.again = false;\n const handle: { pending: Promise<void> | null } = { pending: null };\n handle.pending = slot\n .buildFull(undefined)\n .then((index) => {\n if (slot.token !== token || !generationsCurrent(captured)) return;\n publishDirGenerations(captured);\n const ended = slot.currentIdentity();\n slot.index = index;\n if (sameIdentity(started, ended)) {\n slot.identity = ended;\n return;\n }\n // Scan overlapped later writes. Keep the start identity so the next\n // recall stays stale and exactly one follow-up reconcile runs.\n slot.identity = started;\n slot.again = true;\n })\n .catch((err: unknown) => {\n const message = err instanceof Error ? err.message : String(err);\n log.warn(`entity mention index rebuild failed: ${message}`);\n })\n .finally(() => {\n if (slot.rebuild === handle.pending) slot.rebuild = null;\n // One automatic follow-up per caller-started rebuild. A store that keeps\n // changing during every scan waits for the next recall (or settle) instead\n // of chaining full scans with nobody waiting.\n if (!slot.again || slot.followUps <= 0) return;\n slot.again = false;\n slot.followUps -= 1;\n startRebuild(slot);\n });\n slot.rebuild = handle.pending;\n}\n\nexport function entityMentionScopeKey(\n namespaces: readonly string[] | undefined,\n storages: readonly ScopedStorage[],\n nativeRevision: string,\n): string {\n const namespaceKey = deduped(namespaces ?? []).join(\"\\u001f\");\n const storageKey = storages\n .map((storage) => {\n const aliases = Object.entries(storage.entityAliases ?? {}).sort(([left], [right]) =>\n compareStrings(left, right),\n );\n return `${path.resolve(storage.dir)}\\u001d${storage.hotCacheKeyId?.() ?? \"\"}\\u001d${JSON.stringify(aliases)}`;\n })\n .join(\"\\u001f\");\n return `${namespaceKey}\\u001e${storageKey}\\u001e${nativeRevision}`;\n}\n\nexport function entityMentionIdentity(storages: readonly ScopedStorage[]): EntityMentionIdentity {\n return {\n mentionEpoch: storages.map((storage) => String(entityMentionEpoch.current(storage.dir))).join(\"\\u001f\"),\n entityMutation: storages.map((storage) => String(storage.getEntityMutationVersion?.() ?? 0)).join(\"\\u001f\"),\n };\n}\n\nexport function entityMentionFullRebuildsStarted(scopeKey: string): number {\n return rebuildsByScope.get(scopeKey) ?? 0;\n}\n\nexport function entityMentionIndexScopeKeys(): string[] {\n return [...slots.keys()];\n}\n\nexport function dropEntityMentionIndexCache(scopeKey?: string): void {\n if (scopeKey === undefined) {\n clearEpoch += 1;\n for (const key of [...slots.keys()]) {\n discardPersistedMentionIndex(key);\n forgetScope(key);\n }\n return;\n }\n discardPersistedMentionIndex(scopeKey);\n forgetScope(scopeKey, true);\n}\n\nexport async function settleEntityMentionIndex(scopeKey?: string): Promise<void> {\n const matches = (slot: Slot) => scopeKey === undefined || slot.scopeKey === scopeKey;\n for (let round = 0; round < SETTLE_ROUNDS; round += 1) {\n for (const slot of slots.values()) {\n if (!matches(slot)) continue;\n if (!slot.rebuild && slot.again) {\n slot.again = false;\n startRebuild(slot);\n }\n }\n const pending = [...slots.values()].filter((slot) => matches(slot) && slot.rebuild).map((slot) => slot.rebuild!);\n if (pending.length === 0) return;\n await Promise.all(pending);\n }\n}\n\nexport async function resolveEntityMentionIndex<T>(options: {\n scopeKey: string;\n currentIdentity: () => EntityMentionIdentity;\n buildFull: (abortSignal?: AbortSignal) => Promise<T>;\n rebuildEntities: (previous: T, abortSignal?: AbortSignal) => Promise<T>;\n abortSignal?: AbortSignal;\n}): Promise<T> {\n const live = options.currentIdentity();\n const existing = slots.get(options.scopeKey);\n if (!existing) {\n evictSameFamily(options.scopeKey);\n evictOldest(options.scopeKey);\n noteRebuild(options.scopeKey);\n const captured = captureDirGenerations(options.scopeKey);\n const started = options.currentIdentity();\n const index = await options.buildFull(options.abortSignal);\n // A clear or family eviction during this first scan must not publish it.\n if (!generationsCurrent(captured)) return index;\n publishDirGenerations(captured);\n const ended = options.currentIdentity();\n evictSameFamily(options.scopeKey);\n evictOldest(options.scopeKey);\n const slot: Slot = {\n scopeKey: options.scopeKey,\n index,\n identity: sameIdentity(started, ended) ? ended : started,\n token: 0,\n rebuild: null,\n entityJob: null,\n again: false,\n followUps: 0,\n currentIdentity: options.currentIdentity,\n buildFull: options.buildFull,\n };\n slots.set(options.scopeKey, slot);\n if (!sameIdentity(started, ended)) armRebuild(slot);\n return index;\n }\n existing.currentIdentity = options.currentIdentity;\n existing.buildFull = options.buildFull;\n while (existing.identity.entityMutation !== options.currentIdentity().entityMutation) {\n throwIfMentionAborted(options.abortSignal);\n const pending = existing.entityJob;\n if (pending) {\n await raceAbort(pending, options.abortSignal, \"entity mention rebuild aborted\");\n continue;\n }\n const liveNow = options.currentIdentity();\n const epochBefore = existing.identity.mentionEpoch;\n const mutationBefore = liveNow.entityMutation;\n let release = (): void => {};\n const gate = new Promise<void>((resolve) => {\n release = resolve;\n });\n existing.entityJob = gate;\n existing.token += 1;\n existing.again = false;\n const token = existing.token;\n const captured = captureDirGenerations(existing.scopeKey);\n // Shared scan. This caller's abort stops its wait and leaves the scan\n // running. Publish when the scan settles, even if this caller has left.\n // A family eviction bumps the token and the root generation; this scan\n // must not install its result or start a follow-up that would republish.\n const scan = options.rebuildEntities(existing.index as T, undefined);\n void scan\n .then(\n (rebuilt) => {\n if (existing.token !== token || !generationsCurrent(captured)) return;\n const now = options.currentIdentity();\n existing.index = rebuilt;\n const epochStable = epochBefore === liveNow.mentionEpoch && epochBefore === now.mentionEpoch;\n const mutationStable = mutationBefore === now.entityMutation;\n existing.identity = {\n entityMutation: mutationStable ? now.entityMutation : mutationBefore,\n mentionEpoch: epochStable ? now.mentionEpoch : epochBefore,\n };\n if (existing.identity.mentionEpoch !== now.mentionEpoch || wantsSnippetReconcile(rebuilt)) {\n armRebuild(existing);\n }\n },\n () => {},\n )\n .finally(() => {\n if (existing.entityJob === gate) existing.entityJob = null;\n release();\n });\n const rebuilt = await raceAbort(scan, options.abortSignal, \"entity mention rebuild aborted\");\n throwIfMentionAborted(options.abortSignal);\n return rebuilt;\n }\n if (existing.identity.mentionEpoch !== live.mentionEpoch) {\n armRebuild(existing);\n return existing.index as T;\n }\n return existing.index as T;\n}\n\nentityMentionEpoch.registerReset(() => {\n dropEntityMentionIndexCache();\n});\n"],"mappings":";;;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,UAAM,OAAO,QAAQ,gBAAgB,SAAS,OAAY,MAAS;AACnE,SAAK,KACF;AAAA,MACC,CAACA,aAAY;AACX,YAAI,SAAS,UAAU,SAAS,CAAC,mBAAmB,QAAQ,EAAG;AAC/D,cAAM,MAAM,QAAQ,gBAAgB;AACpC,iBAAS,QAAQA;AACjB,cAAM,cAAc,gBAAgB,QAAQ,gBAAgB,gBAAgB,IAAI;AAChF,cAAM,iBAAiB,mBAAmB,IAAI;AAC9C,iBAAS,WAAW;AAAA,UAClB,gBAAgB,iBAAiB,IAAI,iBAAiB;AAAA,UACtD,cAAc,cAAc,IAAI,eAAe;AAAA,QACjD;AACA,YAAI,SAAS,SAAS,iBAAiB,IAAI,gBAAgB,sBAAsBA,QAAO,GAAG;AACzF,qBAAW,QAAQ;AAAA,QACrB;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MAAC;AAAA,IACT,EACC,QAAQ,MAAM;AACb,UAAI,SAAS,cAAc,KAAM,UAAS,YAAY;AACtD,cAAQ;AAAA,IACV,CAAC;AACH,UAAM,UAAU,MAAM,UAAU,MAAM,QAAQ,aAAa,gCAAgC;AAC3F,0BAAsB,QAAQ,WAAW;AACzC,WAAO;AAAA,EACT;AACA,MAAI,SAAS,SAAS,iBAAiB,KAAK,cAAc;AACxD,eAAW,QAAQ;AACnB,WAAO,SAAS;AAAA,EAClB;AACA,SAAO,SAAS;AAClB;AAEA,mBAAmB,cAAc,MAAM;AACrC,8BAA4B;AAC9B,CAAC;","names":["rebuilt"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
shouldRecallEventOrderEvidence
|
|
3
|
-
} from "./chunk-BUYVPUEM.js";
|
|
4
1
|
import {
|
|
5
2
|
unifiedDedupeAndRank
|
|
6
3
|
} from "./chunk-LUPVCGYK.js";
|
|
4
|
+
import {
|
|
5
|
+
shouldRecallEventOrderEvidence
|
|
6
|
+
} from "./chunk-BUYVPUEM.js";
|
|
7
7
|
import {
|
|
8
8
|
buildEvidencePack
|
|
9
9
|
} from "./chunk-DGFU5MSX.js";
|
|
@@ -2236,4 +2236,4 @@ var NUMBER_WORD_VALUES = {
|
|
|
2236
2236
|
export {
|
|
2237
2237
|
buildEventOrderRecallSection
|
|
2238
2238
|
};
|
|
2239
|
-
//# sourceMappingURL=chunk-
|
|
2239
|
+
//# sourceMappingURL=chunk-H7BZBSP6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHZOY4CJ.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-3MUKQQ7A.js";
|
|
@@ -21,4 +21,4 @@ async function respondBriefingHttp(options) {
|
|
|
21
21
|
export {
|
|
22
22
|
respondBriefingHttp
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=chunk-
|
|
24
|
+
//# sourceMappingURL=chunk-HTXTVY64.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-DBB5JPSL.js";
|
|
4
4
|
import {
|
|
5
5
|
isGenericRecallExcludedPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JWFTPRYD.js";
|
|
7
7
|
import {
|
|
8
8
|
isChangeOrientedQuery
|
|
9
9
|
} from "./chunk-EH3HNCAM.js";
|
|
@@ -69,4 +69,4 @@ export {
|
|
|
69
69
|
filterRecentScanMemoriesForStateView,
|
|
70
70
|
indexStateViewAnnotatedResults
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
72
|
+
//# sourceMappingURL=chunk-HWGFTTPS.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportCreateGrantRequestSchema,
|
|
3
3
|
defineOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JHZOY4CJ.js";
|
|
5
5
|
import {
|
|
6
6
|
SupportPassportCardCategorySchema,
|
|
7
7
|
SupportPassportMemoryIdSchema,
|
|
@@ -220,4 +220,4 @@ var supportPassportGrantAskOperation = defineOperation({
|
|
|
220
220
|
result: await ctx.service.supportPassportAskGrant(grantId, secret, question, ctx.abortSignal)
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-HYFVZJLX.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-G7D6GZ5J.js";
|
|
5
5
|
import {
|
|
6
6
|
sidecarKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W5XWHTDO.js";
|
|
8
8
|
import {
|
|
9
9
|
RECALL_FALLBACK_DIRS
|
|
10
10
|
} from "./chunk-VS2IYZRU.js";
|
|
@@ -342,4 +342,4 @@ function isPathWithin(candidate, root) {
|
|
|
342
342
|
export {
|
|
343
343
|
runConsolidationProvenanceCheck
|
|
344
344
|
};
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-IDSZNHIP.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveCausalTrajectoryStoreDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VZBW6CDG.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeRecallTokens
|
|
9
9
|
} from "./chunk-YCVB7X56.js";
|
|
@@ -339,4 +339,4 @@ export {
|
|
|
339
339
|
scoreStitchCandidate,
|
|
340
340
|
stitchCausalChain
|
|
341
341
|
};
|
|
342
|
-
//# sourceMappingURL=chunk-
|
|
342
|
+
//# sourceMappingURL=chunk-IFCKHPY4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W5XWHTDO.js";
|
|
4
4
|
import {
|
|
5
5
|
bumpMemoryCorpusVersionForDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M5GVCJSJ.js";
|
|
7
7
|
import {
|
|
8
8
|
HistoricalEntityCanonicalIdCache,
|
|
9
9
|
canonicalizeEntityRefFrontmatter,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
decryptCapsuleFileInMemory,
|
|
21
21
|
isEncryptedCapsuleFile
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DQEMWVMT.js";
|
|
23
23
|
import {
|
|
24
24
|
assertIsDirectoryNotSymlink,
|
|
25
25
|
assertRealpathInsideRoot,
|
|
@@ -294,4 +294,4 @@ function mintForkId(capsuleId, originalId, now) {
|
|
|
294
294
|
export {
|
|
295
295
|
importCapsule
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-IOMLGJHG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
validateRefineRewrite
|
|
3
|
-
} from "./chunk-WTWQA7BB.js";
|
|
4
1
|
import {
|
|
5
2
|
selectExpandNodeIds
|
|
6
3
|
} from "./chunk-VZIAVM72.js";
|
|
7
4
|
import {
|
|
8
5
|
rankDeepRecallFrontier
|
|
9
6
|
} from "./chunk-HRATODNO.js";
|
|
7
|
+
import {
|
|
8
|
+
validateRefineRewrite
|
|
9
|
+
} from "./chunk-WTWQA7BB.js";
|
|
10
10
|
import {
|
|
11
11
|
extractJsonCandidates,
|
|
12
12
|
stripCodeFences
|
|
@@ -384,4 +384,4 @@ async function runBudgetedDeepRecall(deps, query) {
|
|
|
384
384
|
export {
|
|
385
385
|
runBudgetedDeepRecall
|
|
386
386
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-ISX7GVZE.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
WHO_KNOWS_DEFAULT_LIMIT,
|
|
3
3
|
WHO_KNOWS_MAX_LIMIT,
|
|
4
4
|
validateWhoKnowsInput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T6RQNV7E.js";
|
|
6
6
|
|
|
7
7
|
// src/who-knows-cli.ts
|
|
8
8
|
function extractWhoKnowsRawArgs(rest) {
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
renderWhoKnowsText,
|
|
75
75
|
renderWhoKnows
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-J3ZJBX7I.js.map
|