@remnic/core 10.0.3 → 10.0.5
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 +62 -62
- package/dist/access-authorization-probe.js +63 -63
- package/dist/access-boundary.js +62 -62
- package/dist/access-cli.d.ts.map +1 -1
- package/dist/access-cli.js +146 -139
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +62 -62
- package/dist/access-http-briefing.js +63 -63
- package/dist/access-http-query.js +64 -64
- package/dist/access-http.d.ts.map +1 -1
- package/dist/access-http.js +86 -85
- package/dist/access-identity-continuity-surface.js +62 -62
- package/dist/access-lcm-surface.js +62 -62
- package/dist/access-mcp-correction-tools.d.ts +10 -0
- package/dist/access-mcp-correction-tools.d.ts.map +1 -0
- package/dist/access-mcp-correction-tools.js +8 -0
- package/dist/access-mcp.d.ts.map +1 -1
- package/dist/access-mcp.js +76 -75
- package/dist/access-namespace-preflight.js +62 -62
- package/dist/access-observe-write-category.js +5 -5
- package/dist/access-observe-write-surface.js +62 -62
- package/dist/access-offline-manifest.js +8 -8
- package/dist/access-operations-batch.js +65 -65
- package/dist/access-operations.d.ts +1 -0
- package/dist/access-operations.d.ts.map +1 -1
- package/dist/access-operations.js +72 -72
- package/dist/access-recall-concurrency.js +62 -62
- package/dist/access-recall-diagnostics.js +2 -2
- package/dist/access-recall-response.js +62 -62
- package/dist/access-recall-surface.js +62 -62
- package/dist/access-service.d.ts.map +1 -1
- package/dist/access-service.js +62 -62
- package/dist/access-surface-catalog.js +64 -64
- package/dist/active-recall.js +31 -30
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/{auto-sync-PAWBFQWL.js → auto-sync-FN7E3OTO.js} +6 -6
- package/dist/briefing.js +26 -26
- package/dist/buffer.js +8 -8
- package/dist/causal-consolidation.js +26 -26
- package/dist/{chunk-YQSWNFZE.js → chunk-2CP577K6.js} +2 -2
- package/dist/{chunk-6JIHC5AS.js → chunk-37HCPM56.js} +78 -67
- package/dist/chunk-37HCPM56.js.map +1 -0
- package/dist/{chunk-345MEMRU.js → chunk-3OUGSOJP.js} +2 -2
- package/dist/{chunk-CHI37EHP.js → chunk-4CWUZBPF.js} +8 -6
- package/dist/chunk-4CWUZBPF.js.map +1 -0
- package/dist/{chunk-G2STTRYB.js → chunk-4D2YH47Z.js} +2 -2
- package/dist/{chunk-IXYIW3MZ.js → chunk-4K2H4KTR.js} +5 -5
- package/dist/{chunk-UVVSOSHL.js → chunk-52CQKST6.js} +53 -53
- package/dist/{chunk-H7BZBSP6.js → chunk-52II7PB6.js} +4 -4
- package/dist/{chunk-BLHPADUX.js → chunk-5BPXMAUP.js} +22 -78
- package/dist/chunk-5BPXMAUP.js.map +1 -0
- package/dist/{chunk-ZS7RK6H6.js → chunk-5BY3IA2U.js} +16 -53
- package/dist/chunk-5BY3IA2U.js.map +1 -0
- package/dist/{chunk-2QZFZNXO.js → chunk-5CQO6LVM.js} +2 -2
- package/dist/{chunk-NLDMTXWV.js → chunk-5LNPW7NE.js} +2 -2
- package/dist/{chunk-WHTMVTU4.js → chunk-5X4ZJESN.js} +2 -2
- package/dist/{chunk-WI37MWRZ.js → chunk-63UNVGZW.js} +5 -5
- package/dist/{chunk-G3T6YMBO.js → chunk-64S6X4IU.js} +7 -7
- package/dist/{chunk-CFCEJNOE.js → chunk-6KHF6PAB.js} +2 -2
- package/dist/{chunk-5GINB5LC.js → chunk-6MKLMEBE.js} +1 -1
- package/dist/{chunk-5GINB5LC.js.map → chunk-6MKLMEBE.js.map} +1 -1
- package/dist/{chunk-35A7GCHG.js → chunk-6T42L5FI.js} +2 -2
- package/dist/{chunk-JDOBIFBK.js → chunk-7CXL25AA.js} +2 -2
- package/dist/{chunk-YLBE6PLR.js → chunk-7IGMKQWK.js} +2 -2
- package/dist/{chunk-CSLK7BN6.js → chunk-7LYRFI5A.js} +2 -2
- package/dist/{chunk-IB63OVUB.js → chunk-AJ6ORARY.js} +6 -6
- package/dist/{chunk-CGOKNQDK.js → chunk-ANZXWOYD.js} +2 -2
- package/dist/{chunk-5QXMESS7.js → chunk-AXC7UTLM.js} +2 -2
- package/dist/{chunk-RFIJRZ4K.js → chunk-B657ZGDH.js} +2 -2
- package/dist/{chunk-AW4QUFQF.js → chunk-BTNNL7ZW.js} +3 -2
- package/dist/{chunk-AW4QUFQF.js.map → chunk-BTNNL7ZW.js.map} +1 -1
- package/dist/{chunk-MY7B3HYC.js → chunk-CLCMDKTB.js} +2 -2
- package/dist/{chunk-QPWUG2S3.js → chunk-CYEK6Z3P.js} +4 -4
- package/dist/{chunk-IHCYCE6D.js → chunk-DJMVSUPK.js} +4 -4
- package/dist/{chunk-HP4CU2ZA.js → chunk-DST7HRSG.js} +2 -2
- package/dist/{chunk-IIFFC3RL.js → chunk-EDR6CVWZ.js} +2 -2
- package/dist/{chunk-AUWMKDKL.js → chunk-EMVJU7WC.js} +2 -2
- package/dist/{chunk-O6AYMAPJ.js → chunk-ENNC3RZ6.js} +2 -2
- package/dist/{chunk-2JRB3Z5N.js → chunk-EP5WXE2G.js} +3 -3
- package/dist/{chunk-QLK3SL7Q.js → chunk-ETSJD5IV.js} +131 -12
- package/dist/chunk-ETSJD5IV.js.map +1 -0
- package/dist/chunk-EWMRFW3F.js +38 -0
- package/dist/chunk-EWMRFW3F.js.map +1 -0
- package/dist/{chunk-I2KEH2LS.js → chunk-FC6RCOIU.js} +2 -2
- package/dist/{chunk-OZVHLBH6.js → chunk-FLV7M7CT.js} +2 -2
- package/dist/{chunk-Q6GI7HEC.js → chunk-FRH2UC7Q.js} +2 -2
- package/dist/{chunk-3SL52JKD.js → chunk-FZVROZKC.js} +5 -5
- package/dist/{chunk-2EZB2DL5.js → chunk-GE6HETIF.js} +3 -3
- package/dist/{chunk-2DHJTJIY.js → chunk-GEGUBU3D.js} +2 -2
- package/dist/{chunk-6AA7XFMO.js → chunk-GF4H3B3R.js} +8 -8
- package/dist/{chunk-NGOZH7R5.js → chunk-GVUW5XK5.js} +311 -142
- package/dist/chunk-GVUW5XK5.js.map +1 -0
- package/dist/{chunk-ME2LMFHF.js → chunk-HPAOMYKM.js} +92 -92
- package/dist/{chunk-4NRZ7BRS.js → chunk-I25RINZK.js} +2 -2
- package/dist/{chunk-XG4XXI66.js → chunk-I25RQA65.js} +2 -2
- package/dist/chunk-I56MTWE7.js +80 -0
- package/dist/chunk-I56MTWE7.js.map +1 -0
- package/dist/{chunk-EJJMDLVB.js → chunk-IJ4FEGZR.js} +2 -2
- package/dist/{chunk-EUL3S3LE.js → chunk-J5WI4QRP.js} +4 -4
- package/dist/{chunk-LMMC55WM.js → chunk-JA54KIYD.js} +4 -4
- package/dist/{chunk-5FLFPTDK.js → chunk-JA72X46J.js} +2 -2
- package/dist/{chunk-6GU3TNJJ.js → chunk-JMF5Q4JY.js} +246 -49
- package/dist/chunk-JMF5Q4JY.js.map +1 -0
- package/dist/{chunk-IDSSDL4W.js → chunk-JXSYWTFK.js} +21 -4
- package/dist/{chunk-IDSSDL4W.js.map → chunk-JXSYWTFK.js.map} +1 -1
- package/dist/{chunk-NLYOOGZ7.js → chunk-KE5PWLI6.js} +3 -3
- package/dist/chunk-KIUVEMBI.js +49 -0
- package/dist/chunk-KIUVEMBI.js.map +1 -0
- package/dist/{chunk-4DDIWRT7.js → chunk-KQI2PKYP.js} +2 -2
- package/dist/{chunk-Y2ADLCB3.js → chunk-KSUOM3YU.js} +9 -9
- package/dist/{chunk-BTOHGPHC.js → chunk-KZEMFD6E.js} +3 -3
- package/dist/{chunk-NXVD46HT.js → chunk-L2VS27PZ.js} +4 -4
- package/dist/{chunk-MYYHACOW.js → chunk-L34W4W4I.js} +2 -2
- package/dist/{chunk-KRTIHXWC.js → chunk-L3PWXD73.js} +2 -2
- package/dist/{chunk-NQHSXHJP.js → chunk-L6GNS5GB.js} +2 -2
- package/dist/{chunk-44PBRUXB.js → chunk-M47Q6566.js} +2 -2
- package/dist/{chunk-E7FN5N5E.js → chunk-MQNOIH2C.js} +7 -7
- package/dist/{chunk-IDSZNHIP.js → chunk-MULNBSPP.js} +4 -4
- package/dist/{chunk-RKSGUMVL.js → chunk-NBQIFCJE.js} +2 -2
- package/dist/{chunk-I6WFBNA4.js → chunk-NHSVW7UT.js} +15 -15
- package/dist/{chunk-32HO62I4.js → chunk-OFEHITAZ.js} +2 -2
- package/dist/{chunk-PCO3P7WJ.js → chunk-OGVJXIHX.js} +2 -2
- package/dist/{chunk-RYN4AIRM.js → chunk-OZABSIOV.js} +4 -4
- package/dist/{chunk-HO7IQP7G.js → chunk-QMFKW4OU.js} +3 -3
- package/dist/{chunk-34G4U6HS.js → chunk-QRZMJ2WN.js} +2 -2
- package/dist/{chunk-RKDSELA3.js → chunk-QWWMS4AE.js} +1 -1
- package/dist/chunk-QWWMS4AE.js.map +1 -0
- package/dist/{chunk-GUD6FYQG.js → chunk-RSMIRLKM.js} +2 -2
- package/dist/{chunk-TNVZCLJU.js → chunk-S5TGRZWY.js} +2 -2
- package/dist/{chunk-O24EWFPQ.js → chunk-SNXBXYUE.js} +3 -3
- package/dist/{chunk-KW77LGDX.js → chunk-SUAX5JWY.js} +2 -2
- package/dist/{chunk-PNFWIB4X.js → chunk-SWRN6U7Q.js} +2 -2
- package/dist/{chunk-X6X4UASX.js → chunk-SZXPKUMN.js} +232 -83
- package/dist/chunk-SZXPKUMN.js.map +1 -0
- package/dist/{chunk-R4NGLTUS.js → chunk-TDMNADPI.js} +2 -2
- package/dist/{chunk-QCP75JGO.js → chunk-TFA6HPOA.js} +5 -5
- package/dist/{chunk-LI76ESJL.js → chunk-TZQOCQXB.js} +2 -2
- package/dist/{chunk-OV7EYM6M.js → chunk-U6OXJQEH.js} +12 -12
- package/dist/{chunk-OWHPA4JS.js → chunk-V32NHP2R.js} +2 -2
- package/dist/{chunk-JSUA4YFE.js → chunk-WG4TMZJ2.js} +2 -2
- package/dist/{chunk-DQTCGVFK.js → chunk-WHCD4Z3D.js} +2 -2
- package/dist/{chunk-GBA4N2SG.js → chunk-WRICYGYG.js} +27 -26
- package/dist/chunk-WRICYGYG.js.map +1 -0
- package/dist/{chunk-KATEWTQJ.js → chunk-X7J56GPG.js} +2 -2
- package/dist/{chunk-7KICGR5W.js → chunk-XPRAOTJY.js} +2 -2
- package/dist/{chunk-2NV7MMMM.js → chunk-XQSJXNWC.js} +2 -2
- package/dist/{chunk-22DYJLFN.js → chunk-XVC7JU2N.js} +39 -18
- package/dist/chunk-XVC7JU2N.js.map +1 -0
- package/dist/{chunk-RXT6UB25.js → chunk-YJAOYEWI.js} +2 -2
- package/dist/{chunk-L6DJJEFW.js → chunk-YJEUHGZZ.js} +2 -2
- package/dist/{chunk-AXFWMRKI.js → chunk-YQJCWR4R.js} +2 -2
- package/dist/cli.js +110 -108
- package/dist/coding/export-okf-codegraph.js +25 -25
- package/dist/compounding/engine.js +25 -25
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +31 -30
- package/dist/connectors/codex-materialize-runner.js +25 -25
- package/dist/connectors/index.js +25 -25
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/contradiction/index.js +7 -7
- package/dist/convergence-refresh.js +27 -27
- package/dist/conversation-index/backend.js +2 -2
- package/dist/corpus-read-cancellation.d.ts +7 -0
- package/dist/corpus-read-cancellation.d.ts.map +1 -1
- package/dist/corpus-read-cancellation.js +1 -1
- package/dist/corpus-watermark.js +27 -27
- package/dist/correction/correction-access-wiring.d.ts +6 -6
- package/dist/correction/correction-access-wiring.d.ts.map +1 -1
- package/dist/correction/correction-classify.d.ts +25 -0
- package/dist/correction/correction-classify.d.ts.map +1 -0
- package/dist/correction/correction-config.d.ts +11 -0
- package/dist/correction/correction-config.d.ts.map +1 -0
- package/dist/correction/correction-contract.d.ts +13 -1
- package/dist/correction/correction-contract.d.ts.map +1 -1
- package/dist/correction/correction-executor.d.ts +2 -0
- package/dist/correction/correction-executor.d.ts.map +1 -1
- package/dist/correction/correction-planner.d.ts +24 -3
- package/dist/correction/correction-planner.d.ts.map +1 -1
- package/dist/directory-sidecars.js +2 -2
- package/dist/entity-retrieval.js +25 -25
- package/dist/event-order-recall.js +2 -2
- package/dist/explicit-capture.js +2 -2
- package/dist/external-wiki-access.js +63 -63
- package/dist/extraction-span-materialize.js +2 -2
- package/dist/extraction.js +34 -34
- package/dist/harmonic-retrieval.js +25 -25
- package/dist/index.js +221 -218
- package/dist/lcm/index.js +3 -3
- package/dist/local-llm.d.ts.map +1 -1
- package/dist/local-llm.js +1 -1
- package/dist/location/index.js +28 -28
- package/dist/maintenance/archive-observations.js +2 -2
- package/dist/maintenance/atomic-file.d.ts +1 -1
- package/dist/maintenance/atomic-file.d.ts.map +1 -1
- package/dist/maintenance/atomic-file.js +1 -1
- package/dist/maintenance/memory-governance.js +25 -25
- package/dist/maintenance/migrate-observations.js +3 -3
- package/dist/maintenance/observation-ledger-utils.js +2 -2
- package/dist/maintenance/projection-rebuild-abort.d.ts +17 -0
- package/dist/maintenance/projection-rebuild-abort.d.ts.map +1 -0
- package/dist/maintenance/projection-timeline.d.ts +19 -0
- package/dist/maintenance/projection-timeline.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -25
- package/dist/maintenance/rebuild-memory-projection-runner.d.ts +8 -0
- package/dist/maintenance/rebuild-memory-projection-runner.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-projection-runner.js +113 -0
- package/dist/maintenance/rebuild-memory-projection-runner.js.map +1 -0
- package/dist/maintenance/rebuild-memory-projection.d.ts +8 -0
- package/dist/maintenance/rebuild-memory-projection.d.ts.map +1 -1
- package/dist/maintenance/rebuild-memory-projection.js +26 -26
- package/dist/maintenance/rebuild-observations.js +3 -3
- package/dist/memory-browse-operations.js +63 -63
- package/dist/memory-browse.js +7 -7
- package/dist/memory-subject.js +1 -1
- package/dist/namespaces/migrate.js +26 -26
- package/dist/namespaces/search.js +10 -10
- package/dist/namespaces/storage.js +25 -25
- package/dist/offline-sync-impression-drain.js +3 -3
- package/dist/operator-doctor-corpus.js +28 -28
- package/dist/operator-toolkit.js +41 -40
- package/dist/orchestration/full-corpus-heap-guard.d.ts +25 -0
- package/dist/orchestration/full-corpus-heap-guard.d.ts.map +1 -0
- package/dist/orchestration/maintenance.d.ts.map +1 -1
- package/dist/orchestration/maintenance.js +38 -36
- package/dist/orchestration/projection-rebuild-schedule.d.ts +40 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts.map +1 -1
- package/dist/orchestration/session-context.d.ts.map +1 -1
- package/dist/orchestrator.js +142 -139
- package/dist/projection-rebuild-config.d.ts +52 -0
- package/dist/projection-rebuild-config.d.ts.map +1 -0
- package/dist/projection-rebuild-config.js +14 -0
- package/dist/projection-rebuild-config.js.map +1 -0
- package/dist/qmd.js +4 -4
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-operations.js +63 -63
- package/dist/recall-navigation.js +62 -62
- package/dist/recall-state-view-admission.js +7 -7
- package/dist/recall-state.js +2 -2
- package/dist/recall-why-service.js +8 -8
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/manifest.js +3 -3
- package/dist/relevance.js +2 -2
- package/dist/{resolution-RSG4HZTL.js → resolution-TV3F7ZTH.js} +7 -7
- package/dist/resolution-TV3F7ZTH.js.map +1 -0
- package/dist/resume-bundles.js +32 -31
- package/dist/salvage-envelope.js +1 -1
- package/dist/search/factory.js +9 -9
- package/dist/search/index.js +17 -17
- package/dist/semantic-consolidation.js +31 -31
- package/dist/semantic-rule-promotion.js +25 -25
- package/dist/semantic-rule-verifier.js +25 -25
- package/dist/source-agent-qualifier.js +29 -29
- package/dist/standup/build.js +25 -25
- package/dist/storage/memory-lifecycle-ledger-access.d.ts +5 -3
- package/dist/storage/memory-lifecycle-ledger-access.d.ts.map +1 -1
- package/dist/storage/memory-read-store.d.ts +2 -2
- package/dist/storage/memory-read-store.d.ts.map +1 -1
- package/dist/storage.d.ts +4 -2
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +24 -24
- package/dist/subject-config.js +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/support-passport/index.js +78 -78
- package/dist/transfer/export-okf.js +26 -26
- package/dist/types.d.ts +8 -40
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/verified-recall.js +25 -25
- package/dist/who-knows-cli.js +26 -26
- package/dist/who-knows.js +25 -25
- package/dist/write-envelope.js +1 -1
- package/package.json +2 -2
- package/src/access-cli.ts +4 -0
- package/src/access-http.ts +1 -0
- package/src/access-mcp-correction-tools.ts +56 -0
- package/src/access-mcp.ts +4 -49
- package/src/access-operations.ts +3 -0
- package/src/access-service.ts +12 -21
- package/src/config.test.ts +35 -0
- package/src/config.ts +6 -65
- package/src/corpus-read-cancellation.ts +7 -0
- package/src/correction/correction-access-wiring.ts +56 -16
- package/src/correction/correction-classify.test.ts +185 -0
- package/src/correction/correction-classify.ts +157 -0
- package/src/correction/correction-config.ts +93 -0
- package/src/correction/correction-contract.ts +61 -14
- package/src/correction/correction-executor.test.ts +102 -2
- package/src/correction/correction-executor.ts +19 -1
- package/src/correction/correction-planner.test.ts +141 -0
- package/src/correction/correction-planner.ts +117 -11
- package/src/correction/correction-surfaces.test.ts +22 -1
- package/src/local-llm-qos.test.ts +36 -0
- package/src/local-llm.ts +20 -3
- package/src/maintenance/atomic-file.ts +2 -0
- package/src/maintenance/projection-rebuild-abort.ts +40 -0
- package/src/maintenance/projection-timeline.ts +209 -0
- package/src/maintenance/rebuild-memory-projection-runner.ts +94 -0
- package/src/maintenance/rebuild-memory-projection.memory.test.ts +159 -0
- package/src/maintenance/rebuild-memory-projection.retain-raw.test.ts +202 -0
- package/src/maintenance/rebuild-memory-projection.ts +63 -91
- package/src/orchestration/full-corpus-heap-guard.ts +38 -0
- package/src/orchestration/maintenance.test.ts +2 -2
- package/src/orchestration/maintenance.ts +2 -0
- package/src/orchestration/projection-rebuild-schedule.test.ts +498 -0
- package/src/orchestration/projection-rebuild-schedule.ts +280 -9
- package/src/orchestration/session-context.ts +0 -15
- package/src/projection-rebuild-config.ts +82 -0
- package/src/recall-handles-wiring.test.ts +24 -0
- package/src/storage/memory-lifecycle-ledger-access.ts +61 -33
- package/src/storage/memory-read-store.ts +10 -4
- package/src/storage.ts +45 -33
- package/src/types.ts +8 -41
- package/dist/chunk-22DYJLFN.js.map +0 -1
- package/dist/chunk-6GU3TNJJ.js.map +0 -1
- package/dist/chunk-6JIHC5AS.js.map +0 -1
- package/dist/chunk-BLHPADUX.js.map +0 -1
- package/dist/chunk-CHI37EHP.js.map +0 -1
- package/dist/chunk-GBA4N2SG.js.map +0 -1
- package/dist/chunk-NGOZH7R5.js.map +0 -1
- package/dist/chunk-QLK3SL7Q.js.map +0 -1
- package/dist/chunk-RKDSELA3.js.map +0 -1
- package/dist/chunk-X6X4UASX.js.map +0 -1
- package/dist/chunk-ZS7RK6H6.js.map +0 -1
- /package/dist/{resolution-RSG4HZTL.js.map → access-mcp-correction-tools.js.map} +0 -0
- /package/dist/{auto-sync-PAWBFQWL.js.map → auto-sync-FN7E3OTO.js.map} +0 -0
- /package/dist/{chunk-YQSWNFZE.js.map → chunk-2CP577K6.js.map} +0 -0
- /package/dist/{chunk-345MEMRU.js.map → chunk-3OUGSOJP.js.map} +0 -0
- /package/dist/{chunk-G2STTRYB.js.map → chunk-4D2YH47Z.js.map} +0 -0
- /package/dist/{chunk-IXYIW3MZ.js.map → chunk-4K2H4KTR.js.map} +0 -0
- /package/dist/{chunk-UVVSOSHL.js.map → chunk-52CQKST6.js.map} +0 -0
- /package/dist/{chunk-H7BZBSP6.js.map → chunk-52II7PB6.js.map} +0 -0
- /package/dist/{chunk-2QZFZNXO.js.map → chunk-5CQO6LVM.js.map} +0 -0
- /package/dist/{chunk-NLDMTXWV.js.map → chunk-5LNPW7NE.js.map} +0 -0
- /package/dist/{chunk-WHTMVTU4.js.map → chunk-5X4ZJESN.js.map} +0 -0
- /package/dist/{chunk-WI37MWRZ.js.map → chunk-63UNVGZW.js.map} +0 -0
- /package/dist/{chunk-G3T6YMBO.js.map → chunk-64S6X4IU.js.map} +0 -0
- /package/dist/{chunk-CFCEJNOE.js.map → chunk-6KHF6PAB.js.map} +0 -0
- /package/dist/{chunk-35A7GCHG.js.map → chunk-6T42L5FI.js.map} +0 -0
- /package/dist/{chunk-JDOBIFBK.js.map → chunk-7CXL25AA.js.map} +0 -0
- /package/dist/{chunk-YLBE6PLR.js.map → chunk-7IGMKQWK.js.map} +0 -0
- /package/dist/{chunk-CSLK7BN6.js.map → chunk-7LYRFI5A.js.map} +0 -0
- /package/dist/{chunk-IB63OVUB.js.map → chunk-AJ6ORARY.js.map} +0 -0
- /package/dist/{chunk-CGOKNQDK.js.map → chunk-ANZXWOYD.js.map} +0 -0
- /package/dist/{chunk-5QXMESS7.js.map → chunk-AXC7UTLM.js.map} +0 -0
- /package/dist/{chunk-RFIJRZ4K.js.map → chunk-B657ZGDH.js.map} +0 -0
- /package/dist/{chunk-MY7B3HYC.js.map → chunk-CLCMDKTB.js.map} +0 -0
- /package/dist/{chunk-QPWUG2S3.js.map → chunk-CYEK6Z3P.js.map} +0 -0
- /package/dist/{chunk-IHCYCE6D.js.map → chunk-DJMVSUPK.js.map} +0 -0
- /package/dist/{chunk-HP4CU2ZA.js.map → chunk-DST7HRSG.js.map} +0 -0
- /package/dist/{chunk-IIFFC3RL.js.map → chunk-EDR6CVWZ.js.map} +0 -0
- /package/dist/{chunk-AUWMKDKL.js.map → chunk-EMVJU7WC.js.map} +0 -0
- /package/dist/{chunk-O6AYMAPJ.js.map → chunk-ENNC3RZ6.js.map} +0 -0
- /package/dist/{chunk-2JRB3Z5N.js.map → chunk-EP5WXE2G.js.map} +0 -0
- /package/dist/{chunk-I2KEH2LS.js.map → chunk-FC6RCOIU.js.map} +0 -0
- /package/dist/{chunk-OZVHLBH6.js.map → chunk-FLV7M7CT.js.map} +0 -0
- /package/dist/{chunk-Q6GI7HEC.js.map → chunk-FRH2UC7Q.js.map} +0 -0
- /package/dist/{chunk-3SL52JKD.js.map → chunk-FZVROZKC.js.map} +0 -0
- /package/dist/{chunk-2EZB2DL5.js.map → chunk-GE6HETIF.js.map} +0 -0
- /package/dist/{chunk-2DHJTJIY.js.map → chunk-GEGUBU3D.js.map} +0 -0
- /package/dist/{chunk-6AA7XFMO.js.map → chunk-GF4H3B3R.js.map} +0 -0
- /package/dist/{chunk-ME2LMFHF.js.map → chunk-HPAOMYKM.js.map} +0 -0
- /package/dist/{chunk-4NRZ7BRS.js.map → chunk-I25RINZK.js.map} +0 -0
- /package/dist/{chunk-XG4XXI66.js.map → chunk-I25RQA65.js.map} +0 -0
- /package/dist/{chunk-EJJMDLVB.js.map → chunk-IJ4FEGZR.js.map} +0 -0
- /package/dist/{chunk-EUL3S3LE.js.map → chunk-J5WI4QRP.js.map} +0 -0
- /package/dist/{chunk-LMMC55WM.js.map → chunk-JA54KIYD.js.map} +0 -0
- /package/dist/{chunk-5FLFPTDK.js.map → chunk-JA72X46J.js.map} +0 -0
- /package/dist/{chunk-NLYOOGZ7.js.map → chunk-KE5PWLI6.js.map} +0 -0
- /package/dist/{chunk-4DDIWRT7.js.map → chunk-KQI2PKYP.js.map} +0 -0
- /package/dist/{chunk-Y2ADLCB3.js.map → chunk-KSUOM3YU.js.map} +0 -0
- /package/dist/{chunk-BTOHGPHC.js.map → chunk-KZEMFD6E.js.map} +0 -0
- /package/dist/{chunk-NXVD46HT.js.map → chunk-L2VS27PZ.js.map} +0 -0
- /package/dist/{chunk-MYYHACOW.js.map → chunk-L34W4W4I.js.map} +0 -0
- /package/dist/{chunk-KRTIHXWC.js.map → chunk-L3PWXD73.js.map} +0 -0
- /package/dist/{chunk-NQHSXHJP.js.map → chunk-L6GNS5GB.js.map} +0 -0
- /package/dist/{chunk-44PBRUXB.js.map → chunk-M47Q6566.js.map} +0 -0
- /package/dist/{chunk-E7FN5N5E.js.map → chunk-MQNOIH2C.js.map} +0 -0
- /package/dist/{chunk-IDSZNHIP.js.map → chunk-MULNBSPP.js.map} +0 -0
- /package/dist/{chunk-RKSGUMVL.js.map → chunk-NBQIFCJE.js.map} +0 -0
- /package/dist/{chunk-I6WFBNA4.js.map → chunk-NHSVW7UT.js.map} +0 -0
- /package/dist/{chunk-32HO62I4.js.map → chunk-OFEHITAZ.js.map} +0 -0
- /package/dist/{chunk-PCO3P7WJ.js.map → chunk-OGVJXIHX.js.map} +0 -0
- /package/dist/{chunk-RYN4AIRM.js.map → chunk-OZABSIOV.js.map} +0 -0
- /package/dist/{chunk-HO7IQP7G.js.map → chunk-QMFKW4OU.js.map} +0 -0
- /package/dist/{chunk-34G4U6HS.js.map → chunk-QRZMJ2WN.js.map} +0 -0
- /package/dist/{chunk-GUD6FYQG.js.map → chunk-RSMIRLKM.js.map} +0 -0
- /package/dist/{chunk-TNVZCLJU.js.map → chunk-S5TGRZWY.js.map} +0 -0
- /package/dist/{chunk-O24EWFPQ.js.map → chunk-SNXBXYUE.js.map} +0 -0
- /package/dist/{chunk-KW77LGDX.js.map → chunk-SUAX5JWY.js.map} +0 -0
- /package/dist/{chunk-PNFWIB4X.js.map → chunk-SWRN6U7Q.js.map} +0 -0
- /package/dist/{chunk-R4NGLTUS.js.map → chunk-TDMNADPI.js.map} +0 -0
- /package/dist/{chunk-QCP75JGO.js.map → chunk-TFA6HPOA.js.map} +0 -0
- /package/dist/{chunk-LI76ESJL.js.map → chunk-TZQOCQXB.js.map} +0 -0
- /package/dist/{chunk-OV7EYM6M.js.map → chunk-U6OXJQEH.js.map} +0 -0
- /package/dist/{chunk-OWHPA4JS.js.map → chunk-V32NHP2R.js.map} +0 -0
- /package/dist/{chunk-JSUA4YFE.js.map → chunk-WG4TMZJ2.js.map} +0 -0
- /package/dist/{chunk-DQTCGVFK.js.map → chunk-WHCD4Z3D.js.map} +0 -0
- /package/dist/{chunk-KATEWTQJ.js.map → chunk-X7J56GPG.js.map} +0 -0
- /package/dist/{chunk-7KICGR5W.js.map → chunk-XPRAOTJY.js.map} +0 -0
- /package/dist/{chunk-2NV7MMMM.js.map → chunk-XQSJXNWC.js.map} +0 -0
- /package/dist/{chunk-RXT6UB25.js.map → chunk-YJAOYEWI.js.map} +0 -0
- /package/dist/{chunk-L6DJJEFW.js.map → chunk-YJEUHGZZ.js.map} +0 -0
- /package/dist/{chunk-AXFWMRKI.js.map → chunk-YQJCWR4R.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-NHLLKEKK.js";
|
|
12
12
|
import {
|
|
13
13
|
parseConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5BPXMAUP.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveObjectiveStateStoreDir,
|
|
17
17
|
validateObjectiveStateSnapshot
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
recordResumeBundle,
|
|
269
269
|
getResumeBundleStatus
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-2CP577K6.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TombstoneStore,
|
|
3
|
+
applyTombstoneResurrectionGate,
|
|
4
|
+
buildRetiredFactTombstoneInputs,
|
|
5
|
+
collectRetiredMemoriesForRebuild
|
|
6
|
+
} from "./chunk-46WM6JX2.js";
|
|
1
7
|
import {
|
|
2
8
|
WEARABLES_DIR_NAME,
|
|
3
9
|
escapeSegmentText,
|
|
@@ -9,28 +15,22 @@ import {
|
|
|
9
15
|
unescapeSegmentText,
|
|
10
16
|
unescapeSpeakerLabel
|
|
11
17
|
} from "./chunk-UHVXE24Y.js";
|
|
12
|
-
import {
|
|
13
|
-
TombstoneStore,
|
|
14
|
-
applyTombstoneResurrectionGate,
|
|
15
|
-
buildRetiredFactTombstoneInputs,
|
|
16
|
-
collectRetiredMemoriesForRebuild
|
|
17
|
-
} from "./chunk-46WM6JX2.js";
|
|
18
18
|
import {
|
|
19
19
|
normalizeQmdResultPath
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RSMIRLKM.js";
|
|
21
21
|
import {
|
|
22
22
|
withholdToolScopedFromSharedNamespace
|
|
23
23
|
} from "./chunk-S2V7RUCL.js";
|
|
24
24
|
import {
|
|
25
25
|
parseOfflineSyncDigestCache
|
|
26
26
|
} from "./chunk-X3724WL4.js";
|
|
27
|
-
import {
|
|
28
|
-
createMemorySnapshot
|
|
29
|
-
} from "./chunk-S2HLHAZ4.js";
|
|
30
27
|
import {
|
|
31
28
|
rewriteProjectedEntityReferences,
|
|
32
29
|
rewriteProjectedMemoryEntityReference
|
|
33
30
|
} from "./chunk-MRPOZBJC.js";
|
|
31
|
+
import {
|
|
32
|
+
createMemorySnapshot
|
|
33
|
+
} from "./chunk-S2HLHAZ4.js";
|
|
34
34
|
import {
|
|
35
35
|
rotateMarkdownFileToArchive
|
|
36
36
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
okfTypeForEntityKind,
|
|
78
78
|
okfTypeForMemory,
|
|
79
79
|
refreshDirectorySidecarsAfterWrite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-3OUGSOJP.js";
|
|
81
81
|
import {
|
|
82
82
|
normalizeProjectionPreview,
|
|
83
83
|
normalizeProjectionTags
|
|
@@ -85,16 +85,12 @@ import {
|
|
|
85
85
|
import {
|
|
86
86
|
normalizeEntityName
|
|
87
87
|
} from "./chunk-YXZG5TVN.js";
|
|
88
|
-
import {
|
|
89
|
-
checkCorpusReadAbort
|
|
90
|
-
} from "./chunk-5GINB5LC.js";
|
|
91
88
|
import {
|
|
92
89
|
detectLanguageHint
|
|
93
90
|
} from "./chunk-3WU7XOFN.js";
|
|
94
91
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./chunk-G7D6GZ5J.js";
|
|
92
|
+
checkCorpusReadAbort
|
|
93
|
+
} from "./chunk-6MKLMEBE.js";
|
|
98
94
|
import {
|
|
99
95
|
createVersion
|
|
100
96
|
} from "./chunk-W5XWHTDO.js";
|
|
@@ -128,6 +124,10 @@ import {
|
|
|
128
124
|
import {
|
|
129
125
|
entityMentionEpoch
|
|
130
126
|
} from "./chunk-7CT3AI52.js";
|
|
127
|
+
import {
|
|
128
|
+
isConsolidationOperator,
|
|
129
|
+
isValidDerivedFromEntry
|
|
130
|
+
} from "./chunk-G7D6GZ5J.js";
|
|
131
131
|
import {
|
|
132
132
|
parseOriginClass
|
|
133
133
|
} from "./chunk-23G5P7TA.js";
|
|
@@ -144,6 +144,9 @@ import {
|
|
|
144
144
|
updateCacheOnDelete,
|
|
145
145
|
updateCacheOnWrite
|
|
146
146
|
} from "./chunk-C64XATK7.js";
|
|
147
|
+
import {
|
|
148
|
+
selectArtifactMatches
|
|
149
|
+
} from "./chunk-Z7L72ZHL.js";
|
|
147
150
|
import {
|
|
148
151
|
archive_mutation_version_exports,
|
|
149
152
|
bumpArchiveMutationIfChanged,
|
|
@@ -151,8 +154,9 @@ import {
|
|
|
151
154
|
recordArchiveDelete
|
|
152
155
|
} from "./chunk-W5BIQOAJ.js";
|
|
153
156
|
import {
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
SPECULATIVE_TTL_DAYS,
|
|
158
|
+
confidenceTier
|
|
159
|
+
} from "./chunk-QWWMS4AE.js";
|
|
156
160
|
import {
|
|
157
161
|
composeMemoryEnvelope,
|
|
158
162
|
isSealedMemoryEnvelope,
|
|
@@ -169,6 +173,7 @@ import {
|
|
|
169
173
|
drainPendingLifecycleLedgerForSync,
|
|
170
174
|
drainPendingLifecycleLedgerIfAny,
|
|
171
175
|
formatProjectionAge,
|
|
176
|
+
iterateLifecycleEventsFromLedger,
|
|
172
177
|
readAllLifecycleEventsFromLedger,
|
|
173
178
|
readAllLifecycleEventsFromLedgerBuffer,
|
|
174
179
|
readBoundedLifecycleEventsFromLedger,
|
|
@@ -177,7 +182,7 @@ import {
|
|
|
177
182
|
readMemoryActionEventRowsFromLines,
|
|
178
183
|
readProjectionRebuiltAt,
|
|
179
184
|
serializeLifecycleAppendPayload
|
|
180
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-XVC7JU2N.js";
|
|
181
186
|
import {
|
|
182
187
|
assertMemoryFrontmatterId,
|
|
183
188
|
warnProjectionFallback
|
|
@@ -195,6 +200,9 @@ import {
|
|
|
195
200
|
readProjectedMemoryTimeline,
|
|
196
201
|
updateProjectedMemoryPath
|
|
197
202
|
} from "./chunk-AL3UYZ5N.js";
|
|
203
|
+
import {
|
|
204
|
+
isSupportPassportPrivateMemory
|
|
205
|
+
} from "./chunk-PWPIERBM.js";
|
|
198
206
|
import {
|
|
199
207
|
assertPathInsideRoot,
|
|
200
208
|
pathIsInside
|
|
@@ -207,16 +215,6 @@ import {
|
|
|
207
215
|
import {
|
|
208
216
|
computeLegacyContentHash
|
|
209
217
|
} from "./chunk-5FVVY2EB.js";
|
|
210
|
-
import {
|
|
211
|
-
withHeldFileLock
|
|
212
|
-
} from "./chunk-FFAZ2XFU.js";
|
|
213
|
-
import {
|
|
214
|
-
SPECULATIVE_TTL_DAYS,
|
|
215
|
-
confidenceTier
|
|
216
|
-
} from "./chunk-RKDSELA3.js";
|
|
217
|
-
import {
|
|
218
|
-
isSupportPassportPrivateMemory
|
|
219
|
-
} from "./chunk-PWPIERBM.js";
|
|
220
218
|
import {
|
|
221
219
|
assemblePersistedBody,
|
|
222
220
|
storedContentIdentityCandidates,
|
|
@@ -225,6 +223,9 @@ import {
|
|
|
225
223
|
import {
|
|
226
224
|
sanitizeMemoryContent
|
|
227
225
|
} from "./chunk-5GKPFL3S.js";
|
|
226
|
+
import {
|
|
227
|
+
withHeldFileLock
|
|
228
|
+
} from "./chunk-FFAZ2XFU.js";
|
|
228
229
|
import {
|
|
229
230
|
parseFlexibleIsoTimestamp
|
|
230
231
|
} from "./chunk-P7FMDTKL.js";
|
|
@@ -689,11 +690,13 @@ var MemoryReadStore = class {
|
|
|
689
690
|
* covers any hot→cold demotion that changes cold-tier contents) and
|
|
690
691
|
* expires after COLD_SCAN_CACHE_TTL_MS as a safety net.
|
|
691
692
|
*/
|
|
692
|
-
async readAllColdMemories() {
|
|
693
|
+
async readAllColdMemories(options) {
|
|
694
|
+
checkCorpusReadAbort(options);
|
|
695
|
+
const retainRaw = options?.retainRaw !== false;
|
|
693
696
|
const coldRoot = this.deps.resolveTierRootDir("cold");
|
|
694
697
|
const currentColdVersion = this.deps.readColdWriteVersion();
|
|
695
698
|
const keyId = this.deps.hotCacheKeyId();
|
|
696
|
-
const cached = this.deps.storageManagerClass.coldMemoriesCache.get(coldRoot);
|
|
699
|
+
const cached = retainRaw ? this.deps.storageManagerClass.coldMemoriesCache.get(coldRoot) : void 0;
|
|
697
700
|
if (cached && cached.keyId === keyId && Date.now() - cached.loadedAt < this.deps.storageManagerClass.COLD_SCAN_CACHE_TTL_MS && cached.coldVersion === currentColdVersion) {
|
|
698
701
|
return cached.memories;
|
|
699
702
|
}
|
|
@@ -717,8 +720,10 @@ var MemoryReadStore = class {
|
|
|
717
720
|
}
|
|
718
721
|
};
|
|
719
722
|
await collectPaths(coldRoot);
|
|
720
|
-
const memories = await this.deps.readParsedMemoriesFromPaths(filePaths, 50);
|
|
721
|
-
|
|
723
|
+
const memories = await this.deps.readParsedMemoriesFromPaths(filePaths, 50, options);
|
|
724
|
+
if (retainRaw) {
|
|
725
|
+
this.deps.storageManagerClass.coldMemoriesCache.set(coldRoot, { memories, loadedAt: Date.now(), coldVersion: currentColdVersion, keyId });
|
|
726
|
+
}
|
|
722
727
|
return memories;
|
|
723
728
|
}
|
|
724
729
|
/** Read a single memory file by its absolute path. Returns null if unreadable. */
|
|
@@ -9046,6 +9051,7 @@ ${sanitized.text}
|
|
|
9046
9051
|
}
|
|
9047
9052
|
async readAllMemories(options) {
|
|
9048
9053
|
checkCorpusReadAbort(options);
|
|
9054
|
+
if (options?.retainRaw === false) return this._readAllMemoriesFromDisk(options);
|
|
9049
9055
|
if (this.hotMemoriesCacheEnabled) {
|
|
9050
9056
|
const cached = getCachedMemories(
|
|
9051
9057
|
this.baseDir,
|
|
@@ -9286,18 +9292,16 @@ ${sanitized.text}
|
|
|
9286
9292
|
const raw = await readMaybeEncryptedFile(fullPath, this._secureStoreKey, this.baseDir);
|
|
9287
9293
|
const parsed = parseFrontmatter(raw);
|
|
9288
9294
|
if (!parsed) return null;
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
frontmatter
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
raw
|
|
9300
|
-
);
|
|
9295
|
+
const memory = {
|
|
9296
|
+
path: fullPath,
|
|
9297
|
+
frontmatter: normalizeFrontmatterForPath(
|
|
9298
|
+
parsed.frontmatter,
|
|
9299
|
+
toMemoryPathRel(this.baseDir, fullPath),
|
|
9300
|
+
parsed.content
|
|
9301
|
+
),
|
|
9302
|
+
content: parsed.content
|
|
9303
|
+
};
|
|
9304
|
+
return options?.retainRaw === false ? memory : rememberRawFrontmatter(memory, raw);
|
|
9301
9305
|
} catch (err) {
|
|
9302
9306
|
if (err instanceof SecureStoreLockedError) throw err;
|
|
9303
9307
|
return null;
|
|
@@ -9394,20 +9398,23 @@ ${sanitized.text}
|
|
|
9394
9398
|
const filePaths = await this.collectActiveMemoryPaths(options);
|
|
9395
9399
|
return this.readParsedMemoriesFromPaths(filePaths, 50, options);
|
|
9396
9400
|
}
|
|
9397
|
-
async readAllColdMemories() {
|
|
9398
|
-
|
|
9401
|
+
async readAllColdMemories(options) {
|
|
9402
|
+
const memories = await this.memoryReadStore.readAllColdMemories(options);
|
|
9403
|
+
return options?.retainRaw === false ? memories : this.rememberMemorySnapshots(memories);
|
|
9399
9404
|
}
|
|
9400
9405
|
/**
|
|
9401
9406
|
* Read archived memory markdown files under archive/.
|
|
9402
9407
|
* Used by long-term recall fallback when hot recall has no hits.
|
|
9403
9408
|
*/
|
|
9404
|
-
async readArchivedMemories() {
|
|
9409
|
+
async readArchivedMemories(options) {
|
|
9410
|
+
checkCorpusReadAbort(options);
|
|
9405
9411
|
const memories = [];
|
|
9406
9412
|
const root = this.archiveDir;
|
|
9407
9413
|
const readDir = async (dir) => {
|
|
9408
9414
|
try {
|
|
9409
9415
|
const entries = await readdir6(dir, { withFileTypes: true });
|
|
9410
9416
|
for (const entry of entries) {
|
|
9417
|
+
checkCorpusReadAbort(options);
|
|
9411
9418
|
const fullPath = path13.join(dir, entry.name);
|
|
9412
9419
|
if (entry.isDirectory()) {
|
|
9413
9420
|
await readDir(fullPath);
|
|
@@ -9416,23 +9423,19 @@ ${sanitized.text}
|
|
|
9416
9423
|
const raw = await readMaybeEncryptedFile(fullPath, this._secureStoreKey, this.baseDir);
|
|
9417
9424
|
const parsed = parseFrontmatter(raw);
|
|
9418
9425
|
if (parsed) {
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
},
|
|
9430
|
-
raw
|
|
9431
|
-
)
|
|
9432
|
-
);
|
|
9426
|
+
const memory = {
|
|
9427
|
+
path: fullPath,
|
|
9428
|
+
frontmatter: normalizeFrontmatterForPath(
|
|
9429
|
+
parsed.frontmatter,
|
|
9430
|
+
toMemoryPathRel(this.baseDir, fullPath),
|
|
9431
|
+
parsed.content
|
|
9432
|
+
),
|
|
9433
|
+
content: parsed.content
|
|
9434
|
+
};
|
|
9435
|
+
memories.push(options?.retainRaw === false ? memory : rememberRawFrontmatter(memory, raw));
|
|
9433
9436
|
}
|
|
9434
9437
|
} catch (err) {
|
|
9435
|
-
if (err instanceof SecureStoreLockedError) throw err;
|
|
9438
|
+
if (isAbortError(err) || err instanceof SecureStoreLockedError) throw err;
|
|
9436
9439
|
if (!isErrnoCode(err, "ENOENT")) {
|
|
9437
9440
|
log.warn(`skipping unreadable archived memory ${fullPath}: ${err}`);
|
|
9438
9441
|
}
|
|
@@ -9440,12 +9443,13 @@ ${sanitized.text}
|
|
|
9440
9443
|
}
|
|
9441
9444
|
}
|
|
9442
9445
|
} catch (error) {
|
|
9443
|
-
if (error instanceof SecureStoreLockedError) throw error;
|
|
9446
|
+
if (isAbortError(error) || error instanceof SecureStoreLockedError) throw error;
|
|
9444
9447
|
if (!isErrnoCode(error, "ENOENT")) throw error;
|
|
9445
9448
|
}
|
|
9446
9449
|
};
|
|
9447
9450
|
await readDir(root);
|
|
9448
|
-
|
|
9451
|
+
checkCorpusReadAbort(options);
|
|
9452
|
+
return options?.retainRaw === false ? memories : this.rememberMemorySnapshots(memories);
|
|
9449
9453
|
}
|
|
9450
9454
|
async readMemoryByPath(filePath) {
|
|
9451
9455
|
return this.rememberMemorySnapshot(await this.memoryReadStore.readMemoryByPath(filePath));
|
|
@@ -10246,6 +10250,13 @@ ${memory.content}
|
|
|
10246
10250
|
async readAllMemoryLifecycleEvents() {
|
|
10247
10251
|
return readAllLifecycleEventsFromLedger(this.memoryLifecycleLedgerPath, (p) => this.readStorageSecureFile(p));
|
|
10248
10252
|
}
|
|
10253
|
+
/** File-order lifecycle rows. Callers that need canonical order sort after. */
|
|
10254
|
+
async *iterateMemoryLifecycleEvents() {
|
|
10255
|
+
yield* iterateLifecycleEventsFromLedger(
|
|
10256
|
+
this.memoryLifecycleLedgerPath,
|
|
10257
|
+
(filePath) => this.readStorageSecureFile(filePath)
|
|
10258
|
+
);
|
|
10259
|
+
}
|
|
10249
10260
|
/** Raw decrypted ledger bytes as a Buffer, never a string, so an oversized
|
|
10250
10261
|
* ledger cannot throw on decode before recovery (#2033). */
|
|
10251
10262
|
async readMemoryLifecycleLedgerRawBufferForCompaction() {
|
|
@@ -11369,4 +11380,4 @@ export {
|
|
|
11369
11380
|
isValidBufferSurpriseEvent,
|
|
11370
11381
|
StorageManager3 as StorageManager
|
|
11371
11382
|
};
|
|
11372
|
-
//# sourceMappingURL=chunk-
|
|
11383
|
+
//# sourceMappingURL=chunk-37HCPM56.js.map
|