@remnic/core 9.29.1 → 9.30.0
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.d.ts +11 -11
- package/dist/access-admin-ops-surface.js +19 -18
- package/dist/access-authorization-probe.d.ts +11 -11
- package/dist/access-authorization-probe.js +20 -19
- package/dist/access-boundary.d.ts +11 -11
- package/dist/access-boundary.js +19 -18
- package/dist/access-citation-namespace.js +2 -2
- package/dist/access-cli.js +45 -44
- package/dist/access-cli.js.map +1 -1
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +11 -11
- package/dist/access-http.d.ts +11 -11
- package/dist/access-http.js +25 -24
- package/dist/access-identity-continuity-surface.d.ts +8 -8
- package/dist/access-identity-continuity-surface.js +19 -18
- package/dist/access-lcm-surface.d.ts +10 -10
- package/dist/access-lcm-surface.js +19 -18
- package/dist/access-mcp.d.ts +11 -11
- package/dist/access-mcp.js +23 -22
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-DCXBkDp0.d.ts → access-namespace-preflight-VfXssvoI.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +19 -18
- package/dist/access-observe-write-surface.d.ts +10 -10
- package/dist/access-observe-write-surface.js +19 -18
- package/dist/access-operations-batch.js +20 -19
- package/dist/access-operations.d.ts +11 -11
- package/dist/access-operations.js +22 -21
- package/dist/access-recall-concurrency.d.ts +11 -11
- package/dist/access-recall-concurrency.js +19 -18
- package/dist/access-recall-response.d.ts +10 -10
- package/dist/access-recall-response.js +19 -18
- package/dist/access-recall-surface.d.ts +10 -10
- package/dist/access-recall-surface.js +19 -18
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DvPW_M5j.d.ts → access-service-B5RwVsTV.d.ts} +7 -7
- package/dist/access-service.d.ts +11 -11
- package/dist/access-service.js +19 -18
- package/dist/access-surface-catalog.d.ts +11 -11
- package/dist/access-wearables-meetings-surface.d.ts +4 -3
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +8 -8
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +10 -9
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +3 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-BIVgftWu.d.ts → catalog-V7inUQdp.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +11 -10
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-FZRQZW4H.js → chunk-2EUVEDF5.js} +2 -2
- package/dist/{chunk-PBUZNGMX.js → chunk-4WKA6I65.js} +20 -20
- package/dist/{chunk-PBUZNGMX.js.map → chunk-4WKA6I65.js.map} +1 -1
- package/dist/{chunk-AIK5W3IW.js → chunk-5TFP4CUL.js} +68 -2
- package/dist/chunk-5TFP4CUL.js.map +1 -0
- package/dist/{chunk-3JNDOAQ2.js → chunk-5W4ZLBEZ.js} +9 -9
- package/dist/{chunk-5ZCUDWD4.js → chunk-62U4J2GN.js} +2 -2
- package/dist/{chunk-IGPEJVBY.js → chunk-66772WBP.js} +2 -2
- package/dist/{chunk-EP5BVCRI.js → chunk-6BNE62PM.js} +2 -2
- package/dist/{chunk-AAP5T6QG.js → chunk-6DNMUYEE.js} +2 -2
- package/dist/{chunk-35DL7IOI.js → chunk-6FUPCJUL.js} +7 -7
- package/dist/{chunk-JP3YPDAW.js → chunk-6U7F52DE.js} +19 -19
- package/dist/{chunk-E4OCKU67.js → chunk-7XC2HX75.js} +2 -2
- package/dist/{chunk-OVRQLAYR.js → chunk-AZ5BTEKX.js} +2 -2
- package/dist/{chunk-2AXMQWCN.js → chunk-CZRYLSSW.js} +3 -3
- package/dist/chunk-FBUE6PD3.js +1769 -0
- package/dist/chunk-FBUE6PD3.js.map +1 -0
- package/dist/{chunk-PTSNLEXK.js → chunk-FDAMS4PK.js} +2 -2
- package/dist/{chunk-WL5EBRDH.js → chunk-FFAZ2XFU.js} +9 -8
- package/dist/chunk-FFAZ2XFU.js.map +1 -0
- package/dist/{chunk-2GXM5N5A.js → chunk-GIBMDSJ2.js} +2 -2
- package/dist/{chunk-E5OBR6CJ.js → chunk-H5CPS5JP.js} +3 -3
- package/dist/{chunk-2D7FEUCK.js → chunk-I5NLEENJ.js} +2 -2
- package/dist/{chunk-DRBXHRXE.js → chunk-IB26HVAJ.js} +2 -2
- package/dist/{chunk-QDKK63Y7.js → chunk-IC6CBHCA.js} +3 -3
- package/dist/{chunk-IAEAFLF2.js → chunk-JCBWCYEJ.js} +2 -2
- package/dist/{chunk-3PDOVUHC.js → chunk-KXB4VXHY.js} +2 -2
- package/dist/{chunk-WU7TTVOD.js → chunk-LBOD4U5B.js} +7 -7
- package/dist/{chunk-UBKEQOTD.js → chunk-LGHKJABJ.js} +3 -3
- package/dist/{chunk-VSURVXKY.js → chunk-M3C2V3PV.js} +10 -10
- package/dist/{chunk-OFHFH655.js → chunk-MJCGLM25.js} +8 -8
- package/dist/{chunk-OYJKSZIQ.js → chunk-NHWB6HG2.js} +2 -2
- package/dist/{chunk-TC3VNKGX.js → chunk-NM2WP3B7.js} +4 -4
- package/dist/{chunk-GAWOEQEQ.js → chunk-P5PXWTW7.js} +2 -2
- package/dist/chunk-PH3ZWL3W.js +786 -0
- package/dist/chunk-PH3ZWL3W.js.map +1 -0
- package/dist/{chunk-FUYEVEX7.js → chunk-PUS63Q3G.js} +24 -22
- package/dist/{chunk-FUYEVEX7.js.map → chunk-PUS63Q3G.js.map} +1 -1
- package/dist/{chunk-2QMKMVHH.js → chunk-QNWXCJ76.js} +2 -2
- package/dist/{chunk-JMQUBRV6.js → chunk-RGIWINDN.js} +340 -771
- package/dist/chunk-RGIWINDN.js.map +1 -0
- package/dist/{chunk-WRFBW2TT.js → chunk-SPJXKAVF.js} +3 -3
- package/dist/{chunk-HKJCMOT6.js → chunk-TH2LSRMG.js} +2 -2
- package/dist/{chunk-CW4AGY3G.js → chunk-VI2JQPNQ.js} +2 -2
- package/dist/{chunk-OP6F6L3S.js → chunk-W5EG6LE3.js} +2 -2
- package/dist/{chunk-DEBHXHJR.js → chunk-WIPEXG6R.js} +2 -2
- package/dist/{chunk-SH6YO3LT.js → chunk-WVO4G37W.js} +2 -2
- package/dist/{chunk-7L45JFPW.js → chunk-YTQNQ4KB.js} +14 -14
- package/dist/{chunk-PKRIQL3V.js → chunk-YTSNAUXN.js} +2 -2
- package/dist/{chunk-5QDRGWT2.js → chunk-ZPSVBSOF.js} +4 -4
- package/dist/{cli-CxoSOiG0.d.ts → cli-C4GbETPC.d.ts} +5 -5
- package/dist/cli.d.ts +13 -13
- package/dist/cli.js +36 -35
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +10 -9
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +3 -3
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +10 -9
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +10 -9
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +3 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +12 -11
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +10 -9
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +52 -10
- package/dist/explicit-capture.js +13 -1
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{forget-HRPLVB3W.js → forget-4UY2EOKH.js} +3 -3
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +19 -19
- package/dist/index.js +47 -45
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +10 -9
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -9
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +11 -10
- package/dist/{maintenance-Cb-PjxQd.d.ts → maintenance-CL30NWtc.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +11 -11
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +11 -10
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +10 -9
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/offline-sync-impression-drain.js +5 -5
- package/dist/offline-sync.js +2 -2
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +13 -12
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +4 -3
- package/dist/operator-toolkit.js +18 -17
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +15 -14
- package/dist/{orchestrator-5GKqb_HL.d.ts → orchestrator-CKTCRwWV.d.ts} +7 -7
- package/dist/orchestrator.d.ts +8 -8
- package/dist/orchestrator.js +45 -44
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-3Qi1TpRo.d.ts → pipeline-B7wj4rRZ.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{purge-YSGX5BOG.js → purge-533FZLS4.js} +16 -9
- package/dist/purge-533FZLS4.js.map +1 -0
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/{qmd-D9JqzzRX.d.ts → qmd-q9tg4dHp.d.ts} +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-state.js +2 -2
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +4 -4
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-C4g6_UdP.d.ts → scope-profiles-CWDyglPM.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/secure-store/index.js +2 -2
- package/dist/{semantic-consolidation-BrxqnzTW.d.ts → semantic-consolidation-BUE3deLn.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +11 -10
- package/dist/semantic-rule-promotion.js +10 -9
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +10 -9
- package/dist/{service-Bi1JgxdP.d.ts → service-CXgM0bQG.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-CcH6yPk2.d.ts → storage-DysJq-XH.d.ts} +163 -27
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +12 -10
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/summary-snapshot.js +2 -2
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +3 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-Dg0w9ADr.d.ts → types-aPPzhnjT.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/utils/serialize-mutations.d.ts +11 -7
- package/dist/utils/serialize-mutations.js +1 -1
- package/dist/verified-recall.js +10 -9
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-observe-write-surface.ts +1 -1
- package/src/access-service-coding-write.test.ts +40 -0
- package/src/explicit-capture.test.ts +1110 -1
- package/src/explicit-capture.ts +534 -135
- package/src/maintenance/purge.test.ts +157 -1
- package/src/maintenance/purge.ts +15 -9
- package/src/secure-store/secure-fs.ts +78 -1
- package/src/storage/content-hash-index.ts +43 -17
- package/src/storage/tombstone-blocked-capture-index.ts +562 -0
- package/src/storage/tombstone-blocked-capture-mutation.ts +284 -0
- package/src/storage/tombstone-blocked-capture-sync.ts +872 -0
- package/src/storage-fact-hash-index-defer.test.ts +2900 -57
- package/src/storage.ts +266 -265
- package/src/testing/subjects/tombstone-blocked-capture.test.ts +181 -0
- package/src/utils/serialize-mutations.test.ts +4 -1
- package/src/utils/serialize-mutations.ts +26 -27
- package/dist/chunk-55MDBZLC.js +0 -490
- package/dist/chunk-55MDBZLC.js.map +0 -1
- package/dist/chunk-AIK5W3IW.js.map +0 -1
- package/dist/chunk-JMQUBRV6.js.map +0 -1
- package/dist/chunk-WL5EBRDH.js.map +0 -1
- package/dist/purge-YSGX5BOG.js.map +0 -1
- /package/dist/{chunk-FZRQZW4H.js.map → chunk-2EUVEDF5.js.map} +0 -0
- /package/dist/{chunk-3JNDOAQ2.js.map → chunk-5W4ZLBEZ.js.map} +0 -0
- /package/dist/{chunk-5ZCUDWD4.js.map → chunk-62U4J2GN.js.map} +0 -0
- /package/dist/{chunk-IGPEJVBY.js.map → chunk-66772WBP.js.map} +0 -0
- /package/dist/{chunk-EP5BVCRI.js.map → chunk-6BNE62PM.js.map} +0 -0
- /package/dist/{chunk-AAP5T6QG.js.map → chunk-6DNMUYEE.js.map} +0 -0
- /package/dist/{chunk-35DL7IOI.js.map → chunk-6FUPCJUL.js.map} +0 -0
- /package/dist/{chunk-JP3YPDAW.js.map → chunk-6U7F52DE.js.map} +0 -0
- /package/dist/{chunk-E4OCKU67.js.map → chunk-7XC2HX75.js.map} +0 -0
- /package/dist/{chunk-OVRQLAYR.js.map → chunk-AZ5BTEKX.js.map} +0 -0
- /package/dist/{chunk-2AXMQWCN.js.map → chunk-CZRYLSSW.js.map} +0 -0
- /package/dist/{chunk-PTSNLEXK.js.map → chunk-FDAMS4PK.js.map} +0 -0
- /package/dist/{chunk-2GXM5N5A.js.map → chunk-GIBMDSJ2.js.map} +0 -0
- /package/dist/{chunk-E5OBR6CJ.js.map → chunk-H5CPS5JP.js.map} +0 -0
- /package/dist/{chunk-2D7FEUCK.js.map → chunk-I5NLEENJ.js.map} +0 -0
- /package/dist/{chunk-DRBXHRXE.js.map → chunk-IB26HVAJ.js.map} +0 -0
- /package/dist/{chunk-QDKK63Y7.js.map → chunk-IC6CBHCA.js.map} +0 -0
- /package/dist/{chunk-IAEAFLF2.js.map → chunk-JCBWCYEJ.js.map} +0 -0
- /package/dist/{chunk-3PDOVUHC.js.map → chunk-KXB4VXHY.js.map} +0 -0
- /package/dist/{chunk-WU7TTVOD.js.map → chunk-LBOD4U5B.js.map} +0 -0
- /package/dist/{chunk-UBKEQOTD.js.map → chunk-LGHKJABJ.js.map} +0 -0
- /package/dist/{chunk-VSURVXKY.js.map → chunk-M3C2V3PV.js.map} +0 -0
- /package/dist/{chunk-OFHFH655.js.map → chunk-MJCGLM25.js.map} +0 -0
- /package/dist/{chunk-OYJKSZIQ.js.map → chunk-NHWB6HG2.js.map} +0 -0
- /package/dist/{chunk-TC3VNKGX.js.map → chunk-NM2WP3B7.js.map} +0 -0
- /package/dist/{chunk-GAWOEQEQ.js.map → chunk-P5PXWTW7.js.map} +0 -0
- /package/dist/{chunk-2QMKMVHH.js.map → chunk-QNWXCJ76.js.map} +0 -0
- /package/dist/{chunk-WRFBW2TT.js.map → chunk-SPJXKAVF.js.map} +0 -0
- /package/dist/{chunk-HKJCMOT6.js.map → chunk-TH2LSRMG.js.map} +0 -0
- /package/dist/{chunk-CW4AGY3G.js.map → chunk-VI2JQPNQ.js.map} +0 -0
- /package/dist/{chunk-OP6F6L3S.js.map → chunk-W5EG6LE3.js.map} +0 -0
- /package/dist/{chunk-DEBHXHJR.js.map → chunk-WIPEXG6R.js.map} +0 -0
- /package/dist/{chunk-SH6YO3LT.js.map → chunk-WVO4G37W.js.map} +0 -0
- /package/dist/{chunk-7L45JFPW.js.map → chunk-YTQNQ4KB.js.map} +0 -0
- /package/dist/{chunk-PKRIQL3V.js.map → chunk-YTSNAUXN.js.map} +0 -0
- /package/dist/{chunk-5QDRGWT2.js.map → chunk-ZPSVBSOF.js.map} +0 -0
- /package/dist/{forget-HRPLVB3W.js.map → forget-4UY2EOKH.js.map} +0 -0
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
promoteSemanticRuleFromMemory,
|
|
3
3
|
setSemanticRulePromotionTestHooks
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JCBWCYEJ.js";
|
|
5
|
+
import "./chunk-RGIWINDN.js";
|
|
6
6
|
import "./chunk-UHVXE24Y.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-QNWXCJ76.js";
|
|
8
|
+
import "./chunk-WIPEXG6R.js";
|
|
9
9
|
import "./chunk-DNHVPZOD.js";
|
|
10
10
|
import "./chunk-6CIAGZ6X.js";
|
|
11
11
|
import "./chunk-J6A3CX5N.js";
|
|
12
12
|
import "./chunk-HKF5VASQ.js";
|
|
13
13
|
import "./chunk-HUHX2OCX.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-MJCGLM25.js";
|
|
15
15
|
import "./chunk-EGGE52UU.js";
|
|
16
|
-
import "./chunk-WL5EBRDH.js";
|
|
17
16
|
import "./chunk-WRJVB3C2.js";
|
|
18
17
|
import "./chunk-GCASGYIO.js";
|
|
19
|
-
import "./chunk-3CSX3ETE.js";
|
|
20
|
-
import "./chunk-RL6NEVXT.js";
|
|
21
18
|
import "./chunk-ILGC6JH6.js";
|
|
22
19
|
import "./chunk-SCU65EZI.js";
|
|
23
20
|
import "./chunk-DM2T26WE.js";
|
|
24
21
|
import "./chunk-LDXUBPMO.js";
|
|
25
22
|
import "./chunk-JYIJNNN3.js";
|
|
26
23
|
import "./chunk-AAD2ZS6P.js";
|
|
24
|
+
import "./chunk-FBUE6PD3.js";
|
|
25
|
+
import "./chunk-FFAZ2XFU.js";
|
|
26
|
+
import "./chunk-3CSX3ETE.js";
|
|
27
|
+
import "./chunk-RL6NEVXT.js";
|
|
27
28
|
import "./chunk-CGASUJVP.js";
|
|
28
29
|
import "./chunk-R3DJVOSM.js";
|
|
29
30
|
import "./chunk-BT7NVCML.js";
|
|
@@ -55,7 +56,7 @@ import "./chunk-FP2373TW.js";
|
|
|
55
56
|
import "./chunk-P7FMDTKL.js";
|
|
56
57
|
import "./chunk-2XRE6FLM.js";
|
|
57
58
|
import "./chunk-FF4KLI5W.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-5TFP4CUL.js";
|
|
59
60
|
import "./chunk-A6XUJE5D.js";
|
|
60
61
|
import "./chunk-5UZXUTVO.js";
|
|
61
62
|
import "./chunk-VS2IYZRU.js";
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedSemanticRuleResults,
|
|
3
3
|
searchVerifiedSemanticRules
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TH2LSRMG.js";
|
|
5
|
+
import "./chunk-RGIWINDN.js";
|
|
6
6
|
import "./chunk-UHVXE24Y.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-QNWXCJ76.js";
|
|
8
|
+
import "./chunk-WIPEXG6R.js";
|
|
9
9
|
import "./chunk-DNHVPZOD.js";
|
|
10
10
|
import "./chunk-6CIAGZ6X.js";
|
|
11
11
|
import "./chunk-J6A3CX5N.js";
|
|
12
12
|
import "./chunk-HKF5VASQ.js";
|
|
13
13
|
import "./chunk-HUHX2OCX.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-MJCGLM25.js";
|
|
15
15
|
import "./chunk-EGGE52UU.js";
|
|
16
|
-
import "./chunk-WL5EBRDH.js";
|
|
17
16
|
import "./chunk-WRJVB3C2.js";
|
|
18
17
|
import "./chunk-GCASGYIO.js";
|
|
19
|
-
import "./chunk-3CSX3ETE.js";
|
|
20
|
-
import "./chunk-RL6NEVXT.js";
|
|
21
18
|
import "./chunk-ILGC6JH6.js";
|
|
22
19
|
import "./chunk-SCU65EZI.js";
|
|
23
20
|
import "./chunk-DM2T26WE.js";
|
|
24
21
|
import "./chunk-LDXUBPMO.js";
|
|
25
22
|
import "./chunk-JYIJNNN3.js";
|
|
26
23
|
import "./chunk-AAD2ZS6P.js";
|
|
24
|
+
import "./chunk-FBUE6PD3.js";
|
|
25
|
+
import "./chunk-FFAZ2XFU.js";
|
|
26
|
+
import "./chunk-3CSX3ETE.js";
|
|
27
|
+
import "./chunk-RL6NEVXT.js";
|
|
27
28
|
import "./chunk-CGASUJVP.js";
|
|
28
29
|
import "./chunk-R3DJVOSM.js";
|
|
29
30
|
import "./chunk-BT7NVCML.js";
|
|
@@ -56,7 +57,7 @@ import "./chunk-FP2373TW.js";
|
|
|
56
57
|
import "./chunk-P7FMDTKL.js";
|
|
57
58
|
import "./chunk-2XRE6FLM.js";
|
|
58
59
|
import "./chunk-FF4KLI5W.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-5TFP4CUL.js";
|
|
60
61
|
import "./chunk-A6XUJE5D.js";
|
|
61
62
|
import "./chunk-5UZXUTVO.js";
|
|
62
63
|
import "./chunk-VS2IYZRU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as BufferTurn,
|
|
2
|
-
import { M as MemoryWriteResult, F as FusionArtifactStore, a as MeetingRecordStore, b as MeetingRecordSummary } from './storage-
|
|
1
|
+
import { j as BufferTurn, J as ExtractionResult, am as ImportanceScore, x as MemoryStatus, aU as WearableConversation, aV as WearableSourceSettings, aW as WearableNativeMemory, aX as WearableMemoryMode, aY as WearableSourceConnector, aZ as WearablesConfig, a_ as WearableSyncSummary, a$ as WearableSourceStatus, b0 as WearableDayTranscript, aF as FusedWearableConversation, b1 as WearableCorrectionRule, b2 as MeetingBuildInput, b3 as MeetingsConfig, aK as FusedMeeting, aI as MeetingRecord, b4 as MeetingsDetectionInput, b5 as FusionConversationInput, b6 as MeetingActivitySnapshot, b7 as DetectedMeeting } from './types-aPPzhnjT.js';
|
|
2
|
+
import { M as MemoryWriteResult, F as FusionArtifactStore, a as MeetingRecordStore, b as MeetingRecordSummary } from './storage-DysJq-XH.js';
|
|
3
3
|
import { SealedMemoryEnvelope } from './write-envelope.js';
|
|
4
4
|
import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
|
|
5
5
|
|
package/dist/signal.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aF as FusedWearableConversation, aG as FusedDayMeta, aH as FusedDayFile, aI as MeetingRecord, aJ as MeetingDetectionSource, aK as FusedMeeting, M as MemoryFile, l as MemoryFrontmatter, aL as EntityTimelineEntry, al as EntityStructuredSection, E as EntityFile, P as PluginConfig, x as MemoryStatus, v as MemoryCategory, am as ImportanceScore, aM as MemoryLink, F as FaithfulnessFrontmatter, O as ProvenanceSource, aN as BufferState, aO as MetaState, ag as MemoryActionEvent, z as MemoryLifecycleEvent, a7 as BufferSurpriseEvent, a6 as BehaviorSignalEvent, ah as CompressionGuidelineOptimizerState, aP as FileHygieneConfig, aQ as EntityRelationship, aR as EntityActivityEntry, aS as AccessTrackingEntry, y as MemoryProjectionCurrentState, aT as MemorySummary, az as TopicScore } from './types-aPPzhnjT.js';
|
|
2
2
|
import './entity-id-normalization.js';
|
|
3
3
|
import { VersioningConfig } from './page-versioning.js';
|
|
4
4
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
5
|
+
import { withHeldFileLock } from './utils/serialize-mutations.js';
|
|
5
6
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
|
6
7
|
import { SealedMemoryEnvelope } from './write-envelope.js';
|
|
7
8
|
import './structured-attributes.js';
|
|
@@ -609,13 +610,11 @@ declare class ContentHashIndex {
|
|
|
609
610
|
private reconcileRetryBarrier;
|
|
610
611
|
private reconcileRetryResolve;
|
|
611
612
|
/**
|
|
612
|
-
* On-disk fingerprint
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
*
|
|
616
|
-
*
|
|
617
|
-
* a stale-but-"authoritative" snapshot is detected without an O(file-size)
|
|
618
|
-
* re-read on the hot path.
|
|
613
|
+
* On-disk fingerprint captured at the last point THIS instance's in-memory
|
|
614
|
+
* set matched disk — after `load()`, `save()`, or a reconcile publish. A peer
|
|
615
|
+
* process that advances the durable index changes its file generation even
|
|
616
|
+
* when byte size and mtime collide, so the freshness check remains safe
|
|
617
|
+
* without an O(file-size) read on the hot path.
|
|
619
618
|
*/
|
|
620
619
|
private lastSyncedFingerprint;
|
|
621
620
|
constructor(stateDir: string, secureStoreKeyProvider?: () => Buffer | null, secureStoreWriteKeyProvider?: () => Buffer | null, memoryDir?: string, lockOptions?: ContentHashIndexLockOptions);
|
|
@@ -627,11 +626,12 @@ declare class ContentHashIndex {
|
|
|
627
626
|
private captureSyncedFingerprint;
|
|
628
627
|
/**
|
|
629
628
|
* True when the durable index file is unchanged since this instance last
|
|
630
|
-
* synced it (load / save / reconcile). False when a peer advanced it, when
|
|
631
|
-
* file appeared or vanished, or when freshness cannot be established
|
|
632
|
-
* error) — the caller then treats the in-memory snapshot as
|
|
633
|
-
* and confirms a dedup miss against the durable corpus
|
|
634
|
-
*
|
|
629
|
+
* synced it (load / save / reconcile). False when a peer advanced it, when
|
|
630
|
+
* the file appeared or vanished, or when freshness cannot be established
|
|
631
|
+
* (stat error) — the caller then treats the in-memory snapshot as
|
|
632
|
+
* non-authoritative and confirms a dedup miss against the durable corpus.
|
|
633
|
+
* The stat includes file identity and generation metadata so same-size,
|
|
634
|
+
* same-mtime atomic replacements are detected without reading the file body.
|
|
635
635
|
*/
|
|
636
636
|
isDiskFingerprintCurrent(): Promise<boolean>;
|
|
637
637
|
/** Check if content already exists in the index. */
|
|
@@ -698,6 +698,8 @@ declare class ContentHashIndex {
|
|
|
698
698
|
* Test/introspection hook.
|
|
699
699
|
*/
|
|
700
700
|
get hasPendingReconcileRetry(): boolean;
|
|
701
|
+
/** True while this index has in-memory changes not yet published to disk. */
|
|
702
|
+
get hasPendingChanges(): boolean;
|
|
701
703
|
/**
|
|
702
704
|
* Resolve once any armed background reconcile-save retry chain has settled —
|
|
703
705
|
* either it published the deferred additions, or it exhausted its bounded
|
|
@@ -760,6 +762,140 @@ declare class ContentHashIndex {
|
|
|
760
762
|
static computeHash(content: string): string;
|
|
761
763
|
}
|
|
762
764
|
|
|
765
|
+
type StreamedOfflineSyncIdentity = {
|
|
766
|
+
identityHash: string;
|
|
767
|
+
};
|
|
768
|
+
type OfflineSyncMemoryParser = (filePath: string, content: Buffer) => MemoryFile | null;
|
|
769
|
+
declare abstract class TombstoneBlockedCaptureIndexHost {
|
|
770
|
+
private tombstoneBlockedCaptureIndex;
|
|
771
|
+
protected abstract tombstoneBlockedCaptureIndexOptions(): TombstoneBlockedCaptureIndexOptions;
|
|
772
|
+
protected abstract writeStorageSecureFile(filePath: string, content: string | Buffer, forceEncrypt?: boolean): Promise<void>;
|
|
773
|
+
protected abstract assertManagedStoragePath(filePath: string, method: string): string;
|
|
774
|
+
protected abstract notifyCatalogWriteForPath(filePath: string): void;
|
|
775
|
+
protected abstract readMemoryByPath(filePath: string): Promise<MemoryFile | null>;
|
|
776
|
+
protected abstract invalidateAllMemoriesCache(): void;
|
|
777
|
+
protected abstract invalidateKnowledgeIndexCache(): void;
|
|
778
|
+
protected abstract invalidateColdMemoriesCache(): void;
|
|
779
|
+
protected abstract bumpArtifactWriteVersion(): number;
|
|
780
|
+
protected abstract bumpMemoryStatusVersion(): void;
|
|
781
|
+
protected abstract bumpMemoryCorpusVersion(): void;
|
|
782
|
+
protected abstract markFactHashIndexNotAuthoritative(): void;
|
|
783
|
+
private writeStorageSecureFileChunks;
|
|
784
|
+
protected getTombstoneBlockedCaptureIndex(): TombstoneBlockedCaptureIndex;
|
|
785
|
+
withTombstoneBlockedCaptureWriteLock<T>(task: () => Promise<T>, identity?: string | readonly string[]): Promise<T>;
|
|
786
|
+
protected withTombstoneBlockedCaptureWriteLockAndHashes<T>(task: () => Promise<T>, identity: string | readonly string[] | undefined, identityHashes: readonly string[]): Promise<T>;
|
|
787
|
+
private writeTombstoneBlockedMutation;
|
|
788
|
+
protected writeTombstoneBlockedMemory(pathname: string, fileContent: string, frontmatter: MemoryFrontmatter, content: string, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
|
|
789
|
+
protected writeTombstoneBlockedChunk(pathname: string, fileContent: string, frontmatter: MemoryFrontmatter, content: string, findDuplicate: () => Promise<MemoryFile | null>, afterWrite: () => Promise<void>): Promise<string>;
|
|
790
|
+
protected writeTombstoneBlockedUpdate(before: MemoryFile, fileContent: string, frontmatter: MemoryFrontmatter, content: string, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
|
|
791
|
+
protected writeTombstoneBlockedFrontmatter(before: MemoryFile, fileContent: string, frontmatter: MemoryFrontmatter, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
|
|
792
|
+
private isTombstoneBlockedMemory;
|
|
793
|
+
private offlineSyncMemoryIdentity;
|
|
794
|
+
private isDuplicateTombstoneBlockedOfflineSync;
|
|
795
|
+
private invalidateAfterOfflineSyncMutation;
|
|
796
|
+
protected runTombstoneBlockedArchive(memory: MemoryFile, task: (current: MemoryFile, markDurable: () => void) => Promise<string | null>): Promise<string | null>;
|
|
797
|
+
protected runTombstoneBlockedInvalidation(memory: MemoryFile, task: (current: MemoryFile, rebuildMarker: string | undefined, markDurable: () => void) => Promise<boolean>, propagateErrors?: boolean, coordinate?: boolean): Promise<boolean>;
|
|
798
|
+
deleteMemoryForMaintenance(memory: MemoryFile, shouldDelete?: (current: MemoryFile) => boolean): Promise<MemoryFile | null>;
|
|
799
|
+
protected runTombstoneBlockedOfflineSyncMutation(target: string, after: MemoryFile | null, write: () => Promise<void>, coordinate?: boolean, streamedIdentity?: StreamedOfflineSyncIdentity): Promise<void>;
|
|
800
|
+
protected writeTombstoneBlockedOfflineSyncFile(target: string, content: Buffer): Promise<void>;
|
|
801
|
+
private prepareTombstoneBlockedOfflineSyncChunks;
|
|
802
|
+
private describeStagedOfflineSyncChunks;
|
|
803
|
+
private computeStagedOfflineSyncIdentity;
|
|
804
|
+
private readStagedOfflineSyncChunks;
|
|
805
|
+
protected writeTombstoneBlockedOfflineSyncFileChunks(target: string, chunks: AsyncIterable<Buffer>): Promise<void>;
|
|
806
|
+
writeOfflineSyncFile(filePath: string, content: Buffer): Promise<void>;
|
|
807
|
+
writeOfflineSyncFileChunks(filePath: string, chunks: AsyncIterable<Buffer>): Promise<void>;
|
|
808
|
+
deleteOfflineSyncFile(filePath: string): Promise<void>;
|
|
809
|
+
protected deleteTombstoneBlockedOfflineSyncFile(target: string): Promise<void>;
|
|
810
|
+
checkTombstoneBlockedExplicitCapture(...args: [string, string, string?]): Promise<{
|
|
811
|
+
has: boolean;
|
|
812
|
+
authoritative: boolean;
|
|
813
|
+
}>;
|
|
814
|
+
hasTombstoneBlockedExplicitCapture(...args: [string, string, string?]): Promise<boolean>;
|
|
815
|
+
isTombstoneBlockedExplicitCaptureIndexAuthoritative(): Promise<boolean>;
|
|
816
|
+
protected rebuildTombstoneBlockedCaptureAfterInvalidationForPath(filePath: string, ownedMarker?: string): Promise<void>;
|
|
817
|
+
protected rebuildTombstoneBlockedCaptureAfterInvalidation(ownedMarker?: string): Promise<void>;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
type TombstoneBlockedCaptureIndexOptions = {
|
|
821
|
+
readonly stateDir: string;
|
|
822
|
+
readonly memoryDir: string;
|
|
823
|
+
readonly secureStoreKeyProvider: () => Buffer | null;
|
|
824
|
+
readonly secureStoreWriteKeyProvider: () => Buffer | null;
|
|
825
|
+
readonly lockOptions: () => ContentHashIndexLockOptions;
|
|
826
|
+
readonly readAllMemories: () => Promise<MemoryFile[]>;
|
|
827
|
+
readonly readAllColdMemories: () => Promise<MemoryFile[]>;
|
|
828
|
+
readonly parseMemory?: OfflineSyncMemoryParser;
|
|
829
|
+
readonly withHeldFileLock?: typeof withHeldFileLock;
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* Durable targeted deduplication for tombstone-blocked explicit captures.
|
|
833
|
+
*
|
|
834
|
+
* The active fact-hash index intentionally excludes blocked rows. This small
|
|
835
|
+
* companion index keeps the blocked identity visible without making every
|
|
836
|
+
* authoritative active-index miss scan the full corpus.
|
|
837
|
+
*/
|
|
838
|
+
declare class TombstoneBlockedCaptureIndex {
|
|
839
|
+
private readonly options;
|
|
840
|
+
private index;
|
|
841
|
+
private loadPromise;
|
|
842
|
+
private refreshPromise;
|
|
843
|
+
private authoritative;
|
|
844
|
+
private readonly captureWriteLock;
|
|
845
|
+
constructor(options: TombstoneBlockedCaptureIndexOptions);
|
|
846
|
+
private createIndex;
|
|
847
|
+
private indexPath;
|
|
848
|
+
private rebuildMarkerPath;
|
|
849
|
+
private readRebuildMarkers;
|
|
850
|
+
private isAbandonedMarker;
|
|
851
|
+
private isProcessAlive;
|
|
852
|
+
private readProcessStartedAtMs;
|
|
853
|
+
private getClearableRebuildMarkerPaths;
|
|
854
|
+
private getRebuildMarkers;
|
|
855
|
+
private writeMarkerAtomically;
|
|
856
|
+
private markRebuildRequired;
|
|
857
|
+
private markRebuildCommitted;
|
|
858
|
+
private clearRebuildRequired;
|
|
859
|
+
private hasRebuildRequired;
|
|
860
|
+
private setAuthoritative;
|
|
861
|
+
private isBlocked;
|
|
862
|
+
private rebuild;
|
|
863
|
+
private hasPersistedIndexOrMarkers;
|
|
864
|
+
private getIndex;
|
|
865
|
+
withCaptureWriteLock<T>(task: () => Promise<T>, identity?: string | readonly string[]): Promise<T>;
|
|
866
|
+
withCaptureWriteLockHashes<T>(task: () => Promise<T>, identityHashes: readonly string[]): Promise<T>;
|
|
867
|
+
withCaptureWriteLockAndHashes<T>(task: () => Promise<T>, identity: string | readonly string[] | undefined, identityHashes: readonly string[]): Promise<T>;
|
|
868
|
+
private reload;
|
|
869
|
+
/** Return blocked-row membership and authority from one index snapshot. */
|
|
870
|
+
check(content: string, category: string, sourceConnector?: string): Promise<{
|
|
871
|
+
has: boolean;
|
|
872
|
+
authoritative: boolean;
|
|
873
|
+
}>;
|
|
874
|
+
/** Return whether a blocked row matches this explicit-capture identity. */
|
|
875
|
+
has(content: string, category: string, sourceConnector?: string): Promise<boolean>;
|
|
876
|
+
/** Return whether the in-memory index is safe to answer an authoritative miss. */
|
|
877
|
+
isAuthoritative(): Promise<boolean>;
|
|
878
|
+
/** Reserve durable rebuild intent before a blocked memory file is committed. */
|
|
879
|
+
prepareWrite(): Promise<string>;
|
|
880
|
+
/** Mark a prepared write committed once its memory file is durable. */
|
|
881
|
+
commitWrite(rebuildMarker: string): Promise<void>;
|
|
882
|
+
/** Drop a pending marker when the protected memory write never commits. */
|
|
883
|
+
discardWrite(rebuildMarker: string): Promise<void>;
|
|
884
|
+
/** Add a newly persisted blocked row to the durable targeted index. */
|
|
885
|
+
add(memory: MemoryFile, rebuildMarker?: string): Promise<void>;
|
|
886
|
+
/** Rebuild the index after a blocked row changes or is removed. */
|
|
887
|
+
rebuildIfLoaded(ownedMarker?: string): Promise<void>;
|
|
888
|
+
/** Rebuild when either side of a write is blocked and its identity changed. */
|
|
889
|
+
sync(before: MemoryFile, after: MemoryFile, rebuildMarker?: string): Promise<void>;
|
|
890
|
+
markUntrusted(): void;
|
|
891
|
+
private failOpen;
|
|
892
|
+
addWrittenMemory(pathname: string, frontmatter: MemoryFrontmatter, content: string, rebuildMarker?: string): Promise<void>;
|
|
893
|
+
rebuildAfterInvalidation(ownedMarker?: string): Promise<void>;
|
|
894
|
+
syncUpdatedMemory(before: MemoryFile, frontmatter: MemoryFrontmatter, content: string, rebuildMarker?: string): Promise<void>;
|
|
895
|
+
syncUpdatedFrontmatter(before: MemoryFile, frontmatter: MemoryFrontmatter, rebuildMarker?: string): Promise<void>;
|
|
896
|
+
shouldRebuildAfterInvalidationForPath(filePath: string): boolean;
|
|
897
|
+
}
|
|
898
|
+
|
|
763
899
|
declare function normalizeStructuredSectionFacts(facts: string[]): string[];
|
|
764
900
|
declare function compileEntityFacts(timeline: EntityTimelineEntry[], structuredSections: EntityStructuredSection[]): string[];
|
|
765
901
|
declare function compareEntityTimestamps(left?: string, right?: string): number;
|
|
@@ -825,6 +961,8 @@ interface MemoryWriteResult {
|
|
|
825
961
|
tombstoneBlocked: boolean;
|
|
826
962
|
/** The tombstone id that blocked the write, when `tombstoneBlocked`. */
|
|
827
963
|
blockedBy?: string;
|
|
964
|
+
/** Existing pending-review memory id when a blocked write coalesced with it. */
|
|
965
|
+
duplicateOf?: string;
|
|
828
966
|
}
|
|
829
967
|
/**
|
|
830
968
|
* Options accepted by `StorageManager.writeMemory` (extracted verbatim in
|
|
@@ -909,7 +1047,7 @@ interface WriteMemoryOptions {
|
|
|
909
1047
|
* Passing an envelope-owned field twice is a compile error by construction.
|
|
910
1048
|
*/
|
|
911
1049
|
type SealedWriteExtras = Omit<WriteMemoryOptions, "confidence" | "tags" | "entityRef" | "source" | "expiresAt" | "validAt" | "structuredAttributes" | "sourceConnector">;
|
|
912
|
-
declare class StorageManager {
|
|
1050
|
+
declare class StorageManager extends TombstoneBlockedCaptureIndexHost {
|
|
913
1051
|
private readonly baseDir;
|
|
914
1052
|
private readonly entitySchemas?;
|
|
915
1053
|
private knowledgeIndexCache;
|
|
@@ -1063,7 +1201,7 @@ declare class StorageManager {
|
|
|
1063
1201
|
* OUTSIDE `stateDir`, so a data write always touches; a write under `stateDir`
|
|
1064
1202
|
* is a pure state write and is skipped unless `touchStateWrites` is enabled.
|
|
1065
1203
|
*/
|
|
1066
|
-
|
|
1204
|
+
protected notifyCatalogWriteForPath(filePath: string): void;
|
|
1067
1205
|
/** Whether `filePath` resolves to `stateDir` itself or a path contained in it. */
|
|
1068
1206
|
private isStateFilePath;
|
|
1069
1207
|
private tombstoneStore;
|
|
@@ -1234,7 +1372,7 @@ declare class StorageManager {
|
|
|
1234
1372
|
private versionFilePath;
|
|
1235
1373
|
private bumpSharedVersion;
|
|
1236
1374
|
private readSharedVersion;
|
|
1237
|
-
|
|
1375
|
+
protected bumpMemoryStatusVersion(): void;
|
|
1238
1376
|
getMemoryStatusVersion(): number;
|
|
1239
1377
|
/**
|
|
1240
1378
|
* Corpus version sentinel for the hot-memories result cache (issue #1902).
|
|
@@ -1246,7 +1384,7 @@ declare class StorageManager {
|
|
|
1246
1384
|
* lifecycle/status/entity semantics unchanged.
|
|
1247
1385
|
*/
|
|
1248
1386
|
getMemoryCorpusVersion(): number;
|
|
1249
|
-
|
|
1387
|
+
protected bumpMemoryCorpusVersion(): void;
|
|
1250
1388
|
/**
|
|
1251
1389
|
* Corpus bump that reports whether THIS process's append was the only one
|
|
1252
1390
|
* since the pre-bump size (issue #1902, Codex P1). appendFileSync is atomic
|
|
@@ -1256,7 +1394,7 @@ declare class StorageManager {
|
|
|
1256
1394
|
* still-unread write.
|
|
1257
1395
|
*/
|
|
1258
1396
|
private bumpMemoryCorpusVersionExclusive;
|
|
1259
|
-
|
|
1397
|
+
protected bumpArtifactWriteVersion(): number;
|
|
1260
1398
|
private getArtifactWriteVersion;
|
|
1261
1399
|
private get wearablesDir();
|
|
1262
1400
|
/**
|
|
@@ -1320,9 +1458,8 @@ declare class StorageManager {
|
|
|
1320
1458
|
private get entitiesDir();
|
|
1321
1459
|
private resolveEntityFilePath;
|
|
1322
1460
|
private readStorageSecureFile;
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
private assertManagedStoragePath;
|
|
1461
|
+
protected writeStorageSecureFile(filePath: string, content: string | Buffer, forceEncrypt?: boolean): Promise<void>;
|
|
1462
|
+
protected assertManagedStoragePath(filePath: string, method: string): string;
|
|
1326
1463
|
readOfflineSyncFile(filePath: string): Promise<Buffer>;
|
|
1327
1464
|
digestOfflineSyncFile(filePath: string): Promise<{
|
|
1328
1465
|
sha256: string;
|
|
@@ -1334,11 +1471,7 @@ declare class StorageManager {
|
|
|
1334
1471
|
private scheduleOfflineSyncDigestCacheWrite;
|
|
1335
1472
|
private queueOfflineSyncDigestCacheWrite;
|
|
1336
1473
|
private offlineSyncFileIsEncrypted;
|
|
1337
|
-
writeOfflineSyncFile(filePath: string, content: Buffer): Promise<void>;
|
|
1338
1474
|
writeOfflineSyncStagingFile(filePath: string, content: Buffer): Promise<void>;
|
|
1339
|
-
writeOfflineSyncFileChunks(filePath: string, chunks: AsyncIterable<Buffer>): Promise<void>;
|
|
1340
|
-
deleteOfflineSyncFile(filePath: string): Promise<void>;
|
|
1341
|
-
private invalidateAfterOfflineSyncMutation;
|
|
1342
1475
|
createContentHashIndex(): ContentHashIndex;
|
|
1343
1476
|
private appendStorageSecureFile;
|
|
1344
1477
|
/**
|
|
@@ -1423,6 +1556,8 @@ declare class StorageManager {
|
|
|
1423
1556
|
* `remnic doctor --rebuild-tombstones` and tests.
|
|
1424
1557
|
*/
|
|
1425
1558
|
rebuildTombstonesFromFiles(): Promise<number>;
|
|
1559
|
+
protected markFactHashIndexNotAuthoritative(): void;
|
|
1560
|
+
protected tombstoneBlockedCaptureIndexOptions(): TombstoneBlockedCaptureIndexOptions;
|
|
1426
1561
|
private getFactHashIndex;
|
|
1427
1562
|
/**
|
|
1428
1563
|
* Return the fact-hash index after ensuring it is authoritative — i.e. rebuilt
|
|
@@ -1560,6 +1695,7 @@ declare class StorageManager {
|
|
|
1560
1695
|
* (RECALL_FALLBACK_DIRS; QMD scans baseDir recursively), so writes stay found.
|
|
1561
1696
|
*/
|
|
1562
1697
|
private resolveCategoryWritePath;
|
|
1698
|
+
private findExistingTombstoneBlockedMemory;
|
|
1563
1699
|
writeMemory(category: MemoryCategory, content: string, options?: WriteMemoryOptions): Promise<MemoryWriteResult>;
|
|
1564
1700
|
/**
|
|
1565
1701
|
* Sealed-envelope write entry point (issue #1989 PR2).
|
|
@@ -1666,7 +1802,7 @@ declare class StorageManager {
|
|
|
1666
1802
|
* exclusively by invalidateColdMemoriesCache(), which is called only when
|
|
1667
1803
|
* cold content actually changes (hot→cold demotions, writeMemoryFileAtomic
|
|
1668
1804
|
* inside cold/, archiveMemory, etc.). */
|
|
1669
|
-
|
|
1805
|
+
protected invalidateAllMemoriesCache(): void;
|
|
1670
1806
|
/**
|
|
1671
1807
|
* Single-file write/delete fast path for the hot-memories cache (issue
|
|
1672
1808
|
* #1902). Keeps THIS process's version-keyed corpus entry warm by patching
|
|
@@ -1697,7 +1833,7 @@ declare class StorageManager {
|
|
|
1697
1833
|
* Finding UvUy (PR #402 round-11): bumping the sentinel here makes the
|
|
1698
1834
|
* per-process in-memory cache safe across process boundaries.
|
|
1699
1835
|
*/
|
|
1700
|
-
|
|
1836
|
+
protected invalidateColdMemoriesCache(): void;
|
|
1701
1837
|
/** Return the current cold-write version counter for this storage root.
|
|
1702
1838
|
* Reads the on-disk sentinel (state/cold-write.log) so it reflects writes
|
|
1703
1839
|
* made by other processes. */
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './types-
|
|
2
|
-
export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeFrontmatterForPath, H as normalizeStructuredSectionFacts, p as parseEntityFile, I as parseFrontmatter, J as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-
|
|
1
|
+
import './types-aPPzhnjT.js';
|
|
2
|
+
export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeFrontmatterForPath, H as normalizeStructuredSectionFacts, p as parseEntityFile, I as parseFrontmatter, J as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-DysJq-XH.js';
|
|
3
3
|
export { normalizeEntityName } from './entity-id-normalization.js';
|
|
4
4
|
import './page-versioning.js';
|
|
5
5
|
import './consolidation-operator.js';
|
|
@@ -10,6 +10,7 @@ import './types-continuity.js';
|
|
|
10
10
|
import './message-parts/index.js';
|
|
11
11
|
import './bounded-jsonl-state.js';
|
|
12
12
|
import './operator-doctor-types.js';
|
|
13
|
+
import './utils/serialize-mutations.js';
|
|
13
14
|
import './maintenance/memory-governance.js';
|
|
14
15
|
import './runtime/better-sqlite.js';
|
|
15
16
|
import 'better-sqlite3';
|
package/dist/storage.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ContentHashIndex,
|
|
3
|
-
FactHashIndexNotAuthoritativeError,
|
|
4
2
|
StorageManager,
|
|
5
3
|
buildEntitySchemaCacheKey,
|
|
6
4
|
compareEntityTimestamps,
|
|
@@ -15,28 +13,32 @@ import {
|
|
|
15
13
|
parseFrontmatter,
|
|
16
14
|
parseFrontmatterStringValue,
|
|
17
15
|
serializeEntityFile
|
|
18
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RGIWINDN.js";
|
|
19
17
|
import "./chunk-UHVXE24Y.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-QNWXCJ76.js";
|
|
19
|
+
import "./chunk-WIPEXG6R.js";
|
|
22
20
|
import "./chunk-DNHVPZOD.js";
|
|
23
21
|
import "./chunk-6CIAGZ6X.js";
|
|
24
22
|
import "./chunk-J6A3CX5N.js";
|
|
25
23
|
import "./chunk-HKF5VASQ.js";
|
|
26
24
|
import "./chunk-HUHX2OCX.js";
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MJCGLM25.js";
|
|
28
26
|
import "./chunk-EGGE52UU.js";
|
|
29
|
-
import "./chunk-WL5EBRDH.js";
|
|
30
27
|
import "./chunk-WRJVB3C2.js";
|
|
31
28
|
import "./chunk-GCASGYIO.js";
|
|
32
|
-
import "./chunk-3CSX3ETE.js";
|
|
33
|
-
import "./chunk-RL6NEVXT.js";
|
|
34
29
|
import "./chunk-ILGC6JH6.js";
|
|
35
30
|
import "./chunk-SCU65EZI.js";
|
|
36
31
|
import "./chunk-DM2T26WE.js";
|
|
37
32
|
import "./chunk-LDXUBPMO.js";
|
|
38
33
|
import "./chunk-JYIJNNN3.js";
|
|
39
34
|
import "./chunk-AAD2ZS6P.js";
|
|
35
|
+
import {
|
|
36
|
+
ContentHashIndex,
|
|
37
|
+
FactHashIndexNotAuthoritativeError
|
|
38
|
+
} from "./chunk-FBUE6PD3.js";
|
|
39
|
+
import "./chunk-FFAZ2XFU.js";
|
|
40
|
+
import "./chunk-3CSX3ETE.js";
|
|
41
|
+
import "./chunk-RL6NEVXT.js";
|
|
40
42
|
import "./chunk-CGASUJVP.js";
|
|
41
43
|
import {
|
|
42
44
|
normalizeAttributePairs,
|
|
@@ -73,7 +75,7 @@ import "./chunk-FP2373TW.js";
|
|
|
73
75
|
import "./chunk-P7FMDTKL.js";
|
|
74
76
|
import "./chunk-2XRE6FLM.js";
|
|
75
77
|
import "./chunk-FF4KLI5W.js";
|
|
76
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-5TFP4CUL.js";
|
|
77
79
|
import "./chunk-A6XUJE5D.js";
|
|
78
80
|
import "./chunk-5UZXUTVO.js";
|
|
79
81
|
import "./chunk-VS2IYZRU.js";
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-aPPzhnjT.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
import './bounded-jsonl-state.js';
|
package/dist/summarizer.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HourlySummarizer
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-AZ5BTEKX.js";
|
|
4
|
+
import "./chunk-6DNMUYEE.js";
|
|
5
5
|
import "./chunk-WLZYGLJ4.js";
|
|
6
6
|
import "./chunk-PHWUFPCO.js";
|
|
7
7
|
import "./chunk-JUXOTY6J.js";
|
|
8
8
|
import "./chunk-S4DDLTPX.js";
|
|
9
9
|
import "./chunk-O75CRYGF.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FFAZ2XFU.js";
|
|
11
11
|
import "./chunk-C23BYTJV.js";
|
|
12
12
|
import "./chunk-QIEUU4UK.js";
|
|
13
13
|
import "./chunk-L2EXJQJP.js";
|
package/dist/summary-snapshot.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
summarySnapshotPath,
|
|
4
4
|
upsertSummarySnapshot,
|
|
5
5
|
writeSummarySnapshot
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6DNMUYEE.js";
|
|
7
|
+
import "./chunk-FFAZ2XFU.js";
|
|
8
8
|
import "./chunk-FF4KLI5W.js";
|
|
9
9
|
import "./chunk-PZ5AY32C.js";
|
|
10
10
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as MemoryFrontmatter } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { l as MemoryFrontmatter } from './types-aPPzhnjT.js';
|
|
2
|
+
import { S as StorageManager } from './storage-DysJq-XH.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
5
5
|
import './operator-doctor-types.js';
|
|
@@ -7,6 +7,7 @@ import './types-continuity.js';
|
|
|
7
7
|
import './entity-id-normalization.js';
|
|
8
8
|
import './page-versioning.js';
|
|
9
9
|
import './consolidation-operator.js';
|
|
10
|
+
import './utils/serialize-mutations.js';
|
|
10
11
|
import './memory-projection-store.js';
|
|
11
12
|
import './maintenance/memory-governance.js';
|
|
12
13
|
import './runtime/better-sqlite.js';
|
package/dist/threading.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as BufferTurn,
|
|
1
|
+
import { j as BufferTurn, V as ConversationThread } from './types-aPPzhnjT.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
4
|
import './operator-doctor-types.js';
|
package/dist/tier-migration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MemoryFile } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { M as MemoryFile } from './types-aPPzhnjT.js';
|
|
2
|
+
import { S as StorageManager } from './storage-DysJq-XH.js';
|
|
3
3
|
import { MemoryTier } from './tier-routing.js';
|
|
4
4
|
import { SearchBackend } from './search/port.js';
|
|
5
5
|
import './message-parts/index.js';
|
|
@@ -9,6 +9,7 @@ import './types-continuity.js';
|
|
|
9
9
|
import './entity-id-normalization.js';
|
|
10
10
|
import './page-versioning.js';
|
|
11
11
|
import './consolidation-operator.js';
|
|
12
|
+
import './utils/serialize-mutations.js';
|
|
12
13
|
import './memory-projection-store.js';
|
|
13
14
|
import './maintenance/memory-governance.js';
|
|
14
15
|
import './runtime/better-sqlite.js';
|
package/dist/tier-routing.d.ts
CHANGED