@theokit/sdk 5.11.0 → 5.12.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 +110 -0
- package/dist/a2a/index.cjs +8 -8
- package/dist/a2a/index.js +3 -3
- package/dist/agent-BVKIUP7F.cjs +71 -0
- package/dist/{agent-5DOR5T3E.cjs.map → agent-BVKIUP7F.cjs.map} +1 -1
- package/dist/{agent-XMkGzff_.d.cts → agent-CVzDy_Oj.d.ts} +17 -8
- package/dist/{agent-CmKwSyyD.d.ts → agent-Cn0sphpA.d.cts} +17 -8
- package/dist/agent-IG7BP6GN.js +62 -0
- package/dist/{agent-GWKRARAL.js.map → agent-IG7BP6GN.js.map} +1 -1
- package/dist/agent-prims-CZyxfCmS.d.cts +206 -0
- package/dist/agent-prims-CZyxfCmS.d.ts +206 -0
- package/dist/agent-session-store-22GKA7O4.js +6 -0
- package/dist/{agent-session-store-ODD3IZCW.js.map → agent-session-store-22GKA7O4.js.map} +1 -1
- package/dist/agent-session-store-WP6NGDVX.cjs +23 -0
- package/dist/{agent-session-store-SVEJHSUA.cjs.map → agent-session-store-WP6NGDVX.cjs.map} +1 -1
- package/dist/auth/index.cjs +33 -33
- package/dist/auth/index.js +6 -6
- package/dist/{batch-427O54FQ.js → batch-EP3FCL6D.js} +9 -9
- package/dist/{batch-427O54FQ.js.map → batch-EP3FCL6D.js.map} +1 -1
- package/dist/{batch-U4SO4RLX.cjs → batch-IZ5EDKJ5.cjs} +29 -29
- package/dist/{batch-U4SO4RLX.cjs.map → batch-IZ5EDKJ5.cjs.map} +1 -1
- package/dist/{chunk-IIYJMXYW.cjs → chunk-27V5I2WW.cjs} +4 -4
- package/dist/{chunk-IIYJMXYW.cjs.map → chunk-27V5I2WW.cjs.map} +1 -1
- package/dist/{chunk-DPY2M74T.js → chunk-2C24NSNV.js} +5 -5
- package/dist/{chunk-DPY2M74T.js.map → chunk-2C24NSNV.js.map} +1 -1
- package/dist/{chunk-7F7XE6CM.js → chunk-2S4HQCDF.js} +3 -3
- package/dist/{chunk-7F7XE6CM.js.map → chunk-2S4HQCDF.js.map} +1 -1
- package/dist/{chunk-LZJXEPEQ.js → chunk-2SFLLOMN.js} +3 -3
- package/dist/{chunk-LZJXEPEQ.js.map → chunk-2SFLLOMN.js.map} +1 -1
- package/dist/{chunk-RGQICWFU.js → chunk-354F3OF5.js} +3 -3
- package/dist/{chunk-RGQICWFU.js.map → chunk-354F3OF5.js.map} +1 -1
- package/dist/{chunk-TX56N7FR.js → chunk-3FSBE4PS.js} +4 -4
- package/dist/{chunk-TX56N7FR.js.map → chunk-3FSBE4PS.js.map} +1 -1
- package/dist/{chunk-RQMCOFAI.cjs → chunk-3HA7N2BB.cjs} +8 -8
- package/dist/{chunk-RQMCOFAI.cjs.map → chunk-3HA7N2BB.cjs.map} +1 -1
- package/dist/{chunk-GM54F4FE.cjs → chunk-3KIUY67P.cjs} +9 -9
- package/dist/{chunk-GM54F4FE.cjs.map → chunk-3KIUY67P.cjs.map} +1 -1
- package/dist/{chunk-CZJ6Q7CW.js → chunk-3OY6H3I7.js} +66 -7
- package/dist/chunk-3OY6H3I7.js.map +1 -0
- package/dist/{chunk-ZWACQM5U.cjs → chunk-3WKWBYPO.cjs} +9 -9
- package/dist/{chunk-ZWACQM5U.cjs.map → chunk-3WKWBYPO.cjs.map} +1 -1
- package/dist/{chunk-7Y23B7XX.js → chunk-4GUFNDZR.js} +5 -5
- package/dist/{chunk-7Y23B7XX.js.map → chunk-4GUFNDZR.js.map} +1 -1
- package/dist/{chunk-XDUGSTYJ.cjs → chunk-4YD2WI57.cjs} +15 -15
- package/dist/{chunk-XDUGSTYJ.cjs.map → chunk-4YD2WI57.cjs.map} +1 -1
- package/dist/{chunk-SKDNCTXG.cjs → chunk-5A4UFBHW.cjs} +15 -15
- package/dist/{chunk-SKDNCTXG.cjs.map → chunk-5A4UFBHW.cjs.map} +1 -1
- package/dist/{chunk-SUVCHX4L.js → chunk-5AR6O7GW.js} +3 -3
- package/dist/{chunk-SUVCHX4L.js.map → chunk-5AR6O7GW.js.map} +1 -1
- package/dist/{chunk-SVCPJRUB.js → chunk-5HSMH2ZZ.js} +6 -6
- package/dist/{chunk-SVCPJRUB.js.map → chunk-5HSMH2ZZ.js.map} +1 -1
- package/dist/{chunk-GTX6FEDP.js → chunk-5IRDK5BC.js} +3 -3
- package/dist/{chunk-GTX6FEDP.js.map → chunk-5IRDK5BC.js.map} +1 -1
- package/dist/{chunk-H3CVJSFC.js → chunk-5IUDICRK.js} +3 -3
- package/dist/{chunk-H3CVJSFC.js.map → chunk-5IUDICRK.js.map} +1 -1
- package/dist/{chunk-FYEHYQ7T.cjs → chunk-6CXRYPG7.cjs} +15 -15
- package/dist/{chunk-FYEHYQ7T.cjs.map → chunk-6CXRYPG7.cjs.map} +1 -1
- package/dist/{chunk-NQVWSSX2.cjs → chunk-6OCJWGVD.cjs} +12 -12
- package/dist/{chunk-NQVWSSX2.cjs.map → chunk-6OCJWGVD.cjs.map} +1 -1
- package/dist/{chunk-MPR2ISL2.cjs → chunk-6XQLTQB6.cjs} +4 -4
- package/dist/{chunk-MPR2ISL2.cjs.map → chunk-6XQLTQB6.cjs.map} +1 -1
- package/dist/{chunk-72CPLZPC.cjs → chunk-7INPXUJI.cjs} +5 -5
- package/dist/{chunk-72CPLZPC.cjs.map → chunk-7INPXUJI.cjs.map} +1 -1
- package/dist/{chunk-HG5LKFG7.cjs → chunk-7WARNHWW.cjs} +16 -16
- package/dist/{chunk-HG5LKFG7.cjs.map → chunk-7WARNHWW.cjs.map} +1 -1
- package/dist/{chunk-KIKKTW5O.cjs → chunk-7YUPSBDV.cjs} +4 -4
- package/dist/{chunk-KIKKTW5O.cjs.map → chunk-7YUPSBDV.cjs.map} +1 -1
- package/dist/{chunk-IZDDSLL2.js → chunk-AB4OPJLD.js} +6 -6
- package/dist/{chunk-IZDDSLL2.js.map → chunk-AB4OPJLD.js.map} +1 -1
- package/dist/{chunk-XERM7PDQ.js → chunk-AGO5S5WD.js} +3 -3
- package/dist/{chunk-XERM7PDQ.js.map → chunk-AGO5S5WD.js.map} +1 -1
- package/dist/{chunk-ZWFTECOE.js → chunk-AHKS3DKI.js} +3 -3
- package/dist/{chunk-ZWFTECOE.js.map → chunk-AHKS3DKI.js.map} +1 -1
- package/dist/{chunk-ECD6ER3E.cjs → chunk-AIZ6WXSL.cjs} +4 -4
- package/dist/{chunk-ECD6ER3E.cjs.map → chunk-AIZ6WXSL.cjs.map} +1 -1
- package/dist/{chunk-KO6SHCEH.js → chunk-AQW54OWQ.js} +3 -3
- package/dist/{chunk-KO6SHCEH.js.map → chunk-AQW54OWQ.js.map} +1 -1
- package/dist/{chunk-P22BZE7G.cjs → chunk-AT2PESXB.cjs} +7 -7
- package/dist/{chunk-P22BZE7G.cjs.map → chunk-AT2PESXB.cjs.map} +1 -1
- package/dist/{chunk-4PHSVR2R.js → chunk-BJ7BPLQK.js} +207 -108
- package/dist/chunk-BJ7BPLQK.js.map +1 -0
- package/dist/{chunk-HV4V63CO.js → chunk-BO3PV3OP.js} +4 -4
- package/dist/{chunk-HV4V63CO.js.map → chunk-BO3PV3OP.js.map} +1 -1
- package/dist/{chunk-7NQ7HJ3E.cjs → chunk-BRWI4HLK.cjs} +6 -6
- package/dist/{chunk-7NQ7HJ3E.cjs.map → chunk-BRWI4HLK.cjs.map} +1 -1
- package/dist/{chunk-GHHIJEFX.cjs → chunk-BWYC7RZG.cjs} +9 -9
- package/dist/{chunk-GHHIJEFX.cjs.map → chunk-BWYC7RZG.cjs.map} +1 -1
- package/dist/{chunk-UNFBHV46.cjs → chunk-CEGU5AVD.cjs} +9 -9
- package/dist/chunk-CEGU5AVD.cjs.map +1 -0
- package/dist/{chunk-YEHQ3SIC.cjs → chunk-CGH4BCIY.cjs} +11 -11
- package/dist/{chunk-YEHQ3SIC.cjs.map → chunk-CGH4BCIY.cjs.map} +1 -1
- package/dist/{chunk-L3C6CCBG.cjs → chunk-CWQPQTUZ.cjs} +21 -21
- package/dist/{chunk-L3C6CCBG.cjs.map → chunk-CWQPQTUZ.cjs.map} +1 -1
- package/dist/{chunk-X3LOJJMO.js → chunk-DF77RBF4.js} +9 -9
- package/dist/{chunk-X3LOJJMO.js.map → chunk-DF77RBF4.js.map} +1 -1
- package/dist/{chunk-GMSRRJ53.js → chunk-EEK7S77K.js} +3 -3
- package/dist/{chunk-GMSRRJ53.js.map → chunk-EEK7S77K.js.map} +1 -1
- package/dist/{chunk-NKIQTLFA.cjs → chunk-EQ5IDL6W.cjs} +4 -4
- package/dist/{chunk-NKIQTLFA.cjs.map → chunk-EQ5IDL6W.cjs.map} +1 -1
- package/dist/{chunk-D5KXKBEN.cjs → chunk-FEAWEBWN.cjs} +5 -5
- package/dist/{chunk-D5KXKBEN.cjs.map → chunk-FEAWEBWN.cjs.map} +1 -1
- package/dist/{chunk-NJSIAJEK.cjs → chunk-FLDMPVUC.cjs} +4 -4
- package/dist/{chunk-NJSIAJEK.cjs.map → chunk-FLDMPVUC.cjs.map} +1 -1
- package/dist/{chunk-ASK2OQM5.cjs → chunk-G7XBVM3T.cjs} +5 -5
- package/dist/{chunk-ASK2OQM5.cjs.map → chunk-G7XBVM3T.cjs.map} +1 -1
- package/dist/{chunk-HI3W37FY.js → chunk-H7G65PNI.js} +5 -5
- package/dist/{chunk-HI3W37FY.js.map → chunk-H7G65PNI.js.map} +1 -1
- package/dist/{chunk-JW3GVLM6.cjs → chunk-H7HD6RXO.cjs} +4 -4
- package/dist/{chunk-JW3GVLM6.cjs.map → chunk-H7HD6RXO.cjs.map} +1 -1
- package/dist/{chunk-ZHWKT2NI.js → chunk-HJ2LV464.js} +3 -3
- package/dist/{chunk-ZHWKT2NI.js.map → chunk-HJ2LV464.js.map} +1 -1
- package/dist/{chunk-KGZ66JVZ.cjs → chunk-HN4IKB6X.cjs} +14 -14
- package/dist/{chunk-KGZ66JVZ.cjs.map → chunk-HN4IKB6X.cjs.map} +1 -1
- package/dist/{chunk-XKMVJ443.js → chunk-HWMGR3HA.js} +6 -6
- package/dist/{chunk-XKMVJ443.js.map → chunk-HWMGR3HA.js.map} +1 -1
- package/dist/{chunk-5H2GJXGC.cjs → chunk-IO4RI5ZJ.cjs} +24 -24
- package/dist/{chunk-5H2GJXGC.cjs.map → chunk-IO4RI5ZJ.cjs.map} +1 -1
- package/dist/{chunk-OLSEWLK5.cjs → chunk-IOFMRS6T.cjs} +6 -6
- package/dist/{chunk-OLSEWLK5.cjs.map → chunk-IOFMRS6T.cjs.map} +1 -1
- package/dist/{chunk-7QJYKVP6.js → chunk-KCM3RMKR.js} +3 -3
- package/dist/{chunk-7QJYKVP6.js.map → chunk-KCM3RMKR.js.map} +1 -1
- package/dist/{chunk-7KIN3L2S.js → chunk-KU5O7WPK.js} +3 -3
- package/dist/{chunk-7KIN3L2S.js.map → chunk-KU5O7WPK.js.map} +1 -1
- package/dist/{chunk-J5623RIV.cjs → chunk-KX5QXLBS.cjs} +10 -10
- package/dist/{chunk-J5623RIV.cjs.map → chunk-KX5QXLBS.cjs.map} +1 -1
- package/dist/{chunk-J6GXS5A2.cjs → chunk-L7JPXZ2C.cjs} +17 -17
- package/dist/{chunk-J6GXS5A2.cjs.map → chunk-L7JPXZ2C.cjs.map} +1 -1
- package/dist/{chunk-P7NNKEWO.cjs → chunk-L7V4DDIE.cjs} +4 -4
- package/dist/{chunk-P7NNKEWO.cjs.map → chunk-L7V4DDIE.cjs.map} +1 -1
- package/dist/chunk-LO6LIUZ6.cjs +18 -0
- package/dist/{chunk-SGC7LSHF.cjs.map → chunk-LO6LIUZ6.cjs.map} +1 -1
- package/dist/{chunk-BZKF7TXX.cjs → chunk-LSWHDOCL.cjs} +192 -148
- package/dist/chunk-LSWHDOCL.cjs.map +1 -0
- package/dist/{chunk-3JHIFQ4I.js → chunk-M4U24U6G.js} +3 -3
- package/dist/{chunk-3JHIFQ4I.js.map → chunk-M4U24U6G.js.map} +1 -1
- package/dist/{chunk-GGRPAQ3B.js → chunk-MLGETTYX.js} +5 -5
- package/dist/{chunk-GGRPAQ3B.js.map → chunk-MLGETTYX.js.map} +1 -1
- package/dist/{chunk-XZHJYSPB.js → chunk-MLJDW2YK.js} +4 -4
- package/dist/{chunk-XZHJYSPB.js.map → chunk-MLJDW2YK.js.map} +1 -1
- package/dist/{chunk-5Q4RTLMP.js → chunk-MS3TQSXU.js} +3 -3
- package/dist/{chunk-5Q4RTLMP.js.map → chunk-MS3TQSXU.js.map} +1 -1
- package/dist/{chunk-W2ZVTEOD.js → chunk-MSEL5E5P.js} +6 -6
- package/dist/{chunk-W2ZVTEOD.js.map → chunk-MSEL5E5P.js.map} +1 -1
- package/dist/{chunk-ZAM7BJXJ.cjs → chunk-MSW7LB2V.cjs} +5 -5
- package/dist/{chunk-ZAM7BJXJ.cjs.map → chunk-MSW7LB2V.cjs.map} +1 -1
- package/dist/{chunk-7HUCU3KK.js → chunk-NHOEXFZT.js} +5 -5
- package/dist/{chunk-7HUCU3KK.js.map → chunk-NHOEXFZT.js.map} +1 -1
- package/dist/{chunk-Z5BAFHPU.js → chunk-NJBJ3CUG.js} +6 -6
- package/dist/{chunk-Z5BAFHPU.js.map → chunk-NJBJ3CUG.js.map} +1 -1
- package/dist/{chunk-I2ORT6QD.js → chunk-NKQVLWDF.js} +3 -3
- package/dist/{chunk-I2ORT6QD.js.map → chunk-NKQVLWDF.js.map} +1 -1
- package/dist/chunk-NP362THY.cjs +164 -0
- package/dist/chunk-NP362THY.cjs.map +1 -0
- package/dist/{chunk-NWS2CS3Y.cjs → chunk-NWWTYBD3.cjs} +5 -5
- package/dist/{chunk-NWS2CS3Y.cjs.map → chunk-NWWTYBD3.cjs.map} +1 -1
- package/dist/{chunk-SVQIW5RJ.js → chunk-OLJOI4LK.js} +4 -4
- package/dist/{chunk-SVQIW5RJ.js.map → chunk-OLJOI4LK.js.map} +1 -1
- package/dist/{chunk-7JAKO3NM.js → chunk-ORLTGPOS.js} +3 -3
- package/dist/{chunk-7JAKO3NM.js.map → chunk-ORLTGPOS.js.map} +1 -1
- package/dist/{chunk-5DD4NJN3.js → chunk-PKRPV3R7.js} +3 -3
- package/dist/{chunk-5DD4NJN3.js.map → chunk-PKRPV3R7.js.map} +1 -1
- package/dist/{chunk-R5YPDAKD.cjs → chunk-POBZXULR.cjs} +4 -4
- package/dist/{chunk-R5YPDAKD.cjs.map → chunk-POBZXULR.cjs.map} +1 -1
- package/dist/{chunk-5OHB5HJF.cjs → chunk-Q6WT5535.cjs} +521 -422
- package/dist/chunk-Q6WT5535.cjs.map +1 -0
- package/dist/{chunk-MQGSOKR3.js → chunk-Q7UG242V.js} +3 -3
- package/dist/{chunk-MQGSOKR3.js.map → chunk-Q7UG242V.js.map} +1 -1
- package/dist/{chunk-XKZFIP7Z.cjs → chunk-QG4SXZ2A.cjs} +4 -4
- package/dist/{chunk-XKZFIP7Z.cjs.map → chunk-QG4SXZ2A.cjs.map} +1 -1
- package/dist/{chunk-NAGPKWOD.cjs → chunk-QISSETTG.cjs} +4 -4
- package/dist/{chunk-NAGPKWOD.cjs.map → chunk-QISSETTG.cjs.map} +1 -1
- package/dist/{chunk-OR6XIWLB.js → chunk-QK2ERTO3.js} +4 -4
- package/dist/{chunk-OR6XIWLB.js.map → chunk-QK2ERTO3.js.map} +1 -1
- package/dist/{chunk-ZDYDBXSD.js → chunk-RN3XDZGS.js} +6 -6
- package/dist/{chunk-ZDYDBXSD.js.map → chunk-RN3XDZGS.js.map} +1 -1
- package/dist/{chunk-6LHQPOMI.cjs → chunk-RNXXYF22.cjs} +66 -7
- package/dist/chunk-RNXXYF22.cjs.map +1 -0
- package/dist/{chunk-TMKTSYDS.cjs → chunk-RS7YQR4X.cjs} +6 -6
- package/dist/{chunk-TMKTSYDS.cjs.map → chunk-RS7YQR4X.cjs.map} +1 -1
- package/dist/{chunk-HU666T3Q.cjs → chunk-S46WJTDL.cjs} +14 -14
- package/dist/{chunk-HU666T3Q.cjs.map → chunk-S46WJTDL.cjs.map} +1 -1
- package/dist/{chunk-ZD66GFH5.cjs → chunk-SDZ4XDWS.cjs} +35 -35
- package/dist/{chunk-ZD66GFH5.cjs.map → chunk-SDZ4XDWS.cjs.map} +1 -1
- package/dist/{chunk-ZJZ7LV3A.js → chunk-SV63WTA2.js} +3 -3
- package/dist/{chunk-ZJZ7LV3A.js.map → chunk-SV63WTA2.js.map} +1 -1
- package/dist/{chunk-CQYBJOB2.cjs → chunk-SXH37C7X.cjs} +4 -4
- package/dist/{chunk-CQYBJOB2.cjs.map → chunk-SXH37C7X.cjs.map} +1 -1
- package/dist/{chunk-GMRFAX4I.js → chunk-SZQFCHU6.js} +4 -4
- package/dist/{chunk-GMRFAX4I.js.map → chunk-SZQFCHU6.js.map} +1 -1
- package/dist/{chunk-6PB5AQCY.cjs → chunk-TLVI2OQK.cjs} +16 -16
- package/dist/{chunk-6PB5AQCY.cjs.map → chunk-TLVI2OQK.cjs.map} +1 -1
- package/dist/{chunk-B5MHRQJZ.js → chunk-TNFOU6SB.js} +3 -3
- package/dist/chunk-TNFOU6SB.js.map +1 -0
- package/dist/{chunk-N6OEX5TN.cjs → chunk-UDAKAE4Z.cjs} +16 -16
- package/dist/{chunk-N6OEX5TN.cjs.map → chunk-UDAKAE4Z.cjs.map} +1 -1
- package/dist/{chunk-26NEAJ6T.js → chunk-VVGFZQZC.js} +4 -4
- package/dist/{chunk-26NEAJ6T.js.map → chunk-VVGFZQZC.js.map} +1 -1
- package/dist/{chunk-XCQ432OX.js → chunk-VZGE7NAI.js} +3 -3
- package/dist/{chunk-XCQ432OX.js.map → chunk-VZGE7NAI.js.map} +1 -1
- package/dist/{chunk-C7GKRGKN.cjs → chunk-WDVG5R2Q.cjs} +19 -19
- package/dist/{chunk-C7GKRGKN.cjs.map → chunk-WDVG5R2Q.cjs.map} +1 -1
- package/dist/{chunk-FTZTZBCU.js → chunk-XESYJ4JC.js} +4 -4
- package/dist/{chunk-FTZTZBCU.js.map → chunk-XESYJ4JC.js.map} +1 -1
- package/dist/{chunk-OPAKPEPG.js → chunk-XJ3WU5CZ.js} +5 -5
- package/dist/{chunk-OPAKPEPG.js.map → chunk-XJ3WU5CZ.js.map} +1 -1
- package/dist/{chunk-74OA5DIM.js → chunk-XJ4C4NFX.js} +64 -20
- package/dist/chunk-XJ4C4NFX.js.map +1 -0
- package/dist/{chunk-AY43232P.js → chunk-XRPMZ7TO.js} +4 -4
- package/dist/{chunk-AY43232P.js.map → chunk-XRPMZ7TO.js.map} +1 -1
- package/dist/{chunk-X6DUEDAF.js → chunk-XZKIAENA.js} +3 -3
- package/dist/{chunk-X6DUEDAF.js.map → chunk-XZKIAENA.js.map} +1 -1
- package/dist/{chunk-X7EUUHXU.js → chunk-YMVTUV5K.js} +3 -3
- package/dist/{chunk-X7EUUHXU.js.map → chunk-YMVTUV5K.js.map} +1 -1
- package/dist/{chunk-N7ZIPW2N.cjs → chunk-YOVZMN4P.cjs} +8 -8
- package/dist/{chunk-N7ZIPW2N.cjs.map → chunk-YOVZMN4P.cjs.map} +1 -1
- package/dist/{chunk-TY56BKSK.cjs → chunk-YQ3XC6C2.cjs} +4 -4
- package/dist/{chunk-TY56BKSK.cjs.map → chunk-YQ3XC6C2.cjs.map} +1 -1
- package/dist/chunk-ZJAYFSVI.js +158 -0
- package/dist/chunk-ZJAYFSVI.js.map +1 -0
- package/dist/{chunk-MU7IAA7G.js → chunk-ZLFFDPXC.js} +9 -9
- package/dist/{chunk-MU7IAA7G.js.map → chunk-ZLFFDPXC.js.map} +1 -1
- package/dist/{chunk-JLRLCBJ4.cjs → chunk-ZOFRNNZD.cjs} +4 -4
- package/dist/{chunk-JLRLCBJ4.cjs.map → chunk-ZOFRNNZD.cjs.map} +1 -1
- package/dist/{chunk-MPQJE3G4.cjs → chunk-ZWLFHSON.cjs} +15 -15
- package/dist/{chunk-MPQJE3G4.cjs.map → chunk-ZWLFHSON.cjs.map} +1 -1
- package/dist/compact-session-3U2JYTVG.js +25 -0
- package/dist/{compact-session-F2UDGZCN.js.map → compact-session-3U2JYTVG.js.map} +1 -1
- package/dist/{compact-session-2AETONOS.cjs → compact-session-NM56BREJ.cjs} +24 -24
- package/dist/{compact-session-2AETONOS.cjs.map → compact-session-NM56BREJ.cjs.map} +1 -1
- package/dist/compaction.cjs +18 -18
- package/dist/compaction.js +3 -3
- package/dist/concurrency.cjs +6 -6
- package/dist/concurrency.js +4 -4
- package/dist/context/index.cjs +9 -9
- package/dist/context/index.js +6 -6
- package/dist/context-4RSI3AXT.cjs +24 -0
- package/dist/{context-B5J4GX2F.cjs.map → context-4RSI3AXT.cjs.map} +1 -1
- package/dist/context-7EBZST3L.js +7 -0
- package/dist/{context-3FZRAO5K.js.map → context-7EBZST3L.js.map} +1 -1
- package/dist/{cron-Blj6wMYg.d.cts → cron-BWDYetbq.d.cts} +2 -2
- package/dist/{cron-BPccQCO8.d.ts → cron-CHn-F0fC.d.ts} +2 -2
- package/dist/cron.cjs +42 -42
- package/dist/cron.d.cts +4 -4
- package/dist/cron.d.ts +4 -4
- package/dist/cron.js +41 -41
- package/dist/{errors-BWOJeWTZ.d.cts → errors-BiDQFWTG.d.cts} +10 -7
- package/dist/{errors-DDvG18IB.d.ts → errors-Pf22PJJ-.d.ts} +10 -7
- package/dist/errors.cjs +23 -23
- package/dist/errors.d.cts +2 -3
- package/dist/errors.d.ts +2 -3
- package/dist/errors.js +2 -2
- package/dist/eval.cjs +54 -54
- package/dist/eval.js +42 -42
- package/dist/{executor-3NI7KNL4.js → executor-3D2UDJHW.js} +8 -8
- package/dist/{executor-3NI7KNL4.js.map → executor-3D2UDJHW.js.map} +1 -1
- package/dist/{executor-2SUGI3ZT.cjs → executor-HKHT4CWS.cjs} +26 -26
- package/dist/{executor-2SUGI3ZT.cjs.map → executor-HKHT4CWS.cjs.map} +1 -1
- package/dist/filesystem/index.cjs +12 -12
- package/dist/filesystem/index.js +3 -3
- package/dist/fs-session-store-6ZCCJX3K.js +11 -0
- package/dist/{fs-session-store-3VI4CPTX.js.map → fs-session-store-6ZCCJX3K.js.map} +1 -1
- package/dist/fs-session-store-S2AXVJIX.cjs +20 -0
- package/dist/{fs-session-store-IQ6PEHYF.cjs.map → fs-session-store-S2AXVJIX.cjs.map} +1 -1
- package/dist/generate-object-S7MNVF2V.js +7 -0
- package/dist/{generate-object-NTKAWE7D.js.map → generate-object-S7MNVF2V.js.map} +1 -1
- package/dist/generate-object-XBWD2PU7.cjs +20 -0
- package/dist/{generate-object-YHTWG5DB.cjs.map → generate-object-XBWD2PU7.cjs.map} +1 -1
- package/dist/index-manager-HO456AVW.cjs +27 -0
- package/dist/{index-manager-YGXRFJMZ.cjs.map → index-manager-HO456AVW.cjs.map} +1 -1
- package/dist/index-manager-QDH56FER.js +18 -0
- package/dist/{index-manager-JVYIVTZG.js.map → index-manager-QDH56FER.js.map} +1 -1
- package/dist/index.cjs +172 -172
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +59 -59
- package/dist/{inject-session-W4UKACYJ.cjs → inject-session-JVTZNQF6.cjs} +9 -9
- package/dist/{inject-session-W4UKACYJ.cjs.map → inject-session-JVTZNQF6.cjs.map} +1 -1
- package/dist/{inject-session-E5UDFVLI.js → inject-session-THABTKJY.js} +7 -7
- package/dist/{inject-session-E5UDFVLI.js.map → inject-session-THABTKJY.js.map} +1 -1
- package/dist/interactive/index.cjs +4 -4
- package/dist/interactive/index.js +2 -2
- package/dist/internal/budget/normalize-usage.d.ts +5 -1
- package/dist/internal/error-mappers/openai-compatible.d.ts +5 -1
- package/dist/internal/memory/adapters/index.cjs +8 -8
- package/dist/internal/memory/adapters/index.js +7 -7
- package/dist/internal/memory/storage/index.cjs +42 -42
- package/dist/internal/memory/storage/index.js +10 -10
- package/dist/internal/persistence/index.cjs +25 -25
- package/dist/internal/persistence/index.js +8 -8
- package/dist/internal/providers/catalog-schema.d.ts +1 -1
- package/dist/internal/runtime/lifecycle/throw-on-error-run.d.ts +18 -0
- package/dist/internal/runtime/model-selection.d.ts +1 -1
- package/dist/internal/runtime/system-prompt/native-reasoning.d.ts +2 -2
- package/dist/internal/runtime/typed-run-error.d.ts +16 -0
- package/dist/internal/security/index.cjs +13 -13
- package/dist/internal/security/index.js +3 -3
- package/dist/judge-call-4LR4IFVT.js +5 -0
- package/dist/{judge-call-LOL5FQEX.js.map → judge-call-4LR4IFVT.js.map} +1 -1
- package/dist/judge-call-ZTUQMQRL.cjs +22 -0
- package/dist/{judge-call-AQQYK6VT.cjs.map → judge-call-ZTUQMQRL.cjs.map} +1 -1
- package/dist/mcp-auth.cjs +14 -14
- package/dist/mcp-auth.js +4 -4
- package/dist/models.cjs +22 -22
- package/dist/models.js +8 -8
- package/dist/oauth-transaction-store-OMX436YB.cjs +38 -0
- package/dist/{oauth-transaction-store-ZINDV7AF.cjs.map → oauth-transaction-store-OMX436YB.cjs.map} +1 -1
- package/dist/oauth-transaction-store-U34YLEGP.js +5 -0
- package/dist/{oauth-transaction-store-NP2YHZ6D.js.map → oauth-transaction-store-U34YLEGP.js.map} +1 -1
- package/dist/path-safety.cjs +10 -10
- package/dist/path-safety.js +3 -3
- package/dist/persistence.cjs +31 -31
- package/dist/persistence.js +10 -10
- package/dist/project.cjs +5 -5
- package/dist/project.js +3 -3
- package/dist/providers.cjs +9 -9
- package/dist/providers.js +7 -7
- package/dist/registry-5TDAF7RK.js +9 -0
- package/dist/{registry-5FK42CRV.js.map → registry-5TDAF7RK.js.map} +1 -1
- package/dist/registry-W7TSCLQO.cjs +46 -0
- package/dist/{registry-BVTNO73E.cjs.map → registry-W7TSCLQO.cjs.map} +1 -1
- package/dist/retry.cjs +4 -4
- package/dist/retry.js +3 -3
- package/dist/{run-until-DG2KXWB2.cjs → run-until-4KHVF7YC.cjs} +8 -4
- package/dist/run-until-4KHVF7YC.cjs.map +1 -0
- package/dist/{run-until-6D6TQ4JN.js → run-until-G6BW2DWM.js} +8 -4
- package/dist/run-until-G6BW2DWM.js.map +1 -0
- package/dist/sandbox/index.cjs +22 -22
- package/dist/sandbox/index.js +4 -4
- package/dist/{run-DsA5Ip2i.d.cts → sdk-agent-4-dXI2GS.d.cts} +1500 -753
- package/dist/{run-DsA5Ip2i.d.ts → sdk-agent-CTOJlWA_.d.ts} +1500 -753
- package/dist/server/auth/index.cjs +22 -22
- package/dist/server/auth/index.js +7 -7
- package/dist/server/errors-envelope.cjs +14 -14
- package/dist/server/errors-envelope.d.cts +2 -3
- package/dist/server/errors-envelope.d.ts +2 -3
- package/dist/server/errors-envelope.js +3 -3
- package/dist/session-transcript-7TZ6HXSX.cjs +62 -0
- package/dist/{session-transcript-RACG7BK2.cjs.map → session-transcript-7TZ6HXSX.cjs.map} +1 -1
- package/dist/session-transcript-BSHZYYY6.js +5 -0
- package/dist/{session-transcript-AR7IBICT.js.map → session-transcript-BSHZYYY6.js.map} +1 -1
- package/dist/skills.cjs +8 -8
- package/dist/skills.js +5 -5
- package/dist/stream-object-R6SMYV4R.js +7 -0
- package/dist/{stream-object-QAEHG4YO.js.map → stream-object-R6SMYV4R.js.map} +1 -1
- package/dist/stream-object-TEEK3CAX.cjs +20 -0
- package/dist/{stream-object-TKVGGA54.cjs.map → stream-object-TEEK3CAX.cjs.map} +1 -1
- package/dist/subagents-loader-TXOA5EJJ.cjs +16 -0
- package/dist/{subagents-loader-5TZCAIYQ.cjs.map → subagents-loader-TXOA5EJJ.cjs.map} +1 -1
- package/dist/subagents-loader-Z744TAKD.js +7 -0
- package/dist/{subagents-loader-PEV3PD4Q.js.map → subagents-loader-Z744TAKD.js.map} +1 -1
- package/dist/subagents-loader.cjs +7 -7
- package/dist/subagents-loader.d.cts +4 -3
- package/dist/subagents-loader.d.ts +4 -3
- package/dist/subagents-loader.js +5 -5
- package/dist/subscription/index.cjs +3 -3
- package/dist/subscription/index.js +2 -2
- package/dist/task-store.cjs +7 -7
- package/dist/task-store.js +4 -4
- package/dist/types/agent-prims.d.ts +16 -0
- package/dist/types/agent.d.ts +15 -6
- package/dist/types/run.d.ts +14 -14
- package/dist/workflow.cjs +27 -27
- package/dist/workflow.d.cts +2 -2
- package/dist/workflow.d.ts +2 -2
- package/dist/workflow.js +6 -6
- package/docs/error-codes.md +26 -22
- package/docs/harness-capability-map.md +4 -4
- package/package.json +1 -1
- package/dist/agent-5DOR5T3E.cjs +0 -71
- package/dist/agent-GWKRARAL.js +0 -62
- package/dist/agent-session-store-ODD3IZCW.js +0 -6
- package/dist/agent-session-store-SVEJHSUA.cjs +0 -23
- package/dist/chunk-4PHSVR2R.js.map +0 -1
- package/dist/chunk-5OHB5HJF.cjs.map +0 -1
- package/dist/chunk-6LHQPOMI.cjs.map +0 -1
- package/dist/chunk-74OA5DIM.js.map +0 -1
- package/dist/chunk-B5MHRQJZ.js.map +0 -1
- package/dist/chunk-BZKF7TXX.cjs.map +0 -1
- package/dist/chunk-CZJ6Q7CW.js.map +0 -1
- package/dist/chunk-SGC7LSHF.cjs +0 -18
- package/dist/chunk-TE6XVTOA.js +0 -115
- package/dist/chunk-TE6XVTOA.js.map +0 -1
- package/dist/chunk-UNFBHV46.cjs.map +0 -1
- package/dist/chunk-WPO3VCY4.cjs +0 -121
- package/dist/chunk-WPO3VCY4.cjs.map +0 -1
- package/dist/compact-session-F2UDGZCN.js +0 -25
- package/dist/context-3FZRAO5K.js +0 -7
- package/dist/context-B5J4GX2F.cjs +0 -24
- package/dist/fs-session-store-3VI4CPTX.js +0 -11
- package/dist/fs-session-store-IQ6PEHYF.cjs +0 -20
- package/dist/generate-object-NTKAWE7D.js +0 -7
- package/dist/generate-object-YHTWG5DB.cjs +0 -20
- package/dist/index-manager-JVYIVTZG.js +0 -18
- package/dist/index-manager-YGXRFJMZ.cjs +0 -27
- package/dist/judge-call-AQQYK6VT.cjs +0 -22
- package/dist/judge-call-LOL5FQEX.js +0 -5
- package/dist/oauth-transaction-store-NP2YHZ6D.js +0 -5
- package/dist/oauth-transaction-store-ZINDV7AF.cjs +0 -38
- package/dist/registry-5FK42CRV.js +0 -9
- package/dist/registry-BVTNO73E.cjs +0 -46
- package/dist/run-until-6D6TQ4JN.js.map +0 -1
- package/dist/run-until-DG2KXWB2.cjs.map +0 -1
- package/dist/sdk-agent-dNwjwCt5.d.cts +0 -940
- package/dist/sdk-agent-wEOLXD3F.d.ts +0 -940
- package/dist/session-transcript-AR7IBICT.js +0 -5
- package/dist/session-transcript-RACG7BK2.cjs +0 -62
- package/dist/stream-object-QAEHG4YO.js +0 -7
- package/dist/stream-object-TKVGGA54.cjs +0 -20
- package/dist/subagents-loader-5TZCAIYQ.cjs +0 -16
- package/dist/subagents-loader-PEV3PD4Q.js +0 -7
package/dist/index.cjs
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHN4IKB6X_cjs = require('./chunk-HN4IKB6X.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 chunkAIZ6WXSL_cjs = require('./chunk-AIZ6WXSL.cjs');
|
|
6
|
+
var chunk6CXRYPG7_cjs = require('./chunk-6CXRYPG7.cjs');
|
|
7
|
+
var chunk4YD2WI57_cjs = require('./chunk-4YD2WI57.cjs');
|
|
8
|
+
require('./chunk-FEAWEBWN.cjs');
|
|
9
|
+
var chunkZWLFHSON_cjs = require('./chunk-ZWLFHSON.cjs');
|
|
10
|
+
require('./chunk-TLVI2OQK.cjs');
|
|
11
11
|
require('./chunk-VTYY7XL5.cjs');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
12
|
+
var chunkIO4RI5ZJ_cjs = require('./chunk-IO4RI5ZJ.cjs');
|
|
13
|
+
var chunkQ6WT5535_cjs = require('./chunk-Q6WT5535.cjs');
|
|
14
|
+
var chunkL7JPXZ2C_cjs = require('./chunk-L7JPXZ2C.cjs');
|
|
15
|
+
require('./chunk-YOVZMN4P.cjs');
|
|
16
16
|
require('./chunk-BUUUWQMB.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-CWQPQTUZ.cjs');
|
|
18
|
+
require('./chunk-7YUPSBDV.cjs');
|
|
19
19
|
require('./chunk-BV2MWEMV.cjs');
|
|
20
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-CGH4BCIY.cjs');
|
|
21
21
|
require('./chunk-GHX4P3V2.cjs');
|
|
22
|
-
require('./chunk-
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-RS7YQR4X.cjs');
|
|
23
|
+
var chunkSDZ4XDWS_cjs = require('./chunk-SDZ4XDWS.cjs');
|
|
24
|
+
var chunk6OCJWGVD_cjs = require('./chunk-6OCJWGVD.cjs');
|
|
25
|
+
var chunkLSWHDOCL_cjs = require('./chunk-LSWHDOCL.cjs');
|
|
26
|
+
require('./chunk-SXH37C7X.cjs');
|
|
27
27
|
require('./chunk-YJNYDJ2T.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-NP362THY.cjs');
|
|
29
29
|
require('./chunk-QOGNZMHD.cjs');
|
|
30
|
-
var
|
|
30
|
+
var chunkMSW7LB2V_cjs = require('./chunk-MSW7LB2V.cjs');
|
|
31
31
|
require('./chunk-2ZPEDVLM.cjs');
|
|
32
|
-
require('./chunk-
|
|
33
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-QG4SXZ2A.cjs');
|
|
33
|
+
require('./chunk-UDAKAE4Z.cjs');
|
|
34
34
|
require('./chunk-KRD3GQAA.cjs');
|
|
35
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-3HA7N2BB.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-H7HD6RXO.cjs');
|
|
41
41
|
require('./chunk-NINIJCHU.cjs');
|
|
42
|
-
var
|
|
42
|
+
var chunk7WARNHWW_cjs = require('./chunk-7WARNHWW.cjs');
|
|
43
43
|
require('./chunk-SWALPLFQ.cjs');
|
|
44
44
|
require('./chunk-IJ7M6GOG.cjs');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-3KIUY67P.cjs');
|
|
46
46
|
require('./chunk-SA6K24NB.cjs');
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
50
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-27V5I2WW.cjs');
|
|
48
|
+
require('./chunk-FLDMPVUC.cjs');
|
|
49
|
+
require('./chunk-EQ5IDL6W.cjs');
|
|
50
|
+
require('./chunk-3WKWBYPO.cjs');
|
|
51
51
|
require('./chunk-A4RAL2ER.cjs');
|
|
52
|
-
require('./chunk-
|
|
53
|
-
require('./chunk-
|
|
54
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-AT2PESXB.cjs');
|
|
53
|
+
require('./chunk-POBZXULR.cjs');
|
|
54
|
+
require('./chunk-G7XBVM3T.cjs');
|
|
55
55
|
var chunkZF2LDKQQ_cjs = require('./chunk-ZF2LDKQQ.cjs');
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
require('./chunk-
|
|
59
|
-
var
|
|
60
|
-
require('./chunk-
|
|
61
|
-
var
|
|
62
|
-
require('./chunk-
|
|
56
|
+
var chunkBWYC7RZG_cjs = require('./chunk-BWYC7RZG.cjs');
|
|
57
|
+
var chunkZOFRNNZD_cjs = require('./chunk-ZOFRNNZD.cjs');
|
|
58
|
+
require('./chunk-WDVG5R2Q.cjs');
|
|
59
|
+
var chunkYQ3XC6C2_cjs = require('./chunk-YQ3XC6C2.cjs');
|
|
60
|
+
require('./chunk-6XQLTQB6.cjs');
|
|
61
|
+
var chunkKX5QXLBS_cjs = require('./chunk-KX5QXLBS.cjs');
|
|
62
|
+
require('./chunk-NWWTYBD3.cjs');
|
|
63
63
|
var chunk3EE6LVWT_cjs = require('./chunk-3EE6LVWT.cjs');
|
|
64
|
-
require('./chunk-
|
|
65
|
-
var
|
|
64
|
+
require('./chunk-LO6LIUZ6.cjs');
|
|
65
|
+
var chunkS46WJTDL_cjs = require('./chunk-S46WJTDL.cjs');
|
|
66
66
|
require('./chunk-NVXXWAU7.cjs');
|
|
67
|
-
require('./chunk-
|
|
68
|
-
require('./chunk-
|
|
69
|
-
require('./chunk-
|
|
67
|
+
require('./chunk-5A4UFBHW.cjs');
|
|
68
|
+
require('./chunk-QISSETTG.cjs');
|
|
69
|
+
require('./chunk-IOFMRS6T.cjs');
|
|
70
70
|
require('./chunk-EHD25JBZ.cjs');
|
|
71
|
-
var
|
|
72
|
-
var
|
|
71
|
+
var chunkCEGU5AVD_cjs = require('./chunk-CEGU5AVD.cjs');
|
|
72
|
+
var chunkRNXXYF22_cjs = require('./chunk-RNXXYF22.cjs');
|
|
73
73
|
var crypto = require('crypto');
|
|
74
74
|
var promises = require('fs/promises');
|
|
75
75
|
var path = require('path');
|
|
@@ -79,8 +79,8 @@ var os = require('os');
|
|
|
79
79
|
// src/agent-factory.ts
|
|
80
80
|
function createAgentFactory(common) {
|
|
81
81
|
return {
|
|
82
|
-
forSession: (agentId, overrides) =>
|
|
83
|
-
getOrCreate: (agentId, overrides) =>
|
|
82
|
+
forSession: (agentId, overrides) => chunkQ6WT5535_cjs.Agent.create(mergeAgentOptions(common, overrides, agentId)),
|
|
83
|
+
getOrCreate: (agentId, overrides) => chunkQ6WT5535_cjs.Agent.getOrCreate(agentId, mergeAgentOptions(common, overrides, agentId))
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -234,12 +234,12 @@ var NAME_GRAMMAR = /^[a-z0-9][a-z0-9_-]*$/;
|
|
|
234
234
|
var registry = /* @__PURE__ */ new Map();
|
|
235
235
|
function validateBudgetName(name) {
|
|
236
236
|
if (typeof name !== "string" || name.length === 0) {
|
|
237
|
-
throw new
|
|
237
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("Budget name must be a non-empty string", {
|
|
238
238
|
code: "invalid_budget_name"
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
if (!NAME_GRAMMAR.test(name)) {
|
|
242
|
-
throw new
|
|
242
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
243
243
|
`Budget name "${name}" must match ^[a-z0-9][a-z0-9_-]*$ (lowercase + dash/underscore, start alphanumeric)`,
|
|
244
244
|
{ code: "invalid_budget_name" }
|
|
245
245
|
);
|
|
@@ -247,7 +247,7 @@ function validateBudgetName(name) {
|
|
|
247
247
|
}
|
|
248
248
|
function assertImplementedScope(scope) {
|
|
249
249
|
if (scope === "process") return;
|
|
250
|
-
throw new
|
|
250
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
251
251
|
`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.`,
|
|
252
252
|
{ code: "unimplemented_budget_scope" }
|
|
253
253
|
);
|
|
@@ -256,7 +256,7 @@ function createBudget(opts) {
|
|
|
256
256
|
validateBudgetName(opts.name);
|
|
257
257
|
assertImplementedScope(opts.scope);
|
|
258
258
|
if (registry.has(opts.name)) {
|
|
259
|
-
throw new
|
|
259
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(`Budget "${opts.name}" already exists`, {
|
|
260
260
|
code: "invalid_budget_name"
|
|
261
261
|
});
|
|
262
262
|
}
|
|
@@ -320,7 +320,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
320
320
|
for (const lim of opts.limits) {
|
|
321
321
|
const currentSpent = spentIn(opts.name, lim.window);
|
|
322
322
|
if (currentSpent + estimatedUsd > lim.limitUsd) {
|
|
323
|
-
throw new
|
|
323
|
+
throw new chunkCEGU5AVD_cjs.BudgetExceededError({
|
|
324
324
|
budgetName: opts.name,
|
|
325
325
|
window: lim.window,
|
|
326
326
|
spentUsd: currentSpent + estimatedUsd,
|
|
@@ -333,7 +333,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
333
333
|
async function chargeAndCheckThresholds(name, actualUsd) {
|
|
334
334
|
const opts = getBudgetOptionsRaw(name);
|
|
335
335
|
if (opts === void 0) {
|
|
336
|
-
|
|
336
|
+
chunkRNXXYF22_cjs.diag(
|
|
337
337
|
`[budget] charge for deleted budget "${name}" is a no-op (was the budget removed during in-flight send?)
|
|
338
338
|
`
|
|
339
339
|
);
|
|
@@ -376,14 +376,14 @@ async function dispatchThreshold(opts, window, spentUsd, limitUsd, threshold) {
|
|
|
376
376
|
});
|
|
377
377
|
} catch (err) {
|
|
378
378
|
const msg = err instanceof Error ? err.message : String(err);
|
|
379
|
-
|
|
379
|
+
chunkRNXXYF22_cjs.diag(`[budget] onThreshold callback threw: ${msg}
|
|
380
380
|
`);
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
async function dispatchExceed(opts, window, spentUsd, limitUsd, mode) {
|
|
384
384
|
if (opts.onExceed === void 0) {
|
|
385
385
|
if (mode === "warn") {
|
|
386
|
-
|
|
386
|
+
chunkRNXXYF22_cjs.diag(
|
|
387
387
|
`[budget] "${opts.name}" exceeded ${window} limit: $${spentUsd.toFixed(4)} > $${limitUsd.toFixed(4)}
|
|
388
388
|
`
|
|
389
389
|
);
|
|
@@ -400,7 +400,7 @@ async function dispatchExceed(opts, window, spentUsd, limitUsd, mode) {
|
|
|
400
400
|
});
|
|
401
401
|
} catch (err) {
|
|
402
402
|
const msg = err instanceof Error ? err.message : String(err);
|
|
403
|
-
|
|
403
|
+
chunkRNXXYF22_cjs.diag(`[budget] onExceed callback threw: ${msg}
|
|
404
404
|
`);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
@@ -470,19 +470,19 @@ function createUnicodeNormalizer(opts = {}) {
|
|
|
470
470
|
}
|
|
471
471
|
function createTokenLimiter(opts) {
|
|
472
472
|
if (!Number.isInteger(opts.limit) || opts.limit <= 0) {
|
|
473
|
-
throw new
|
|
473
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("createTokenLimiter: `limit` must be a positive integer.", {
|
|
474
474
|
code: "invalid_processor_options"
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
const limit = opts.limit;
|
|
478
478
|
const strategy = opts.strategy ?? "truncate";
|
|
479
479
|
const cap = (text, controls) => {
|
|
480
|
-
const estimated =
|
|
480
|
+
const estimated = chunkKX5QXLBS_cjs.estimateTokens(text);
|
|
481
481
|
if (estimated <= limit) return text;
|
|
482
482
|
if (strategy === "block") {
|
|
483
483
|
controls.abort(`exceeds token limit ${limit} (~${estimated} estimated)`);
|
|
484
484
|
}
|
|
485
|
-
return [...text].slice(0, limit *
|
|
485
|
+
return [...text].slice(0, limit * chunkKX5QXLBS_cjs.CHARS_PER_TOKEN).join("");
|
|
486
486
|
};
|
|
487
487
|
return {
|
|
488
488
|
id: "token-limiter",
|
|
@@ -508,12 +508,12 @@ var UnicodeNormalizer = class {
|
|
|
508
508
|
// src/create-skill.ts
|
|
509
509
|
function createSkill(spec) {
|
|
510
510
|
if (!spec.name) {
|
|
511
|
-
throw new
|
|
511
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("createSkill: `name` is required.", {
|
|
512
512
|
code: "invalid_skill_spec"
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
if (!spec.description) {
|
|
516
|
-
throw new
|
|
516
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("createSkill: `description` is required.", {
|
|
517
517
|
code: "invalid_skill_spec"
|
|
518
518
|
});
|
|
519
519
|
}
|
|
@@ -571,8 +571,8 @@ var Provider = class _Provider {
|
|
|
571
571
|
* `.plugins(Provider.builtins())` once, then pick a `provider/model` id. @public
|
|
572
572
|
*/
|
|
573
573
|
static builtins() {
|
|
574
|
-
|
|
575
|
-
return
|
|
574
|
+
chunkS46WJTDL_cjs.registerBuiltins();
|
|
575
|
+
return chunkS46WJTDL_cjs.listProviders().map((profile) => defineProvider(profile));
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
* The builtin serving `modelId`, or `undefined` when none does.
|
|
@@ -601,7 +601,7 @@ async function resolveBody(skill) {
|
|
|
601
601
|
}
|
|
602
602
|
const source = skill.source;
|
|
603
603
|
const skillDir = path.dirname(source);
|
|
604
|
-
const body =
|
|
604
|
+
const body = chunk7WARNHWW_cjs.stripSkillFrontmatter(await promises.readFile(source, "utf8"));
|
|
605
605
|
const instructions = body.replaceAll(SKILL_DIR_PLACEHOLDER, skillDir);
|
|
606
606
|
const references = await readReferences(skillDir);
|
|
607
607
|
return references === void 0 ? { instructions } : { instructions, references };
|
|
@@ -643,7 +643,7 @@ function defineSkillReadTool(skills) {
|
|
|
643
643
|
const seen = /* @__PURE__ */ new Set();
|
|
644
644
|
for (const skill of skills) {
|
|
645
645
|
if (seen.has(skill.name)) {
|
|
646
|
-
throw new
|
|
646
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(`defineSkillReadTool: duplicate skill name "${skill.name}".`, {
|
|
647
647
|
code: "duplicate_skill_name"
|
|
648
648
|
});
|
|
649
649
|
}
|
|
@@ -724,7 +724,7 @@ var EventBus = class {
|
|
|
724
724
|
} catch (cause) {
|
|
725
725
|
this.#handlerErrorCount += 1;
|
|
726
726
|
const message = cause instanceof Error ? cause.message : String(cause);
|
|
727
|
-
|
|
727
|
+
chunkRNXXYF22_cjs.diag(`[theokit-sdk] event-bus: handler for "${String(event)}" threw: ${message}
|
|
728
728
|
`);
|
|
729
729
|
}
|
|
730
730
|
}
|
|
@@ -745,9 +745,9 @@ var EventBus = class {
|
|
|
745
745
|
// src/goal-loop.ts
|
|
746
746
|
function runGoalLoop(agent, goal, options, depsOverride) {
|
|
747
747
|
async function* wrap() {
|
|
748
|
-
const { runUntilImpl } = await import('./run-until-
|
|
748
|
+
const { runUntilImpl } = await import('./run-until-4KHVF7YC.cjs');
|
|
749
749
|
const deps = depsOverride ?? await (async () => {
|
|
750
|
-
const { judgeCallImpl } = await import('./judge-call-
|
|
750
|
+
const { judgeCallImpl } = await import('./judge-call-ZTUQMQRL.cjs');
|
|
751
751
|
const { getAgentFacade } = await import('./agent-factory-registry-UU46BUMU.cjs');
|
|
752
752
|
const create = getAgentFacade().create;
|
|
753
753
|
return {
|
|
@@ -869,7 +869,7 @@ function effectiveToolNames(options) {
|
|
|
869
869
|
function refuseCreatedTool(options) {
|
|
870
870
|
const candidate = options;
|
|
871
871
|
if (candidate.handler === void 0 || candidate.inputSchema === void 0) return;
|
|
872
|
-
throw new
|
|
872
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
873
873
|
`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.`,
|
|
874
874
|
{ code: "effective_tools_expected_options" }
|
|
875
875
|
);
|
|
@@ -990,7 +990,7 @@ var JobQueue = class {
|
|
|
990
990
|
};
|
|
991
991
|
|
|
992
992
|
// src/layer-fold.ts
|
|
993
|
-
var LayerOrderError = class extends
|
|
993
|
+
var LayerOrderError = class extends chunkCEGU5AVD_cjs.TheokitAgentError {
|
|
994
994
|
name = "LayerOrderError";
|
|
995
995
|
};
|
|
996
996
|
function verifyLayerOrdering(layers) {
|
|
@@ -1167,8 +1167,8 @@ async function runInner(options) {
|
|
|
1167
1167
|
const now = options.now ?? Date.now;
|
|
1168
1168
|
const timestampMs = now();
|
|
1169
1169
|
try {
|
|
1170
|
-
const root = options.memoryRoot ??
|
|
1171
|
-
const facts = await
|
|
1170
|
+
const root = options.memoryRoot ?? chunkSDZ4XDWS_cjs.resolveMemoryRoot(options.cwd);
|
|
1171
|
+
const facts = await chunkSDZ4XDWS_cjs.readFactsFromMarkdown(
|
|
1172
1172
|
options.cwd,
|
|
1173
1173
|
options.memoryRoot ? { directory: options.memoryRoot } : void 0
|
|
1174
1174
|
);
|
|
@@ -1188,7 +1188,7 @@ async function runInner(options) {
|
|
|
1188
1188
|
diaryEntryHash: void 0,
|
|
1189
1189
|
factsLeftOut: rem.factsLeftOut
|
|
1190
1190
|
};
|
|
1191
|
-
await
|
|
1191
|
+
await chunk6CXRYPG7_cjs.appendDiaryEntry(root, {
|
|
1192
1192
|
timestampMs,
|
|
1193
1193
|
factsBefore: result.factsBefore,
|
|
1194
1194
|
factsAfter: result.factsAfter,
|
|
@@ -1199,7 +1199,7 @@ async function runInner(options) {
|
|
|
1199
1199
|
return result;
|
|
1200
1200
|
} catch (cause) {
|
|
1201
1201
|
const message = cause instanceof Error ? cause.message : String(cause);
|
|
1202
|
-
|
|
1202
|
+
chunkRNXXYF22_cjs.diag(`[theokit-sdk] dreaming sweep failed: ${message}
|
|
1203
1203
|
`);
|
|
1204
1204
|
return emptyResult("error");
|
|
1205
1205
|
}
|
|
@@ -1211,7 +1211,7 @@ async function writeConsolidatedNotes(root, clusters, timestampMs) {
|
|
|
1211
1211
|
const isoSlug = new Date(timestampMs).toISOString().replace(/[^\dT]/g, "-");
|
|
1212
1212
|
const file = path.join(notesDir, `dreamed-${isoSlug}.md`);
|
|
1213
1213
|
const body = deepPhase(clusters, timestampMs);
|
|
1214
|
-
await
|
|
1214
|
+
await chunkZOFRNNZD_cjs.replaceFileAtomic(file, body);
|
|
1215
1215
|
return 1;
|
|
1216
1216
|
}
|
|
1217
1217
|
function emptyResult(status) {
|
|
@@ -1234,13 +1234,13 @@ async function loadPeer() {
|
|
|
1234
1234
|
const spec = "@theokit/sdk-memory";
|
|
1235
1235
|
const mod = await import(spec);
|
|
1236
1236
|
if (hasExpectedSurface(mod)) return mod;
|
|
1237
|
-
|
|
1237
|
+
chunkRNXXYF22_cjs.diag(
|
|
1238
1238
|
"sdk-memory peer loaded but does not expose the expected surface (runDreamingSweep / MEMORY_EMBEDDING_ADAPTERS / IndexManager / migrateSqliteToLance) \u2014 falling back to the legacy memory path"
|
|
1239
1239
|
);
|
|
1240
1240
|
return null;
|
|
1241
1241
|
} catch (err) {
|
|
1242
1242
|
if (err?.code !== "ERR_MODULE_NOT_FOUND") {
|
|
1243
|
-
|
|
1243
|
+
chunkRNXXYF22_cjs.diag(
|
|
1244
1244
|
`sdk-memory peer is installed but failed to load \u2014 falling back to the legacy memory path: ${err instanceof Error ? err.message : String(err)}`
|
|
1245
1245
|
);
|
|
1246
1246
|
}
|
|
@@ -1283,8 +1283,8 @@ var Memory = {
|
|
|
1283
1283
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1284
1284
|
return await peer.IndexManager.open(openArgs);
|
|
1285
1285
|
}
|
|
1286
|
-
const { IndexManager } = await import('./index-manager-
|
|
1287
|
-
openArgs.embedding = await resolveEmbedding(opts.embedding,
|
|
1286
|
+
const { IndexManager } = await import('./index-manager-HO456AVW.cjs');
|
|
1287
|
+
openArgs.embedding = await resolveEmbedding(opts.embedding, chunkQ6WT5535_cjs.MEMORY_EMBEDDING_ADAPTERS);
|
|
1288
1288
|
return await IndexManager.open(openArgs);
|
|
1289
1289
|
},
|
|
1290
1290
|
/**
|
|
@@ -1295,7 +1295,7 @@ var Memory = {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
async runDreamingSweep(opts) {
|
|
1297
1297
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1298
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1298
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunkQ6WT5535_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1299
1299
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1300
1300
|
const result = peer !== null ? (
|
|
1301
1301
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1329,7 +1329,7 @@ async function buildDreamingSweepArgs(opts, catalog) {
|
|
|
1329
1329
|
const runtime = await resolveEmbedding(opts.embedding, catalog);
|
|
1330
1330
|
return {
|
|
1331
1331
|
cwd: opts.cwd,
|
|
1332
|
-
memoryRoot:
|
|
1332
|
+
memoryRoot: chunkSDZ4XDWS_cjs.resolveMemoryRoot(opts.cwd, { directory: opts.directory }),
|
|
1333
1333
|
embedding: runtime,
|
|
1334
1334
|
...opts.dedupThreshold !== void 0 ? { dedupThreshold: opts.dedupThreshold } : {},
|
|
1335
1335
|
...opts.clusterThreshold !== void 0 ? { clusterThreshold: opts.clusterThreshold } : {}
|
|
@@ -1355,7 +1355,7 @@ function extractRawId(id, expectedAdapterId) {
|
|
|
1355
1355
|
const prefix = `${expectedAdapterId}:`;
|
|
1356
1356
|
if (!id.startsWith(prefix)) {
|
|
1357
1357
|
const sourcePrefix = id.split(":", 1)[0] ?? "<malformed>";
|
|
1358
|
-
throw new
|
|
1358
|
+
throw new chunkCEGU5AVD_cjs.MemoryAdapterError(
|
|
1359
1359
|
`MemoryId belongs to a different adapter (expected "${expectedAdapterId}", got "${sourcePrefix}")`,
|
|
1360
1360
|
{ adapterId: expectedAdapterId, code: "invalid_input" }
|
|
1361
1361
|
);
|
|
@@ -1369,7 +1369,7 @@ async function migrateSqliteToLance2(options) {
|
|
|
1369
1369
|
if (peer !== null) {
|
|
1370
1370
|
return peer.migrateSqliteToLance(options);
|
|
1371
1371
|
}
|
|
1372
|
-
return
|
|
1372
|
+
return chunk6CXRYPG7_cjs.migrateSqliteToLance(options);
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
1375
|
// src/permission-engine.ts
|
|
@@ -1435,8 +1435,8 @@ var PROTECTED_SEGMENTS = [
|
|
|
1435
1435
|
// spelled again here. A second copy of `.theokit` would drift from the one `paths.ts` resolves
|
|
1436
1436
|
// against, and this list would then protect a directory the runtime no longer uses — worse than
|
|
1437
1437
|
// not protecting it, because the gap would be invisible.
|
|
1438
|
-
|
|
1439
|
-
|
|
1438
|
+
chunkYQ3XC6C2_cjs.CLAUDE_DIR_NAME,
|
|
1439
|
+
chunkYQ3XC6C2_cjs.THEOKIT_DIR_LITERAL,
|
|
1440
1440
|
".ssh",
|
|
1441
1441
|
".gnupg"
|
|
1442
1442
|
];
|
|
@@ -1591,12 +1591,12 @@ function parseOne(rule, action) {
|
|
|
1591
1591
|
const open = trimmed.indexOf("(");
|
|
1592
1592
|
if (open === -1) {
|
|
1593
1593
|
if (trimmed.length === 0) {
|
|
1594
|
-
throw new
|
|
1594
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("permission rule is empty", { code: "permission_rule_invalid" });
|
|
1595
1595
|
}
|
|
1596
1596
|
return [{ tool: normaliseToolName(trimmed), action }];
|
|
1597
1597
|
}
|
|
1598
1598
|
if (!trimmed.endsWith(")")) {
|
|
1599
|
-
throw new
|
|
1599
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
1600
1600
|
`permission rule "${rule}" opens a specifier and never closes it \u2014 expected Tool(specifier)`,
|
|
1601
1601
|
{ code: "permission_rule_invalid" }
|
|
1602
1602
|
);
|
|
@@ -1604,7 +1604,7 @@ function parseOne(rule, action) {
|
|
|
1604
1604
|
const tool = trimmed.slice(0, open).trim();
|
|
1605
1605
|
const specifier = trimmed.slice(open + 1, -1);
|
|
1606
1606
|
if (tool.length === 0) {
|
|
1607
|
-
throw new
|
|
1607
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(`permission rule "${rule}" names no tool`, {
|
|
1608
1608
|
code: "permission_rule_invalid"
|
|
1609
1609
|
});
|
|
1610
1610
|
}
|
|
@@ -1688,7 +1688,7 @@ function loadProjectEnv(env = process.env, load = typeof process.loadEnvFile ===
|
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
1690
|
// src/reap-plan.ts
|
|
1691
|
-
var RetentionPolicyError = class extends
|
|
1691
|
+
var RetentionPolicyError = class extends chunkCEGU5AVD_cjs.TheokitAgentError {
|
|
1692
1692
|
name = "RetentionPolicyError";
|
|
1693
1693
|
};
|
|
1694
1694
|
function assertPolicy(retention) {
|
|
@@ -1772,7 +1772,7 @@ async function normalizeValibotSchema(schema) {
|
|
|
1772
1772
|
return mod.toJsonSchema(schema);
|
|
1773
1773
|
} catch (err) {
|
|
1774
1774
|
if (!isMissingModuleError(err)) throw err;
|
|
1775
|
-
throw new
|
|
1775
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
1776
1776
|
"normalizeSchema: a Valibot schema requires the optional '@valibot/to-json-schema' package. Install it, or use a Zod schema (the default recommendation).",
|
|
1777
1777
|
{ code: "valibot_converter_missing" }
|
|
1778
1778
|
);
|
|
@@ -1785,7 +1785,7 @@ async function normalizeSchema(schema) {
|
|
|
1785
1785
|
return chunkAA27GEYS_cjs.toJsonSchema(schema, { unrepresentable: "any" });
|
|
1786
1786
|
}
|
|
1787
1787
|
if (hasToJsonSchemaMethod(schema)) return schema.toJsonSchema();
|
|
1788
|
-
throw new
|
|
1788
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
1789
1789
|
"normalizeSchema: unsupported schema. Supported: Zod (default), JSON Schema, ArkType (.toJsonSchema()), Valibot (with @valibot/to-json-schema).",
|
|
1790
1790
|
{ code: "unsupported_schema" }
|
|
1791
1791
|
);
|
|
@@ -1816,7 +1816,7 @@ var Security = class {
|
|
|
1816
1816
|
* // → "[bot] received: please remember sk-abc...xyz1"
|
|
1817
1817
|
*/
|
|
1818
1818
|
static redact(text, opts) {
|
|
1819
|
-
return
|
|
1819
|
+
return chunkRNXXYF22_cjs.redactSecrets(text, opts);
|
|
1820
1820
|
}
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Register a custom redaction pattern. Additive — built-in patterns
|
|
@@ -1839,12 +1839,12 @@ var Security = class {
|
|
|
1839
1839
|
*/
|
|
1840
1840
|
static addPattern(re) {
|
|
1841
1841
|
if (!re.global) {
|
|
1842
|
-
throw new
|
|
1842
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
1843
1843
|
"Security.addPattern: regex must have /g flag for replace-all semantics",
|
|
1844
1844
|
{ code: "invalid_redaction_pattern" }
|
|
1845
1845
|
);
|
|
1846
1846
|
}
|
|
1847
|
-
|
|
1847
|
+
chunkRNXXYF22_cjs.addPattern(re);
|
|
1848
1848
|
}
|
|
1849
1849
|
};
|
|
1850
1850
|
|
|
@@ -1882,7 +1882,7 @@ function applySecurityFloor(input) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
1884
|
// src/session-guard.ts
|
|
1885
|
-
var LiveSessionError = class extends
|
|
1885
|
+
var LiveSessionError = class extends chunkCEGU5AVD_cjs.TheokitAgentError {
|
|
1886
1886
|
name = "LiveSessionError";
|
|
1887
1887
|
sessionId;
|
|
1888
1888
|
reason;
|
|
@@ -1906,8 +1906,8 @@ function guardSessionDestruction(sessionId, live) {
|
|
|
1906
1906
|
// src/session-messages.ts
|
|
1907
1907
|
async function readSessionMessages2(options) {
|
|
1908
1908
|
const cwd = options.cwd ?? process.cwd();
|
|
1909
|
-
const baseDir =
|
|
1910
|
-
return
|
|
1909
|
+
const baseDir = chunkQ6WT5535_cjs.resolveSessionDir({ sessionDir: options.sessionDir });
|
|
1910
|
+
return chunkMSW7LB2V_cjs.readSessionMessages(new chunk6OCJWGVD_cjs.FsSessionStore({ baseDir, cwd }), options.sessionId);
|
|
1911
1911
|
}
|
|
1912
1912
|
|
|
1913
1913
|
// src/session-scope.ts
|
|
@@ -1923,7 +1923,7 @@ function isBuiltAgent(m) {
|
|
|
1923
1923
|
return typeof m.send === "function";
|
|
1924
1924
|
}
|
|
1925
1925
|
async function materialize(def, index) {
|
|
1926
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1926
|
+
const { Agent: Agent2 } = await import('./agent-BVKIUP7F.cjs');
|
|
1927
1927
|
return Agent2.create({
|
|
1928
1928
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1929
1929
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|
|
@@ -1937,12 +1937,12 @@ async function materialize(def, index) {
|
|
|
1937
1937
|
function createSquad(options) {
|
|
1938
1938
|
const { agents } = options;
|
|
1939
1939
|
if (!Array.isArray(agents) || agents.length === 0) {
|
|
1940
|
-
throw new
|
|
1940
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError("createSquad requires a non-empty `agents` array", {
|
|
1941
1941
|
code: "invalid_squad"
|
|
1942
1942
|
});
|
|
1943
1943
|
}
|
|
1944
1944
|
if (options.process !== void 0 && options.process !== "sequential") {
|
|
1945
|
-
throw new
|
|
1945
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
1946
1946
|
`createSquad only supports process "sequential"; for manager\u2192worker delegation use subagents or @theokit/sdk-handoff`,
|
|
1947
1947
|
{ code: "squad_process_unsupported" }
|
|
1948
1948
|
);
|
|
@@ -1955,13 +1955,13 @@ function createSquad(options) {
|
|
|
1955
1955
|
};
|
|
1956
1956
|
}
|
|
1957
1957
|
async function buildPipeline(agents, name) {
|
|
1958
|
-
let builder =
|
|
1958
|
+
let builder = chunkZWLFHSON_cjs.Workflow.create({ name: name ?? "squad" });
|
|
1959
1959
|
for (let i = 0; i < agents.length; i++) {
|
|
1960
1960
|
const member = agents[i];
|
|
1961
1961
|
if (member === void 0) continue;
|
|
1962
1962
|
const agent = isBuiltAgent(member) ? member : await materialize(member, i);
|
|
1963
1963
|
const opts = i > 0 ? { origin: { kind: "peer", from: `agent-${i - 1}` } } : void 0;
|
|
1964
|
-
builder = builder.then(
|
|
1964
|
+
builder = builder.then(chunkZWLFHSON_cjs.agentStep(`agent-${i}`, agent, (prev) => String(prev), opts));
|
|
1965
1965
|
}
|
|
1966
1966
|
return builder.commit();
|
|
1967
1967
|
}
|
|
@@ -1985,7 +1985,7 @@ var Task = class {
|
|
|
1985
1985
|
* (D369), and retention (D373).
|
|
1986
1986
|
*/
|
|
1987
1987
|
static configure(opts) {
|
|
1988
|
-
|
|
1988
|
+
chunkL7JPXZ2C_cjs.configure(opts);
|
|
1989
1989
|
}
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Submit a unit of asynchronous work to the registry.
|
|
@@ -2010,7 +2010,7 @@ var Task = class {
|
|
|
2010
2010
|
* a semaphore slot and without invoking `work`.
|
|
2011
2011
|
*/
|
|
2012
2012
|
static async submit(kind, work, options = {}) {
|
|
2013
|
-
return
|
|
2013
|
+
return chunkL7JPXZ2C_cjs.submit({
|
|
2014
2014
|
kind,
|
|
2015
2015
|
work,
|
|
2016
2016
|
...options.id !== void 0 ? { id: options.id } : {},
|
|
@@ -2021,11 +2021,11 @@ var Task = class {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
/** Returns matching handles, capped at `filter.limit ?? 100`. */
|
|
2023
2023
|
static list(filter = {}) {
|
|
2024
|
-
return
|
|
2024
|
+
return chunkL7JPXZ2C_cjs.list(filter);
|
|
2025
2025
|
}
|
|
2026
2026
|
/** Returns a single handle by id, or `undefined` if unknown / evicted. */
|
|
2027
2027
|
static get(id) {
|
|
2028
|
-
return
|
|
2028
|
+
return chunkL7JPXZ2C_cjs.get(id);
|
|
2029
2029
|
}
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Idempotent cancel (D365). Returns:
|
|
@@ -2038,7 +2038,7 @@ var Task = class {
|
|
|
2038
2038
|
* Never throws.
|
|
2039
2039
|
*/
|
|
2040
2040
|
static cancel(id, reason) {
|
|
2041
|
-
return
|
|
2041
|
+
return chunkL7JPXZ2C_cjs.cancel(id, reason);
|
|
2042
2042
|
}
|
|
2043
2043
|
/**
|
|
2044
2044
|
* Subscribe to a task's event stream. The returned `AsyncIterable<TaskEvent>`
|
|
@@ -2052,7 +2052,7 @@ var Task = class {
|
|
|
2052
2052
|
* Throws `TaskNotFoundError` if the id is unknown or has been evicted.
|
|
2053
2053
|
*/
|
|
2054
2054
|
static subscribe(id) {
|
|
2055
|
-
return
|
|
2055
|
+
return chunkL7JPXZ2C_cjs.subscribe(id);
|
|
2056
2056
|
}
|
|
2057
2057
|
};
|
|
2058
2058
|
|
|
@@ -2065,7 +2065,7 @@ var FIXTURE_USER = {
|
|
|
2065
2065
|
};
|
|
2066
2066
|
var FIXTURE_MODELS = [
|
|
2067
2067
|
{
|
|
2068
|
-
id:
|
|
2068
|
+
id: chunkQ6WT5535_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
2069
2069
|
name: "Gemini 2.0 Flash",
|
|
2070
2070
|
displayName: "Gemini 2.0 Flash",
|
|
2071
2071
|
parameters: [
|
|
@@ -2141,20 +2141,20 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2141
2141
|
try {
|
|
2142
2142
|
response = await fetch(url, { method: "GET" });
|
|
2143
2143
|
} catch (fetchErr) {
|
|
2144
|
-
const mapped =
|
|
2144
|
+
const mapped = chunkLSWHDOCL_cjs.mapOllamaTransportError({
|
|
2145
2145
|
providerId: "ollama",
|
|
2146
2146
|
cause: fetchErr,
|
|
2147
2147
|
endpoint: "/v1/models"
|
|
2148
2148
|
});
|
|
2149
2149
|
if (mapped !== void 0) throw mapped;
|
|
2150
|
-
throw new
|
|
2150
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
2151
2151
|
`Failed to reach local provider at ${baseUrl}: ${fetchErr.message}`,
|
|
2152
2152
|
{ code: "local_provider_unreachable" }
|
|
2153
2153
|
);
|
|
2154
2154
|
}
|
|
2155
2155
|
if (!response.ok) {
|
|
2156
|
-
const body = await
|
|
2157
|
-
const mapped =
|
|
2156
|
+
const body = await chunkLSWHDOCL_cjs.readErrorResponseBody(response);
|
|
2157
|
+
const mapped = chunkLSWHDOCL_cjs.mapOllamaHttpError({
|
|
2158
2158
|
providerId: "ollama",
|
|
2159
2159
|
status: response.status,
|
|
2160
2160
|
body,
|
|
@@ -2162,7 +2162,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
2162
2162
|
endpoint: "/v1/models"
|
|
2163
2163
|
});
|
|
2164
2164
|
if (mapped !== void 0) throw mapped;
|
|
2165
|
-
throw new
|
|
2165
|
+
throw new chunkCEGU5AVD_cjs.ConfigurationError(
|
|
2166
2166
|
`Local provider at ${baseUrl} returned HTTP ${response.status} on /v1/models`,
|
|
2167
2167
|
{ code: "local_provider_http_error" }
|
|
2168
2168
|
);
|
|
@@ -2217,9 +2217,9 @@ var Theokit = class {
|
|
|
2217
2217
|
});
|
|
2218
2218
|
},
|
|
2219
2219
|
capabilities: (providerOrModelId) => {
|
|
2220
|
-
|
|
2220
|
+
chunkS46WJTDL_cjs.registerBuiltins();
|
|
2221
2221
|
const providerId = providerOrModelId.includes("/") ? providerOrModelId.split("/")[0] ?? providerOrModelId : providerOrModelId;
|
|
2222
|
-
return
|
|
2222
|
+
return chunkS46WJTDL_cjs.getCatalogCapabilities(providerId);
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
2225
|
/**
|
|
@@ -2258,8 +2258,8 @@ var Theokit = class {
|
|
|
2258
2258
|
*/
|
|
2259
2259
|
static inspect = {
|
|
2260
2260
|
builtinProviders: () => {
|
|
2261
|
-
|
|
2262
|
-
return
|
|
2261
|
+
chunkS46WJTDL_cjs.registerBuiltins();
|
|
2262
|
+
return chunkS46WJTDL_cjs.listProviders().map((p) => ({
|
|
2263
2263
|
name: p.name,
|
|
2264
2264
|
apiMode: p.apiMode,
|
|
2265
2265
|
authType: p.authType,
|
|
@@ -2268,7 +2268,7 @@ var Theokit = class {
|
|
|
2268
2268
|
envVars: p.envVars
|
|
2269
2269
|
}));
|
|
2270
2270
|
},
|
|
2271
|
-
embeddingAdapters: () => Object.entries(
|
|
2271
|
+
embeddingAdapters: () => Object.entries(chunkQ6WT5535_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
2272
2272
|
id,
|
|
2273
2273
|
transport: adapter.transport,
|
|
2274
2274
|
defaultModel: adapter.defaultModel
|
|
@@ -2285,9 +2285,9 @@ var Theokit = class {
|
|
|
2285
2285
|
// and may be promoted onto Theokit once the agent.ts cycle is broken.
|
|
2286
2286
|
};
|
|
2287
2287
|
async function maybeListLocalModels(providerName) {
|
|
2288
|
-
|
|
2289
|
-
await
|
|
2290
|
-
const profile =
|
|
2288
|
+
chunkS46WJTDL_cjs.registerBuiltins();
|
|
2289
|
+
await chunkLSWHDOCL_cjs.discoverProviderPlugins();
|
|
2290
|
+
const profile = chunkS46WJTDL_cjs.getProviderProfile(providerName);
|
|
2291
2291
|
if (profile === void 0) return void 0;
|
|
2292
2292
|
if (profile.authType !== "none") return void 0;
|
|
2293
2293
|
const baseUrl = resolveLocalProviderBaseUrl(profile.name, profile.baseUrl);
|
|
@@ -2300,17 +2300,17 @@ function resolveLocalProviderBaseUrl(providerName, fallback) {
|
|
|
2300
2300
|
return fallback;
|
|
2301
2301
|
}
|
|
2302
2302
|
async function executeCatalogRequest(request) {
|
|
2303
|
-
const apiKey =
|
|
2303
|
+
const apiKey = chunkRNXXYF22_cjs.resolveApiKey(request.apiKey);
|
|
2304
2304
|
if (apiKey === void 0) {
|
|
2305
|
-
throw new
|
|
2305
|
+
throw new chunkCEGU5AVD_cjs.AuthenticationError("Missing API key", { code: "missing_api_key" });
|
|
2306
2306
|
}
|
|
2307
|
-
if (
|
|
2307
|
+
if (chunkLSWHDOCL_cjs.shouldUseFixtureMode(apiKey)) {
|
|
2308
2308
|
return request.fixture;
|
|
2309
2309
|
}
|
|
2310
|
-
if (!
|
|
2311
|
-
throw new
|
|
2310
|
+
if (!chunkLSWHDOCL_cjs.isFixtureApiKey(apiKey) && process.env.THEOKIT_API_BASE_URL === void 0) {
|
|
2311
|
+
throw new chunkCEGU5AVD_cjs.AuthenticationError("Invalid API key", { code: "authentication_error" });
|
|
2312
2312
|
}
|
|
2313
|
-
return
|
|
2313
|
+
return chunkLSWHDOCL_cjs.httpRequest(request.path, { apiKey });
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
2316
|
// src/tool-blast-radius.ts
|
|
@@ -2435,7 +2435,7 @@ function resolveTrustPosture(input) {
|
|
|
2435
2435
|
}
|
|
2436
2436
|
|
|
2437
2437
|
// src/wiring-record.ts
|
|
2438
|
-
var UngatedCapabilityError = class extends
|
|
2438
|
+
var UngatedCapabilityError = class extends chunkCEGU5AVD_cjs.TheokitAgentError {
|
|
2439
2439
|
name = "UngatedCapabilityError";
|
|
2440
2440
|
};
|
|
2441
2441
|
function recordWiring(input) {
|
|
@@ -2459,7 +2459,7 @@ function recordWiring(input) {
|
|
|
2459
2459
|
|
|
2460
2460
|
Object.defineProperty(exports, "StreamObjectError", {
|
|
2461
2461
|
enumerable: true,
|
|
2462
|
-
get: function () { return
|
|
2462
|
+
get: function () { return chunkHN4IKB6X_cjs.StreamObjectError; }
|
|
2463
2463
|
});
|
|
2464
2464
|
Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
2465
2465
|
enumerable: true,
|
|
@@ -2467,75 +2467,75 @@ Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
|
2467
2467
|
});
|
|
2468
2468
|
Object.defineProperty(exports, "JudgeCredentialError", {
|
|
2469
2469
|
enumerable: true,
|
|
2470
|
-
get: function () { return
|
|
2470
|
+
get: function () { return chunkAIZ6WXSL_cjs.JudgeCredentialError; }
|
|
2471
2471
|
});
|
|
2472
2472
|
Object.defineProperty(exports, "GenerateObjectError", {
|
|
2473
2473
|
enumerable: true,
|
|
2474
|
-
get: function () { return
|
|
2474
|
+
get: function () { return chunk4YD2WI57_cjs.GenerateObjectError; }
|
|
2475
2475
|
});
|
|
2476
2476
|
Object.defineProperty(exports, "Workflow", {
|
|
2477
2477
|
enumerable: true,
|
|
2478
|
-
get: function () { return
|
|
2478
|
+
get: function () { return chunkZWLFHSON_cjs.Workflow; }
|
|
2479
2479
|
});
|
|
2480
2480
|
Object.defineProperty(exports, "agentStep", {
|
|
2481
2481
|
enumerable: true,
|
|
2482
|
-
get: function () { return
|
|
2482
|
+
get: function () { return chunkZWLFHSON_cjs.agentStep; }
|
|
2483
2483
|
});
|
|
2484
2484
|
Object.defineProperty(exports, "fn", {
|
|
2485
2485
|
enumerable: true,
|
|
2486
|
-
get: function () { return
|
|
2486
|
+
get: function () { return chunkZWLFHSON_cjs.fn; }
|
|
2487
2487
|
});
|
|
2488
2488
|
Object.defineProperty(exports, "Cron", {
|
|
2489
2489
|
enumerable: true,
|
|
2490
|
-
get: function () { return
|
|
2490
|
+
get: function () { return chunkIO4RI5ZJ_cjs.Cron; }
|
|
2491
2491
|
});
|
|
2492
2492
|
Object.defineProperty(exports, "Agent", {
|
|
2493
2493
|
enumerable: true,
|
|
2494
|
-
get: function () { return
|
|
2494
|
+
get: function () { return chunkQ6WT5535_cjs.Agent; }
|
|
2495
2495
|
});
|
|
2496
2496
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2497
2497
|
enumerable: true,
|
|
2498
|
-
get: function () { return
|
|
2498
|
+
get: function () { return chunkQ6WT5535_cjs.AgentBuilder; }
|
|
2499
2499
|
});
|
|
2500
2500
|
Object.defineProperty(exports, "Tool", {
|
|
2501
2501
|
enumerable: true,
|
|
2502
|
-
get: function () { return
|
|
2502
|
+
get: function () { return chunkQ6WT5535_cjs.Tool; }
|
|
2503
2503
|
});
|
|
2504
2504
|
Object.defineProperty(exports, "ToolError", {
|
|
2505
2505
|
enumerable: true,
|
|
2506
|
-
get: function () { return
|
|
2506
|
+
get: function () { return chunkQ6WT5535_cjs.ToolError; }
|
|
2507
2507
|
});
|
|
2508
2508
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2509
2509
|
enumerable: true,
|
|
2510
|
-
get: function () { return
|
|
2510
|
+
get: function () { return chunkQ6WT5535_cjs.UsageAccumulator; }
|
|
2511
2511
|
});
|
|
2512
2512
|
Object.defineProperty(exports, "computeCost", {
|
|
2513
2513
|
enumerable: true,
|
|
2514
|
-
get: function () { return
|
|
2514
|
+
get: function () { return chunkQ6WT5535_cjs.computeCost; }
|
|
2515
2515
|
});
|
|
2516
2516
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2517
2517
|
enumerable: true,
|
|
2518
|
-
get: function () { return
|
|
2518
|
+
get: function () { return chunkQ6WT5535_cjs.getPricingEntry; }
|
|
2519
2519
|
});
|
|
2520
2520
|
Object.defineProperty(exports, "managedSettingsPathFor", {
|
|
2521
2521
|
enumerable: true,
|
|
2522
|
-
get: function () { return
|
|
2522
|
+
get: function () { return chunkQ6WT5535_cjs.managedSettingsPathFor; }
|
|
2523
2523
|
});
|
|
2524
2524
|
Object.defineProperty(exports, "readManagedSettings", {
|
|
2525
2525
|
enumerable: true,
|
|
2526
|
-
get: function () { return
|
|
2526
|
+
get: function () { return chunkQ6WT5535_cjs.readManagedSettings; }
|
|
2527
2527
|
});
|
|
2528
2528
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2529
2529
|
enumerable: true,
|
|
2530
|
-
get: function () { return
|
|
2530
|
+
get: function () { return chunkL7JPXZ2C_cjs.emitRunEvent; }
|
|
2531
2531
|
});
|
|
2532
2532
|
Object.defineProperty(exports, "inferApiMode", {
|
|
2533
2533
|
enumerable: true,
|
|
2534
|
-
get: function () { return
|
|
2534
|
+
get: function () { return chunkLSWHDOCL_cjs.inferApiMode; }
|
|
2535
2535
|
});
|
|
2536
2536
|
Object.defineProperty(exports, "normalizeUsage", {
|
|
2537
2537
|
enumerable: true,
|
|
2538
|
-
get: function () { return
|
|
2538
|
+
get: function () { return chunkLSWHDOCL_cjs.normalizeUsage; }
|
|
2539
2539
|
});
|
|
2540
2540
|
Object.defineProperty(exports, "withCwdMutex", {
|
|
2541
2541
|
enumerable: true,
|
|
@@ -2543,87 +2543,87 @@ Object.defineProperty(exports, "withCwdMutex", {
|
|
|
2543
2543
|
});
|
|
2544
2544
|
Object.defineProperty(exports, "TASK_RESERVED_PREFIXES", {
|
|
2545
2545
|
enumerable: true,
|
|
2546
|
-
get: function () { return
|
|
2546
|
+
get: function () { return chunkBWYC7RZG_cjs.TASK_RESERVED_PREFIXES; }
|
|
2547
2547
|
});
|
|
2548
2548
|
Object.defineProperty(exports, "isValidTaskId", {
|
|
2549
2549
|
enumerable: true,
|
|
2550
|
-
get: function () { return
|
|
2550
|
+
get: function () { return chunkBWYC7RZG_cjs.isValidTaskId; }
|
|
2551
2551
|
});
|
|
2552
2552
|
Object.defineProperty(exports, "estimateTokens", {
|
|
2553
2553
|
enumerable: true,
|
|
2554
|
-
get: function () { return
|
|
2554
|
+
get: function () { return chunkKX5QXLBS_cjs.estimateTokens; }
|
|
2555
2555
|
});
|
|
2556
2556
|
Object.defineProperty(exports, "AgentDisposedError", {
|
|
2557
2557
|
enumerable: true,
|
|
2558
|
-
get: function () { return
|
|
2558
|
+
get: function () { return chunkCEGU5AVD_cjs.AgentDisposedError; }
|
|
2559
2559
|
});
|
|
2560
2560
|
Object.defineProperty(exports, "AgentRunError", {
|
|
2561
2561
|
enumerable: true,
|
|
2562
|
-
get: function () { return
|
|
2562
|
+
get: function () { return chunkCEGU5AVD_cjs.AgentRunError; }
|
|
2563
2563
|
});
|
|
2564
2564
|
Object.defineProperty(exports, "AuthenticationError", {
|
|
2565
2565
|
enumerable: true,
|
|
2566
|
-
get: function () { return
|
|
2566
|
+
get: function () { return chunkCEGU5AVD_cjs.AuthenticationError; }
|
|
2567
2567
|
});
|
|
2568
2568
|
Object.defineProperty(exports, "BudgetExceededError", {
|
|
2569
2569
|
enumerable: true,
|
|
2570
|
-
get: function () { return
|
|
2570
|
+
get: function () { return chunkCEGU5AVD_cjs.BudgetExceededError; }
|
|
2571
2571
|
});
|
|
2572
2572
|
Object.defineProperty(exports, "ConfigurationError", {
|
|
2573
2573
|
enumerable: true,
|
|
2574
|
-
get: function () { return
|
|
2574
|
+
get: function () { return chunkCEGU5AVD_cjs.ConfigurationError; }
|
|
2575
2575
|
});
|
|
2576
2576
|
Object.defineProperty(exports, "IntegrationNotConnectedError", {
|
|
2577
2577
|
enumerable: true,
|
|
2578
|
-
get: function () { return
|
|
2578
|
+
get: function () { return chunkCEGU5AVD_cjs.IntegrationNotConnectedError; }
|
|
2579
2579
|
});
|
|
2580
2580
|
Object.defineProperty(exports, "InvalidTaskIdError", {
|
|
2581
2581
|
enumerable: true,
|
|
2582
|
-
get: function () { return
|
|
2582
|
+
get: function () { return chunkCEGU5AVD_cjs.InvalidTaskIdError; }
|
|
2583
2583
|
});
|
|
2584
2584
|
Object.defineProperty(exports, "MemoryAdapterError", {
|
|
2585
2585
|
enumerable: true,
|
|
2586
|
-
get: function () { return
|
|
2586
|
+
get: function () { return chunkCEGU5AVD_cjs.MemoryAdapterError; }
|
|
2587
2587
|
});
|
|
2588
2588
|
Object.defineProperty(exports, "NetworkError", {
|
|
2589
2589
|
enumerable: true,
|
|
2590
|
-
get: function () { return
|
|
2590
|
+
get: function () { return chunkCEGU5AVD_cjs.NetworkError; }
|
|
2591
2591
|
});
|
|
2592
2592
|
Object.defineProperty(exports, "RateLimitError", {
|
|
2593
2593
|
enumerable: true,
|
|
2594
|
-
get: function () { return
|
|
2594
|
+
get: function () { return chunkCEGU5AVD_cjs.RateLimitError; }
|
|
2595
2595
|
});
|
|
2596
2596
|
Object.defineProperty(exports, "TaskNotFoundError", {
|
|
2597
2597
|
enumerable: true,
|
|
2598
|
-
get: function () { return
|
|
2598
|
+
get: function () { return chunkCEGU5AVD_cjs.TaskNotFoundError; }
|
|
2599
2599
|
});
|
|
2600
2600
|
Object.defineProperty(exports, "TheokitAgentError", {
|
|
2601
2601
|
enumerable: true,
|
|
2602
|
-
get: function () { return
|
|
2602
|
+
get: function () { return chunkCEGU5AVD_cjs.TheokitAgentError; }
|
|
2603
2603
|
});
|
|
2604
2604
|
Object.defineProperty(exports, "UnknownAgentError", {
|
|
2605
2605
|
enumerable: true,
|
|
2606
|
-
get: function () { return
|
|
2606
|
+
get: function () { return chunkCEGU5AVD_cjs.UnknownAgentError; }
|
|
2607
2607
|
});
|
|
2608
2608
|
Object.defineProperty(exports, "UnsupportedBudgetOperationError", {
|
|
2609
2609
|
enumerable: true,
|
|
2610
|
-
get: function () { return
|
|
2610
|
+
get: function () { return chunkCEGU5AVD_cjs.UnsupportedBudgetOperationError; }
|
|
2611
2611
|
});
|
|
2612
2612
|
Object.defineProperty(exports, "UnsupportedRunOperationError", {
|
|
2613
2613
|
enumerable: true,
|
|
2614
|
-
get: function () { return
|
|
2614
|
+
get: function () { return chunkCEGU5AVD_cjs.UnsupportedRunOperationError; }
|
|
2615
2615
|
});
|
|
2616
2616
|
Object.defineProperty(exports, "UnsupportedTaskOperationError", {
|
|
2617
2617
|
enumerable: true,
|
|
2618
|
-
get: function () { return
|
|
2618
|
+
get: function () { return chunkCEGU5AVD_cjs.UnsupportedTaskOperationError; }
|
|
2619
2619
|
});
|
|
2620
2620
|
Object.defineProperty(exports, "isTransientError", {
|
|
2621
2621
|
enumerable: true,
|
|
2622
|
-
get: function () { return
|
|
2622
|
+
get: function () { return chunkCEGU5AVD_cjs.isTransientError; }
|
|
2623
2623
|
});
|
|
2624
2624
|
Object.defineProperty(exports, "setDiagnosticsSink", {
|
|
2625
2625
|
enumerable: true,
|
|
2626
|
-
get: function () { return
|
|
2626
|
+
get: function () { return chunkRNXXYF22_cjs.setDiagnosticsSink; }
|
|
2627
2627
|
});
|
|
2628
2628
|
exports.AgentFactory = AgentFactory;
|
|
2629
2629
|
exports.Budget = Budget;
|