@remnic/core 1.1.11 → 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/README.md +3 -3
- package/dist/access-cli.d.ts +2 -1
- package/dist/access-cli.js +293 -104
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +31 -62
- package/dist/access-http.js +53 -35
- package/dist/access-mcp.d.ts +31 -8
- package/dist/access-mcp.js +45 -34
- package/dist/access-schema.d.ts +197 -14
- package/dist/access-schema.js +16 -5
- package/dist/access-service-DcCDmNYC.d.ts +1542 -0
- package/dist/access-service.d.ts +30 -9
- package/dist/access-service.js +42 -32
- package/dist/action-confidence.d.ts +83 -0
- package/dist/action-confidence.js +22 -0
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-memory-bridge.js +2 -2
- package/dist/active-recall.d.ts +1 -1
- 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/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +23 -6
- package/dist/boxes.d.ts +7 -0
- package/dist/boxes.js +1 -1
- package/dist/briefing.d.ts +5 -3
- package/dist/briefing.js +10 -7
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-surprise-report.js +1 -1
- package/dist/buffer.d.ts +18 -4
- package/dist/buffer.js +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +6 -6
- 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 +9 -29
- 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 +2 -2
- package/dist/causal-consolidation.js +28 -17
- 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-4RA3C3EV.js +60 -0
- package/dist/chunk-4RA3C3EV.js.map +1 -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-5NXIJZFX.js +180 -0
- package/dist/chunk-5NXIJZFX.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-6NKAQ74D.js +2237 -0
- package/dist/chunk-6NKAQ74D.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-AC5LO7IU.js +308 -0
- package/dist/chunk-AC5LO7IU.js.map +1 -0
- package/dist/chunk-AGZQD76C.js +201 -0
- package/dist/chunk-AGZQD76C.js.map +1 -0
- package/dist/chunk-AH2JUU6X.js +336 -0
- package/dist/chunk-AH2JUU6X.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-C5BCH4ZS.js +317 -0
- package/dist/chunk-C5BCH4ZS.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-DB5A3NHS.js +906 -0
- package/dist/chunk-DB5A3NHS.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-EDTHC6UD.js.map +1 -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-FBYESMQ2.js.map +1 -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-MGKYQQYF.js.map +1 -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-OAZ5MFUB.js +4124 -0
- package/dist/chunk-OAZ5MFUB.js.map +1 -0
- package/dist/chunk-OIGNEXKZ.js +237 -0
- package/dist/chunk-OIGNEXKZ.js.map +1 -0
- package/dist/chunk-OZKZ2TRP.js +3729 -0
- package/dist/chunk-OZKZ2TRP.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-PD6O7AXF.js +110 -0
- package/dist/chunk-PD6O7AXF.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-PYPOFEMK.js +294 -0
- package/dist/chunk-PYPOFEMK.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-QDZ2RLEC.js +908 -0
- package/dist/chunk-QDZ2RLEC.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-RK6F44Y6.js +84 -0
- package/dist/chunk-RK6F44Y6.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-SOAU2OE2.js +125 -0
- package/dist/chunk-SOAU2OE2.js.map +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-V5OCT34X.js.map +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-VWT3F4IV.js +2161 -0
- package/dist/chunk-VWT3F4IV.js.map +1 -0
- package/dist/chunk-W3LR522O.js +2296 -0
- package/dist/chunk-W3LR522O.js.map +1 -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 +42 -10
- package/dist/cli.js +121 -58
- package/dist/codex-cli-fallback.d.ts +1 -0
- package/dist/codex-cli-fallback.js +1 -1
- 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/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +5 -3
- 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 +4 -2
- package/dist/consolidation-undo.d.ts +4 -2
- 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/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer-wiring.js +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- 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 +9 -6
- package/dist/entity-schema.d.ts +1 -1
- package/dist/evals.js +1 -1
- package/dist/event-order-recall.d.ts +17 -0
- package/dist/event-order-recall.js +11 -0
- package/dist/event-order-recall.js.map +1 -0
- package/dist/evidence-pack.d.ts +3 -1
- package/dist/evidence-pack.js +5 -3
- package/dist/explicit-capture.d.ts +23 -6
- package/dist/explicit-capture.js +2 -2
- package/dist/explicit-cue-recall.d.ts +4 -1
- package/dist/explicit-cue-recall.js +4 -2
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge-training.js +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +11 -10
- package/dist/faiss-adapter-CzPghc4C.d.ts +70 -0
- package/dist/fallback-llm.d.ts +4 -1
- package/dist/fallback-llm.js +6 -6
- package/dist/focused-list-recall.d.ts +17 -0
- package/dist/focused-list-recall.js +11 -0
- package/dist/focused-list-recall.js.map +1 -0
- package/dist/graph-edge-decay-5DI5GUNL.js +207 -0
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index-DJ9QWMw-.d.ts +35 -0
- package/dist/index.d.ts +107 -715
- package/dist/index.js +657 -2611
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/intent.js +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/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/live-connectors-runner.js +5 -5
- package/dist/local-llm.d.ts +8 -4
- 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 +124 -0
- package/dist/mcp-memory-inspector-app.js +20 -0
- package/dist/mcp-memory-inspector-app.js.map +1 -0
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +108 -3
- package/dist/memory-projection-store.js +2 -1
- package/dist/memory-provenance.d.ts +57 -0
- package/dist/memory-provenance.js +13 -0
- package/dist/memory-provenance.js.map +1 -0
- 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/models-json.d.ts +1 -1
- 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/native-knowledge.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/objective-state-writers.js +2 -2
- package/dist/operator-toolkit.d.ts +4 -2
- package/dist/operator-toolkit.js +35 -17
- 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 +24 -7
- package/dist/orchestrator.js +107 -65
- package/dist/path-MR5JPYOP.js +9 -0
- package/dist/path-MR5JPYOP.js.map +1 -0
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +2 -2
- package/dist/qmd.d.ts +103 -4
- package/dist/qmd.js +23 -5
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +3 -1
- package/dist/recall-explain-renderer.js +5 -3
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +3 -1
- package/dist/recall-xray-cli.d.ts +3 -1
- package/dist/recall-xray-cli.js +6 -4
- package/dist/recall-xray-renderer.d.ts +3 -1
- package/dist/recall-xray-renderer.js +5 -3
- package/dist/recall-xray.d.ts +8 -1
- package/dist/recall-xray.js +4 -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-auth-token.d.ts +1 -1
- package/dist/resolve-provider-secret.js +2 -2
- package/dist/response-guidance-recall.d.ts +18 -0
- package/dist/response-guidance-recall.js +11 -0
- package/dist/response-guidance-recall.js.map +1 -0
- package/dist/resume-bundles.js +7 -5
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.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/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 +3 -3
- package/dist/semantic-consolidation.js +15 -8
- package/dist/semantic-rule-promotion.js +9 -6
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +10 -7
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +131 -0
- package/dist/shared-context/manager.js +15 -0
- package/dist/shared-context/manager.js.map +1 -0
- package/dist/signal.d.ts +1 -1
- 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 +6 -2
- package/dist/storage.js +8 -5
- package/dist/summarizer.d.ts +6 -1
- package/dist/summarizer.js +11 -10
- package/dist/summary-snapshot.d.ts +1 -1
- 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/targeted-fact-recall.d.ts +17 -0
- package/dist/targeted-fact-recall.js +11 -0
- package/dist/targeted-fact-recall.js.map +1 -0
- package/dist/telemetry-transcript.d.ts +7 -0
- package/dist/telemetry-transcript.js +16 -0
- package/dist/telemetry-transcript.js.map +1 -0
- package/dist/temporal-supersession.d.ts +4 -2
- package/dist/temporal-supersession.js +2 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +6 -1
- package/dist/threading.js +2 -1
- package/dist/tier-migration.d.ts +5 -3
- package/dist/tier-routing.d.ts +1 -1
- package/dist/tokens.js +2 -2
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +16 -2
- 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/trust-zones.d.ts +3 -2
- package/dist/trust-zones.js +1 -1
- package/dist/types.d.ts +88 -3
- package/dist/types.js +1 -1
- package/dist/user-model.d.ts +37 -0
- package/dist/user-model.js +28 -0
- package/dist/user-model.js.map +1 -0
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +11 -8
- 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-BkXt3di1.d.ts +0 -2039
- package/dist/capsule-crypto-SJS5VVAP.js +0 -18
- package/dist/capsule-export-LLEVB2RG.js +0 -17
- package/dist/capsule-import-UW45R2MZ.js +0 -16
- package/dist/capsule-merge-DI7PNQ2H.js +0 -189
- package/dist/chunk-2LGMW3DJ.js +0 -111
- package/dist/chunk-2YMTO4ZJ.js +0 -265
- package/dist/chunk-2YMTO4ZJ.js.map +0 -1
- package/dist/chunk-363MWCD3.js +0 -9683
- package/dist/chunk-363MWCD3.js.map +0 -1
- package/dist/chunk-36CTNQY7.js +0 -1554
- package/dist/chunk-36CTNQY7.js.map +0 -1
- package/dist/chunk-457A4P3L.js +0 -119
- package/dist/chunk-457A4P3L.js.map +0 -1
- package/dist/chunk-4DXC6HQQ.js +0 -1837
- package/dist/chunk-4DXC6HQQ.js.map +0 -1
- package/dist/chunk-4IS4SXIQ.js +0 -2040
- package/dist/chunk-57QNCUEZ.js +0 -1914
- package/dist/chunk-57QNCUEZ.js.map +0 -1
- package/dist/chunk-6AUUAZEX.js +0 -150
- package/dist/chunk-6AUUAZEX.js.map +0 -1
- package/dist/chunk-6TBWYBJ3.js +0 -236
- package/dist/chunk-6XA7UN4Z.js +0 -135
- package/dist/chunk-6Z6UH6TK.js +0 -2129
- package/dist/chunk-6Z6UH6TK.js.map +0 -1
- package/dist/chunk-74EMIVE4.js +0 -329
- package/dist/chunk-74EMIVE4.js.map +0 -1
- package/dist/chunk-74WWN7ZW.js +0 -82
- package/dist/chunk-74WWN7ZW.js.map +0 -1
- package/dist/chunk-767ODGE6.js +0 -183
- package/dist/chunk-A4ACKWIW.js +0 -289
- package/dist/chunk-A4ACKWIW.js.map +0 -1
- package/dist/chunk-ASAITVLA.js +0 -64
- package/dist/chunk-ASAITVLA.js.map +0 -1
- package/dist/chunk-C5HUWVH2.js +0 -891
- package/dist/chunk-C5HUWVH2.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-E6K4NIEU.js +0 -747
- package/dist/chunk-E6K4NIEU.js.map +0 -1
- package/dist/chunk-EEQLFRUM.js +0 -89
- package/dist/chunk-EQINRHYR.js +0 -672
- package/dist/chunk-EQINRHYR.js.map +0 -1
- package/dist/chunk-ETOW6ACV.js +0 -158
- package/dist/chunk-ETOW6ACV.js.map +0 -1
- package/dist/chunk-EYNQTST2.js +0 -721
- 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-GGD5W7TB.js +0 -105
- package/dist/chunk-GGD5W7TB.js.map +0 -1
- package/dist/chunk-GVPWB7EY.js +0 -390
- package/dist/chunk-GVPWB7EY.js.map +0 -1
- package/dist/chunk-HJYHRE4S.js +0 -647
- package/dist/chunk-I6BQZSML.js +0 -1451
- package/dist/chunk-I6BQZSML.js.map +0 -1
- package/dist/chunk-IBX3VFOM.js +0 -446
- package/dist/chunk-IBX3VFOM.js.map +0 -1
- 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-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-KBYWQWSB.js +0 -271
- package/dist/chunk-KUHRUM6B.js +0 -14397
- package/dist/chunk-KUHRUM6B.js.map +0 -1
- package/dist/chunk-KWBPHZUU.js +0 -83
- package/dist/chunk-KWBPHZUU.js.map +0 -1
- package/dist/chunk-LIO5X3CM.js +0 -596
- package/dist/chunk-MARWOCVP.js +0 -48
- package/dist/chunk-MCC6KDQF.js +0 -5095
- package/dist/chunk-MCC6KDQF.js.map +0 -1
- package/dist/chunk-N5AKDXAI.js +0 -74
- package/dist/chunk-NN3LPQ5D.js +0 -936
- package/dist/chunk-NN3LPQ5D.js.map +0 -1
- package/dist/chunk-O4XJUPSF.js +0 -533
- package/dist/chunk-O4XJUPSF.js.map +0 -1
- 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-P73JTV34.js +0 -275
- package/dist/chunk-P73JTV34.js.map +0 -1
- package/dist/chunk-P77UEOU2.js +0 -1521
- package/dist/chunk-P77UEOU2.js.map +0 -1
- package/dist/chunk-PB5KW5PL.js +0 -118
- package/dist/chunk-PHNGXFQ6.js +0 -623
- package/dist/chunk-PHNGXFQ6.js.map +0 -1
- package/dist/chunk-QIGOEM65.js +0 -228
- package/dist/chunk-RXTFCYQF.js +0 -108
- package/dist/chunk-S2JJBLJG.js +0 -2101
- package/dist/chunk-S2JJBLJG.js.map +0 -1
- package/dist/chunk-S3IP6R6K.js +0 -219
- package/dist/chunk-S3IP6R6K.js.map +0 -1
- package/dist/chunk-SRBJUAMP.js +0 -403
- package/dist/chunk-SRBJUAMP.js.map +0 -1
- package/dist/chunk-URB2WSKZ.js +0 -350
- package/dist/chunk-URB2WSKZ.js.map +0 -1
- package/dist/chunk-VQXK37XA.js +0 -26
- package/dist/chunk-VQXK37XA.js.map +0 -1
- package/dist/chunk-VTU2B4VF.js +0 -146
- package/dist/chunk-VTU2B4VF.js.map +0 -1
- package/dist/chunk-VX2IUQFE.js +0 -613
- package/dist/chunk-VX2IUQFE.js.map +0 -1
- package/dist/chunk-WGK4VHGP.js +0 -4292
- package/dist/chunk-WGK4VHGP.js.map +0 -1
- package/dist/chunk-WTFWLUSX.js +0 -827
- package/dist/chunk-WTFWLUSX.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-Y5KDIOKF.js +0 -2403
- package/dist/chunk-Y5KDIOKF.js.map +0 -1
- 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-Z5S5HNGY.js +0 -2280
- package/dist/chunk-Z5S5HNGY.js.map +0 -1
- package/dist/chunk-ZL4S7ARC.js +0 -53
- package/dist/chunk-ZTSE2ZJ6.js +0 -190
- package/dist/chunk-ZTSE2ZJ6.js.map +0 -1
- package/dist/cli-Cvy2SNhF.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-3Z6YW7YA.js +0 -413
- package/dist/contradiction-scan-3Z6YW7YA.js.map +0 -1
- package/dist/engine-FOC3IJLA.js +0 -28
- package/dist/fs-utils-IRVUFB6G.js +0 -30
- package/dist/graph-edge-decay-PWB63GRE.js +0 -207
- package/dist/index-1qIcnbG1.d.ts +0 -34
- package/dist/memory-governance-F3QOJGEY.js +0 -37
- package/dist/memory-projection-store-CY8TU40w.d.ts +0 -222
- package/dist/orchestrator-AOQMo7QI.d.ts +0 -1784
- 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 → action-confidence.js.map} +0 -0
- /package/dist/{capsule-export-LLEVB2RG.js.map → adapters/claude-code.js.map} +0 -0
- /package/dist/{capsule-import-UW45R2MZ.js.map → adapters/codex.js.map} +0 -0
- /package/dist/{contradiction-review-5LTTVDQV.js.map → adapters/hermes.js.map} +0 -0
- /package/dist/{engine-FOC3IJLA.js.map → adapters/index.js.map} +0 -0
- /package/dist/{fs-utils-IRVUFB6G.js.map → adapters/registry.js.map} +0 -0
- /package/dist/{memory-governance-F3QOJGEY.js.map → adapters/replit.js.map} +0 -0
- /package/dist/{path-RMTY5Y5A.js.map → adapters/types.js.map} +0 -0
- /package/dist/{secure-store-4R2GSO7S.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-KBYWQWSB.js.map → chunk-4CRG46BG.js.map} +0 -0
- /package/dist/{chunk-LIO5X3CM.js.map → chunk-7IASACLB.js.map} +0 -0
- /package/dist/{chunk-EYNQTST2.js.map → chunk-EFJ3MQ4V.js.map} +0 -0
- /package/dist/{chunk-D54LZC5L.js.map → chunk-FDU6HUUL.js.map} +0 -0
- /package/dist/{chunk-QIGOEM65.js.map → chunk-GGKRUQOO.js.map} +0 -0
- /package/dist/{chunk-HJYHRE4S.js.map → chunk-GL6I6MEQ.js.map} +0 -0
- /package/dist/{state-store-3EH7HYIN.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-PB5KW5PL.js.map → chunk-MC26UJIM.js.map} +0 -0
- /package/dist/{chunk-ZL4S7ARC.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-RXTFCYQF.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/{types-V3FJ26TF.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/{chunk-MARWOCVP.js.map → chunk-XIG5PDM7.js.map} +0 -0
- /package/dist/{chunk-6XA7UN4Z.js.map → chunk-XVZ7B3HG.js.map} +0 -0
- /package/dist/{graph-edge-decay-PWB63GRE.js.map → graph-edge-decay-5DI5GUNL.js.map} +0 -0
|
@@ -0,0 +1,1136 @@
|
|
|
1
|
+
import { CompoundingPromotionReport } from './compounding/engine.js';
|
|
2
|
+
import { MigrateObservationsResult } from './maintenance/migrate-observations.js';
|
|
3
|
+
import { MemoryGovernanceRunResult, MemoryGovernanceSummary, MemoryGovernanceMetrics, MemoryGovernanceQualityScore, MemoryGovernanceReviewQueueEntry, MemoryGovernanceAppliedAction, MemoryGovernanceTransitionReport, MemoryGovernanceManifest, MemoryGovernanceRestoreManifest, RestoreMemoryGovernanceRunResult } from './maintenance/memory-governance.js';
|
|
4
|
+
import { MemoryStatus, MemoryFile, BehaviorSignalEvent, QmdSearchResult, MemoryActionEvent, MemoryLifecycleEvent } from './types.js';
|
|
5
|
+
import { RebuildMemoryProjectionResult, RepairMemoryProjectionResult, VerifyMemoryProjectionResult } from './maintenance/rebuild-memory-projection.js';
|
|
6
|
+
import { RebuildMemoryLifecycleLedgerResult } from './maintenance/rebuild-memory-lifecycle-ledger.js';
|
|
7
|
+
import { RebuildObservationsResult } from './maintenance/rebuild-observations.js';
|
|
8
|
+
import { ArchiveObservationsResult } from './maintenance/archive-observations.js';
|
|
9
|
+
import { Writable, Readable } from 'node:stream';
|
|
10
|
+
import { I as ImportTurn, B as BulkImportSource, a as BulkImportOptions, b as BulkImportResult, O as Orchestrator } from './orchestrator-DuWl9Hwx.js';
|
|
11
|
+
import { ReplayRunSummary } from './replay/runner.js';
|
|
12
|
+
import { ReplaySource, ReplayTurn } from './replay/types.js';
|
|
13
|
+
import { WorkProjectStatus, WorkTaskStatus, WorkTaskPriority } from './work/types.js';
|
|
14
|
+
import { RoutePatternType } from './routing/engine.js';
|
|
15
|
+
import { TailscaleSyncOptions } from './network/tailscale.js';
|
|
16
|
+
import { DashboardStatus } from './dashboard-runtime.js';
|
|
17
|
+
import { E as EngramAccessService } from './access-service-DcCDmNYC.js';
|
|
18
|
+
import { ResolveSecretRefFn } from './resolve-auth-token.js';
|
|
19
|
+
import { CompatRunner, CompatReport } from './compat/types.js';
|
|
20
|
+
import { EvalBaselineDeltaReport, EvalBaselineSnapshot, EvalCiGateReport, EvalBenchmarkPackSummary, EvalHarnessStatus, EvalStoredBaselineCiGateReport } from './evals.js';
|
|
21
|
+
import { GraphHealthReport } from './graph.js';
|
|
22
|
+
import { CausalTrajectoryStoreStatus } from './causal-trajectory.js';
|
|
23
|
+
import { AbstractionNodeStoreStatus } from './abstraction-nodes.js';
|
|
24
|
+
import { CueAnchorStoreStatus } from './cue-anchors.js';
|
|
25
|
+
import { HarmonicRetrievalResult } from './harmonic-retrieval.js';
|
|
26
|
+
import { VerifiedEpisodeResult } from './verified-recall.js';
|
|
27
|
+
import { VerifiedSemanticRuleResult } from './semantic-rule-verifier.js';
|
|
28
|
+
import { CommitmentLedgerLifecycleResult, CommitmentLedgerEntry, CommitmentLedgerStatus } from './commitment-ledger.js';
|
|
29
|
+
import { WorkProductLedgerSearchResult, WorkProductLedgerEntry, WorkProductLedgerStatus } from './work-product-ledger.js';
|
|
30
|
+
import { UtilityTelemetryEvent, UtilityTelemetryStatus } from './utility-telemetry.js';
|
|
31
|
+
import { UtilityLearningResult, UtilityLearningStatus } from './utility-learner.js';
|
|
32
|
+
import { ResumeBundle, ResumeBundleStatus } from './resume-bundles.js';
|
|
33
|
+
import { SemanticRulePromotionReport } from './semantic-rule-promotion.js';
|
|
34
|
+
import { ObjectiveStateStoreStatus } from './objective-state.js';
|
|
35
|
+
import { TrustZoneDemoSeedResult, TrustZoneName, TrustZonePromotionResult, TrustZoneStoreStatus } from './trust-zones.js';
|
|
36
|
+
import { SessionIntegrityReport, SessionRepairPlan, SessionRepairApplyResult } from './session-integrity.js';
|
|
37
|
+
import { TierMigrationStatusSnapshot, TierMigrationCycleSummary } from './recall-state.js';
|
|
38
|
+
import { RuntimePolicyValues } from './policy-runtime.js';
|
|
39
|
+
import { C as ConnectorRunResult, a as ConnectorsOutputFormat } from './connectors-cli-CwbyjGR7.js';
|
|
40
|
+
|
|
41
|
+
interface ProcessBatchResult {
|
|
42
|
+
memoriesCreated: number;
|
|
43
|
+
duplicatesSkipped: number;
|
|
44
|
+
/**
|
|
45
|
+
* Number of entities created by the batch. Optional so Phase-1 stubs that
|
|
46
|
+
* only count memories can omit it; when absent it is treated as 0.
|
|
47
|
+
*/
|
|
48
|
+
entitiesCreated?: number;
|
|
49
|
+
}
|
|
50
|
+
interface ProcessBatchContext {
|
|
51
|
+
dedup: boolean;
|
|
52
|
+
trustLevel: "import";
|
|
53
|
+
namespace?: string;
|
|
54
|
+
}
|
|
55
|
+
type ProcessBatchFn = (turns: ImportTurn[], context: ProcessBatchContext) => Promise<ProcessBatchResult>;
|
|
56
|
+
/**
|
|
57
|
+
* Format a batch of turns into a conversation transcript string.
|
|
58
|
+
*/
|
|
59
|
+
declare function formatBatchTranscript(turns: ImportTurn[]): string;
|
|
60
|
+
/**
|
|
61
|
+
* Run the bulk-import pipeline over a parsed source.
|
|
62
|
+
*
|
|
63
|
+
* Splits turns into batches and delegates each to `processBatch`.
|
|
64
|
+
* In dryRun mode, validates and counts without calling `processBatch`.
|
|
65
|
+
*/
|
|
66
|
+
declare function runBulkImportPipeline(source: BulkImportSource, options: BulkImportOptions | undefined, processBatch: ProcessBatchFn): Promise<BulkImportResult>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Parse a strict ISO 8601 date string, rejecting malformed inputs, calendar
|
|
70
|
+
* overflows, and out-of-range time components with a descriptive error.
|
|
71
|
+
*
|
|
72
|
+
* Accepted forms:
|
|
73
|
+
* YYYY-MM-DD
|
|
74
|
+
* YYYY-MM-DDTHH:mm:ss (naive / local time)
|
|
75
|
+
* YYYY-MM-DDTHH:mm:ss.sssZ (UTC)
|
|
76
|
+
* YYYY-MM-DDTHH:mm:ss+HH:MM (with timezone offset)
|
|
77
|
+
* YYYY-MM-DDTHH:mm:ss.sss-HH:MM (with timezone offset)
|
|
78
|
+
*
|
|
79
|
+
* `flagName` is included in the error message so users can identify which
|
|
80
|
+
* input failed (e.g. `--since` vs. `--until`).
|
|
81
|
+
*/
|
|
82
|
+
declare function parseStrictCliDate$1(value: string, flagName: string): Date;
|
|
83
|
+
|
|
84
|
+
interface CliApi {
|
|
85
|
+
registerCli(handler: (opts: {
|
|
86
|
+
program: CliProgram;
|
|
87
|
+
}) => void, options: {
|
|
88
|
+
commands: string[];
|
|
89
|
+
}): void;
|
|
90
|
+
}
|
|
91
|
+
type RegisterCliOptions = {
|
|
92
|
+
resolveSecretRef?: ResolveSecretRefFn | null;
|
|
93
|
+
loadResolveSecretRef?: () => Promise<ResolveSecretRefFn | null | undefined> | ResolveSecretRefFn | null | undefined;
|
|
94
|
+
};
|
|
95
|
+
interface CliProgram {
|
|
96
|
+
command(name: string): CliCommand;
|
|
97
|
+
}
|
|
98
|
+
interface CliCommand {
|
|
99
|
+
description(desc: string): CliCommand;
|
|
100
|
+
option(flags: string, desc: string, parserOrDefault?: string | ((value: string, prev: unknown) => unknown), defaultValue?: unknown): CliCommand;
|
|
101
|
+
requiredOption(flags: string, desc: string, defaultValue?: string): CliCommand;
|
|
102
|
+
argument(name: string, desc: string): CliCommand;
|
|
103
|
+
action(fn: (...args: unknown[]) => Promise<void> | void): CliCommand;
|
|
104
|
+
command(name: string): CliCommand;
|
|
105
|
+
}
|
|
106
|
+
interface EngramMcpServerLike {
|
|
107
|
+
runStdio(input: Readable, output: Writable): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
interface ConnectorsRunCliOutputOptions {
|
|
110
|
+
connectorId: string;
|
|
111
|
+
result: ConnectorRunResult;
|
|
112
|
+
format: ConnectorsOutputFormat;
|
|
113
|
+
stdout?: (output: string) => void;
|
|
114
|
+
stderr?: (output: string) => void;
|
|
115
|
+
}
|
|
116
|
+
interface DedupeCandidate {
|
|
117
|
+
path: string;
|
|
118
|
+
content: string;
|
|
119
|
+
frontmatter: {
|
|
120
|
+
id?: string;
|
|
121
|
+
confidence?: number;
|
|
122
|
+
updated?: string;
|
|
123
|
+
created?: string;
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
declare function emitConnectorsRunCliResult({ connectorId, result, format, stdout, stderr, }: ConnectorsRunCliOutputOptions): number;
|
|
127
|
+
interface ExactDedupePlan {
|
|
128
|
+
groups: number;
|
|
129
|
+
duplicates: number;
|
|
130
|
+
keepPaths: string[];
|
|
131
|
+
deletePaths: string[];
|
|
132
|
+
}
|
|
133
|
+
declare function planExactDuplicateDeletions(memories: DedupeCandidate[]): ExactDedupePlan;
|
|
134
|
+
declare function planAggressiveDuplicateDeletions(memories: DedupeCandidate[]): ExactDedupePlan;
|
|
135
|
+
interface ReplayCliCommandOptions {
|
|
136
|
+
source: ReplaySource;
|
|
137
|
+
inputPath: string;
|
|
138
|
+
from?: string;
|
|
139
|
+
to?: string;
|
|
140
|
+
dryRun?: boolean;
|
|
141
|
+
startOffset?: number;
|
|
142
|
+
maxTurns?: number;
|
|
143
|
+
batchSize?: number;
|
|
144
|
+
defaultSessionKey?: string;
|
|
145
|
+
strict?: boolean;
|
|
146
|
+
runConsolidation?: boolean;
|
|
147
|
+
extractionIdleTimeoutMs?: number;
|
|
148
|
+
}
|
|
149
|
+
interface ReplayCliOrchestrator {
|
|
150
|
+
ingestReplayBatch(turns: ReplayTurn[], options?: {
|
|
151
|
+
deadlineMs?: number;
|
|
152
|
+
}): Promise<void>;
|
|
153
|
+
waitForConsolidationIdle(timeoutMs?: number): Promise<boolean>;
|
|
154
|
+
runConsolidationNow(): Promise<{
|
|
155
|
+
memoriesProcessed: number;
|
|
156
|
+
merged: number;
|
|
157
|
+
invalidated: number;
|
|
158
|
+
}>;
|
|
159
|
+
}
|
|
160
|
+
interface ArchiveObservationsCliCommandOptions {
|
|
161
|
+
memoryDir: string;
|
|
162
|
+
retentionDays?: number;
|
|
163
|
+
write?: boolean;
|
|
164
|
+
now?: Date;
|
|
165
|
+
}
|
|
166
|
+
interface RebuildObservationsCliCommandOptions {
|
|
167
|
+
memoryDir: string;
|
|
168
|
+
write?: boolean;
|
|
169
|
+
now?: Date;
|
|
170
|
+
}
|
|
171
|
+
interface RebuildMemoryLifecycleLedgerCliCommandOptions {
|
|
172
|
+
memoryDir: string;
|
|
173
|
+
write?: boolean;
|
|
174
|
+
now?: Date;
|
|
175
|
+
}
|
|
176
|
+
interface RebuildMemoryProjectionCliCommandOptions {
|
|
177
|
+
memoryDir: string;
|
|
178
|
+
defaultNamespace?: string;
|
|
179
|
+
write?: boolean;
|
|
180
|
+
now?: Date;
|
|
181
|
+
updatedAfter?: string;
|
|
182
|
+
updatedBefore?: string;
|
|
183
|
+
}
|
|
184
|
+
interface VerifyMemoryProjectionCliCommandOptions {
|
|
185
|
+
memoryDir: string;
|
|
186
|
+
defaultNamespace?: string;
|
|
187
|
+
updatedAfter?: string;
|
|
188
|
+
updatedBefore?: string;
|
|
189
|
+
}
|
|
190
|
+
interface RepairMemoryProjectionCliCommandOptions {
|
|
191
|
+
memoryDir: string;
|
|
192
|
+
defaultNamespace?: string;
|
|
193
|
+
write?: boolean;
|
|
194
|
+
now?: Date;
|
|
195
|
+
updatedAfter?: string;
|
|
196
|
+
updatedBefore?: string;
|
|
197
|
+
}
|
|
198
|
+
interface MemoryTimelineCliCommandOptions {
|
|
199
|
+
memoryDir: string;
|
|
200
|
+
memoryId: string;
|
|
201
|
+
limit?: number;
|
|
202
|
+
}
|
|
203
|
+
interface MemoryGovernanceCliCommandOptions {
|
|
204
|
+
memoryDir: string;
|
|
205
|
+
mode: "shadow" | "apply";
|
|
206
|
+
now?: Date;
|
|
207
|
+
maxMemories?: number;
|
|
208
|
+
batchSize?: number;
|
|
209
|
+
recentDays?: number;
|
|
210
|
+
}
|
|
211
|
+
interface MemoryGovernanceReportCliCommandOptions {
|
|
212
|
+
memoryDir: string;
|
|
213
|
+
runId?: string;
|
|
214
|
+
}
|
|
215
|
+
interface MemoryGovernanceRestoreCliCommandOptions {
|
|
216
|
+
memoryDir: string;
|
|
217
|
+
runId: string;
|
|
218
|
+
now?: Date;
|
|
219
|
+
}
|
|
220
|
+
interface MemoryReviewDispositionCliCommandOptions {
|
|
221
|
+
memoryDir: string;
|
|
222
|
+
memoryId: string;
|
|
223
|
+
status: Extract<MemoryStatus, "active" | "pending_review" | "rejected" | "quarantined">;
|
|
224
|
+
reasonCode?: string;
|
|
225
|
+
now?: Date;
|
|
226
|
+
}
|
|
227
|
+
interface MigrateObservationsCliCommandOptions {
|
|
228
|
+
memoryDir: string;
|
|
229
|
+
write?: boolean;
|
|
230
|
+
now?: Date;
|
|
231
|
+
}
|
|
232
|
+
interface WorkTaskPatchInput {
|
|
233
|
+
title?: string;
|
|
234
|
+
description?: string;
|
|
235
|
+
status?: WorkTaskStatus;
|
|
236
|
+
priority?: WorkTaskPriority;
|
|
237
|
+
owner?: string | null;
|
|
238
|
+
assignee?: string | null;
|
|
239
|
+
projectId?: string | null;
|
|
240
|
+
tags?: string[];
|
|
241
|
+
dueAt?: string | null;
|
|
242
|
+
}
|
|
243
|
+
interface WorkProjectPatchInput {
|
|
244
|
+
name?: string;
|
|
245
|
+
description?: string;
|
|
246
|
+
status?: WorkProjectStatus;
|
|
247
|
+
owner?: string | null;
|
|
248
|
+
tags?: string[];
|
|
249
|
+
}
|
|
250
|
+
interface WorkTaskCliCommandOptions {
|
|
251
|
+
memoryDir: string;
|
|
252
|
+
action: "create" | "get" | "list" | "update" | "transition" | "delete" | "link";
|
|
253
|
+
id?: string;
|
|
254
|
+
title?: string;
|
|
255
|
+
description?: string;
|
|
256
|
+
status?: WorkTaskStatus;
|
|
257
|
+
priority?: WorkTaskPriority;
|
|
258
|
+
owner?: string;
|
|
259
|
+
assignee?: string;
|
|
260
|
+
projectId?: string;
|
|
261
|
+
tags?: string[];
|
|
262
|
+
dueAt?: string;
|
|
263
|
+
patch?: WorkTaskPatchInput;
|
|
264
|
+
}
|
|
265
|
+
interface WorkProjectCliCommandOptions {
|
|
266
|
+
memoryDir: string;
|
|
267
|
+
action: "create" | "get" | "list" | "update" | "delete";
|
|
268
|
+
id?: string;
|
|
269
|
+
name?: string;
|
|
270
|
+
description?: string;
|
|
271
|
+
status?: WorkProjectStatus;
|
|
272
|
+
owner?: string;
|
|
273
|
+
tags?: string[];
|
|
274
|
+
patch?: WorkProjectPatchInput;
|
|
275
|
+
}
|
|
276
|
+
interface RouteCliCommandOptions {
|
|
277
|
+
memoryDir: string;
|
|
278
|
+
stateFile?: string;
|
|
279
|
+
action: "list" | "add" | "remove" | "test";
|
|
280
|
+
pattern?: string;
|
|
281
|
+
patternType?: RoutePatternType;
|
|
282
|
+
priority?: number;
|
|
283
|
+
targetRaw?: string;
|
|
284
|
+
text?: string;
|
|
285
|
+
id?: string;
|
|
286
|
+
}
|
|
287
|
+
interface TailscaleHelperLike {
|
|
288
|
+
status(): Promise<{
|
|
289
|
+
available: boolean;
|
|
290
|
+
running: boolean;
|
|
291
|
+
backendState?: string;
|
|
292
|
+
version?: string;
|
|
293
|
+
selfHostname?: string;
|
|
294
|
+
selfIp?: string;
|
|
295
|
+
}>;
|
|
296
|
+
syncDirectory(options: TailscaleSyncOptions): Promise<void>;
|
|
297
|
+
}
|
|
298
|
+
interface ConversationIndexHealthCliOrchestrator {
|
|
299
|
+
getConversationIndexHealth(): Promise<{
|
|
300
|
+
enabled: boolean;
|
|
301
|
+
backend: "qmd" | "faiss";
|
|
302
|
+
status: "ok" | "degraded" | "disabled";
|
|
303
|
+
chunkDocCount: number;
|
|
304
|
+
lastUpdateAt: string | null;
|
|
305
|
+
qmdAvailable?: boolean;
|
|
306
|
+
faiss?: {
|
|
307
|
+
ok: boolean;
|
|
308
|
+
status: "ok" | "degraded" | "error";
|
|
309
|
+
indexPath: string;
|
|
310
|
+
message?: string;
|
|
311
|
+
manifest?: {
|
|
312
|
+
version: number;
|
|
313
|
+
modelId: string;
|
|
314
|
+
normalizedModelId: string;
|
|
315
|
+
dimension: number;
|
|
316
|
+
chunkCount: number;
|
|
317
|
+
updatedAt: string;
|
|
318
|
+
lastSuccessfulRebuildAt: string;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
}>;
|
|
322
|
+
inspectConversationIndex(): Promise<{
|
|
323
|
+
enabled: boolean;
|
|
324
|
+
backend: "qmd" | "faiss";
|
|
325
|
+
status: "ok" | "degraded" | "disabled";
|
|
326
|
+
available: boolean;
|
|
327
|
+
indexPath: string;
|
|
328
|
+
supportsIncrementalUpdate: boolean;
|
|
329
|
+
message?: string;
|
|
330
|
+
chunkDocCount: number;
|
|
331
|
+
lastUpdateAt: string | null;
|
|
332
|
+
metadata: {
|
|
333
|
+
chunkCount: number | null;
|
|
334
|
+
qmdAvailable?: boolean;
|
|
335
|
+
debugStatus?: string;
|
|
336
|
+
hasIndex?: boolean;
|
|
337
|
+
hasMetadata?: boolean;
|
|
338
|
+
hasManifest?: boolean;
|
|
339
|
+
manifest?: {
|
|
340
|
+
version: number;
|
|
341
|
+
modelId: string;
|
|
342
|
+
normalizedModelId: string;
|
|
343
|
+
dimension: number;
|
|
344
|
+
chunkCount: number;
|
|
345
|
+
updatedAt: string;
|
|
346
|
+
lastSuccessfulRebuildAt: string;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
}>;
|
|
350
|
+
rebuildConversationIndex(sessionKey?: string, hours?: number, opts?: {
|
|
351
|
+
embed?: boolean;
|
|
352
|
+
}): Promise<{
|
|
353
|
+
chunks: number;
|
|
354
|
+
skipped: boolean;
|
|
355
|
+
reason?: string;
|
|
356
|
+
embedded?: boolean;
|
|
357
|
+
rebuilt?: boolean;
|
|
358
|
+
}>;
|
|
359
|
+
}
|
|
360
|
+
interface GraphHealthCliCommandOptions {
|
|
361
|
+
memoryDir: string;
|
|
362
|
+
entityGraphEnabled?: boolean;
|
|
363
|
+
timeGraphEnabled?: boolean;
|
|
364
|
+
causalGraphEnabled?: boolean;
|
|
365
|
+
includeRepairGuidance?: boolean;
|
|
366
|
+
}
|
|
367
|
+
interface SessionIntegrityCliCommandOptions {
|
|
368
|
+
memoryDir: string;
|
|
369
|
+
}
|
|
370
|
+
interface SessionRepairCliCommandOptions {
|
|
371
|
+
memoryDir: string;
|
|
372
|
+
apply?: boolean;
|
|
373
|
+
dryRun?: boolean;
|
|
374
|
+
allowSessionFileRepair?: boolean;
|
|
375
|
+
sessionFilesDir?: string;
|
|
376
|
+
}
|
|
377
|
+
interface TierMigrationCliOrchestrator {
|
|
378
|
+
getTierMigrationStatus(): Promise<TierMigrationStatusSnapshot>;
|
|
379
|
+
runTierMigrationNow(options?: {
|
|
380
|
+
dryRun?: boolean;
|
|
381
|
+
limit?: number;
|
|
382
|
+
}): Promise<TierMigrationCycleSummary>;
|
|
383
|
+
}
|
|
384
|
+
interface MemoryActionAuditCliCommandOptions {
|
|
385
|
+
namespace?: string;
|
|
386
|
+
limit?: number;
|
|
387
|
+
}
|
|
388
|
+
interface MemoryActionAuditCliNamespaceSummary {
|
|
389
|
+
namespace: string;
|
|
390
|
+
eventCount: number;
|
|
391
|
+
actions: Record<string, number>;
|
|
392
|
+
outcomes: Record<string, number>;
|
|
393
|
+
policyDecisions: Record<string, number>;
|
|
394
|
+
}
|
|
395
|
+
interface MemoryActionAuditCliReport {
|
|
396
|
+
generatedAt: string;
|
|
397
|
+
limit: number;
|
|
398
|
+
namespaces: MemoryActionAuditCliNamespaceSummary[];
|
|
399
|
+
totals: {
|
|
400
|
+
eventCount: number;
|
|
401
|
+
actions: Record<string, number>;
|
|
402
|
+
outcomes: Record<string, number>;
|
|
403
|
+
policyDecisions: Record<string, number>;
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
interface MemoryActionAuditCliOrchestrator {
|
|
407
|
+
config: {
|
|
408
|
+
defaultNamespace: string;
|
|
409
|
+
sharedNamespace: string;
|
|
410
|
+
namespacesEnabled: boolean;
|
|
411
|
+
namespacePolicies: Array<{
|
|
412
|
+
name: string;
|
|
413
|
+
}>;
|
|
414
|
+
};
|
|
415
|
+
getStorage(namespace?: string): Promise<{
|
|
416
|
+
readMemoryActionEvents(limit?: number): Promise<MemoryActionEvent[]>;
|
|
417
|
+
}>;
|
|
418
|
+
}
|
|
419
|
+
interface TailscaleStatusCliCommandOptions {
|
|
420
|
+
helper?: TailscaleHelperLike;
|
|
421
|
+
timeoutMs?: number;
|
|
422
|
+
}
|
|
423
|
+
interface TailscaleSyncCliCommandOptions extends TailscaleSyncOptions {
|
|
424
|
+
helper?: TailscaleHelperLike;
|
|
425
|
+
}
|
|
426
|
+
interface WebDavServerLike {
|
|
427
|
+
start(): Promise<{
|
|
428
|
+
running: boolean;
|
|
429
|
+
host: string;
|
|
430
|
+
port: number;
|
|
431
|
+
rootCount: number;
|
|
432
|
+
}>;
|
|
433
|
+
stop(): Promise<void>;
|
|
434
|
+
status(): {
|
|
435
|
+
running: boolean;
|
|
436
|
+
host: string;
|
|
437
|
+
port: number;
|
|
438
|
+
rootCount: number;
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
interface WebDavServeCliCommandOptions {
|
|
442
|
+
enabled?: boolean;
|
|
443
|
+
host?: string;
|
|
444
|
+
port?: number;
|
|
445
|
+
allowlistDirs: string[];
|
|
446
|
+
authUsername?: string;
|
|
447
|
+
authPassword?: string;
|
|
448
|
+
createServer?: (options: {
|
|
449
|
+
enabled?: boolean;
|
|
450
|
+
host?: string;
|
|
451
|
+
port: number;
|
|
452
|
+
allowlistDirs: string[];
|
|
453
|
+
auth?: {
|
|
454
|
+
username: string;
|
|
455
|
+
password: string;
|
|
456
|
+
};
|
|
457
|
+
}) => Promise<WebDavServerLike>;
|
|
458
|
+
}
|
|
459
|
+
interface CompatCliCommandOptions {
|
|
460
|
+
repoRoot?: string;
|
|
461
|
+
strict?: boolean;
|
|
462
|
+
runner?: CompatRunner;
|
|
463
|
+
now?: Date;
|
|
464
|
+
}
|
|
465
|
+
interface DashboardServerLike {
|
|
466
|
+
start(): Promise<DashboardStatus>;
|
|
467
|
+
stop(): Promise<void>;
|
|
468
|
+
status(): DashboardStatus;
|
|
469
|
+
}
|
|
470
|
+
interface AccessHttpServerLike {
|
|
471
|
+
start(): Promise<{
|
|
472
|
+
running: boolean;
|
|
473
|
+
host: string;
|
|
474
|
+
port: number;
|
|
475
|
+
maxBodyBytes: number;
|
|
476
|
+
}>;
|
|
477
|
+
stop(): Promise<void>;
|
|
478
|
+
status(): {
|
|
479
|
+
running: boolean;
|
|
480
|
+
host: string;
|
|
481
|
+
port: number;
|
|
482
|
+
maxBodyBytes: number;
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
interface DashboardStartCliCommandOptions {
|
|
486
|
+
memoryDir: string;
|
|
487
|
+
host?: string;
|
|
488
|
+
port?: number;
|
|
489
|
+
publicDir?: string;
|
|
490
|
+
createServer?: (options: {
|
|
491
|
+
memoryDir: string;
|
|
492
|
+
host?: string;
|
|
493
|
+
port?: number;
|
|
494
|
+
publicDir?: string;
|
|
495
|
+
}) => DashboardServerLike;
|
|
496
|
+
}
|
|
497
|
+
interface AccessHttpServeCliCommandOptions {
|
|
498
|
+
service: EngramAccessService;
|
|
499
|
+
enabled?: boolean;
|
|
500
|
+
host?: string;
|
|
501
|
+
port?: number;
|
|
502
|
+
authToken?: string;
|
|
503
|
+
principal?: string;
|
|
504
|
+
maxBodyBytes?: number;
|
|
505
|
+
trustPrincipalHeader?: boolean;
|
|
506
|
+
citationsEnabled?: boolean;
|
|
507
|
+
citationsAutoDetect?: boolean;
|
|
508
|
+
createServer?: (options: {
|
|
509
|
+
service: EngramAccessService;
|
|
510
|
+
host?: string;
|
|
511
|
+
port?: number;
|
|
512
|
+
authToken?: string;
|
|
513
|
+
principal?: string;
|
|
514
|
+
maxBodyBytes?: number;
|
|
515
|
+
trustPrincipalHeader?: boolean;
|
|
516
|
+
citationsEnabled?: boolean;
|
|
517
|
+
citationsAutoDetect?: boolean;
|
|
518
|
+
}) => AccessHttpServerLike;
|
|
519
|
+
}
|
|
520
|
+
interface TrainingExportCliCommandOptions {
|
|
521
|
+
memoryDir: string;
|
|
522
|
+
format: string;
|
|
523
|
+
output: string;
|
|
524
|
+
since?: string;
|
|
525
|
+
until?: string;
|
|
526
|
+
minConfidence?: number;
|
|
527
|
+
categories?: string[];
|
|
528
|
+
includeEntities?: boolean;
|
|
529
|
+
dryRun?: boolean;
|
|
530
|
+
stdout: Writable;
|
|
531
|
+
stderr: Writable;
|
|
532
|
+
}
|
|
533
|
+
declare function resolveAccessPrincipalOverride(explicitPrincipal: unknown, configuredPrincipal?: string): string | undefined;
|
|
534
|
+
declare function runTrainingExportCliCommand(opts: TrainingExportCliCommandOptions): Promise<void>;
|
|
535
|
+
declare function runArchiveObservationsCliCommand(options: ArchiveObservationsCliCommandOptions): Promise<ArchiveObservationsResult>;
|
|
536
|
+
declare function runRebuildObservationsCliCommand(options: RebuildObservationsCliCommandOptions): Promise<RebuildObservationsResult>;
|
|
537
|
+
declare function runRebuildMemoryLifecycleLedgerCliCommand(options: RebuildMemoryLifecycleLedgerCliCommandOptions): Promise<RebuildMemoryLifecycleLedgerResult>;
|
|
538
|
+
declare function runRebuildMemoryProjectionCliCommand(options: RebuildMemoryProjectionCliCommandOptions): Promise<RebuildMemoryProjectionResult>;
|
|
539
|
+
declare function runVerifyMemoryProjectionCliCommand(options: VerifyMemoryProjectionCliCommandOptions): Promise<VerifyMemoryProjectionResult>;
|
|
540
|
+
declare function runRepairMemoryProjectionCliCommand(options: RepairMemoryProjectionCliCommandOptions): Promise<RepairMemoryProjectionResult>;
|
|
541
|
+
declare function runMemoryTimelineCliCommand(options: MemoryTimelineCliCommandOptions): Promise<MemoryLifecycleEvent[]>;
|
|
542
|
+
declare function runMemoryGovernanceCliCommand(options: MemoryGovernanceCliCommandOptions): Promise<MemoryGovernanceRunResult>;
|
|
543
|
+
declare function runMemoryGovernanceReportCliCommand(options: MemoryGovernanceReportCliCommandOptions): Promise<{
|
|
544
|
+
summary: MemoryGovernanceSummary;
|
|
545
|
+
metrics: MemoryGovernanceMetrics;
|
|
546
|
+
qualityScore: MemoryGovernanceQualityScore;
|
|
547
|
+
keptMemoryIds: string[];
|
|
548
|
+
reviewQueue: MemoryGovernanceReviewQueueEntry[];
|
|
549
|
+
appliedActions: MemoryGovernanceAppliedAction[];
|
|
550
|
+
transitionReport: MemoryGovernanceTransitionReport;
|
|
551
|
+
report: string;
|
|
552
|
+
manifest: MemoryGovernanceManifest;
|
|
553
|
+
restore?: MemoryGovernanceRestoreManifest;
|
|
554
|
+
}>;
|
|
555
|
+
declare function runMemoryGovernanceRestoreCliCommand(options: MemoryGovernanceRestoreCliCommandOptions): Promise<RestoreMemoryGovernanceRunResult>;
|
|
556
|
+
declare function runMemoryReviewDispositionCliCommand(options: MemoryReviewDispositionCliCommandOptions): Promise<{
|
|
557
|
+
memoryId: string;
|
|
558
|
+
status: "active" | "pending_review" | "rejected" | "quarantined";
|
|
559
|
+
reasonCode: string | undefined;
|
|
560
|
+
}>;
|
|
561
|
+
declare function runMigrateObservationsCliCommand(options: MigrateObservationsCliCommandOptions): Promise<MigrateObservationsResult>;
|
|
562
|
+
declare function runConversationIndexHealthCliCommand(orchestrator: ConversationIndexHealthCliOrchestrator): Promise<{
|
|
563
|
+
enabled: boolean;
|
|
564
|
+
backend: "qmd" | "faiss";
|
|
565
|
+
status: "ok" | "degraded" | "disabled";
|
|
566
|
+
chunkDocCount: number;
|
|
567
|
+
lastUpdateAt: string | null;
|
|
568
|
+
qmdAvailable?: boolean;
|
|
569
|
+
faiss?: {
|
|
570
|
+
ok: boolean;
|
|
571
|
+
status: "ok" | "degraded" | "error";
|
|
572
|
+
indexPath: string;
|
|
573
|
+
message?: string;
|
|
574
|
+
manifest?: {
|
|
575
|
+
version: number;
|
|
576
|
+
modelId: string;
|
|
577
|
+
normalizedModelId: string;
|
|
578
|
+
dimension: number;
|
|
579
|
+
chunkCount: number;
|
|
580
|
+
updatedAt: string;
|
|
581
|
+
lastSuccessfulRebuildAt: string;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
}>;
|
|
585
|
+
declare function runConversationIndexInspectCliCommand(orchestrator: ConversationIndexHealthCliOrchestrator): Promise<{
|
|
586
|
+
enabled: boolean;
|
|
587
|
+
backend: "qmd" | "faiss";
|
|
588
|
+
status: "ok" | "degraded" | "disabled";
|
|
589
|
+
available: boolean;
|
|
590
|
+
indexPath: string;
|
|
591
|
+
supportsIncrementalUpdate: boolean;
|
|
592
|
+
message?: string;
|
|
593
|
+
chunkDocCount: number;
|
|
594
|
+
lastUpdateAt: string | null;
|
|
595
|
+
metadata: {
|
|
596
|
+
chunkCount: number | null;
|
|
597
|
+
qmdAvailable?: boolean;
|
|
598
|
+
debugStatus?: string;
|
|
599
|
+
hasIndex?: boolean;
|
|
600
|
+
hasMetadata?: boolean;
|
|
601
|
+
hasManifest?: boolean;
|
|
602
|
+
manifest?: {
|
|
603
|
+
version: number;
|
|
604
|
+
modelId: string;
|
|
605
|
+
normalizedModelId: string;
|
|
606
|
+
dimension: number;
|
|
607
|
+
chunkCount: number;
|
|
608
|
+
updatedAt: string;
|
|
609
|
+
lastSuccessfulRebuildAt: string;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
}>;
|
|
613
|
+
declare function runConversationIndexRebuildCliCommand(orchestrator: ConversationIndexHealthCliOrchestrator, options: {
|
|
614
|
+
sessionKey?: string;
|
|
615
|
+
hours?: number;
|
|
616
|
+
embed?: boolean;
|
|
617
|
+
}): Promise<{
|
|
618
|
+
chunks: number;
|
|
619
|
+
skipped: boolean;
|
|
620
|
+
reason?: string;
|
|
621
|
+
embedded?: boolean;
|
|
622
|
+
rebuilt?: boolean;
|
|
623
|
+
}>;
|
|
624
|
+
declare function runGraphHealthCliCommand(options: GraphHealthCliCommandOptions): Promise<GraphHealthReport>;
|
|
625
|
+
declare function runBenchmarkStatusCliCommand(options: {
|
|
626
|
+
memoryDir: string;
|
|
627
|
+
evalStoreDir?: string;
|
|
628
|
+
evalHarnessEnabled: boolean;
|
|
629
|
+
evalShadowModeEnabled: boolean;
|
|
630
|
+
benchmarkBaselineSnapshotsEnabled: boolean;
|
|
631
|
+
memoryRedTeamBenchEnabled: boolean;
|
|
632
|
+
}): Promise<EvalHarnessStatus>;
|
|
633
|
+
declare function runBenchmarkBaselineSnapshotCliCommand(options: {
|
|
634
|
+
memoryDir: string;
|
|
635
|
+
evalStoreDir?: string;
|
|
636
|
+
benchmarkBaselineSnapshotsEnabled: boolean;
|
|
637
|
+
snapshotId: string;
|
|
638
|
+
createdAt?: string;
|
|
639
|
+
notes?: string;
|
|
640
|
+
gitRef?: string;
|
|
641
|
+
}): Promise<{
|
|
642
|
+
targetPath: string;
|
|
643
|
+
snapshot: EvalBaselineSnapshot;
|
|
644
|
+
}>;
|
|
645
|
+
declare function runBenchmarkValidateCliCommand(options: {
|
|
646
|
+
path: string;
|
|
647
|
+
memoryRedTeamBenchEnabled: boolean;
|
|
648
|
+
}): Promise<EvalBenchmarkPackSummary>;
|
|
649
|
+
declare function runBenchmarkImportCliCommand(options: {
|
|
650
|
+
path: string;
|
|
651
|
+
memoryDir: string;
|
|
652
|
+
evalStoreDir?: string;
|
|
653
|
+
force?: boolean;
|
|
654
|
+
memoryRedTeamBenchEnabled: boolean;
|
|
655
|
+
}): Promise<EvalBenchmarkPackSummary & {
|
|
656
|
+
targetDir: string;
|
|
657
|
+
overwritten: boolean;
|
|
658
|
+
}>;
|
|
659
|
+
declare function runBenchmarkCiGateCliCommand(options: {
|
|
660
|
+
baseEvalStoreDir: string;
|
|
661
|
+
candidateEvalStoreDir: string;
|
|
662
|
+
}): Promise<EvalCiGateReport>;
|
|
663
|
+
declare function runBenchmarkStoredBaselineCiGateCliCommand(options: {
|
|
664
|
+
baseEvalStoreDir: string;
|
|
665
|
+
candidateEvalStoreDir: string;
|
|
666
|
+
snapshotId: string;
|
|
667
|
+
}): Promise<EvalStoredBaselineCiGateReport>;
|
|
668
|
+
declare function runBenchmarkBaselineReportCliCommand(options: {
|
|
669
|
+
memoryDir: string;
|
|
670
|
+
evalStoreDir?: string;
|
|
671
|
+
benchmarkDeltaReporterEnabled: boolean;
|
|
672
|
+
snapshotId: string;
|
|
673
|
+
}): Promise<EvalBaselineDeltaReport>;
|
|
674
|
+
declare function runObjectiveStateStatusCliCommand(options: {
|
|
675
|
+
memoryDir: string;
|
|
676
|
+
objectiveStateStoreDir?: string;
|
|
677
|
+
objectiveStateMemoryEnabled: boolean;
|
|
678
|
+
objectiveStateSnapshotWritesEnabled: boolean;
|
|
679
|
+
}): Promise<ObjectiveStateStoreStatus>;
|
|
680
|
+
declare function runCausalTrajectoryStatusCliCommand(options: {
|
|
681
|
+
memoryDir: string;
|
|
682
|
+
causalTrajectoryStoreDir?: string;
|
|
683
|
+
causalTrajectoryMemoryEnabled: boolean;
|
|
684
|
+
}): Promise<CausalTrajectoryStoreStatus>;
|
|
685
|
+
declare function runTrustZoneStatusCliCommand(options: {
|
|
686
|
+
memoryDir: string;
|
|
687
|
+
trustZoneStoreDir?: string;
|
|
688
|
+
trustZonesEnabled: boolean;
|
|
689
|
+
quarantinePromotionEnabled: boolean;
|
|
690
|
+
memoryPoisoningDefenseEnabled: boolean;
|
|
691
|
+
}): Promise<TrustZoneStoreStatus>;
|
|
692
|
+
declare function runAbstractionNodeStatusCliCommand(options: {
|
|
693
|
+
memoryDir: string;
|
|
694
|
+
abstractionNodeStoreDir?: string;
|
|
695
|
+
harmonicRetrievalEnabled: boolean;
|
|
696
|
+
abstractionAnchorsEnabled: boolean;
|
|
697
|
+
}): Promise<AbstractionNodeStoreStatus>;
|
|
698
|
+
declare function runCueAnchorStatusCliCommand(options: {
|
|
699
|
+
memoryDir: string;
|
|
700
|
+
abstractionNodeStoreDir?: string;
|
|
701
|
+
harmonicRetrievalEnabled: boolean;
|
|
702
|
+
abstractionAnchorsEnabled: boolean;
|
|
703
|
+
}): Promise<CueAnchorStoreStatus>;
|
|
704
|
+
declare function runHarmonicSearchCliCommand(options: {
|
|
705
|
+
memoryDir: string;
|
|
706
|
+
abstractionNodeStoreDir?: string;
|
|
707
|
+
harmonicRetrievalEnabled: boolean;
|
|
708
|
+
abstractionAnchorsEnabled: boolean;
|
|
709
|
+
query: string;
|
|
710
|
+
maxResults?: number;
|
|
711
|
+
sessionKey?: string;
|
|
712
|
+
}): Promise<HarmonicRetrievalResult[]>;
|
|
713
|
+
declare function runVerifiedRecallSearchCliCommand(options: {
|
|
714
|
+
memoryDir: string;
|
|
715
|
+
verifiedRecallEnabled: boolean;
|
|
716
|
+
query: string;
|
|
717
|
+
maxResults?: number;
|
|
718
|
+
boxRecallDays?: number;
|
|
719
|
+
}): Promise<VerifiedEpisodeResult[]>;
|
|
720
|
+
declare function isNormalRetrievalVisibleMemory(memory: MemoryFile): boolean;
|
|
721
|
+
declare function filterNormalMemorySearchResults(results: QmdSearchResult[], storage: {
|
|
722
|
+
readMemoryByPath(path: string): Promise<MemoryFile | null>;
|
|
723
|
+
}): Promise<QmdSearchResult[]>;
|
|
724
|
+
declare function runSemanticRulePromoteCliCommand(options: {
|
|
725
|
+
memoryDir: string;
|
|
726
|
+
semanticRulePromotionEnabled: boolean;
|
|
727
|
+
sourceMemoryId: string;
|
|
728
|
+
dryRun?: boolean;
|
|
729
|
+
}): Promise<SemanticRulePromotionReport>;
|
|
730
|
+
declare function runCompoundingPromoteCliCommand(options: {
|
|
731
|
+
memoryDir: string;
|
|
732
|
+
compoundingEnabled: boolean;
|
|
733
|
+
compoundingSemanticEnabled: boolean;
|
|
734
|
+
weekId: string;
|
|
735
|
+
candidateId: string;
|
|
736
|
+
dryRun?: boolean;
|
|
737
|
+
}): Promise<CompoundingPromotionReport>;
|
|
738
|
+
declare function runSemanticRuleVerifyCliCommand(options: {
|
|
739
|
+
memoryDir: string;
|
|
740
|
+
semanticRuleVerificationEnabled: boolean;
|
|
741
|
+
query: string;
|
|
742
|
+
maxResults?: number;
|
|
743
|
+
}): Promise<VerifiedSemanticRuleResult[]>;
|
|
744
|
+
declare function runWorkProductStatusCliCommand(options: {
|
|
745
|
+
memoryDir: string;
|
|
746
|
+
workProductLedgerDir?: string;
|
|
747
|
+
creationMemoryEnabled: boolean;
|
|
748
|
+
}): Promise<WorkProductLedgerStatus>;
|
|
749
|
+
declare function runUtilityTelemetryStatusCliCommand(options: {
|
|
750
|
+
memoryDir: string;
|
|
751
|
+
memoryUtilityLearningEnabled: boolean;
|
|
752
|
+
promotionByOutcomeEnabled: boolean;
|
|
753
|
+
}): Promise<UtilityTelemetryStatus>;
|
|
754
|
+
declare function runUtilityTelemetryRecordCliCommand(options: {
|
|
755
|
+
memoryDir: string;
|
|
756
|
+
memoryUtilityLearningEnabled: boolean;
|
|
757
|
+
event: UtilityTelemetryEvent;
|
|
758
|
+
}): Promise<string | null>;
|
|
759
|
+
declare function runUtilityLearningStatusCliCommand(options: {
|
|
760
|
+
memoryDir: string;
|
|
761
|
+
memoryUtilityLearningEnabled: boolean;
|
|
762
|
+
promotionByOutcomeEnabled: boolean;
|
|
763
|
+
}): Promise<UtilityLearningStatus>;
|
|
764
|
+
declare function runUtilityLearningCliCommand(options: {
|
|
765
|
+
memoryDir: string;
|
|
766
|
+
memoryUtilityLearningEnabled: boolean;
|
|
767
|
+
learningWindowDays?: number;
|
|
768
|
+
minEventCount?: number;
|
|
769
|
+
maxWeightMagnitude?: number;
|
|
770
|
+
}): Promise<UtilityLearningResult>;
|
|
771
|
+
declare function runWorkProductRecordCliCommand(options: {
|
|
772
|
+
memoryDir: string;
|
|
773
|
+
workProductLedgerDir?: string;
|
|
774
|
+
creationMemoryEnabled: boolean;
|
|
775
|
+
entry: WorkProductLedgerEntry;
|
|
776
|
+
}): Promise<string | null>;
|
|
777
|
+
declare function runWorkProductRecallSearchCliCommand(options: {
|
|
778
|
+
memoryDir: string;
|
|
779
|
+
workProductLedgerDir?: string;
|
|
780
|
+
creationMemoryEnabled: boolean;
|
|
781
|
+
workProductRecallEnabled: boolean;
|
|
782
|
+
query: string;
|
|
783
|
+
maxResults?: number;
|
|
784
|
+
sessionKey?: string;
|
|
785
|
+
}): Promise<WorkProductLedgerSearchResult[]>;
|
|
786
|
+
declare function runResumeBundleStatusCliCommand(options: {
|
|
787
|
+
memoryDir: string;
|
|
788
|
+
resumeBundleDir?: string;
|
|
789
|
+
creationMemoryEnabled: boolean;
|
|
790
|
+
resumeBundlesEnabled: boolean;
|
|
791
|
+
}): Promise<ResumeBundleStatus>;
|
|
792
|
+
declare function runResumeBundleRecordCliCommand(options: {
|
|
793
|
+
memoryDir: string;
|
|
794
|
+
resumeBundleDir?: string;
|
|
795
|
+
creationMemoryEnabled: boolean;
|
|
796
|
+
resumeBundlesEnabled: boolean;
|
|
797
|
+
bundle: ResumeBundle;
|
|
798
|
+
}): Promise<string | null>;
|
|
799
|
+
declare function runResumeBundleBuildCliCommand(options: {
|
|
800
|
+
memoryDir: string;
|
|
801
|
+
resumeBundleDir?: string;
|
|
802
|
+
objectiveStateStoreDir?: string;
|
|
803
|
+
workProductLedgerDir?: string;
|
|
804
|
+
commitmentLedgerDir?: string;
|
|
805
|
+
creationMemoryEnabled: boolean;
|
|
806
|
+
resumeBundlesEnabled: boolean;
|
|
807
|
+
transcriptEnabled: boolean;
|
|
808
|
+
objectiveStateMemoryEnabled: boolean;
|
|
809
|
+
commitmentLedgerEnabled: boolean;
|
|
810
|
+
bundleId: string;
|
|
811
|
+
recordedAt: string;
|
|
812
|
+
sessionKey: string;
|
|
813
|
+
scope: string;
|
|
814
|
+
}): Promise<{
|
|
815
|
+
bundle: ResumeBundle;
|
|
816
|
+
filePath: string;
|
|
817
|
+
} | null>;
|
|
818
|
+
declare function runCommitmentStatusCliCommand(options: {
|
|
819
|
+
memoryDir: string;
|
|
820
|
+
commitmentLedgerDir?: string;
|
|
821
|
+
creationMemoryEnabled: boolean;
|
|
822
|
+
commitmentLedgerEnabled: boolean;
|
|
823
|
+
commitmentLifecycleEnabled?: boolean;
|
|
824
|
+
commitmentStaleDays?: number;
|
|
825
|
+
commitmentDecayDays?: number;
|
|
826
|
+
now?: string;
|
|
827
|
+
}): Promise<CommitmentLedgerStatus>;
|
|
828
|
+
declare function runCommitmentRecordCliCommand(options: {
|
|
829
|
+
memoryDir: string;
|
|
830
|
+
commitmentLedgerDir?: string;
|
|
831
|
+
creationMemoryEnabled: boolean;
|
|
832
|
+
commitmentLedgerEnabled: boolean;
|
|
833
|
+
entry: CommitmentLedgerEntry;
|
|
834
|
+
}): Promise<string | null>;
|
|
835
|
+
declare function runCommitmentSetStateCliCommand(options: {
|
|
836
|
+
memoryDir: string;
|
|
837
|
+
commitmentLedgerDir?: string;
|
|
838
|
+
creationMemoryEnabled: boolean;
|
|
839
|
+
commitmentLedgerEnabled: boolean;
|
|
840
|
+
commitmentLifecycleEnabled: boolean;
|
|
841
|
+
entryId: string;
|
|
842
|
+
nextState: CommitmentLedgerEntry["state"];
|
|
843
|
+
changedAt: string;
|
|
844
|
+
}): Promise<CommitmentLedgerEntry | null>;
|
|
845
|
+
declare function runCommitmentLifecycleCliCommand(options: {
|
|
846
|
+
memoryDir: string;
|
|
847
|
+
commitmentLedgerDir?: string;
|
|
848
|
+
creationMemoryEnabled: boolean;
|
|
849
|
+
commitmentLedgerEnabled: boolean;
|
|
850
|
+
commitmentLifecycleEnabled: boolean;
|
|
851
|
+
commitmentDecayDays: number;
|
|
852
|
+
now?: string;
|
|
853
|
+
}): Promise<CommitmentLedgerLifecycleResult | null>;
|
|
854
|
+
declare function runTrustZonePromoteCliCommand(options: {
|
|
855
|
+
memoryDir: string;
|
|
856
|
+
trustZoneStoreDir?: string;
|
|
857
|
+
trustZonesEnabled: boolean;
|
|
858
|
+
quarantinePromotionEnabled: boolean;
|
|
859
|
+
memoryPoisoningDefenseEnabled: boolean;
|
|
860
|
+
sourceRecordId: string;
|
|
861
|
+
targetZone: TrustZoneName;
|
|
862
|
+
promotionReason: string;
|
|
863
|
+
recordedAt?: string;
|
|
864
|
+
summary?: string;
|
|
865
|
+
dryRun?: boolean;
|
|
866
|
+
}): Promise<TrustZonePromotionResult & {
|
|
867
|
+
dryRun: boolean;
|
|
868
|
+
}>;
|
|
869
|
+
declare function runTrustZoneDemoSeedCliCommand(options: {
|
|
870
|
+
memoryDir: string;
|
|
871
|
+
trustZoneStoreDir?: string;
|
|
872
|
+
trustZonesEnabled: boolean;
|
|
873
|
+
scenario?: string;
|
|
874
|
+
recordedAt?: string;
|
|
875
|
+
dryRun?: boolean;
|
|
876
|
+
}): Promise<TrustZoneDemoSeedResult>;
|
|
877
|
+
declare function runSessionCheckCliCommand(options: SessionIntegrityCliCommandOptions): Promise<SessionIntegrityReport>;
|
|
878
|
+
declare function runSessionRepairCliCommand(options: SessionRepairCliCommandOptions): Promise<{
|
|
879
|
+
report: SessionIntegrityReport;
|
|
880
|
+
plan: SessionRepairPlan;
|
|
881
|
+
applyResult: SessionRepairApplyResult;
|
|
882
|
+
}>;
|
|
883
|
+
declare function runTierStatusCliCommand(orchestrator: TierMigrationCliOrchestrator): Promise<TierMigrationStatusSnapshot>;
|
|
884
|
+
declare function runTierMigrateCliCommand(orchestrator: TierMigrationCliOrchestrator, options?: {
|
|
885
|
+
dryRun?: boolean;
|
|
886
|
+
limit?: number;
|
|
887
|
+
}): Promise<TierMigrationCycleSummary>;
|
|
888
|
+
type MigrateMemoryStorage = {
|
|
889
|
+
readAllMemories(): Promise<MemoryFile[]>;
|
|
890
|
+
readArchivedMemories(): Promise<MemoryFile[]>;
|
|
891
|
+
writeMemoryFrontmatter(memory: MemoryFile, patch: Partial<MemoryFile["frontmatter"]>): Promise<boolean>;
|
|
892
|
+
getChunksForParent(parentId: string): Promise<MemoryFile[]>;
|
|
893
|
+
updateMemory(id: string, newContent: string): Promise<boolean>;
|
|
894
|
+
updateMemoryFrontmatter(id: string, patch: Partial<MemoryFile["frontmatter"]>): Promise<boolean>;
|
|
895
|
+
writeChunk(parentId: string, chunkIndex: number, chunkTotal: number, category: MemoryFile["frontmatter"]["category"], content: string, options?: {
|
|
896
|
+
confidence?: number;
|
|
897
|
+
tags?: string[];
|
|
898
|
+
entityRef?: string;
|
|
899
|
+
source?: string;
|
|
900
|
+
importance?: MemoryFile["frontmatter"]["importance"];
|
|
901
|
+
intentGoal?: string;
|
|
902
|
+
intentActionType?: string;
|
|
903
|
+
intentEntityTypes?: string[];
|
|
904
|
+
memoryKind?: MemoryFile["frontmatter"]["memoryKind"];
|
|
905
|
+
}): Promise<string>;
|
|
906
|
+
invalidateMemory(id: string): Promise<boolean>;
|
|
907
|
+
appendReextractJobs(events: Array<{
|
|
908
|
+
memoryId: string;
|
|
909
|
+
model: string;
|
|
910
|
+
requestedAt: string;
|
|
911
|
+
source: "cli-migrate";
|
|
912
|
+
}>): Promise<number>;
|
|
913
|
+
};
|
|
914
|
+
interface MigrateCliOrchestrator {
|
|
915
|
+
config: {
|
|
916
|
+
defaultNamespace: string;
|
|
917
|
+
};
|
|
918
|
+
getStorage(namespace?: string): Promise<MigrateMemoryStorage>;
|
|
919
|
+
}
|
|
920
|
+
interface MigrateCliReport {
|
|
921
|
+
action: "normalize-frontmatter" | "rescore-importance" | "rechunk" | "reextract";
|
|
922
|
+
dryRun: boolean;
|
|
923
|
+
scanned: number;
|
|
924
|
+
changed: number;
|
|
925
|
+
queued: number;
|
|
926
|
+
limit: number;
|
|
927
|
+
model?: string;
|
|
928
|
+
}
|
|
929
|
+
declare function runMigrateNormalizeFrontmatterCliCommand(orchestrator: MigrateCliOrchestrator, options?: {
|
|
930
|
+
write?: boolean;
|
|
931
|
+
limit?: number;
|
|
932
|
+
}): Promise<MigrateCliReport>;
|
|
933
|
+
declare function runMigrateRescoreImportanceCliCommand(orchestrator: MigrateCliOrchestrator, options?: {
|
|
934
|
+
write?: boolean;
|
|
935
|
+
limit?: number;
|
|
936
|
+
}): Promise<MigrateCliReport>;
|
|
937
|
+
declare function runMigrateRechunkCliCommand(orchestrator: MigrateCliOrchestrator, options?: {
|
|
938
|
+
write?: boolean;
|
|
939
|
+
limit?: number;
|
|
940
|
+
}): Promise<MigrateCliReport>;
|
|
941
|
+
declare function runMigrateReextractCliCommand(orchestrator: MigrateCliOrchestrator, options: {
|
|
942
|
+
model: string;
|
|
943
|
+
write?: boolean;
|
|
944
|
+
limit?: number;
|
|
945
|
+
}): Promise<MigrateCliReport>;
|
|
946
|
+
interface RuntimePolicySnapshotPayload {
|
|
947
|
+
version: number;
|
|
948
|
+
updatedAt: string;
|
|
949
|
+
values: RuntimePolicyValues;
|
|
950
|
+
sourceAdjustmentCount: number;
|
|
951
|
+
}
|
|
952
|
+
interface PolicySignalContribution {
|
|
953
|
+
signalType: string;
|
|
954
|
+
direction: string;
|
|
955
|
+
count: number;
|
|
956
|
+
lastSeenAt: string;
|
|
957
|
+
}
|
|
958
|
+
interface PolicyStatusCliReport {
|
|
959
|
+
generatedAt: string;
|
|
960
|
+
autoTuneEnabled: boolean;
|
|
961
|
+
current: (RuntimePolicySnapshotPayload & {
|
|
962
|
+
policyVersion: string;
|
|
963
|
+
}) | null;
|
|
964
|
+
previous: (RuntimePolicySnapshotPayload & {
|
|
965
|
+
policyVersion: string;
|
|
966
|
+
}) | null;
|
|
967
|
+
topContributingSignals: PolicySignalContribution[];
|
|
968
|
+
}
|
|
969
|
+
interface PolicyDiffEntry {
|
|
970
|
+
parameter: string;
|
|
971
|
+
previousValue: number | null;
|
|
972
|
+
nextValue: number | null;
|
|
973
|
+
delta: number;
|
|
974
|
+
evidenceCount: number;
|
|
975
|
+
}
|
|
976
|
+
interface PolicyDiffCliReport {
|
|
977
|
+
generatedAt: string;
|
|
978
|
+
since: string;
|
|
979
|
+
sinceIso: string;
|
|
980
|
+
currentPolicyVersion: string | null;
|
|
981
|
+
previousPolicyVersion: string | null;
|
|
982
|
+
deltas: PolicyDiffEntry[];
|
|
983
|
+
topContributingSignals: PolicySignalContribution[];
|
|
984
|
+
}
|
|
985
|
+
interface PolicyRollbackCliReport {
|
|
986
|
+
generatedAt: string;
|
|
987
|
+
rolledBack: boolean;
|
|
988
|
+
current: (RuntimePolicySnapshotPayload & {
|
|
989
|
+
policyVersion: string;
|
|
990
|
+
}) | null;
|
|
991
|
+
}
|
|
992
|
+
interface PolicyTuningCliOrchestrator {
|
|
993
|
+
config: {
|
|
994
|
+
memoryDir: string;
|
|
995
|
+
defaultNamespace: string;
|
|
996
|
+
sharedNamespace: string;
|
|
997
|
+
namespacesEnabled: boolean;
|
|
998
|
+
behaviorLoopAutoTuneEnabled: boolean;
|
|
999
|
+
behaviorLoopLearningWindowDays: number;
|
|
1000
|
+
lifecycleArchiveDecayThreshold: number;
|
|
1001
|
+
recencyWeight: number;
|
|
1002
|
+
lifecyclePromoteHeatThreshold: number;
|
|
1003
|
+
lifecycleStaleDecayThreshold: number;
|
|
1004
|
+
cronRecallInstructionHeavyTokenCap: number;
|
|
1005
|
+
namespacePolicies: Array<{
|
|
1006
|
+
name: string;
|
|
1007
|
+
}>;
|
|
1008
|
+
};
|
|
1009
|
+
getStorage(namespace?: string): Promise<{
|
|
1010
|
+
readBehaviorSignals(limit?: number): Promise<BehaviorSignalEvent[]>;
|
|
1011
|
+
}>;
|
|
1012
|
+
rollbackBehaviorRuntimePolicy(): Promise<boolean>;
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Parse a date string strictly. Thin re-export of the canonical
|
|
1016
|
+
* implementation in `training-export/date-parse.ts` so that the
|
|
1017
|
+
* `@remnic/cli` front-end and the core CLI use identical semantics
|
|
1018
|
+
* (CLAUDE.md #22: shared helpers must not be re-implemented per caller).
|
|
1019
|
+
*
|
|
1020
|
+
* Existing imports of `parseStrictCliDate` from `./cli.js` continue to
|
|
1021
|
+
* work — this re-export preserves backward compatibility for the
|
|
1022
|
+
* `cli-date-validation.test.ts` suite.
|
|
1023
|
+
*/
|
|
1024
|
+
declare const parseStrictCliDate: typeof parseStrictCliDate$1;
|
|
1025
|
+
/**
|
|
1026
|
+
* Parse an ISO 8601 duration string (e.g. "P1Y", "P90D", "P6M") or a plain
|
|
1027
|
+
* integer number of days (e.g. "365", "90") into milliseconds.
|
|
1028
|
+
*
|
|
1029
|
+
* Returns null if the value cannot be parsed.
|
|
1030
|
+
*/
|
|
1031
|
+
declare function parseDurationToMs(raw: string): number | null;
|
|
1032
|
+
declare function hasDestructivePurgeFailures(errors: Array<{
|
|
1033
|
+
id: string;
|
|
1034
|
+
}>): boolean;
|
|
1035
|
+
declare function runPolicyStatusCliCommand(orchestrator: PolicyTuningCliOrchestrator): Promise<PolicyStatusCliReport>;
|
|
1036
|
+
declare function runPolicyDiffCliCommand(orchestrator: PolicyTuningCliOrchestrator, options?: {
|
|
1037
|
+
since?: string;
|
|
1038
|
+
}): Promise<PolicyDiffCliReport>;
|
|
1039
|
+
declare function runPolicyRollbackCliCommand(orchestrator: PolicyTuningCliOrchestrator): Promise<PolicyRollbackCliReport>;
|
|
1040
|
+
declare function runMemoryActionAuditCliCommand(orchestrator: MemoryActionAuditCliOrchestrator, options?: MemoryActionAuditCliCommandOptions): Promise<MemoryActionAuditCliReport>;
|
|
1041
|
+
declare function runTailscaleStatusCliCommand(options?: TailscaleStatusCliCommandOptions): Promise<{
|
|
1042
|
+
available: boolean;
|
|
1043
|
+
running: boolean;
|
|
1044
|
+
backendState?: string;
|
|
1045
|
+
version?: string;
|
|
1046
|
+
selfHostname?: string;
|
|
1047
|
+
selfIp?: string;
|
|
1048
|
+
}>;
|
|
1049
|
+
declare function runTailscaleSyncCliCommand(options: TailscaleSyncCliCommandOptions): Promise<{
|
|
1050
|
+
ok: true;
|
|
1051
|
+
}>;
|
|
1052
|
+
declare function runWebDavServeCliCommand(options: WebDavServeCliCommandOptions): Promise<{
|
|
1053
|
+
running: boolean;
|
|
1054
|
+
host: string;
|
|
1055
|
+
port: number;
|
|
1056
|
+
rootCount: number;
|
|
1057
|
+
}>;
|
|
1058
|
+
declare function runWebDavStopCliCommand(): Promise<{
|
|
1059
|
+
stopped: boolean;
|
|
1060
|
+
}>;
|
|
1061
|
+
declare function runDashboardStartCliCommand(options: DashboardStartCliCommandOptions): Promise<DashboardStatus>;
|
|
1062
|
+
declare function runDashboardStopCliCommand(): Promise<{
|
|
1063
|
+
stopped: boolean;
|
|
1064
|
+
}>;
|
|
1065
|
+
declare function runDashboardStatusCliCommand(): Promise<{
|
|
1066
|
+
running: false;
|
|
1067
|
+
} | DashboardStatus>;
|
|
1068
|
+
declare function runAccessHttpServeCliCommand(options: AccessHttpServeCliCommandOptions): Promise<{
|
|
1069
|
+
running: boolean;
|
|
1070
|
+
host: string;
|
|
1071
|
+
port: number;
|
|
1072
|
+
maxBodyBytes: number;
|
|
1073
|
+
}>;
|
|
1074
|
+
declare function runAccessHttpStopCliCommand(): Promise<{
|
|
1075
|
+
stopped: boolean;
|
|
1076
|
+
}>;
|
|
1077
|
+
declare function runAccessHttpStatusCliCommand(): Promise<{
|
|
1078
|
+
running: false;
|
|
1079
|
+
} | {
|
|
1080
|
+
running: boolean;
|
|
1081
|
+
host: string;
|
|
1082
|
+
port: number;
|
|
1083
|
+
maxBodyBytes: number;
|
|
1084
|
+
}>;
|
|
1085
|
+
declare function runAccessMcpServeCliCommand(service: EngramAccessService, options?: {
|
|
1086
|
+
principal?: string;
|
|
1087
|
+
createServer?: (service: EngramAccessService, options: {
|
|
1088
|
+
principal?: string;
|
|
1089
|
+
}) => EngramMcpServerLike;
|
|
1090
|
+
stdin?: Readable;
|
|
1091
|
+
stdout?: Writable;
|
|
1092
|
+
}): Promise<{
|
|
1093
|
+
ok: true;
|
|
1094
|
+
}>;
|
|
1095
|
+
declare function runCompatCliCommand(options?: CompatCliCommandOptions): Promise<{
|
|
1096
|
+
report: CompatReport;
|
|
1097
|
+
exitCode: number;
|
|
1098
|
+
}>;
|
|
1099
|
+
declare function runRouteCliCommand(options: RouteCliCommandOptions): Promise<unknown>;
|
|
1100
|
+
declare function runWorkTaskCliCommand(options: WorkTaskCliCommandOptions): Promise<unknown>;
|
|
1101
|
+
declare function runWorkProjectCliCommand(options: WorkProjectCliCommandOptions): Promise<unknown>;
|
|
1102
|
+
declare function runReplayCliCommand(orchestrator: ReplayCliOrchestrator, options: ReplayCliCommandOptions): Promise<ReplayRunSummary>;
|
|
1103
|
+
interface BulkImportCliCommandOptions {
|
|
1104
|
+
memoryDir: string;
|
|
1105
|
+
source: string;
|
|
1106
|
+
file: string;
|
|
1107
|
+
batchSize?: number;
|
|
1108
|
+
dryRun?: boolean;
|
|
1109
|
+
verbose?: boolean;
|
|
1110
|
+
strict?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Optional adapter-specific platform hint forwarded to `adapter.parse`.
|
|
1113
|
+
* Some bulk-import adapters (e.g. weclone) accept a platform discriminator
|
|
1114
|
+
* so a single adapter can parse Telegram JSON, WeChat JSON, etc. without
|
|
1115
|
+
* shipping a separate source for each. When undefined, adapters pick a
|
|
1116
|
+
* default based on file shape.
|
|
1117
|
+
*/
|
|
1118
|
+
platform?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Callback that actually performs extraction + persistence for a batch of
|
|
1121
|
+
* parsed turns. Supplied by the host CLI (which has the orchestrator in
|
|
1122
|
+
* scope). When omitted, non-dryRun invocations fail fast with a clear
|
|
1123
|
+
* error — this protects library callers that have not wired persistence
|
|
1124
|
+
* yet and keeps the contract explicit rather than silently dropping turns.
|
|
1125
|
+
*/
|
|
1126
|
+
ingestBatch?: ProcessBatchFn;
|
|
1127
|
+
stdout: Writable;
|
|
1128
|
+
stderr: Writable;
|
|
1129
|
+
}
|
|
1130
|
+
declare function runBulkImportCliCommand(opts: BulkImportCliCommandOptions): Promise<BulkImportResult>;
|
|
1131
|
+
declare function resolveMemoryDirForNamespace(orchestrator: Orchestrator, namespace?: string, options?: {
|
|
1132
|
+
rejectUnsupportedOverride?: boolean;
|
|
1133
|
+
}): Promise<string>;
|
|
1134
|
+
declare function registerCli(api: CliApi, orchestrator: Orchestrator, registerOptions?: RegisterCliOptions): void;
|
|
1135
|
+
|
|
1136
|
+
export { parseDurationToMs as $, type AccessHttpServeCliCommandOptions as A, type BulkImportCliCommandOptions as B, type CompatCliCommandOptions as C, type DashboardStartCliCommandOptions as D, type ExactDedupePlan as E, type RepairMemoryProjectionCliCommandOptions as F, type GraphHealthCliCommandOptions as G, type ReplayCliCommandOptions as H, type ReplayCliOrchestrator as I, type RouteCliCommandOptions as J, type SessionRepairCliCommandOptions as K, type TailscaleSyncCliCommandOptions as L, type MemoryActionAuditCliCommandOptions as M, type TierMigrationCliOrchestrator as N, type TrainingExportCliCommandOptions as O, type ProcessBatchFn as P, type WorkProjectCliCommandOptions as Q, type RebuildMemoryLifecycleLedgerCliCommandOptions as R, type SessionIntegrityCliCommandOptions as S, type TailscaleStatusCliCommandOptions as T, type WorkTaskCliCommandOptions as U, type VerifyMemoryProjectionCliCommandOptions as V, type WebDavServeCliCommandOptions as W, emitConnectorsRunCliResult as X, filterNormalMemorySearchResults as Y, hasDestructivePurgeFailures as Z, isNormalRetrievalVisibleMemory as _, type ProcessBatchResult as a, runTailscaleStatusCliCommand as a$, parseStrictCliDate as a0, planAggressiveDuplicateDeletions as a1, planExactDuplicateDeletions as a2, registerCli as a3, resolveAccessPrincipalOverride as a4, resolveMemoryDirForNamespace as a5, runAbstractionNodeStatusCliCommand as a6, runAccessHttpServeCliCommand as a7, runAccessHttpStatusCliCommand as a8, runAccessHttpStopCliCommand as a9, runMemoryGovernanceCliCommand as aA, runMemoryGovernanceReportCliCommand as aB, runMemoryGovernanceRestoreCliCommand as aC, runMemoryReviewDispositionCliCommand as aD, runMemoryTimelineCliCommand as aE, runMigrateNormalizeFrontmatterCliCommand as aF, runMigrateObservationsCliCommand as aG, runMigrateRechunkCliCommand as aH, runMigrateReextractCliCommand as aI, runMigrateRescoreImportanceCliCommand as aJ, runObjectiveStateStatusCliCommand as aK, runPolicyDiffCliCommand as aL, runPolicyRollbackCliCommand as aM, runPolicyStatusCliCommand as aN, runRebuildMemoryLifecycleLedgerCliCommand as aO, runRebuildMemoryProjectionCliCommand as aP, runRebuildObservationsCliCommand as aQ, runRepairMemoryProjectionCliCommand as aR, runReplayCliCommand as aS, runResumeBundleBuildCliCommand as aT, runResumeBundleRecordCliCommand as aU, runResumeBundleStatusCliCommand as aV, runRouteCliCommand as aW, runSemanticRulePromoteCliCommand as aX, runSemanticRuleVerifyCliCommand as aY, runSessionCheckCliCommand as aZ, runSessionRepairCliCommand as a_, runAccessMcpServeCliCommand as aa, runArchiveObservationsCliCommand as ab, runBenchmarkBaselineReportCliCommand as ac, runBenchmarkBaselineSnapshotCliCommand as ad, runBenchmarkCiGateCliCommand as ae, runBenchmarkImportCliCommand as af, runBenchmarkStatusCliCommand as ag, runBenchmarkStoredBaselineCiGateCliCommand as ah, runBenchmarkValidateCliCommand as ai, runCausalTrajectoryStatusCliCommand as aj, runCommitmentLifecycleCliCommand as ak, runCommitmentRecordCliCommand as al, runCommitmentSetStateCliCommand as am, runCommitmentStatusCliCommand as an, runCompatCliCommand as ao, runCompoundingPromoteCliCommand as ap, runConversationIndexHealthCliCommand as aq, runConversationIndexInspectCliCommand as ar, runConversationIndexRebuildCliCommand as as, runCueAnchorStatusCliCommand as at, runDashboardStartCliCommand as au, runDashboardStatusCliCommand as av, runDashboardStopCliCommand as aw, runGraphHealthCliCommand as ax, runHarmonicSearchCliCommand as ay, runMemoryActionAuditCliCommand as az, runBulkImportPipeline as b, runTailscaleSyncCliCommand as b0, runTierMigrateCliCommand as b1, runTierStatusCliCommand as b2, runTrainingExportCliCommand as b3, runTrustZoneDemoSeedCliCommand as b4, runTrustZonePromoteCliCommand as b5, runTrustZoneStatusCliCommand as b6, runUtilityLearningCliCommand as b7, runUtilityLearningStatusCliCommand as b8, runUtilityTelemetryRecordCliCommand as b9, runUtilityTelemetryStatusCliCommand as ba, runVerifiedRecallSearchCliCommand as bb, runVerifyMemoryProjectionCliCommand as bc, runWebDavServeCliCommand as bd, runWebDavStopCliCommand as be, runWorkProductRecallSearchCliCommand as bf, runWorkProductRecordCliCommand as bg, runWorkProductStatusCliCommand as bh, runWorkProjectCliCommand as bi, runWorkTaskCliCommand as bj, type ArchiveObservationsCliCommandOptions as c, type ConnectorsRunCliOutputOptions as d, type ConversationIndexHealthCliOrchestrator as e, formatBatchTranscript as f, type DedupeCandidate as g, type MemoryActionAuditCliNamespaceSummary as h, type MemoryActionAuditCliReport as i, type MemoryGovernanceCliCommandOptions as j, type MemoryGovernanceReportCliCommandOptions as k, type MemoryGovernanceRestoreCliCommandOptions as l, type MemoryReviewDispositionCliCommandOptions as m, type MemoryTimelineCliCommandOptions as n, type MigrateCliOrchestrator as o, parseStrictCliDate$1 as p, type MigrateCliReport as q, runBulkImportCliCommand as r, type MigrateObservationsCliCommandOptions as s, type PolicyDiffCliReport as t, type PolicyDiffEntry as u, type PolicyRollbackCliReport as v, type PolicyStatusCliReport as w, type PolicyTuningCliOrchestrator as x, type RebuildMemoryProjectionCliCommandOptions as y, type RebuildObservationsCliCommandOptions as z };
|