@remnic/core 1.1.12 → 1.1.13
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-cli.d.ts +2 -1
- package/dist/access-cli.js +263 -82
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +26 -60
- package/dist/access-http.js +43 -29
- package/dist/access-mcp.d.ts +24 -6
- package/dist/access-mcp.js +35 -28
- package/dist/access-schema.d.ts +9 -6
- package/dist/access-schema.js +7 -5
- package/dist/access-service-DcCDmNYC.d.ts +1542 -0
- package/dist/access-service.d.ts +25 -7
- package/dist/access-service.js +33 -26
- package/dist/active-memory-bridge.js +2 -2
- package/dist/active-recall.js +11 -3
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/claude-code.d.ts +24 -0
- package/dist/adapters/claude-code.js +9 -0
- package/dist/adapters/codex.d.ts +25 -0
- package/dist/adapters/codex.js +9 -0
- package/dist/adapters/hermes.d.ts +35 -0
- package/dist/adapters/hermes.js +9 -0
- package/dist/adapters/index.d.ts +6 -0
- package/dist/adapters/index.js +26 -0
- package/dist/adapters/registry.d.ts +20 -0
- package/dist/adapters/registry.js +13 -0
- package/dist/adapters/replit.d.ts +28 -0
- package/dist/adapters/replit.js +9 -0
- package/dist/adapters/types.d.ts +43 -0
- package/dist/adapters/types.js +8 -0
- package/dist/bootstrap.d.ts +20 -5
- package/dist/boxes.d.ts +7 -0
- package/dist/boxes.js +1 -1
- package/dist/briefing.d.ts +5 -3
- package/dist/briefing.js +9 -6
- package/dist/buffer-surprise-report.js +1 -1
- package/dist/buffer.d.ts +18 -4
- package/dist/buffer.js +1 -1
- package/dist/calibration.js +4 -4
- package/dist/capsule-cli.d.ts +4 -4
- package/dist/capsule-cli.js +1 -1
- package/dist/capsule-crypto-5CYAGVC5.js +18 -0
- package/dist/capsule-merge-4MGKE7C5.js +189 -0
- package/dist/causal-behavior.d.ts +8 -28
- package/dist/causal-behavior.js +6 -3
- package/dist/causal-behavior.js.map +1 -1
- package/dist/causal-chain.js +3 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +24 -13
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +3 -3
- package/dist/causal-trajectory.js +1 -1
- package/dist/chunk-25MQ7IHJ.js +427 -0
- package/dist/chunk-25MQ7IHJ.js.map +1 -0
- package/dist/chunk-2F2W355T.js +256 -0
- package/dist/chunk-2F2W355T.js.map +1 -0
- package/dist/chunk-2KI4QFHU.js +228 -0
- package/dist/chunk-2KI4QFHU.js.map +1 -0
- package/dist/chunk-2PRQG7PV.js +86 -0
- package/dist/chunk-2PRQG7PV.js.map +1 -0
- package/dist/chunk-2QR3XXIC.js +2272 -0
- package/dist/chunk-2QR3XXIC.js.map +1 -0
- package/dist/chunk-2WWLHTZY.js +121 -0
- package/dist/chunk-326G7DJK.js +2185 -0
- package/dist/chunk-326G7DJK.js.map +1 -0
- package/dist/chunk-34DQE4KF.js +174 -0
- package/dist/chunk-34DQE4KF.js.map +1 -0
- package/dist/chunk-3APJ5EVB.js +601 -0
- package/dist/chunk-3APJ5EVB.js.map +1 -0
- package/dist/chunk-3HPAPHUK.js +51 -0
- package/dist/chunk-3HPAPHUK.js.map +1 -0
- package/dist/chunk-3JXBXXM2.js +69 -0
- package/dist/chunk-3JXBXXM2.js.map +1 -0
- package/dist/chunk-3KW65B36.js +681 -0
- package/dist/chunk-3KW65B36.js.map +1 -0
- package/dist/chunk-3UXOZBHV.js +20 -0
- package/dist/chunk-3UXOZBHV.js.map +1 -0
- package/dist/chunk-3VAL7ZL2.js +266 -0
- package/dist/chunk-3VAL7ZL2.js.map +1 -0
- package/dist/chunk-3Y4P7RXM.js +31 -0
- package/dist/chunk-3Y4P7RXM.js.map +1 -0
- package/dist/chunk-47VWKCAF.js +273 -0
- package/dist/chunk-47VWKCAF.js.map +1 -0
- package/dist/chunk-4CRG46BG.js +271 -0
- package/dist/chunk-5375UYTQ.js +914 -0
- package/dist/chunk-5375UYTQ.js.map +1 -0
- package/dist/chunk-56K5QLHX.js +506 -0
- package/dist/chunk-56K5QLHX.js.map +1 -0
- package/dist/chunk-5RGLBDQF.js +596 -0
- package/dist/chunk-5RGLBDQF.js.map +1 -0
- package/dist/chunk-5UZXUTVO.js +9 -0
- package/dist/chunk-5UZXUTVO.js.map +1 -0
- package/dist/chunk-65PG43EQ.js +105 -0
- package/dist/chunk-65PG43EQ.js.map +1 -0
- package/dist/chunk-66DHUKLO.js +57 -0
- package/dist/chunk-66DHUKLO.js.map +1 -0
- package/dist/chunk-6FC5EGNV.js +46 -0
- package/dist/chunk-6FC5EGNV.js.map +1 -0
- package/dist/chunk-6H2TESSP.js +62 -0
- package/dist/chunk-6H2TESSP.js.map +1 -0
- package/dist/chunk-6LVVDPJ4.js +32 -0
- package/dist/chunk-6LVVDPJ4.js.map +1 -0
- package/dist/chunk-6RVI47ZR.js +159 -0
- package/dist/chunk-6RVI47ZR.js.map +1 -0
- package/dist/chunk-7AAT6G4Q.js +5117 -0
- package/dist/chunk-7AAT6G4Q.js.map +1 -0
- package/dist/chunk-7DTASS5T.js +29 -0
- package/dist/chunk-7DTASS5T.js.map +1 -0
- package/dist/chunk-7IASACLB.js +596 -0
- package/dist/chunk-7MNMYOFP.js +32 -0
- package/dist/chunk-7MNMYOFP.js.map +1 -0
- package/dist/chunk-7N4KAIGN.js +133 -0
- package/dist/chunk-7N4KAIGN.js.map +1 -0
- package/dist/chunk-7OZ53EXP.js +101 -0
- package/dist/chunk-7OZ53EXP.js.map +1 -0
- package/dist/chunk-7XYTQGCC.js +134 -0
- package/dist/chunk-7XYTQGCC.js.map +1 -0
- package/dist/chunk-A2XUIMJ3.js +341 -0
- package/dist/chunk-A2XUIMJ3.js.map +1 -0
- package/dist/chunk-AGZQD76C.js +201 -0
- package/dist/chunk-AGZQD76C.js.map +1 -0
- package/dist/chunk-APO3DCMU.js +361 -0
- package/dist/chunk-APO3DCMU.js.map +1 -0
- package/dist/chunk-BFBF3XEF.js +283 -0
- package/dist/chunk-BFBF3XEF.js.map +1 -0
- package/dist/chunk-BJ3KMYTB.js +1974 -0
- package/dist/chunk-BJ3KMYTB.js.map +1 -0
- package/dist/chunk-CHEL3SKB.js +6758 -0
- package/dist/chunk-CHEL3SKB.js.map +1 -0
- package/dist/chunk-CQZRLNMV.js +1491 -0
- package/dist/chunk-CQZRLNMV.js.map +1 -0
- package/dist/chunk-D46YSIYX.js +892 -0
- package/dist/chunk-D46YSIYX.js.map +1 -0
- package/dist/chunk-DINWEURR.js +648 -0
- package/dist/chunk-DINWEURR.js.map +1 -0
- package/dist/chunk-DK5LDEQM.js +530 -0
- package/dist/chunk-DK5LDEQM.js.map +1 -0
- package/dist/chunk-DOM4GKSW.js +34 -0
- package/dist/chunk-DOM4GKSW.js.map +1 -0
- package/dist/chunk-EDTHC6UD.js +1075 -0
- package/dist/chunk-EFJ3MQ4V.js +721 -0
- package/dist/chunk-EHRTFRWW.js +89 -0
- package/dist/chunk-EHRTFRWW.js.map +1 -0
- package/dist/chunk-FAJ7FZYM.js +11 -0
- package/dist/chunk-FAJ7FZYM.js.map +1 -0
- package/dist/chunk-FBYESMQ2.js +570 -0
- package/dist/chunk-FDU6HUUL.js +147 -0
- package/dist/chunk-FF4KLI5W.js +99 -0
- package/dist/chunk-FF4KLI5W.js.map +1 -0
- package/dist/chunk-FIT6DMX6.js +310 -0
- package/dist/chunk-FIT6DMX6.js.map +1 -0
- package/dist/chunk-FJ43PRLT.js +272 -0
- package/dist/chunk-FJ43PRLT.js.map +1 -0
- package/dist/chunk-FKFMOY3N.js +32 -0
- package/dist/chunk-FKFMOY3N.js.map +1 -0
- package/dist/chunk-FLTNHQK6.js +262 -0
- package/dist/chunk-FLTNHQK6.js.map +1 -0
- package/dist/chunk-GA454ALV.js +12436 -0
- package/dist/chunk-GA454ALV.js.map +1 -0
- package/dist/chunk-GGKRUQOO.js +228 -0
- package/dist/chunk-GIF42EW3.js +63 -0
- package/dist/chunk-GIF42EW3.js.map +1 -0
- package/dist/chunk-GL6I6MEQ.js +647 -0
- package/dist/chunk-H3ME6L6D.js +709 -0
- package/dist/chunk-H3ME6L6D.js.map +1 -0
- package/dist/chunk-HHLLAQGZ.js +1 -0
- package/dist/chunk-HXXBL2KD.js +2040 -0
- package/dist/chunk-I5V2VDIW.js +219 -0
- package/dist/chunk-I5V2VDIW.js.map +1 -0
- package/dist/chunk-I6K5FBRQ.js +35 -0
- package/dist/chunk-I6K5FBRQ.js.map +1 -0
- package/dist/chunk-ICRIXAP2.js +121 -0
- package/dist/chunk-ICRIXAP2.js.map +1 -0
- package/dist/chunk-J4EB7DNW.js +11 -0
- package/dist/chunk-J4EB7DNW.js.map +1 -0
- package/dist/chunk-JLFA7DQG.js +62 -0
- package/dist/chunk-JLFA7DQG.js.map +1 -0
- package/dist/chunk-KJTKLXTH.js +9 -0
- package/dist/chunk-KJTKLXTH.js.map +1 -0
- package/dist/chunk-KLAO5DGL.js +917 -0
- package/dist/chunk-KLAO5DGL.js.map +1 -0
- package/dist/chunk-KNKUID7G.js +183 -0
- package/dist/chunk-KOSORCJG.js +624 -0
- package/dist/chunk-KOSORCJG.js.map +1 -0
- package/dist/chunk-KUJVMMZQ.js +1262 -0
- package/dist/chunk-KUJVMMZQ.js.map +1 -0
- package/dist/chunk-LCR46JY5.js +123 -0
- package/dist/chunk-LCR46JY5.js.map +1 -0
- package/dist/chunk-LLQ2LLWF.js +148 -0
- package/dist/chunk-LLQ2LLWF.js.map +1 -0
- package/dist/chunk-LPMVBPA3.js +236 -0
- package/dist/chunk-LT3NLYSI.js +50 -0
- package/dist/chunk-LT3NLYSI.js.map +1 -0
- package/dist/chunk-LUDTDZLK.js +287 -0
- package/dist/chunk-LUDTDZLK.js.map +1 -0
- package/dist/chunk-M23FSH32.js +3963 -0
- package/dist/chunk-M23FSH32.js.map +1 -0
- package/dist/chunk-MC26UJIM.js +118 -0
- package/dist/chunk-ME6ESPZU.js +119 -0
- package/dist/chunk-ME6ESPZU.js.map +1 -0
- package/dist/chunk-MGKYQQYF.js +272 -0
- package/dist/chunk-MJFNCJXV.js +66 -0
- package/dist/chunk-MJFNCJXV.js.map +1 -0
- package/dist/chunk-MSWG7JI6.js +237 -0
- package/dist/chunk-MSWG7JI6.js.map +1 -0
- package/dist/chunk-MT25YHYH.js +141 -0
- package/dist/chunk-MT25YHYH.js.map +1 -0
- package/dist/chunk-MT4HVDUZ.js +53 -0
- package/dist/chunk-MY6TPVXW.js +219 -0
- package/dist/chunk-N2D6GXBM.js +267 -0
- package/dist/chunk-N2D6GXBM.js.map +1 -0
- package/dist/chunk-NJ3MJQZX.js +46 -0
- package/dist/chunk-NJ3MJQZX.js.map +1 -0
- package/dist/chunk-NMZY542O.js +335 -0
- package/dist/chunk-NMZY542O.js.map +1 -0
- package/dist/chunk-NNVTUXEB.js +23 -0
- package/dist/chunk-NZL6GGQE.js +375 -0
- package/dist/chunk-NZL6GGQE.js.map +1 -0
- package/dist/chunk-P4NEIHUT.js +108 -0
- package/dist/chunk-P7FMDTKL.js +103 -0
- package/dist/chunk-P7FMDTKL.js.map +1 -0
- package/dist/chunk-PHK3HARR.js +32 -0
- package/dist/chunk-PHK3HARR.js.map +1 -0
- package/dist/chunk-PIRJPV5T.js +98 -0
- package/dist/chunk-PIRJPV5T.js.map +1 -0
- package/dist/chunk-PK7H5L6Y.js +159 -0
- package/dist/chunk-PK7H5L6Y.js.map +1 -0
- package/dist/chunk-PR5FBTFU.js +233 -0
- package/dist/chunk-PR5FBTFU.js.map +1 -0
- package/dist/chunk-PU63GXWS.js +174 -0
- package/dist/chunk-PU63GXWS.js.map +1 -0
- package/dist/chunk-PZIAX57I.js +124 -0
- package/dist/chunk-PZIAX57I.js.map +1 -0
- package/dist/chunk-Q7P4WJDP.js +26 -0
- package/dist/chunk-Q7P4WJDP.js.map +1 -0
- package/dist/chunk-QQUAB63I.js +63 -0
- package/dist/chunk-QQUAB63I.js.map +1 -0
- package/dist/chunk-QRNI5JBH.js +18 -0
- package/dist/chunk-RHY3HH7P.js +601 -0
- package/dist/chunk-RHY3HH7P.js.map +1 -0
- package/dist/chunk-RRF5UOBJ.js +91 -0
- package/dist/chunk-RXDLTSWT.js +124 -0
- package/dist/chunk-RXDLTSWT.js.map +1 -0
- package/dist/chunk-RYED3SPJ.js +42 -0
- package/dist/chunk-RYED3SPJ.js.map +1 -0
- package/dist/chunk-S7KDBTWT.js +106 -0
- package/dist/chunk-S7KDBTWT.js.map +1 -0
- package/dist/chunk-SEDEKFYQ.js +1 -0
- package/dist/chunk-TECVW3JP.js +36 -0
- package/dist/chunk-TECVW3JP.js.map +1 -0
- package/dist/chunk-TFO23QT4.js +88 -0
- package/dist/chunk-TFO23QT4.js.map +1 -0
- package/dist/chunk-TK4UEOSK.js +76 -0
- package/dist/chunk-TK4UEOSK.js.map +1 -0
- package/dist/chunk-TKWGAOLV.js +122 -0
- package/dist/chunk-TKWGAOLV.js.map +1 -0
- package/dist/chunk-TMM4S4IJ.js +597 -0
- package/dist/chunk-TMM4S4IJ.js.map +1 -0
- package/dist/chunk-TMQLARTH.js +188 -0
- package/dist/chunk-TMQLARTH.js.map +1 -0
- package/dist/chunk-TPDBFYEG.js +130 -0
- package/dist/chunk-TPDBFYEG.js.map +1 -0
- package/dist/chunk-TPMQ3G6Z.js +145 -0
- package/dist/chunk-TPMQ3G6Z.js.map +1 -0
- package/dist/chunk-TZOLIGIG.js +61 -0
- package/dist/chunk-TZOLIGIG.js.map +1 -0
- package/dist/chunk-U3PN77QT.js +113 -0
- package/dist/chunk-U3WSW6PZ.js +277 -0
- package/dist/chunk-U4SCL7B7.js +640 -0
- package/dist/chunk-U4SCL7B7.js.map +1 -0
- package/dist/chunk-UWK5OXUJ.js +156 -0
- package/dist/chunk-UWK5OXUJ.js.map +1 -0
- package/dist/chunk-UWVJF25J.js +74 -0
- package/dist/chunk-UXHQAFNA.js +1317 -0
- package/dist/chunk-UXHQAFNA.js.map +1 -0
- package/dist/chunk-V5OCT34X.js +1 -0
- package/dist/chunk-VLXA6PI2.js +304 -0
- package/dist/chunk-VLXA6PI2.js.map +1 -0
- package/dist/chunk-VNO6ZJ35.js +500 -0
- package/dist/chunk-VNO6ZJ35.js.map +1 -0
- package/dist/chunk-VW676BEI.js +827 -0
- package/dist/chunk-VW676BEI.js.map +1 -0
- package/dist/chunk-W3LR522O.js +2296 -0
- package/dist/chunk-W4L6CZKA.js +96 -0
- package/dist/chunk-W4L6CZKA.js.map +1 -0
- package/dist/chunk-W4RVMTHR.js +372 -0
- package/dist/chunk-W4RVMTHR.js.map +1 -0
- package/dist/chunk-WEHSQBFR.js +188 -0
- package/dist/chunk-WEHSQBFR.js.map +1 -0
- package/dist/chunk-WELDCG6C.js +380 -0
- package/dist/chunk-WELDCG6C.js.map +1 -0
- package/dist/chunk-WZYKANL3.js +2800 -0
- package/dist/chunk-WZYKANL3.js.map +1 -0
- package/dist/chunk-XIG5PDM7.js +48 -0
- package/dist/chunk-XJNBEDFE.js +193 -0
- package/dist/chunk-XJNBEDFE.js.map +1 -0
- package/dist/chunk-XVVIG67A.js +291 -0
- package/dist/chunk-XVVIG67A.js.map +1 -0
- package/dist/chunk-XVZ7B3HG.js +135 -0
- package/dist/chunk-YBPYIAA5.js +73 -0
- package/dist/chunk-YBPYIAA5.js.map +1 -0
- package/dist/chunk-Z734BLO3.js +21 -0
- package/dist/chunk-Z734BLO3.js.map +1 -0
- package/dist/chunk-ZKSK55RC.js +269 -0
- package/dist/chunk-ZKSK55RC.js.map +1 -0
- package/dist/chunk-ZTFCYYEZ.js +69 -0
- package/dist/chunk-ZTFCYYEZ.js.map +1 -0
- package/dist/chunk-ZY2MNJR6.js +329 -0
- package/dist/chunk-ZY2MNJR6.js.map +1 -0
- package/dist/cli-D3VpkVwB.d.ts +1136 -0
- package/dist/cli.d.ts +39 -10
- package/dist/cli.js +108 -49
- package/dist/commitment-ledger.js +1 -1
- package/dist/compat/checks.d.ts +5 -0
- package/dist/compat/checks.js +11 -0
- package/dist/compat/checks.js.map +1 -0
- package/dist/compat/types.d.ts +30 -0
- package/dist/compat/types.js +1 -0
- package/dist/compat/types.js.map +1 -0
- package/dist/compounding/engine.d.ts +221 -0
- package/dist/compounding/engine.js +32 -0
- package/dist/compounding/engine.js.map +1 -0
- package/dist/compounding/preference-consolidator.d.ts +92 -0
- package/dist/compounding/preference-consolidator.js +553 -0
- package/dist/compounding/preference-consolidator.js.map +1 -0
- package/dist/config.d.ts +4 -2
- package/dist/config.js +9 -4
- package/dist/conflict-policy-DyJ2wd-h.d.ts +4 -0
- package/dist/connectors/codex-materialize-runner.d.ts +64 -0
- package/dist/connectors/codex-materialize-runner.js +33 -0
- package/dist/connectors/codex-materialize-runner.js.map +1 -0
- package/dist/connectors/codex-materialize.d.ts +195 -0
- package/dist/connectors/codex-materialize.js +38 -0
- package/dist/connectors/codex-materialize.js.map +1 -0
- package/dist/connectors/index.d.ts +444 -0
- package/dist/connectors/index.js +115 -0
- package/dist/connectors/index.js.map +1 -0
- package/dist/connectors-cli-CwbyjGR7.d.ts +257 -0
- package/dist/connectors-cli.d.ts +1 -1
- package/dist/consolidation-provenance-check.d.ts +3 -1
- package/dist/consolidation-undo.d.ts +3 -1
- package/dist/contradiction/index.d.ts +258 -0
- package/dist/contradiction/index.js +43 -0
- package/dist/contradiction/index.js.map +1 -0
- package/dist/contradiction-review-ATP4S6IC.js +30 -0
- package/dist/contradiction-review-ATP4S6IC.js.map +1 -0
- package/dist/contradiction-scan-5A4IDZV5.js +13 -0
- package/dist/contradiction-scan-5A4IDZV5.js.map +1 -0
- package/dist/conversation-index/backend.d.ts +97 -0
- package/dist/conversation-index/backend.js +13 -0
- package/dist/conversation-index/backend.js.map +1 -0
- package/dist/conversation-index/chunker.d.ts +16 -0
- package/dist/conversation-index/chunker.js +8 -0
- package/dist/conversation-index/chunker.js.map +1 -0
- package/dist/conversation-index/cleanup.d.ts +11 -0
- package/dist/conversation-index/cleanup.js +9 -0
- package/dist/conversation-index/cleanup.js.map +1 -0
- package/dist/conversation-index/faiss-adapter.d.ts +6 -0
- package/dist/conversation-index/faiss-adapter.js +16 -0
- package/dist/conversation-index/faiss-adapter.js.map +1 -0
- package/dist/conversation-index/indexer.d.ts +23 -0
- package/dist/conversation-index/indexer.js +15 -0
- package/dist/conversation-index/indexer.js.map +1 -0
- package/dist/conversation-index/search.d.ts +6 -0
- package/dist/conversation-index/search.js +11 -0
- package/dist/conversation-index/search.js.map +1 -0
- package/dist/embedding-fallback.js +2 -2
- package/dist/enrichment/index.d.ts +163 -0
- package/dist/enrichment/index.js +18 -0
- package/dist/enrichment/index.js.map +1 -0
- package/dist/entity-retrieval.d.ts +4 -2
- package/dist/entity-retrieval.js +8 -5
- package/dist/evals.js +1 -1
- package/dist/explicit-capture.d.ts +20 -5
- package/dist/explicit-capture.js +2 -2
- package/dist/extraction-judge-training.js +1 -1
- package/dist/extraction.js +8 -8
- package/dist/faiss-adapter-CzPghc4C.d.ts +70 -0
- package/dist/fallback-llm.d.ts +2 -0
- package/dist/fallback-llm.js +4 -4
- package/dist/graph-edge-decay-5DI5GUNL.js +207 -0
- package/dist/index.d.ts +66 -711
- package/dist/index.js +556 -2680
- package/dist/index.js.map +1 -1
- package/dist/lcm/archive.d.ts +89 -0
- package/dist/lcm/archive.js +12 -0
- package/dist/lcm/archive.js.map +1 -0
- package/dist/lcm/dag.d.ts +48 -0
- package/dist/lcm/dag.js +8 -0
- package/dist/lcm/dag.js.map +1 -0
- package/dist/lcm/engine.d.ts +116 -0
- package/dist/lcm/engine.js +20 -0
- package/dist/lcm/engine.js.map +1 -0
- package/dist/lcm/index.d.ts +12 -0
- package/dist/lcm/index.js +44 -0
- package/dist/lcm/index.js.map +1 -0
- package/dist/lcm/queue.d.ts +62 -0
- package/dist/lcm/queue.js +8 -0
- package/dist/lcm/queue.js.map +1 -0
- package/dist/lcm/recall.d.ts +20 -0
- package/dist/lcm/recall.js +8 -0
- package/dist/lcm/recall.js.map +1 -0
- package/dist/lcm/schema.d.ts +16 -0
- package/dist/lcm/schema.js +14 -0
- package/dist/lcm/schema.js.map +1 -0
- package/dist/lcm/summarizer.d.ts +38 -0
- package/dist/lcm/summarizer.js +12 -0
- package/dist/lcm/summarizer.js.map +1 -0
- package/dist/lcm/tools.d.ts +29 -0
- package/dist/lcm/tools.js +8 -0
- package/dist/lcm/tools.js.map +1 -0
- package/dist/live-connectors-runner.js +5 -5
- package/dist/local-llm.js +3 -3
- package/dist/maintenance/archive-observations.d.ts +18 -0
- package/dist/maintenance/archive-observations.js +8 -0
- package/dist/maintenance/archive-observations.js.map +1 -0
- package/dist/maintenance/backup-stamp.d.ts +3 -0
- package/dist/maintenance/backup-stamp.js +8 -0
- package/dist/maintenance/backup-stamp.js.map +1 -0
- package/dist/maintenance/memory-governance-cron.d.ts +85 -0
- package/dist/maintenance/memory-governance-cron.js +22 -0
- package/dist/maintenance/memory-governance-cron.js.map +1 -0
- package/dist/maintenance/memory-governance.d.ts +137 -0
- package/dist/maintenance/memory-governance.js +40 -0
- package/dist/maintenance/memory-governance.js.map +1 -0
- package/dist/maintenance/migrate-observations.d.ts +18 -0
- package/dist/maintenance/migrate-observations.js +9 -0
- package/dist/maintenance/migrate-observations.js.map +1 -0
- package/dist/maintenance/observation-ledger-utils.d.ts +10 -0
- package/dist/maintenance/observation-ledger-utils.js +10 -0
- package/dist/maintenance/observation-ledger-utils.js.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +15 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +28 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js.map +1 -0
- package/dist/maintenance/rebuild-memory-projection.d.ts +77 -0
- package/dist/maintenance/rebuild-memory-projection.js +35 -0
- package/dist/maintenance/rebuild-memory-projection.js.map +1 -0
- package/dist/maintenance/rebuild-observations.d.ts +17 -0
- package/dist/maintenance/rebuild-observations.js +9 -0
- package/dist/maintenance/rebuild-observations.js.map +1 -0
- package/dist/mcp-memory-inspector-app.d.ts +24 -6
- package/dist/memory-projection-store.d.ts +108 -3
- package/dist/memory-projection-store.js +2 -1
- package/dist/memory-worth-outcomes.d.ts +4 -2
- package/dist/migrate/from-engram.d.ts +24 -0
- package/dist/migrate/from-engram.js +12 -0
- package/dist/migrate/from-engram.js.map +1 -0
- package/dist/namespaces/migrate.d.ts +50 -0
- package/dist/namespaces/migrate.js +50 -0
- package/dist/namespaces/migrate.js.map +1 -0
- package/dist/namespaces/principal.d.ts +17 -0
- package/dist/namespaces/principal.js +16 -0
- package/dist/namespaces/principal.js.map +1 -0
- package/dist/namespaces/search.d.ts +46 -0
- package/dist/namespaces/search.js +28 -0
- package/dist/namespaces/search.js.map +1 -0
- package/dist/namespaces/storage.d.ts +32 -0
- package/dist/namespaces/storage.js +28 -0
- package/dist/namespaces/storage.js.map +1 -0
- package/dist/network/tailscale.d.ts +41 -0
- package/dist/network/tailscale.js +9 -0
- package/dist/network/tailscale.js.map +1 -0
- package/dist/network/webdav.d.ts +39 -0
- package/dist/network/webdav.js +10 -0
- package/dist/network/webdav.js.map +1 -0
- package/dist/objective-state-writers.js +2 -2
- package/dist/operator-toolkit.d.ts +4 -2
- package/dist/operator-toolkit.js +32 -14
- package/dist/opik-exporter.js +2 -2
- package/dist/opik-exporter.js.map +1 -1
- package/dist/orchestrator-DuWl9Hwx.d.ts +1244 -0
- package/dist/orchestrator.d.ts +22 -7
- package/dist/orchestrator.js +79 -44
- package/dist/path-MR5JPYOP.js +9 -0
- package/dist/path-MR5JPYOP.js.map +1 -0
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +102 -3
- package/dist/qmd.js +23 -5
- package/dist/recall-explain-renderer.js +3 -3
- 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/replay/normalizers/chatgpt.d.ts +6 -0
- package/dist/replay/normalizers/chatgpt.js +11 -0
- package/dist/replay/normalizers/chatgpt.js.map +1 -0
- package/dist/replay/normalizers/claude.d.ts +6 -0
- package/dist/replay/normalizers/claude.js +11 -0
- package/dist/replay/normalizers/claude.js.map +1 -0
- package/dist/replay/normalizers/openclaw.d.ts +6 -0
- package/dist/replay/normalizers/openclaw.js +11 -0
- package/dist/replay/normalizers/openclaw.js.map +1 -0
- package/dist/replay/normalizers/shared.d.ts +16 -0
- package/dist/replay/normalizers/shared.js +14 -0
- package/dist/replay/normalizers/shared.js.map +1 -0
- package/dist/replay/runner.d.ts +35 -0
- package/dist/replay/runner.js +16 -0
- package/dist/replay/runner.js.map +1 -0
- package/dist/replay/types.d.ts +57 -0
- package/dist/replay/types.js +19 -0
- package/dist/replay/types.js.map +1 -0
- package/dist/resolution-B7FNQSSP.js +12 -0
- package/dist/resolution-B7FNQSSP.js.map +1 -0
- package/dist/resolve-provider-secret.js +2 -2
- package/dist/resume-bundles.js +8 -6
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/routing/engine.d.ts +35 -0
- package/dist/routing/engine.js +16 -0
- package/dist/routing/engine.js.map +1 -0
- package/dist/routing/store.d.ts +27 -0
- package/dist/routing/store.js +10 -0
- package/dist/routing/store.js.map +1 -0
- package/dist/runtime/better-sqlite.d.ts +8 -0
- package/dist/runtime/better-sqlite.js +10 -0
- package/dist/runtime/better-sqlite.js.map +1 -0
- package/dist/runtime/child-process.d.ts +32 -0
- package/dist/runtime/child-process.js +10 -0
- package/dist/runtime/child-process.js.map +1 -0
- package/dist/runtime/env.d.ts +5 -0
- package/dist/runtime/env.js +12 -0
- package/dist/runtime/env.js.map +1 -0
- package/dist/schemas.d.ts +22 -22
- package/dist/sdk-compat.js +1 -1
- package/dist/search/document-scanner.d.ts +22 -0
- package/dist/search/document-scanner.js +8 -0
- package/dist/search/document-scanner.js.map +1 -0
- package/dist/search/embed-helper.d.ts +35 -0
- package/dist/search/embed-helper.js +9 -0
- package/dist/search/embed-helper.js.map +1 -0
- package/dist/search/factory.d.ts +32 -0
- package/dist/search/factory.js +29 -0
- package/dist/search/factory.js.map +1 -0
- package/dist/search/index.d.ts +15 -0
- package/dist/search/index.js +50 -0
- package/dist/search/index.js.map +1 -0
- package/dist/search/lancedb-backend.d.ts +51 -0
- package/dist/search/lancedb-backend.js +10 -0
- package/dist/search/lancedb-backend.js.map +1 -0
- package/dist/search/meilisearch-backend.d.ts +48 -0
- package/dist/search/meilisearch-backend.js +10 -0
- package/dist/search/meilisearch-backend.js.map +1 -0
- package/dist/search/noop-backend.d.ts +26 -0
- package/dist/search/noop-backend.js +8 -0
- package/dist/search/noop-backend.js.map +1 -0
- package/dist/search/orama-backend.d.ts +53 -0
- package/dist/search/orama-backend.js +10 -0
- package/dist/search/orama-backend.js.map +1 -0
- package/dist/search/port.d.ts +61 -0
- package/dist/search/port.js +1 -0
- package/dist/search/port.js.map +1 -0
- package/dist/search/remote-backend.d.ts +39 -0
- package/dist/search/remote-backend.js +9 -0
- package/dist/search/remote-backend.js.map +1 -0
- package/dist/secure-store/index.d.ts +890 -0
- package/dist/secure-store/index.js +156 -0
- package/dist/secure-store/index.js.map +1 -0
- package/dist/semantic-VwGI14Ok.d.ts +69 -0
- package/dist/semantic-consolidation-4HkHWgeI.d.ts +180 -0
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +13 -6
- package/dist/semantic-rule-promotion.js +8 -5
- package/dist/semantic-rule-verifier.js +8 -5
- package/dist/shared-context/manager.d.ts +131 -0
- package/dist/shared-context/manager.js +15 -0
- package/dist/shared-context/manager.js.map +1 -0
- package/dist/skills-registry.js +13 -1
- package/dist/skills-registry.js.map +1 -1
- package/dist/state-store-VZU2IA53.js +16 -0
- package/dist/state-store-VZU2IA53.js.map +1 -0
- package/dist/storage-paths.d.ts +9 -0
- package/dist/storage-paths.js +20 -0
- package/dist/storage-paths.js.map +1 -0
- package/dist/storage.d.ts +3 -1
- package/dist/storage.js +7 -4
- package/dist/summarizer.d.ts +5 -0
- package/dist/summarizer.js +9 -8
- package/dist/summary-snapshot.js +2 -1
- package/dist/surfaces/dreams.d.ts +16 -0
- package/dist/surfaces/dreams.js +282 -0
- package/dist/surfaces/dreams.js.map +1 -0
- package/dist/surfaces/heartbeat.d.ts +17 -0
- package/dist/surfaces/heartbeat.js +265 -0
- package/dist/surfaces/heartbeat.js.map +1 -0
- package/dist/temporal-supersession.d.ts +3 -1
- package/dist/threading.d.ts +5 -0
- package/dist/threading.js +2 -1
- package/dist/tier-migration.d.ts +4 -2
- package/dist/tokens.js +2 -2
- package/dist/transcript.d.ts +15 -1
- package/dist/transcript.js +2 -1
- package/dist/transfer/autodetect.d.ts +4 -0
- package/dist/transfer/autodetect.js +15 -0
- package/dist/transfer/autodetect.js.map +1 -0
- package/dist/transfer/backup.d.ts +21 -0
- package/dist/transfer/backup.js +17 -0
- package/dist/transfer/backup.js.map +1 -0
- package/dist/transfer/capsule-export.d.ts +113 -0
- package/dist/transfer/capsule-export.js +19 -0
- package/dist/transfer/capsule-export.js.map +1 -0
- package/dist/transfer/capsule-import.d.ts +124 -0
- package/dist/transfer/capsule-import.js +16 -0
- package/dist/transfer/capsule-import.js.map +1 -0
- package/dist/transfer/constants.d.ts +13 -0
- package/dist/transfer/constants.js +12 -0
- package/dist/transfer/constants.js.map +1 -0
- package/dist/transfer/export-json.d.ts +11 -0
- package/dist/transfer/export-json.js +11 -0
- package/dist/transfer/export-json.js.map +1 -0
- package/dist/transfer/export-md.d.ts +10 -0
- package/dist/transfer/export-md.js +13 -0
- package/dist/transfer/export-md.js.map +1 -0
- package/dist/transfer/export-sqlite.d.ts +9 -0
- package/dist/transfer/export-sqlite.js +12 -0
- package/dist/transfer/export-sqlite.js.map +1 -0
- package/dist/transfer/fs-utils.d.ts +61 -0
- package/dist/transfer/fs-utils.js +40 -0
- package/dist/transfer/fs-utils.js.map +1 -0
- package/dist/transfer/import-json.d.ts +16 -0
- package/dist/transfer/import-json.js +13 -0
- package/dist/transfer/import-json.js.map +1 -0
- package/dist/transfer/import-md.d.ts +14 -0
- package/dist/transfer/import-md.js +11 -0
- package/dist/transfer/import-md.js.map +1 -0
- package/dist/transfer/import-sqlite.d.ts +14 -0
- package/dist/transfer/import-sqlite.js +12 -0
- package/dist/transfer/import-sqlite.js.map +1 -0
- package/dist/transfer/sqlite-schema.d.ts +4 -0
- package/dist/transfer/sqlite-schema.js +10 -0
- package/dist/transfer/sqlite-schema.js.map +1 -0
- package/dist/transfer/types.d.ts +916 -0
- package/dist/transfer/types.js +30 -0
- package/dist/transfer/types.js.map +1 -0
- package/dist/types.d.ts +28 -1
- package/dist/types.js +1 -1
- package/dist/verified-recall.js +9 -6
- package/dist/work/board.d.ts +43 -0
- package/dist/work/board.js +14 -0
- package/dist/work/board.js.map +1 -0
- package/dist/work/boundary.d.ts +8 -0
- package/dist/work/boundary.js +14 -0
- package/dist/work/boundary.js.map +1 -0
- package/dist/work/storage.d.ts +39 -0
- package/dist/work/storage.js +11 -0
- package/dist/work/storage.js.map +1 -0
- package/dist/work/types.d.ts +75 -0
- package/dist/work/types.js +1 -0
- package/dist/work/types.js.map +1 -0
- package/package.json +2767 -6
- package/scripts/faiss_index.py +816 -0
- package/scripts/faiss_requirements.txt +3 -0
- package/skills/remnic-entities/SKILL.md +51 -0
- package/skills/remnic-memory-workflow/SKILL.md +61 -0
- package/skills/remnic-recall/SKILL.md +51 -0
- package/skills/remnic-remember/SKILL.md +56 -0
- package/skills/remnic-search/SKILL.md +51 -0
- package/skills/remnic-status/SKILL.md +51 -0
- package/src/abort-error.test.ts +49 -0
- package/src/abort-error.ts +46 -0
- package/src/abstraction-nodes.ts +162 -0
- package/src/access-audit.test.ts +178 -0
- package/src/access-audit.ts +125 -0
- package/src/access-cli.test.ts +439 -0
- package/src/access-cli.ts +438 -0
- package/src/access-http.test.ts +225 -0
- package/src/access-http.ts +1899 -0
- package/src/access-idempotency.ts +232 -0
- package/src/access-mcp.test.ts +568 -0
- package/src/access-mcp.ts +3056 -0
- package/src/access-schema-pi.test.ts +60 -0
- package/src/access-schema.ts +522 -0
- package/src/access-service-namespace.test.ts +123 -0
- package/src/access-service.ts +5629 -0
- package/src/action-confidence.test.ts +206 -0
- package/src/action-confidence.ts +466 -0
- package/src/active-memory-bridge.test.ts +285 -0
- package/src/active-memory-bridge.ts +217 -0
- package/src/active-recall.test.ts +484 -0
- package/src/active-recall.ts +459 -0
- package/src/adapters/claude-code.ts +56 -0
- package/src/adapters/codex.ts +57 -0
- package/src/adapters/hermes.ts +64 -0
- package/src/adapters/index.ts +6 -0
- package/src/adapters/registry.ts +41 -0
- package/src/adapters/replit.ts +55 -0
- package/src/adapters/types.ts +51 -0
- package/src/behavior-learner.ts +144 -0
- package/src/behavior-signals.ts +73 -0
- package/src/binary-lifecycle/backend.ts +117 -0
- package/src/binary-lifecycle/index.ts +35 -0
- package/src/binary-lifecycle/manifest.ts +79 -0
- package/src/binary-lifecycle/pipeline.ts +352 -0
- package/src/binary-lifecycle/scanner.ts +89 -0
- package/src/binary-lifecycle/types.ts +89 -0
- package/src/bootstrap.ts +178 -0
- package/src/boxes.ts +521 -0
- package/src/briefing.test.ts +1535 -0
- package/src/briefing.ts +1382 -0
- package/src/buffer-session.test.ts +443 -0
- package/src/buffer-surprise-report.ts +176 -0
- package/src/buffer-surprise-telemetry.test.ts +606 -0
- package/src/buffer-surprise-trigger.test.ts +766 -0
- package/src/buffer-surprise.test.ts +339 -0
- package/src/buffer-surprise.ts +203 -0
- package/src/buffer.ts +900 -0
- package/src/bulk-import/cli-command.test.ts +204 -0
- package/src/bulk-import/index.ts +34 -0
- package/src/bulk-import/pipeline.test.ts +445 -0
- package/src/bulk-import/pipeline.ts +178 -0
- package/src/bulk-import/registry.test.ts +151 -0
- package/src/bulk-import/registry.ts +72 -0
- package/src/bulk-import/types.test.ts +272 -0
- package/src/bulk-import/types.ts +145 -0
- package/src/calibration.ts +394 -0
- package/src/capsule-cli.test.ts +398 -0
- package/src/capsule-cli.ts +565 -0
- package/src/causal-behavior.ts +308 -0
- package/src/causal-chain.ts +419 -0
- package/src/causal-consolidation.ts +370 -0
- package/src/causal-retrieval.ts +286 -0
- package/src/causal-trajectory-graph.ts +60 -0
- package/src/causal-trajectory.ts +303 -0
- package/src/chunking.ts +220 -0
- package/src/citations.ts +232 -0
- package/src/cli.ts +9403 -0
- package/src/codex-cli-fallback.ts +162 -0
- package/src/codex-thread-key.ts +1 -0
- package/src/coding/access-coding-context.test.ts +197 -0
- package/src/coding/coding-branch-scope.test.ts +281 -0
- package/src/coding/coding-namespace.test.ts +360 -0
- package/src/coding/coding-namespace.ts +412 -0
- package/src/coding/coding-orchestrator.test.ts +249 -0
- package/src/coding/git-context.test.ts +507 -0
- package/src/coding/git-context.ts +336 -0
- package/src/coding/mcp-set-coding-context.test.ts +174 -0
- package/src/coding/review-context.test.ts +316 -0
- package/src/coding/review-context.ts +349 -0
- package/src/coding/wire-coding-context.test.ts +468 -0
- package/src/commitment-ledger.test.ts +78 -0
- package/src/commitment-ledger.ts +337 -0
- package/src/compat/checks.test.ts +206 -0
- package/src/compat/checks.ts +716 -0
- package/src/compat/types.ts +33 -0
- package/src/compounding/engine.ts +1686 -0
- package/src/compounding/preference-consolidator.ts +778 -0
- package/src/compression-optimizer.ts +312 -0
- package/src/config.test.ts +930 -0
- package/src/config.ts +3807 -0
- package/src/connectors/codex/instructions.md +160 -0
- package/src/connectors/codex/resources/namespace-cheatsheet.md +48 -0
- package/src/connectors/codex-marketplace.ts +500 -0
- package/src/connectors/codex-materialize-runner.ts +212 -0
- package/src/connectors/codex-materialize.ts +983 -0
- package/src/connectors/coerce.ts +62 -0
- package/src/connectors/index.test.ts +1570 -0
- package/src/connectors/index.ts +3222 -0
- package/src/connectors/live/framework.ts +164 -0
- package/src/connectors/live/github.test.ts +1218 -0
- package/src/connectors/live/github.ts +1068 -0
- package/src/connectors/live/gmail.test.ts +1706 -0
- package/src/connectors/live/gmail.ts +1293 -0
- package/src/connectors/live/google-drive.test.ts +696 -0
- package/src/connectors/live/google-drive.ts +724 -0
- package/src/connectors/live/index.ts +101 -0
- package/src/connectors/live/live-connectors.test.ts +689 -0
- package/src/connectors/live/notion.test.ts +1109 -0
- package/src/connectors/live/notion.ts +978 -0
- package/src/connectors/live/registry.ts +103 -0
- package/src/connectors/live/state-store.ts +399 -0
- package/src/connectors/live/transient-errors.ts +150 -0
- package/src/connectors/weclone-installer.test.ts +850 -0
- package/src/connectors-cli.ts +513 -0
- package/src/console/state.test.ts +224 -0
- package/src/console/state.ts +514 -0
- package/src/console/trace.test.ts +813 -0
- package/src/console/trace.ts +603 -0
- package/src/console/tui.test.ts +582 -0
- package/src/console/tui.ts +508 -0
- package/src/consolidation-operator.ts +182 -0
- package/src/consolidation-provenance-check.ts +551 -0
- package/src/consolidation-undo.ts +718 -0
- package/src/contradiction/contradiction-judge.test.ts +189 -0
- package/src/contradiction/contradiction-judge.ts +333 -0
- package/src/contradiction/contradiction-review.ts +574 -0
- package/src/contradiction/contradiction-scan.ts +504 -0
- package/src/contradiction/contradiction.test.ts +2230 -0
- package/src/contradiction/index.ts +37 -0
- package/src/contradiction/resolution.ts +383 -0
- package/src/conversation-index/backend.ts +323 -0
- package/src/conversation-index/chunker.ts +47 -0
- package/src/conversation-index/cleanup.ts +53 -0
- package/src/conversation-index/faiss-adapter.ts +384 -0
- package/src/conversation-index/indexer.test.ts +164 -0
- package/src/conversation-index/indexer.ts +192 -0
- package/src/conversation-index/search.ts +37 -0
- package/src/cross-namespace-budget.test.ts +275 -0
- package/src/cross-namespace-budget.ts +365 -0
- package/src/cue-anchors.ts +163 -0
- package/src/curation/index.ts +544 -0
- package/src/dashboard-runtime.ts +337 -0
- package/src/day-summary.ts +122 -0
- package/src/dedup/index.ts +330 -0
- package/src/dedup/semantic.test.ts +1577 -0
- package/src/dedup/semantic.ts +148 -0
- package/src/delinearize.ts +193 -0
- package/src/direct-answer-wiring.test.ts +473 -0
- package/src/direct-answer-wiring.ts +180 -0
- package/src/direct-answer.test.ts +484 -0
- package/src/direct-answer.ts +273 -0
- package/src/embedding-fallback.ts +565 -0
- package/src/enrichment/audit.ts +89 -0
- package/src/enrichment/index.ts +27 -0
- package/src/enrichment/pipeline.ts +197 -0
- package/src/enrichment/provider-registry.ts +85 -0
- package/src/enrichment/types.ts +100 -0
- package/src/enrichment/web-search-provider.ts +63 -0
- package/src/entity-retrieval.ts +774 -0
- package/src/entity-schema.ts +239 -0
- package/src/evals.ts +1312 -0
- package/src/event-order-recall.test.ts +4164 -0
- package/src/event-order-recall.ts +2802 -0
- package/src/evidence-pack.test.ts +89 -0
- package/src/evidence-pack.ts +388 -0
- package/src/explicit-capture.ts +530 -0
- package/src/explicit-cue-recall.test.ts +3019 -0
- package/src/explicit-cue-recall.ts +5545 -0
- package/src/extraction-judge-telemetry.ts +234 -0
- package/src/extraction-judge-training.ts +221 -0
- package/src/extraction-judge.ts +846 -0
- package/src/extraction-timeout.test.ts +265 -0
- package/src/extraction.ts +2719 -0
- package/src/fallback-llm.test.ts +1060 -0
- package/src/fallback-llm.ts +918 -0
- package/src/focused-list-recall.test.ts +734 -0
- package/src/focused-list-recall.ts +1160 -0
- package/src/graph-dashboard-diff.ts +35 -0
- package/src/graph-dashboard-key.ts +5 -0
- package/src/graph-dashboard-parser.ts +104 -0
- package/src/graph-edge-reinforcement.ts +192 -0
- package/src/graph-events.ts +151 -0
- package/src/graph-recall.test.ts +164 -0
- package/src/graph-recall.ts +189 -0
- package/src/graph-retrieval.test.ts +809 -0
- package/src/graph-retrieval.ts +823 -0
- package/src/graph-snapshot.ts +329 -0
- package/src/graph.ts +813 -0
- package/src/harmonic-retrieval.ts +223 -0
- package/src/himem.ts +154 -0
- package/src/hygiene.ts +87 -0
- package/src/identity-continuity.ts +333 -0
- package/src/importance.ts +328 -0
- package/src/importers/base.test.ts +294 -0
- package/src/importers/base.ts +436 -0
- package/src/importers/index.ts +21 -0
- package/src/index.ts +1204 -0
- package/src/intent.ts +154 -0
- package/src/json-extract.ts +85 -0
- package/src/json-store.ts +42 -0
- package/src/lcm/archive.ts +617 -0
- package/src/lcm/dag.ts +199 -0
- package/src/lcm/engine.ts +645 -0
- package/src/lcm/index.ts +7 -0
- package/src/lcm/queue.test.ts +178 -0
- package/src/lcm/queue.ts +200 -0
- package/src/lcm/recall.ts +117 -0
- package/src/lcm/schema.ts +154 -0
- package/src/lcm/summarizer.ts +235 -0
- package/src/lcm/tools.ts +191 -0
- package/src/lcm-engine.test.ts +660 -0
- package/src/legacy-hook-compat.test.ts +20 -0
- package/src/legacy-hook-compat.ts +45 -0
- package/src/lifecycle.ts +289 -0
- package/src/live-connectors-runner.ts +385 -0
- package/src/local-llm-qos.test.ts +303 -0
- package/src/local-llm-thinking.test.ts +292 -0
- package/src/local-llm.ts +1464 -0
- package/src/logger.ts +49 -0
- package/src/maintenance/archive-observations.ts +147 -0
- package/src/maintenance/backup-stamp.ts +3 -0
- package/src/maintenance/dreams-ledger.ts +516 -0
- package/src/maintenance/first-start-migration.ts +362 -0
- package/src/maintenance/forget.test.ts +206 -0
- package/src/maintenance/forget.ts +126 -0
- package/src/maintenance/graph-edge-decay.test.ts +409 -0
- package/src/maintenance/graph-edge-decay.ts +394 -0
- package/src/maintenance/memory-governance-cron.ts +447 -0
- package/src/maintenance/memory-governance.ts +1039 -0
- package/src/maintenance/migrate-observations.ts +216 -0
- package/src/maintenance/observation-ledger-utils.ts +54 -0
- package/src/maintenance/pattern-reinforcement.test.ts +875 -0
- package/src/maintenance/pattern-reinforcement.ts +369 -0
- package/src/maintenance/purge.ts +334 -0
- package/src/maintenance/rebuild-memory-lifecycle-ledger.ts +78 -0
- package/src/maintenance/rebuild-memory-projection.ts +1234 -0
- package/src/maintenance/rebuild-observations.ts +178 -0
- package/src/maintenance/tier-stats.test.ts +378 -0
- package/src/maintenance/tier-stats.ts +222 -0
- package/src/mcp-memory-inspector-app.ts +421 -0
- package/src/memory-action-policy.ts +80 -0
- package/src/memory-cache.ts +208 -0
- package/src/memory-extension/claude-code-publisher.ts +51 -0
- package/src/memory-extension/codex-publisher.ts +149 -0
- package/src/memory-extension/hermes-publisher.ts +51 -0
- package/src/memory-extension/index.ts +100 -0
- package/src/memory-extension/shared-instructions.ts +133 -0
- package/src/memory-extension/types.ts +86 -0
- package/src/memory-extension-host/host-discovery.ts +276 -0
- package/src/memory-extension-host/index.ts +14 -0
- package/src/memory-extension-host/render-extensions-block.ts +73 -0
- package/src/memory-extension-host/types.ts +21 -0
- package/src/memory-lifecycle-ledger-utils.ts +116 -0
- package/src/memory-projection-format.ts +11 -0
- package/src/memory-projection-store.ts +951 -0
- package/src/memory-provenance.test.ts +196 -0
- package/src/memory-provenance.ts +484 -0
- package/src/memory-worth-bench.test.ts +71 -0
- package/src/memory-worth-bench.ts +265 -0
- package/src/memory-worth-filter.test.ts +209 -0
- package/src/memory-worth-filter.ts +204 -0
- package/src/memory-worth-frontmatter.test.ts +311 -0
- package/src/memory-worth-outcomes.test.ts +316 -0
- package/src/memory-worth-outcomes.ts +286 -0
- package/src/memory-worth.test.ts +317 -0
- package/src/memory-worth.ts +215 -0
- package/src/message-parts/index.ts +806 -0
- package/src/message-parts/message-parts.test.ts +421 -0
- package/src/migrate/from-engram.ts +789 -0
- package/src/model-registry.ts +313 -0
- package/src/models-json.ts +76 -0
- package/src/namespaces/migrate.ts +187 -0
- package/src/namespaces/path.ts +25 -0
- package/src/namespaces/principal.test.ts +195 -0
- package/src/namespaces/principal.ts +86 -0
- package/src/namespaces/search.test.ts +105 -0
- package/src/namespaces/search.ts +233 -0
- package/src/namespaces/storage.ts +74 -0
- package/src/native-knowledge.ts +1823 -0
- package/src/negative.ts +72 -0
- package/src/network/tailscale.ts +179 -0
- package/src/network/webdav.ts +385 -0
- package/src/objective-state-writers.ts +951 -0
- package/src/objective-state.ts +320 -0
- package/src/onboarding/index.ts +529 -0
- package/src/openai-chat-compat.ts +56 -0
- package/src/operator-toolkit.ts +2132 -0
- package/src/opik-exporter.test.ts +72 -0
- package/src/opik-exporter.ts +587 -0
- package/src/orchestrator-extraction-queue.test.ts +197 -0
- package/src/orchestrator-flush.test.ts +1171 -0
- package/src/orchestrator-pattern-reinforcement.test.ts +128 -0
- package/src/orchestrator-source-attribution.test.ts +701 -0
- package/src/orchestrator.ts +16368 -0
- package/src/page-versioning.ts +450 -0
- package/src/patterns-cli.ts +574 -0
- package/src/peers/index.ts +54 -0
- package/src/peers/migrate-from-identity-anchor.test.ts +291 -0
- package/src/peers/migrate-from-identity-anchor.ts +350 -0
- package/src/peers/peers.test.ts +419 -0
- package/src/peers/profile-reasoner.ts +694 -0
- package/src/peers/storage.ts +1350 -0
- package/src/peers/types.ts +138 -0
- package/src/plugin-id.ts +84 -0
- package/src/policy-runtime.ts +209 -0
- package/src/procedural/procedure-miner.ts +150 -0
- package/src/procedural/procedure-recall.ts +93 -0
- package/src/procedural/procedure-stats.ts +213 -0
- package/src/procedural/procedure-types.ts +132 -0
- package/src/procedural/reinforcement-core.test.ts +132 -0
- package/src/procedural/reinforcement-core.ts +73 -0
- package/src/profiling.test.ts +263 -0
- package/src/profiling.ts +435 -0
- package/src/projection/index.ts +398 -0
- package/src/qmd-recall-cache.test.ts +138 -0
- package/src/qmd-recall-cache.ts +111 -0
- package/src/qmd.test.ts +257 -0
- package/src/qmd.ts +2614 -0
- package/src/reasoning-trace-recall.ts +201 -0
- package/src/reasoning-trace-types.ts +235 -0
- package/src/recall-audit-anomaly.test.ts +246 -0
- package/src/recall-audit-anomaly.ts +297 -0
- package/src/recall-audit.test.ts +51 -0
- package/src/recall-audit.ts +72 -0
- package/src/recall-budget-config.test.ts +87 -0
- package/src/recall-disclosure-escalation.test.ts +196 -0
- package/src/recall-disclosure-escalation.ts +158 -0
- package/src/recall-disclosure-shaping.test.ts +146 -0
- package/src/recall-disclosure.test.ts +214 -0
- package/src/recall-explain-renderer.test.ts +140 -0
- package/src/recall-explain-renderer.ts +356 -0
- package/src/recall-mmr.test.ts +808 -0
- package/src/recall-mmr.ts +607 -0
- package/src/recall-qos.test.ts +85 -0
- package/src/recall-qos.ts +82 -0
- package/src/recall-query-policy.ts +221 -0
- package/src/recall-state.test.ts +233 -0
- package/src/recall-state.ts +456 -0
- package/src/recall-tag-filter.ts +143 -0
- package/src/recall-tokenization.ts +35 -0
- package/src/recall-xray-cli.test.ts +118 -0
- package/src/recall-xray-cli.ts +100 -0
- package/src/recall-xray-disclosure-telemetry.test.ts +183 -0
- package/src/recall-xray-renderer.test.ts +539 -0
- package/src/recall-xray-renderer.ts +487 -0
- package/src/recall-xray.test.ts +503 -0
- package/src/recall-xray.ts +621 -0
- package/src/reconstruct.ts +41 -0
- package/src/release-changelog.ts +35 -0
- package/src/relevance.ts +67 -0
- package/src/replay/normalizers/chatgpt.ts +133 -0
- package/src/replay/normalizers/claude.ts +102 -0
- package/src/replay/normalizers/openclaw.ts +119 -0
- package/src/replay/normalizers/shared.ts +69 -0
- package/src/replay/runner.ts +197 -0
- package/src/replay/types.ts +143 -0
- package/src/rerank.test.ts +48 -0
- package/src/rerank.ts +176 -0
- package/src/resolve-auth-token.test.ts +226 -0
- package/src/resolve-auth-token.ts +151 -0
- package/src/resolve-provider-secret.test.ts +187 -0
- package/src/resolve-provider-secret.ts +410 -0
- package/src/response-guidance-recall.test.ts +3952 -0
- package/src/response-guidance-recall.ts +4431 -0
- package/src/resume-bundles.ts +415 -0
- package/src/retrieval-agents.ts +623 -0
- package/src/retrieval-tiers.ts +25 -0
- package/src/retrieval.ts +104 -0
- package/src/review/index.test.ts +201 -0
- package/src/review/index.ts +536 -0
- package/src/routing/engine.ts +162 -0
- package/src/routing/store.ts +321 -0
- package/src/runtime/better-sqlite.test.ts +32 -0
- package/src/runtime/better-sqlite.ts +76 -0
- package/src/runtime/child-process.ts +67 -0
- package/src/runtime/env.ts +48 -0
- package/src/sanitize.ts +58 -0
- package/src/schemas.ts +449 -0
- package/src/sdk-compat.ts +87 -0
- package/src/search/document-scanner.ts +96 -0
- package/src/search/embed-helper.ts +142 -0
- package/src/search/factory.ts +189 -0
- package/src/search/index.ts +10 -0
- package/src/search/lancedb-backend.ts +342 -0
- package/src/search/meilisearch-backend.ts +232 -0
- package/src/search/noop-backend.ts +57 -0
- package/src/search/orama-backend.ts +358 -0
- package/src/search/port.ts +86 -0
- package/src/search/remote-backend.ts +124 -0
- package/src/secure-store/cipher.ts +271 -0
- package/src/secure-store/cli-handlers.ts +355 -0
- package/src/secure-store/cli-renderer.ts +131 -0
- package/src/secure-store/header.ts +373 -0
- package/src/secure-store/index.ts +137 -0
- package/src/secure-store/kdf.ts +263 -0
- package/src/secure-store/keyring.ts +106 -0
- package/src/secure-store/metadata.ts +394 -0
- package/src/secure-store/passphrase-reader.ts +252 -0
- package/src/secure-store/secure-fs.ts +571 -0
- package/src/secure-store/secure-store.test.ts +755 -0
- package/src/semantic-chunking.ts +545 -0
- package/src/semantic-consolidation.test.ts +182 -0
- package/src/semantic-consolidation.ts +432 -0
- package/src/semantic-rule-promotion.ts +183 -0
- package/src/semantic-rule-verifier.ts +160 -0
- package/src/session-integrity.ts +569 -0
- package/src/session-observer-bands.ts +11 -0
- package/src/session-observer-state.ts +346 -0
- package/src/session-toggles.test.ts +96 -0
- package/src/session-toggles.ts +159 -0
- package/src/shared-context/manager.ts +810 -0
- package/src/signal.ts +84 -0
- package/src/skills-registry.test.ts +277 -0
- package/src/skills-registry.ts +120 -0
- package/src/source-attribution-roundtrip.test.ts +215 -0
- package/src/source-attribution.test.ts +1425 -0
- package/src/source-attribution.ts +639 -0
- package/src/spaces/index.ts +627 -0
- package/src/storage-paths.ts +117 -0
- package/src/storage.ts +6657 -0
- package/src/store-contract.ts +55 -0
- package/src/summarizer.ts +844 -0
- package/src/summary-snapshot.test.ts +681 -0
- package/src/summary-snapshot.ts +238 -0
- package/src/surfaces/dreams.test.ts +394 -0
- package/src/surfaces/dreams.ts +346 -0
- package/src/surfaces/heartbeat.test.ts +415 -0
- package/src/surfaces/heartbeat.ts +325 -0
- package/src/sync/index.ts +308 -0
- package/src/targeted-fact-recall.test.ts +1694 -0
- package/src/targeted-fact-recall.ts +2905 -0
- package/src/taxonomy/default-taxonomy.ts +87 -0
- package/src/taxonomy/index.ts +26 -0
- package/src/taxonomy/resolver-doc-generator.ts +57 -0
- package/src/taxonomy/resolver.ts +184 -0
- package/src/taxonomy/taxonomy-loader.ts +186 -0
- package/src/taxonomy/types.ts +48 -0
- package/src/telemetry-transcript.ts +70 -0
- package/src/temporal-index.ts +890 -0
- package/src/temporal-supersession.test.ts +2703 -0
- package/src/temporal-supersession.ts +493 -0
- package/src/temporal-validity.test.ts +448 -0
- package/src/temporal-validity.ts +123 -0
- package/src/threading.ts +395 -0
- package/src/tier-migration.ts +124 -0
- package/src/tier-routing.ts +102 -0
- package/src/tmt.ts +462 -0
- package/src/tokens.test.ts +178 -0
- package/src/tokens.ts +279 -0
- package/src/topics.ts +147 -0
- package/src/training-export/cli-date-validation.test.ts +258 -0
- package/src/training-export/converter.test.ts +452 -0
- package/src/training-export/converter.ts +319 -0
- package/src/training-export/date-parse.ts +117 -0
- package/src/training-export/index.ts +26 -0
- package/src/training-export/registry.test.ts +85 -0
- package/src/training-export/registry.ts +57 -0
- package/src/training-export/types.ts +31 -0
- package/src/transcript.ts +1179 -0
- package/src/transfer/autodetect.ts +30 -0
- package/src/transfer/backup.ts +138 -0
- package/src/transfer/capsule-crypto.ts +485 -0
- package/src/transfer/capsule-encrypt.test.ts +690 -0
- package/src/transfer/capsule-export.ts +543 -0
- package/src/transfer/capsule-fork.ts +375 -0
- package/src/transfer/capsule-import.ts +564 -0
- package/src/transfer/capsule-merge.ts +433 -0
- package/src/transfer/conflict-policy.ts +16 -0
- package/src/transfer/constants.ts +13 -0
- package/src/transfer/exclusions.ts +37 -0
- package/src/transfer/export-json.ts +65 -0
- package/src/transfer/export-md.ts +59 -0
- package/src/transfer/export-sqlite.ts +52 -0
- package/src/transfer/fs-utils.ts +269 -0
- package/src/transfer/import-json.ts +108 -0
- package/src/transfer/import-md.ts +84 -0
- package/src/transfer/import-sqlite.ts +100 -0
- package/src/transfer/integrity.ts +71 -0
- package/src/transfer/sqlite-schema.ts +16 -0
- package/src/transfer/types.ts +297 -0
- package/src/trust-zones.ts +1186 -0
- package/src/types.ts +3074 -0
- package/src/user-model.test.ts +124 -0
- package/src/user-model.ts +162 -0
- package/src/utility-learner.ts +353 -0
- package/src/utility-runtime.ts +88 -0
- package/src/utility-telemetry.ts +215 -0
- package/src/utils/category-dir.ts +44 -0
- package/src/utils/errno.ts +6 -0
- package/src/utils/iso-timestamp.test.ts +37 -0
- package/src/utils/iso-timestamp.ts +164 -0
- package/src/utils/path.ts +26 -0
- package/src/verified-recall.ts +138 -0
- package/src/version-utils.test.ts +10 -0
- package/src/version-utils.ts +9 -0
- package/src/whitespace.ts +10 -0
- package/src/work/board.ts +359 -0
- package/src/work/boundary.ts +107 -0
- package/src/work/storage.ts +436 -0
- package/src/work/types.ts +82 -0
- package/src/work-product-ledger.ts +265 -0
- package/dist/access-service-DDjzFALq.d.ts +0 -2088
- package/dist/capsule-crypto-SJS5VVAP.js +0 -18
- package/dist/capsule-export-7QNCBZOQ.js +0 -17
- package/dist/capsule-import-EPBHD2EN.js +0 -16
- package/dist/capsule-merge-DI7PNQ2H.js +0 -189
- package/dist/chunk-23ZZK64Y.js +0 -26
- package/dist/chunk-23ZZK64Y.js.map +0 -1
- package/dist/chunk-242S3I2A.js +0 -647
- package/dist/chunk-2LGMW3DJ.js +0 -111
- package/dist/chunk-3B6KIRBH.js +0 -5213
- package/dist/chunk-3B6KIRBH.js.map +0 -1
- package/dist/chunk-457A4P3L.js +0 -119
- package/dist/chunk-457A4P3L.js.map +0 -1
- package/dist/chunk-4IS4SXIQ.js +0 -2040
- package/dist/chunk-4YM32CRU.js +0 -721
- package/dist/chunk-6TBWYBJ3.js +0 -236
- package/dist/chunk-74EMIVE4.js +0 -329
- package/dist/chunk-74EMIVE4.js.map +0 -1
- package/dist/chunk-767ODGE6.js +0 -183
- package/dist/chunk-7V22HTMD.js +0 -623
- package/dist/chunk-7V22HTMD.js.map +0 -1
- package/dist/chunk-7ZM3BFKK.js +0 -9705
- package/dist/chunk-7ZM3BFKK.js.map +0 -1
- package/dist/chunk-AQJNPMOA.js +0 -643
- package/dist/chunk-AQJNPMOA.js.map +0 -1
- package/dist/chunk-ASAITVLA.js +0 -64
- package/dist/chunk-ASAITVLA.js.map +0 -1
- package/dist/chunk-BBE34QBJ.js +0 -275
- package/dist/chunk-BBE34QBJ.js.map +0 -1
- package/dist/chunk-BZSQEPRW.js +0 -14710
- package/dist/chunk-BZSQEPRW.js.map +0 -1
- package/dist/chunk-CPKTBRS2.js +0 -891
- package/dist/chunk-CPKTBRS2.js.map +0 -1
- package/dist/chunk-D4GAOFF6.js +0 -562
- package/dist/chunk-D4GAOFF6.js.map +0 -1
- package/dist/chunk-D54LZC5L.js +0 -147
- package/dist/chunk-DF3RVK3X.js +0 -119
- package/dist/chunk-DF3RVK3X.js.map +0 -1
- package/dist/chunk-DZZPC36E.js +0 -1451
- package/dist/chunk-DZZPC36E.js.map +0 -1
- package/dist/chunk-E2UCDP5S.js +0 -570
- package/dist/chunk-E6K4NIEU.js +0 -747
- package/dist/chunk-E6K4NIEU.js.map +0 -1
- package/dist/chunk-EEQLFRUM.js +0 -89
- package/dist/chunk-ETOW6ACV.js +0 -158
- package/dist/chunk-ETOW6ACV.js.map +0 -1
- package/dist/chunk-FMEBPEAO.js +0 -347
- package/dist/chunk-FMEBPEAO.js.map +0 -1
- package/dist/chunk-FQDPCE3I.js +0 -1837
- package/dist/chunk-FQDPCE3I.js.map +0 -1
- package/dist/chunk-FYIYMQ5N.js +0 -221
- package/dist/chunk-FYIYMQ5N.js.map +0 -1
- package/dist/chunk-G2WADRQ3.js +0 -219
- package/dist/chunk-G4SK7DSQ.js +0 -121
- package/dist/chunk-GVPWB7EY.js +0 -390
- package/dist/chunk-GVPWB7EY.js.map +0 -1
- package/dist/chunk-HELQZFZO.js +0 -1075
- package/dist/chunk-HL5LRPNA.js +0 -1914
- package/dist/chunk-HL5LRPNA.js.map +0 -1
- package/dist/chunk-HQZVVSVB.js +0 -147
- package/dist/chunk-HQZVVSVB.js.map +0 -1
- package/dist/chunk-HY3L4WKC.js +0 -2195
- package/dist/chunk-HY3L4WKC.js.map +0 -1
- package/dist/chunk-IB3BFHGN.js +0 -228
- package/dist/chunk-IXEJRKCZ.js +0 -18
- package/dist/chunk-JBMSGZEQ.js +0 -441
- package/dist/chunk-JBMSGZEQ.js.map +0 -1
- package/dist/chunk-JESOB2HO.js +0 -108
- package/dist/chunk-JKDVIE52.js +0 -272
- package/dist/chunk-JRNQ3RNA.js +0 -284
- package/dist/chunk-JRNQ3RNA.js.map +0 -1
- package/dist/chunk-K6WK37A6.js +0 -865
- package/dist/chunk-K6WK37A6.js.map +0 -1
- package/dist/chunk-MARWOCVP.js +0 -48
- package/dist/chunk-MNU6ZBWT.js +0 -4454
- package/dist/chunk-MNU6ZBWT.js.map +0 -1
- package/dist/chunk-N5AKDXAI.js +0 -74
- package/dist/chunk-OA3L7BFR.js +0 -183
- package/dist/chunk-OA3L7BFR.js.map +0 -1
- package/dist/chunk-OR64ZGRZ.js +0 -23
- package/dist/chunk-P77UEOU2.js +0 -1521
- package/dist/chunk-P77UEOU2.js.map +0 -1
- package/dist/chunk-PH4C2U43.js +0 -239
- package/dist/chunk-PH4C2U43.js.map +0 -1
- package/dist/chunk-RVPLBATS.js +0 -1586
- package/dist/chunk-RVPLBATS.js.map +0 -1
- package/dist/chunk-U5JMRGKX.js +0 -340
- package/dist/chunk-U5JMRGKX.js.map +0 -1
- package/dist/chunk-URB2WSKZ.js +0 -350
- package/dist/chunk-URB2WSKZ.js.map +0 -1
- package/dist/chunk-UVMUAWVT.js +0 -596
- package/dist/chunk-WEJG4TB5.js +0 -118
- package/dist/chunk-X7HPGUVG.js +0 -271
- package/dist/chunk-XAMBKFQS.js +0 -2777
- package/dist/chunk-XAMBKFQS.js.map +0 -1
- package/dist/chunk-XJKFSSDW.js +0 -726
- package/dist/chunk-XJKFSSDW.js.map +0 -1
- package/dist/chunk-XMHBH5H6.js +0 -283
- package/dist/chunk-XMHBH5H6.js.map +0 -1
- package/dist/chunk-XMVFHBHT.js +0 -277
- package/dist/chunk-Y3VMVTYX.js +0 -53
- package/dist/chunk-YNB73F22.js +0 -137
- package/dist/chunk-YNB73F22.js.map +0 -1
- package/dist/chunk-Z2E7VW55.js +0 -335
- package/dist/chunk-Z2E7VW55.js.map +0 -1
- package/dist/chunk-ZG7PTKBK.js +0 -2296
- package/dist/chunk-ZNQN6ZTA.js +0 -135
- package/dist/chunk-ZVTKDVVM.js +0 -827
- package/dist/chunk-ZVTKDVVM.js.map +0 -1
- package/dist/cli-BR8KpIU0.d.ts +0 -1259
- package/dist/codex-materialize-CQlLTzke.d.ts +0 -139
- package/dist/connectors-cli-DFGtY2DB.d.ts +0 -257
- package/dist/contradiction-review-5LTTVDQV.js +0 -22
- package/dist/contradiction-scan-QTXAMBUA.js +0 -414
- package/dist/contradiction-scan-QTXAMBUA.js.map +0 -1
- package/dist/engine-35M5BKQ7.js +0 -28
- package/dist/fs-utils-IRVUFB6G.js +0 -30
- package/dist/graph-edge-decay-PWB63GRE.js +0 -207
- package/dist/memory-governance-IMPQZXFC.js +0 -37
- package/dist/memory-projection-store-CY8TU40w.d.ts +0 -222
- package/dist/orchestrator-DDMPqU6R.d.ts +0 -1792
- package/dist/path-RMTY5Y5A.js +0 -9
- package/dist/port-B6VEDIkC.d.ts +0 -53
- package/dist/resolution-YGIBORXI.js +0 -101
- package/dist/resolution-YGIBORXI.js.map +0 -1
- package/dist/secure-store-4R2GSO7S.js +0 -156
- package/dist/semantic-consolidation-ByBXb-sf.d.ts +0 -180
- package/dist/state-store-3EH7HYIN.js +0 -16
- package/dist/types-V3FJ26TF.js +0 -30
- /package/dist/{capsule-crypto-SJS5VVAP.js.map → adapters/claude-code.js.map} +0 -0
- /package/dist/{capsule-export-7QNCBZOQ.js.map → adapters/codex.js.map} +0 -0
- /package/dist/{capsule-import-EPBHD2EN.js.map → adapters/hermes.js.map} +0 -0
- /package/dist/{contradiction-review-5LTTVDQV.js.map → adapters/index.js.map} +0 -0
- /package/dist/{engine-35M5BKQ7.js.map → adapters/registry.js.map} +0 -0
- /package/dist/{fs-utils-IRVUFB6G.js.map → adapters/replit.js.map} +0 -0
- /package/dist/{memory-governance-IMPQZXFC.js.map → adapters/types.js.map} +0 -0
- /package/dist/{path-RMTY5Y5A.js.map → capsule-crypto-5CYAGVC5.js.map} +0 -0
- /package/dist/{capsule-merge-DI7PNQ2H.js.map → capsule-merge-4MGKE7C5.js.map} +0 -0
- /package/dist/{chunk-G4SK7DSQ.js.map → chunk-2WWLHTZY.js.map} +0 -0
- /package/dist/{chunk-X7HPGUVG.js.map → chunk-4CRG46BG.js.map} +0 -0
- /package/dist/{chunk-UVMUAWVT.js.map → chunk-7IASACLB.js.map} +0 -0
- /package/dist/{chunk-HELQZFZO.js.map → chunk-EDTHC6UD.js.map} +0 -0
- /package/dist/{chunk-4YM32CRU.js.map → chunk-EFJ3MQ4V.js.map} +0 -0
- /package/dist/{chunk-E2UCDP5S.js.map → chunk-FBYESMQ2.js.map} +0 -0
- /package/dist/{chunk-D54LZC5L.js.map → chunk-FDU6HUUL.js.map} +0 -0
- /package/dist/{chunk-IB3BFHGN.js.map → chunk-GGKRUQOO.js.map} +0 -0
- /package/dist/{chunk-242S3I2A.js.map → chunk-GL6I6MEQ.js.map} +0 -0
- /package/dist/{secure-store-4R2GSO7S.js.map → chunk-HHLLAQGZ.js.map} +0 -0
- /package/dist/{chunk-4IS4SXIQ.js.map → chunk-HXXBL2KD.js.map} +0 -0
- /package/dist/{chunk-767ODGE6.js.map → chunk-KNKUID7G.js.map} +0 -0
- /package/dist/{chunk-6TBWYBJ3.js.map → chunk-LPMVBPA3.js.map} +0 -0
- /package/dist/{chunk-WEJG4TB5.js.map → chunk-MC26UJIM.js.map} +0 -0
- /package/dist/{chunk-JKDVIE52.js.map → chunk-MGKYQQYF.js.map} +0 -0
- /package/dist/{chunk-Y3VMVTYX.js.map → chunk-MT4HVDUZ.js.map} +0 -0
- /package/dist/{chunk-G2WADRQ3.js.map → chunk-MY6TPVXW.js.map} +0 -0
- /package/dist/{chunk-OR64ZGRZ.js.map → chunk-NNVTUXEB.js.map} +0 -0
- /package/dist/{chunk-JESOB2HO.js.map → chunk-P4NEIHUT.js.map} +0 -0
- /package/dist/{chunk-IXEJRKCZ.js.map → chunk-QRNI5JBH.js.map} +0 -0
- /package/dist/{chunk-EEQLFRUM.js.map → chunk-RRF5UOBJ.js.map} +0 -0
- /package/dist/{state-store-3EH7HYIN.js.map → chunk-SEDEKFYQ.js.map} +0 -0
- /package/dist/{chunk-2LGMW3DJ.js.map → chunk-U3PN77QT.js.map} +0 -0
- /package/dist/{chunk-XMVFHBHT.js.map → chunk-U3WSW6PZ.js.map} +0 -0
- /package/dist/{chunk-N5AKDXAI.js.map → chunk-UWVJF25J.js.map} +0 -0
- /package/dist/{types-V3FJ26TF.js.map → chunk-V5OCT34X.js.map} +0 -0
- /package/dist/{chunk-ZG7PTKBK.js.map → chunk-W3LR522O.js.map} +0 -0
- /package/dist/{chunk-MARWOCVP.js.map → chunk-XIG5PDM7.js.map} +0 -0
- /package/dist/{chunk-ZNQN6ZTA.js.map → chunk-XVZ7B3HG.js.map} +0 -0
- /package/dist/{graph-edge-decay-PWB63GRE.js.map → graph-edge-decay-5DI5GUNL.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export { LEGACY_PLUGIN_ID, PLUGIN_ID, resolveRemnicPluginEntry } from './plugin-id.js';
|
|
2
|
-
export { parseConfig } from './config.js';
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
|
+
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
4
|
+
import { d as BulkImportSourceAdapter, I as ImportTurn } from './orchestrator-DuWl9Hwx.js';
|
|
5
|
+
export { e as BulkImportError, a as BulkImportOptions, b as BulkImportResult, B as BulkImportSource, f as ImportSourceRole, g as ImportTurnValidationIssue, O as Orchestrator, h as defaultWorkspaceDir, i as isImportRole, p as parseIsoTimestamp, s as sanitizeSessionKeyForFilename, v as validateImportTurn } from './orchestrator-DuWl9Hwx.js';
|
|
6
|
+
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
7
|
+
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
8
|
+
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
5
9
|
export { EvidencePackItem, EvidencePackOptions, buildEvidencePack } from './evidence-pack.js';
|
|
6
10
|
export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
|
|
7
11
|
export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
|
|
@@ -9,17 +13,18 @@ export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFo
|
|
|
9
13
|
export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
|
|
10
14
|
export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
|
|
11
15
|
import { StorageManager } from './storage.js';
|
|
16
|
+
export { parseEntityFile, serializeEntityFile } from './storage.js';
|
|
12
17
|
export { ExtractionEngine } from './extraction.js';
|
|
13
18
|
export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, CodexCliFallbackRunner, setCodexCliFallbackRunnerForProcess } from './codex-cli-fallback.js';
|
|
14
19
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
15
20
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
16
21
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
17
|
-
import { PluginConfig, CodingContext, CodingModeConfig,
|
|
18
|
-
export { AgentAccessAuthToken, BriefingActiveThread, BriefingConfig, BriefingFocus, BriefingFollowup, BriefingOpenCommitment, BriefingRecentEntity, BriefingResult, BriefingSections, BriefingWindow, BufferSurpriseEvent, CalendarEvent, CalendarSource, CodexCompatConfig, ContinuityImprovementLoop, DEFAULT_RECALL_DISCLOSURE, ExtractedFact, GatewayConfig, MemoryActionEligibilityContext, MemoryActionEligibilitySource, MemoryActionType, MemoryObservation, MemoryScope, RECALL_DISCLOSURE_LEVELS, RecallDisclosure, SecretRef, isRecallDisclosure } from './types.js';
|
|
22
|
+
import { PluginConfig, CodingContext, CodingModeConfig, MemoryCategory } from './types.js';
|
|
23
|
+
export { AgentAccessAuthToken, BriefingActiveThread, BriefingConfig, BriefingFocus, BriefingFollowup, BriefingOpenCommitment, BriefingRecentEntity, BriefingResult, BriefingSections, BriefingWindow, BufferSurpriseEvent, CalendarEvent, CalendarSource, CodexCompatConfig, ConsolidationObservation, ContinuityImprovementLoop, DEFAULT_RECALL_DISCLOSURE, EntityFile, EntityStructuredSection, ExtractedFact, GatewayConfig, MemoryActionEligibilityContext, MemoryActionEligibilitySource, MemoryActionType, MemoryFile, MemoryFrontmatter, MemoryObservation, MemoryScope, RECALL_DISCLOSURE_LEVELS, RecallDisclosure, SecretRef, isRecallDisclosure } from './types.js';
|
|
19
24
|
export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
20
25
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
21
|
-
import { P as PeerInteractionLogEntry,
|
|
22
|
-
export { d as EngramAccessInputError, E as EngramAccessService, e as PEER_ID_MAX_LENGTH, f as PEER_ID_PATTERN, g as PeerKind, h as PeerProfileFieldProvenance, i as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-
|
|
26
|
+
import { P as PeerInteractionLogEntry, b as Peer, c as PeerProfile } from './access-service-DcCDmNYC.js';
|
|
27
|
+
export { d as EngramAccessInputError, E as EngramAccessService, e as PEER_ID_MAX_LENGTH, f as PEER_ID_PATTERN, g as PeerKind, h as PeerProfileFieldProvenance, i as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-DcCDmNYC.js';
|
|
23
28
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
24
29
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
25
30
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -28,8 +33,11 @@ export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, US
|
|
|
28
33
|
export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
|
|
29
34
|
export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
|
|
30
35
|
export { QmdClient } from './qmd.js';
|
|
31
|
-
|
|
36
|
+
export { LanceDbBackend } from './search/lancedb-backend.js';
|
|
37
|
+
export { OramaBackend } from './search/orama-backend.js';
|
|
38
|
+
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
32
39
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
40
|
+
export { resolvePrincipal } from './namespaces/principal.js';
|
|
33
41
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
34
42
|
export { EngramAccessHttpServer } from './access-http.js';
|
|
35
43
|
export { EngramMcpServer } from './access-mcp.js';
|
|
@@ -40,7 +48,7 @@ export { RecallFilterTrace, RecallXrayResult, RecallXrayScoreDecomposition, Reca
|
|
|
40
48
|
export { REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE, REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_HTML, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_URI, RemnicChatGptMemoryCard, RemnicChatGptMemoryInspectorInput, RemnicChatGptMemoryInspectorResult, buildChatGptMemoryInspectorActionRequest, buildChatGptMemoryInspectorResult } from './mcp-memory-inspector-app.js';
|
|
41
49
|
export { MemoryStoreRequest, ObserveRequest, RecallRequest, SchemaName, SchemaValidationError, SuggestionSubmitRequest, formatZodError, memoryStoreRequestSchema, observeRequestSchema, recallRequestSchema, suggestionSubmitRequestSchema, validateRequest } from './access-schema.js';
|
|
42
50
|
export { buildExtensionsFooterForSummary, loadDaySummaryPrompt } from './day-summary.js';
|
|
43
|
-
|
|
51
|
+
export { applyLcmSchema, ensureLcmStateDir, openLcmDatabase } from './lcm/schema.js';
|
|
44
52
|
export { ActiveMemoryGetOutput, ActiveMemoryMetadata, ActiveMemoryRecallParams, ActiveMemorySearchOutput, ActiveMemorySearchResult, getMemoryForActiveMemory, recallForActiveMemory } from './active-memory-bridge.js';
|
|
45
53
|
export { ACTION_CONFIDENCE_CONTEXT_READINESS, ACTION_CONFIDENCE_DECISIONS, ACTION_CONFIDENCE_RISK_CATEGORIES, ACTION_CONFIDENCE_RULE_KINDS, ActionConfidenceContextReadiness, ActionConfidenceDecision, ActionConfidenceFactor, ActionConfidenceInput, ActionConfidenceMemoryInput, ActionConfidenceOptionInput, ActionConfidenceResult, ActionConfidenceRiskCategory, ActionConfidenceRule, ActionConfidenceRuleKind, buildActionConfidenceInputFromOptions, evaluateActionConfidence, renderActionConfidenceText } from './action-confidence.js';
|
|
46
54
|
export { BRIEFING_FORMAT_ALLOWED, BriefingFollowupGenerator, BriefingFormatValue, BuildBriefingOptions, FileCalendarSource, ParsedBriefingWindow, briefingFilename, buildBriefing, focusMatchesEntity, focusMatchesMemory, parseBriefingFocus, parseBriefingWindow, renderBriefingMarkdown, resolveBriefingSaveDir, validateBriefingFormat } from './briefing.js';
|
|
@@ -48,21 +56,23 @@ export { BootstrapEngine } from './bootstrap.js';
|
|
|
48
56
|
export { CODEX_THREAD_KEY_PREFIX } from './codex-thread-key.js';
|
|
49
57
|
export { PageVersion, VersionHistory, VersionTrigger, VersioningConfig, VersioningLogger, createVersion, diffVersions, getVersion, listVersions, revertToVersion } from './page-versioning.js';
|
|
50
58
|
export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance, formatOaiMemCitation, parseOaiMemCitation, sanitizeNoteForCitation } from './citations.js';
|
|
51
|
-
import { LoggerBackend } from './logger.js';
|
|
52
59
|
export { initLogger, log } from './logger.js';
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
export { b as SemanticDedupDecision, S as SemanticDedupHit, a as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-VwGI14Ok.js';
|
|
61
|
+
import { D as DiscoveredExtension } from './semantic-consolidation-4HkHWgeI.js';
|
|
62
|
+
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-4HkHWgeI.js';
|
|
63
|
+
export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
|
|
55
64
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CyHYDcri.js';
|
|
56
65
|
export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId } from './framework-CyHYDcri.js';
|
|
57
|
-
export {
|
|
66
|
+
export { b as CONNECTORS_OUTPUT_FORMATS, c as ConnectorRow, C as ConnectorRunResult, d as ConnectorState, e as ConnectorSyncStatus, a as ConnectorsOutputFormat, P as ParsedConnectorsListOptions, f as ParsedConnectorsStatusOptions, R as RunConnectorPollOnceArgs, l as listConnectorStates, p as parseConnectorsFormat, g as parseConnectorsListOptions, h as parseConnectorsRunName, i as parseConnectorsStatusOptions, r as readConnectorState, j as renderConnectorsList, k as renderConnectorsRunResult, m as runConnectorPollOnce, w as writeConnectorState } from './connectors-cli-CwbyjGR7.js';
|
|
58
67
|
export { LiveConnectorDefinition, LiveConnectorRunItem, LiveConnectorSkipReason, LiveConnectorsRunSummary, builtInLiveConnectorDefinitions, hasEnabledLiveConnector, runLiveConnectorsOnce } from './live-connectors-runner.js';
|
|
59
68
|
import { TokenEntry } from './tokens.js';
|
|
60
69
|
export { TokenStore, generateToken, getAllValidTokens, getAllValidTokensCached, listTokens, loadTokenStore, resolveConnectorFromToken, revokeToken, saveTokenStore } from './tokens.js';
|
|
61
|
-
|
|
62
|
-
export {
|
|
70
|
+
export { PostConsolidationMaterializeOptions, RunMaterializeOptions, runCodexMaterialize, runPostConsolidationMaterialize } from './connectors/codex-materialize-runner.js';
|
|
71
|
+
export { MATERIALIZE_VERSION, MaterializeOptions, MaterializeResult, RolloutSummaryInput, SENTINEL_FILE, describeMemoriesDir, ensureSentinel, materializeForNamespace } from './connectors/codex-materialize.js';
|
|
63
72
|
import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
|
|
64
73
|
export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
65
|
-
export {
|
|
74
|
+
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
75
|
+
export { B as BulkImportCliCommandOptions, P as ProcessBatchFn, a as ProcessBatchResult, f as formatBatchTranscript, p as parseStrictCliDate, r as runBulkImportCliCommand, b as runBulkImportPipeline } from './cli-D3VpkVwB.js';
|
|
66
76
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
67
77
|
export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
|
|
68
78
|
export { MemoryOutcomeKind, RecordMemoryOutcomeInput, RecordMemoryOutcomeResult, memoryWorthOutcomeEligibleCategories, recordMemoryOutcome } from './memory-worth-outcomes.js';
|
|
@@ -72,32 +82,63 @@ export { GraphRecallConfig, GraphRecallOptions, GraphRecallResult, GraphRecallRu
|
|
|
72
82
|
export { BudgetDecision, BudgetDecisionReason, CrossNamespaceBudget, CrossNamespaceBudgetConfig, DEFAULT_CROSS_NAMESPACE_BUDGET } from './cross-namespace-budget.js';
|
|
73
83
|
export { AnomalyDetectorConfig, AnomalyDetectorInput, AnomalyDetectorResult, AnomalyFlag, AnomalyKind, AnomalySeverity, DEFAULT_ANOMALY_DETECTOR_CONFIG, detectRecallAnomalies, normalizeQueryText } from './recall-audit-anomaly.js';
|
|
74
84
|
export { AccessAuditAdapter, AccessAuditConfig, AccessAuditResult } from './access-audit.js';
|
|
85
|
+
import { ImportCapsuleResult } from './transfer/capsule-import.js';
|
|
86
|
+
import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
|
|
87
|
+
import './search/port.js';
|
|
75
88
|
import './transcript.js';
|
|
76
89
|
import './session-integrity.js';
|
|
77
90
|
import './summarizer.js';
|
|
78
|
-
import './model-registry.js';
|
|
79
91
|
import './local-llm.js';
|
|
80
92
|
import './relevance.js';
|
|
81
93
|
import './negative.js';
|
|
82
94
|
import './recall-state.js';
|
|
83
95
|
import './session-observer-state.js';
|
|
84
96
|
import './embedding-fallback.js';
|
|
97
|
+
import './replay/types.js';
|
|
98
|
+
import './lcm/engine.js';
|
|
99
|
+
import './lcm/archive.js';
|
|
100
|
+
import 'better-sqlite3';
|
|
101
|
+
import './lcm/summarizer.js';
|
|
102
|
+
import './lcm/dag.js';
|
|
103
|
+
import './lcm/queue.js';
|
|
104
|
+
import './conversation-index/backend.js';
|
|
105
|
+
import './conversation-index/chunker.js';
|
|
106
|
+
import './faiss-adapter-CzPghc4C.js';
|
|
107
|
+
import './runtime/child-process.js';
|
|
108
|
+
import './shared-context/manager.js';
|
|
85
109
|
import 'zod';
|
|
110
|
+
import './compounding/engine.js';
|
|
111
|
+
import './consolidation-operator.js';
|
|
112
|
+
import './memory-projection-store.js';
|
|
113
|
+
import './maintenance/memory-governance.js';
|
|
114
|
+
import './runtime/better-sqlite.js';
|
|
86
115
|
import './policy-runtime.js';
|
|
87
116
|
import './profiling.js';
|
|
88
|
-
import './consolidation-operator.js';
|
|
89
|
-
import 'better-sqlite3';
|
|
90
117
|
import './schemas.js';
|
|
91
118
|
import './recall-explain-renderer.js';
|
|
92
119
|
import './explicit-capture.js';
|
|
93
120
|
import './graph-snapshot.js';
|
|
94
121
|
import './graph.js';
|
|
122
|
+
import './transfer/capsule-export.js';
|
|
95
123
|
import './capsule-cli.js';
|
|
96
124
|
import './lifecycle.js';
|
|
125
|
+
import './search/embed-helper.js';
|
|
97
126
|
import 'node:http';
|
|
127
|
+
import './adapters/types.js';
|
|
128
|
+
import './adapters/registry.js';
|
|
98
129
|
import './recall-audit.js';
|
|
99
130
|
import 'node:stream';
|
|
131
|
+
import './maintenance/migrate-observations.js';
|
|
132
|
+
import './maintenance/rebuild-memory-projection.js';
|
|
133
|
+
import './maintenance/rebuild-memory-lifecycle-ledger.js';
|
|
134
|
+
import './maintenance/rebuild-observations.js';
|
|
135
|
+
import './maintenance/archive-observations.js';
|
|
136
|
+
import './replay/runner.js';
|
|
137
|
+
import './work/types.js';
|
|
138
|
+
import './routing/engine.js';
|
|
139
|
+
import './network/tailscale.js';
|
|
100
140
|
import './dashboard-runtime.js';
|
|
141
|
+
import './compat/types.js';
|
|
101
142
|
import './evals.js';
|
|
102
143
|
import './causal-trajectory.js';
|
|
103
144
|
import './objective-state.js';
|
|
@@ -451,18 +492,6 @@ declare function createNotionConnector(options?: {
|
|
|
451
492
|
fetchFn?: NotionFetchFn;
|
|
452
493
|
}): LiveConnector;
|
|
453
494
|
|
|
454
|
-
declare function openLcmDatabase(memoryDir: string): BetterSqlite3Database;
|
|
455
|
-
declare function ensureLcmStateDir(memoryDir: string): Promise<void>;
|
|
456
|
-
/**
|
|
457
|
-
* Apply (or upgrade) the LCM schema on an already-open SQLite handle.
|
|
458
|
-
*
|
|
459
|
-
* Exposed so optional host packages — e.g. importers using an in-memory
|
|
460
|
-
* destination database for true read-only `--dry-run` execution — can
|
|
461
|
-
* bootstrap the schema without going through `openLcmDatabase()` (which
|
|
462
|
-
* always touches the filesystem).
|
|
463
|
-
*/
|
|
464
|
-
declare function applyLcmSchema(db: BetterSqlite3Database): void;
|
|
465
|
-
|
|
466
495
|
/**
|
|
467
496
|
* memory-extension-host/render-extensions-block.ts — Render discovered extensions
|
|
468
497
|
* into a markdown block for injection into consolidation prompts.
|
|
@@ -526,29 +555,6 @@ declare function parseIsoOffsetTimestamp(value: string): number | null;
|
|
|
526
555
|
*/
|
|
527
556
|
declare function parseFlexibleIsoTimestamp(value: string): number | null;
|
|
528
557
|
|
|
529
|
-
interface MigrationResult {
|
|
530
|
-
status: "fresh-install" | "already-migrated" | "migrated";
|
|
531
|
-
copied: string[];
|
|
532
|
-
tokensRegenerated: number;
|
|
533
|
-
servicesReinstalled: string[];
|
|
534
|
-
rollbackCommand: string;
|
|
535
|
-
}
|
|
536
|
-
interface MigrationOptions {
|
|
537
|
-
connectorConfigPaths?: string[];
|
|
538
|
-
cwd?: string;
|
|
539
|
-
execCommand?: (command: string, args: string[]) => void;
|
|
540
|
-
homeDir?: string;
|
|
541
|
-
logger?: (message: string) => void;
|
|
542
|
-
platform?: NodeJS.Platform;
|
|
543
|
-
quiet?: boolean;
|
|
544
|
-
}
|
|
545
|
-
interface RollbackResult {
|
|
546
|
-
removed: string[];
|
|
547
|
-
restored: string[];
|
|
548
|
-
}
|
|
549
|
-
declare function rollbackFromEngramMigration(options?: MigrationOptions): Promise<RollbackResult>;
|
|
550
|
-
declare function migrateFromEngram(options?: MigrationOptions): Promise<MigrationResult>;
|
|
551
|
-
|
|
552
558
|
/**
|
|
553
559
|
* Intent-gated recall for active procedure memories (issue #519).
|
|
554
560
|
*/
|
|
@@ -581,174 +587,6 @@ declare function buildProcedureMarkdownBody(steps: ProcedureStep[]): string;
|
|
|
581
587
|
*/
|
|
582
588
|
declare function parseProcedureStepsFromBody(content: string): ProcedureStep[] | null;
|
|
583
589
|
|
|
584
|
-
/**
|
|
585
|
-
* Standalone embedding helper for search backend adapters.
|
|
586
|
-
*
|
|
587
|
-
* NOTE: This intentionally duplicates provider resolution from EmbeddingFallback.
|
|
588
|
-
* EmbeddingFallback is tightly integrated with the plugin lifecycle (telemetry,
|
|
589
|
-
* rate-limit backoff, provider rotation). This class is a lightweight standalone
|
|
590
|
-
* utility used by LanceDB/Orama backends which operate outside plugin context.
|
|
591
|
-
* Merging them would break the port/adapter separation between search and plugin layers.
|
|
592
|
-
*/
|
|
593
|
-
declare class EmbedHelper {
|
|
594
|
-
private readonly config;
|
|
595
|
-
private provider;
|
|
596
|
-
constructor(config: PluginConfig);
|
|
597
|
-
/**
|
|
598
|
-
* Whether an embedding provider is available.
|
|
599
|
-
* Resolves the provider on first call.
|
|
600
|
-
*/
|
|
601
|
-
isAvailable(): boolean;
|
|
602
|
-
/**
|
|
603
|
-
* Embed a single text string. Returns null if no provider is available.
|
|
604
|
-
*/
|
|
605
|
-
embed(text: string): Promise<number[] | null>;
|
|
606
|
-
/**
|
|
607
|
-
* Embed a batch of texts. Returns an array parallel to input; entries are null on failure.
|
|
608
|
-
*/
|
|
609
|
-
embedBatch(texts: string[], batchSize?: number): Promise<(number[] | null)[]>;
|
|
610
|
-
private getProvider;
|
|
611
|
-
private resolveProvider;
|
|
612
|
-
private callEmbed;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
interface LanceDbBackendOptions {
|
|
616
|
-
dbPath: string;
|
|
617
|
-
collection: string;
|
|
618
|
-
embedHelper: EmbedHelper;
|
|
619
|
-
memoryDir: string;
|
|
620
|
-
embeddingDimension: number;
|
|
621
|
-
}
|
|
622
|
-
/**
|
|
623
|
-
* LanceDB search backend — embedded hybrid FTS+vector with RRF reranking.
|
|
624
|
-
*
|
|
625
|
-
* Uses @lancedb/lancedb for native Arrow-backed storage.
|
|
626
|
-
* One table per collection. Supports full-text, vector, and hybrid search.
|
|
627
|
-
*/
|
|
628
|
-
declare class LanceDbBackend implements SearchBackend {
|
|
629
|
-
private readonly dbPath;
|
|
630
|
-
private readonly collection;
|
|
631
|
-
private readonly embedHelper;
|
|
632
|
-
private readonly memoryDir;
|
|
633
|
-
private readonly embeddingDimension;
|
|
634
|
-
private available;
|
|
635
|
-
private db;
|
|
636
|
-
private lanceModule;
|
|
637
|
-
constructor(opts: LanceDbBackendOptions);
|
|
638
|
-
probe(): Promise<boolean>;
|
|
639
|
-
isAvailable(): boolean;
|
|
640
|
-
debugStatus(): string;
|
|
641
|
-
search(query: string, _collection?: string, maxResults?: number, _options?: SearchQueryOptions, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
642
|
-
searchGlobal(query: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
643
|
-
bm25Search(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
644
|
-
vectorSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
645
|
-
hybridSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
646
|
-
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
647
|
-
updateCollection(collection: string, _execution?: SearchExecutionOptions): Promise<void>;
|
|
648
|
-
embed(): Promise<void>;
|
|
649
|
-
embedCollection(collection: string): Promise<void>;
|
|
650
|
-
ensureCollection(_memoryDir: string): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
651
|
-
private table;
|
|
652
|
-
private get lanceIndex();
|
|
653
|
-
private ensureDb;
|
|
654
|
-
private ensureTableForCollection;
|
|
655
|
-
private ensureTable;
|
|
656
|
-
private searchTable;
|
|
657
|
-
private mapRows;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
interface OramaBackendOptions {
|
|
661
|
-
dbPath: string;
|
|
662
|
-
collection: string;
|
|
663
|
-
embedHelper: EmbedHelper;
|
|
664
|
-
memoryDir: string;
|
|
665
|
-
embeddingDimension: number;
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* Orama search backend — embedded hybrid FTS+vector, pure JS.
|
|
669
|
-
*
|
|
670
|
-
* Uses @orama/orama for full-text search with optional vector support.
|
|
671
|
-
* Persists data to JSON files via @orama/plugin-data-persistence.
|
|
672
|
-
*/
|
|
673
|
-
declare class OramaBackend implements SearchBackend {
|
|
674
|
-
private readonly dbPath;
|
|
675
|
-
private readonly collection;
|
|
676
|
-
private readonly embedHelper;
|
|
677
|
-
private readonly memoryDir;
|
|
678
|
-
private readonly embeddingDimension;
|
|
679
|
-
private available;
|
|
680
|
-
private db;
|
|
681
|
-
private oramaModule;
|
|
682
|
-
private persistModule;
|
|
683
|
-
constructor(opts: OramaBackendOptions);
|
|
684
|
-
probe(): Promise<boolean>;
|
|
685
|
-
isAvailable(): boolean;
|
|
686
|
-
debugStatus(): string;
|
|
687
|
-
search(query: string, _collection?: string, maxResults?: number, _options?: SearchQueryOptions, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
688
|
-
searchGlobal(query: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
689
|
-
bm25Search(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
690
|
-
vectorSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
691
|
-
hybridSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
692
|
-
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
693
|
-
updateCollection(collection: string, _execution?: SearchExecutionOptions): Promise<void>;
|
|
694
|
-
embed(): Promise<void>;
|
|
695
|
-
embedCollection(collection: string): Promise<void>;
|
|
696
|
-
ensureCollection(_memoryDir: string): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
697
|
-
private ensureModules;
|
|
698
|
-
private ensureDb;
|
|
699
|
-
private ensureDbForCollection;
|
|
700
|
-
private persistDbForCollection;
|
|
701
|
-
private dbFilePath;
|
|
702
|
-
private listDbFiles;
|
|
703
|
-
private loadDbFromFile;
|
|
704
|
-
private searchDb;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
interface MeilisearchBackendOptions {
|
|
708
|
-
host: string;
|
|
709
|
-
apiKey?: string;
|
|
710
|
-
collection: string;
|
|
711
|
-
timeoutMs?: number;
|
|
712
|
-
autoIndex?: boolean;
|
|
713
|
-
memoryDir?: string;
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Meilisearch search backend — server-based SDK client.
|
|
717
|
-
*
|
|
718
|
-
* Requires a running Meilisearch instance. Uses the official `meilisearch` SDK.
|
|
719
|
-
* When `autoIndex` is true, update() pushes docs from the local memory directory.
|
|
720
|
-
*/
|
|
721
|
-
declare class MeilisearchBackend implements SearchBackend {
|
|
722
|
-
private readonly host;
|
|
723
|
-
private readonly apiKey?;
|
|
724
|
-
private readonly collection;
|
|
725
|
-
private readonly timeoutMs;
|
|
726
|
-
private readonly autoIndex;
|
|
727
|
-
private readonly memoryDir?;
|
|
728
|
-
private available;
|
|
729
|
-
private client;
|
|
730
|
-
private meiliModule;
|
|
731
|
-
constructor(opts: MeilisearchBackendOptions);
|
|
732
|
-
probe(): Promise<boolean>;
|
|
733
|
-
isAvailable(): boolean;
|
|
734
|
-
debugStatus(): string;
|
|
735
|
-
search(query: string, collection?: string, maxResults?: number, _options?: SearchQueryOptions, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
736
|
-
searchGlobal(query: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
737
|
-
bm25Search(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
738
|
-
vectorSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
739
|
-
hybridSearch(query: string, collection?: string, maxResults?: number, _execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
740
|
-
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
741
|
-
updateCollection(collection: string, _execution?: SearchExecutionOptions): Promise<void>;
|
|
742
|
-
embed(): Promise<void>;
|
|
743
|
-
embedCollection(collection: string): Promise<void>;
|
|
744
|
-
ensureCollection(_memoryDir: string): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
745
|
-
private ensureClient;
|
|
746
|
-
private doSearch;
|
|
747
|
-
private mapHits;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
declare function resolvePrincipal(sessionKey: string | undefined, config: PluginConfig): string;
|
|
751
|
-
|
|
752
590
|
/**
|
|
753
591
|
* Shared path helpers. CLAUDE.md #17 requires consistent `~` expansion across
|
|
754
592
|
* every user-facing path input, but Node's `fs` does not expand `~`, so every
|
|
@@ -1591,6 +1429,10 @@ interface ReviewOptions {
|
|
|
1591
1429
|
/** Include items with confidence below this threshold (default: 0.7) */
|
|
1592
1430
|
confidenceThreshold?: number;
|
|
1593
1431
|
}
|
|
1432
|
+
interface ReviewActionOptions {
|
|
1433
|
+
/** Match the threshold used when listing review items (default: 0.7) */
|
|
1434
|
+
confidenceThreshold?: number;
|
|
1435
|
+
}
|
|
1594
1436
|
/**
|
|
1595
1437
|
* List items pending review.
|
|
1596
1438
|
*/
|
|
@@ -1598,7 +1440,7 @@ declare function listReviewItems(options: ReviewOptions): ReviewListResult;
|
|
|
1598
1440
|
/**
|
|
1599
1441
|
* Perform a review action on an item.
|
|
1600
1442
|
*/
|
|
1601
|
-
declare function performReview(memoryDir: string, itemId: string, action: ReviewAction): ReviewResult;
|
|
1443
|
+
declare function performReview(memoryDir: string, itemId: string, action: ReviewAction, options?: ReviewActionOptions): ReviewResult;
|
|
1602
1444
|
|
|
1603
1445
|
/**
|
|
1604
1446
|
* @remnic/core — Diff-Aware Sync
|
|
@@ -1667,335 +1509,6 @@ declare function watchForChanges(options: SyncOptions, onChange: (changes: FileC
|
|
|
1667
1509
|
stop: () => void;
|
|
1668
1510
|
};
|
|
1669
1511
|
|
|
1670
|
-
/**
|
|
1671
|
-
* Coerce the `installExtension` config value from a string (e.g. from CLI
|
|
1672
|
-
* `--config installExtension=false`) to a proper boolean.
|
|
1673
|
-
*
|
|
1674
|
-
* Delegates to the generic `coerceBool` helper. Kept for backward compatibility.
|
|
1675
|
-
*/
|
|
1676
|
-
declare function coerceInstallExtension(value: unknown): boolean | undefined;
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* codex-materialize-runner.ts — Thin I/O bridge for the Codex materializer.
|
|
1680
|
-
*
|
|
1681
|
-
* The pure rendering logic lives in {@link ./codex-materialize.js}. This file
|
|
1682
|
-
* is the place callers (consolidation hooks, CLI, session-end hook) go when
|
|
1683
|
-
* they want the whole "load memories from storage → render → write" flow.
|
|
1684
|
-
*
|
|
1685
|
-
* Kept deliberately small so #378 never has to reach into orchestrator.ts /
|
|
1686
|
-
* importance.ts — the two files Wave 1 agents are editing concurrently.
|
|
1687
|
-
*/
|
|
1688
|
-
|
|
1689
|
-
/** Options accepted by the shared post-consolidation materialize helper. */
|
|
1690
|
-
interface PostConsolidationMaterializeOptions {
|
|
1691
|
-
config: PluginConfig;
|
|
1692
|
-
namespace?: string;
|
|
1693
|
-
memories?: MemoryFile[];
|
|
1694
|
-
memoryDir?: string;
|
|
1695
|
-
codexHome?: string;
|
|
1696
|
-
rolloutSummaries?: RolloutSummaryInput[];
|
|
1697
|
-
now?: Date;
|
|
1698
|
-
}
|
|
1699
|
-
/** Options accepted by the runner. */
|
|
1700
|
-
interface RunMaterializeOptions {
|
|
1701
|
-
/** Remnic config — we only read the `codexMaterialize*` fields. */
|
|
1702
|
-
config: PluginConfig;
|
|
1703
|
-
/** Namespace to materialize. Overrides the config's `codexMaterializeNamespace`. */
|
|
1704
|
-
namespace?: string;
|
|
1705
|
-
/** Override the memory directory (defaults to `config.memoryDir`). */
|
|
1706
|
-
memoryDir?: string;
|
|
1707
|
-
/** Override `<codex_home>` (useful for tests). */
|
|
1708
|
-
codexHome?: string;
|
|
1709
|
-
/** Optional pre-loaded memories (bypasses disk read — used in tests). */
|
|
1710
|
-
memories?: MemoryFile[];
|
|
1711
|
-
/** Optional rollout summaries supplied by the caller. */
|
|
1712
|
-
rolloutSummaries?: RolloutSummaryInput[];
|
|
1713
|
-
/** Current time injection for deterministic runs. */
|
|
1714
|
-
now?: Date;
|
|
1715
|
-
/** Reason string — logged for observability. */
|
|
1716
|
-
reason?: "consolidation" | "session_end" | "manual" | "cli";
|
|
1717
|
-
}
|
|
1718
|
-
/**
|
|
1719
|
-
* Run the Codex materialization end-to-end. Returns `null` when the feature
|
|
1720
|
-
* is disabled in config or when the user hasn't opted in via the sentinel.
|
|
1721
|
-
* Never throws for "expected" skips; only throws on schema validation or I/O
|
|
1722
|
-
* errors that callers actually need to surface.
|
|
1723
|
-
*/
|
|
1724
|
-
declare function runCodexMaterialize(options: RunMaterializeOptions): Promise<MaterializeResult | null>;
|
|
1725
|
-
/**
|
|
1726
|
-
* Shared helper for post-consolidation materialize hooks.
|
|
1727
|
-
*
|
|
1728
|
-
* `materializeAfterSemanticConsolidation` and `materializeAfterCausalConsolidation`
|
|
1729
|
-
* used to be two nearly-identical copies of this logic; keeping the actual
|
|
1730
|
-
* body here means any future guard/logging change happens in one place.
|
|
1731
|
-
*
|
|
1732
|
-
* The only per-caller knob is `logPrefix`, which is used to tag the
|
|
1733
|
-
* non-fatal warning emitted when the materializer throws.
|
|
1734
|
-
*/
|
|
1735
|
-
declare function runPostConsolidationMaterialize(logPrefix: string, options: PostConsolidationMaterializeOptions): Promise<MaterializeResult | null>;
|
|
1736
|
-
|
|
1737
|
-
/**
|
|
1738
|
-
* codex-marketplace.ts — Codex marketplace installation support (#418)
|
|
1739
|
-
*
|
|
1740
|
-
* Provides types and functions for integrating Remnic with the Codex CLI
|
|
1741
|
-
* marketplace system (`codex marketplace add`). This module handles:
|
|
1742
|
-
*
|
|
1743
|
-
* - Generating a `marketplace.json` manifest describing Remnic as an
|
|
1744
|
-
* installable plugin in the Codex marketplace ecosystem.
|
|
1745
|
-
* - Validating marketplace manifest files against the expected schema.
|
|
1746
|
-
* - Writing manifests to disk atomically.
|
|
1747
|
-
* - Installing plugins from marketplace sources (GitHub, git, local, URL).
|
|
1748
|
-
*
|
|
1749
|
-
* Privacy
|
|
1750
|
-
* -------
|
|
1751
|
-
* This module does not persist any user content. It only reads package
|
|
1752
|
-
* metadata (name, version, description) and writes public marketplace
|
|
1753
|
-
* manifest files.
|
|
1754
|
-
*/
|
|
1755
|
-
|
|
1756
|
-
/** Source type for marketplace installation. */
|
|
1757
|
-
type MarketplaceInstallType = "github" | "git" | "local" | "url";
|
|
1758
|
-
/** A single plugin entry within a marketplace manifest. */
|
|
1759
|
-
interface MarketplaceEntry {
|
|
1760
|
-
/** Plugin name (e.g. "remnic"). */
|
|
1761
|
-
name: string;
|
|
1762
|
-
/** Semver version string. */
|
|
1763
|
-
version: string;
|
|
1764
|
-
/** Human-readable description. */
|
|
1765
|
-
description: string;
|
|
1766
|
-
/** Repository identifier (e.g. "joshuaswarren/remnic"). */
|
|
1767
|
-
repository: string;
|
|
1768
|
-
/** How this plugin should be installed. */
|
|
1769
|
-
installType: MarketplaceInstallType;
|
|
1770
|
-
/** Optional direct URL to the plugin manifest. */
|
|
1771
|
-
manifestUrl?: string;
|
|
1772
|
-
/** Optional entry point path within the repository. */
|
|
1773
|
-
entry?: string;
|
|
1774
|
-
/** Optional config schema reference. */
|
|
1775
|
-
configSchema?: string;
|
|
1776
|
-
}
|
|
1777
|
-
/** Top-level marketplace manifest. */
|
|
1778
|
-
interface MarketplaceManifest {
|
|
1779
|
-
/** Schema version. Must be 1. */
|
|
1780
|
-
version: 1;
|
|
1781
|
-
/** Marketplace name. */
|
|
1782
|
-
name: string;
|
|
1783
|
-
/** Human-readable description. */
|
|
1784
|
-
description: string;
|
|
1785
|
-
/** Available plugins. */
|
|
1786
|
-
plugins: MarketplaceEntry[];
|
|
1787
|
-
}
|
|
1788
|
-
/** Configuration for the marketplace subsystem. */
|
|
1789
|
-
interface MarketplaceConfig {
|
|
1790
|
-
/** Whether marketplace features are enabled. Default: true. */
|
|
1791
|
-
enabled: boolean;
|
|
1792
|
-
/** Local path where marketplace data is cached. */
|
|
1793
|
-
registryPath: string;
|
|
1794
|
-
/** Whether to auto-update marketplace data on install. Default: false. */
|
|
1795
|
-
autoUpdate: boolean;
|
|
1796
|
-
}
|
|
1797
|
-
/** Result of a marketplace install operation. */
|
|
1798
|
-
interface MarketplaceInstallResult {
|
|
1799
|
-
/** Whether the install succeeded. */
|
|
1800
|
-
ok: boolean;
|
|
1801
|
-
/** Human-readable message. */
|
|
1802
|
-
message: string;
|
|
1803
|
-
/** Source that was installed from. */
|
|
1804
|
-
source: string;
|
|
1805
|
-
/** Source type. */
|
|
1806
|
-
sourceType: MarketplaceInstallType;
|
|
1807
|
-
/** Plugins that were discovered. */
|
|
1808
|
-
pluginsFound: string[];
|
|
1809
|
-
/** Errors encountered (empty on success). */
|
|
1810
|
-
errors: string[];
|
|
1811
|
-
}
|
|
1812
|
-
/** Logger interface accepted by marketplace functions. */
|
|
1813
|
-
interface MarketplaceLogger {
|
|
1814
|
-
info: (msg: string) => void;
|
|
1815
|
-
warn: (msg: string) => void;
|
|
1816
|
-
debug?: (msg: string) => void;
|
|
1817
|
-
}
|
|
1818
|
-
/** Current marketplace schema version. */
|
|
1819
|
-
declare const MARKETPLACE_SCHEMA_VERSION: 1;
|
|
1820
|
-
/** Default marketplace manifest filename. */
|
|
1821
|
-
declare const MARKETPLACE_MANIFEST_FILENAME = "marketplace.json";
|
|
1822
|
-
/**
|
|
1823
|
-
* Generate a marketplace manifest describing Remnic as an installable plugin.
|
|
1824
|
-
*
|
|
1825
|
-
* Reads version from the workspace root `package.json` at the resolved path,
|
|
1826
|
-
* or falls back to a default version string.
|
|
1827
|
-
*/
|
|
1828
|
-
declare function generateMarketplaceManifest(options?: {
|
|
1829
|
-
packageVersion?: string;
|
|
1830
|
-
}): MarketplaceManifest;
|
|
1831
|
-
/** Validation result with structured errors. */
|
|
1832
|
-
interface MarketplaceValidation {
|
|
1833
|
-
valid: boolean;
|
|
1834
|
-
errors: string[];
|
|
1835
|
-
}
|
|
1836
|
-
/**
|
|
1837
|
-
* Validate that an unknown value conforms to the MarketplaceManifest schema.
|
|
1838
|
-
*
|
|
1839
|
-
* Returns a typed manifest on success. Throws on invalid input with a
|
|
1840
|
-
* descriptive error message listing all schema violations.
|
|
1841
|
-
*/
|
|
1842
|
-
declare function validateMarketplaceManifest(manifest: unknown): MarketplaceManifest;
|
|
1843
|
-
/**
|
|
1844
|
-
* Non-throwing validation. Returns a structured result with error details.
|
|
1845
|
-
*/
|
|
1846
|
-
declare function checkMarketplaceManifest(manifest: unknown): MarketplaceValidation;
|
|
1847
|
-
/**
|
|
1848
|
-
* Write a marketplace manifest to disk atomically.
|
|
1849
|
-
*
|
|
1850
|
-
* Uses write-to-temp-then-rename to avoid partial writes (CLAUDE.md gotcha #54).
|
|
1851
|
-
*/
|
|
1852
|
-
declare function writeMarketplaceManifest(outputDir: string, manifest: MarketplaceManifest): Promise<void>;
|
|
1853
|
-
/**
|
|
1854
|
-
* Install from a marketplace source.
|
|
1855
|
-
*
|
|
1856
|
-
* Reads the marketplace.json from the given source, validates it, and
|
|
1857
|
-
* returns a result describing what was found.
|
|
1858
|
-
*/
|
|
1859
|
-
declare function installFromMarketplace(source: string, sourceType: MarketplaceInstallType, config: PluginConfig, logger?: MarketplaceLogger): Promise<MarketplaceInstallResult>;
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
* @remnic/core — Connector Manager
|
|
1863
|
-
*
|
|
1864
|
-
* Metadata-driven registry for host adapters (Codex CLI, Claude Code, Cursor, etc.).
|
|
1865
|
-
* Manages connector lifecycle: install, remove, configure, health.
|
|
1866
|
-
*/
|
|
1867
|
-
|
|
1868
|
-
interface ConnectorManifest {
|
|
1869
|
-
/** Unique connector ID (e.g. "claude-code", "codex-cli") */
|
|
1870
|
-
id: string;
|
|
1871
|
-
/** Human-readable name */
|
|
1872
|
-
name: string;
|
|
1873
|
-
/** Version */
|
|
1874
|
-
version: string;
|
|
1875
|
-
/** Description */
|
|
1876
|
-
description: string;
|
|
1877
|
-
/** Capabilities */
|
|
1878
|
-
capabilities: ConnectorCapability;
|
|
1879
|
-
/** Required config fields */
|
|
1880
|
-
configSchema?: Record<string, string>;
|
|
1881
|
-
/** Whether currently installed */
|
|
1882
|
-
installed?: boolean;
|
|
1883
|
-
/** Homepage URL */
|
|
1884
|
-
homepage?: string;
|
|
1885
|
-
/** Author */
|
|
1886
|
-
author?: string;
|
|
1887
|
-
/** Repository URL */
|
|
1888
|
-
repository?: string;
|
|
1889
|
-
/** Tags */
|
|
1890
|
-
tags?: string[];
|
|
1891
|
-
/**
|
|
1892
|
-
* Whether this connector requires a bearer token for daemon authentication.
|
|
1893
|
-
* When false (the default), installConnector will NOT generate or persist a
|
|
1894
|
-
* token entry in tokens.json — credentials are never materialized on disk for
|
|
1895
|
-
* connectors that use MCP, embedded, CLI, or SDK transports that don't need
|
|
1896
|
-
* token auth. Set to true only for HTTP connectors that actually authenticate
|
|
1897
|
-
* requests with a bearer token (e.g. hermes, replit, generic-mcp).
|
|
1898
|
-
*/
|
|
1899
|
-
requiresToken?: boolean;
|
|
1900
|
-
}
|
|
1901
|
-
interface ConnectorCapability {
|
|
1902
|
-
/** Can observe conversations */
|
|
1903
|
-
observe: boolean;
|
|
1904
|
-
/** Can recall/query memories */
|
|
1905
|
-
recall: boolean;
|
|
1906
|
-
/** Can store memories */
|
|
1907
|
-
store: boolean;
|
|
1908
|
-
/** Can search */
|
|
1909
|
-
search: boolean;
|
|
1910
|
-
/** Can manage entities */
|
|
1911
|
-
entities: boolean;
|
|
1912
|
-
/** Supports real-time sync */
|
|
1913
|
-
realtimeSync: boolean;
|
|
1914
|
-
/** Supports batch operations */
|
|
1915
|
-
batch: boolean;
|
|
1916
|
-
/** Max memory budget in chars */
|
|
1917
|
-
maxBudgetChars?: number;
|
|
1918
|
-
/** Connection type */
|
|
1919
|
-
connectionType: "mcp" | "http" | "cli" | "sdk" | "embedded";
|
|
1920
|
-
}
|
|
1921
|
-
interface ConnectorInstance {
|
|
1922
|
-
/** Connector ID */
|
|
1923
|
-
connectorId: string;
|
|
1924
|
-
/** Resolved config */
|
|
1925
|
-
config: Record<string, unknown>;
|
|
1926
|
-
/** Status */
|
|
1927
|
-
status: "installed" | "running" | "error" | "disabled";
|
|
1928
|
-
/** Installed at timestamp */
|
|
1929
|
-
installedAt?: string;
|
|
1930
|
-
/** Error message if erro */
|
|
1931
|
-
error?: string;
|
|
1932
|
-
}
|
|
1933
|
-
interface ConnectorRegistry {
|
|
1934
|
-
/** Known connectors */
|
|
1935
|
-
connectors: ConnectorManifest[];
|
|
1936
|
-
/** Registry file path */
|
|
1937
|
-
registryPath: string;
|
|
1938
|
-
}
|
|
1939
|
-
interface InstallOptions {
|
|
1940
|
-
/** Connector ID to install */
|
|
1941
|
-
connectorId: string;
|
|
1942
|
-
/** Config values */
|
|
1943
|
-
config?: Record<string, unknown>;
|
|
1944
|
-
/** Memory directory */
|
|
1945
|
-
memoryDir?: string;
|
|
1946
|
-
/** Whether to force reinstall */
|
|
1947
|
-
force?: boolean;
|
|
1948
|
-
}
|
|
1949
|
-
interface InstallResult {
|
|
1950
|
-
/** Connector ID */
|
|
1951
|
-
connectorId: string;
|
|
1952
|
-
/** Status */
|
|
1953
|
-
status: "installed" | "already_installed" | "config_required" | "error";
|
|
1954
|
-
/** Config path */
|
|
1955
|
-
configPath?: string;
|
|
1956
|
-
/** Message */
|
|
1957
|
-
message: string;
|
|
1958
|
-
}
|
|
1959
|
-
interface RemoveResult {
|
|
1960
|
-
/** Connector ID */
|
|
1961
|
-
connectorId: string;
|
|
1962
|
-
/** Removed config path */
|
|
1963
|
-
configPath: string;
|
|
1964
|
-
/** Message */
|
|
1965
|
-
message: string;
|
|
1966
|
-
/** Status: "removed" on success, "error" if the removal failed partway, "not_found" if the connector was not installed, "skipped" if removal was aborted (e.g. malformed config). */
|
|
1967
|
-
status: "removed" | "error" | "not_found" | "skipped";
|
|
1968
|
-
/** Machine-readable skip reason (present when status === "skipped"). */
|
|
1969
|
-
reason?: string;
|
|
1970
|
-
}
|
|
1971
|
-
interface DoctorResult {
|
|
1972
|
-
/** Connector ID */
|
|
1973
|
-
connectorId: string;
|
|
1974
|
-
/** Checks */
|
|
1975
|
-
checks: DoctorCheck[];
|
|
1976
|
-
/** All healthy */
|
|
1977
|
-
healthy: boolean;
|
|
1978
|
-
}
|
|
1979
|
-
interface DoctorCheck {
|
|
1980
|
-
/** Check name */
|
|
1981
|
-
name: string;
|
|
1982
|
-
/** Passed */
|
|
1983
|
-
ok: boolean;
|
|
1984
|
-
/** Detail */
|
|
1985
|
-
detail: string;
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
declare function loadRegistry(): ConnectorRegistry;
|
|
1989
|
-
declare function saveRegistry(registry: ConnectorRegistry): void;
|
|
1990
|
-
declare function listConnectors(): {
|
|
1991
|
-
installed: ConnectorInstance[];
|
|
1992
|
-
available: ConnectorManifest[];
|
|
1993
|
-
};
|
|
1994
|
-
declare function getConnectorToken(connectorId: string): string | undefined;
|
|
1995
|
-
declare function installConnector(options: InstallOptions): InstallResult;
|
|
1996
|
-
declare function removeConnector(connectorId: string): RemoveResult;
|
|
1997
|
-
declare function doctorConnector(connectorId: string): Promise<DoctorResult>;
|
|
1998
|
-
|
|
1999
1512
|
/**
|
|
2000
1513
|
* @remnic/core — Spaces + Collaboration
|
|
2001
1514
|
*
|
|
@@ -2441,164 +1954,6 @@ declare function getTaxonomyDir(memoryDir: string): string;
|
|
|
2441
1954
|
*/
|
|
2442
1955
|
declare function getTaxonomyFilePath(memoryDir: string): string;
|
|
2443
1956
|
|
|
2444
|
-
/**
|
|
2445
|
-
* Enrichment pipeline types (issue #365).
|
|
2446
|
-
*
|
|
2447
|
-
* Defines the provider interface, candidate shape, pipeline config,
|
|
2448
|
-
* and result types for the external enrichment subsystem.
|
|
2449
|
-
*/
|
|
2450
|
-
|
|
2451
|
-
type EnrichmentCostTier = "free" | "cheap" | "expensive";
|
|
2452
|
-
interface EnrichmentProviderConfig {
|
|
2453
|
-
id: string;
|
|
2454
|
-
enabled: boolean;
|
|
2455
|
-
costTier: EnrichmentCostTier;
|
|
2456
|
-
rateLimit?: {
|
|
2457
|
-
maxPerMinute: number;
|
|
2458
|
-
maxPerDay: number;
|
|
2459
|
-
};
|
|
2460
|
-
}
|
|
2461
|
-
interface EnrichmentCandidate {
|
|
2462
|
-
text: string;
|
|
2463
|
-
source: string;
|
|
2464
|
-
sourceUrl?: string;
|
|
2465
|
-
confidence: number;
|
|
2466
|
-
category: MemoryCategory;
|
|
2467
|
-
tags?: string[];
|
|
2468
|
-
}
|
|
2469
|
-
interface EnrichmentProvider {
|
|
2470
|
-
readonly id: string;
|
|
2471
|
-
readonly costTier: EnrichmentCostTier;
|
|
2472
|
-
enrich(entity: EntityEnrichmentInput): Promise<EnrichmentCandidate[]>;
|
|
2473
|
-
isAvailable(): Promise<boolean>;
|
|
2474
|
-
}
|
|
2475
|
-
interface EntityEnrichmentInput {
|
|
2476
|
-
name: string;
|
|
2477
|
-
type: string;
|
|
2478
|
-
knownFacts: string[];
|
|
2479
|
-
importanceLevel: ImportanceLevel;
|
|
2480
|
-
}
|
|
2481
|
-
interface EnrichmentResult {
|
|
2482
|
-
entityName: string;
|
|
2483
|
-
provider: string;
|
|
2484
|
-
candidatesFound: number;
|
|
2485
|
-
candidatesAccepted: number;
|
|
2486
|
-
candidatesRejected: number;
|
|
2487
|
-
acceptedCandidates: EnrichmentCandidate[];
|
|
2488
|
-
elapsed: number;
|
|
2489
|
-
}
|
|
2490
|
-
interface EnrichmentPipelineConfig {
|
|
2491
|
-
enabled: boolean;
|
|
2492
|
-
providers: EnrichmentProviderConfig[];
|
|
2493
|
-
importanceThresholds: {
|
|
2494
|
-
critical: string[];
|
|
2495
|
-
high: string[];
|
|
2496
|
-
normal: string[];
|
|
2497
|
-
low: string[];
|
|
2498
|
-
};
|
|
2499
|
-
maxCandidatesPerEntity: number;
|
|
2500
|
-
autoEnrichOnCreate: boolean;
|
|
2501
|
-
scheduleIntervalMs: number;
|
|
2502
|
-
}
|
|
2503
|
-
/**
|
|
2504
|
-
* Build a default (disabled) pipeline config. Every consumer that needs a
|
|
2505
|
-
* config object should call this rather than duplicating the defaults.
|
|
2506
|
-
*/
|
|
2507
|
-
declare function defaultEnrichmentPipelineConfig(): EnrichmentPipelineConfig;
|
|
2508
|
-
|
|
2509
|
-
/**
|
|
2510
|
-
* Enrichment provider registry (issue #365).
|
|
2511
|
-
*
|
|
2512
|
-
* Central registry for enrichment providers. Providers register themselves
|
|
2513
|
-
* at startup; the pipeline queries the registry to determine which providers
|
|
2514
|
-
* to run for a given importance tier.
|
|
2515
|
-
*/
|
|
2516
|
-
|
|
2517
|
-
declare class EnrichmentProviderRegistry {
|
|
2518
|
-
private readonly providers;
|
|
2519
|
-
/** Register a provider. Overwrites any existing provider with the same id. */
|
|
2520
|
-
register(provider: EnrichmentProvider): void;
|
|
2521
|
-
/** Look up a single provider by id. */
|
|
2522
|
-
get(id: string): EnrichmentProvider | undefined;
|
|
2523
|
-
/**
|
|
2524
|
-
* Return all registered providers whose id appears in the config's
|
|
2525
|
-
* `providers` list with `enabled: true`.
|
|
2526
|
-
*/
|
|
2527
|
-
listEnabled(config: EnrichmentPipelineConfig): EnrichmentProvider[];
|
|
2528
|
-
/**
|
|
2529
|
-
* Return providers that should run for a given importance level.
|
|
2530
|
-
* Providers are resolved from `config.importanceThresholds[level]` and
|
|
2531
|
-
* filtered to only those that are both registered and enabled.
|
|
2532
|
-
*/
|
|
2533
|
-
getForImportance(level: ImportanceLevel, config: EnrichmentPipelineConfig): EnrichmentProvider[];
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
* Web search enrichment provider stub (issue #365).
|
|
2538
|
-
*
|
|
2539
|
-
* A basic provider backed by web search. Since this is opt-in and we do not
|
|
2540
|
-
* want to hard-code an API key, the provider accepts an optional `searchFn`
|
|
2541
|
-
* injection point. When no search function is configured it returns empty
|
|
2542
|
-
* results, making it safe to register unconditionally.
|
|
2543
|
-
*/
|
|
2544
|
-
|
|
2545
|
-
type WebSearchFn = (query: string) => Promise<string[]>;
|
|
2546
|
-
interface WebSearchProviderOptions {
|
|
2547
|
-
/**
|
|
2548
|
-
* Injected search function. Each returned string is treated as a raw
|
|
2549
|
-
* snippet. When `undefined` the provider returns empty results.
|
|
2550
|
-
*/
|
|
2551
|
-
searchFn?: WebSearchFn;
|
|
2552
|
-
}
|
|
2553
|
-
declare class WebSearchProvider implements EnrichmentProvider {
|
|
2554
|
-
readonly id = "web-search";
|
|
2555
|
-
readonly costTier: EnrichmentCostTier;
|
|
2556
|
-
private readonly searchFn;
|
|
2557
|
-
constructor(options?: WebSearchProviderOptions);
|
|
2558
|
-
isAvailable(): Promise<boolean>;
|
|
2559
|
-
enrich(entity: EntityEnrichmentInput): Promise<EnrichmentCandidate[]>;
|
|
2560
|
-
}
|
|
2561
|
-
|
|
2562
|
-
/**
|
|
2563
|
-
* Enrichment pipeline orchestrator (issue #365).
|
|
2564
|
-
*
|
|
2565
|
-
* For each entity, determines the importance tier, resolves the providers
|
|
2566
|
-
* to run, executes them in sequence (respecting rate limits), tags
|
|
2567
|
-
* candidates, and caps at `maxCandidatesPerEntity`.
|
|
2568
|
-
*
|
|
2569
|
-
* Accepted candidates are returned in each `EnrichmentResult` via the
|
|
2570
|
-
* `acceptedCandidates` field so that callers can persist them.
|
|
2571
|
-
*/
|
|
2572
|
-
|
|
2573
|
-
declare function runEnrichmentPipeline(entities: EntityEnrichmentInput[], registry: EnrichmentProviderRegistry, config: EnrichmentPipelineConfig, log: LoggerBackend): Promise<EnrichmentResult[]>;
|
|
2574
|
-
|
|
2575
|
-
/**
|
|
2576
|
-
* Enrichment audit trail (issue #365).
|
|
2577
|
-
*
|
|
2578
|
-
* Append-only JSONL log for every enrichment candidate that was evaluated.
|
|
2579
|
-
* Each entry records whether the candidate was accepted or rejected, the
|
|
2580
|
-
* provider that produced it, and an optional reason string.
|
|
2581
|
-
*/
|
|
2582
|
-
interface EnrichmentAuditEntry {
|
|
2583
|
-
timestamp: string;
|
|
2584
|
-
entityName: string;
|
|
2585
|
-
provider: string;
|
|
2586
|
-
candidateText: string;
|
|
2587
|
-
sourceUrl?: string;
|
|
2588
|
-
accepted: boolean;
|
|
2589
|
-
reason?: string;
|
|
2590
|
-
}
|
|
2591
|
-
/**
|
|
2592
|
-
* Append a single audit entry to the JSONL log. Creates the audit directory
|
|
2593
|
-
* and file if they do not exist.
|
|
2594
|
-
*/
|
|
2595
|
-
declare function appendAuditEntry(auditDir: string, entry: EnrichmentAuditEntry): Promise<void>;
|
|
2596
|
-
/**
|
|
2597
|
-
* Read the audit log and return entries, optionally filtered to entries at
|
|
2598
|
-
* or after `since` (ISO 8601 timestamp, half-open interval).
|
|
2599
|
-
*/
|
|
2600
|
-
declare function readAuditLog(auditDir: string, since?: string): Promise<EnrichmentAuditEntry[]>;
|
|
2601
|
-
|
|
2602
1957
|
/**
|
|
2603
1958
|
* A single imported memory record with provenance.
|
|
2604
1959
|
*
|
|
@@ -3104,4 +2459,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
|
|
|
3104
2459
|
*/
|
|
3105
2460
|
declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
|
|
3106
2461
|
|
|
3107
|
-
export { type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, BulkImportSourceAdapter, ClaudeCodeMemoryExtensionPublisher, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type ConflictEntry, type
|
|
2462
|
+
export { type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, BulkImportSourceAdapter, ClaudeCodeMemoryExtensionPublisher, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_SCAN_PATTERNS, DEFAULT_TAXONOMY, type DedupOptions, type DedupResult, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type ImportProgress, ImportTurn, type ImportedMemory, type ImporterAdapter, type ImporterParseOptions, type ImporterTransformOptions, type ImporterWriteResult, type ImporterWriteTarget, type IngestionPlan, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PEERS_DIR_NAME, PUBLISHERS, Peer, PeerInteractionLogEntry, PeerProfile, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type RunImportOptions, type RunImporterResult, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, type StatementProvenance, StorageManager, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TreeNode, appendInteractionLog, assertValidPeerId, branchNamespaceName, buildProcedureMarkdownBody, buildProcedureRecallSection, clearBulkImportSources, clearTrainingExportAdapters, convertMemoriesToRecords, createBackend, createGoogleDriveConnector, createNotionConnector, createSpace, curate, defaultGoogleDriveClientFactory, defaultWriteMemoriesToOrchestrator, deleteSpace, describeCodingScope, emptyManifest, expandTildePath, findContradictions, findDuplicates, forkCapsule, generateContextTree, generateResolverDocument, getActiveSpace, getAuditLog, getBulkImportSource, getManifestPath, getSpacesDir, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, hostIdForConnector, importedMemoryToTurn, isReviewPrompt, listBulkImportSources, listPeers, listReviewItems, listSpaces, listTrainingExportAdapters, loadManifest, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseProcedureStepsFromBody, parseTouchedFiles, performReview, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readInteractionLogRaw, readManifest, readPeer, readPeerProfile, registerBulkImportSource, registerPublisher, registerTrainingExportAdapter, renderExtensionsBlock, renderExtensionsFooter, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runImporter, saveManifest, saveTaxonomy, scanForBinaries, shareSpace, stableHash, switchSpace, syncChanges, validateGoogleDriveConfig, validateImportBatchSize, validateImportRateLimit, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest, writePeer, writePeerProfile };
|