@theokit/sdk 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/dist/a2a/index.cjs +6 -6
- package/dist/a2a/index.js +2 -2
- package/dist/{agent-Dya5SmhY.d.cts → agent-3RcPVGMo.d.cts} +21 -3
- package/dist/agent-7ERQNV66.js +59 -0
- package/dist/{agent-EQ5HKTWV.js.map → agent-7ERQNV66.js.map} +1 -1
- package/dist/agent-LNTR4QH5.cjs +68 -0
- package/dist/{agent-KA63WDQH.cjs.map → agent-LNTR4QH5.cjs.map} +1 -1
- package/dist/{agent-Bqzdhkqr.d.ts → agent-lS68mYIL.d.ts} +21 -3
- package/dist/auth/index.cjs +32 -32
- package/dist/auth/index.js +5 -5
- package/dist/{batch-US4F6WPK.js → batch-427O54FQ.js} +7 -7
- package/dist/{batch-US4F6WPK.js.map → batch-427O54FQ.js.map} +1 -1
- package/dist/{batch-I6T6MXZO.cjs → batch-U4SO4RLX.cjs} +24 -24
- package/dist/{batch-I6T6MXZO.cjs.map → batch-U4SO4RLX.cjs.map} +1 -1
- package/dist/{chunk-44I6UYVH.js → chunk-26NEAJ6T.js} +4 -4
- package/dist/{chunk-44I6UYVH.js.map → chunk-26NEAJ6T.js.map} +1 -1
- package/dist/{chunk-A575WPBL.cjs → chunk-2STSX2SY.cjs} +260 -260
- package/dist/{chunk-A575WPBL.cjs.map → chunk-2STSX2SY.cjs.map} +1 -1
- package/dist/{chunk-FUUSIT2T.js → chunk-3CU5J7V3.js} +34 -34
- package/dist/{chunk-FUUSIT2T.js.map → chunk-3CU5J7V3.js.map} +1 -1
- package/dist/{chunk-A6PDYH55.js → chunk-4QCJAJAG.js} +2 -2
- package/dist/chunk-4QCJAJAG.js.map +1 -0
- package/dist/{chunk-XYFGKVZ7.js → chunk-53RDNK3H.js} +3 -3
- package/dist/{chunk-XYFGKVZ7.js.map → chunk-53RDNK3H.js.map} +1 -1
- package/dist/{chunk-CZWN4C6A.js → chunk-5522X223.js} +3 -3
- package/dist/{chunk-CZWN4C6A.js.map → chunk-5522X223.js.map} +1 -1
- package/dist/{chunk-EH6XD3FY.js → chunk-5DD4NJN3.js} +3 -3
- package/dist/{chunk-EH6XD3FY.js.map → chunk-5DD4NJN3.js.map} +1 -1
- package/dist/{chunk-V22DZIXO.js → chunk-5Q4RTLMP.js} +3 -3
- package/dist/{chunk-V22DZIXO.js.map → chunk-5Q4RTLMP.js.map} +1 -1
- package/dist/{chunk-4A3SKJ53.cjs → chunk-6PB5AQCY.cjs} +14 -14
- package/dist/{chunk-4A3SKJ53.cjs.map → chunk-6PB5AQCY.cjs.map} +1 -1
- package/dist/{chunk-PRZ3BES7.cjs → chunk-72CPLZPC.cjs} +5 -5
- package/dist/{chunk-PRZ3BES7.cjs.map → chunk-72CPLZPC.cjs.map} +1 -1
- package/dist/{chunk-HNAYCTX4.cjs → chunk-76PIKR4P.cjs} +22 -22
- package/dist/{chunk-HNAYCTX4.cjs.map → chunk-76PIKR4P.cjs.map} +1 -1
- package/dist/{chunk-EFMFILPG.js → chunk-7F7XE6CM.js} +3 -3
- package/dist/{chunk-EFMFILPG.js.map → chunk-7F7XE6CM.js.map} +1 -1
- package/dist/{chunk-7C3HWGCW.js → chunk-7GDHFV2M.js} +3 -3
- package/dist/{chunk-7C3HWGCW.js.map → chunk-7GDHFV2M.js.map} +1 -1
- package/dist/{chunk-CA5VUAP3.js → chunk-7HUCU3KK.js} +5 -5
- package/dist/{chunk-CA5VUAP3.js.map → chunk-7HUCU3KK.js.map} +1 -1
- package/dist/{chunk-4MMWFSCD.js → chunk-7JAKO3NM.js} +3 -3
- package/dist/{chunk-4MMWFSCD.js.map → chunk-7JAKO3NM.js.map} +1 -1
- package/dist/{chunk-UADQJBHR.cjs → chunk-7NQ7HJ3E.cjs} +6 -6
- package/dist/{chunk-UADQJBHR.cjs.map → chunk-7NQ7HJ3E.cjs.map} +1 -1
- package/dist/{chunk-ER5BOIYD.cjs → chunk-AOHRKGAA.cjs} +22 -22
- package/dist/{chunk-ER5BOIYD.cjs.map → chunk-AOHRKGAA.cjs.map} +1 -1
- package/dist/{chunk-ZLMU5EU3.cjs → chunk-ARMFXTY6.cjs} +114 -190
- package/dist/chunk-ARMFXTY6.cjs.map +1 -0
- package/dist/{chunk-5WKQDIGO.js → chunk-AY43232P.js} +4 -4
- package/dist/{chunk-5WKQDIGO.js.map → chunk-AY43232P.js.map} +1 -1
- package/dist/{chunk-7FDKWDA2.cjs → chunk-B3XXQX6L.cjs} +7 -7
- package/dist/{chunk-7FDKWDA2.cjs.map → chunk-B3XXQX6L.cjs.map} +1 -1
- package/dist/{chunk-ALUN2B4W.js → chunk-B5MHRQJZ.js} +9 -3
- package/dist/chunk-B5MHRQJZ.js.map +1 -0
- package/dist/{chunk-TA3K7SBK.js → chunk-BKMDRBJ7.js} +3 -3
- package/dist/{chunk-TA3K7SBK.js.map → chunk-BKMDRBJ7.js.map} +1 -1
- package/dist/{chunk-FUSDYC2B.cjs → chunk-CQYBJOB2.cjs} +4 -4
- package/dist/{chunk-FUSDYC2B.cjs.map → chunk-CQYBJOB2.cjs.map} +1 -1
- package/dist/{chunk-7JJ3A6AT.cjs → chunk-D5KXKBEN.cjs} +5 -5
- package/dist/{chunk-7JJ3A6AT.cjs.map → chunk-D5KXKBEN.cjs.map} +1 -1
- package/dist/{chunk-3VXQEQE4.js → chunk-DDRX4LYS.js} +4 -4
- package/dist/{chunk-3VXQEQE4.js.map → chunk-DDRX4LYS.js.map} +1 -1
- package/dist/{chunk-QDM3OHUT.cjs → chunk-ECD6ER3E.cjs} +4 -4
- package/dist/{chunk-QDM3OHUT.cjs.map → chunk-ECD6ER3E.cjs.map} +1 -1
- package/dist/{chunk-JMDDYA22.js → chunk-EJROML3Q.js} +4 -4
- package/dist/{chunk-JMDDYA22.js.map → chunk-EJROML3Q.js.map} +1 -1
- package/dist/{chunk-6JG2RFGK.js → chunk-FRL35MFN.js} +5 -5
- package/dist/{chunk-6JG2RFGK.js.map → chunk-FRL35MFN.js.map} +1 -1
- package/dist/{chunk-EIQFAOFD.js → chunk-GGRPAQ3B.js} +3 -3
- package/dist/{chunk-EIQFAOFD.js.map → chunk-GGRPAQ3B.js.map} +1 -1
- package/dist/{chunk-HCT4HPCL.cjs → chunk-GHHIJEFX.cjs} +4 -4
- package/dist/{chunk-HCT4HPCL.cjs.map → chunk-GHHIJEFX.cjs.map} +1 -1
- package/dist/{chunk-7A6535RA.cjs → chunk-GM54F4FE.cjs} +9 -9
- package/dist/{chunk-7A6535RA.cjs.map → chunk-GM54F4FE.cjs.map} +1 -1
- package/dist/{chunk-6M2OIS4Y.js → chunk-GMRFAX4I.js} +74 -4
- package/dist/chunk-GMRFAX4I.js.map +1 -0
- package/dist/{chunk-O6USDERH.js → chunk-GMSRRJ53.js} +3 -3
- package/dist/{chunk-O6USDERH.js.map → chunk-GMSRRJ53.js.map} +1 -1
- package/dist/{chunk-VE6DFSKU.js → chunk-GTX6FEDP.js} +3 -3
- package/dist/{chunk-VE6DFSKU.js.map → chunk-GTX6FEDP.js.map} +1 -1
- package/dist/{chunk-NJWYQWDL.js → chunk-H3CVJSFC.js} +3 -3
- package/dist/{chunk-NJWYQWDL.js.map → chunk-H3CVJSFC.js.map} +1 -1
- package/dist/{chunk-MYJGWS2J.cjs → chunk-HG5LKFG7.cjs} +16 -16
- package/dist/{chunk-MYJGWS2J.cjs.map → chunk-HG5LKFG7.cjs.map} +1 -1
- package/dist/{chunk-55GB6JYQ.js → chunk-HOHR75KF.js} +5 -5
- package/dist/{chunk-55GB6JYQ.js.map → chunk-HOHR75KF.js.map} +1 -1
- package/dist/{chunk-GBCVPKHE.js → chunk-HV4V63CO.js} +3 -3
- package/dist/{chunk-GBCVPKHE.js.map → chunk-HV4V63CO.js.map} +1 -1
- package/dist/{chunk-I2PWY7VM.cjs → chunk-IIYJMXYW.cjs} +4 -4
- package/dist/{chunk-I2PWY7VM.cjs.map → chunk-IIYJMXYW.cjs.map} +1 -1
- package/dist/{chunk-YYN6BB7R.cjs → chunk-J4SA2ZEJ.cjs} +4 -4
- package/dist/{chunk-YYN6BB7R.cjs.map → chunk-J4SA2ZEJ.cjs.map} +1 -1
- package/dist/{chunk-ATT276RD.cjs → chunk-J5623RIV.cjs} +78 -6
- package/dist/chunk-J5623RIV.cjs.map +1 -0
- package/dist/{chunk-KVSAY6NZ.cjs → chunk-J6GXS5A2.cjs} +13 -13
- package/dist/{chunk-KVSAY6NZ.cjs.map → chunk-J6GXS5A2.cjs.map} +1 -1
- package/dist/{chunk-NQTD6QOW.cjs → chunk-JW3GVLM6.cjs} +4 -4
- package/dist/{chunk-NQTD6QOW.cjs.map → chunk-JW3GVLM6.cjs.map} +1 -1
- package/dist/{chunk-TFG5IBZS.cjs → chunk-KGZ66JVZ.cjs} +14 -14
- package/dist/{chunk-TFG5IBZS.cjs.map → chunk-KGZ66JVZ.cjs.map} +1 -1
- package/dist/{chunk-47TF32NQ.js → chunk-KO6SHCEH.js} +3 -3
- package/dist/{chunk-47TF32NQ.js.map → chunk-KO6SHCEH.js.map} +1 -1
- package/dist/{chunk-EFETPSJZ.cjs → chunk-KTA7YTZQ.cjs} +12 -12
- package/dist/{chunk-EFETPSJZ.cjs.map → chunk-KTA7YTZQ.cjs.map} +1 -1
- package/dist/{chunk-D6POWE7E.cjs → chunk-MEUBLCM4.cjs} +11 -11
- package/dist/{chunk-D6POWE7E.cjs.map → chunk-MEUBLCM4.cjs.map} +1 -1
- package/dist/{chunk-VWUXIVEI.js → chunk-MFZODA5Y.js} +5 -5
- package/dist/{chunk-VWUXIVEI.js.map → chunk-MFZODA5Y.js.map} +1 -1
- package/dist/{chunk-4HS6FFGL.cjs → chunk-MPQJE3G4.cjs} +15 -15
- package/dist/{chunk-4HS6FFGL.cjs.map → chunk-MPQJE3G4.cjs.map} +1 -1
- package/dist/{chunk-QRVS2PRE.cjs → chunk-MPR2ISL2.cjs} +4 -4
- package/dist/{chunk-QRVS2PRE.cjs.map → chunk-MPR2ISL2.cjs.map} +1 -1
- package/dist/{chunk-UOLBAPDM.js → chunk-MQGSOKR3.js} +3 -3
- package/dist/{chunk-UOLBAPDM.js.map → chunk-MQGSOKR3.js.map} +1 -1
- package/dist/{chunk-HFEJE7AC.js → chunk-MU7IAA7G.js} +9 -9
- package/dist/{chunk-HFEJE7AC.js.map → chunk-MU7IAA7G.js.map} +1 -1
- package/dist/{chunk-EXTRW7GW.cjs → chunk-NAGPKWOD.cjs} +4 -4
- package/dist/{chunk-EXTRW7GW.cjs.map → chunk-NAGPKWOD.cjs.map} +1 -1
- package/dist/{chunk-KTTHHYEW.cjs → chunk-NJSIAJEK.cjs} +4 -4
- package/dist/{chunk-KTTHHYEW.cjs.map → chunk-NJSIAJEK.cjs.map} +1 -1
- package/dist/{chunk-Z3NTRKIC.cjs → chunk-NKIQTLFA.cjs} +4 -4
- package/dist/{chunk-Z3NTRKIC.cjs.map → chunk-NKIQTLFA.cjs.map} +1 -1
- package/dist/{chunk-N7VAE6DZ.js → chunk-NOO6GZTZ.js} +8 -84
- package/dist/chunk-NOO6GZTZ.js.map +1 -0
- package/dist/{chunk-GK3UG7YQ.cjs → chunk-OCEQ6DW2.cjs} +10 -10
- package/dist/{chunk-GK3UG7YQ.cjs.map → chunk-OCEQ6DW2.cjs.map} +1 -1
- package/dist/{chunk-BJUJT5ED.cjs → chunk-OF2CLCTH.cjs} +4 -4
- package/dist/{chunk-BJUJT5ED.cjs.map → chunk-OF2CLCTH.cjs.map} +1 -1
- package/dist/{chunk-HUFSABUZ.cjs → chunk-OLSEWLK5.cjs} +6 -6
- package/dist/{chunk-HUFSABUZ.cjs.map → chunk-OLSEWLK5.cjs.map} +1 -1
- package/dist/{chunk-DQZU7JK6.cjs → chunk-P22BZE7G.cjs} +4 -4
- package/dist/{chunk-DQZU7JK6.cjs.map → chunk-P22BZE7G.cjs.map} +1 -1
- package/dist/{chunk-QWD3CZWE.cjs → chunk-P7NNKEWO.cjs} +4 -4
- package/dist/{chunk-QWD3CZWE.cjs.map → chunk-P7NNKEWO.cjs.map} +1 -1
- package/dist/{chunk-DQNI52VV.js → chunk-PQCTDMUI.js} +3 -3
- package/dist/{chunk-DQNI52VV.js.map → chunk-PQCTDMUI.js.map} +1 -1
- package/dist/{chunk-3XSWF5AP.cjs → chunk-PSLCVSCS.cjs} +3 -3
- package/dist/{chunk-3XSWF5AP.cjs.map → chunk-PSLCVSCS.cjs.map} +1 -1
- package/dist/{chunk-YRLI5DVC.js → chunk-QDQQYRJI.js} +4 -4
- package/dist/{chunk-YRLI5DVC.js.map → chunk-QDQQYRJI.js.map} +1 -1
- package/dist/{chunk-P5S3WCSZ.js → chunk-R2C3HXR3.js} +4 -4
- package/dist/{chunk-P5S3WCSZ.js.map → chunk-R2C3HXR3.js.map} +1 -1
- package/dist/chunk-R3ZQBPA5.cjs +18 -0
- package/dist/{chunk-ANMJJD6D.cjs.map → chunk-R3ZQBPA5.cjs.map} +1 -1
- package/dist/{chunk-4NLCWGH7.cjs → chunk-RA7IE4NK.cjs} +15 -15
- package/dist/{chunk-4NLCWGH7.cjs.map → chunk-RA7IE4NK.cjs.map} +1 -1
- package/dist/{chunk-UBR5PWD7.js → chunk-SUVCHX4L.js} +3 -3
- package/dist/{chunk-UBR5PWD7.js.map → chunk-SUVCHX4L.js.map} +1 -1
- package/dist/{chunk-7KBNBPFK.cjs → chunk-SWALPLFQ.cjs} +2 -2
- package/dist/chunk-SWALPLFQ.cjs.map +1 -0
- package/dist/{chunk-E6QXZZKE.cjs → chunk-T5KOSR5Y.cjs} +11 -11
- package/dist/{chunk-E6QXZZKE.cjs.map → chunk-T5KOSR5Y.cjs.map} +1 -1
- package/dist/{chunk-R3LBRQAN.js → chunk-TC4RWP3Y.js} +6 -6
- package/dist/{chunk-R3LBRQAN.js.map → chunk-TC4RWP3Y.js.map} +1 -1
- package/dist/{chunk-XB4GI5RZ.js → chunk-TE6XVTOA.js} +3 -3
- package/dist/{chunk-XB4GI5RZ.js.map → chunk-TE6XVTOA.js.map} +1 -1
- package/dist/{chunk-33A27NFX.cjs → chunk-TTBIQTO5.cjs} +19 -19
- package/dist/{chunk-33A27NFX.cjs.map → chunk-TTBIQTO5.cjs.map} +1 -1
- package/dist/{chunk-J7J7J2GN.cjs → chunk-UNFBHV46.cjs} +9 -2
- package/dist/chunk-UNFBHV46.cjs.map +1 -0
- package/dist/{chunk-AAEZSPTC.js → chunk-UNZOJVVC.js} +4 -4
- package/dist/{chunk-AAEZSPTC.js.map → chunk-UNZOJVVC.js.map} +1 -1
- package/dist/{chunk-T3ZDEYTJ.js → chunk-W4VQMXBZ.js} +4 -4
- package/dist/{chunk-T3ZDEYTJ.js.map → chunk-W4VQMXBZ.js.map} +1 -1
- package/dist/{chunk-24SYBZPL.cjs → chunk-WPO3VCY4.cjs} +9 -9
- package/dist/{chunk-24SYBZPL.cjs.map → chunk-WPO3VCY4.cjs.map} +1 -1
- package/dist/{chunk-IUMAQURF.js → chunk-X6DUEDAF.js} +3 -3
- package/dist/{chunk-IUMAQURF.js.map → chunk-X6DUEDAF.js.map} +1 -1
- package/dist/{chunk-CFE6QF2Q.js → chunk-XCQ432OX.js} +3 -3
- package/dist/{chunk-CFE6QF2Q.js.map → chunk-XCQ432OX.js.map} +1 -1
- package/dist/{chunk-QWD4RDZ3.cjs → chunk-XDUGSTYJ.cjs} +15 -15
- package/dist/{chunk-QWD4RDZ3.cjs.map → chunk-XDUGSTYJ.cjs.map} +1 -1
- package/dist/{chunk-K2VMFZQ5.js → chunk-XKMVJ443.js} +5 -5
- package/dist/{chunk-K2VMFZQ5.js.map → chunk-XKMVJ443.js.map} +1 -1
- package/dist/{chunk-RWPLWMCZ.cjs → chunk-XW4POZ6V.cjs} +11 -11
- package/dist/{chunk-RWPLWMCZ.cjs.map → chunk-XW4POZ6V.cjs.map} +1 -1
- package/dist/{chunk-6PWOWXMC.js → chunk-XZHJYSPB.js} +3 -3
- package/dist/{chunk-6PWOWXMC.js.map → chunk-XZHJYSPB.js.map} +1 -1
- package/dist/{chunk-QC55H6RJ.cjs → chunk-YRJA2POB.cjs} +9 -9
- package/dist/{chunk-QC55H6RJ.cjs.map → chunk-YRJA2POB.cjs.map} +1 -1
- package/dist/{chunk-DMRT67Y6.js → chunk-ZJZ7LV3A.js} +3 -3
- package/dist/{chunk-DMRT67Y6.js.map → chunk-ZJZ7LV3A.js.map} +1 -1
- package/dist/{chunk-G7BLGBRN.js → chunk-ZWFTECOE.js} +3 -3
- package/dist/{chunk-G7BLGBRN.js.map → chunk-ZWFTECOE.js.map} +1 -1
- package/dist/{compact-session-QT6RJOKO.js → compact-session-2N3ZYJTW.js} +12 -12
- package/dist/{compact-session-QT6RJOKO.js.map → compact-session-2N3ZYJTW.js.map} +1 -1
- package/dist/{compact-session-75KD2FCM.cjs → compact-session-RBPLUPCK.cjs} +21 -21
- package/dist/{compact-session-75KD2FCM.cjs.map → compact-session-RBPLUPCK.cjs.map} +1 -1
- package/dist/compaction.cjs +20 -16
- package/dist/compaction.d.cts +2 -0
- package/dist/compaction.d.ts +2 -0
- package/dist/compaction.js +2 -2
- package/dist/concurrency.cjs +5 -5
- package/dist/concurrency.js +3 -3
- package/dist/context/index.cjs +13 -9
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.d.cts +2 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.js +5 -5
- package/dist/context/index.js.map +1 -1
- package/dist/context-SXR2HLHT.js +7 -0
- package/dist/{context-OJIIXJCV.js.map → context-SXR2HLHT.js.map} +1 -1
- package/dist/context-ZOULM2RB.cjs +24 -0
- package/dist/{context-7RP5JXGM.cjs.map → context-ZOULM2RB.cjs.map} +1 -1
- package/dist/{cron-BwxDUscv.d.cts → cron-CGxoEKlx.d.cts} +2 -2
- package/dist/{cron-D8uB1Xh5.d.ts → cron-DJv8zMa3.d.ts} +2 -2
- package/dist/cron.cjs +34 -34
- package/dist/cron.d.cts +4 -4
- package/dist/cron.d.ts +4 -4
- package/dist/cron.js +33 -33
- package/dist/{errors-DrDEgyz1.d.cts → errors-BWOJeWTZ.d.cts} +25 -2
- package/dist/{errors-CLOAyuiv.d.ts → errors-DDvG18IB.d.ts} +25 -2
- package/dist/errors.cjs +25 -21
- package/dist/errors.d.cts +2 -2
- package/dist/errors.d.ts +2 -2
- package/dist/errors.js +1 -1
- package/dist/eval.cjs +44 -44
- package/dist/eval.js +34 -34
- package/dist/{executor-XQAOQOHD.cjs → executor-2SUGI3ZT.cjs} +21 -21
- package/dist/{executor-XQAOQOHD.cjs.map → executor-2SUGI3ZT.cjs.map} +1 -1
- package/dist/{executor-ZNDQDX6Q.js → executor-3NI7KNL4.js} +6 -6
- package/dist/{executor-ZNDQDX6Q.js.map → executor-3NI7KNL4.js.map} +1 -1
- package/dist/filesystem/index.cjs +11 -11
- package/dist/filesystem/index.js +2 -2
- package/dist/fs-session-store-JHBJFKVV.cjs +19 -0
- package/dist/{fs-session-store-E4U3P56L.cjs.map → fs-session-store-JHBJFKVV.cjs.map} +1 -1
- package/dist/fs-session-store-STZZFXH2.js +10 -0
- package/dist/{fs-session-store-77JU46UZ.js.map → fs-session-store-STZZFXH2.js.map} +1 -1
- package/dist/generate-object-NTKAWE7D.js +7 -0
- package/dist/{generate-object-BXV7BZRP.js.map → generate-object-NTKAWE7D.js.map} +1 -1
- package/dist/generate-object-YHTWG5DB.cjs +20 -0
- package/dist/{generate-object-YBI2TDJ3.cjs.map → generate-object-YHTWG5DB.cjs.map} +1 -1
- package/dist/index-manager-ONQJSWX5.js +17 -0
- package/dist/{index-manager-Z4XMRVWQ.js.map → index-manager-ONQJSWX5.js.map} +1 -1
- package/dist/{index-manager-W7RHSL6G.cjs → index-manager-ZGJN25FD.cjs} +9 -9
- package/dist/{index-manager-W7RHSL6G.cjs.map → index-manager-ZGJN25FD.cjs.map} +1 -1
- package/dist/index.cjs +148 -146
- package/dist/index.d.cts +28 -10
- package/dist/index.d.ts +28 -10
- package/dist/index.js +49 -49
- package/dist/{inject-session-L6MIIELT.cjs → inject-session-3FPXJDJP.cjs} +4 -4
- package/dist/{inject-session-L6MIIELT.cjs.map → inject-session-3FPXJDJP.cjs.map} +1 -1
- package/dist/{inject-session-XWWN4DAA.js → inject-session-YNNOE3O6.js} +3 -3
- package/dist/{inject-session-XWWN4DAA.js.map → inject-session-YNNOE3O6.js.map} +1 -1
- package/dist/interactive/index.cjs +3 -3
- package/dist/interactive/index.js +1 -1
- package/dist/internal/memory/adapters/index.cjs +7 -7
- package/dist/internal/memory/adapters/index.js +6 -6
- package/dist/internal/memory/storage/index.cjs +35 -35
- package/dist/internal/memory/storage/index.js +6 -6
- package/dist/internal/persistence/index.cjs +11 -11
- package/dist/internal/persistence/index.js +3 -3
- package/dist/internal/runtime/compression/compression-model-registry.d.ts +1 -0
- package/dist/internal/runtime/compression/compression-summarizer.d.ts +0 -14
- package/dist/internal/runtime/context/context-discovery.d.ts +20 -5
- package/dist/internal/runtime/context/context-loaders.d.ts +5 -1
- package/dist/internal/security/index.cjs +9 -9
- package/dist/internal/security/index.js +2 -2
- package/dist/judge-call-AQQYK6VT.cjs +22 -0
- package/dist/{judge-call-46M2E5FA.cjs.map → judge-call-AQQYK6VT.cjs.map} +1 -1
- package/dist/judge-call-LOL5FQEX.js +5 -0
- package/dist/{judge-call-FGUNNWEI.js.map → judge-call-LOL5FQEX.js.map} +1 -1
- package/dist/mcp-auth.cjs +9 -9
- package/dist/mcp-auth.js +2 -2
- package/dist/models.cjs +15 -15
- package/dist/models.js +6 -6
- package/dist/oauth-transaction-store-NP2YHZ6D.js +5 -0
- package/dist/{oauth-transaction-store-5RIR6D5C.js.map → oauth-transaction-store-NP2YHZ6D.js.map} +1 -1
- package/dist/oauth-transaction-store-ZINDV7AF.cjs +38 -0
- package/dist/{oauth-transaction-store-SXIE57OD.cjs.map → oauth-transaction-store-ZINDV7AF.cjs.map} +1 -1
- package/dist/path-safety.cjs +9 -9
- package/dist/path-safety.js +2 -2
- package/dist/persistence.cjs +16 -16
- package/dist/persistence.js +4 -4
- package/dist/project.cjs +5 -5
- package/dist/project.js +2 -2
- package/dist/providers.cjs +8 -8
- package/dist/providers.js +6 -6
- package/dist/{registry-DMWCJKRF.js → registry-5FK42CRV.js} +6 -6
- package/dist/{registry-DMWCJKRF.js.map → registry-5FK42CRV.js.map} +1 -1
- package/dist/{registry-BZQFYRTL.cjs → registry-BVTNO73E.cjs} +14 -14
- package/dist/{registry-BZQFYRTL.cjs.map → registry-BVTNO73E.cjs.map} +1 -1
- package/dist/retry.cjs +3 -3
- package/dist/retry.js +2 -2
- package/dist/{run-CTAdRU3U.d.ts → run-DsA5Ip2i.d.cts} +1 -1
- package/dist/{run-CTAdRU3U.d.cts → run-DsA5Ip2i.d.ts} +1 -1
- package/dist/sandbox/index.cjs +18 -18
- package/dist/sandbox/index.js +3 -3
- package/dist/{sdk-agent-BOiKqOgL.d.cts → sdk-agent-dNwjwCt5.d.cts} +2 -2
- package/dist/{sdk-agent-D4a_BR_6.d.ts → sdk-agent-wEOLXD3F.d.ts} +2 -2
- package/dist/server/auth/index.cjs +21 -21
- package/dist/server/auth/index.js +6 -6
- package/dist/server/errors-envelope.cjs +13 -13
- package/dist/server/errors-envelope.d.cts +2 -2
- package/dist/server/errors-envelope.d.ts +2 -2
- package/dist/server/errors-envelope.js +2 -2
- package/dist/skills.cjs +7 -7
- package/dist/skills.js +4 -4
- package/dist/stream-object-QAEHG4YO.js +7 -0
- package/dist/{stream-object-HBFMIZLD.js.map → stream-object-QAEHG4YO.js.map} +1 -1
- package/dist/stream-object-TKVGGA54.cjs +20 -0
- package/dist/{stream-object-QSKHISDJ.cjs.map → stream-object-TKVGGA54.cjs.map} +1 -1
- package/dist/subagents-loader-7GE7YUDI.cjs +16 -0
- package/dist/{subagents-loader-MOO7DC4E.cjs.map → subagents-loader-7GE7YUDI.cjs.map} +1 -1
- package/dist/subagents-loader-S2PMZY7J.js +7 -0
- package/dist/{subagents-loader-CJFYQQU2.js.map → subagents-loader-S2PMZY7J.js.map} +1 -1
- package/dist/subagents-loader.cjs +5 -5
- package/dist/subagents-loader.d.cts +3 -3
- package/dist/subagents-loader.d.ts +3 -3
- package/dist/subagents-loader.js +3 -3
- package/dist/subscription/index.cjs +3 -2
- package/dist/subscription/index.d.cts +1 -1
- package/dist/subscription/index.d.ts +1 -1
- package/dist/subscription/index.js +2 -2
- package/dist/task-store.cjs +5 -5
- package/dist/task-store.js +2 -2
- package/dist/workflow.cjs +25 -25
- package/dist/workflow.d.cts +2 -2
- package/dist/workflow.d.ts +2 -2
- package/dist/workflow.js +4 -4
- package/docs/error-codes.md +1 -1
- package/docs/harness-capability-map.md +17 -1
- package/package.json +1 -1
- package/dist/agent-EQ5HKTWV.js +0 -59
- package/dist/agent-KA63WDQH.cjs +0 -68
- package/dist/chunk-6M2OIS4Y.js.map +0 -1
- package/dist/chunk-7KBNBPFK.cjs.map +0 -1
- package/dist/chunk-A6PDYH55.js.map +0 -1
- package/dist/chunk-ALUN2B4W.js.map +0 -1
- package/dist/chunk-ANMJJD6D.cjs +0 -18
- package/dist/chunk-ATT276RD.cjs.map +0 -1
- package/dist/chunk-J7J7J2GN.cjs.map +0 -1
- package/dist/chunk-N7VAE6DZ.js.map +0 -1
- package/dist/chunk-ZLMU5EU3.cjs.map +0 -1
- package/dist/context-7RP5JXGM.cjs +0 -24
- package/dist/context-OJIIXJCV.js +0 -7
- package/dist/fs-session-store-77JU46UZ.js +0 -10
- package/dist/fs-session-store-E4U3P56L.cjs +0 -19
- package/dist/generate-object-BXV7BZRP.js +0 -7
- package/dist/generate-object-YBI2TDJ3.cjs +0 -20
- package/dist/index-manager-Z4XMRVWQ.js +0 -17
- package/dist/judge-call-46M2E5FA.cjs +0 -22
- package/dist/judge-call-FGUNNWEI.js +0 -5
- package/dist/oauth-transaction-store-5RIR6D5C.js +0 -5
- package/dist/oauth-transaction-store-SXIE57OD.cjs +0 -38
- package/dist/stream-object-HBFMIZLD.js +0 -7
- package/dist/stream-object-QSKHISDJ.cjs +0 -20
- package/dist/subagents-loader-CJFYQQU2.js +0 -7
- package/dist/subagents-loader-MOO7DC4E.cjs +0 -16
package/dist/index.cjs
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKGZ66JVZ_cjs = require('./chunk-KGZ66JVZ.cjs');
|
|
4
4
|
var chunkOBA6YK2R_cjs = require('./chunk-OBA6YK2R.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
5
|
+
var chunkECD6ER3E_cjs = require('./chunk-ECD6ER3E.cjs');
|
|
6
|
+
var chunkT5KOSR5Y_cjs = require('./chunk-T5KOSR5Y.cjs');
|
|
7
|
+
var chunkXDUGSTYJ_cjs = require('./chunk-XDUGSTYJ.cjs');
|
|
8
|
+
require('./chunk-D5KXKBEN.cjs');
|
|
9
|
+
var chunkMPQJE3G4_cjs = require('./chunk-MPQJE3G4.cjs');
|
|
10
|
+
require('./chunk-6PB5AQCY.cjs');
|
|
11
11
|
require('./chunk-VTYY7XL5.cjs');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
12
|
+
var chunkAOHRKGAA_cjs = require('./chunk-AOHRKGAA.cjs');
|
|
13
|
+
var chunk2STSX2SY_cjs = require('./chunk-2STSX2SY.cjs');
|
|
14
|
+
var chunkJ6GXS5A2_cjs = require('./chunk-J6GXS5A2.cjs');
|
|
15
|
+
require('./chunk-PSLCVSCS.cjs');
|
|
16
16
|
require('./chunk-BUUUWQMB.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-TTBIQTO5.cjs');
|
|
18
|
+
require('./chunk-J4SA2ZEJ.cjs');
|
|
19
19
|
require('./chunk-BV2MWEMV.cjs');
|
|
20
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-MEUBLCM4.cjs');
|
|
21
21
|
require('./chunk-GHX4P3V2.cjs');
|
|
22
22
|
require('./chunk-TMKTSYDS.cjs');
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
23
|
+
var chunk76PIKR4P_cjs = require('./chunk-76PIKR4P.cjs');
|
|
24
|
+
var chunkB3XXQX6L_cjs = require('./chunk-B3XXQX6L.cjs');
|
|
25
|
+
var chunkARMFXTY6_cjs = require('./chunk-ARMFXTY6.cjs');
|
|
26
|
+
require('./chunk-CQYBJOB2.cjs');
|
|
27
27
|
require('./chunk-YJNYDJ2T.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-WPO3VCY4.cjs');
|
|
29
29
|
require('./chunk-QOGNZMHD.cjs');
|
|
30
30
|
var chunkYIFFF23U_cjs = require('./chunk-YIFFF23U.cjs');
|
|
31
31
|
require('./chunk-2ZPEDVLM.cjs');
|
|
32
|
-
require('./chunk-
|
|
33
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-KTA7YTZQ.cjs');
|
|
33
|
+
require('./chunk-OCEQ6DW2.cjs');
|
|
34
34
|
require('./chunk-KRD3GQAA.cjs');
|
|
35
35
|
require('./chunk-RQMCOFAI.cjs');
|
|
36
36
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
37
37
|
var chunkAA27GEYS_cjs = require('./chunk-AA27GEYS.cjs');
|
|
38
38
|
require('./chunk-YSTXFWQE.cjs');
|
|
39
39
|
require('./chunk-FRITRLZQ.cjs');
|
|
40
|
-
require('./chunk-
|
|
40
|
+
require('./chunk-JW3GVLM6.cjs');
|
|
41
41
|
require('./chunk-NINIJCHU.cjs');
|
|
42
|
-
var
|
|
43
|
-
require('./chunk-
|
|
42
|
+
var chunkHG5LKFG7_cjs = require('./chunk-HG5LKFG7.cjs');
|
|
43
|
+
require('./chunk-SWALPLFQ.cjs');
|
|
44
44
|
require('./chunk-IJ7M6GOG.cjs');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-GM54F4FE.cjs');
|
|
46
46
|
require('./chunk-SA6K24NB.cjs');
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-IIYJMXYW.cjs');
|
|
48
|
+
require('./chunk-NJSIAJEK.cjs');
|
|
49
|
+
require('./chunk-NKIQTLFA.cjs');
|
|
50
50
|
require('./chunk-GZV6AVRL.cjs');
|
|
51
51
|
require('./chunk-A4RAL2ER.cjs');
|
|
52
|
-
require('./chunk-
|
|
53
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-P22BZE7G.cjs');
|
|
53
|
+
require('./chunk-OF2CLCTH.cjs');
|
|
54
54
|
var chunkZF2LDKQQ_cjs = require('./chunk-ZF2LDKQQ.cjs');
|
|
55
|
-
var
|
|
55
|
+
var chunkGHHIJEFX_cjs = require('./chunk-GHHIJEFX.cjs');
|
|
56
56
|
var chunkJLRLCBJ4_cjs = require('./chunk-JLRLCBJ4.cjs');
|
|
57
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-XW4POZ6V.cjs');
|
|
58
58
|
var chunkTY56BKSK_cjs = require('./chunk-TY56BKSK.cjs');
|
|
59
|
-
require('./chunk-
|
|
60
|
-
var
|
|
59
|
+
require('./chunk-MPR2ISL2.cjs');
|
|
60
|
+
var chunkJ5623RIV_cjs = require('./chunk-J5623RIV.cjs');
|
|
61
61
|
var chunk3EE6LVWT_cjs = require('./chunk-3EE6LVWT.cjs');
|
|
62
|
-
require('./chunk-
|
|
63
|
-
var
|
|
62
|
+
require('./chunk-R3ZQBPA5.cjs');
|
|
63
|
+
var chunkYRJA2POB_cjs = require('./chunk-YRJA2POB.cjs');
|
|
64
64
|
require('./chunk-NVXXWAU7.cjs');
|
|
65
|
-
require('./chunk-
|
|
66
|
-
require('./chunk-
|
|
67
|
-
require('./chunk-
|
|
68
|
-
var
|
|
65
|
+
require('./chunk-RA7IE4NK.cjs');
|
|
66
|
+
require('./chunk-NAGPKWOD.cjs');
|
|
67
|
+
require('./chunk-OLSEWLK5.cjs');
|
|
68
|
+
var chunkUNFBHV46_cjs = require('./chunk-UNFBHV46.cjs');
|
|
69
69
|
var chunk6LHQPOMI_cjs = require('./chunk-6LHQPOMI.cjs');
|
|
70
70
|
var crypto = require('crypto');
|
|
71
71
|
var promises = require('fs/promises');
|
|
@@ -76,8 +76,8 @@ var os = require('os');
|
|
|
76
76
|
// src/agent-factory.ts
|
|
77
77
|
function createAgentFactory(common) {
|
|
78
78
|
return {
|
|
79
|
-
forSession: (agentId, overrides) =>
|
|
80
|
-
getOrCreate: (agentId, overrides) =>
|
|
79
|
+
forSession: (agentId, overrides) => chunk2STSX2SY_cjs.Agent.create(mergeAgentOptions(common, overrides, agentId)),
|
|
80
|
+
getOrCreate: (agentId, overrides) => chunk2STSX2SY_cjs.Agent.getOrCreate(agentId, mergeAgentOptions(common, overrides, agentId))
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -231,12 +231,12 @@ var NAME_GRAMMAR = /^[a-z0-9][a-z0-9_-]*$/;
|
|
|
231
231
|
var registry = /* @__PURE__ */ new Map();
|
|
232
232
|
function validateBudgetName(name) {
|
|
233
233
|
if (typeof name !== "string" || name.length === 0) {
|
|
234
|
-
throw new
|
|
234
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("Budget name must be a non-empty string", {
|
|
235
235
|
code: "invalid_budget_name"
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
if (!NAME_GRAMMAR.test(name)) {
|
|
239
|
-
throw new
|
|
239
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
240
240
|
`Budget name "${name}" must match ^[a-z0-9][a-z0-9_-]*$ (lowercase + dash/underscore, start alphanumeric)`,
|
|
241
241
|
{ code: "invalid_budget_name" }
|
|
242
242
|
);
|
|
@@ -244,7 +244,7 @@ function validateBudgetName(name) {
|
|
|
244
244
|
}
|
|
245
245
|
function assertImplementedScope(scope) {
|
|
246
246
|
if (scope === "process") return;
|
|
247
|
-
throw new
|
|
247
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
248
248
|
`Budget scope "${scope}" is declared but not implemented \u2014 only "process" is honoured. A budget created with it would have been accounted process-wide with no warning.`,
|
|
249
249
|
{ code: "unimplemented_budget_scope" }
|
|
250
250
|
);
|
|
@@ -253,7 +253,7 @@ function createBudget(opts) {
|
|
|
253
253
|
validateBudgetName(opts.name);
|
|
254
254
|
assertImplementedScope(opts.scope);
|
|
255
255
|
if (registry.has(opts.name)) {
|
|
256
|
-
throw new
|
|
256
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`Budget "${opts.name}" already exists`, {
|
|
257
257
|
code: "invalid_budget_name"
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -317,7 +317,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
317
317
|
for (const lim of opts.limits) {
|
|
318
318
|
const currentSpent = spentIn(opts.name, lim.window);
|
|
319
319
|
if (currentSpent + estimatedUsd > lim.limitUsd) {
|
|
320
|
-
throw new
|
|
320
|
+
throw new chunkUNFBHV46_cjs.BudgetExceededError({
|
|
321
321
|
budgetName: opts.name,
|
|
322
322
|
window: lim.window,
|
|
323
323
|
spentUsd: currentSpent + estimatedUsd,
|
|
@@ -564,19 +564,19 @@ function createUnicodeNormalizer(opts = {}) {
|
|
|
564
564
|
}
|
|
565
565
|
function createTokenLimiter(opts) {
|
|
566
566
|
if (!Number.isInteger(opts.limit) || opts.limit <= 0) {
|
|
567
|
-
throw new
|
|
567
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createTokenLimiter: `limit` must be a positive integer.", {
|
|
568
568
|
code: "invalid_processor_options"
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
571
|
const limit = opts.limit;
|
|
572
572
|
const strategy = opts.strategy ?? "truncate";
|
|
573
573
|
const cap = (text, controls) => {
|
|
574
|
-
const estimated =
|
|
574
|
+
const estimated = chunkJ5623RIV_cjs.estimateTokens(text);
|
|
575
575
|
if (estimated <= limit) return text;
|
|
576
576
|
if (strategy === "block") {
|
|
577
577
|
controls.abort(`exceeds token limit ${limit} (~${estimated} estimated)`);
|
|
578
578
|
}
|
|
579
|
-
return [...text].slice(0, limit *
|
|
579
|
+
return [...text].slice(0, limit * chunkJ5623RIV_cjs.CHARS_PER_TOKEN).join("");
|
|
580
580
|
};
|
|
581
581
|
return {
|
|
582
582
|
id: "token-limiter",
|
|
@@ -602,12 +602,12 @@ var UnicodeNormalizer = class {
|
|
|
602
602
|
// src/create-skill.ts
|
|
603
603
|
function createSkill(spec) {
|
|
604
604
|
if (!spec.name) {
|
|
605
|
-
throw new
|
|
605
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSkill: `name` is required.", {
|
|
606
606
|
code: "invalid_skill_spec"
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
609
|
if (!spec.description) {
|
|
610
|
-
throw new
|
|
610
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSkill: `description` is required.", {
|
|
611
611
|
code: "invalid_skill_spec"
|
|
612
612
|
});
|
|
613
613
|
}
|
|
@@ -665,8 +665,8 @@ var Provider = class _Provider {
|
|
|
665
665
|
* `.plugins(Provider.builtins())` once, then pick a `provider/model` id. @public
|
|
666
666
|
*/
|
|
667
667
|
static builtins() {
|
|
668
|
-
|
|
669
|
-
return
|
|
668
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
669
|
+
return chunkYRJA2POB_cjs.listProviders().map((profile) => defineProvider(profile));
|
|
670
670
|
}
|
|
671
671
|
/**
|
|
672
672
|
* The builtin serving `modelId`, or `undefined` when none does.
|
|
@@ -695,7 +695,7 @@ async function resolveBody(skill) {
|
|
|
695
695
|
}
|
|
696
696
|
const source = skill.source;
|
|
697
697
|
const skillDir = path.dirname(source);
|
|
698
|
-
const body =
|
|
698
|
+
const body = chunkHG5LKFG7_cjs.stripSkillFrontmatter(await promises.readFile(source, "utf8"));
|
|
699
699
|
const instructions = body.replaceAll(SKILL_DIR_PLACEHOLDER, skillDir);
|
|
700
700
|
const references = await readReferences(skillDir);
|
|
701
701
|
return references === void 0 ? { instructions } : { instructions, references };
|
|
@@ -737,7 +737,7 @@ function defineSkillReadTool(skills) {
|
|
|
737
737
|
const seen = /* @__PURE__ */ new Set();
|
|
738
738
|
for (const skill of skills) {
|
|
739
739
|
if (seen.has(skill.name)) {
|
|
740
|
-
throw new
|
|
740
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`defineSkillReadTool: duplicate skill name "${skill.name}".`, {
|
|
741
741
|
code: "duplicate_skill_name"
|
|
742
742
|
});
|
|
743
743
|
}
|
|
@@ -841,7 +841,7 @@ function runGoalLoop(agent, goal, options, depsOverride) {
|
|
|
841
841
|
async function* wrap() {
|
|
842
842
|
const { runUntilImpl } = await import('./run-until-DG2KXWB2.cjs');
|
|
843
843
|
const deps = depsOverride ?? await (async () => {
|
|
844
|
-
const { judgeCallImpl } = await import('./judge-call-
|
|
844
|
+
const { judgeCallImpl } = await import('./judge-call-AQQYK6VT.cjs');
|
|
845
845
|
const { getAgentFacade } = await import('./agent-factory-registry-UU46BUMU.cjs');
|
|
846
846
|
const create = getAgentFacade().create;
|
|
847
847
|
return {
|
|
@@ -963,7 +963,7 @@ function effectiveToolNames(options) {
|
|
|
963
963
|
function refuseCreatedTool(options) {
|
|
964
964
|
const candidate = options;
|
|
965
965
|
if (candidate.handler === void 0 || candidate.inputSchema === void 0) return;
|
|
966
|
-
throw new
|
|
966
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
967
967
|
`effectiveToolNames received a created tool${typeof candidate.name === "string" ? ` ("${candidate.name}")` : ""}, not AgentOptions. \`SubAgent.create()\` returns a CustomTool and closes its spec inside the handler, so the spec cannot be recovered from it. Pass the spec you built it from \u2014 keep it in a variable, or extract it into a function the test can call.`,
|
|
968
968
|
{ code: "effective_tools_expected_options" }
|
|
969
969
|
);
|
|
@@ -1084,7 +1084,7 @@ var JobQueue = class {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
|
|
1086
1086
|
// src/layer-fold.ts
|
|
1087
|
-
var LayerOrderError = class extends
|
|
1087
|
+
var LayerOrderError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1088
1088
|
name = "LayerOrderError";
|
|
1089
1089
|
};
|
|
1090
1090
|
function verifyLayerOrdering(layers) {
|
|
@@ -1258,8 +1258,8 @@ async function runInner(options) {
|
|
|
1258
1258
|
const now = options.now ?? Date.now;
|
|
1259
1259
|
const timestampMs = now();
|
|
1260
1260
|
try {
|
|
1261
|
-
const root = options.memoryRoot ??
|
|
1262
|
-
const facts = await
|
|
1261
|
+
const root = options.memoryRoot ?? chunk76PIKR4P_cjs.resolveMemoryRoot(options.cwd);
|
|
1262
|
+
const facts = await chunk76PIKR4P_cjs.readFactsFromMarkdown(
|
|
1263
1263
|
options.cwd,
|
|
1264
1264
|
options.memoryRoot ? { directory: options.memoryRoot } : void 0
|
|
1265
1265
|
);
|
|
@@ -1278,7 +1278,7 @@ async function runInner(options) {
|
|
|
1278
1278
|
notesWritten,
|
|
1279
1279
|
diaryEntryHash: void 0
|
|
1280
1280
|
};
|
|
1281
|
-
await
|
|
1281
|
+
await chunkT5KOSR5Y_cjs.appendDiaryEntry(root, {
|
|
1282
1282
|
timestampMs,
|
|
1283
1283
|
factsBefore: result.factsBefore,
|
|
1284
1284
|
factsAfter: result.factsAfter,
|
|
@@ -1372,8 +1372,8 @@ var Memory = {
|
|
|
1372
1372
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1373
1373
|
return await peer.IndexManager.open(openArgs);
|
|
1374
1374
|
}
|
|
1375
|
-
const { IndexManager } = await import('./index-manager-
|
|
1376
|
-
openArgs.embedding = await resolveEmbedding(opts.embedding,
|
|
1375
|
+
const { IndexManager } = await import('./index-manager-ZGJN25FD.cjs');
|
|
1376
|
+
openArgs.embedding = await resolveEmbedding(opts.embedding, chunk2STSX2SY_cjs.MEMORY_EMBEDDING_ADAPTERS);
|
|
1377
1377
|
return await IndexManager.open(openArgs);
|
|
1378
1378
|
},
|
|
1379
1379
|
/**
|
|
@@ -1384,7 +1384,7 @@ var Memory = {
|
|
|
1384
1384
|
*/
|
|
1385
1385
|
async runDreamingSweep(opts) {
|
|
1386
1386
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1387
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1387
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunk2STSX2SY_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1388
1388
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1389
1389
|
const result = peer !== null ? (
|
|
1390
1390
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1418,7 +1418,7 @@ async function buildDreamingSweepArgs(opts, catalog) {
|
|
|
1418
1418
|
const runtime = await resolveEmbedding(opts.embedding, catalog);
|
|
1419
1419
|
return {
|
|
1420
1420
|
cwd: opts.cwd,
|
|
1421
|
-
memoryRoot:
|
|
1421
|
+
memoryRoot: chunk76PIKR4P_cjs.resolveMemoryRoot(opts.cwd, { directory: opts.directory }),
|
|
1422
1422
|
embedding: runtime,
|
|
1423
1423
|
...opts.dedupThreshold !== void 0 ? { dedupThreshold: opts.dedupThreshold } : {},
|
|
1424
1424
|
...opts.clusterThreshold !== void 0 ? { clusterThreshold: opts.clusterThreshold } : {}
|
|
@@ -1443,7 +1443,7 @@ function extractRawId(id, expectedAdapterId) {
|
|
|
1443
1443
|
const prefix = `${expectedAdapterId}:`;
|
|
1444
1444
|
if (!id.startsWith(prefix)) {
|
|
1445
1445
|
const sourcePrefix = id.split(":", 1)[0] ?? "<malformed>";
|
|
1446
|
-
throw new
|
|
1446
|
+
throw new chunkUNFBHV46_cjs.MemoryAdapterError(
|
|
1447
1447
|
`MemoryId belongs to a different adapter (expected "${expectedAdapterId}", got "${sourcePrefix}")`,
|
|
1448
1448
|
{ adapterId: expectedAdapterId, code: "invalid_input" }
|
|
1449
1449
|
);
|
|
@@ -1457,7 +1457,7 @@ async function migrateSqliteToLance2(options) {
|
|
|
1457
1457
|
if (peer !== null) {
|
|
1458
1458
|
return peer.migrateSqliteToLance(options);
|
|
1459
1459
|
}
|
|
1460
|
-
return
|
|
1460
|
+
return chunkT5KOSR5Y_cjs.migrateSqliteToLance(options);
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
1463
|
// src/permission-engine.ts
|
|
@@ -1679,12 +1679,12 @@ function parseOne(rule, action) {
|
|
|
1679
1679
|
const open = trimmed.indexOf("(");
|
|
1680
1680
|
if (open === -1) {
|
|
1681
1681
|
if (trimmed.length === 0) {
|
|
1682
|
-
throw new
|
|
1682
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("permission rule is empty", { code: "permission_rule_invalid" });
|
|
1683
1683
|
}
|
|
1684
1684
|
return [{ tool: normaliseToolName(trimmed), action }];
|
|
1685
1685
|
}
|
|
1686
1686
|
if (!trimmed.endsWith(")")) {
|
|
1687
|
-
throw new
|
|
1687
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1688
1688
|
`permission rule "${rule}" opens a specifier and never closes it \u2014 expected Tool(specifier)`,
|
|
1689
1689
|
{ code: "permission_rule_invalid" }
|
|
1690
1690
|
);
|
|
@@ -1692,7 +1692,7 @@ function parseOne(rule, action) {
|
|
|
1692
1692
|
const tool = trimmed.slice(0, open).trim();
|
|
1693
1693
|
const specifier = trimmed.slice(open + 1, -1);
|
|
1694
1694
|
if (tool.length === 0) {
|
|
1695
|
-
throw new
|
|
1695
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`permission rule "${rule}" names no tool`, {
|
|
1696
1696
|
code: "permission_rule_invalid"
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
@@ -1776,7 +1776,7 @@ function loadProjectEnv(env = process.env, load = typeof process.loadEnvFile ===
|
|
|
1776
1776
|
}
|
|
1777
1777
|
|
|
1778
1778
|
// src/reap-plan.ts
|
|
1779
|
-
var RetentionPolicyError = class extends
|
|
1779
|
+
var RetentionPolicyError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1780
1780
|
name = "RetentionPolicyError";
|
|
1781
1781
|
};
|
|
1782
1782
|
function assertPolicy(retention) {
|
|
@@ -1860,7 +1860,7 @@ async function normalizeValibotSchema(schema) {
|
|
|
1860
1860
|
return mod.toJsonSchema(schema);
|
|
1861
1861
|
} catch (err) {
|
|
1862
1862
|
if (!isMissingModuleError(err)) throw err;
|
|
1863
|
-
throw new
|
|
1863
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1864
1864
|
"normalizeSchema: a Valibot schema requires the optional '@valibot/to-json-schema' package. Install it, or use a Zod schema (the default recommendation).",
|
|
1865
1865
|
{ code: "valibot_converter_missing" }
|
|
1866
1866
|
);
|
|
@@ -1873,7 +1873,7 @@ async function normalizeSchema(schema) {
|
|
|
1873
1873
|
return chunkAA27GEYS_cjs.toJsonSchema(schema, { unrepresentable: "any" });
|
|
1874
1874
|
}
|
|
1875
1875
|
if (hasToJsonSchemaMethod(schema)) return schema.toJsonSchema();
|
|
1876
|
-
throw new
|
|
1876
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1877
1877
|
"normalizeSchema: unsupported schema. Supported: Zod (default), JSON Schema, ArkType (.toJsonSchema()), Valibot (with @valibot/to-json-schema).",
|
|
1878
1878
|
{ code: "unsupported_schema" }
|
|
1879
1879
|
);
|
|
@@ -1927,7 +1927,7 @@ var Security = class {
|
|
|
1927
1927
|
*/
|
|
1928
1928
|
static addPattern(re) {
|
|
1929
1929
|
if (!re.global) {
|
|
1930
|
-
throw new
|
|
1930
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1931
1931
|
"Security.addPattern: regex must have /g flag for replace-all semantics",
|
|
1932
1932
|
{ code: "invalid_redaction_pattern" }
|
|
1933
1933
|
);
|
|
@@ -1970,7 +1970,7 @@ function applySecurityFloor(input) {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
1972
|
// src/session-guard.ts
|
|
1973
|
-
var LiveSessionError = class extends
|
|
1973
|
+
var LiveSessionError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1974
1974
|
name = "LiveSessionError";
|
|
1975
1975
|
sessionId;
|
|
1976
1976
|
reason;
|
|
@@ -1994,8 +1994,8 @@ function guardSessionDestruction(sessionId, live) {
|
|
|
1994
1994
|
// src/session-messages.ts
|
|
1995
1995
|
async function readSessionMessages2(options) {
|
|
1996
1996
|
const cwd = options.cwd ?? process.cwd();
|
|
1997
|
-
const baseDir =
|
|
1998
|
-
return chunkYIFFF23U_cjs.readSessionMessages(new
|
|
1997
|
+
const baseDir = chunk2STSX2SY_cjs.resolveSessionDir({ sessionDir: options.sessionDir });
|
|
1998
|
+
return chunkYIFFF23U_cjs.readSessionMessages(new chunkB3XXQX6L_cjs.FsSessionStore({ baseDir, cwd }), options.sessionId);
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
2001
|
// src/session-scope.ts
|
|
@@ -2011,7 +2011,7 @@ function isBuiltAgent(m) {
|
|
|
2011
2011
|
return typeof m.send === "function";
|
|
2012
2012
|
}
|
|
2013
2013
|
async function materialize(def, index) {
|
|
2014
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
2014
|
+
const { Agent: Agent2 } = await import('./agent-LNTR4QH5.cjs');
|
|
2015
2015
|
return Agent2.create({
|
|
2016
2016
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
2017
2017
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|
|
@@ -2025,12 +2025,12 @@ async function materialize(def, index) {
|
|
|
2025
2025
|
function createSquad(options) {
|
|
2026
2026
|
const { agents } = options;
|
|
2027
2027
|
if (!Array.isArray(agents) || agents.length === 0) {
|
|
2028
|
-
throw new
|
|
2028
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSquad requires a non-empty `agents` array", {
|
|
2029
2029
|
code: "invalid_squad"
|
|
2030
2030
|
});
|
|
2031
2031
|
}
|
|
2032
2032
|
if (options.process !== void 0 && options.process !== "sequential") {
|
|
2033
|
-
throw new
|
|
2033
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2034
2034
|
`createSquad only supports process "sequential"; for manager\u2192worker delegation use subagents or @theokit/sdk-handoff`,
|
|
2035
2035
|
{ code: "squad_process_unsupported" }
|
|
2036
2036
|
);
|
|
@@ -2043,13 +2043,13 @@ function createSquad(options) {
|
|
|
2043
2043
|
};
|
|
2044
2044
|
}
|
|
2045
2045
|
async function buildPipeline(agents, name) {
|
|
2046
|
-
let builder =
|
|
2046
|
+
let builder = chunkMPQJE3G4_cjs.Workflow.create({ name: name ?? "squad" });
|
|
2047
2047
|
for (let i = 0; i < agents.length; i++) {
|
|
2048
2048
|
const member = agents[i];
|
|
2049
2049
|
if (member === void 0) continue;
|
|
2050
2050
|
const agent = isBuiltAgent(member) ? member : await materialize(member, i);
|
|
2051
2051
|
const opts = i > 0 ? { origin: { kind: "peer", from: `agent-${i - 1}` } } : void 0;
|
|
2052
|
-
builder = builder.then(
|
|
2052
|
+
builder = builder.then(chunkMPQJE3G4_cjs.agentStep(`agent-${i}`, agent, (prev) => String(prev), opts));
|
|
2053
2053
|
}
|
|
2054
2054
|
return builder.commit();
|
|
2055
2055
|
}
|
|
@@ -2073,7 +2073,7 @@ var Task = class {
|
|
|
2073
2073
|
* (D369), and retention (D373).
|
|
2074
2074
|
*/
|
|
2075
2075
|
static configure(opts) {
|
|
2076
|
-
|
|
2076
|
+
chunkJ6GXS5A2_cjs.configure(opts);
|
|
2077
2077
|
}
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Submit a unit of asynchronous work to the registry.
|
|
@@ -2098,7 +2098,7 @@ var Task = class {
|
|
|
2098
2098
|
* a semaphore slot and without invoking `work`.
|
|
2099
2099
|
*/
|
|
2100
2100
|
static async submit(kind, work, options = {}) {
|
|
2101
|
-
return
|
|
2101
|
+
return chunkJ6GXS5A2_cjs.submit({
|
|
2102
2102
|
kind,
|
|
2103
2103
|
work,
|
|
2104
2104
|
...options.id !== void 0 ? { id: options.id } : {},
|
|
@@ -2109,11 +2109,11 @@ var Task = class {
|
|
|
2109
2109
|
}
|
|
2110
2110
|
/** Returns matching handles, capped at `filter.limit ?? 100`. */
|
|
2111
2111
|
static list(filter = {}) {
|
|
2112
|
-
return
|
|
2112
|
+
return chunkJ6GXS5A2_cjs.list(filter);
|
|
2113
2113
|
}
|
|
2114
2114
|
/** Returns a single handle by id, or `undefined` if unknown / evicted. */
|
|
2115
2115
|
static get(id) {
|
|
2116
|
-
return
|
|
2116
|
+
return chunkJ6GXS5A2_cjs.get(id);
|
|
2117
2117
|
}
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Idempotent cancel (D365). Returns:
|
|
@@ -2126,7 +2126,7 @@ var Task = class {
|
|
|
2126
2126
|
* Never throws.
|
|
2127
2127
|
*/
|
|
2128
2128
|
static cancel(id, reason) {
|
|
2129
|
-
return
|
|
2129
|
+
return chunkJ6GXS5A2_cjs.cancel(id, reason);
|
|
2130
2130
|
}
|
|
2131
2131
|
/**
|
|
2132
2132
|
* Subscribe to a task's event stream. The returned `AsyncIterable<TaskEvent>`
|
|
@@ -2140,7 +2140,7 @@ var Task = class {
|
|
|
2140
2140
|
* Throws `TaskNotFoundError` if the id is unknown or has been evicted.
|
|
2141
2141
|
*/
|
|
2142
2142
|
static subscribe(id) {
|
|
2143
|
-
return
|
|
2143
|
+
return chunkJ6GXS5A2_cjs.subscribe(id);
|
|
2144
2144
|
}
|
|
2145
2145
|
};
|
|
2146
2146
|
|
|
@@ -2153,7 +2153,7 @@ var FIXTURE_USER = {
|
|
|
2153
2153
|
};
|
|
2154
2154
|
var FIXTURE_MODELS = [
|
|
2155
2155
|
{
|
|
2156
|
-
id:
|
|
2156
|
+
id: chunk2STSX2SY_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
2157
2157
|
name: "Gemini 2.0 Flash",
|
|
2158
2158
|
displayName: "Gemini 2.0 Flash",
|
|
2159
2159
|
parameters: [
|
|
@@ -2229,20 +2229,20 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2229
2229
|
try {
|
|
2230
2230
|
response = await fetch(url, { method: "GET" });
|
|
2231
2231
|
} catch (fetchErr) {
|
|
2232
|
-
const mapped =
|
|
2232
|
+
const mapped = chunkARMFXTY6_cjs.mapOllamaTransportError({
|
|
2233
2233
|
providerId: "ollama",
|
|
2234
2234
|
cause: fetchErr,
|
|
2235
2235
|
endpoint: "/v1/models"
|
|
2236
2236
|
});
|
|
2237
2237
|
if (mapped !== void 0) throw mapped;
|
|
2238
|
-
throw new
|
|
2238
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2239
2239
|
`Failed to reach local provider at ${baseUrl}: ${fetchErr.message}`,
|
|
2240
2240
|
{ code: "local_provider_unreachable" }
|
|
2241
2241
|
);
|
|
2242
2242
|
}
|
|
2243
2243
|
if (!response.ok) {
|
|
2244
|
-
const body = await
|
|
2245
|
-
const mapped =
|
|
2244
|
+
const body = await chunkARMFXTY6_cjs.readErrorResponseBody(response);
|
|
2245
|
+
const mapped = chunkARMFXTY6_cjs.mapOllamaHttpError({
|
|
2246
2246
|
providerId: "ollama",
|
|
2247
2247
|
status: response.status,
|
|
2248
2248
|
body,
|
|
@@ -2250,7 +2250,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2250
2250
|
endpoint: "/v1/models"
|
|
2251
2251
|
});
|
|
2252
2252
|
if (mapped !== void 0) throw mapped;
|
|
2253
|
-
throw new
|
|
2253
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2254
2254
|
`Local provider at ${baseUrl} returned HTTP ${response.status} on /v1/models`,
|
|
2255
2255
|
{ code: "local_provider_http_error" }
|
|
2256
2256
|
);
|
|
@@ -2305,9 +2305,9 @@ var Theokit = class {
|
|
|
2305
2305
|
});
|
|
2306
2306
|
},
|
|
2307
2307
|
capabilities: (providerOrModelId) => {
|
|
2308
|
-
|
|
2308
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2309
2309
|
const providerId = providerOrModelId.includes("/") ? providerOrModelId.split("/")[0] ?? providerOrModelId : providerOrModelId;
|
|
2310
|
-
return
|
|
2310
|
+
return chunkYRJA2POB_cjs.getCatalogCapabilities(providerId);
|
|
2311
2311
|
}
|
|
2312
2312
|
};
|
|
2313
2313
|
/**
|
|
@@ -2346,8 +2346,8 @@ var Theokit = class {
|
|
|
2346
2346
|
*/
|
|
2347
2347
|
static inspect = {
|
|
2348
2348
|
builtinProviders: () => {
|
|
2349
|
-
|
|
2350
|
-
return
|
|
2349
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2350
|
+
return chunkYRJA2POB_cjs.listProviders().map((p) => ({
|
|
2351
2351
|
name: p.name,
|
|
2352
2352
|
apiMode: p.apiMode,
|
|
2353
2353
|
authType: p.authType,
|
|
@@ -2356,7 +2356,7 @@ var Theokit = class {
|
|
|
2356
2356
|
envVars: p.envVars
|
|
2357
2357
|
}));
|
|
2358
2358
|
},
|
|
2359
|
-
embeddingAdapters: () => Object.entries(
|
|
2359
|
+
embeddingAdapters: () => Object.entries(chunk2STSX2SY_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
2360
2360
|
id,
|
|
2361
2361
|
transport: adapter.transport,
|
|
2362
2362
|
defaultModel: adapter.defaultModel
|
|
@@ -2373,9 +2373,9 @@ var Theokit = class {
|
|
|
2373
2373
|
// and may be promoted onto Theokit once the agent.ts cycle is broken.
|
|
2374
2374
|
};
|
|
2375
2375
|
async function maybeListLocalModels(providerName) {
|
|
2376
|
-
|
|
2377
|
-
await
|
|
2378
|
-
const profile =
|
|
2376
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2377
|
+
await chunkARMFXTY6_cjs.discoverProviderPlugins();
|
|
2378
|
+
const profile = chunkYRJA2POB_cjs.getProviderProfile(providerName);
|
|
2379
2379
|
if (profile === void 0) return void 0;
|
|
2380
2380
|
if (profile.authType !== "none") return void 0;
|
|
2381
2381
|
const baseUrl = resolveLocalProviderBaseUrl(profile.name, profile.baseUrl);
|
|
@@ -2390,15 +2390,15 @@ function resolveLocalProviderBaseUrl(providerName, fallback) {
|
|
|
2390
2390
|
async function executeCatalogRequest(request) {
|
|
2391
2391
|
const apiKey = chunk6LHQPOMI_cjs.resolveApiKey(request.apiKey);
|
|
2392
2392
|
if (apiKey === void 0) {
|
|
2393
|
-
throw new
|
|
2393
|
+
throw new chunkUNFBHV46_cjs.AuthenticationError("Missing API key", { code: "missing_api_key" });
|
|
2394
2394
|
}
|
|
2395
|
-
if (
|
|
2395
|
+
if (chunkARMFXTY6_cjs.shouldUseFixtureMode(apiKey)) {
|
|
2396
2396
|
return request.fixture;
|
|
2397
2397
|
}
|
|
2398
|
-
if (!
|
|
2399
|
-
throw new
|
|
2398
|
+
if (!chunkARMFXTY6_cjs.isFixtureApiKey(apiKey) && process.env.THEOKIT_API_BASE_URL === void 0) {
|
|
2399
|
+
throw new chunkUNFBHV46_cjs.AuthenticationError("Invalid API key", { code: "authentication_error" });
|
|
2400
2400
|
}
|
|
2401
|
-
return
|
|
2401
|
+
return chunkARMFXTY6_cjs.httpRequest(request.path, { apiKey });
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
2404
|
// src/tool-blast-radius.ts
|
|
@@ -2523,7 +2523,7 @@ function resolveTrustPosture(input) {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
2525
|
// src/wiring-record.ts
|
|
2526
|
-
var UngatedCapabilityError = class extends
|
|
2526
|
+
var UngatedCapabilityError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
2527
2527
|
name = "UngatedCapabilityError";
|
|
2528
2528
|
};
|
|
2529
2529
|
function recordWiring(input) {
|
|
@@ -2547,7 +2547,7 @@ function recordWiring(input) {
|
|
|
2547
2547
|
|
|
2548
2548
|
Object.defineProperty(exports, "StreamObjectError", {
|
|
2549
2549
|
enumerable: true,
|
|
2550
|
-
get: function () { return
|
|
2550
|
+
get: function () { return chunkKGZ66JVZ_cjs.StreamObjectError; }
|
|
2551
2551
|
});
|
|
2552
2552
|
Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
2553
2553
|
enumerable: true,
|
|
@@ -2555,67 +2555,67 @@ Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
|
2555
2555
|
});
|
|
2556
2556
|
Object.defineProperty(exports, "JudgeCredentialError", {
|
|
2557
2557
|
enumerable: true,
|
|
2558
|
-
get: function () { return
|
|
2558
|
+
get: function () { return chunkECD6ER3E_cjs.JudgeCredentialError; }
|
|
2559
2559
|
});
|
|
2560
2560
|
Object.defineProperty(exports, "GenerateObjectError", {
|
|
2561
2561
|
enumerable: true,
|
|
2562
|
-
get: function () { return
|
|
2562
|
+
get: function () { return chunkXDUGSTYJ_cjs.GenerateObjectError; }
|
|
2563
2563
|
});
|
|
2564
2564
|
Object.defineProperty(exports, "Workflow", {
|
|
2565
2565
|
enumerable: true,
|
|
2566
|
-
get: function () { return
|
|
2566
|
+
get: function () { return chunkMPQJE3G4_cjs.Workflow; }
|
|
2567
2567
|
});
|
|
2568
2568
|
Object.defineProperty(exports, "agentStep", {
|
|
2569
2569
|
enumerable: true,
|
|
2570
|
-
get: function () { return
|
|
2570
|
+
get: function () { return chunkMPQJE3G4_cjs.agentStep; }
|
|
2571
2571
|
});
|
|
2572
2572
|
Object.defineProperty(exports, "fn", {
|
|
2573
2573
|
enumerable: true,
|
|
2574
|
-
get: function () { return
|
|
2574
|
+
get: function () { return chunkMPQJE3G4_cjs.fn; }
|
|
2575
2575
|
});
|
|
2576
2576
|
Object.defineProperty(exports, "Cron", {
|
|
2577
2577
|
enumerable: true,
|
|
2578
|
-
get: function () { return
|
|
2578
|
+
get: function () { return chunkAOHRKGAA_cjs.Cron; }
|
|
2579
2579
|
});
|
|
2580
2580
|
Object.defineProperty(exports, "Agent", {
|
|
2581
2581
|
enumerable: true,
|
|
2582
|
-
get: function () { return
|
|
2582
|
+
get: function () { return chunk2STSX2SY_cjs.Agent; }
|
|
2583
2583
|
});
|
|
2584
2584
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2585
2585
|
enumerable: true,
|
|
2586
|
-
get: function () { return
|
|
2586
|
+
get: function () { return chunk2STSX2SY_cjs.AgentBuilder; }
|
|
2587
2587
|
});
|
|
2588
2588
|
Object.defineProperty(exports, "Tool", {
|
|
2589
2589
|
enumerable: true,
|
|
2590
|
-
get: function () { return
|
|
2590
|
+
get: function () { return chunk2STSX2SY_cjs.Tool; }
|
|
2591
2591
|
});
|
|
2592
2592
|
Object.defineProperty(exports, "ToolError", {
|
|
2593
2593
|
enumerable: true,
|
|
2594
|
-
get: function () { return
|
|
2594
|
+
get: function () { return chunk2STSX2SY_cjs.ToolError; }
|
|
2595
2595
|
});
|
|
2596
2596
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2597
2597
|
enumerable: true,
|
|
2598
|
-
get: function () { return
|
|
2598
|
+
get: function () { return chunk2STSX2SY_cjs.UsageAccumulator; }
|
|
2599
2599
|
});
|
|
2600
2600
|
Object.defineProperty(exports, "computeCost", {
|
|
2601
2601
|
enumerable: true,
|
|
2602
|
-
get: function () { return
|
|
2602
|
+
get: function () { return chunk2STSX2SY_cjs.computeCost; }
|
|
2603
2603
|
});
|
|
2604
2604
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2605
2605
|
enumerable: true,
|
|
2606
|
-
get: function () { return
|
|
2606
|
+
get: function () { return chunk2STSX2SY_cjs.getPricingEntry; }
|
|
2607
2607
|
});
|
|
2608
2608
|
Object.defineProperty(exports, "managedSettingsPathFor", {
|
|
2609
2609
|
enumerable: true,
|
|
2610
|
-
get: function () { return
|
|
2610
|
+
get: function () { return chunk2STSX2SY_cjs.managedSettingsPathFor; }
|
|
2611
2611
|
});
|
|
2612
2612
|
Object.defineProperty(exports, "readManagedSettings", {
|
|
2613
2613
|
enumerable: true,
|
|
2614
|
-
get: function () { return
|
|
2614
|
+
get: function () { return chunk2STSX2SY_cjs.readManagedSettings; }
|
|
2615
2615
|
});
|
|
2616
2616
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2617
2617
|
enumerable: true,
|
|
2618
|
-
get: function () { return
|
|
2618
|
+
get: function () { return chunkJ6GXS5A2_cjs.emitRunEvent; }
|
|
2619
2619
|
});
|
|
2620
2620
|
Object.defineProperty(exports, "withCwdMutex", {
|
|
2621
2621
|
enumerable: true,
|
|
@@ -2623,83 +2623,83 @@ Object.defineProperty(exports, "withCwdMutex", {
|
|
|
2623
2623
|
});
|
|
2624
2624
|
Object.defineProperty(exports, "TASK_RESERVED_PREFIXES", {
|
|
2625
2625
|
enumerable: true,
|
|
2626
|
-
get: function () { return
|
|
2626
|
+
get: function () { return chunkGHHIJEFX_cjs.TASK_RESERVED_PREFIXES; }
|
|
2627
2627
|
});
|
|
2628
2628
|
Object.defineProperty(exports, "isValidTaskId", {
|
|
2629
2629
|
enumerable: true,
|
|
2630
|
-
get: function () { return
|
|
2630
|
+
get: function () { return chunkGHHIJEFX_cjs.isValidTaskId; }
|
|
2631
2631
|
});
|
|
2632
2632
|
Object.defineProperty(exports, "estimateTokens", {
|
|
2633
2633
|
enumerable: true,
|
|
2634
|
-
get: function () { return
|
|
2634
|
+
get: function () { return chunkJ5623RIV_cjs.estimateTokens; }
|
|
2635
2635
|
});
|
|
2636
2636
|
Object.defineProperty(exports, "AgentDisposedError", {
|
|
2637
2637
|
enumerable: true,
|
|
2638
|
-
get: function () { return
|
|
2638
|
+
get: function () { return chunkUNFBHV46_cjs.AgentDisposedError; }
|
|
2639
2639
|
});
|
|
2640
2640
|
Object.defineProperty(exports, "AgentRunError", {
|
|
2641
2641
|
enumerable: true,
|
|
2642
|
-
get: function () { return
|
|
2642
|
+
get: function () { return chunkUNFBHV46_cjs.AgentRunError; }
|
|
2643
2643
|
});
|
|
2644
2644
|
Object.defineProperty(exports, "AuthenticationError", {
|
|
2645
2645
|
enumerable: true,
|
|
2646
|
-
get: function () { return
|
|
2646
|
+
get: function () { return chunkUNFBHV46_cjs.AuthenticationError; }
|
|
2647
2647
|
});
|
|
2648
2648
|
Object.defineProperty(exports, "BudgetExceededError", {
|
|
2649
2649
|
enumerable: true,
|
|
2650
|
-
get: function () { return
|
|
2650
|
+
get: function () { return chunkUNFBHV46_cjs.BudgetExceededError; }
|
|
2651
2651
|
});
|
|
2652
2652
|
Object.defineProperty(exports, "ConfigurationError", {
|
|
2653
2653
|
enumerable: true,
|
|
2654
|
-
get: function () { return
|
|
2654
|
+
get: function () { return chunkUNFBHV46_cjs.ConfigurationError; }
|
|
2655
2655
|
});
|
|
2656
2656
|
Object.defineProperty(exports, "IntegrationNotConnectedError", {
|
|
2657
2657
|
enumerable: true,
|
|
2658
|
-
get: function () { return
|
|
2658
|
+
get: function () { return chunkUNFBHV46_cjs.IntegrationNotConnectedError; }
|
|
2659
2659
|
});
|
|
2660
2660
|
Object.defineProperty(exports, "InvalidTaskIdError", {
|
|
2661
2661
|
enumerable: true,
|
|
2662
|
-
get: function () { return
|
|
2662
|
+
get: function () { return chunkUNFBHV46_cjs.InvalidTaskIdError; }
|
|
2663
2663
|
});
|
|
2664
2664
|
Object.defineProperty(exports, "MemoryAdapterError", {
|
|
2665
2665
|
enumerable: true,
|
|
2666
|
-
get: function () { return
|
|
2666
|
+
get: function () { return chunkUNFBHV46_cjs.MemoryAdapterError; }
|
|
2667
2667
|
});
|
|
2668
2668
|
Object.defineProperty(exports, "NetworkError", {
|
|
2669
2669
|
enumerable: true,
|
|
2670
|
-
get: function () { return
|
|
2670
|
+
get: function () { return chunkUNFBHV46_cjs.NetworkError; }
|
|
2671
2671
|
});
|
|
2672
2672
|
Object.defineProperty(exports, "RateLimitError", {
|
|
2673
2673
|
enumerable: true,
|
|
2674
|
-
get: function () { return
|
|
2674
|
+
get: function () { return chunkUNFBHV46_cjs.RateLimitError; }
|
|
2675
2675
|
});
|
|
2676
2676
|
Object.defineProperty(exports, "TaskNotFoundError", {
|
|
2677
2677
|
enumerable: true,
|
|
2678
|
-
get: function () { return
|
|
2678
|
+
get: function () { return chunkUNFBHV46_cjs.TaskNotFoundError; }
|
|
2679
2679
|
});
|
|
2680
2680
|
Object.defineProperty(exports, "TheokitAgentError", {
|
|
2681
2681
|
enumerable: true,
|
|
2682
|
-
get: function () { return
|
|
2682
|
+
get: function () { return chunkUNFBHV46_cjs.TheokitAgentError; }
|
|
2683
2683
|
});
|
|
2684
2684
|
Object.defineProperty(exports, "UnknownAgentError", {
|
|
2685
2685
|
enumerable: true,
|
|
2686
|
-
get: function () { return
|
|
2686
|
+
get: function () { return chunkUNFBHV46_cjs.UnknownAgentError; }
|
|
2687
2687
|
});
|
|
2688
2688
|
Object.defineProperty(exports, "UnsupportedBudgetOperationError", {
|
|
2689
2689
|
enumerable: true,
|
|
2690
|
-
get: function () { return
|
|
2690
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedBudgetOperationError; }
|
|
2691
2691
|
});
|
|
2692
2692
|
Object.defineProperty(exports, "UnsupportedRunOperationError", {
|
|
2693
2693
|
enumerable: true,
|
|
2694
|
-
get: function () { return
|
|
2694
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedRunOperationError; }
|
|
2695
2695
|
});
|
|
2696
2696
|
Object.defineProperty(exports, "UnsupportedTaskOperationError", {
|
|
2697
2697
|
enumerable: true,
|
|
2698
|
-
get: function () { return
|
|
2698
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedTaskOperationError; }
|
|
2699
2699
|
});
|
|
2700
2700
|
Object.defineProperty(exports, "isTransientError", {
|
|
2701
2701
|
enumerable: true,
|
|
2702
|
-
get: function () { return
|
|
2702
|
+
get: function () { return chunkUNFBHV46_cjs.isTransientError; }
|
|
2703
2703
|
});
|
|
2704
2704
|
Object.defineProperty(exports, "setDiagnosticsSink", {
|
|
2705
2705
|
enumerable: true,
|
|
@@ -2733,6 +2733,8 @@ exports.applySecurityFloor = applySecurityFloor;
|
|
|
2733
2733
|
exports.auditEnvReachability = auditEnvReachability;
|
|
2734
2734
|
exports.chargeAndCheckThresholds = chargeAndCheckThresholds;
|
|
2735
2735
|
exports.createCounterBudgetTracker = createCounterBudgetTracker;
|
|
2736
|
+
exports.createTokenLimiter = createTokenLimiter;
|
|
2737
|
+
exports.createUnicodeNormalizer = createUnicodeNormalizer;
|
|
2736
2738
|
exports.decideApproval = decideApproval;
|
|
2737
2739
|
exports.describeAction = describeAction;
|
|
2738
2740
|
exports.describeCredential = describeCredential;
|