@remnic/core 10.0.58 → 10.0.60
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 +49 -47
- package/dist/access-authorization-probe.js +50 -48
- package/dist/access-boundary.js +49 -47
- package/dist/access-cli.js +136 -134
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +49 -47
- package/dist/access-http-briefing.js +50 -48
- package/dist/access-http-query.js +51 -49
- package/dist/access-http.js +72 -70
- package/dist/access-identity-continuity-surface.js +49 -47
- package/dist/access-lcm-surface.js +49 -47
- package/dist/access-mcp.js +60 -58
- package/dist/access-namespace-preflight.js +49 -47
- package/dist/access-observe-write-category.js +8 -8
- package/dist/access-observe-write-surface.js +49 -47
- package/dist/access-offline-manifest.js +7 -7
- package/dist/access-operations-batch.js +52 -50
- package/dist/access-operations.js +59 -57
- package/dist/access-recall-concurrency.js +49 -47
- package/dist/access-recall-response.js +49 -47
- package/dist/access-recall-surface.js +49 -47
- package/dist/access-schema.js +7 -7
- package/dist/access-service.js +49 -47
- package/dist/access-surface-catalog.js +51 -49
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +23 -21
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/briefing.js +15 -13
- package/dist/buffer.js +5 -5
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.js +18 -16
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-XDKEHZUC.js → chunk-264B57GV.js} +2 -2
- package/dist/{chunk-UQYBPPVC.js → chunk-2EJAPJ5G.js} +20 -10
- package/dist/chunk-2EJAPJ5G.js.map +1 -0
- package/dist/{chunk-LTDK6HBV.js → chunk-2HVCTFKG.js} +2 -2
- package/dist/{chunk-E2YAGEFR.js → chunk-3DG2YAAX.js} +86 -86
- package/dist/chunk-4LZ7SVKM.js +211 -0
- package/dist/chunk-4LZ7SVKM.js.map +1 -0
- package/dist/{chunk-LIVNX7WK.js → chunk-4O4VAEWH.js} +2 -2
- package/dist/{chunk-NRGQ5HJO.js → chunk-4P4VLPGB.js} +1 -1
- package/dist/{chunk-GIRWNTMV.js → chunk-4PG5R6BJ.js} +2 -2
- package/dist/{chunk-AOSCGNIC.js → chunk-5XY46Z2W.js} +3 -3
- package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
- package/dist/{chunk-RG3I2663.js → chunk-64JLBFCQ.js} +2 -2
- package/dist/{chunk-G3T6YMBO.js → chunk-64S6X4IU.js} +7 -7
- package/dist/{chunk-XHEKS4UN.js → chunk-66CC6L6R.js} +2 -2
- package/dist/{chunk-3632XJMR.js → chunk-6BKSUA6P.js} +2 -2
- package/dist/{chunk-6AEKSOWV.js → chunk-6I6DFULH.js} +8 -8
- package/dist/{chunk-2EYCW2ET.js → chunk-74Z2BYEK.js} +2 -2
- package/dist/{chunk-QAHP5SBG.js → chunk-7DHNBABU.js} +3 -3
- package/dist/{chunk-HJ4X4BGS.js → chunk-ADK5TMQL.js} +2 -2
- package/dist/{chunk-KCTL5EY7.js → chunk-AWKADEMO.js} +3 -3
- package/dist/{chunk-VV73XT3A.js → chunk-BJLCV2P3.js} +2 -2
- package/dist/{chunk-QF5EJ5VP.js → chunk-C5GTIRIO.js} +38 -38
- package/dist/{chunk-LRVFS4KA.js → chunk-DF4SYU4Z.js} +2 -2
- package/dist/{chunk-WBN66HPI.js → chunk-ELHJK7LM.js} +6 -6
- package/dist/{chunk-6CDNOREO.js → chunk-F3GX76LV.js} +2 -2
- package/dist/{chunk-AAANTXCQ.js → chunk-FZVZYU5C.js} +2 -2
- package/dist/{chunk-ON77FQXH.js → chunk-G6GMZJQ4.js} +2 -2
- package/dist/{chunk-HJQ4NKKO.js → chunk-GGHX4YHM.js} +2 -2
- package/dist/{chunk-HM3ZTDAX.js → chunk-GJF337YM.js} +2 -2
- package/dist/{chunk-GDYLZ6FR.js → chunk-HJ3UTGIW.js} +3 -3
- package/dist/{chunk-W3R77WHT.js → chunk-HL643H2F.js} +12 -12
- package/dist/{chunk-CCL2OXFO.js → chunk-HSHLDSPX.js} +3 -3
- package/dist/{chunk-OCXDZJL4.js → chunk-I6UTOUBK.js} +37 -80
- package/dist/chunk-I6UTOUBK.js.map +1 -0
- package/dist/{chunk-TTTPTQ6S.js → chunk-IA3XZG4V.js} +2 -2
- package/dist/{chunk-CIMD2MUR.js → chunk-IJFX4JRI.js} +7 -7
- package/dist/{chunk-RTJJPW3C.js → chunk-ILMB3X4X.js} +5 -5
- package/dist/{chunk-5LBBXI2A.js → chunk-J53IBVMF.js} +2 -2
- package/dist/{chunk-JEX2JL3U.js → chunk-JEDS2QYV.js} +2 -2
- package/dist/{chunk-W7NKMRAF.js → chunk-JFRO5HJY.js} +2 -2
- package/dist/{chunk-4W5B5Z6P.js → chunk-JM2WJBP7.js} +2 -2
- package/dist/{chunk-DJFULNXK.js → chunk-JRY55I6Z.js} +2 -2
- package/dist/{chunk-M4U25HLR.js → chunk-KXDUSGPM.js} +2 -2
- package/dist/{chunk-YJHOVA42.js → chunk-L5RMURVI.js} +2 -2
- package/dist/{chunk-QS5DUSBM.js → chunk-LGLLCWA2.js} +2 -2
- package/dist/{chunk-34UVJNSG.js → chunk-M3GOWG2P.js} +2 -2
- package/dist/{chunk-53OFDW3P.js → chunk-M7KAJBO2.js} +3 -3
- package/dist/{chunk-V4VCBFAL.js → chunk-MHSUEA32.js} +3 -3
- package/dist/{chunk-ERMT5WQM.js → chunk-MKE5DP3S.js} +2 -2
- package/dist/{chunk-IFOCK3OJ.js → chunk-MOB4JHG6.js} +2 -2
- package/dist/{chunk-W4QTA2H5.js → chunk-N5H22V75.js} +2 -2
- package/dist/{chunk-3LNAQLW4.js → chunk-NF5EHQTJ.js} +4 -4
- package/dist/{chunk-FFQNNFHX.js → chunk-NJZY5LOC.js} +2 -2
- package/dist/{chunk-YLN4ZQV4.js → chunk-PIVSUPF2.js} +2 -2
- package/dist/{chunk-2S6JADBB.js → chunk-PJLJN23N.js} +2 -2
- package/dist/{chunk-3H3PNQEF.js → chunk-PRSF7DWT.js} +2 -2
- package/dist/{chunk-W2KH27MQ.js → chunk-PTJWUN4H.js} +45 -45
- package/dist/{chunk-GFAEKSFR.js → chunk-QBK3IM6W.js} +5 -5
- package/dist/{chunk-KRAMCBIW.js → chunk-QKXPOLQD.js} +4 -4
- package/dist/{chunk-OWNAWY6D.js → chunk-QWURVT5Z.js} +2 -2
- package/dist/{chunk-YDT3OEYF.js → chunk-R4ZHF4K2.js} +2 -2
- package/dist/{chunk-CTNDFKEX.js → chunk-RSYFSCKL.js} +16 -16
- package/dist/{chunk-7XGNGLAN.js → chunk-T4SMMTGY.js} +2 -2
- package/dist/{chunk-FZLZUDJJ.js → chunk-TIS6T6UP.js} +2 -2
- package/dist/{chunk-RKRX4C4H.js → chunk-TPKB7T6Z.js} +2 -2
- package/dist/{chunk-JZCBMKR5.js → chunk-TUCEP2LS.js} +5 -5
- package/dist/{chunk-OMWQO7H6.js → chunk-UEDC2VGP.js} +2 -2
- package/dist/{chunk-B43P3DTC.js → chunk-UIX4JLVV.js} +2 -2
- package/dist/{chunk-VGE4PUY6.js → chunk-UP2Q7U4G.js} +9 -9
- package/dist/{chunk-HQUYENKK.js → chunk-UY67YP6Q.js} +2 -2
- package/dist/{chunk-U2A56LLF.js → chunk-VQ6H4DL6.js} +11 -11
- package/dist/{chunk-AO5ZOD32.js → chunk-W37MS6SX.js} +2 -2
- package/dist/{chunk-UBOWDOL5.js → chunk-WJC5KGYC.js} +6 -6
- package/dist/{chunk-G6A3SGCE.js → chunk-WVEEVYMH.js} +8 -25
- package/dist/chunk-WVEEVYMH.js.map +1 -0
- package/dist/{chunk-TRAOZ2WP.js → chunk-X2TZWVCC.js} +2 -2
- package/dist/{chunk-UQBOPCDK.js → chunk-X4PAATLA.js} +2 -2
- package/dist/{chunk-24SIB3EW.js → chunk-XWE3EOWX.js} +2 -2
- package/dist/{chunk-Y77FXULH.js → chunk-XWXBXBOX.js} +2 -2
- package/dist/{chunk-VKQI47DJ.js → chunk-Y7427SL7.js} +4 -4
- package/dist/{chunk-TEH5MDX5.js → chunk-YH7HJNWV.js} +22 -22
- package/dist/chunk-YHTG64XV.js +117 -0
- package/dist/chunk-YHTG64XV.js.map +1 -0
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-2M36PR7R.js → chunk-Z2T5BPOZ.js} +2 -2
- package/dist/{chunk-65B5RFKQ.js → chunk-Z4EH5TSO.js} +2 -2
- package/dist/{chunk-P5FYZH5G.js → chunk-ZRDEOC4X.js} +2 -2
- package/dist/{chunk-L5UB5BIY.js → chunk-ZXEPLZUQ.js} +9 -9
- package/dist/cli.js +94 -92
- package/dist/coding/export-okf-codegraph.js +14 -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 +16 -14
- package/dist/config.js +23 -21
- package/dist/connectors/codex-materialize-runner.js +15 -13
- package/dist/connectors/index.js +15 -13
- package/dist/convergence-refresh.js +17 -15
- package/dist/corpus-scan-worker-host.d.ts +109 -0
- package/dist/corpus-scan-worker-host.d.ts.map +1 -0
- package/dist/corpus-scan-worker-host.js +15 -0
- package/dist/corpus-scan-worker.entry.d.ts +21 -0
- package/dist/corpus-scan-worker.entry.d.ts.map +1 -0
- package/dist/corpus-scan-worker.entry.js +60 -0
- package/dist/corpus-scan-worker.entry.js.map +1 -0
- package/dist/corpus-scan-worker.entry.mjs +176 -0
- package/dist/corpus-scan.d.ts +71 -0
- package/dist/corpus-scan.d.ts.map +1 -0
- package/dist/corpus-scan.js +16 -0
- package/dist/corpus-watermark.d.ts.map +1 -1
- package/dist/corpus-watermark.js +17 -15
- package/dist/dashboard-runtime.js +2 -2
- package/dist/deep-recall-http-glue.js +8 -8
- package/dist/embedding-fallback.js +2 -2
- package/dist/{entity-canonical-id-migration-F3JVG6K6.js → entity-canonical-id-migration-CUDCKWPF.js} +4 -2
- package/dist/entity-canonical-id-migration-CUDCKWPF.js.map +1 -0
- package/dist/entity-retrieval.js +17 -15
- package/dist/event-order-recall.js +3 -3
- package/dist/external-wiki-access.js +50 -48
- package/dist/extraction.js +20 -18
- package/dist/{graph-edge-decay-IU75NV42.js → graph-edge-decay-2BZTY2IM.js} +5 -5
- package/dist/graph-edge-decay-2BZTY2IM.js.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.js +2 -2
- package/dist/harmonic-retrieval.js +15 -13
- package/dist/index.js +164 -162
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/location/index.js +17 -15
- package/dist/maintenance/memory-governance.js +15 -13
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +15 -13
- package/dist/maintenance/rebuild-memory-projection-runner.js +17 -15
- package/dist/maintenance/rebuild-memory-projection.js +16 -14
- package/dist/memory-browse-operations.js +50 -48
- package/dist/memory-browse.js +5 -5
- package/dist/namespaces/migrate.js +16 -14
- package/dist/namespaces/search.js +8 -8
- package/dist/namespaces/storage.js +15 -13
- package/dist/offline-sync-changeset-generations.js +4 -4
- package/dist/offline-sync-embedding-generation.js +3 -3
- package/dist/offline-sync-snapshot-stream.js +7 -7
- package/dist/offline-sync.js +6 -6
- package/dist/operator-doctor-corpus.js +18 -16
- package/dist/operator-toolkit.js +34 -32
- package/dist/orchestration/maintenance.js +25 -23
- package/dist/orchestrator.js +136 -134
- package/dist/qmd.js +4 -4
- package/dist/recall-navigation-operations.js +50 -48
- package/dist/recall-navigation.js +49 -47
- package/dist/recall-state-view-admission.js +5 -5
- package/dist/recall-why-service.js +5 -5
- package/dist/resume-bundles.js +24 -22
- package/dist/search/factory.js +7 -7
- package/dist/search/index.js +15 -15
- package/dist/semantic-consolidation.js +16 -14
- package/dist/semantic-rule-promotion.js +15 -13
- package/dist/semantic-rule-verifier.js +15 -13
- package/dist/source-agent-qualifier.js +18 -16
- package/dist/standup/build.js +15 -13
- package/dist/storage/entity-canonical-id-migration.d.ts.map +1 -1
- package/dist/storage/memory-read-store.d.ts +7 -3
- package/dist/storage/memory-read-store.d.ts.map +1 -1
- package/dist/storage.js +16 -14
- package/dist/support-passport/index.js +52 -50
- package/dist/transfer/export-okf.js +15 -13
- package/dist/verified-recall.js +15 -13
- package/dist/who-knows-cli.js +16 -14
- package/dist/who-knows.js +15 -13
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +8 -0
- package/src/corpus-scan-worker-host.ts +314 -0
- package/src/corpus-scan-worker.entry.mjs +176 -0
- package/src/corpus-scan-worker.entry.ts +95 -0
- package/src/corpus-scan.ts +215 -0
- package/src/corpus-watermark.ts +28 -12
- package/src/storage/entity-canonical-id-migration.ts +4 -26
- package/src/storage/memory-read-store.ts +19 -111
- package/dist/chunk-G6A3SGCE.js.map +0 -1
- package/dist/chunk-OCXDZJL4.js.map +0 -1
- package/dist/chunk-UQYBPPVC.js.map +0 -1
- /package/dist/{chunk-XDKEHZUC.js.map → chunk-264B57GV.js.map} +0 -0
- /package/dist/{chunk-LTDK6HBV.js.map → chunk-2HVCTFKG.js.map} +0 -0
- /package/dist/{chunk-E2YAGEFR.js.map → chunk-3DG2YAAX.js.map} +0 -0
- /package/dist/{chunk-LIVNX7WK.js.map → chunk-4O4VAEWH.js.map} +0 -0
- /package/dist/{chunk-NRGQ5HJO.js.map → chunk-4P4VLPGB.js.map} +0 -0
- /package/dist/{chunk-GIRWNTMV.js.map → chunk-4PG5R6BJ.js.map} +0 -0
- /package/dist/{chunk-AOSCGNIC.js.map → chunk-5XY46Z2W.js.map} +0 -0
- /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
- /package/dist/{chunk-RG3I2663.js.map → chunk-64JLBFCQ.js.map} +0 -0
- /package/dist/{chunk-G3T6YMBO.js.map → chunk-64S6X4IU.js.map} +0 -0
- /package/dist/{chunk-XHEKS4UN.js.map → chunk-66CC6L6R.js.map} +0 -0
- /package/dist/{chunk-3632XJMR.js.map → chunk-6BKSUA6P.js.map} +0 -0
- /package/dist/{chunk-6AEKSOWV.js.map → chunk-6I6DFULH.js.map} +0 -0
- /package/dist/{chunk-2EYCW2ET.js.map → chunk-74Z2BYEK.js.map} +0 -0
- /package/dist/{chunk-QAHP5SBG.js.map → chunk-7DHNBABU.js.map} +0 -0
- /package/dist/{chunk-HJ4X4BGS.js.map → chunk-ADK5TMQL.js.map} +0 -0
- /package/dist/{chunk-KCTL5EY7.js.map → chunk-AWKADEMO.js.map} +0 -0
- /package/dist/{chunk-VV73XT3A.js.map → chunk-BJLCV2P3.js.map} +0 -0
- /package/dist/{chunk-QF5EJ5VP.js.map → chunk-C5GTIRIO.js.map} +0 -0
- /package/dist/{chunk-LRVFS4KA.js.map → chunk-DF4SYU4Z.js.map} +0 -0
- /package/dist/{chunk-WBN66HPI.js.map → chunk-ELHJK7LM.js.map} +0 -0
- /package/dist/{chunk-6CDNOREO.js.map → chunk-F3GX76LV.js.map} +0 -0
- /package/dist/{chunk-AAANTXCQ.js.map → chunk-FZVZYU5C.js.map} +0 -0
- /package/dist/{chunk-ON77FQXH.js.map → chunk-G6GMZJQ4.js.map} +0 -0
- /package/dist/{chunk-HJQ4NKKO.js.map → chunk-GGHX4YHM.js.map} +0 -0
- /package/dist/{chunk-HM3ZTDAX.js.map → chunk-GJF337YM.js.map} +0 -0
- /package/dist/{chunk-GDYLZ6FR.js.map → chunk-HJ3UTGIW.js.map} +0 -0
- /package/dist/{chunk-W3R77WHT.js.map → chunk-HL643H2F.js.map} +0 -0
- /package/dist/{chunk-CCL2OXFO.js.map → chunk-HSHLDSPX.js.map} +0 -0
- /package/dist/{chunk-TTTPTQ6S.js.map → chunk-IA3XZG4V.js.map} +0 -0
- /package/dist/{chunk-CIMD2MUR.js.map → chunk-IJFX4JRI.js.map} +0 -0
- /package/dist/{chunk-RTJJPW3C.js.map → chunk-ILMB3X4X.js.map} +0 -0
- /package/dist/{chunk-5LBBXI2A.js.map → chunk-J53IBVMF.js.map} +0 -0
- /package/dist/{chunk-JEX2JL3U.js.map → chunk-JEDS2QYV.js.map} +0 -0
- /package/dist/{chunk-W7NKMRAF.js.map → chunk-JFRO5HJY.js.map} +0 -0
- /package/dist/{chunk-4W5B5Z6P.js.map → chunk-JM2WJBP7.js.map} +0 -0
- /package/dist/{chunk-DJFULNXK.js.map → chunk-JRY55I6Z.js.map} +0 -0
- /package/dist/{chunk-M4U25HLR.js.map → chunk-KXDUSGPM.js.map} +0 -0
- /package/dist/{chunk-YJHOVA42.js.map → chunk-L5RMURVI.js.map} +0 -0
- /package/dist/{chunk-QS5DUSBM.js.map → chunk-LGLLCWA2.js.map} +0 -0
- /package/dist/{chunk-34UVJNSG.js.map → chunk-M3GOWG2P.js.map} +0 -0
- /package/dist/{chunk-53OFDW3P.js.map → chunk-M7KAJBO2.js.map} +0 -0
- /package/dist/{chunk-V4VCBFAL.js.map → chunk-MHSUEA32.js.map} +0 -0
- /package/dist/{chunk-ERMT5WQM.js.map → chunk-MKE5DP3S.js.map} +0 -0
- /package/dist/{chunk-IFOCK3OJ.js.map → chunk-MOB4JHG6.js.map} +0 -0
- /package/dist/{chunk-W4QTA2H5.js.map → chunk-N5H22V75.js.map} +0 -0
- /package/dist/{chunk-3LNAQLW4.js.map → chunk-NF5EHQTJ.js.map} +0 -0
- /package/dist/{chunk-FFQNNFHX.js.map → chunk-NJZY5LOC.js.map} +0 -0
- /package/dist/{chunk-YLN4ZQV4.js.map → chunk-PIVSUPF2.js.map} +0 -0
- /package/dist/{chunk-2S6JADBB.js.map → chunk-PJLJN23N.js.map} +0 -0
- /package/dist/{chunk-3H3PNQEF.js.map → chunk-PRSF7DWT.js.map} +0 -0
- /package/dist/{chunk-W2KH27MQ.js.map → chunk-PTJWUN4H.js.map} +0 -0
- /package/dist/{chunk-GFAEKSFR.js.map → chunk-QBK3IM6W.js.map} +0 -0
- /package/dist/{chunk-KRAMCBIW.js.map → chunk-QKXPOLQD.js.map} +0 -0
- /package/dist/{chunk-OWNAWY6D.js.map → chunk-QWURVT5Z.js.map} +0 -0
- /package/dist/{chunk-YDT3OEYF.js.map → chunk-R4ZHF4K2.js.map} +0 -0
- /package/dist/{chunk-CTNDFKEX.js.map → chunk-RSYFSCKL.js.map} +0 -0
- /package/dist/{chunk-7XGNGLAN.js.map → chunk-T4SMMTGY.js.map} +0 -0
- /package/dist/{chunk-FZLZUDJJ.js.map → chunk-TIS6T6UP.js.map} +0 -0
- /package/dist/{chunk-RKRX4C4H.js.map → chunk-TPKB7T6Z.js.map} +0 -0
- /package/dist/{chunk-JZCBMKR5.js.map → chunk-TUCEP2LS.js.map} +0 -0
- /package/dist/{chunk-OMWQO7H6.js.map → chunk-UEDC2VGP.js.map} +0 -0
- /package/dist/{chunk-B43P3DTC.js.map → chunk-UIX4JLVV.js.map} +0 -0
- /package/dist/{chunk-VGE4PUY6.js.map → chunk-UP2Q7U4G.js.map} +0 -0
- /package/dist/{chunk-HQUYENKK.js.map → chunk-UY67YP6Q.js.map} +0 -0
- /package/dist/{chunk-U2A56LLF.js.map → chunk-VQ6H4DL6.js.map} +0 -0
- /package/dist/{chunk-AO5ZOD32.js.map → chunk-W37MS6SX.js.map} +0 -0
- /package/dist/{chunk-UBOWDOL5.js.map → chunk-WJC5KGYC.js.map} +0 -0
- /package/dist/{chunk-TRAOZ2WP.js.map → chunk-X2TZWVCC.js.map} +0 -0
- /package/dist/{chunk-UQBOPCDK.js.map → chunk-X4PAATLA.js.map} +0 -0
- /package/dist/{chunk-24SIB3EW.js.map → chunk-XWE3EOWX.js.map} +0 -0
- /package/dist/{chunk-Y77FXULH.js.map → chunk-XWXBXBOX.js.map} +0 -0
- /package/dist/{chunk-VKQI47DJ.js.map → chunk-Y7427SL7.js.map} +0 -0
- /package/dist/{chunk-TEH5MDX5.js.map → chunk-YH7HJNWV.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-2M36PR7R.js.map → chunk-Z2T5BPOZ.js.map} +0 -0
- /package/dist/{chunk-65B5RFKQ.js.map → chunk-Z4EH5TSO.js.map} +0 -0
- /package/dist/{chunk-P5FYZH5G.js.map → chunk-ZRDEOC4X.js.map} +0 -0
- /package/dist/{chunk-L5UB5BIY.js.map → chunk-ZXEPLZUQ.js.map} +0 -0
- /package/dist/{entity-canonical-id-migration-F3JVG6K6.js.map → corpus-scan-worker-host.js.map} +0 -0
- /package/dist/{graph-edge-decay-IU75NV42.js.map → corpus-scan.js.map} +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import {
|
|
2
|
+
collectContainedMarkdownPaths,
|
|
3
|
+
fingerprintEntityEntries,
|
|
4
|
+
statMtimes
|
|
5
|
+
} from "./chunk-YHTG64XV.js";
|
|
6
|
+
import {
|
|
7
|
+
abortError
|
|
8
|
+
} from "./chunk-R2MBW2S4.js";
|
|
9
|
+
import {
|
|
10
|
+
log
|
|
11
|
+
} from "./chunk-3WCASNQZ.js";
|
|
12
|
+
|
|
13
|
+
// src/corpus-scan-worker-host.ts
|
|
14
|
+
import { existsSync } from "fs";
|
|
15
|
+
import { fileURLToPath } from "url";
|
|
16
|
+
import { Worker } from "worker_threads";
|
|
17
|
+
function resolveWorkerEntryUrl() {
|
|
18
|
+
const candidates = [
|
|
19
|
+
"./corpus-scan-worker.entry.mjs",
|
|
20
|
+
"../corpus-scan-worker.entry.mjs"
|
|
21
|
+
];
|
|
22
|
+
for (const candidate of candidates) {
|
|
23
|
+
const url = new URL(candidate, import.meta.url);
|
|
24
|
+
if (existsSync(fileURLToPath(url))) return url;
|
|
25
|
+
}
|
|
26
|
+
throw new Error(`corpus scan worker entry not found (looked for ${candidates.join(", ")})`);
|
|
27
|
+
}
|
|
28
|
+
function toError(payload, fallback) {
|
|
29
|
+
const error = new Error(payload.message === "" ? fallback : payload.message);
|
|
30
|
+
error.name = payload.name;
|
|
31
|
+
if (payload.code !== void 0) {
|
|
32
|
+
const errno = error;
|
|
33
|
+
errno.code = payload.code;
|
|
34
|
+
}
|
|
35
|
+
return error;
|
|
36
|
+
}
|
|
37
|
+
async function runInline(payload, checkCancelled) {
|
|
38
|
+
switch (payload.kind) {
|
|
39
|
+
case "walk":
|
|
40
|
+
return await collectContainedMarkdownPaths({
|
|
41
|
+
baseDir: payload.baseDir,
|
|
42
|
+
startDirs: payload.startDirs,
|
|
43
|
+
propagateReadErrors: payload.propagateReadErrors,
|
|
44
|
+
checkCancelled
|
|
45
|
+
});
|
|
46
|
+
case "entity-entries-fingerprint":
|
|
47
|
+
return await fingerprintEntityEntries(payload.entitiesDir);
|
|
48
|
+
case "stat-mtimes":
|
|
49
|
+
return await statMtimes(payload.paths);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
var CorpusScanWorkerHost = class {
|
|
53
|
+
worker = null;
|
|
54
|
+
pending = /* @__PURE__ */ new Map();
|
|
55
|
+
nextId = 1;
|
|
56
|
+
jobCounts = /* @__PURE__ */ new Map();
|
|
57
|
+
attached = false;
|
|
58
|
+
workerUnavailable = false;
|
|
59
|
+
/** Completed jobs per kind — observability for tests and diagnostics. */
|
|
60
|
+
stats() {
|
|
61
|
+
const byKind = {};
|
|
62
|
+
let jobs = 0;
|
|
63
|
+
for (const [kind, count] of this.jobCounts) {
|
|
64
|
+
byKind[kind] = count;
|
|
65
|
+
jobs += count;
|
|
66
|
+
}
|
|
67
|
+
return { jobs, byKind };
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Run one scan. It executes in the worker; when no worker can run it, the
|
|
71
|
+
* same implementation runs inline. Rejects with the job's error (errno code
|
|
72
|
+
* preserved) or an AbortError when `signal` fires first.
|
|
73
|
+
*/
|
|
74
|
+
async request(payload, signal) {
|
|
75
|
+
if (signal?.aborted) throw abortError("corpus read aborted");
|
|
76
|
+
const result = await this.runInWorker(payload, signal);
|
|
77
|
+
return result;
|
|
78
|
+
}
|
|
79
|
+
async runInWorker(payload, signal) {
|
|
80
|
+
if (this.workerUnavailable) {
|
|
81
|
+
return await runInline(payload, this.cancellationCheck(signal));
|
|
82
|
+
}
|
|
83
|
+
let worker;
|
|
84
|
+
try {
|
|
85
|
+
worker = this.ensureWorker();
|
|
86
|
+
} catch (error) {
|
|
87
|
+
this.disableWorker(error instanceof Error ? error : new Error(String(error)));
|
|
88
|
+
return await runInline(payload, this.cancellationCheck(signal));
|
|
89
|
+
}
|
|
90
|
+
const id = this.nextId++;
|
|
91
|
+
this.setAttached(true);
|
|
92
|
+
try {
|
|
93
|
+
return await new Promise((resolve, reject) => {
|
|
94
|
+
const job = { kind: payload.kind, resolve, reject };
|
|
95
|
+
if (signal) {
|
|
96
|
+
const onAbort = () => {
|
|
97
|
+
this.cancelJob(id);
|
|
98
|
+
this.pending.delete(id);
|
|
99
|
+
if (this.pending.size === 0) this.setAttached(false);
|
|
100
|
+
reject(abortError("corpus read aborted"));
|
|
101
|
+
};
|
|
102
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
103
|
+
job.cleanup = () => signal.removeEventListener("abort", onAbort);
|
|
104
|
+
}
|
|
105
|
+
this.pending.set(id, job);
|
|
106
|
+
worker.postMessage({ id, payload });
|
|
107
|
+
});
|
|
108
|
+
} catch (error) {
|
|
109
|
+
if (!this.pending.has(id) && this.workerUnavailable) {
|
|
110
|
+
return await runInline(payload, this.cancellationCheck(signal));
|
|
111
|
+
}
|
|
112
|
+
throw error;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
cancellationCheck(signal) {
|
|
116
|
+
if (!signal) return void 0;
|
|
117
|
+
return () => {
|
|
118
|
+
if (signal.aborted) throw abortError("corpus read aborted");
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
/** Tell the worker to abandon a job (its next checkpoint stops the walk). */
|
|
122
|
+
cancelJob(id) {
|
|
123
|
+
this.worker?.postMessage({ id, cancel: true });
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Attach/detach the worker's message listener. A worker with a `message`
|
|
127
|
+
* listener keeps the parent's event loop alive (the port stays ref'd), so an
|
|
128
|
+
* idle worker is detached: the daemon must be able to exit with a warm
|
|
129
|
+
* corpus-scan worker in memory.
|
|
130
|
+
*/
|
|
131
|
+
setAttached(attached) {
|
|
132
|
+
const worker = this.worker;
|
|
133
|
+
if (!worker) return;
|
|
134
|
+
if (attached) {
|
|
135
|
+
if (!this.attached) {
|
|
136
|
+
worker.on("message", this.onMessage);
|
|
137
|
+
this.attached = true;
|
|
138
|
+
}
|
|
139
|
+
worker.ref();
|
|
140
|
+
} else {
|
|
141
|
+
if (this.attached) {
|
|
142
|
+
worker.removeAllListeners("message");
|
|
143
|
+
this.attached = false;
|
|
144
|
+
}
|
|
145
|
+
worker.unref();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
onMessage = (message) => {
|
|
149
|
+
const job = this.pending.get(message.id);
|
|
150
|
+
if (!job) return;
|
|
151
|
+
this.pending.delete(message.id);
|
|
152
|
+
job.cleanup?.();
|
|
153
|
+
this.jobCounts.set(job.kind, (this.jobCounts.get(job.kind) ?? 0) + 1);
|
|
154
|
+
if (message.ok && message.result !== void 0) job.resolve(message.result);
|
|
155
|
+
else job.reject(toError(message.error ?? { name: "Error", message: "corpus scan worker job failed" }, "corpus scan worker job failed"));
|
|
156
|
+
if (this.pending.size === 0) this.setAttached(false);
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Disable the worker and say why, exactly once: after this, every corpus
|
|
160
|
+
* scan runs inline on the main thread, which is the starvation this module
|
|
161
|
+
* exists to avoid. Silence here would hide the regression.
|
|
162
|
+
*/
|
|
163
|
+
disableWorker(error) {
|
|
164
|
+
if (this.workerUnavailable) return;
|
|
165
|
+
this.workerUnavailable = true;
|
|
166
|
+
log.warn("corpus scan worker unavailable; falling back to inline scans", error);
|
|
167
|
+
}
|
|
168
|
+
ensureWorker() {
|
|
169
|
+
if (this.worker) return this.worker;
|
|
170
|
+
const worker = new Worker(resolveWorkerEntryUrl());
|
|
171
|
+
worker.unref();
|
|
172
|
+
worker.on("error", (error) => {
|
|
173
|
+
if (this.worker !== worker) return;
|
|
174
|
+
this.failAll(error);
|
|
175
|
+
this.disableWorker(error);
|
|
176
|
+
});
|
|
177
|
+
worker.on("exit", () => {
|
|
178
|
+
if (this.worker !== worker) return;
|
|
179
|
+
this.worker = null;
|
|
180
|
+
this.attached = false;
|
|
181
|
+
this.failAll(new Error("corpus scan worker exited"));
|
|
182
|
+
});
|
|
183
|
+
this.worker = worker;
|
|
184
|
+
return worker;
|
|
185
|
+
}
|
|
186
|
+
failAll(error) {
|
|
187
|
+
for (const [id, job] of [...this.pending]) {
|
|
188
|
+
this.pending.delete(id);
|
|
189
|
+
job.cleanup?.();
|
|
190
|
+
job.reject(error);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Terminate the worker and reject in-flight jobs. The next request spawns a
|
|
195
|
+
* fresh worker, so a shutdown (or a test teardown) leaves no handle behind.
|
|
196
|
+
*/
|
|
197
|
+
close() {
|
|
198
|
+
const worker = this.worker;
|
|
199
|
+
this.worker = null;
|
|
200
|
+
this.attached = false;
|
|
201
|
+
this.failAll(new Error("corpus scan worker closed"));
|
|
202
|
+
void worker?.terminate();
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
var corpusScanWorker = new CorpusScanWorkerHost();
|
|
206
|
+
|
|
207
|
+
export {
|
|
208
|
+
CorpusScanWorkerHost,
|
|
209
|
+
corpusScanWorker
|
|
210
|
+
};
|
|
211
|
+
//# sourceMappingURL=chunk-4LZ7SVKM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/corpus-scan-worker-host.ts"],"sourcesContent":["/**\n * Corpus-scan worker host (main-thread starvation fix).\n *\n * The periodic corpus maintenance scans are pure, read-only filesystem work\n * whose volume scales with the corpus (hundreds of thousands of files on a\n * large deployment). Running them on the daemon's main thread starves observe,\n * recall and the extraction queue: every awaited syscall is a main-thread\n * continuation.\n *\n * This host runs the scans in ONE `worker_threads` worker so the main thread\n * stays free. The worker entry is plain JavaScript\n * (`corpus-scan-worker.entry.mjs`, generated from the TypeScript source), so\n * it loads on every runtime the package supports — no TypeScript loader is\n * needed inside a worker thread.\n *\n * Lifecycle:\n * - lazy spawn on the first job; `unref()`ed, so it never keeps the process\n * alive;\n * - a cancelled job is rejected on the main thread immediately and the\n * worker is told to stop the walk at its next checkpoint;\n * - a worker that cannot start (or dies before answering) makes the host run\n * the SAME implementation inline, so the scan still happens;\n * - `close()` terminates the worker and rejects in-flight jobs.\n */\n\nimport { existsSync } from \"node:fs\";\nimport { fileURLToPath } from \"node:url\";\nimport { Worker } from \"node:worker_threads\";\nimport { abortError } from \"./abort-error.js\";\nimport { log } from \"./logger.js\";\nimport {\n collectContainedMarkdownPaths,\n fingerprintEntityEntries,\n statMtimes,\n} from \"./corpus-scan.js\";\n\n/** The scans the worker can run. */\nexport type CorpusScanJobKind = \"walk\" | \"entity-entries-fingerprint\" | \"stat-mtimes\";\n\n/** Job payloads, one per kind. */\nexport type CorpusScanPayload =\n | { kind: \"walk\"; baseDir: string; startDirs: string[]; propagateReadErrors: boolean }\n | { kind: \"entity-entries-fingerprint\"; entitiesDir: string }\n | { kind: \"stat-mtimes\"; paths: string[] };\n\n/** Result shape per job kind. */\nexport interface CorpusScanResults {\n walk: string[];\n \"entity-entries-fingerprint\": string;\n \"stat-mtimes\": Array<number | null>;\n}\n\n/** Every result shape the worker can return, in one union. */\nexport type CorpusScanResult = string[] | string | Array<number | null>;\n\n/** A worker-side failure, flattened for the thread boundary. */\nexport interface CorpusScanErrorPayload {\n name: string;\n message: string;\n code?: string;\n}\n\n/** A message posted back from the worker. */\nexport interface CorpusScanReply {\n id: number;\n ok: boolean;\n result?: CorpusScanResult;\n error?: CorpusScanErrorPayload;\n}\n\n/** Completed-job counters per kind. */\nexport interface CorpusScanStats {\n jobs: number;\n byKind: Record<string, number>;\n}\n\ninterface PendingJob {\n kind: CorpusScanJobKind;\n resolve: (value: CorpusScanResult) => void;\n reject: (error: Error) => void;\n cleanup?: () => void;\n}\n\n/**\n * Resolve the worker entry beside THIS module: the source tree keeps the\n * generated JavaScript entry at `src/corpus-scan-worker.entry.mjs` and the\n * built package copies it next to the bundled host, so the same relative path\n * works in both.\n */\nfunction resolveWorkerEntryUrl(): URL {\n const candidates = [\n \"./corpus-scan-worker.entry.mjs\",\n \"../corpus-scan-worker.entry.mjs\",\n ];\n for (const candidate of candidates) {\n const url = new URL(candidate, import.meta.url);\n if (existsSync(fileURLToPath(url))) return url;\n }\n throw new Error(`corpus scan worker entry not found (looked for ${candidates.join(\", \")})`);\n}\n\nfunction toError(payload: CorpusScanErrorPayload, fallback: string): Error {\n const error = new Error(payload.message === \"\" ? fallback : payload.message);\n error.name = payload.name;\n if (payload.code !== undefined) {\n // SAFETY: the errno `code` is an optional string on an Error, and the\n // worker only forwards a code it read off a filesystem rejection.\n const errno = error as NodeJS.ErrnoException;\n errno.code = payload.code;\n }\n return error;\n}\n\n/** Run the same scan inline (the fallback when no worker is available). */\nasync function runInline(payload: CorpusScanPayload, checkCancelled?: () => void): Promise<CorpusScanResult> {\n switch (payload.kind) {\n case \"walk\":\n return await collectContainedMarkdownPaths({\n baseDir: payload.baseDir,\n startDirs: payload.startDirs,\n propagateReadErrors: payload.propagateReadErrors,\n checkCancelled,\n });\n case \"entity-entries-fingerprint\":\n return await fingerprintEntityEntries(payload.entitiesDir);\n case \"stat-mtimes\":\n return await statMtimes(payload.paths);\n }\n}\n\nexport class CorpusScanWorkerHost {\n private worker: Worker | null = null;\n private readonly pending = new Map<number, PendingJob>();\n private nextId = 1;\n private readonly jobCounts = new Map<CorpusScanJobKind, number>();\n private attached = false;\n private workerUnavailable = false;\n\n /** Completed jobs per kind — observability for tests and diagnostics. */\n public stats(): CorpusScanStats {\n const byKind: Record<string, number> = {};\n let jobs = 0;\n for (const [kind, count] of this.jobCounts) {\n byKind[kind] = count;\n jobs += count;\n }\n return { jobs, byKind };\n }\n\n /**\n * Run one scan. It executes in the worker; when no worker can run it, the\n * same implementation runs inline. Rejects with the job's error (errno code\n * preserved) or an AbortError when `signal` fires first.\n */\n public async request<P extends CorpusScanPayload>(\n payload: P,\n signal?: AbortSignal,\n ): Promise<CorpusScanResults[P[\"kind\"]]> {\n if (signal?.aborted) throw abortError(\"corpus read aborted\");\n const result = await this.runInWorker(payload, signal);\n // SAFETY: the worker answers with the result type of the job it was given,\n // and the kind is part of the request, so the pair holds.\n return result as CorpusScanResults[P[\"kind\"]];\n }\n\n private async runInWorker(payload: CorpusScanPayload, signal?: AbortSignal): Promise<CorpusScanResult> {\n if (this.workerUnavailable) {\n return await runInline(payload, this.cancellationCheck(signal));\n }\n let worker: Worker;\n try {\n worker = this.ensureWorker();\n } catch (error) {\n // No worker available (missing entry, unsupported runtime): the scan\n // still happens, on this thread. Report the fallback once: every later\n // scan would otherwise run inline silently.\n this.disableWorker(error instanceof Error ? error : new Error(String(error)));\n return await runInline(payload, this.cancellationCheck(signal));\n }\n const id = this.nextId++;\n // Keep the process alive while a job is in flight; release it when the\n // queue drains so an idle worker never holds the event loop open.\n this.setAttached(true);\n try {\n return await new Promise<CorpusScanResult>((resolve, reject) => {\n const job: PendingJob = { kind: payload.kind, resolve, reject };\n if (signal) {\n const onAbort = (): void => {\n this.cancelJob(id);\n // Drop the job now: the worker's late reply is ignored, and the\n // queue must not stay \"busy\" for a job nobody awaits.\n this.pending.delete(id);\n if (this.pending.size === 0) this.setAttached(false);\n reject(abortError(\"corpus read aborted\"));\n };\n signal.addEventListener(\"abort\", onAbort, { once: true });\n job.cleanup = () => signal.removeEventListener(\"abort\", onAbort);\n }\n this.pending.set(id, job);\n worker.postMessage({ id, payload });\n });\n } catch (error) {\n // A worker that died before answering leaves the scan undone: run it\n // inline so the caller still gets its result.\n if (!this.pending.has(id) && this.workerUnavailable) {\n return await runInline(payload, this.cancellationCheck(signal));\n }\n throw error;\n }\n }\n\n private cancellationCheck(signal?: AbortSignal): (() => void) | undefined {\n if (!signal) return undefined;\n return () => {\n if (signal.aborted) throw abortError(\"corpus read aborted\");\n };\n }\n\n /** Tell the worker to abandon a job (its next checkpoint stops the walk). */\n private cancelJob(id: number): void {\n this.worker?.postMessage({ id, cancel: true });\n }\n\n /**\n * Attach/detach the worker's message listener. A worker with a `message`\n * listener keeps the parent's event loop alive (the port stays ref'd), so an\n * idle worker is detached: the daemon must be able to exit with a warm\n * corpus-scan worker in memory.\n */\n private setAttached(attached: boolean): void {\n const worker = this.worker;\n if (!worker) return;\n if (attached) {\n if (!this.attached) {\n worker.on(\"message\", this.onMessage);\n this.attached = true;\n }\n worker.ref();\n } else {\n if (this.attached) {\n worker.removeAllListeners(\"message\");\n this.attached = false;\n }\n worker.unref();\n }\n }\n\n private readonly onMessage = (message: CorpusScanReply): void => {\n const job = this.pending.get(message.id);\n if (!job) return;\n this.pending.delete(message.id);\n job.cleanup?.();\n this.jobCounts.set(job.kind, (this.jobCounts.get(job.kind) ?? 0) + 1);\n if (message.ok && message.result !== undefined) job.resolve(message.result);\n else job.reject(toError(message.error ?? { name: \"Error\", message: \"corpus scan worker job failed\" }, \"corpus scan worker job failed\"));\n if (this.pending.size === 0) this.setAttached(false);\n };\n\n /**\n * Disable the worker and say why, exactly once: after this, every corpus\n * scan runs inline on the main thread, which is the starvation this module\n * exists to avoid. Silence here would hide the regression.\n */\n private disableWorker(error: Error): void {\n if (this.workerUnavailable) return;\n this.workerUnavailable = true;\n log.warn(\"corpus scan worker unavailable; falling back to inline scans\", error);\n }\n\n private ensureWorker(): Worker {\n if (this.worker) return this.worker;\n const worker = new Worker(resolveWorkerEntryUrl());\n worker.unref();\n // Events from a worker that is no longer current (closed, replaced) must\n // not touch jobs that belong to its successor: `exit` is delivered after\n // `terminate()` resolves, by which time a new worker may own the queue.\n worker.on(\"error\", (error: Error) => {\n if (this.worker !== worker) return;\n this.failAll(error);\n this.disableWorker(error);\n });\n worker.on(\"exit\", () => {\n if (this.worker !== worker) return;\n this.worker = null;\n this.attached = false;\n this.failAll(new Error(\"corpus scan worker exited\"));\n });\n this.worker = worker;\n return worker;\n }\n\n private failAll(error: Error): void {\n for (const [id, job] of [...this.pending]) {\n this.pending.delete(id);\n job.cleanup?.();\n job.reject(error);\n }\n }\n\n /**\n * Terminate the worker and reject in-flight jobs. The next request spawns a\n * fresh worker, so a shutdown (or a test teardown) leaves no handle behind.\n */\n public close(): void {\n const worker = this.worker;\n this.worker = null;\n this.attached = false;\n this.failAll(new Error(\"corpus scan worker closed\"));\n void worker?.terminate();\n }\n}\n\n/** Process-wide corpus-scan worker. */\nexport const corpusScanWorker = new CorpusScanWorkerHost();\n"],"mappings":";;;;;;;;;;;;;AAyBA,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,cAAc;AA8DvB,SAAS,wBAA6B;AACpC,QAAM,aAAa;AAAA,IACjB;AAAA,IACA;AAAA,EACF;AACA,aAAW,aAAa,YAAY;AAClC,UAAM,MAAM,IAAI,IAAI,WAAW,YAAY,GAAG;AAC9C,QAAI,WAAW,cAAc,GAAG,CAAC,EAAG,QAAO;AAAA,EAC7C;AACA,QAAM,IAAI,MAAM,kDAAkD,WAAW,KAAK,IAAI,CAAC,GAAG;AAC5F;AAEA,SAAS,QAAQ,SAAiC,UAAyB;AACzE,QAAM,QAAQ,IAAI,MAAM,QAAQ,YAAY,KAAK,WAAW,QAAQ,OAAO;AAC3E,QAAM,OAAO,QAAQ;AACrB,MAAI,QAAQ,SAAS,QAAW;AAG9B,UAAM,QAAQ;AACd,UAAM,OAAO,QAAQ;AAAA,EACvB;AACA,SAAO;AACT;AAGA,eAAe,UAAU,SAA4B,gBAAwD;AAC3G,UAAQ,QAAQ,MAAM;AAAA,IACpB,KAAK;AACH,aAAO,MAAM,8BAA8B;AAA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AK,CAAC,GAAG,KAAK,OAAO,GAAG;AACzC,WAAK,QAAQ,OAAO,EAAE;AACtB,UAAI,UAAU;AACd,UAAI,OAAO,KAAK;AAAA,IAClB;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMO,QAAc;AACnB,UAAM,SAAS,KAAK;AACpB,SAAK,SAAS;AACd,SAAK,WAAW;AAChB,SAAK,QAAQ,IAAI,MAAM,2BAA2B,CAAC;AACnD,SAAK,QAAQ,UAAU;AAAA,EACzB;AACF;AAGO,IAAM,mBAAmB,IAAI,qBAAqB;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFrontmatter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I6UTOUBK.js";
|
|
4
4
|
import {
|
|
5
5
|
activityDigestPath,
|
|
6
6
|
isValidActivityDate
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
buildStandup,
|
|
200
200
|
standupHelp
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-4O4VAEWH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isGenericRecallExcludedPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJLCV2P3.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeProjectionPreview
|
|
6
6
|
} from "./chunk-SCU65EZI.js";
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
browsePatternMatches,
|
|
210
210
|
runMemoryBrowse
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-4PG5R6BJ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamespaceStorageRouter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M3GOWG2P.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceCollectionName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JEDS2QYV.js";
|
|
7
7
|
import {
|
|
8
8
|
isSafeRouteNamespace
|
|
9
9
|
} from "./chunk-PCXDUHQH.js";
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
verifyNamespaces,
|
|
214
214
|
runNamespaceMigration
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-5XY46Z2W.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
shouldRecallEventOrderEvidence
|
|
3
|
+
} from "./chunk-BUYVPUEM.js";
|
|
1
4
|
import {
|
|
2
5
|
unifiedDedupeAndRank
|
|
3
6
|
} from "./chunk-LUPVCGYK.js";
|
|
4
7
|
import {
|
|
5
8
|
buildEvidencePack
|
|
6
9
|
} from "./chunk-DGFU5MSX.js";
|
|
7
|
-
import {
|
|
8
|
-
shouldRecallEventOrderEvidence
|
|
9
|
-
} from "./chunk-BUYVPUEM.js";
|
|
10
10
|
import {
|
|
11
11
|
lcmEvidenceIdentity
|
|
12
12
|
} from "./chunk-C37ZRXX7.js";
|
|
@@ -2236,4 +2236,4 @@ var NUMBER_WORD_VALUES = {
|
|
|
2236
2236
|
export {
|
|
2237
2237
|
buildEventOrderRecallSection
|
|
2238
2238
|
};
|
|
2239
|
-
//# sourceMappingURL=chunk-
|
|
2239
|
+
//# sourceMappingURL=chunk-645WOU5I.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-BJLCV2P3.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-64JLBFCQ.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ReplitAdapter
|
|
3
|
-
} from "./chunk-SI36RWC3.js";
|
|
4
|
-
import {
|
|
5
|
-
ClaudeCodeAdapter
|
|
6
|
-
} from "./chunk-3JKYQBLC.js";
|
|
7
1
|
import {
|
|
8
2
|
CodexAdapter
|
|
9
3
|
} from "./chunk-7RKSJVOQ.js";
|
|
10
4
|
import {
|
|
11
5
|
HermesAdapter
|
|
12
6
|
} from "./chunk-HCAGBFE7.js";
|
|
7
|
+
import {
|
|
8
|
+
ReplitAdapter
|
|
9
|
+
} from "./chunk-SI36RWC3.js";
|
|
10
|
+
import {
|
|
11
|
+
ClaudeCodeAdapter
|
|
12
|
+
} from "./chunk-3JKYQBLC.js";
|
|
13
13
|
import {
|
|
14
14
|
headerValue
|
|
15
15
|
} from "./chunk-NJAIR57U.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
OpenCodeAdapter,
|
|
111
111
|
AdapterRegistry
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-64S6X4IU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I6UTOUBK.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-66CC6L6R.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-3UXOZBHV.js";
|
|
15
15
|
import {
|
|
16
16
|
StorageManager
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I6UTOUBK.js";
|
|
18
18
|
import {
|
|
19
19
|
OKF_PROFILE_TYPE,
|
|
20
20
|
okfTypeForMemory
|
|
@@ -272,4 +272,4 @@ export {
|
|
|
272
272
|
exportOkfBundle,
|
|
273
273
|
firstHeading
|
|
274
274
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
275
|
+
//# sourceMappingURL=chunk-6BKSUA6P.js.map
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
matchesOfflineSyncDefaultExclude
|
|
3
3
|
} from "./chunk-63LFM77Z.js";
|
|
4
|
-
import {
|
|
5
|
-
EMBEDDING_SHARD_FILE_PATTERN
|
|
6
|
-
} from "./chunk-LDWE7OZS.js";
|
|
7
4
|
import {
|
|
8
5
|
prepareSafeArchiveRoot,
|
|
9
6
|
resolveSafeArchiveTarget
|
|
10
7
|
} from "./chunk-GCGJW34D.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
withEmbeddingGenerationLock
|
|
15
|
-
} from "./chunk-TRSKATZQ.js";
|
|
9
|
+
EMBEDDING_SHARD_FILE_PATTERN
|
|
10
|
+
} from "./chunk-LDWE7OZS.js";
|
|
16
11
|
import {
|
|
17
12
|
EmbeddingIndexFileStore,
|
|
18
13
|
EmbeddingIndexStorageError,
|
|
@@ -21,6 +16,11 @@ import {
|
|
|
21
16
|
shardEntriesForIndex,
|
|
22
17
|
validateShardMembership
|
|
23
18
|
} from "./chunk-SWRRZNHM.js";
|
|
19
|
+
import {
|
|
20
|
+
assertEmbeddingGenerationLockHeld,
|
|
21
|
+
embeddingGenerationLockPath,
|
|
22
|
+
withEmbeddingGenerationLock
|
|
23
|
+
} from "./chunk-TRSKATZQ.js";
|
|
24
24
|
import {
|
|
25
25
|
GENERATION_MARKER_BASENAME,
|
|
26
26
|
beginGenerationMarker,
|
|
@@ -709,4 +709,4 @@ export {
|
|
|
709
709
|
divergedEmbeddingGenerationDeferrals,
|
|
710
710
|
applyIncomingEmbeddingGenerations
|
|
711
711
|
};
|
|
712
|
-
//# sourceMappingURL=chunk-
|
|
712
|
+
//# sourceMappingURL=chunk-6I6DFULH.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZCUTSMR2.js";
|
|
14
14
|
import {
|
|
15
15
|
StorageManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I6UTOUBK.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-74Z2BYEK.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
listMemoryGovernanceRuns,
|
|
9
9
|
readMemoryGovernanceRunArtifact
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IA3XZG4V.js";
|
|
11
11
|
import {
|
|
12
12
|
StorageManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I6UTOUBK.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeProjectionPreview,
|
|
16
16
|
normalizeProjectionTags
|
|
@@ -1156,4 +1156,4 @@ export {
|
|
|
1156
1156
|
verifyMemoryProjection,
|
|
1157
1157
|
repairMemoryProjection
|
|
1158
1158
|
};
|
|
1159
|
-
//# sourceMappingURL=chunk-
|
|
1159
|
+
//# sourceMappingURL=chunk-7DHNBABU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C5GTIRIO.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-LGEH473S.js";
|
|
@@ -22,4 +22,4 @@ async function respondBriefingHttp(options) {
|
|
|
22
22
|
export {
|
|
23
23
|
respondBriefingHttp
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-ADK5TMQL.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hasMemoryData
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZRDEOC4X.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNamespaceStorageRoot
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M3GOWG2P.js";
|
|
7
7
|
import {
|
|
8
8
|
getConfiguredNamespaces
|
|
9
9
|
} from "./chunk-I6QGI65T.js";
|
|
@@ -726,4 +726,4 @@ export {
|
|
|
726
726
|
runNamespaceMaintenancePlan,
|
|
727
727
|
runNamespaceMaintenanceBatchPlan
|
|
728
728
|
};
|
|
729
|
-
//# sourceMappingURL=chunk-
|
|
729
|
+
//# sourceMappingURL=chunk-AWKADEMO.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
isArtifactMemoryPath,
|
|
4
4
|
isLocationDayPath,
|
|
5
5
|
isMeetingRecordPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R4ZHF4K2.js";
|
|
7
7
|
import {
|
|
8
8
|
isExternalWikiCollectionName
|
|
9
9
|
} from "./chunk-JV3C2MNQ.js";
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
isGenericRecallExcludedPath,
|
|
229
229
|
filterRecallCandidates
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-BJLCV2P3.js.map
|