@theokit/sdk 4.62.0 → 4.63.1
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/CHANGELOG.md +97 -0
- package/dist/a2a/index.cjs +2 -2
- package/dist/a2a/index.js +1 -1
- package/dist/{agent-DIu6FooJ.d.ts → agent-BFno7Sfn.d.ts} +36 -21
- package/dist/agent-WK7MKIMH.cjs +66 -0
- package/dist/{agent-VYPUO4UB.cjs.map → agent-WK7MKIMH.cjs.map} +1 -1
- package/dist/{agent-D3Xr_-6Z.d.cts → agent-X0DKA943.d.cts} +36 -21
- package/dist/agent-YWMBM7LX.js +57 -0
- package/dist/{agent-NVBFTY5H.js.map → agent-YWMBM7LX.js.map} +1 -1
- package/dist/agent-session-store-6EL5NPA4.cjs +24 -0
- package/dist/{agent-session-store-WAKLOKWK.cjs.map → agent-session-store-6EL5NPA4.cjs.map} +1 -1
- package/dist/agent-session-store-OPGRB4XM.js +7 -0
- package/dist/{agent-session-store-G2BMUZQV.js.map → agent-session-store-OPGRB4XM.js.map} +1 -1
- package/dist/auth/index.cjs +18 -18
- package/dist/auth/index.js +6 -6
- package/dist/{batch-ND32UKZS.cjs → batch-BXYTW2DP.cjs} +27 -27
- package/dist/{batch-ND32UKZS.cjs.map → batch-BXYTW2DP.cjs.map} +1 -1
- package/dist/{batch-2TGJMNCJ.js → batch-L4ZXS46M.js} +10 -10
- package/dist/{batch-2TGJMNCJ.js.map → batch-L4ZXS46M.js.map} +1 -1
- package/dist/{chunk-VF7EWVDG.js → chunk-2GUYQR5P.js} +3 -3
- package/dist/{chunk-VF7EWVDG.js.map → chunk-2GUYQR5P.js.map} +1 -1
- package/dist/{chunk-J2UROOIG.cjs → chunk-2HVF2WJY.cjs} +8 -8
- package/dist/{chunk-J2UROOIG.cjs.map → chunk-2HVF2WJY.cjs.map} +1 -1
- package/dist/{chunk-44MBDIHG.js → chunk-2QDYBS2A.js} +3 -3
- package/dist/{chunk-44MBDIHG.js.map → chunk-2QDYBS2A.js.map} +1 -1
- package/dist/{chunk-NGESVVJN.cjs → chunk-3FFAEAUJ.cjs} +17 -17
- package/dist/{chunk-NGESVVJN.cjs.map → chunk-3FFAEAUJ.cjs.map} +1 -1
- package/dist/{chunk-GWC3HADL.cjs → chunk-3NSS2OIZ.cjs} +4 -4
- package/dist/{chunk-GWC3HADL.cjs.map → chunk-3NSS2OIZ.cjs.map} +1 -1
- package/dist/{chunk-CV7XMBHP.js → chunk-3O42QOMJ.js} +3 -3
- package/dist/{chunk-CV7XMBHP.js.map → chunk-3O42QOMJ.js.map} +1 -1
- package/dist/{chunk-IWBGCBR6.cjs → chunk-4CLOXP6H.cjs} +4 -4
- package/dist/{chunk-IWBGCBR6.cjs.map → chunk-4CLOXP6H.cjs.map} +1 -1
- package/dist/{chunk-YEXA3PGR.js → chunk-4FFBAUFS.js} +5 -5
- package/dist/{chunk-YEXA3PGR.js.map → chunk-4FFBAUFS.js.map} +1 -1
- package/dist/{chunk-HY57ULY2.cjs → chunk-4PYZ5AX3.cjs} +5 -5
- package/dist/{chunk-HY57ULY2.cjs.map → chunk-4PYZ5AX3.cjs.map} +1 -1
- package/dist/{chunk-OC4NTGMN.js → chunk-4QZSA2HJ.js} +3 -3
- package/dist/{chunk-OC4NTGMN.js.map → chunk-4QZSA2HJ.js.map} +1 -1
- package/dist/{chunk-K3FW2XZD.cjs → chunk-4ZHTIJNE.cjs} +9 -9
- package/dist/{chunk-K3FW2XZD.cjs.map → chunk-4ZHTIJNE.cjs.map} +1 -1
- package/dist/{chunk-BUIK7GUA.cjs → chunk-5HEG4CQH.cjs} +8 -8
- package/dist/{chunk-BUIK7GUA.cjs.map → chunk-5HEG4CQH.cjs.map} +1 -1
- package/dist/{chunk-SKXBJ2NU.cjs → chunk-5VB22SYX.cjs} +7 -54
- package/dist/chunk-5VB22SYX.cjs.map +1 -0
- package/dist/{chunk-5USCYPPI.cjs → chunk-6HKGLTJI.cjs} +8 -8
- package/dist/{chunk-5USCYPPI.cjs.map → chunk-6HKGLTJI.cjs.map} +1 -1
- package/dist/chunk-6RKUO7AW.cjs +864 -0
- package/dist/chunk-6RKUO7AW.cjs.map +1 -0
- package/dist/{chunk-5JLFFPCH.js → chunk-7YGCPMGB.js} +4 -4
- package/dist/{chunk-5JLFFPCH.js.map → chunk-7YGCPMGB.js.map} +1 -1
- package/dist/{chunk-SUKXXLWD.js → chunk-A46SWMIF.js} +6 -6
- package/dist/{chunk-SUKXXLWD.js.map → chunk-A46SWMIF.js.map} +1 -1
- package/dist/{chunk-F7AQV62G.js → chunk-A4JVILQU.js} +5 -5
- package/dist/{chunk-F7AQV62G.js.map → chunk-A4JVILQU.js.map} +1 -1
- package/dist/chunk-A4RAL2ER.cjs +51 -0
- package/dist/chunk-A4RAL2ER.cjs.map +1 -0
- package/dist/{chunk-44JAAH4X.js → chunk-B3IMEBOA.js} +3 -3
- package/dist/{chunk-44JAAH4X.js.map → chunk-B3IMEBOA.js.map} +1 -1
- package/dist/{chunk-QDED6YO6.cjs → chunk-B4EOJWOY.cjs} +5 -5
- package/dist/{chunk-QDED6YO6.cjs.map → chunk-B4EOJWOY.cjs.map} +1 -1
- package/dist/{chunk-YJDH3CKG.js → chunk-BP46RJ5X.js} +5 -5
- package/dist/{chunk-YJDH3CKG.js.map → chunk-BP46RJ5X.js.map} +1 -1
- package/dist/{chunk-QRSUA2CV.js → chunk-BU4KFWXF.js} +3 -3
- package/dist/{chunk-QRSUA2CV.js.map → chunk-BU4KFWXF.js.map} +1 -1
- package/dist/{chunk-IBYRA5PM.js → chunk-BVJJ3DRV.js} +6 -6
- package/dist/{chunk-IBYRA5PM.js.map → chunk-BVJJ3DRV.js.map} +1 -1
- package/dist/{chunk-AQLGBKNT.js → chunk-BZRFXJHA.js} +3 -3
- package/dist/{chunk-AQLGBKNT.js.map → chunk-BZRFXJHA.js.map} +1 -1
- package/dist/{chunk-UQGQFBRL.js → chunk-C3NT3PVE.js} +3 -3
- package/dist/{chunk-UQGQFBRL.js.map → chunk-C3NT3PVE.js.map} +1 -1
- package/dist/{chunk-UC3HT2S4.js → chunk-C72AZW7J.js} +3 -3
- package/dist/{chunk-UC3HT2S4.js.map → chunk-C72AZW7J.js.map} +1 -1
- package/dist/{chunk-WNTAPVU5.cjs → chunk-CQBXOJ6U.cjs} +13 -13
- package/dist/{chunk-WNTAPVU5.cjs.map → chunk-CQBXOJ6U.cjs.map} +1 -1
- package/dist/{chunk-T7XEKOVW.js → chunk-D4CUGAKZ.js} +3 -3
- package/dist/{chunk-T7XEKOVW.js.map → chunk-D4CUGAKZ.js.map} +1 -1
- package/dist/chunk-DKD3MH6A.js +194 -0
- package/dist/chunk-DKD3MH6A.js.map +1 -0
- package/dist/{chunk-YXGAW7BB.js → chunk-DN2PACRI.js} +10 -10
- package/dist/{chunk-YXGAW7BB.js.map → chunk-DN2PACRI.js.map} +1 -1
- package/dist/{chunk-XSX2UU6Y.cjs → chunk-DXGZ2NUG.cjs} +10 -10
- package/dist/{chunk-XSX2UU6Y.cjs.map → chunk-DXGZ2NUG.cjs.map} +1 -1
- package/dist/{chunk-NUKRL3I6.cjs → chunk-EG4QM7ZJ.cjs} +18 -2
- package/dist/chunk-EG4QM7ZJ.cjs.map +1 -0
- package/dist/chunk-GEEXBYFL.js +831 -0
- package/dist/chunk-GEEXBYFL.js.map +1 -0
- package/dist/chunk-GKEFRLU7.cjs +21 -0
- package/dist/chunk-GKEFRLU7.cjs.map +1 -0
- package/dist/{chunk-NIRE5CNO.cjs → chunk-HCZD23VS.cjs} +13 -13
- package/dist/{chunk-NIRE5CNO.cjs.map → chunk-HCZD23VS.cjs.map} +1 -1
- package/dist/chunk-HOXVQ5FR.cjs +201 -0
- package/dist/chunk-HOXVQ5FR.cjs.map +1 -0
- package/dist/{chunk-QARJGQSA.js → chunk-HS7AVXTF.js} +3 -3
- package/dist/{chunk-QARJGQSA.js.map → chunk-HS7AVXTF.js.map} +1 -1
- package/dist/{chunk-4I55V454.cjs → chunk-I6HGWHPU.cjs} +4 -4
- package/dist/{chunk-4I55V454.cjs.map → chunk-I6HGWHPU.cjs.map} +1 -1
- package/dist/{chunk-T73NA43R.js → chunk-IPYYKCRC.js} +3 -3
- package/dist/{chunk-T73NA43R.js.map → chunk-IPYYKCRC.js.map} +1 -1
- package/dist/{chunk-6OBIWHDR.cjs → chunk-ITYQ6VBP.cjs} +24 -365
- package/dist/chunk-ITYQ6VBP.cjs.map +1 -0
- package/dist/chunk-JPBKYL3B.cjs +18 -0
- package/dist/{chunk-6HTXPPHK.cjs.map → chunk-JPBKYL3B.cjs.map} +1 -1
- package/dist/{chunk-MZ2FGBLZ.js → chunk-K5OJUYSZ.js} +4 -4
- package/dist/{chunk-MZ2FGBLZ.js.map → chunk-K5OJUYSZ.js.map} +1 -1
- package/dist/{chunk-SKOCYA55.js → chunk-KIH6IZ43.js} +90 -88
- package/dist/chunk-KIH6IZ43.js.map +1 -0
- package/dist/{chunk-EI2Q7SJ5.cjs → chunk-KQ7TS7WW.cjs} +10 -10
- package/dist/{chunk-EI2Q7SJ5.cjs.map → chunk-KQ7TS7WW.cjs.map} +1 -1
- package/dist/{chunk-RUDY2GTT.js → chunk-KQRW2GPZ.js} +5 -5
- package/dist/{chunk-RUDY2GTT.js.map → chunk-KQRW2GPZ.js.map} +1 -1
- package/dist/{chunk-P5LCASTC.cjs → chunk-KYAJINUI.cjs} +125 -125
- package/dist/{chunk-P5LCASTC.cjs.map → chunk-KYAJINUI.cjs.map} +1 -1
- package/dist/{chunk-CQ2TQ32Y.js → chunk-LWGSI6M3.js} +5 -50
- package/dist/chunk-LWGSI6M3.js.map +1 -0
- package/dist/{chunk-ZHPWGIUX.js → chunk-LXI4XZEC.js} +5 -5
- package/dist/{chunk-ZHPWGIUX.js.map → chunk-LXI4XZEC.js.map} +1 -1
- package/dist/{chunk-AG5JPQIY.js → chunk-LXQ6HKPS.js} +3 -3
- package/dist/{chunk-AG5JPQIY.js.map → chunk-LXQ6HKPS.js.map} +1 -1
- package/dist/{chunk-ROYPRJH4.cjs → chunk-LYRDF5TQ.cjs} +9 -9
- package/dist/{chunk-ROYPRJH4.cjs.map → chunk-LYRDF5TQ.cjs.map} +1 -1
- package/dist/{chunk-G24KZRSA.js → chunk-N2U4AZGB.js} +3 -3
- package/dist/{chunk-G24KZRSA.js.map → chunk-N2U4AZGB.js.map} +1 -1
- package/dist/{chunk-4ERPXIVB.js → chunk-O73J46PV.js} +5 -5
- package/dist/{chunk-4ERPXIVB.js.map → chunk-O73J46PV.js.map} +1 -1
- package/dist/{chunk-F3YZMOAU.cjs → chunk-O7DK5PBJ.cjs} +4 -4
- package/dist/{chunk-F3YZMOAU.cjs.map → chunk-O7DK5PBJ.cjs.map} +1 -1
- package/dist/{chunk-Z4BCLVTI.cjs → chunk-O7LZFG6O.cjs} +5 -5
- package/dist/{chunk-Z4BCLVTI.cjs.map → chunk-O7LZFG6O.cjs.map} +1 -1
- package/dist/{chunk-3YJNUKYN.cjs → chunk-OHLDPWTA.cjs} +15 -15
- package/dist/{chunk-3YJNUKYN.cjs.map → chunk-OHLDPWTA.cjs.map} +1 -1
- package/dist/{chunk-FUL2I7G5.js → chunk-OSEG74VJ.js} +8 -8
- package/dist/{chunk-FUL2I7G5.js.map → chunk-OSEG74VJ.js.map} +1 -1
- package/dist/{chunk-UCBJBJ27.js → chunk-PUAEFLYK.js} +4 -4
- package/dist/{chunk-UCBJBJ27.js.map → chunk-PUAEFLYK.js.map} +1 -1
- package/dist/{chunk-CWHTMNNK.cjs → chunk-Q7LPTOD6.cjs} +24 -24
- package/dist/{chunk-CWHTMNNK.cjs.map → chunk-Q7LPTOD6.cjs.map} +1 -1
- package/dist/{chunk-2C72DXQF.cjs → chunk-RFMBZPOW.cjs} +9 -9
- package/dist/{chunk-2C72DXQF.cjs.map → chunk-RFMBZPOW.cjs.map} +1 -1
- package/dist/{chunk-NLTVXLGT.js → chunk-RFXWMRFC.js} +3 -3
- package/dist/{chunk-NLTVXLGT.js.map → chunk-RFXWMRFC.js.map} +1 -1
- package/dist/{chunk-2DG7KW4L.cjs → chunk-RMWTPV3M.cjs} +8 -8
- package/dist/{chunk-2DG7KW4L.cjs.map → chunk-RMWTPV3M.cjs.map} +1 -1
- package/dist/{chunk-P6A3M6VD.cjs → chunk-SZVR77EJ.cjs} +10 -10
- package/dist/{chunk-P6A3M6VD.cjs.map → chunk-SZVR77EJ.cjs.map} +1 -1
- package/dist/{chunk-3E77SX4H.js → chunk-TAZVKYWJ.js} +3 -3
- package/dist/{chunk-3E77SX4H.js.map → chunk-TAZVKYWJ.js.map} +1 -1
- package/dist/{chunk-WKRSH2VR.js → chunk-U6IFHFWK.js} +3 -3
- package/dist/{chunk-WKRSH2VR.js.map → chunk-U6IFHFWK.js.map} +1 -1
- package/dist/{chunk-I6TGFUCO.cjs → chunk-UALX2J2Q.cjs} +4 -4
- package/dist/{chunk-I6TGFUCO.cjs.map → chunk-UALX2J2Q.cjs.map} +1 -1
- package/dist/{chunk-XN7NOENA.js → chunk-UBDMVMBZ.js} +5 -5
- package/dist/{chunk-XN7NOENA.js.map → chunk-UBDMVMBZ.js.map} +1 -1
- package/dist/{chunk-QEKI3YKI.js → chunk-UEXIJTLC.js} +14 -349
- package/dist/chunk-UEXIJTLC.js.map +1 -0
- package/dist/{chunk-DQKERTND.cjs → chunk-UGT7GK7I.cjs} +11 -11
- package/dist/{chunk-DQKERTND.cjs.map → chunk-UGT7GK7I.cjs.map} +1 -1
- package/dist/{chunk-FKMUFNQE.js → chunk-UMP6OJIM.js} +4 -4
- package/dist/{chunk-FKMUFNQE.js.map → chunk-UMP6OJIM.js.map} +1 -1
- package/dist/{chunk-AEOZTXVW.js → chunk-UNYXQ4M5.js} +3 -3
- package/dist/{chunk-AEOZTXVW.js.map → chunk-UNYXQ4M5.js.map} +1 -1
- package/dist/{chunk-2BDH744Z.js → chunk-UTSRIDKZ.js} +3 -3
- package/dist/{chunk-2BDH744Z.js.map → chunk-UTSRIDKZ.js.map} +1 -1
- package/dist/{chunk-2ADR2GSO.cjs → chunk-UU36SHFY.cjs} +5 -5
- package/dist/{chunk-2ADR2GSO.cjs.map → chunk-UU36SHFY.cjs.map} +1 -1
- package/dist/{chunk-R3UPQFKK.cjs → chunk-V2BOS4WF.cjs} +9 -9
- package/dist/{chunk-R3UPQFKK.cjs.map → chunk-V2BOS4WF.cjs.map} +1 -1
- package/dist/chunk-WE22OXQA.js +48 -0
- package/dist/chunk-WE22OXQA.js.map +1 -0
- package/dist/{chunk-Q4CMI2LP.js → chunk-WLQNMXQE.js} +5 -5
- package/dist/{chunk-Q4CMI2LP.js.map → chunk-WLQNMXQE.js.map} +1 -1
- package/dist/{chunk-XWL6O3SW.cjs → chunk-WNO3C3N2.cjs} +4 -4
- package/dist/{chunk-XWL6O3SW.cjs.map → chunk-WNO3C3N2.cjs.map} +1 -1
- package/dist/{chunk-T7O6K6PX.js → chunk-XEQ3TM66.js} +18 -3
- package/dist/chunk-XEQ3TM66.js.map +1 -0
- package/dist/{chunk-BVZW2B5V.cjs → chunk-XJCXEKMD.cjs} +4 -4
- package/dist/{chunk-BVZW2B5V.cjs.map → chunk-XJCXEKMD.cjs.map} +1 -1
- package/dist/{chunk-JTB5Q42C.cjs → chunk-XL7Q7HB2.cjs} +4 -4
- package/dist/{chunk-JTB5Q42C.cjs.map → chunk-XL7Q7HB2.cjs.map} +1 -1
- package/dist/chunk-XO4SOZN6.js +19 -0
- package/dist/chunk-XO4SOZN6.js.map +1 -0
- package/dist/{chunk-CQGYNZ3K.cjs → chunk-XWTLIGO3.cjs} +4 -4
- package/dist/{chunk-CQGYNZ3K.cjs.map → chunk-XWTLIGO3.cjs.map} +1 -1
- package/dist/{chunk-6SBW4QR2.cjs → chunk-YML4ME27.cjs} +11 -11
- package/dist/{chunk-6SBW4QR2.cjs.map → chunk-YML4ME27.cjs.map} +1 -1
- package/dist/{chunk-P6H23T43.cjs → chunk-ZCIRZE37.cjs} +11 -11
- package/dist/{chunk-P6H23T43.cjs.map → chunk-ZCIRZE37.cjs.map} +1 -1
- package/dist/{chunk-QI7WE46I.cjs → chunk-ZLQSWSJ2.cjs} +11 -11
- package/dist/{chunk-QI7WE46I.cjs.map → chunk-ZLQSWSJ2.cjs.map} +1 -1
- package/dist/{chunk-AH6WD7JR.cjs → chunk-ZMRD5DZQ.cjs} +362 -360
- package/dist/chunk-ZMRD5DZQ.cjs.map +1 -0
- package/dist/{chunk-ILCGLTSA.cjs → chunk-ZSWPZ23K.cjs} +4 -4
- package/dist/{chunk-ILCGLTSA.cjs.map → chunk-ZSWPZ23K.cjs.map} +1 -1
- package/dist/{chunk-IDCKSLYH.js → chunk-ZZMZWBR6.js} +3 -3
- package/dist/{chunk-IDCKSLYH.js.map → chunk-ZZMZWBR6.js.map} +1 -1
- package/dist/compact-session-QV57KR66.cjs +59 -0
- package/dist/{compact-session-GJXJD73F.cjs.map → compact-session-QV57KR66.cjs.map} +1 -1
- package/dist/compact-session-RIGOWC4Y.js +22 -0
- package/dist/{compact-session-TSMQOIHO.js.map → compact-session-RIGOWC4Y.js.map} +1 -1
- package/dist/compaction.cjs +17 -17
- package/dist/compaction.js +4 -4
- package/dist/concurrency.cjs +7 -7
- package/dist/concurrency.js +5 -5
- package/dist/context-AGQ3DIZU.cjs +24 -0
- package/dist/{context-LCKNH2XI.cjs.map → context-AGQ3DIZU.cjs.map} +1 -1
- package/dist/context-GQRFBCLP.js +7 -0
- package/dist/{context-MZSKGKYR.js.map → context-GQRFBCLP.js.map} +1 -1
- package/dist/{cron-BcWmzWzT.d.cts → cron-BuiRPrvt.d.cts} +1 -1
- package/dist/{cron-De6hzWCF.d.ts → cron-C2SIi31n.d.ts} +1 -1
- package/dist/cron.cjs +37 -35
- package/dist/cron.d.cts +2 -2
- package/dist/cron.d.ts +2 -2
- package/dist/cron.js +36 -34
- package/dist/errors.cjs +22 -22
- package/dist/errors.js +3 -3
- package/dist/eval.cjs +42 -40
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +36 -34
- package/dist/eval.js.map +1 -1
- package/dist/{executor-ZERJ3DGN.cjs → executor-6CYCA7MI.cjs} +25 -25
- package/dist/{executor-ZERJ3DGN.cjs.map → executor-6CYCA7MI.cjs.map} +1 -1
- package/dist/{executor-BMEHFOXZ.js → executor-QSEC3MRH.js} +8 -8
- package/dist/{executor-BMEHFOXZ.js.map → executor-QSEC3MRH.js.map} +1 -1
- package/dist/filesystem/index.cjs +8 -8
- package/dist/filesystem/index.js +4 -4
- package/dist/fs-session-store-4PIHT5UX.cjs +20 -0
- package/dist/{fs-session-store-XZ7ZTB3A.cjs.map → fs-session-store-4PIHT5UX.cjs.map} +1 -1
- package/dist/fs-session-store-NM6YSTE2.js +11 -0
- package/dist/{fs-session-store-4BHGIWRE.js.map → fs-session-store-NM6YSTE2.js.map} +1 -1
- package/dist/generate-object-GUNAUVBX.js +8 -0
- package/dist/{generate-object-N5MDZUJI.js.map → generate-object-GUNAUVBX.js.map} +1 -1
- package/dist/generate-object-R7HTMW7F.cjs +21 -0
- package/dist/{generate-object-PGSP5U7N.cjs.map → generate-object-R7HTMW7F.cjs.map} +1 -1
- package/dist/index-manager-RBDHP3PM.js +17 -0
- package/dist/{index-manager-AHAYJ33H.js.map → index-manager-RBDHP3PM.js.map} +1 -1
- package/dist/index-manager-UZBF22BJ.cjs +26 -0
- package/dist/{index-manager-RHPFVFSC.cjs.map → index-manager-UZBF22BJ.cjs.map} +1 -1
- package/dist/index.cjs +146 -319
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +62 -235
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-ZCQUB3IT.js → inject-session-DAR7OUCW.js} +8 -8
- package/dist/{inject-session-ZCQUB3IT.js.map → inject-session-DAR7OUCW.js.map} +1 -1
- package/dist/{inject-session-PPSO2IDD.cjs → inject-session-WQKMC3GR.cjs} +10 -10
- package/dist/{inject-session-PPSO2IDD.cjs.map → inject-session-WQKMC3GR.cjs.map} +1 -1
- package/dist/internal/memory/active-memory.d.ts +8 -1
- package/dist/internal/memory/adapters/index.cjs +9 -9
- package/dist/internal/memory/adapters/index.js +8 -8
- package/dist/internal/memory/dreaming/diary.d.ts +39 -2
- package/dist/internal/memory/index-db.d.ts +44 -1
- package/dist/internal/memory/index-manager-contract.d.ts +10 -0
- package/dist/internal/memory/index-manager-helpers.d.ts +20 -1
- package/dist/internal/memory/index-manager.d.ts +1 -1
- package/dist/internal/memory/lance-index.d.ts +15 -1
- package/dist/internal/memory/migrate-sqlite-to-lance.d.ts +43 -0
- package/dist/internal/memory/storage/index.cjs +101 -18
- package/dist/internal/memory/storage/index.d.cts +11 -1
- package/dist/internal/memory/storage/index.d.ts +11 -1
- package/dist/internal/memory/storage/index.js +10 -7
- package/dist/internal/memory/storage/markdown-store.d.cts +13 -42
- package/dist/internal/memory/storage/markdown-store.d.ts +13 -42
- package/dist/internal/memory/storage/memory-root.d.cts +93 -0
- package/dist/internal/memory/storage/memory-root.d.ts +93 -0
- package/dist/internal/memory/storage/session-loader.d.cts +35 -1
- package/dist/internal/memory/storage/session-loader.d.ts +35 -1
- package/dist/internal/memory/storage/session-summary-writer.d.cts +50 -2
- package/dist/internal/memory/storage/session-summary-writer.d.ts +50 -2
- package/dist/internal/memory/storage/transcript-store.d.cts +38 -1
- package/dist/internal/memory/storage/transcript-store.d.ts +38 -1
- package/dist/internal/memory/storage/wiki-loader.d.cts +27 -2
- package/dist/internal/memory/storage/wiki-loader.d.ts +27 -2
- package/dist/internal/memory/tools.d.ts +8 -1
- package/dist/internal/memory/types.d.ts +5 -0
- package/dist/internal/persistence/index.cjs +29 -28
- package/dist/internal/persistence/index.cjs.map +1 -1
- package/dist/internal/persistence/index.js +8 -7
- package/dist/internal/persistence/index.js.map +1 -1
- package/dist/internal/persistence/session-dir.d.cts +0 -15
- package/dist/internal/persistence/session-dir.d.ts +0 -15
- package/dist/internal/runtime/memory/memory-store.d.ts +2 -2
- package/dist/internal/security/index.cjs +14 -14
- package/dist/internal/security/index.js +4 -4
- package/dist/judge-call-LAHMBJ57.cjs +23 -0
- package/dist/{judge-call-EGYRC2RE.cjs.map → judge-call-LAHMBJ57.cjs.map} +1 -1
- package/dist/judge-call-LVXABPS3.js +6 -0
- package/dist/{judge-call-DWHAJATE.js.map → judge-call-LVXABPS3.js.map} +1 -1
- package/dist/mcp-auth.cjs +15 -15
- package/dist/mcp-auth.js +5 -5
- package/dist/models.cjs +22 -22
- package/dist/models.js +7 -7
- package/dist/path-safety.cjs +11 -11
- package/dist/path-safety.js +4 -4
- package/dist/persistence.cjs +33 -32
- package/dist/persistence.cjs.map +1 -1
- package/dist/persistence.js +10 -9
- package/dist/persistence.js.map +1 -1
- package/dist/project.cjs +6 -6
- package/dist/project.js +4 -4
- package/dist/providers.cjs +9 -9
- package/dist/providers.js +7 -7
- package/dist/registry-75W33OGL.js +10 -0
- package/dist/{registry-VFP3WWQP.js.map → registry-75W33OGL.js.map} +1 -1
- package/dist/registry-V7BDQ6QB.cjs +47 -0
- package/dist/{registry-VFKX7WOP.cjs.map → registry-V7BDQ6QB.cjs.map} +1 -1
- package/dist/retry.cjs +5 -5
- package/dist/retry.js +4 -4
- package/dist/sandbox/index.cjs +7 -7
- package/dist/sandbox/index.js +3 -3
- package/dist/server/errors-envelope.cjs +15 -15
- package/dist/server/errors-envelope.js +4 -4
- package/dist/session-transcript-6WNITKRE.cjs +63 -0
- package/dist/{session-transcript-HF5GEU5M.cjs.map → session-transcript-6WNITKRE.cjs.map} +1 -1
- package/dist/session-transcript-XAEKW6P7.js +6 -0
- package/dist/{session-transcript-P462ZRHX.js.map → session-transcript-XAEKW6P7.js.map} +1 -1
- package/dist/skills.cjs +8 -8
- package/dist/skills.js +6 -6
- package/dist/stream-object-UF4QRQRU.js +8 -0
- package/dist/{stream-object-L57K4OFS.js.map → stream-object-UF4QRQRU.js.map} +1 -1
- package/dist/stream-object-ZJTQNKY3.cjs +21 -0
- package/dist/{stream-object-BUCF5PHO.cjs.map → stream-object-ZJTQNKY3.cjs.map} +1 -1
- package/dist/subagents-loader-CRT5LLL3.js +8 -0
- package/dist/{subagents-loader-6ATCDEKN.js.map → subagents-loader-CRT5LLL3.js.map} +1 -1
- package/dist/subagents-loader-YEUFFPAL.cjs +17 -0
- package/dist/{subagents-loader-X5QKODCL.cjs.map → subagents-loader-YEUFFPAL.cjs.map} +1 -1
- package/dist/subagents-loader.cjs +7 -7
- package/dist/subagents-loader.d.cts +1 -1
- package/dist/subagents-loader.d.ts +1 -1
- package/dist/subagents-loader.js +5 -5
- package/dist/subscription/index.cjs +4 -4
- package/dist/subscription/index.js +3 -3
- package/dist/task-store.cjs +8 -8
- package/dist/task-store.js +5 -5
- package/dist/types/agent.d.ts +11 -0
- package/dist/types/memory-provider.d.ts +8 -0
- package/dist/workflow.cjs +28 -28
- package/dist/workflow.js +7 -7
- package/docs/error-codes.md +10 -9
- package/docs/harness-capability-map.md +57 -17
- package/docs/memory-decisions.md +44 -7
- package/package.json +1 -1
- package/dist/agent-NVBFTY5H.js +0 -55
- package/dist/agent-VYPUO4UB.cjs +0 -64
- package/dist/agent-session-store-G2BMUZQV.js +0 -7
- package/dist/agent-session-store-WAKLOKWK.cjs +0 -24
- package/dist/chunk-2UCFUSPW.cjs +0 -468
- package/dist/chunk-2UCFUSPW.cjs.map +0 -1
- package/dist/chunk-6HTXPPHK.cjs +0 -18
- package/dist/chunk-6OBIWHDR.cjs.map +0 -1
- package/dist/chunk-AH6WD7JR.cjs.map +0 -1
- package/dist/chunk-CQ2TQ32Y.js.map +0 -1
- package/dist/chunk-NUKRL3I6.cjs.map +0 -1
- package/dist/chunk-QEKI3YKI.js.map +0 -1
- package/dist/chunk-SKOCYA55.js.map +0 -1
- package/dist/chunk-SKXBJ2NU.cjs.map +0 -1
- package/dist/chunk-T7O6K6PX.js.map +0 -1
- package/dist/chunk-WCLDJSMY.js +0 -456
- package/dist/chunk-WCLDJSMY.js.map +0 -1
- package/dist/compact-session-GJXJD73F.cjs +0 -59
- package/dist/compact-session-TSMQOIHO.js +0 -22
- package/dist/context-LCKNH2XI.cjs +0 -24
- package/dist/context-MZSKGKYR.js +0 -7
- package/dist/fs-session-store-4BHGIWRE.js +0 -11
- package/dist/fs-session-store-XZ7ZTB3A.cjs +0 -20
- package/dist/generate-object-N5MDZUJI.js +0 -8
- package/dist/generate-object-PGSP5U7N.cjs +0 -21
- package/dist/index-manager-AHAYJ33H.js +0 -16
- package/dist/index-manager-RHPFVFSC.cjs +0 -25
- package/dist/judge-call-DWHAJATE.js +0 -6
- package/dist/judge-call-EGYRC2RE.cjs +0 -23
- package/dist/registry-VFKX7WOP.cjs +0 -47
- package/dist/registry-VFP3WWQP.js +0 -10
- package/dist/session-transcript-HF5GEU5M.cjs +0 -63
- package/dist/session-transcript-P462ZRHX.js +0 -6
- package/dist/stream-object-BUCF5PHO.cjs +0 -21
- package/dist/stream-object-L57K4OFS.js +0 -8
- package/dist/subagents-loader-6ATCDEKN.js +0 -8
- package/dist/subagents-loader-X5QKODCL.cjs +0 -17
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { enqueueSessionWrite } from './chunk-
|
|
1
|
+
import { enqueueSessionWrite } from './chunk-4FFBAUFS.js';
|
|
2
2
|
import { invalidateSessionCache } from './chunk-WTMU7J4U.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import { SessionTranscript } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
3
|
+
import './chunk-N2U4AZGB.js';
|
|
4
|
+
import { SessionTranscript } from './chunk-UMP6OJIM.js';
|
|
5
|
+
import './chunk-2GUYQR5P.js';
|
|
6
|
+
import './chunk-D4CUGAKZ.js';
|
|
7
|
+
import './chunk-XEQ3TM66.js';
|
|
8
8
|
|
|
9
9
|
// src/internal/session/inject-session.ts
|
|
10
10
|
async function injectSessionTurn(opts) {
|
|
@@ -23,5 +23,5 @@ async function injectSessionTurn(opts) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export { injectSessionTurn };
|
|
26
|
-
//# sourceMappingURL=inject-session-
|
|
27
|
-
//# sourceMappingURL=inject-session-
|
|
26
|
+
//# sourceMappingURL=inject-session-DAR7OUCW.js.map
|
|
27
|
+
//# sourceMappingURL=inject-session-DAR7OUCW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/internal/session/inject-session.ts"],"names":[],"mappings":";;;;;;;;;AAWA,eAAsB,kBAAkB,IAAA,EAMtB;AAChB,EAAA,MAAM,oBAAoB,IAAA,CAAK,GAAA,CAAI,KAAK,IAAA,CAAK,GAAA,CAAI,SAAS,YAAY;AACpE,IAAA,MAAM,QAAQ,MAAM,IAAA,CAAK,MAAM,WAAA,CAAY,IAAA,CAAK,IAAI,OAAO,CAAA;AAC3D,IAAA,MAAM,UAAA,GAAa,iBAAA,CAAkB,WAAA,CAAY,KAAA,EAAO;AAAA,MACtD,GAAA,EAAK,KAAK,GAAA,CAAI,GAAA;AAAA,MACd,WAAW,IAAA,CAAK,SAAA;AAAA,MAChB,KAAA,EAAO,IAAA,CAAK,GAAA,CAAI,KAAA,IAAS;AAAA,KAC1B,CAAA;AACD,IAAA,UAAA,CAAW,cAAA,CAAe,KAAK,QAAQ,CAAA;AACvC,IAAA,UAAA,CAAW,mBAAA,CAAoB,EAAE,IAAA,EAAM,IAAA,CAAK,eAAe,CAAA;AAC3D,IAAA,MAAM,IAAA,CAAK,KAAA,CAAM,aAAA,CAAc,IAAA,CAAK,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,OAAA,EAAQ,CAAE,KAAA,CAAM,KAAA,CAAM,MAAM,CAAC,CAAA;AACzF,IAAA,sBAAA,CAAuB,IAAA,CAAK,GAAA,CAAI,GAAA,EAAK,IAAA,CAAK,IAAI,OAAO,CAAA;AAAA,EACvD,CAAC,CAAA;AACH","file":"inject-session-
|
|
1
|
+
{"version":3,"sources":["../src/internal/session/inject-session.ts"],"names":[],"mappings":";;;;;;;;;AAWA,eAAsB,kBAAkB,IAAA,EAMtB;AAChB,EAAA,MAAM,oBAAoB,IAAA,CAAK,GAAA,CAAI,KAAK,IAAA,CAAK,GAAA,CAAI,SAAS,YAAY;AACpE,IAAA,MAAM,QAAQ,MAAM,IAAA,CAAK,MAAM,WAAA,CAAY,IAAA,CAAK,IAAI,OAAO,CAAA;AAC3D,IAAA,MAAM,UAAA,GAAa,iBAAA,CAAkB,WAAA,CAAY,KAAA,EAAO;AAAA,MACtD,GAAA,EAAK,KAAK,GAAA,CAAI,GAAA;AAAA,MACd,WAAW,IAAA,CAAK,SAAA;AAAA,MAChB,KAAA,EAAO,IAAA,CAAK,GAAA,CAAI,KAAA,IAAS;AAAA,KAC1B,CAAA;AACD,IAAA,UAAA,CAAW,cAAA,CAAe,KAAK,QAAQ,CAAA;AACvC,IAAA,UAAA,CAAW,mBAAA,CAAoB,EAAE,IAAA,EAAM,IAAA,CAAK,eAAe,CAAA;AAC3D,IAAA,MAAM,IAAA,CAAK,KAAA,CAAM,aAAA,CAAc,IAAA,CAAK,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,OAAA,EAAQ,CAAE,KAAA,CAAM,KAAA,CAAM,MAAM,CAAC,CAAA;AACzF,IAAA,sBAAA,CAAuB,IAAA,CAAK,GAAA,CAAI,GAAA,EAAK,IAAA,CAAK,IAAI,OAAO,CAAA;AAAA,EACvD,CAAC,CAAA;AACH","file":"inject-session-DAR7OUCW.js","sourcesContent":["/**\n * M51 (agent-builder) — inject a SYNTHETIC user+assistant pair into a session's persisted transcript\n * WITHOUT running an LLM turn. This is the Codex review-exit mechanism (`exit_success.xml` appended to\n * the parent thread history so follow-ups like \"fix finding 2\" work): the pair chains onto the DAG\n * leaf (M50 pattern) and the in-memory cache is invalidated so the NEXT send re-hydrates with it.\n */\nimport type { SessionStore } from \"../../types/session-store.js\";\nimport { SessionTranscript } from \"../persistence/session-transcript.js\";\nimport { enqueueSessionWrite, invalidateSessionCache } from \"./agent-session.js\";\nimport type { CompactLocation } from \"./compact-session.js\";\n\nexport async function injectSessionTurn(opts: {\n store: SessionStore;\n loc: CompactLocation;\n sessionId: string;\n userText: string;\n assistantText: string;\n}): Promise<void> {\n await enqueueSessionWrite(opts.loc.cwd, opts.loc.agentId, async () => {\n const prior = await opts.store.readRecords(opts.loc.agentId);\n const transcript = SessionTranscript.fromRecords(prior, {\n cwd: opts.loc.cwd,\n sessionId: opts.sessionId,\n model: opts.loc.model ?? \"unknown\",\n });\n transcript.appendUserTurn(opts.userText);\n transcript.appendAssistantTurn({ text: opts.assistantText });\n await opts.store.appendRecords(opts.loc.agentId, transcript.records().slice(prior.length));\n invalidateSessionCache(opts.loc.cwd, opts.loc.agentId);\n });\n}\n"]}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRMWTPV3M_cjs = require('./chunk-RMWTPV3M.cjs');
|
|
4
4
|
var chunk4OTIXDMU_cjs = require('./chunk-4OTIXDMU.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-O7LZFG6O.cjs');
|
|
6
|
+
var chunk5HEG4CQH_cjs = require('./chunk-5HEG4CQH.cjs');
|
|
7
|
+
require('./chunk-UALX2J2Q.cjs');
|
|
8
|
+
require('./chunk-XL7Q7HB2.cjs');
|
|
9
|
+
require('./chunk-EG4QM7ZJ.cjs');
|
|
10
10
|
|
|
11
11
|
// src/internal/session/inject-session.ts
|
|
12
12
|
async function injectSessionTurn(opts) {
|
|
13
|
-
await
|
|
13
|
+
await chunkRMWTPV3M_cjs.enqueueSessionWrite(opts.loc.cwd, opts.loc.agentId, async () => {
|
|
14
14
|
const prior = await opts.store.readRecords(opts.loc.agentId);
|
|
15
|
-
const transcript =
|
|
15
|
+
const transcript = chunk5HEG4CQH_cjs.SessionTranscript.fromRecords(prior, {
|
|
16
16
|
cwd: opts.loc.cwd,
|
|
17
17
|
sessionId: opts.sessionId,
|
|
18
18
|
model: opts.loc.model ?? "unknown"
|
|
@@ -25,5 +25,5 @@ async function injectSessionTurn(opts) {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
exports.injectSessionTurn = injectSessionTurn;
|
|
28
|
-
//# sourceMappingURL=inject-session-
|
|
29
|
-
//# sourceMappingURL=inject-session-
|
|
28
|
+
//# sourceMappingURL=inject-session-WQKMC3GR.cjs.map
|
|
29
|
+
//# sourceMappingURL=inject-session-WQKMC3GR.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/internal/session/inject-session.ts"],"names":["enqueueSessionWrite","SessionTranscript","invalidateSessionCache"],"mappings":";;;;;;;;;;;AAWA,eAAsB,kBAAkB,IAAA,EAMtB;AAChB,EAAA,MAAMA,sCAAoB,IAAA,CAAK,GAAA,CAAI,KAAK,IAAA,CAAK,GAAA,CAAI,SAAS,YAAY;AACpE,IAAA,MAAM,QAAQ,MAAM,IAAA,CAAK,MAAM,WAAA,CAAY,IAAA,CAAK,IAAI,OAAO,CAAA;AAC3D,IAAA,MAAM,UAAA,GAAaC,mCAAA,CAAkB,WAAA,CAAY,KAAA,EAAO;AAAA,MACtD,GAAA,EAAK,KAAK,GAAA,CAAI,GAAA;AAAA,MACd,WAAW,IAAA,CAAK,SAAA;AAAA,MAChB,KAAA,EAAO,IAAA,CAAK,GAAA,CAAI,KAAA,IAAS;AAAA,KAC1B,CAAA;AACD,IAAA,UAAA,CAAW,cAAA,CAAe,KAAK,QAAQ,CAAA;AACvC,IAAA,UAAA,CAAW,mBAAA,CAAoB,EAAE,IAAA,EAAM,IAAA,CAAK,eAAe,CAAA;AAC3D,IAAA,MAAM,IAAA,CAAK,KAAA,CAAM,aAAA,CAAc,IAAA,CAAK,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,OAAA,EAAQ,CAAE,KAAA,CAAM,KAAA,CAAM,MAAM,CAAC,CAAA;AACzF,IAAAC,wCAAA,CAAuB,IAAA,CAAK,GAAA,CAAI,GAAA,EAAK,IAAA,CAAK,IAAI,OAAO,CAAA;AAAA,EACvD,CAAC,CAAA;AACH","file":"inject-session-
|
|
1
|
+
{"version":3,"sources":["../src/internal/session/inject-session.ts"],"names":["enqueueSessionWrite","SessionTranscript","invalidateSessionCache"],"mappings":";;;;;;;;;;;AAWA,eAAsB,kBAAkB,IAAA,EAMtB;AAChB,EAAA,MAAMA,sCAAoB,IAAA,CAAK,GAAA,CAAI,KAAK,IAAA,CAAK,GAAA,CAAI,SAAS,YAAY;AACpE,IAAA,MAAM,QAAQ,MAAM,IAAA,CAAK,MAAM,WAAA,CAAY,IAAA,CAAK,IAAI,OAAO,CAAA;AAC3D,IAAA,MAAM,UAAA,GAAaC,mCAAA,CAAkB,WAAA,CAAY,KAAA,EAAO;AAAA,MACtD,GAAA,EAAK,KAAK,GAAA,CAAI,GAAA;AAAA,MACd,WAAW,IAAA,CAAK,SAAA;AAAA,MAChB,KAAA,EAAO,IAAA,CAAK,GAAA,CAAI,KAAA,IAAS;AAAA,KAC1B,CAAA;AACD,IAAA,UAAA,CAAW,cAAA,CAAe,KAAK,QAAQ,CAAA;AACvC,IAAA,UAAA,CAAW,mBAAA,CAAoB,EAAE,IAAA,EAAM,IAAA,CAAK,eAAe,CAAA;AAC3D,IAAA,MAAM,IAAA,CAAK,KAAA,CAAM,aAAA,CAAc,IAAA,CAAK,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,OAAA,EAAQ,CAAE,KAAA,CAAM,KAAA,CAAM,MAAM,CAAC,CAAA;AACzF,IAAAC,wCAAA,CAAuB,IAAA,CAAK,GAAA,CAAI,GAAA,EAAK,IAAA,CAAK,IAAI,OAAO,CAAA;AAAA,EACvD,CAAC,CAAA;AACH","file":"inject-session-WQKMC3GR.cjs","sourcesContent":["/**\n * M51 (agent-builder) — inject a SYNTHETIC user+assistant pair into a session's persisted transcript\n * WITHOUT running an LLM turn. This is the Codex review-exit mechanism (`exit_success.xml` appended to\n * the parent thread history so follow-ups like \"fix finding 2\" work): the pair chains onto the DAG\n * leaf (M50 pattern) and the in-memory cache is invalidated so the NEXT send re-hydrates with it.\n */\nimport type { SessionStore } from \"../../types/session-store.js\";\nimport { SessionTranscript } from \"../persistence/session-transcript.js\";\nimport { enqueueSessionWrite, invalidateSessionCache } from \"./agent-session.js\";\nimport type { CompactLocation } from \"./compact-session.js\";\n\nexport async function injectSessionTurn(opts: {\n store: SessionStore;\n loc: CompactLocation;\n sessionId: string;\n userText: string;\n assistantText: string;\n}): Promise<void> {\n await enqueueSessionWrite(opts.loc.cwd, opts.loc.agentId, async () => {\n const prior = await opts.store.readRecords(opts.loc.agentId);\n const transcript = SessionTranscript.fromRecords(prior, {\n cwd: opts.loc.cwd,\n sessionId: opts.sessionId,\n model: opts.loc.model ?? \"unknown\",\n });\n transcript.appendUserTurn(opts.userText);\n transcript.appendAssistantTurn({ text: opts.assistantText });\n await opts.store.appendRecords(opts.loc.agentId, transcript.records().slice(prior.length));\n invalidateSessionCache(opts.loc.cwd, opts.loc.agentId);\n });\n}\n"]}
|
|
@@ -3,6 +3,7 @@ import { type TelemetryHandle } from "../telemetry/tracer.js";
|
|
|
3
3
|
import type { ActiveMemoryCache } from "./active-memory-cache.js";
|
|
4
4
|
import type { ActiveMemoryQueryMode, ActiveMemoryResult, ActiveMemoryStatus } from "./active-memory-types.js";
|
|
5
5
|
import type { MemoryIndex } from "./memory-index.js";
|
|
6
|
+
import { type MemoryRoot } from "./storage/memory-root.js";
|
|
6
7
|
export type { ActiveMemoryQueryMode, ActiveMemoryResult, ActiveMemoryStatus };
|
|
7
8
|
export interface RunActiveMemoryArgs {
|
|
8
9
|
userText: string;
|
|
@@ -18,7 +19,13 @@ export interface RunActiveMemoryArgs {
|
|
|
18
19
|
cache?: ActiveMemoryCache;
|
|
19
20
|
/** Workspace root for transcript persistence. */
|
|
20
21
|
cwd?: string;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* The memory root the caller already resolved. Falls back to the project store, which is right
|
|
24
|
+
* for a caller that has no `memory.directory` and wrong for one that does — so an agent passes
|
|
25
|
+
* its own (#463).
|
|
26
|
+
*/
|
|
27
|
+
memoryRoot?: MemoryRoot;
|
|
28
|
+
/** When true, write transcript JSON under `<memory root>/transcripts/active-memory/`. */
|
|
22
29
|
persistTranscripts?: boolean;
|
|
23
30
|
/** Stable key the breaker + cache key by (default `default`). */
|
|
24
31
|
agentKey?: string;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKQ7TS7WW_cjs = require('../../../chunk-KQ7TS7WW.cjs');
|
|
4
4
|
var chunkGHX4P3V2_cjs = require('../../../chunk-GHX4P3V2.cjs');
|
|
5
|
-
require('../../../chunk-
|
|
5
|
+
require('../../../chunk-UGT7GK7I.cjs');
|
|
6
6
|
require('../../../chunk-MUUQ2WFJ.cjs');
|
|
7
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-V2BOS4WF.cjs');
|
|
8
8
|
require('../../../chunk-VKJ7V7EB.cjs');
|
|
9
|
-
require('../../../chunk-
|
|
10
|
-
require('../../../chunk-
|
|
11
|
-
require('../../../chunk-
|
|
12
|
-
require('../../../chunk-
|
|
13
|
-
require('../../../chunk-
|
|
9
|
+
require('../../../chunk-ZSWPZ23K.cjs');
|
|
10
|
+
require('../../../chunk-XWTLIGO3.cjs');
|
|
11
|
+
require('../../../chunk-4ZHTIJNE.cjs');
|
|
12
|
+
require('../../../chunk-XL7Q7HB2.cjs');
|
|
13
|
+
require('../../../chunk-EG4QM7ZJ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "createOpenAiCompatibleRuntime", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkKQ7TS7WW_cjs.createOpenAiCompatibleRuntime; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "LruEmbeddingCache", {
|
|
22
22
|
enumerable: true,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { createOpenAiCompatibleRuntime } from '../../../chunk-
|
|
1
|
+
export { createOpenAiCompatibleRuntime } from '../../../chunk-UBDMVMBZ.js';
|
|
2
2
|
export { LruEmbeddingCache, globalEmbeddingCache } from '../../../chunk-H73MEMQB.js';
|
|
3
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-7YGCPMGB.js';
|
|
4
4
|
import '../../../chunk-FD2UT76F.js';
|
|
5
|
-
import '../../../chunk-
|
|
5
|
+
import '../../../chunk-HS7AVXTF.js';
|
|
6
6
|
import '../../../chunk-RIAM53CP.js';
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
9
|
-
import '../../../chunk-
|
|
10
|
-
import '../../../chunk-
|
|
11
|
-
import '../../../chunk-
|
|
7
|
+
import '../../../chunk-C72AZW7J.js';
|
|
8
|
+
import '../../../chunk-4QZSA2HJ.js';
|
|
9
|
+
import '../../../chunk-ZZMZWBR6.js';
|
|
10
|
+
import '../../../chunk-D4CUGAKZ.js';
|
|
11
|
+
import '../../../chunk-XEQ3TM66.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
import type { MemoryRoot } from "../storage/memory-root.js";
|
|
2
|
+
/**
|
|
3
|
+
* Dream-diary append (ADR D7).
|
|
4
|
+
*
|
|
5
|
+
* Diary lives at `.theokit/memory/dream-diary.md` and grows with one entry
|
|
6
|
+
* per sweep. Each entry is content-hashed so the same input produces the
|
|
7
|
+
* same entry — idempotency contract.
|
|
8
|
+
*
|
|
9
|
+
* Writes go through `replaceFileAtomic` (EC-3 of edge-case review) so a
|
|
10
|
+
* crash mid-write can never leave a half-written diary.
|
|
11
|
+
*
|
|
12
|
+
* Shared with `@theokit/sdk-memory`; see the memory-store barrel.
|
|
13
|
+
*/
|
|
14
|
+
export interface DiaryEntry {
|
|
15
|
+
timestampMs: number;
|
|
16
|
+
factsBefore: number;
|
|
17
|
+
factsAfter: number;
|
|
18
|
+
duplicatesRemoved: number;
|
|
19
|
+
clustersCreated: number;
|
|
20
|
+
notesWritten: number;
|
|
21
|
+
}
|
|
22
|
+
/** `<memory root>/dream-diary.md`. Takes the RESOLVED ROOT — see `storage/memory-root.ts` (#463). */
|
|
23
|
+
export declare function diaryPath(root: MemoryRoot): string;
|
|
24
|
+
/**
|
|
25
|
+
* One diary entry as the markdown that gets appended: a timestamp heading, the short entry hash,
|
|
26
|
+
* and the counts the sweep produced. The hash is what makes a re-run recognisable as the same
|
|
27
|
+
* sweep rather than a new one.
|
|
28
|
+
*/
|
|
2
29
|
export declare function renderDiaryEntry(entry: DiaryEntry): string;
|
|
3
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Append one sweep's entry to `<memory root>/dream-diary.md`, creating the file with its header
|
|
32
|
+
* when this is the first sweep. The diary is a human-readable record of what dreaming changed —
|
|
33
|
+
* consolidations are otherwise invisible, because they alter the notes rather than announce
|
|
34
|
+
* themselves.
|
|
35
|
+
*/
|
|
36
|
+
export declare function appendDiaryEntry(root: MemoryRoot, entry: DiaryEntry): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* A stable hash of one entry's counts, so two sweeps that did the same work read as the same work.
|
|
39
|
+
* Rendered truncated in the entry; the full value is what callers compare.
|
|
40
|
+
*/
|
|
4
41
|
export declare function entryHash(entry: DiaryEntry): string;
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
import type { MemoryRoot } from "./storage/memory-root.js";
|
|
2
|
+
/**
|
|
3
|
+
* Memory index DB handle + opener.
|
|
4
|
+
*
|
|
5
|
+
* M0-5 (plan m0-foundation-expose-primitives): the driver-load + WAL +
|
|
6
|
+
* corruption-recovery (EC-7) plumbing is now the shared `openSqliteResilient`
|
|
7
|
+
* primitive in `internal/persistence`; this module only declares the memory
|
|
8
|
+
* schema application (PRAGMA + SCHEMA) via its `onOpen` callback.
|
|
9
|
+
*
|
|
10
|
+
* Shared with `@theokit/sdk-memory`; see the memory-store barrel.
|
|
11
|
+
*/
|
|
12
|
+
export interface MemoryDb {
|
|
13
|
+
exec(sql: string): void;
|
|
14
|
+
prepare(sql: string): {
|
|
15
|
+
run(...args: unknown[]): {
|
|
16
|
+
changes: number;
|
|
17
|
+
lastInsertRowid: number | bigint;
|
|
18
|
+
};
|
|
19
|
+
get(...args: unknown[]): Record<string, unknown> | undefined;
|
|
20
|
+
all(...args: unknown[]): Array<Record<string, unknown>>;
|
|
21
|
+
};
|
|
22
|
+
/** SQLite `pragma()` access (used by `applyWalWithFallback`). */
|
|
23
|
+
pragma(statement: string, options?: {
|
|
24
|
+
simple?: boolean;
|
|
25
|
+
}): unknown;
|
|
26
|
+
close(): void;
|
|
27
|
+
/** Load a SQLite loadable extension at the given path (used by sqlite-vec). */
|
|
28
|
+
loadExtension(path: string): void;
|
|
29
|
+
}
|
|
1
30
|
export interface OpenDbOptions {
|
|
2
31
|
filePath: string;
|
|
3
32
|
/**
|
|
@@ -7,4 +36,18 @@ export interface OpenDbOptions {
|
|
|
7
36
|
recoverCorrupt?: boolean;
|
|
8
37
|
}
|
|
9
38
|
export declare function openMemoryDb(opts: OpenDbOptions): Promise<MemoryDb>;
|
|
10
|
-
|
|
39
|
+
/**
|
|
40
|
+
* `<index root>/.index/memory.sqlite`. Pure path computation.
|
|
41
|
+
*
|
|
42
|
+
* Takes a resolved root rather than a `cwd`: this function used to spell the default layout out
|
|
43
|
+
* again as a string literal — an answer to "where does memory live?" that no search for the shared
|
|
44
|
+
* helper would have found (#463).
|
|
45
|
+
*
|
|
46
|
+
* **The root it is given is the PROJECT store, even when the facts move.** `memory.directory` may
|
|
47
|
+
* point at the directory the Claude Code CLI manages, and that CLI has no index format — putting a
|
|
48
|
+
* binary artefact it does not understand inside a directory it owns is a different decision from
|
|
49
|
+
* putting the facts there, and it was made deliberately. The facts are what a user would lose; the
|
|
50
|
+
* index is derived and rebuildable from them. See `docs/memory-decisions.md` § 1 before relocating
|
|
51
|
+
* this, and `IndexManager.openSqliteInternal` for the caller that keeps the two apart.
|
|
52
|
+
*/
|
|
53
|
+
export declare function defaultIndexPath(root: MemoryRoot): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { EmbeddingRuntime } from "./embedding-adapter.js";
|
|
2
|
+
import type { MemoryRoot } from "./storage/memory-root.js";
|
|
2
3
|
export interface IndexStatus {
|
|
3
4
|
backend: "fts-only" | "hybrid";
|
|
4
5
|
filesIndexed: number;
|
|
@@ -18,6 +19,15 @@ export interface SearchOptions {
|
|
|
18
19
|
export type MemoryBackend = "sqlite-vec" | "lance";
|
|
19
20
|
export interface OpenIndexOptions {
|
|
20
21
|
cwd: string;
|
|
22
|
+
/**
|
|
23
|
+
* The memory root to index and to place the database under. Defaults to `<cwd>/.theokit/memory`.
|
|
24
|
+
*
|
|
25
|
+
* Optional HERE and required everywhere below, deliberately. This is a public entry point whose
|
|
26
|
+
* caller may legitimately have only a workspace; inside an agent the root is resolved once from
|
|
27
|
+
* `memory.directory` and passed in, which is what keeps the index and the writer looking at the
|
|
28
|
+
* same directory (#463).
|
|
29
|
+
*/
|
|
30
|
+
memoryRoot?: MemoryRoot;
|
|
21
31
|
filePath?: string;
|
|
22
32
|
/** When provided, vector index is enabled in hybrid mode. */
|
|
23
33
|
embedding?: EmbeddingRuntime;
|
|
@@ -1 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import type { MemoryRoot } from "./storage/memory-root.js";
|
|
2
|
+
/**
|
|
3
|
+
* One markdown file the corpus walk found, with the source bucket the indexer tags it with.
|
|
4
|
+
* Shared through the semver-exempt `internal/memory-store` sub-path, so it carries no
|
|
5
|
+
* visibility tag — see that barrel for why naming the tag here would delete this symbol.
|
|
6
|
+
*/
|
|
7
|
+
export interface DiscoveredFile {
|
|
8
|
+
absolutePath: string;
|
|
9
|
+
relPath: string;
|
|
10
|
+
source: "memory" | "wiki" | "sessions";
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Every markdown file the memory corpus holds: the index, the per-memory files, `notes/`,
|
|
14
|
+
* `wiki/` and `sessions/`, each tagged with the bucket `memory_search`'s `corpus` filters on.
|
|
15
|
+
*
|
|
16
|
+
* Shared through the semver-exempt `internal/memory-store` sub-path so `@theokit/sdk-memory` walks
|
|
17
|
+
* the same corpus. Its own copy did not: it never picked up the per-memory files at the root, so
|
|
18
|
+
* installing that package made every converged memory unsearchable and reported nothing.
|
|
19
|
+
*/
|
|
20
|
+
export declare function collectMarkdownFiles(root: MemoryRoot): Promise<DiscoveredFile[]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MemoryIndex } from "./memory-index.js";
|
|
2
2
|
import type { IndexStatus, MemorySearchHit, OpenIndexOptions, SearchOptions } from "./index-manager-contract.js";
|
|
3
3
|
export declare class IndexManager implements MemoryIndex {
|
|
4
|
-
private readonly
|
|
4
|
+
private readonly memoryRoot;
|
|
5
5
|
private readonly db;
|
|
6
6
|
private readonly embedding;
|
|
7
7
|
private lastSyncMs;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { EmbeddingRuntime } from "./embedding-adapter.js";
|
|
2
|
+
import { type MemoryRoot } from "./storage/memory-root.js";
|
|
2
3
|
export interface LanceFactRecord {
|
|
3
4
|
id: string;
|
|
4
5
|
text: string;
|
|
@@ -11,8 +12,10 @@ export interface LanceFactRecord {
|
|
|
11
12
|
}
|
|
12
13
|
export interface OpenLanceOptions {
|
|
13
14
|
cwd: string;
|
|
15
|
+
/** The resolved memory root. Defaults to `<cwd>/.theokit/memory` (#463). */
|
|
16
|
+
memoryRoot?: MemoryRoot;
|
|
14
17
|
embedding: EmbeddingRuntime;
|
|
15
|
-
/** Override storage location. Default: `<
|
|
18
|
+
/** Override storage location. Default: `<memory root>/lance/`. */
|
|
16
19
|
storagePath?: string;
|
|
17
20
|
}
|
|
18
21
|
export interface LanceSearchOptions {
|
|
@@ -30,3 +33,14 @@ export interface LanceSearchHit {
|
|
|
30
33
|
userId: string;
|
|
31
34
|
score: number;
|
|
32
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* `<memory root>/lance`.
|
|
38
|
+
*
|
|
39
|
+
* Takes the RESOLVED ROOT. This used to spell the default layout out again as a string literal,
|
|
40
|
+
* beside a second copy of the same literal in `open()` — two more answers to "where does memory
|
|
41
|
+
* live?" that no `memoryDir` search would have surfaced (#463).
|
|
42
|
+
*
|
|
43
|
+
* Shared with `@theokit/sdk-memory` through the memory-store barrel, so it carries no
|
|
44
|
+
* visibility tag — naming that tag in this block would delete the function below it (#463).
|
|
45
|
+
*/
|
|
46
|
+
export declare function lanceStoragePath(root: MemoryRoot): string;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
import { type MemoryRoot } from "./storage/memory-root.js";
|
|
2
|
+
/**
|
|
3
|
+
* Migrate Memory.index from SQLite to LanceDB (ADR D44).
|
|
4
|
+
*
|
|
5
|
+
* EC-3 MUST FIX: validation uses NFC unicode normalization on both sides.
|
|
6
|
+
*
|
|
7
|
+
* Shared with `@theokit/sdk-memory` through the memory-store barrel (#463).
|
|
8
|
+
*/
|
|
9
|
+
export interface MigrateOptions {
|
|
10
|
+
cwd: string;
|
|
11
|
+
/**
|
|
12
|
+
* Absolute path (or `~/`-prefixed) of the memory root to migrate, when the agent that wrote it
|
|
13
|
+
* set `memory.directory`. Defaults to `<cwd>/.theokit/memory` (#463).
|
|
14
|
+
*/
|
|
15
|
+
directory?: string;
|
|
16
|
+
dryRun?: boolean;
|
|
17
|
+
batchSize?: number;
|
|
18
|
+
/** Inject for tests; defaults to console.log. */
|
|
19
|
+
logger?: (msg: string) => void;
|
|
20
|
+
}
|
|
1
21
|
export interface MigrateResult {
|
|
2
22
|
countSqlite: number;
|
|
3
23
|
countLance: number;
|
|
@@ -13,3 +33,26 @@ export interface MigrateResult {
|
|
|
13
33
|
/** Was the migration committed (false for dry-run). */
|
|
14
34
|
committed: boolean;
|
|
15
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* One row of the SQLite memory index, as the Lance migration reads it: the chunk plus the tenant
|
|
38
|
+
* columns the target table needs. Shared with `@theokit/sdk-memory`, which migrates the same table.
|
|
39
|
+
*/
|
|
40
|
+
export interface SqliteFactRow {
|
|
41
|
+
id: string;
|
|
42
|
+
path: string;
|
|
43
|
+
source: "memory" | "sessions" | "wiki";
|
|
44
|
+
start_line: number;
|
|
45
|
+
end_line: number;
|
|
46
|
+
text: string;
|
|
47
|
+
namespace?: string | null;
|
|
48
|
+
scope?: string | null;
|
|
49
|
+
user_id?: string | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Read all facts from the SQLite memory index. Returns empty array if the
|
|
53
|
+
* SQLite db file does not exist (workspace never used Memory).
|
|
54
|
+
*
|
|
55
|
+
* Shared with `@theokit/sdk-memory` through the memory-store barrel, so it carries no visibility
|
|
56
|
+
* tag — naming that tag in this block would delete the function below it (#463).
|
|
57
|
+
*/
|
|
58
|
+
export declare function readAllSqliteFacts(root: MemoryRoot): Promise<SqliteFactRow[]>;
|
|
@@ -1,54 +1,137 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHOXVQ5FR_cjs = require('../../../chunk-HOXVQ5FR.cjs');
|
|
4
|
+
var chunkGKEFRLU7_cjs = require('../../../chunk-GKEFRLU7.cjs');
|
|
5
|
+
var chunk6RKUO7AW_cjs = require('../../../chunk-6RKUO7AW.cjs');
|
|
4
6
|
require('../../../chunk-KRD3GQAA.cjs');
|
|
5
7
|
require('../../../chunk-MUUQ2WFJ.cjs');
|
|
6
|
-
require('../../../chunk-
|
|
8
|
+
require('../../../chunk-V2BOS4WF.cjs');
|
|
7
9
|
require('../../../chunk-VKJ7V7EB.cjs');
|
|
8
|
-
require('../../../chunk-
|
|
10
|
+
require('../../../chunk-5HEG4CQH.cjs');
|
|
11
|
+
require('../../../chunk-5VB22SYX.cjs');
|
|
9
12
|
require('../../../chunk-ZF2LDKQQ.cjs');
|
|
10
|
-
require('../../../chunk-
|
|
11
|
-
require('../../../chunk-
|
|
12
|
-
require('../../../chunk-
|
|
13
|
-
require('../../../chunk-
|
|
13
|
+
require('../../../chunk-UALX2J2Q.cjs');
|
|
14
|
+
require('../../../chunk-4ZHTIJNE.cjs');
|
|
15
|
+
require('../../../chunk-XL7Q7HB2.cjs');
|
|
16
|
+
require('../../../chunk-EG4QM7ZJ.cjs');
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
|
|
20
|
+
Object.defineProperty(exports, "appendDiaryEntry", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkHOXVQ5FR_cjs.appendDiaryEntry; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "diaryPath", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkHOXVQ5FR_cjs.diaryPath; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "entryHash", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkHOXVQ5FR_cjs.entryHash; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "readAllSqliteFacts", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkHOXVQ5FR_cjs.readAllSqliteFacts; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "renderDiaryEntry", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkHOXVQ5FR_cjs.renderDiaryEntry; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "persistActiveMemoryTranscript", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkGKEFRLU7_cjs.persistActiveMemoryTranscript; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "MEMORY_INDEX_MAX_BYTES", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunk6RKUO7AW_cjs.MEMORY_INDEX_MAX_BYTES; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "MEMORY_INDEX_MAX_LINES", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunk6RKUO7AW_cjs.MEMORY_INDEX_MAX_LINES; }
|
|
51
|
+
});
|
|
17
52
|
Object.defineProperty(exports, "appendFact", {
|
|
18
53
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk6RKUO7AW_cjs.appendFact; }
|
|
20
55
|
});
|
|
21
56
|
Object.defineProperty(exports, "appendFactToMarkdown", {
|
|
22
57
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk6RKUO7AW_cjs.appendFactToMarkdown; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "asMemoryRoot", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunk6RKUO7AW_cjs.asMemoryRoot; }
|
|
24
63
|
});
|
|
25
64
|
Object.defineProperty(exports, "claudeProjectMemoryDir", {
|
|
26
65
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk6RKUO7AW_cjs.claudeProjectMemoryDir; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "collectMarkdownFiles", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunk6RKUO7AW_cjs.collectMarkdownFiles; }
|
|
28
71
|
});
|
|
29
|
-
Object.defineProperty(exports, "
|
|
72
|
+
Object.defineProperty(exports, "defaultIndexPath", {
|
|
30
73
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk6RKUO7AW_cjs.defaultIndexPath; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "discoverSessionFiles", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunk6RKUO7AW_cjs.discoverSessionFiles; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "discoverWikiFiles", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunk6RKUO7AW_cjs.discoverWikiFiles; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "indexBudgetWarning", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunk6RKUO7AW_cjs.indexBudgetWarning; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "lanceStoragePath", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunk6RKUO7AW_cjs.lanceStoragePath; }
|
|
32
91
|
});
|
|
33
92
|
Object.defineProperty(exports, "memoryMdPath", {
|
|
34
93
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk6RKUO7AW_cjs.memoryMdPath; }
|
|
36
95
|
});
|
|
37
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "memoryReadRoots", {
|
|
38
97
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk6RKUO7AW_cjs.memoryReadRoots; }
|
|
40
99
|
});
|
|
41
100
|
Object.defineProperty(exports, "notesDir", {
|
|
42
101
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk6RKUO7AW_cjs.notesDir; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "projectMemoryDir", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunk6RKUO7AW_cjs.projectMemoryDir; }
|
|
44
107
|
});
|
|
45
108
|
Object.defineProperty(exports, "readFacts", {
|
|
46
109
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk6RKUO7AW_cjs.readFacts; }
|
|
48
111
|
});
|
|
49
112
|
Object.defineProperty(exports, "readFactsFromMarkdown", {
|
|
50
113
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk6RKUO7AW_cjs.readFactsFromMarkdown; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "resolveMemoryRoot", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunk6RKUO7AW_cjs.resolveMemoryRoot; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "sessionSummaryPath", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunk6RKUO7AW_cjs.sessionSummaryPath; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "sessionsDir", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunk6RKUO7AW_cjs.sessionsDir; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "wikiDir", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunk6RKUO7AW_cjs.wikiDir; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "writeSessionSummary", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunk6RKUO7AW_cjs.writeSessionSummary; }
|
|
52
135
|
});
|
|
53
136
|
//# sourceMappingURL=index.cjs.map
|
|
54
137
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -15,4 +15,14 @@
|
|
|
15
15
|
* Semver-exempt: NOT part of the stable `@theokit/sdk` API. The sub-path IS declared in
|
|
16
16
|
* `package.json` `exports`, so the names below must survive into the published declarations.
|
|
17
17
|
*/
|
|
18
|
-
export {
|
|
18
|
+
export { appendDiaryEntry, type DiaryEntry, diaryPath, entryHash, renderDiaryEntry, } from "../dreaming/diary.js";
|
|
19
|
+
export { defaultIndexPath } from "../index-db.js";
|
|
20
|
+
export { collectMarkdownFiles, type DiscoveredFile } from "../index-manager-helpers.js";
|
|
21
|
+
export { lanceStoragePath } from "../lance-index.js";
|
|
22
|
+
export { readAllSqliteFacts, type SqliteFactRow } from "../migrate-sqlite-to-lance.js";
|
|
23
|
+
export { appendFact, appendFactToMarkdown, memoryMdPath, notesDir, readFacts, readFactsFromMarkdown, } from "./markdown-store.js";
|
|
24
|
+
export { asMemoryRoot, claudeProjectMemoryDir, indexBudgetWarning, MEMORY_INDEX_MAX_BYTES, MEMORY_INDEX_MAX_LINES, type MemoryLocationConfig, type MemoryRoot, memoryReadRoots, projectMemoryDir, resolveMemoryRoot, } from "./memory-root.js";
|
|
25
|
+
export { discoverSessionFiles, type SessionFile } from "./session-loader.js";
|
|
26
|
+
export { type SessionSummaryInput, sessionSummaryPath, sessionsDir, writeSessionSummary, } from "./session-summary-writer.js";
|
|
27
|
+
export { type ActiveMemoryTranscript, persistActiveMemoryTranscript } from "./transcript-store.js";
|
|
28
|
+
export { discoverWikiFiles, type WikiFile, wikiDir } from "./wiki-loader.js";
|
|
@@ -15,4 +15,14 @@
|
|
|
15
15
|
* Semver-exempt: NOT part of the stable `@theokit/sdk` API. The sub-path IS declared in
|
|
16
16
|
* `package.json` `exports`, so the names below must survive into the published declarations.
|
|
17
17
|
*/
|
|
18
|
-
export {
|
|
18
|
+
export { appendDiaryEntry, type DiaryEntry, diaryPath, entryHash, renderDiaryEntry, } from "../dreaming/diary.js";
|
|
19
|
+
export { defaultIndexPath } from "../index-db.js";
|
|
20
|
+
export { collectMarkdownFiles, type DiscoveredFile } from "../index-manager-helpers.js";
|
|
21
|
+
export { lanceStoragePath } from "../lance-index.js";
|
|
22
|
+
export { readAllSqliteFacts, type SqliteFactRow } from "../migrate-sqlite-to-lance.js";
|
|
23
|
+
export { appendFact, appendFactToMarkdown, memoryMdPath, notesDir, readFacts, readFactsFromMarkdown, } from "./markdown-store.js";
|
|
24
|
+
export { asMemoryRoot, claudeProjectMemoryDir, indexBudgetWarning, MEMORY_INDEX_MAX_BYTES, MEMORY_INDEX_MAX_LINES, type MemoryLocationConfig, type MemoryRoot, memoryReadRoots, projectMemoryDir, resolveMemoryRoot, } from "./memory-root.js";
|
|
25
|
+
export { discoverSessionFiles, type SessionFile } from "./session-loader.js";
|
|
26
|
+
export { type SessionSummaryInput, sessionSummaryPath, sessionsDir, writeSessionSummary, } from "./session-summary-writer.js";
|
|
27
|
+
export { type ActiveMemoryTranscript, persistActiveMemoryTranscript } from "./transcript-store.js";
|
|
28
|
+
export { discoverWikiFiles, type WikiFile, wikiDir } from "./wiki-loader.js";
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { appendDiaryEntry, diaryPath, entryHash, readAllSqliteFacts, renderDiaryEntry } from '../../../chunk-DKD3MH6A.js';
|
|
2
|
+
export { persistActiveMemoryTranscript } from '../../../chunk-XO4SOZN6.js';
|
|
3
|
+
export { MEMORY_INDEX_MAX_BYTES, MEMORY_INDEX_MAX_LINES, appendFact, appendFactToMarkdown, asMemoryRoot, claudeProjectMemoryDir, collectMarkdownFiles, defaultIndexPath, discoverSessionFiles, discoverWikiFiles, indexBudgetWarning, lanceStoragePath, memoryMdPath, memoryReadRoots, notesDir, projectMemoryDir, readFacts, readFactsFromMarkdown, resolveMemoryRoot, sessionSummaryPath, sessionsDir, wikiDir, writeSessionSummary } from '../../../chunk-GEEXBYFL.js';
|
|
2
4
|
import '../../../chunk-KVNWIAO4.js';
|
|
3
5
|
import '../../../chunk-FD2UT76F.js';
|
|
4
|
-
import '../../../chunk-
|
|
6
|
+
import '../../../chunk-HS7AVXTF.js';
|
|
5
7
|
import '../../../chunk-RIAM53CP.js';
|
|
6
|
-
import '../../../chunk-
|
|
8
|
+
import '../../../chunk-UMP6OJIM.js';
|
|
9
|
+
import '../../../chunk-LWGSI6M3.js';
|
|
7
10
|
import '../../../chunk-Q5EWJPRY.js';
|
|
8
|
-
import '../../../chunk-
|
|
9
|
-
import '../../../chunk-
|
|
10
|
-
import '../../../chunk-
|
|
11
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-2GUYQR5P.js';
|
|
12
|
+
import '../../../chunk-ZZMZWBR6.js';
|
|
13
|
+
import '../../../chunk-D4CUGAKZ.js';
|
|
14
|
+
import '../../../chunk-XEQ3TM66.js';
|
|
12
15
|
//# sourceMappingURL=index.js.map
|
|
13
16
|
//# sourceMappingURL=index.js.map
|