@theokit/sdk 5.6.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 +105 -0
- package/dist/a2a/index.cjs +6 -6
- package/dist/a2a/index.js +2 -2
- package/dist/{agent-82d_DrCL.d.cts → agent-3RcPVGMo.d.cts} +22 -4
- package/dist/agent-7ERQNV66.js +59 -0
- package/dist/{agent-JJZM2VIK.js.map → agent-7ERQNV66.js.map} +1 -1
- package/dist/agent-LNTR4QH5.cjs +68 -0
- package/dist/{agent-47NS6ZVL.cjs.map → agent-LNTR4QH5.cjs.map} +1 -1
- package/dist/{agent-G6g-uwcB.d.ts → agent-lS68mYIL.d.ts} +22 -4
- package/dist/agent.d.ts +11 -0
- 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-GCHZMH42.cjs → chunk-2STSX2SY.cjs} +264 -260
- package/dist/chunk-2STSX2SY.cjs.map +1 -0
- package/dist/{chunk-2UXQASTX.js → chunk-3CU5J7V3.js} +38 -34
- package/dist/chunk-3CU5J7V3.js.map +1 -0
- package/dist/{chunk-5NELQ6LB.js → chunk-4QCJAJAG.js} +12 -3
- 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-2QKV4CGK.js → chunk-5522X223.js} +3 -3
- package/dist/{chunk-2QKV4CGK.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-GFFBXSQT.cjs → chunk-76PIKR4P.cjs} +22 -22
- package/dist/{chunk-GFFBXSQT.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-N2KAIZ5D.js → chunk-7GDHFV2M.js} +4 -20
- package/dist/chunk-7GDHFV2M.js.map +1 -0
- 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-HG4UN4MN.cjs → chunk-AOHRKGAA.cjs} +22 -22
- package/dist/{chunk-HG4UN4MN.cjs.map → chunk-AOHRKGAA.cjs.map} +1 -1
- package/dist/{chunk-C4ZQPWXJ.cjs → chunk-ARMFXTY6.cjs} +143 -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-HUDNLFY4.js → chunk-DDRX4LYS.js} +13 -4
- package/dist/chunk-DDRX4LYS.js.map +1 -0
- 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-FPIY5CLV.js → chunk-FRL35MFN.js} +5 -5
- package/dist/{chunk-FPIY5CLV.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-J4SA2ZEJ.cjs +24 -0
- package/dist/chunk-J4SA2ZEJ.cjs.map +1 -0
- 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-EIOMN5VA.cjs → chunk-KTA7YTZQ.cjs} +17 -8
- package/dist/chunk-KTA7YTZQ.cjs.map +1 -0
- 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-KZSKIUXZ.js → chunk-NOO6GZTZ.js} +37 -85
- package/dist/chunk-NOO6GZTZ.js.map +1 -0
- package/dist/{chunk-7IZKTQ5G.cjs → chunk-OCEQ6DW2.cjs} +10 -29
- package/dist/chunk-OCEQ6DW2.cjs.map +1 -0
- 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-PQCTDMUI.js +20 -0
- package/dist/chunk-PQCTDMUI.js.map +1 -0
- package/dist/{chunk-DZG77WU7.cjs → chunk-PSLCVSCS.cjs} +3 -3
- package/dist/{chunk-DZG77WU7.cjs.map → chunk-PSLCVSCS.cjs.map} +1 -1
- package/dist/{chunk-STGSMJMJ.js → chunk-QDQQYRJI.js} +4 -4
- package/dist/{chunk-STGSMJMJ.js.map → chunk-QDQQYRJI.js.map} +1 -1
- package/dist/{chunk-7MMTZBTT.js → chunk-R2C3HXR3.js} +4 -4
- package/dist/{chunk-7MMTZBTT.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-LD6HASA5.cjs → chunk-SWALPLFQ.cjs} +12 -2
- package/dist/chunk-SWALPLFQ.cjs.map +1 -0
- package/dist/{chunk-52FDUJSV.cjs → chunk-T5KOSR5Y.cjs} +11 -11
- package/dist/{chunk-52FDUJSV.cjs.map → chunk-T5KOSR5Y.cjs.map} +1 -1
- package/dist/{chunk-BZ3YMAMP.js → chunk-TC4RWP3Y.js} +6 -6
- package/dist/{chunk-BZ3YMAMP.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-VUHXC74Q.cjs → chunk-TTBIQTO5.cjs} +19 -19
- package/dist/{chunk-VUHXC74Q.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-2N3ZYJTW.js +24 -0
- package/dist/{compact-session-YSEK7NQF.js.map → compact-session-2N3ZYJTW.js.map} +1 -1
- package/dist/compact-session-RBPLUPCK.cjs +65 -0
- package/dist/{compact-session-7FMYJXQ7.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 +15 -7
- 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 +7 -3
- package/dist/context/index.js.map +1 -1
- package/dist/context-SXR2HLHT.js +7 -0
- package/dist/{context-J5BJ3LBS.js.map → context-SXR2HLHT.js.map} +1 -1
- package/dist/context-ZOULM2RB.cjs +24 -0
- package/dist/{context-HR4KMXMA.cjs.map → context-ZOULM2RB.cjs.map} +1 -1
- package/dist/{cron-DWv69ZSD.d.cts → cron-CGxoEKlx.d.cts} +2 -2
- package/dist/{cron-GynWtAax.d.ts → cron-DJv8zMa3.d.ts} +2 -2
- package/dist/cron.cjs +34 -33
- package/dist/cron.d.cts +4 -4
- package/dist/cron.d.ts +4 -4
- package/dist/cron.js +33 -32
- 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 -43
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +34 -33
- package/dist/eval.js.map +1 -1
- 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-27WLNQEE.js.map → index-manager-ONQJSWX5.js.map} +1 -1
- package/dist/{index-manager-BBHDKMQS.cjs → index-manager-ZGJN25FD.cjs} +9 -9
- package/dist/{index-manager-BBHDKMQS.cjs.map → index-manager-ZGJN25FD.cjs.map} +1 -1
- package/dist/index.cjs +148 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +57 -10
- package/dist/index.d.ts +57 -10
- package/dist/index.js +49 -48
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-PC73TMP2.cjs → inject-session-3FPXJDJP.cjs} +4 -4
- package/dist/{inject-session-PC73TMP2.cjs.map → inject-session-3FPXJDJP.cjs.map} +1 -1
- package/dist/{inject-session-J4LBWAPH.js → inject-session-YNNOE3O6.js} +3 -3
- package/dist/{inject-session-J4LBWAPH.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 +42 -0
- 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/internal/session/compact-session.d.ts +36 -0
- 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.cts → run-DsA5Ip2i.d.cts} +1 -1
- package/dist/{run-CTAdRU3U.d.ts → 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/types/agent.d.ts +1 -1
- 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-47NS6ZVL.cjs +0 -67
- package/dist/agent-JJZM2VIK.js +0 -58
- package/dist/chunk-2UXQASTX.js.map +0 -1
- package/dist/chunk-5NELQ6LB.js.map +0 -1
- package/dist/chunk-6M2OIS4Y.js.map +0 -1
- package/dist/chunk-7IZKTQ5G.cjs.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-C4ZQPWXJ.cjs.map +0 -1
- package/dist/chunk-EIOMN5VA.cjs.map +0 -1
- package/dist/chunk-GCHZMH42.cjs.map +0 -1
- package/dist/chunk-HUDNLFY4.js.map +0 -1
- package/dist/chunk-J7J7J2GN.cjs.map +0 -1
- package/dist/chunk-KZSKIUXZ.js.map +0 -1
- package/dist/chunk-LD6HASA5.cjs.map +0 -1
- package/dist/chunk-N2KAIZ5D.js.map +0 -1
- package/dist/compact-session-7FMYJXQ7.cjs +0 -61
- package/dist/compact-session-YSEK7NQF.js +0 -24
- package/dist/context-HR4KMXMA.cjs +0 -23
- package/dist/context-J5BJ3LBS.js +0 -6
- 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-27WLNQEE.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,70 +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-
|
|
32
|
+
require('./chunk-KTA7YTZQ.cjs');
|
|
33
|
+
require('./chunk-OCEQ6DW2.cjs');
|
|
33
34
|
require('./chunk-KRD3GQAA.cjs');
|
|
34
35
|
require('./chunk-RQMCOFAI.cjs');
|
|
35
36
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
36
37
|
var chunkAA27GEYS_cjs = require('./chunk-AA27GEYS.cjs');
|
|
37
38
|
require('./chunk-YSTXFWQE.cjs');
|
|
38
39
|
require('./chunk-FRITRLZQ.cjs');
|
|
39
|
-
require('./chunk-
|
|
40
|
+
require('./chunk-JW3GVLM6.cjs');
|
|
40
41
|
require('./chunk-NINIJCHU.cjs');
|
|
41
|
-
var
|
|
42
|
-
require('./chunk-
|
|
42
|
+
var chunkHG5LKFG7_cjs = require('./chunk-HG5LKFG7.cjs');
|
|
43
|
+
require('./chunk-SWALPLFQ.cjs');
|
|
43
44
|
require('./chunk-IJ7M6GOG.cjs');
|
|
44
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-GM54F4FE.cjs');
|
|
45
46
|
require('./chunk-SA6K24NB.cjs');
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-IIYJMXYW.cjs');
|
|
48
|
+
require('./chunk-NJSIAJEK.cjs');
|
|
49
|
+
require('./chunk-NKIQTLFA.cjs');
|
|
49
50
|
require('./chunk-GZV6AVRL.cjs');
|
|
50
51
|
require('./chunk-A4RAL2ER.cjs');
|
|
51
|
-
require('./chunk-
|
|
52
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-P22BZE7G.cjs');
|
|
53
|
+
require('./chunk-OF2CLCTH.cjs');
|
|
53
54
|
var chunkZF2LDKQQ_cjs = require('./chunk-ZF2LDKQQ.cjs');
|
|
54
|
-
var
|
|
55
|
+
var chunkGHHIJEFX_cjs = require('./chunk-GHHIJEFX.cjs');
|
|
55
56
|
var chunkJLRLCBJ4_cjs = require('./chunk-JLRLCBJ4.cjs');
|
|
56
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-XW4POZ6V.cjs');
|
|
57
58
|
var chunkTY56BKSK_cjs = require('./chunk-TY56BKSK.cjs');
|
|
58
|
-
require('./chunk-
|
|
59
|
-
var
|
|
59
|
+
require('./chunk-MPR2ISL2.cjs');
|
|
60
|
+
var chunkJ5623RIV_cjs = require('./chunk-J5623RIV.cjs');
|
|
60
61
|
var chunk3EE6LVWT_cjs = require('./chunk-3EE6LVWT.cjs');
|
|
61
|
-
require('./chunk-
|
|
62
|
-
var
|
|
62
|
+
require('./chunk-R3ZQBPA5.cjs');
|
|
63
|
+
var chunkYRJA2POB_cjs = require('./chunk-YRJA2POB.cjs');
|
|
63
64
|
require('./chunk-NVXXWAU7.cjs');
|
|
64
|
-
require('./chunk-
|
|
65
|
-
require('./chunk-
|
|
66
|
-
require('./chunk-
|
|
67
|
-
var
|
|
65
|
+
require('./chunk-RA7IE4NK.cjs');
|
|
66
|
+
require('./chunk-NAGPKWOD.cjs');
|
|
67
|
+
require('./chunk-OLSEWLK5.cjs');
|
|
68
|
+
var chunkUNFBHV46_cjs = require('./chunk-UNFBHV46.cjs');
|
|
68
69
|
var chunk6LHQPOMI_cjs = require('./chunk-6LHQPOMI.cjs');
|
|
69
70
|
var crypto = require('crypto');
|
|
70
71
|
var promises = require('fs/promises');
|
|
@@ -75,8 +76,8 @@ var os = require('os');
|
|
|
75
76
|
// src/agent-factory.ts
|
|
76
77
|
function createAgentFactory(common) {
|
|
77
78
|
return {
|
|
78
|
-
forSession: (agentId, overrides) =>
|
|
79
|
-
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))
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -230,12 +231,12 @@ var NAME_GRAMMAR = /^[a-z0-9][a-z0-9_-]*$/;
|
|
|
230
231
|
var registry = /* @__PURE__ */ new Map();
|
|
231
232
|
function validateBudgetName(name) {
|
|
232
233
|
if (typeof name !== "string" || name.length === 0) {
|
|
233
|
-
throw new
|
|
234
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("Budget name must be a non-empty string", {
|
|
234
235
|
code: "invalid_budget_name"
|
|
235
236
|
});
|
|
236
237
|
}
|
|
237
238
|
if (!NAME_GRAMMAR.test(name)) {
|
|
238
|
-
throw new
|
|
239
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
239
240
|
`Budget name "${name}" must match ^[a-z0-9][a-z0-9_-]*$ (lowercase + dash/underscore, start alphanumeric)`,
|
|
240
241
|
{ code: "invalid_budget_name" }
|
|
241
242
|
);
|
|
@@ -243,7 +244,7 @@ function validateBudgetName(name) {
|
|
|
243
244
|
}
|
|
244
245
|
function assertImplementedScope(scope) {
|
|
245
246
|
if (scope === "process") return;
|
|
246
|
-
throw new
|
|
247
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
247
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.`,
|
|
248
249
|
{ code: "unimplemented_budget_scope" }
|
|
249
250
|
);
|
|
@@ -252,7 +253,7 @@ function createBudget(opts) {
|
|
|
252
253
|
validateBudgetName(opts.name);
|
|
253
254
|
assertImplementedScope(opts.scope);
|
|
254
255
|
if (registry.has(opts.name)) {
|
|
255
|
-
throw new
|
|
256
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`Budget "${opts.name}" already exists`, {
|
|
256
257
|
code: "invalid_budget_name"
|
|
257
258
|
});
|
|
258
259
|
}
|
|
@@ -316,7 +317,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
316
317
|
for (const lim of opts.limits) {
|
|
317
318
|
const currentSpent = spentIn(opts.name, lim.window);
|
|
318
319
|
if (currentSpent + estimatedUsd > lim.limitUsd) {
|
|
319
|
-
throw new
|
|
320
|
+
throw new chunkUNFBHV46_cjs.BudgetExceededError({
|
|
320
321
|
budgetName: opts.name,
|
|
321
322
|
window: lim.window,
|
|
322
323
|
spentUsd: currentSpent + estimatedUsd,
|
|
@@ -563,19 +564,19 @@ function createUnicodeNormalizer(opts = {}) {
|
|
|
563
564
|
}
|
|
564
565
|
function createTokenLimiter(opts) {
|
|
565
566
|
if (!Number.isInteger(opts.limit) || opts.limit <= 0) {
|
|
566
|
-
throw new
|
|
567
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createTokenLimiter: `limit` must be a positive integer.", {
|
|
567
568
|
code: "invalid_processor_options"
|
|
568
569
|
});
|
|
569
570
|
}
|
|
570
571
|
const limit = opts.limit;
|
|
571
572
|
const strategy = opts.strategy ?? "truncate";
|
|
572
573
|
const cap = (text, controls) => {
|
|
573
|
-
const estimated =
|
|
574
|
+
const estimated = chunkJ5623RIV_cjs.estimateTokens(text);
|
|
574
575
|
if (estimated <= limit) return text;
|
|
575
576
|
if (strategy === "block") {
|
|
576
577
|
controls.abort(`exceeds token limit ${limit} (~${estimated} estimated)`);
|
|
577
578
|
}
|
|
578
|
-
return [...text].slice(0, limit *
|
|
579
|
+
return [...text].slice(0, limit * chunkJ5623RIV_cjs.CHARS_PER_TOKEN).join("");
|
|
579
580
|
};
|
|
580
581
|
return {
|
|
581
582
|
id: "token-limiter",
|
|
@@ -601,12 +602,12 @@ var UnicodeNormalizer = class {
|
|
|
601
602
|
// src/create-skill.ts
|
|
602
603
|
function createSkill(spec) {
|
|
603
604
|
if (!spec.name) {
|
|
604
|
-
throw new
|
|
605
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSkill: `name` is required.", {
|
|
605
606
|
code: "invalid_skill_spec"
|
|
606
607
|
});
|
|
607
608
|
}
|
|
608
609
|
if (!spec.description) {
|
|
609
|
-
throw new
|
|
610
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSkill: `description` is required.", {
|
|
610
611
|
code: "invalid_skill_spec"
|
|
611
612
|
});
|
|
612
613
|
}
|
|
@@ -664,8 +665,8 @@ var Provider = class _Provider {
|
|
|
664
665
|
* `.plugins(Provider.builtins())` once, then pick a `provider/model` id. @public
|
|
665
666
|
*/
|
|
666
667
|
static builtins() {
|
|
667
|
-
|
|
668
|
-
return
|
|
668
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
669
|
+
return chunkYRJA2POB_cjs.listProviders().map((profile) => defineProvider(profile));
|
|
669
670
|
}
|
|
670
671
|
/**
|
|
671
672
|
* The builtin serving `modelId`, or `undefined` when none does.
|
|
@@ -694,7 +695,7 @@ async function resolveBody(skill) {
|
|
|
694
695
|
}
|
|
695
696
|
const source = skill.source;
|
|
696
697
|
const skillDir = path.dirname(source);
|
|
697
|
-
const body =
|
|
698
|
+
const body = chunkHG5LKFG7_cjs.stripSkillFrontmatter(await promises.readFile(source, "utf8"));
|
|
698
699
|
const instructions = body.replaceAll(SKILL_DIR_PLACEHOLDER, skillDir);
|
|
699
700
|
const references = await readReferences(skillDir);
|
|
700
701
|
return references === void 0 ? { instructions } : { instructions, references };
|
|
@@ -736,7 +737,7 @@ function defineSkillReadTool(skills) {
|
|
|
736
737
|
const seen = /* @__PURE__ */ new Set();
|
|
737
738
|
for (const skill of skills) {
|
|
738
739
|
if (seen.has(skill.name)) {
|
|
739
|
-
throw new
|
|
740
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`defineSkillReadTool: duplicate skill name "${skill.name}".`, {
|
|
740
741
|
code: "duplicate_skill_name"
|
|
741
742
|
});
|
|
742
743
|
}
|
|
@@ -840,7 +841,7 @@ function runGoalLoop(agent, goal, options, depsOverride) {
|
|
|
840
841
|
async function* wrap() {
|
|
841
842
|
const { runUntilImpl } = await import('./run-until-DG2KXWB2.cjs');
|
|
842
843
|
const deps = depsOverride ?? await (async () => {
|
|
843
|
-
const { judgeCallImpl } = await import('./judge-call-
|
|
844
|
+
const { judgeCallImpl } = await import('./judge-call-AQQYK6VT.cjs');
|
|
844
845
|
const { getAgentFacade } = await import('./agent-factory-registry-UU46BUMU.cjs');
|
|
845
846
|
const create = getAgentFacade().create;
|
|
846
847
|
return {
|
|
@@ -962,7 +963,7 @@ function effectiveToolNames(options) {
|
|
|
962
963
|
function refuseCreatedTool(options) {
|
|
963
964
|
const candidate = options;
|
|
964
965
|
if (candidate.handler === void 0 || candidate.inputSchema === void 0) return;
|
|
965
|
-
throw new
|
|
966
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
966
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.`,
|
|
967
968
|
{ code: "effective_tools_expected_options" }
|
|
968
969
|
);
|
|
@@ -1083,7 +1084,7 @@ var JobQueue = class {
|
|
|
1083
1084
|
};
|
|
1084
1085
|
|
|
1085
1086
|
// src/layer-fold.ts
|
|
1086
|
-
var LayerOrderError = class extends
|
|
1087
|
+
var LayerOrderError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1087
1088
|
name = "LayerOrderError";
|
|
1088
1089
|
};
|
|
1089
1090
|
function verifyLayerOrdering(layers) {
|
|
@@ -1257,8 +1258,8 @@ async function runInner(options) {
|
|
|
1257
1258
|
const now = options.now ?? Date.now;
|
|
1258
1259
|
const timestampMs = now();
|
|
1259
1260
|
try {
|
|
1260
|
-
const root = options.memoryRoot ??
|
|
1261
|
-
const facts = await
|
|
1261
|
+
const root = options.memoryRoot ?? chunk76PIKR4P_cjs.resolveMemoryRoot(options.cwd);
|
|
1262
|
+
const facts = await chunk76PIKR4P_cjs.readFactsFromMarkdown(
|
|
1262
1263
|
options.cwd,
|
|
1263
1264
|
options.memoryRoot ? { directory: options.memoryRoot } : void 0
|
|
1264
1265
|
);
|
|
@@ -1277,7 +1278,7 @@ async function runInner(options) {
|
|
|
1277
1278
|
notesWritten,
|
|
1278
1279
|
diaryEntryHash: void 0
|
|
1279
1280
|
};
|
|
1280
|
-
await
|
|
1281
|
+
await chunkT5KOSR5Y_cjs.appendDiaryEntry(root, {
|
|
1281
1282
|
timestampMs,
|
|
1282
1283
|
factsBefore: result.factsBefore,
|
|
1283
1284
|
factsAfter: result.factsAfter,
|
|
@@ -1371,8 +1372,8 @@ var Memory = {
|
|
|
1371
1372
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1372
1373
|
return await peer.IndexManager.open(openArgs);
|
|
1373
1374
|
}
|
|
1374
|
-
const { IndexManager } = await import('./index-manager-
|
|
1375
|
-
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);
|
|
1376
1377
|
return await IndexManager.open(openArgs);
|
|
1377
1378
|
},
|
|
1378
1379
|
/**
|
|
@@ -1383,7 +1384,7 @@ var Memory = {
|
|
|
1383
1384
|
*/
|
|
1384
1385
|
async runDreamingSweep(opts) {
|
|
1385
1386
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1386
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1387
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunk2STSX2SY_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1387
1388
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1388
1389
|
const result = peer !== null ? (
|
|
1389
1390
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1417,7 +1418,7 @@ async function buildDreamingSweepArgs(opts, catalog) {
|
|
|
1417
1418
|
const runtime = await resolveEmbedding(opts.embedding, catalog);
|
|
1418
1419
|
return {
|
|
1419
1420
|
cwd: opts.cwd,
|
|
1420
|
-
memoryRoot:
|
|
1421
|
+
memoryRoot: chunk76PIKR4P_cjs.resolveMemoryRoot(opts.cwd, { directory: opts.directory }),
|
|
1421
1422
|
embedding: runtime,
|
|
1422
1423
|
...opts.dedupThreshold !== void 0 ? { dedupThreshold: opts.dedupThreshold } : {},
|
|
1423
1424
|
...opts.clusterThreshold !== void 0 ? { clusterThreshold: opts.clusterThreshold } : {}
|
|
@@ -1442,7 +1443,7 @@ function extractRawId(id, expectedAdapterId) {
|
|
|
1442
1443
|
const prefix = `${expectedAdapterId}:`;
|
|
1443
1444
|
if (!id.startsWith(prefix)) {
|
|
1444
1445
|
const sourcePrefix = id.split(":", 1)[0] ?? "<malformed>";
|
|
1445
|
-
throw new
|
|
1446
|
+
throw new chunkUNFBHV46_cjs.MemoryAdapterError(
|
|
1446
1447
|
`MemoryId belongs to a different adapter (expected "${expectedAdapterId}", got "${sourcePrefix}")`,
|
|
1447
1448
|
{ adapterId: expectedAdapterId, code: "invalid_input" }
|
|
1448
1449
|
);
|
|
@@ -1456,7 +1457,7 @@ async function migrateSqliteToLance2(options) {
|
|
|
1456
1457
|
if (peer !== null) {
|
|
1457
1458
|
return peer.migrateSqliteToLance(options);
|
|
1458
1459
|
}
|
|
1459
|
-
return
|
|
1460
|
+
return chunkT5KOSR5Y_cjs.migrateSqliteToLance(options);
|
|
1460
1461
|
}
|
|
1461
1462
|
|
|
1462
1463
|
// src/permission-engine.ts
|
|
@@ -1678,12 +1679,12 @@ function parseOne(rule, action) {
|
|
|
1678
1679
|
const open = trimmed.indexOf("(");
|
|
1679
1680
|
if (open === -1) {
|
|
1680
1681
|
if (trimmed.length === 0) {
|
|
1681
|
-
throw new
|
|
1682
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("permission rule is empty", { code: "permission_rule_invalid" });
|
|
1682
1683
|
}
|
|
1683
1684
|
return [{ tool: normaliseToolName(trimmed), action }];
|
|
1684
1685
|
}
|
|
1685
1686
|
if (!trimmed.endsWith(")")) {
|
|
1686
|
-
throw new
|
|
1687
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1687
1688
|
`permission rule "${rule}" opens a specifier and never closes it \u2014 expected Tool(specifier)`,
|
|
1688
1689
|
{ code: "permission_rule_invalid" }
|
|
1689
1690
|
);
|
|
@@ -1691,7 +1692,7 @@ function parseOne(rule, action) {
|
|
|
1691
1692
|
const tool = trimmed.slice(0, open).trim();
|
|
1692
1693
|
const specifier = trimmed.slice(open + 1, -1);
|
|
1693
1694
|
if (tool.length === 0) {
|
|
1694
|
-
throw new
|
|
1695
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(`permission rule "${rule}" names no tool`, {
|
|
1695
1696
|
code: "permission_rule_invalid"
|
|
1696
1697
|
});
|
|
1697
1698
|
}
|
|
@@ -1775,7 +1776,7 @@ function loadProjectEnv(env = process.env, load = typeof process.loadEnvFile ===
|
|
|
1775
1776
|
}
|
|
1776
1777
|
|
|
1777
1778
|
// src/reap-plan.ts
|
|
1778
|
-
var RetentionPolicyError = class extends
|
|
1779
|
+
var RetentionPolicyError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1779
1780
|
name = "RetentionPolicyError";
|
|
1780
1781
|
};
|
|
1781
1782
|
function assertPolicy(retention) {
|
|
@@ -1859,7 +1860,7 @@ async function normalizeValibotSchema(schema) {
|
|
|
1859
1860
|
return mod.toJsonSchema(schema);
|
|
1860
1861
|
} catch (err) {
|
|
1861
1862
|
if (!isMissingModuleError(err)) throw err;
|
|
1862
|
-
throw new
|
|
1863
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1863
1864
|
"normalizeSchema: a Valibot schema requires the optional '@valibot/to-json-schema' package. Install it, or use a Zod schema (the default recommendation).",
|
|
1864
1865
|
{ code: "valibot_converter_missing" }
|
|
1865
1866
|
);
|
|
@@ -1872,7 +1873,7 @@ async function normalizeSchema(schema) {
|
|
|
1872
1873
|
return chunkAA27GEYS_cjs.toJsonSchema(schema, { unrepresentable: "any" });
|
|
1873
1874
|
}
|
|
1874
1875
|
if (hasToJsonSchemaMethod(schema)) return schema.toJsonSchema();
|
|
1875
|
-
throw new
|
|
1876
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1876
1877
|
"normalizeSchema: unsupported schema. Supported: Zod (default), JSON Schema, ArkType (.toJsonSchema()), Valibot (with @valibot/to-json-schema).",
|
|
1877
1878
|
{ code: "unsupported_schema" }
|
|
1878
1879
|
);
|
|
@@ -1926,7 +1927,7 @@ var Security = class {
|
|
|
1926
1927
|
*/
|
|
1927
1928
|
static addPattern(re) {
|
|
1928
1929
|
if (!re.global) {
|
|
1929
|
-
throw new
|
|
1930
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
1930
1931
|
"Security.addPattern: regex must have /g flag for replace-all semantics",
|
|
1931
1932
|
{ code: "invalid_redaction_pattern" }
|
|
1932
1933
|
);
|
|
@@ -1969,7 +1970,7 @@ function applySecurityFloor(input) {
|
|
|
1969
1970
|
}
|
|
1970
1971
|
|
|
1971
1972
|
// src/session-guard.ts
|
|
1972
|
-
var LiveSessionError = class extends
|
|
1973
|
+
var LiveSessionError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
1973
1974
|
name = "LiveSessionError";
|
|
1974
1975
|
sessionId;
|
|
1975
1976
|
reason;
|
|
@@ -1993,8 +1994,8 @@ function guardSessionDestruction(sessionId, live) {
|
|
|
1993
1994
|
// src/session-messages.ts
|
|
1994
1995
|
async function readSessionMessages2(options) {
|
|
1995
1996
|
const cwd = options.cwd ?? process.cwd();
|
|
1996
|
-
const baseDir =
|
|
1997
|
-
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);
|
|
1998
1999
|
}
|
|
1999
2000
|
|
|
2000
2001
|
// src/session-scope.ts
|
|
@@ -2010,7 +2011,7 @@ function isBuiltAgent(m) {
|
|
|
2010
2011
|
return typeof m.send === "function";
|
|
2011
2012
|
}
|
|
2012
2013
|
async function materialize(def, index) {
|
|
2013
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
2014
|
+
const { Agent: Agent2 } = await import('./agent-LNTR4QH5.cjs');
|
|
2014
2015
|
return Agent2.create({
|
|
2015
2016
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
2016
2017
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|
|
@@ -2024,12 +2025,12 @@ async function materialize(def, index) {
|
|
|
2024
2025
|
function createSquad(options) {
|
|
2025
2026
|
const { agents } = options;
|
|
2026
2027
|
if (!Array.isArray(agents) || agents.length === 0) {
|
|
2027
|
-
throw new
|
|
2028
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError("createSquad requires a non-empty `agents` array", {
|
|
2028
2029
|
code: "invalid_squad"
|
|
2029
2030
|
});
|
|
2030
2031
|
}
|
|
2031
2032
|
if (options.process !== void 0 && options.process !== "sequential") {
|
|
2032
|
-
throw new
|
|
2033
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2033
2034
|
`createSquad only supports process "sequential"; for manager\u2192worker delegation use subagents or @theokit/sdk-handoff`,
|
|
2034
2035
|
{ code: "squad_process_unsupported" }
|
|
2035
2036
|
);
|
|
@@ -2042,13 +2043,13 @@ function createSquad(options) {
|
|
|
2042
2043
|
};
|
|
2043
2044
|
}
|
|
2044
2045
|
async function buildPipeline(agents, name) {
|
|
2045
|
-
let builder =
|
|
2046
|
+
let builder = chunkMPQJE3G4_cjs.Workflow.create({ name: name ?? "squad" });
|
|
2046
2047
|
for (let i = 0; i < agents.length; i++) {
|
|
2047
2048
|
const member = agents[i];
|
|
2048
2049
|
if (member === void 0) continue;
|
|
2049
2050
|
const agent = isBuiltAgent(member) ? member : await materialize(member, i);
|
|
2050
2051
|
const opts = i > 0 ? { origin: { kind: "peer", from: `agent-${i - 1}` } } : void 0;
|
|
2051
|
-
builder = builder.then(
|
|
2052
|
+
builder = builder.then(chunkMPQJE3G4_cjs.agentStep(`agent-${i}`, agent, (prev) => String(prev), opts));
|
|
2052
2053
|
}
|
|
2053
2054
|
return builder.commit();
|
|
2054
2055
|
}
|
|
@@ -2072,7 +2073,7 @@ var Task = class {
|
|
|
2072
2073
|
* (D369), and retention (D373).
|
|
2073
2074
|
*/
|
|
2074
2075
|
static configure(opts) {
|
|
2075
|
-
|
|
2076
|
+
chunkJ6GXS5A2_cjs.configure(opts);
|
|
2076
2077
|
}
|
|
2077
2078
|
/**
|
|
2078
2079
|
* Submit a unit of asynchronous work to the registry.
|
|
@@ -2097,7 +2098,7 @@ var Task = class {
|
|
|
2097
2098
|
* a semaphore slot and without invoking `work`.
|
|
2098
2099
|
*/
|
|
2099
2100
|
static async submit(kind, work, options = {}) {
|
|
2100
|
-
return
|
|
2101
|
+
return chunkJ6GXS5A2_cjs.submit({
|
|
2101
2102
|
kind,
|
|
2102
2103
|
work,
|
|
2103
2104
|
...options.id !== void 0 ? { id: options.id } : {},
|
|
@@ -2108,11 +2109,11 @@ var Task = class {
|
|
|
2108
2109
|
}
|
|
2109
2110
|
/** Returns matching handles, capped at `filter.limit ?? 100`. */
|
|
2110
2111
|
static list(filter = {}) {
|
|
2111
|
-
return
|
|
2112
|
+
return chunkJ6GXS5A2_cjs.list(filter);
|
|
2112
2113
|
}
|
|
2113
2114
|
/** Returns a single handle by id, or `undefined` if unknown / evicted. */
|
|
2114
2115
|
static get(id) {
|
|
2115
|
-
return
|
|
2116
|
+
return chunkJ6GXS5A2_cjs.get(id);
|
|
2116
2117
|
}
|
|
2117
2118
|
/**
|
|
2118
2119
|
* Idempotent cancel (D365). Returns:
|
|
@@ -2125,7 +2126,7 @@ var Task = class {
|
|
|
2125
2126
|
* Never throws.
|
|
2126
2127
|
*/
|
|
2127
2128
|
static cancel(id, reason) {
|
|
2128
|
-
return
|
|
2129
|
+
return chunkJ6GXS5A2_cjs.cancel(id, reason);
|
|
2129
2130
|
}
|
|
2130
2131
|
/**
|
|
2131
2132
|
* Subscribe to a task's event stream. The returned `AsyncIterable<TaskEvent>`
|
|
@@ -2139,7 +2140,7 @@ var Task = class {
|
|
|
2139
2140
|
* Throws `TaskNotFoundError` if the id is unknown or has been evicted.
|
|
2140
2141
|
*/
|
|
2141
2142
|
static subscribe(id) {
|
|
2142
|
-
return
|
|
2143
|
+
return chunkJ6GXS5A2_cjs.subscribe(id);
|
|
2143
2144
|
}
|
|
2144
2145
|
};
|
|
2145
2146
|
|
|
@@ -2152,7 +2153,7 @@ var FIXTURE_USER = {
|
|
|
2152
2153
|
};
|
|
2153
2154
|
var FIXTURE_MODELS = [
|
|
2154
2155
|
{
|
|
2155
|
-
id:
|
|
2156
|
+
id: chunk2STSX2SY_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
2156
2157
|
name: "Gemini 2.0 Flash",
|
|
2157
2158
|
displayName: "Gemini 2.0 Flash",
|
|
2158
2159
|
parameters: [
|
|
@@ -2228,20 +2229,20 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2228
2229
|
try {
|
|
2229
2230
|
response = await fetch(url, { method: "GET" });
|
|
2230
2231
|
} catch (fetchErr) {
|
|
2231
|
-
const mapped =
|
|
2232
|
+
const mapped = chunkARMFXTY6_cjs.mapOllamaTransportError({
|
|
2232
2233
|
providerId: "ollama",
|
|
2233
2234
|
cause: fetchErr,
|
|
2234
2235
|
endpoint: "/v1/models"
|
|
2235
2236
|
});
|
|
2236
2237
|
if (mapped !== void 0) throw mapped;
|
|
2237
|
-
throw new
|
|
2238
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2238
2239
|
`Failed to reach local provider at ${baseUrl}: ${fetchErr.message}`,
|
|
2239
2240
|
{ code: "local_provider_unreachable" }
|
|
2240
2241
|
);
|
|
2241
2242
|
}
|
|
2242
2243
|
if (!response.ok) {
|
|
2243
|
-
const body = await
|
|
2244
|
-
const mapped =
|
|
2244
|
+
const body = await chunkARMFXTY6_cjs.readErrorResponseBody(response);
|
|
2245
|
+
const mapped = chunkARMFXTY6_cjs.mapOllamaHttpError({
|
|
2245
2246
|
providerId: "ollama",
|
|
2246
2247
|
status: response.status,
|
|
2247
2248
|
body,
|
|
@@ -2249,7 +2250,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2249
2250
|
endpoint: "/v1/models"
|
|
2250
2251
|
});
|
|
2251
2252
|
if (mapped !== void 0) throw mapped;
|
|
2252
|
-
throw new
|
|
2253
|
+
throw new chunkUNFBHV46_cjs.ConfigurationError(
|
|
2253
2254
|
`Local provider at ${baseUrl} returned HTTP ${response.status} on /v1/models`,
|
|
2254
2255
|
{ code: "local_provider_http_error" }
|
|
2255
2256
|
);
|
|
@@ -2304,9 +2305,9 @@ var Theokit = class {
|
|
|
2304
2305
|
});
|
|
2305
2306
|
},
|
|
2306
2307
|
capabilities: (providerOrModelId) => {
|
|
2307
|
-
|
|
2308
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2308
2309
|
const providerId = providerOrModelId.includes("/") ? providerOrModelId.split("/")[0] ?? providerOrModelId : providerOrModelId;
|
|
2309
|
-
return
|
|
2310
|
+
return chunkYRJA2POB_cjs.getCatalogCapabilities(providerId);
|
|
2310
2311
|
}
|
|
2311
2312
|
};
|
|
2312
2313
|
/**
|
|
@@ -2345,8 +2346,8 @@ var Theokit = class {
|
|
|
2345
2346
|
*/
|
|
2346
2347
|
static inspect = {
|
|
2347
2348
|
builtinProviders: () => {
|
|
2348
|
-
|
|
2349
|
-
return
|
|
2349
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2350
|
+
return chunkYRJA2POB_cjs.listProviders().map((p) => ({
|
|
2350
2351
|
name: p.name,
|
|
2351
2352
|
apiMode: p.apiMode,
|
|
2352
2353
|
authType: p.authType,
|
|
@@ -2355,7 +2356,7 @@ var Theokit = class {
|
|
|
2355
2356
|
envVars: p.envVars
|
|
2356
2357
|
}));
|
|
2357
2358
|
},
|
|
2358
|
-
embeddingAdapters: () => Object.entries(
|
|
2359
|
+
embeddingAdapters: () => Object.entries(chunk2STSX2SY_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
2359
2360
|
id,
|
|
2360
2361
|
transport: adapter.transport,
|
|
2361
2362
|
defaultModel: adapter.defaultModel
|
|
@@ -2372,9 +2373,9 @@ var Theokit = class {
|
|
|
2372
2373
|
// and may be promoted onto Theokit once the agent.ts cycle is broken.
|
|
2373
2374
|
};
|
|
2374
2375
|
async function maybeListLocalModels(providerName) {
|
|
2375
|
-
|
|
2376
|
-
await
|
|
2377
|
-
const profile =
|
|
2376
|
+
chunkYRJA2POB_cjs.registerBuiltins();
|
|
2377
|
+
await chunkARMFXTY6_cjs.discoverProviderPlugins();
|
|
2378
|
+
const profile = chunkYRJA2POB_cjs.getProviderProfile(providerName);
|
|
2378
2379
|
if (profile === void 0) return void 0;
|
|
2379
2380
|
if (profile.authType !== "none") return void 0;
|
|
2380
2381
|
const baseUrl = resolveLocalProviderBaseUrl(profile.name, profile.baseUrl);
|
|
@@ -2389,15 +2390,15 @@ function resolveLocalProviderBaseUrl(providerName, fallback) {
|
|
|
2389
2390
|
async function executeCatalogRequest(request) {
|
|
2390
2391
|
const apiKey = chunk6LHQPOMI_cjs.resolveApiKey(request.apiKey);
|
|
2391
2392
|
if (apiKey === void 0) {
|
|
2392
|
-
throw new
|
|
2393
|
+
throw new chunkUNFBHV46_cjs.AuthenticationError("Missing API key", { code: "missing_api_key" });
|
|
2393
2394
|
}
|
|
2394
|
-
if (
|
|
2395
|
+
if (chunkARMFXTY6_cjs.shouldUseFixtureMode(apiKey)) {
|
|
2395
2396
|
return request.fixture;
|
|
2396
2397
|
}
|
|
2397
|
-
if (!
|
|
2398
|
-
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" });
|
|
2399
2400
|
}
|
|
2400
|
-
return
|
|
2401
|
+
return chunkARMFXTY6_cjs.httpRequest(request.path, { apiKey });
|
|
2401
2402
|
}
|
|
2402
2403
|
|
|
2403
2404
|
// src/tool-blast-radius.ts
|
|
@@ -2522,7 +2523,7 @@ function resolveTrustPosture(input) {
|
|
|
2522
2523
|
}
|
|
2523
2524
|
|
|
2524
2525
|
// src/wiring-record.ts
|
|
2525
|
-
var UngatedCapabilityError = class extends
|
|
2526
|
+
var UngatedCapabilityError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
2526
2527
|
name = "UngatedCapabilityError";
|
|
2527
2528
|
};
|
|
2528
2529
|
function recordWiring(input) {
|
|
@@ -2546,7 +2547,7 @@ function recordWiring(input) {
|
|
|
2546
2547
|
|
|
2547
2548
|
Object.defineProperty(exports, "StreamObjectError", {
|
|
2548
2549
|
enumerable: true,
|
|
2549
|
-
get: function () { return
|
|
2550
|
+
get: function () { return chunkKGZ66JVZ_cjs.StreamObjectError; }
|
|
2550
2551
|
});
|
|
2551
2552
|
Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
2552
2553
|
enumerable: true,
|
|
@@ -2554,67 +2555,67 @@ Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
|
2554
2555
|
});
|
|
2555
2556
|
Object.defineProperty(exports, "JudgeCredentialError", {
|
|
2556
2557
|
enumerable: true,
|
|
2557
|
-
get: function () { return
|
|
2558
|
+
get: function () { return chunkECD6ER3E_cjs.JudgeCredentialError; }
|
|
2558
2559
|
});
|
|
2559
2560
|
Object.defineProperty(exports, "GenerateObjectError", {
|
|
2560
2561
|
enumerable: true,
|
|
2561
|
-
get: function () { return
|
|
2562
|
+
get: function () { return chunkXDUGSTYJ_cjs.GenerateObjectError; }
|
|
2562
2563
|
});
|
|
2563
2564
|
Object.defineProperty(exports, "Workflow", {
|
|
2564
2565
|
enumerable: true,
|
|
2565
|
-
get: function () { return
|
|
2566
|
+
get: function () { return chunkMPQJE3G4_cjs.Workflow; }
|
|
2566
2567
|
});
|
|
2567
2568
|
Object.defineProperty(exports, "agentStep", {
|
|
2568
2569
|
enumerable: true,
|
|
2569
|
-
get: function () { return
|
|
2570
|
+
get: function () { return chunkMPQJE3G4_cjs.agentStep; }
|
|
2570
2571
|
});
|
|
2571
2572
|
Object.defineProperty(exports, "fn", {
|
|
2572
2573
|
enumerable: true,
|
|
2573
|
-
get: function () { return
|
|
2574
|
+
get: function () { return chunkMPQJE3G4_cjs.fn; }
|
|
2574
2575
|
});
|
|
2575
2576
|
Object.defineProperty(exports, "Cron", {
|
|
2576
2577
|
enumerable: true,
|
|
2577
|
-
get: function () { return
|
|
2578
|
+
get: function () { return chunkAOHRKGAA_cjs.Cron; }
|
|
2578
2579
|
});
|
|
2579
2580
|
Object.defineProperty(exports, "Agent", {
|
|
2580
2581
|
enumerable: true,
|
|
2581
|
-
get: function () { return
|
|
2582
|
+
get: function () { return chunk2STSX2SY_cjs.Agent; }
|
|
2582
2583
|
});
|
|
2583
2584
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2584
2585
|
enumerable: true,
|
|
2585
|
-
get: function () { return
|
|
2586
|
+
get: function () { return chunk2STSX2SY_cjs.AgentBuilder; }
|
|
2586
2587
|
});
|
|
2587
2588
|
Object.defineProperty(exports, "Tool", {
|
|
2588
2589
|
enumerable: true,
|
|
2589
|
-
get: function () { return
|
|
2590
|
+
get: function () { return chunk2STSX2SY_cjs.Tool; }
|
|
2590
2591
|
});
|
|
2591
2592
|
Object.defineProperty(exports, "ToolError", {
|
|
2592
2593
|
enumerable: true,
|
|
2593
|
-
get: function () { return
|
|
2594
|
+
get: function () { return chunk2STSX2SY_cjs.ToolError; }
|
|
2594
2595
|
});
|
|
2595
2596
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2596
2597
|
enumerable: true,
|
|
2597
|
-
get: function () { return
|
|
2598
|
+
get: function () { return chunk2STSX2SY_cjs.UsageAccumulator; }
|
|
2598
2599
|
});
|
|
2599
2600
|
Object.defineProperty(exports, "computeCost", {
|
|
2600
2601
|
enumerable: true,
|
|
2601
|
-
get: function () { return
|
|
2602
|
+
get: function () { return chunk2STSX2SY_cjs.computeCost; }
|
|
2602
2603
|
});
|
|
2603
2604
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2604
2605
|
enumerable: true,
|
|
2605
|
-
get: function () { return
|
|
2606
|
+
get: function () { return chunk2STSX2SY_cjs.getPricingEntry; }
|
|
2606
2607
|
});
|
|
2607
2608
|
Object.defineProperty(exports, "managedSettingsPathFor", {
|
|
2608
2609
|
enumerable: true,
|
|
2609
|
-
get: function () { return
|
|
2610
|
+
get: function () { return chunk2STSX2SY_cjs.managedSettingsPathFor; }
|
|
2610
2611
|
});
|
|
2611
2612
|
Object.defineProperty(exports, "readManagedSettings", {
|
|
2612
2613
|
enumerable: true,
|
|
2613
|
-
get: function () { return
|
|
2614
|
+
get: function () { return chunk2STSX2SY_cjs.readManagedSettings; }
|
|
2614
2615
|
});
|
|
2615
2616
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2616
2617
|
enumerable: true,
|
|
2617
|
-
get: function () { return
|
|
2618
|
+
get: function () { return chunkJ6GXS5A2_cjs.emitRunEvent; }
|
|
2618
2619
|
});
|
|
2619
2620
|
Object.defineProperty(exports, "withCwdMutex", {
|
|
2620
2621
|
enumerable: true,
|
|
@@ -2622,83 +2623,83 @@ Object.defineProperty(exports, "withCwdMutex", {
|
|
|
2622
2623
|
});
|
|
2623
2624
|
Object.defineProperty(exports, "TASK_RESERVED_PREFIXES", {
|
|
2624
2625
|
enumerable: true,
|
|
2625
|
-
get: function () { return
|
|
2626
|
+
get: function () { return chunkGHHIJEFX_cjs.TASK_RESERVED_PREFIXES; }
|
|
2626
2627
|
});
|
|
2627
2628
|
Object.defineProperty(exports, "isValidTaskId", {
|
|
2628
2629
|
enumerable: true,
|
|
2629
|
-
get: function () { return
|
|
2630
|
+
get: function () { return chunkGHHIJEFX_cjs.isValidTaskId; }
|
|
2630
2631
|
});
|
|
2631
2632
|
Object.defineProperty(exports, "estimateTokens", {
|
|
2632
2633
|
enumerable: true,
|
|
2633
|
-
get: function () { return
|
|
2634
|
+
get: function () { return chunkJ5623RIV_cjs.estimateTokens; }
|
|
2634
2635
|
});
|
|
2635
2636
|
Object.defineProperty(exports, "AgentDisposedError", {
|
|
2636
2637
|
enumerable: true,
|
|
2637
|
-
get: function () { return
|
|
2638
|
+
get: function () { return chunkUNFBHV46_cjs.AgentDisposedError; }
|
|
2638
2639
|
});
|
|
2639
2640
|
Object.defineProperty(exports, "AgentRunError", {
|
|
2640
2641
|
enumerable: true,
|
|
2641
|
-
get: function () { return
|
|
2642
|
+
get: function () { return chunkUNFBHV46_cjs.AgentRunError; }
|
|
2642
2643
|
});
|
|
2643
2644
|
Object.defineProperty(exports, "AuthenticationError", {
|
|
2644
2645
|
enumerable: true,
|
|
2645
|
-
get: function () { return
|
|
2646
|
+
get: function () { return chunkUNFBHV46_cjs.AuthenticationError; }
|
|
2646
2647
|
});
|
|
2647
2648
|
Object.defineProperty(exports, "BudgetExceededError", {
|
|
2648
2649
|
enumerable: true,
|
|
2649
|
-
get: function () { return
|
|
2650
|
+
get: function () { return chunkUNFBHV46_cjs.BudgetExceededError; }
|
|
2650
2651
|
});
|
|
2651
2652
|
Object.defineProperty(exports, "ConfigurationError", {
|
|
2652
2653
|
enumerable: true,
|
|
2653
|
-
get: function () { return
|
|
2654
|
+
get: function () { return chunkUNFBHV46_cjs.ConfigurationError; }
|
|
2654
2655
|
});
|
|
2655
2656
|
Object.defineProperty(exports, "IntegrationNotConnectedError", {
|
|
2656
2657
|
enumerable: true,
|
|
2657
|
-
get: function () { return
|
|
2658
|
+
get: function () { return chunkUNFBHV46_cjs.IntegrationNotConnectedError; }
|
|
2658
2659
|
});
|
|
2659
2660
|
Object.defineProperty(exports, "InvalidTaskIdError", {
|
|
2660
2661
|
enumerable: true,
|
|
2661
|
-
get: function () { return
|
|
2662
|
+
get: function () { return chunkUNFBHV46_cjs.InvalidTaskIdError; }
|
|
2662
2663
|
});
|
|
2663
2664
|
Object.defineProperty(exports, "MemoryAdapterError", {
|
|
2664
2665
|
enumerable: true,
|
|
2665
|
-
get: function () { return
|
|
2666
|
+
get: function () { return chunkUNFBHV46_cjs.MemoryAdapterError; }
|
|
2666
2667
|
});
|
|
2667
2668
|
Object.defineProperty(exports, "NetworkError", {
|
|
2668
2669
|
enumerable: true,
|
|
2669
|
-
get: function () { return
|
|
2670
|
+
get: function () { return chunkUNFBHV46_cjs.NetworkError; }
|
|
2670
2671
|
});
|
|
2671
2672
|
Object.defineProperty(exports, "RateLimitError", {
|
|
2672
2673
|
enumerable: true,
|
|
2673
|
-
get: function () { return
|
|
2674
|
+
get: function () { return chunkUNFBHV46_cjs.RateLimitError; }
|
|
2674
2675
|
});
|
|
2675
2676
|
Object.defineProperty(exports, "TaskNotFoundError", {
|
|
2676
2677
|
enumerable: true,
|
|
2677
|
-
get: function () { return
|
|
2678
|
+
get: function () { return chunkUNFBHV46_cjs.TaskNotFoundError; }
|
|
2678
2679
|
});
|
|
2679
2680
|
Object.defineProperty(exports, "TheokitAgentError", {
|
|
2680
2681
|
enumerable: true,
|
|
2681
|
-
get: function () { return
|
|
2682
|
+
get: function () { return chunkUNFBHV46_cjs.TheokitAgentError; }
|
|
2682
2683
|
});
|
|
2683
2684
|
Object.defineProperty(exports, "UnknownAgentError", {
|
|
2684
2685
|
enumerable: true,
|
|
2685
|
-
get: function () { return
|
|
2686
|
+
get: function () { return chunkUNFBHV46_cjs.UnknownAgentError; }
|
|
2686
2687
|
});
|
|
2687
2688
|
Object.defineProperty(exports, "UnsupportedBudgetOperationError", {
|
|
2688
2689
|
enumerable: true,
|
|
2689
|
-
get: function () { return
|
|
2690
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedBudgetOperationError; }
|
|
2690
2691
|
});
|
|
2691
2692
|
Object.defineProperty(exports, "UnsupportedRunOperationError", {
|
|
2692
2693
|
enumerable: true,
|
|
2693
|
-
get: function () { return
|
|
2694
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedRunOperationError; }
|
|
2694
2695
|
});
|
|
2695
2696
|
Object.defineProperty(exports, "UnsupportedTaskOperationError", {
|
|
2696
2697
|
enumerable: true,
|
|
2697
|
-
get: function () { return
|
|
2698
|
+
get: function () { return chunkUNFBHV46_cjs.UnsupportedTaskOperationError; }
|
|
2698
2699
|
});
|
|
2699
2700
|
Object.defineProperty(exports, "isTransientError", {
|
|
2700
2701
|
enumerable: true,
|
|
2701
|
-
get: function () { return
|
|
2702
|
+
get: function () { return chunkUNFBHV46_cjs.isTransientError; }
|
|
2702
2703
|
});
|
|
2703
2704
|
Object.defineProperty(exports, "setDiagnosticsSink", {
|
|
2704
2705
|
enumerable: true,
|
|
@@ -2732,6 +2733,8 @@ exports.applySecurityFloor = applySecurityFloor;
|
|
|
2732
2733
|
exports.auditEnvReachability = auditEnvReachability;
|
|
2733
2734
|
exports.chargeAndCheckThresholds = chargeAndCheckThresholds;
|
|
2734
2735
|
exports.createCounterBudgetTracker = createCounterBudgetTracker;
|
|
2736
|
+
exports.createTokenLimiter = createTokenLimiter;
|
|
2737
|
+
exports.createUnicodeNormalizer = createUnicodeNormalizer;
|
|
2735
2738
|
exports.decideApproval = decideApproval;
|
|
2736
2739
|
exports.describeAction = describeAction;
|
|
2737
2740
|
exports.describeCredential = describeCredential;
|