@theokit/sdk 5.11.1 → 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 +87 -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-OKP4LHG2.cjs.map → agent-BVKIUP7F.cjs.map} +1 -1
- package/dist/{agent-CmKwSyyD.d.ts → agent-CVzDy_Oj.d.ts} +17 -8
- package/dist/{agent-XMkGzff_.d.cts → agent-Cn0sphpA.d.cts} +17 -8
- package/dist/agent-IG7BP6GN.js +62 -0
- package/dist/{agent-DFV52V6E.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-Q34EBNYG.js → chunk-4GUFNDZR.js} +5 -5
- package/dist/{chunk-Q34EBNYG.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-MHIBYKWA.js → chunk-BJ7BPLQK.js} +131 -72
- 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-JV7JA7BM.cjs → chunk-CGH4BCIY.cjs} +11 -11
- package/dist/{chunk-JV7JA7BM.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-U27XHOEF.js → chunk-H7G65PNI.js} +5 -5
- package/dist/{chunk-U27XHOEF.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-EQ5NCH2Y.cjs → chunk-IO4RI5ZJ.cjs} +24 -24
- package/dist/{chunk-EQ5NCH2Y.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-P5N3Q2NH.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-6G4IRQUD.js → chunk-NJBJ3CUG.js} +6 -6
- package/dist/{chunk-6G4IRQUD.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-N7KS3TIR.cjs → chunk-NP362THY.cjs} +28 -15
- 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-35KBC4BX.cjs → chunk-Q6WT5535.cjs} +446 -387
- 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-BBJ77S62.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-3JANYJYS.cjs → chunk-YOVZMN4P.cjs} +8 -8
- package/dist/{chunk-3JANYJYS.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-JLIRFWUG.js → chunk-ZJAYFSVI.js} +22 -9
- 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-4HAUP3HK.js.map → compact-session-3U2JYTVG.js.map} +1 -1
- package/dist/{compact-session-Y56D3S57.cjs → compact-session-NM56BREJ.cjs} +24 -24
- package/dist/{compact-session-Y56D3S57.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-R73PRM7B.cjs → inject-session-JVTZNQF6.cjs} +9 -9
- package/dist/{inject-session-R73PRM7B.cjs.map → inject-session-JVTZNQF6.cjs.map} +1 -1
- package/dist/{inject-session-LJX5JGV5.js → inject-session-THABTKJY.js} +7 -7
- package/dist/{inject-session-LJX5JGV5.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 +3 -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 +24 -23
- package/docs/harness-capability-map.md +4 -4
- package/package.json +1 -1
- package/dist/agent-DFV52V6E.js +0 -62
- package/dist/agent-OKP4LHG2.cjs +0 -71
- package/dist/agent-session-store-ODD3IZCW.js +0 -6
- package/dist/agent-session-store-SVEJHSUA.cjs +0 -23
- package/dist/chunk-35KBC4BX.cjs.map +0 -1
- package/dist/chunk-6LHQPOMI.cjs.map +0 -1
- package/dist/chunk-B5MHRQJZ.js.map +0 -1
- package/dist/chunk-BBJ77S62.js.map +0 -1
- package/dist/chunk-CZJ6Q7CW.js.map +0 -1
- package/dist/chunk-JLIRFWUG.js.map +0 -1
- package/dist/chunk-MHIBYKWA.js.map +0 -1
- package/dist/chunk-N7KS3TIR.cjs.map +0 -1
- package/dist/chunk-P5N3Q2NH.cjs.map +0 -1
- package/dist/chunk-SGC7LSHF.cjs +0 -18
- package/dist/chunk-UNFBHV46.cjs.map +0 -1
- package/dist/compact-session-4HAUP3HK.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
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* One slot in a {@link ModelSelection.params} array.
|
|
18
18
|
*
|
|
19
|
+
* The `thinking` param sets the reasoning effort and takes a non-empty value, for example
|
|
20
|
+
* `{ id: "thinking", value: "high" }`. An empty or whitespace-only value is refused with a
|
|
21
|
+
* `ConfigurationError` (code `invalid_model_param`) at `Agent.create` and at a `send` override,
|
|
22
|
+
* before any request. To request no reasoning, leave the `thinking` param out.
|
|
23
|
+
*
|
|
19
24
|
* @public
|
|
20
25
|
*/
|
|
21
26
|
export interface ModelParameterValue {
|
|
@@ -135,3 +140,14 @@ export interface CustomTool {
|
|
|
135
140
|
* @public
|
|
136
141
|
*/
|
|
137
142
|
export type PermissionMode = "default" | "plan" | "acceptEdits" | "bypass" | "bypassPermissions";
|
|
143
|
+
/**
|
|
144
|
+
* Operations that may or may not be supported on a given `Run`, or on
|
|
145
|
+
* its parent agent. Kept in this leaf so `errors.ts` can name it without
|
|
146
|
+
* importing `types/run.ts`, which imports `errors.ts`.
|
|
147
|
+
*
|
|
148
|
+
* Runtime-specific availability — query at runtime with `run.supports(op)` and
|
|
149
|
+
* read the human reason via `run.unsupportedReason(op)`.
|
|
150
|
+
*
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export type RunOperation = "stream" | "wait" | "cancel" | "conversation" | "listArtifacts" | "downloadArtifact" | "runUntil" | "runToCompletion" | "streamToCompletion" | "fork" | "usePersonality" | "workflow";
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -526,11 +526,20 @@ export interface AgentOptions {
|
|
|
526
526
|
apiKey?: string;
|
|
527
527
|
name?: string;
|
|
528
528
|
/**
|
|
529
|
-
* When `true`,
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
*
|
|
529
|
+
* When `true`, a failed run is surfaced as an error instead of resolving with
|
|
530
|
+
* `{ status: 'error' }`. The error is `result.error.cause`, the typed
|
|
531
|
+
* {@link TheokitAgentError} behind the failure:
|
|
532
|
+
*
|
|
533
|
+
* - `run.wait()`, `agent.generate`, `agent.fork` and `agent.runToCompletion`
|
|
534
|
+
* reject with it.
|
|
535
|
+
* - `agent.runUntil` and `agent.streamToCompletion` throw it from their iterator.
|
|
536
|
+
* - `Agent.batch` returns it as the failed item's `error`.
|
|
537
|
+
* - A workflow `agentStep`, a cron task and an `Eval` row keep recording the
|
|
538
|
+
* failure, with its class name, code or message.
|
|
539
|
+
* - `Agent.prompt` alone wraps it in `AgentRunError`, whose `cause` is the typed error.
|
|
540
|
+
*
|
|
541
|
+
* Cancelled and finished runs still resolve. A run with `status: 'error'` but no
|
|
542
|
+
* `result.error` (malformed RunResult) also resolves.
|
|
534
543
|
*
|
|
535
544
|
* Default `false` (backwards-compatible).
|
|
536
545
|
*
|
|
@@ -645,7 +654,7 @@ export interface AgentOptions {
|
|
|
645
654
|
* auto-attached, turning a non-reasoning model into a reason -> act ->
|
|
646
655
|
* observe loop (same model; reuses the existing tool loop). Default `false` —
|
|
647
656
|
* byte-identical behaviour when unset. Inert (with a one-time warn) when a
|
|
648
|
-
* native reasoning model is configured (`model.params: [{ id: "thinking" }]`),
|
|
657
|
+
* native reasoning model is configured (`model.params: [{ id: "thinking", value: "high" }]`),
|
|
649
658
|
* so native and prompt-based reasoning never stack. See `ReasoningTools` in `@theokit/sdk-tools`.
|
|
650
659
|
*/
|
|
651
660
|
reasoning?: boolean;
|
package/dist/types/run.d.ts
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* declared — `tests/lint/types-name-their-owner.test.ts` re-derives it.
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
6
|
+
import type { TheokitAgentError } from "../errors.js";
|
|
7
|
+
import type { CustomTool, ModelSelection, PermissionMode, RunOperation } from "./agent-prims.js";
|
|
7
8
|
import type { ConversationStep, ConversationTurn } from "./conversation.js";
|
|
8
9
|
import type { McpServerConfig } from "./mcp.js";
|
|
9
10
|
import type { SDKMessage } from "./messages.js";
|
|
10
11
|
import type { InteractionUpdate } from "./updates.js";
|
|
11
12
|
import type { CostBreakdown, TokenUsage } from "./usage.js";
|
|
13
|
+
export type { RunOperation } from "./agent-prims.js";
|
|
12
14
|
/**
|
|
13
15
|
* Options for the tool-result guard (spotlighting + PII redaction on tool
|
|
14
16
|
* output). Contract type owned by `types/` (SE45 / D435) — the implementation
|
|
@@ -28,16 +30,6 @@ export interface ToolResultGuardOptions {
|
|
|
28
30
|
* @public
|
|
29
31
|
*/
|
|
30
32
|
export type RunStatus = "running" | "finished" | "error" | "cancelled";
|
|
31
|
-
/**
|
|
32
|
-
* Operations that may or may not be supported on a given {@link Run}, or on
|
|
33
|
-
* its parent agent.
|
|
34
|
-
*
|
|
35
|
-
* Runtime-specific availability — query at runtime with `run.supports(op)` and
|
|
36
|
-
* read the human reason via `run.unsupportedReason(op)`.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type RunOperation = "stream" | "wait" | "cancel" | "conversation" | "listArtifacts" | "downloadArtifact" | "runUntil" | "runToCompletion" | "streamToCompletion" | "fork" | "usePersonality" | "workflow";
|
|
41
33
|
/**
|
|
42
34
|
* Git metadata attached to cloud runs.
|
|
43
35
|
*
|
|
@@ -268,15 +260,23 @@ export type StreamToCompletionResult = RunToCompletionResult;
|
|
|
268
260
|
* Structured error attached to a {@link RunResult} when the underlying run
|
|
269
261
|
* transitioned to `"error"` status. `message` is always present; `code` is
|
|
270
262
|
* a stable identifier suitable for branching (e.g. `"llm_4xx"`,
|
|
271
|
-
* `"tool_dispatch_failed"`, `"mcp_init_failed"`); `cause` is the
|
|
272
|
-
*
|
|
263
|
+
* `"tool_dispatch_failed"`, `"mcp_init_failed"`); `cause` is the typed
|
|
264
|
+
* {@link TheokitAgentError} behind the failure, so `instanceof` works on it
|
|
265
|
+
* directly (e.g. `result.error?.cause instanceof AuthenticationError`).
|
|
266
|
+
*
|
|
267
|
+
* A failure whose original cause was missing or not an SDK error carries an
|
|
268
|
+
* `UnknownAgentError` with the same message and code, holding the original
|
|
269
|
+
* value at its own `cause`.
|
|
270
|
+
*
|
|
271
|
+
* With `AgentOptions.throwOnError`, `run.wait()` rejects with this same `cause`
|
|
272
|
+
* instead of resolving.
|
|
273
273
|
*
|
|
274
274
|
* @public
|
|
275
275
|
*/
|
|
276
276
|
export interface RunErrorDetail {
|
|
277
277
|
message: string;
|
|
278
278
|
code?: string;
|
|
279
|
-
cause?:
|
|
279
|
+
cause?: TheokitAgentError;
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
282
|
* Dimensions of an inline image attachment.
|
package/dist/workflow.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZWLFHSON_cjs = require('./chunk-ZWLFHSON.cjs');
|
|
4
|
+
var chunkTLVI2OQK_cjs = require('./chunk-TLVI2OQK.cjs');
|
|
5
5
|
require('./chunk-VTYY7XL5.cjs');
|
|
6
6
|
require('./chunk-AA27GEYS.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-3KIUY67P.cjs');
|
|
8
8
|
require('./chunk-SA6K24NB.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-ZOFRNNZD.cjs');
|
|
10
|
+
require('./chunk-CEGU5AVD.cjs');
|
|
11
|
+
require('./chunk-RNXXYF22.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "Workflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZWLFHSON_cjs.Workflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WorkflowBuilder", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZWLFHSON_cjs.WorkflowBuilder; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowToolError", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZWLFHSON_cjs.WorkflowToolError; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "agentStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZWLFHSON_cjs.agentStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZWLFHSON_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "fn", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZWLFHSON_cjs.fn; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "workflowAsTool", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZWLFHSON_cjs.workflowAsTool; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "workflowStep", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZWLFHSON_cjs.workflowStep; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "WorkflowAlreadyRunningError", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowAlreadyRunningError; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "WorkflowCompensateNotImplementedError", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowCompensateNotImplementedError; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "WorkflowDuplicateStepIdError", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowDuplicateStepIdError; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "WorkflowInputError", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowInputError; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "WorkflowMaxIterationsExceededError", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowMaxIterationsExceededError; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "WorkflowNestedError", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowNestedError; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "WorkflowNotSerializableError", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowNotSerializableError; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "WorkflowOutputError", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowOutputError; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "WorkflowParallelError", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowParallelError; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "WorkflowResumeStepNotFoundError", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowResumeStepNotFoundError; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "WorkflowSnapshotNotFoundError", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowSnapshotNotFoundError; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "WorkflowStateError", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkTLVI2OQK_cjs.WorkflowStateError; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "__resetSnapshotStoresForTests", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkTLVI2OQK_cjs.__resetSnapshotStoresForTests; }
|
|
98
98
|
});
|
|
99
99
|
//# sourceMappingURL=workflow.cjs.map
|
|
100
100
|
//# sourceMappingURL=workflow.cjs.map
|
package/dist/workflow.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZodType, z } from 'zod';
|
|
2
|
-
import { S as SDKAgent } from './sdk-agent-
|
|
3
|
-
import { t as MessageOrigin, C as CustomTool } from './run-DsA5Ip2i.cjs';
|
|
2
|
+
import { S as SDKAgent, _ as MessageOrigin } from './sdk-agent-4-dXI2GS.cjs';
|
|
4
3
|
import { T as TheokitAgentError } from './errors-base-B5g01neU.cjs';
|
|
4
|
+
import { C as CustomTool } from './agent-prims-CZyxfCmS.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Owner: `internal/workflow/` (15 of 19 importers). Derived from the import graph, not declared —
|
package/dist/workflow.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZodType, z } from 'zod';
|
|
2
|
-
import { S as SDKAgent } from './sdk-agent-
|
|
3
|
-
import { t as MessageOrigin, C as CustomTool } from './run-DsA5Ip2i.js';
|
|
2
|
+
import { S as SDKAgent, _ as MessageOrigin } from './sdk-agent-CTOJlWA_.js';
|
|
4
3
|
import { T as TheokitAgentError } from './errors-base-B5g01neU.js';
|
|
4
|
+
import { C as CustomTool } from './agent-prims-CZyxfCmS.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Owner: `internal/workflow/` (15 of 19 importers). Derived from the import graph, not declared —
|
package/dist/workflow.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Workflow, WorkflowBuilder, WorkflowToolError, agentStep, cloneWorkflow, fn, workflowAsTool, workflowStep } from './chunk-
|
|
2
|
-
export { WorkflowAlreadyRunningError, WorkflowCompensateNotImplementedError, WorkflowDuplicateStepIdError, WorkflowInputError, WorkflowMaxIterationsExceededError, WorkflowNestedError, WorkflowNotSerializableError, WorkflowOutputError, WorkflowParallelError, WorkflowResumeStepNotFoundError, WorkflowSnapshotNotFoundError, WorkflowStateError, __resetSnapshotStoresForTests } from './chunk-
|
|
1
|
+
export { Workflow, WorkflowBuilder, WorkflowToolError, agentStep, cloneWorkflow, fn, workflowAsTool, workflowStep } from './chunk-ZLFFDPXC.js';
|
|
2
|
+
export { WorkflowAlreadyRunningError, WorkflowCompensateNotImplementedError, WorkflowDuplicateStepIdError, WorkflowInputError, WorkflowMaxIterationsExceededError, WorkflowNestedError, WorkflowNotSerializableError, WorkflowOutputError, WorkflowParallelError, WorkflowResumeStepNotFoundError, WorkflowSnapshotNotFoundError, WorkflowStateError, __resetSnapshotStoresForTests } from './chunk-BO3PV3OP.js';
|
|
3
3
|
import './chunk-HY66GLM6.js';
|
|
4
4
|
import './chunk-7I5Z3UBJ.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-PKRPV3R7.js';
|
|
6
6
|
import './chunk-UKMBRMGT.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-M4U24U6G.js';
|
|
8
|
+
import './chunk-TNFOU6SB.js';
|
|
9
|
+
import './chunk-3OY6H3I7.js';
|
|
10
10
|
//# sourceMappingURL=workflow.js.map
|
|
11
11
|
//# sourceMappingURL=workflow.js.map
|
package/docs/error-codes.md
CHANGED
|
@@ -6,14 +6,14 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
6
6
|
|
|
7
7
|
**Transport codes vs the rest.** `ErrorCode` in `errors.ts` is the small canonical union a provider failure maps onto — the codes marked *transport* below. Everything else is raised by a specific subsystem at a specific place, and a `catch` that only handles the union will meet them anyway.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
251 distinct code(s).
|
|
10
10
|
|
|
11
11
|
| Code | Kind | Raised by | Sites |
|
|
12
12
|
|---|---|---|---|
|
|
13
13
|
| `a2a_peer_not_registered` | domain | A2APeerNotRegisteredError | `packages/sdk/src/a2a/message-bus.ts:28` +1 |
|
|
14
14
|
| `a2a_request_timeout` | domain | A2ARequestTimeoutError | `packages/sdk/src/a2a/message-bus.ts:62` +1 |
|
|
15
15
|
| `aborted` | domain | TheokitAgentError | `packages/sdk/src/internal/agent/batch.ts:358` +1 |
|
|
16
|
-
| `agent_disposed` | domain | — | `packages/sdk/src/errors.ts:
|
|
16
|
+
| `agent_disposed` | domain | — | `packages/sdk/src/errors.ts:547` |
|
|
17
17
|
| `agent_id_already_exists` | domain | ConfigurationError | `packages/sdk/src/internal/agent/helpers.ts:59` |
|
|
18
18
|
| `agent_not_registered` | domain | UnknownAgentError | `packages/sdk/src/internal/cron/run-job.ts:61` |
|
|
19
19
|
| `agent_rehydration_failed` | domain | UnknownAgentError | `packages/sdk/src/internal/agent/helpers.ts:362` +1 |
|
|
@@ -22,7 +22,7 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
22
22
|
| `anthropic_server_error` | domain | NetworkError | `packages/sdk/src/internal/error-mappers/anthropic.ts:71` |
|
|
23
23
|
| `anthropic_timeout` | domain | NetworkError | `packages/sdk/src/internal/error-mappers/anthropic.ts:68` |
|
|
24
24
|
| `anthropic_unknown` | domain | UnknownAgentError | `packages/sdk/src/internal/error-mappers/anthropic.ts:73` |
|
|
25
|
-
| `artifact_path_traversal` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:
|
|
25
|
+
| `artifact_path_traversal` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:294` |
|
|
26
26
|
| `auth_failed` | domain | ConfigurationError, MemoryAdapterError | `packages/memory-honcho/src/adapter.ts:237` +10 |
|
|
27
27
|
| `auth_permission` | domain | — | `packages/sdk/src/internal/error-mappers/vertex.ts:49` |
|
|
28
28
|
| `auth_provider_not_found` | domain | — | `packages/sdk/src/server/auth/errors.ts:34` |
|
|
@@ -33,27 +33,27 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
33
33
|
| `batch_task_failed` | domain | TheokitAgentError | `packages/sdk/src/internal/agent/batch.ts:123` |
|
|
34
34
|
| `batch_task_no_terminal_event` | domain | TheokitAgentError | `packages/sdk/src/internal/agent/batch.ts:185` |
|
|
35
35
|
| `before_complete_failed` | domain | — | `packages/sdk/src/internal/local-agent/local-run.ts:111` |
|
|
36
|
-
| `budget_exceeded` | domain | — | `packages/sdk/src/errors.ts:
|
|
37
|
-
| `budget_op_unsupported` | domain | — | `packages/sdk/src/errors.ts:
|
|
36
|
+
| `budget_exceeded` | domain | — | `packages/sdk/src/errors.ts:518` +1 |
|
|
37
|
+
| `budget_op_unsupported` | domain | — | `packages/sdk/src/errors.ts:574` +1 |
|
|
38
38
|
| `catastrophic_command` | domain | — | `packages/sdk-tools/src/internal/shell-guard.ts:32` |
|
|
39
39
|
| `circuit_open` | domain | NetworkError | `packages/sdk/src/internal/llm/pool-aware-client.ts:106` |
|
|
40
|
-
| `cloud_custom_tools_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:
|
|
40
|
+
| `cloud_custom_tools_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:154` +1 |
|
|
41
41
|
| `cloud_incompatible_function_resolver` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-tool-parity.ts:43` +2 |
|
|
42
42
|
| `cloud_incompatible_mcp_stdio_local` | domain | ConfigurationError | `packages/sdk/src/internal/cloud-agent/cloud-tool-parity.ts:74` |
|
|
43
43
|
| `cloud_plugin_path_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/plugin-loader/plugins-manager.ts:159` +1 |
|
|
44
44
|
| `cloud_run_http_error` | domain | NetworkError | `packages/sdk/src/internal/cloud-agent/real-cloud-run.ts:156` |
|
|
45
45
|
| `cloud_run_unknown_status` | domain | NetworkError | `packages/sdk/src/internal/cloud-agent/real-cloud-run.ts:285` +1 |
|
|
46
|
-
| `cloud_runtime_pre_release` | domain | ConfigurationError | `packages/sdk/src/agent.ts:
|
|
46
|
+
| `cloud_runtime_pre_release` | domain | ConfigurationError | `packages/sdk/src/agent.ts:419` +2 |
|
|
47
47
|
| `cloud_stdio_cwd_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:123` |
|
|
48
|
-
| `compression_failed` | domain | — | `packages/sdk/src/errors.ts:
|
|
48
|
+
| `compression_failed` | domain | — | `packages/sdk/src/errors.ts:703` |
|
|
49
49
|
| `compression_model_unresolved` | domain | — | `packages/sdk/src/internal/runtime/compression/compression-model-registry.ts:102` +1 |
|
|
50
|
-
| `content_filtered` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:
|
|
50
|
+
| `content_filtered` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:139` |
|
|
51
51
|
| `context_config_shape` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-manager.ts:288` |
|
|
52
52
|
| `context_frontmatter_invalid` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-frontmatter.ts:38` |
|
|
53
53
|
| `context_json_invalid` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-manager.ts:282` |
|
|
54
54
|
| `context_read_error` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-manager.ts:269` |
|
|
55
55
|
| `context_sources_shape` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-manager.ts:309` |
|
|
56
|
-
| `context_too_long` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:
|
|
56
|
+
| `context_too_long` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:137` |
|
|
57
57
|
| `credential_pool_ambiguous` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:70` +1 |
|
|
58
58
|
| `credential_pool_empty` | domain | ConfigurationError | `packages/sdk/src/internal/llm/credential-pool.ts:91` |
|
|
59
59
|
| `cron_ambiguous_target` | domain | ConfigurationError | `packages/sdk/src/cron.ts:215` |
|
|
@@ -80,7 +80,7 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
80
80
|
| `handoff_target_invalid` | domain | ConfigurationError | `packages/sdk-handoff/src/handoff.ts:116` |
|
|
81
81
|
| `handoff_target_required` | domain | ConfigurationError | `packages/sdk-handoff/src/handoff.ts:111` |
|
|
82
82
|
| `hitl_timeout` | domain | HitlTimeoutError | `packages/sdk/src/internal/runtime/tools/hitl-middleware.ts:42` +1 |
|
|
83
|
-
| `hook_denied` | domain | ConfigurationError | `packages/sdk/src/internal/local-agent/local-agent.ts:
|
|
83
|
+
| `hook_denied` | domain | ConfigurationError | `packages/sdk/src/internal/local-agent/local-agent.ts:455` |
|
|
84
84
|
| `hooks_invalid_command` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/hooks/hooks-source.ts:415` |
|
|
85
85
|
| `hooks_json_invalid` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/hooks/hooks-source.ts:252` +2 |
|
|
86
86
|
| `hooks_read_error` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/hooks/hooks-source.ts:243` |
|
|
@@ -105,7 +105,8 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
105
105
|
| `invalid_memory_ceiling` | domain | ConfigurationError | `packages/sdk/src/internal/memory/storage/fact-ceiling.ts:23` +1 |
|
|
106
106
|
| `invalid_memory_directory` | domain | ConfigurationError | `packages/sdk/src/internal/memory/storage/memory-root.ts:151` |
|
|
107
107
|
| `invalid_memory_kind` | domain | ConfigurationError | `packages/sdk/src/internal/memory/storage/markdown-store.ts:266` |
|
|
108
|
-
| `
|
|
108
|
+
| `invalid_model_param` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/model-selection.ts:43` +1 |
|
|
109
|
+
| `invalid_model_selection` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/model-selection.ts:25` |
|
|
109
110
|
| `invalid_processor_options` | domain | ConfigurationError | `packages/sdk/src/built-in-processors.ts:86` |
|
|
110
111
|
| `invalid_redaction_pattern` | domain | ConfigurationError | `packages/sdk/src/security.ts:84` |
|
|
111
112
|
| `invalid_request` | domain | — | `packages/sdk/src/internal/error-mappers/vertex.ts:53` +1 |
|
|
@@ -149,8 +150,8 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
149
150
|
| `no_api_key` | domain | ConfigurationError | `packages/sdk-tools/src/web-search-brave.ts:50` |
|
|
150
151
|
| `no_memory_adapter` | domain | ConfigurationError | `packages/sdk/src/internal/local-agent/local-agent-memory-direct.ts:141` +2 |
|
|
151
152
|
| `no_such_session` | domain | NoSuchSessionError | `packages/sdk/src/interactive/types.ts:41` +1 |
|
|
152
|
-
| `no_text_answer` | domain | — | `packages/sdk/src/errors.ts:
|
|
153
|
-
| `no_tool_call` | domain | — | `packages/sdk/src/errors.ts:
|
|
153
|
+
| `no_text_answer` | domain | — | `packages/sdk/src/errors.ts:656` |
|
|
154
|
+
| `no_tool_call` | domain | — | `packages/sdk/src/errors.ts:656` |
|
|
154
155
|
| `node_ws_invalid_raw` | domain | SubscriptionError | `packages/sdk/src/subscription/internal/ws-adapter-node.ts:107` |
|
|
155
156
|
| `not_found` | domain | MemoryAdapterError | `packages/memory-honcho/src/adapter.ts:251` +2 |
|
|
156
157
|
| `oauth_bind_failed` | domain | ConfigurationError | `packages/sdk/src/internal/mcp/oauth.ts:226` |
|
|
@@ -163,7 +164,7 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
163
164
|
| `ollama_model_not_pulled` | domain | ConfigurationError | `packages/sdk/src/internal/error-mappers/ollama.ts:84` |
|
|
164
165
|
| `ollama_unreachable` | domain | ConfigurationError | `packages/sdk/src/internal/error-mappers/ollama.ts:55` +1 |
|
|
165
166
|
| `pagination_invalid` | domain | ConfigurationError | `packages/sdk/src/internal/persistence/pagination.ts:34` |
|
|
166
|
-
| `parse_failed` | domain | — | `packages/sdk/src/errors.ts:
|
|
167
|
+
| `parse_failed` | domain | — | `packages/sdk/src/errors.ts:656` |
|
|
167
168
|
| `path_traversal` | domain | — | `packages/sdk/src/internal/security/path-guard.ts:37` |
|
|
168
169
|
| `permission_enforcement_unavailable` | domain | ConfigurationError | `packages/acp/src/permission-plugin.ts:138` +1 |
|
|
169
170
|
| `permission_rule_invalid` | domain | ConfigurationError | `packages/sdk/src/permission-rules.ts:82` +2 |
|
|
@@ -178,15 +179,15 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
178
179
|
| `plugin_manifest_shape` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/plugin-loader/plugins-manager.ts:191` |
|
|
179
180
|
| `plugin_missing_manifest` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/plugin-loader/plugins-manager.ts:176` +2 |
|
|
180
181
|
| `programmatic_hooks_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:99` |
|
|
181
|
-
| `provider_unresolved` | domain | ConfigurationError | `packages/sdk/src/internal/llm/router.ts:
|
|
182
|
-
| `quota_exceeded` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:
|
|
182
|
+
| `provider_unresolved` | domain | ConfigurationError | `packages/sdk/src/internal/llm/router.ts:107` +2 |
|
|
183
|
+
| `quota_exceeded` | domain | — | `packages/sdk/src/internal/error-mappers/openai-compatible.ts:148` |
|
|
183
184
|
| `rate_limit` | domain | — | `packages/sdk/src/internal/error-mappers/vertex.ts:47` |
|
|
184
185
|
| `rate_limited` | domain | MemoryAdapterError | `packages/memory-honcho/src/adapter.ts:244` +3 |
|
|
185
186
|
| `redirect_blocked` | domain | — | `packages/sdk-tools/src/internal/network-guard.ts:38` |
|
|
186
187
|
| `repo_provision_failed` | domain | — | `packages/sdk/src/sandbox/provision.ts:33` |
|
|
187
188
|
| `reserved_env_prefix` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:110` |
|
|
188
|
-
| `run_cancelled` | domain | — | `packages/sdk/src/errors.ts:
|
|
189
|
-
| `run_not_found` | domain | UnknownAgentError | `packages/sdk/src/agent.ts:
|
|
189
|
+
| `run_cancelled` | domain | — | `packages/sdk/src/errors.ts:656` |
|
|
190
|
+
| `run_not_found` | domain | UnknownAgentError | `packages/sdk/src/agent.ts:426` |
|
|
190
191
|
| `runtime_exclusive` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:90` |
|
|
191
192
|
| `sandbox_derived_helper_failed` | domain | ConfigurationError | `packages/sdk/src/sandbox/types.ts:185` +1 |
|
|
192
193
|
| `sandbox_not_available` | domain | SandboxNotAvailableError | `packages/sdk/src/sandbox/types.ts:92` +1 |
|
|
@@ -231,16 +232,16 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
|
|
|
231
232
|
| `tool_missing_schema` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:265` |
|
|
232
233
|
| `tool_reserved_name` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:247` |
|
|
233
234
|
| `transport_failure` | domain | NetworkError | `packages/sdk/src/internal/llm/transport-error.ts:48` |
|
|
234
|
-
| `transport_unavailable` | domain | ConfigurationError | `packages/sdk/src/internal/llm/router.ts:
|
|
235
|
+
| `transport_unavailable` | domain | ConfigurationError | `packages/sdk/src/internal/llm/router.ts:589` +1 |
|
|
235
236
|
| `unimplemented_budget_scope` | domain | ConfigurationError | `packages/sdk/src/internal/budget/registry.ts:58` +1 |
|
|
236
237
|
| `unknown` | domain | AgentRunError, MemoryAdapterError, TheokitAgentError | `packages/memory-honcho/src/adapter.ts:264` +5 |
|
|
237
|
-
| `unknown_agent` | domain | UnknownAgentError | `packages/sdk/src/agent.ts:
|
|
238
|
-
| `unknown_artifact` | domain | UnknownAgentError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:
|
|
238
|
+
| `unknown_agent` | domain | UnknownAgentError | `packages/sdk/src/agent.ts:209` +1 |
|
|
239
|
+
| `unknown_artifact` | domain | UnknownAgentError | `packages/sdk/src/internal/cloud-agent/cloud-agent.ts:313` |
|
|
239
240
|
| `unknown_category` | domain | ConfigurationError | `packages/sdk-memory/src/internal/categorized-memory.ts:76` |
|
|
240
241
|
| `unknown_cron_job` | domain | UnknownAgentError | `packages/sdk/src/cron.ts:80` +2 |
|
|
241
242
|
| `unsafe_filename` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/project-instructions.ts:120` |
|
|
242
243
|
| `unsupported_schema` | domain | ConfigurationError | `packages/sdk/src/schema-normalizer.ts:110` +1 |
|
|
243
|
-
| `upstream_run_failed` | domain | — | `packages/sdk/src/errors.ts:
|
|
244
|
+
| `upstream_run_failed` | domain | — | `packages/sdk/src/errors.ts:656` |
|
|
244
245
|
| `valibot_converter_missing` | domain | ConfigurationError | `packages/sdk/src/schema-normalizer.ts:81` +1 |
|
|
245
246
|
| `work_threw` | domain | — | `packages/sdk/src/internal/task/registry.ts:295` |
|
|
246
247
|
| `workflow_already_committed` | domain | ConfigurationError | `packages/sdk/src/workflow.ts:269` |
|
|
@@ -73,7 +73,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
|
|
|
73
73
|
| `AgentOptions` | interface | Top-level options accepted by `Agent.create()`. |
|
|
74
74
|
| `AgentPromptResult` | type | Result of a one-shot {@link Agent.prompt } call. |
|
|
75
75
|
| `AgentRegistryOptions` | interface | Knobs for {@link LiveAgentRegistry.configure } . |
|
|
76
|
-
| `AgentRunError` | class | Thrown by `Agent.prompt`
|
|
76
|
+
| `AgentRunError` | class | Thrown by `Agent.prompt` alone when the option `{ throwOnError: true }` is set and the run terminates with `status: 'error'`. |
|
|
77
77
|
| `AgentRunErrorCode` | type | Back-compat alias of {@link KnownAgentRunErrorCode } . |
|
|
78
78
|
| `agentStep` | function | Build an `AgentStep`. |
|
|
79
79
|
| `AgentSubagentDescription` | interface | theokit#123 — one subagent of a registered agent (what theokit-studio calls a workflow). |
|
|
@@ -259,7 +259,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
|
|
|
259
259
|
| `mkMemoryId` | function | Construct a branded `MemoryId` for an adapter. |
|
|
260
260
|
| `ModelListItem` | interface | Single model entry in the catalog. |
|
|
261
261
|
| `ModelParameterDefinition` | interface | Per-model parameter definition discovered from `Theokit.models.list()`. |
|
|
262
|
-
| `ModelParameterValue` | interface | One slot in a {@link ModelSelection.params } array.
|
|
262
|
+
| `ModelParameterValue` | interface | One slot in a {@link ModelSelection.params } array. |
|
|
263
263
|
| `ModelSelection` | interface | Identifies a model plus optional per-model parameters (e.g. |
|
|
264
264
|
| `ModelVariant` | interface | Preset variant for a model — pre-filled parameter combinations. |
|
|
265
265
|
| `NetworkError` | class | Service unavailable, timeout, transport-level failure. |
|
|
@@ -330,7 +330,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
|
|
|
330
330
|
| `RunGitInfo` | interface | Git metadata attached to cloud runs. |
|
|
331
331
|
| `runGoalLoop` | function | Run the goal-driven loop (`send → judge → continuation`) over ANY `send → wait` surface. |
|
|
332
332
|
| `RunMemoryDegradedEvent` | interface | A memory stage failed and the run continued without it. |
|
|
333
|
-
| `RunOperation` | type | Operations that may or may not be supported on a given
|
|
333
|
+
| `RunOperation` | type | Operations that may or may not be supported on a given `Run`, or on its parent agent. |
|
|
334
334
|
| `RunPermissionDeniedEvent` | interface | A tool call was DENIED before dispatch — by the permission gate/plugin (SE1), an operator file-hook `preToolUse`, or the fork tool-whitelist. |
|
|
335
335
|
| `RunRateLimitEvent` | interface | The provider returned a rate-limit (HTTP 429); the loop will back off + retry. |
|
|
336
336
|
| `RunResult` | interface | Terminal result of a {@link Run } . |
|
|
@@ -961,7 +961,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
|
|
|
961
961
|
| Symbol | Kind | Summary |
|
|
962
962
|
|---|---|---|
|
|
963
963
|
| `AgentDisposedError` | class | T1.6 — Thrown when a consumer calls `agent.send()` or any method on an agent that has already been `dispose()`d. |
|
|
964
|
-
| `AgentRunError` | class | Thrown by `Agent.prompt`
|
|
964
|
+
| `AgentRunError` | class | Thrown by `Agent.prompt` alone when the option `{ throwOnError: true }` is set and the run terminates with `status: 'error'`. |
|
|
965
965
|
| `AgentRunErrorCode` | type | Back-compat alias of {@link KnownAgentRunErrorCode } . |
|
|
966
966
|
| `AuthenticationError` | class | Invalid API key, not logged in, insufficient permissions. |
|
|
967
967
|
| `BudgetExceededError` | class | Thrown by `Budget` enforcement (ADR D386) when a `mode: "block"` budget would be exceeded by the upcoming LLM call. |
|
package/package.json
CHANGED
package/dist/agent-DFV52V6E.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export { Agent } from './chunk-MHIBYKWA.js';
|
|
2
|
-
import './chunk-XKMVJ443.js';
|
|
3
|
-
import './chunk-Q34EBNYG.js';
|
|
4
|
-
import './chunk-K2BQQ445.js';
|
|
5
|
-
import './chunk-DPY2M74T.js';
|
|
6
|
-
import './chunk-ZHWKT2NI.js';
|
|
7
|
-
import './chunk-2SFBB54R.js';
|
|
8
|
-
import './chunk-U27XHOEF.js';
|
|
9
|
-
import './chunk-H73MEMQB.js';
|
|
10
|
-
import './chunk-OR6XIWLB.js';
|
|
11
|
-
import './chunk-X3LOJJMO.js';
|
|
12
|
-
import './chunk-IZDDSLL2.js';
|
|
13
|
-
import './chunk-BBJ77S62.js';
|
|
14
|
-
import './chunk-SUVCHX4L.js';
|
|
15
|
-
import './chunk-2XC6KDJM.js';
|
|
16
|
-
import './chunk-JLIRFWUG.js';
|
|
17
|
-
import './chunk-24MGQDK3.js';
|
|
18
|
-
import './chunk-XERM7PDQ.js';
|
|
19
|
-
import './chunk-HKCKOAIO.js';
|
|
20
|
-
import './chunk-7QJYKVP6.js';
|
|
21
|
-
import './chunk-OPAKPEPG.js';
|
|
22
|
-
import './chunk-KVNWIAO4.js';
|
|
23
|
-
import './chunk-SVQIW5RJ.js';
|
|
24
|
-
import './chunk-FD2UT76F.js';
|
|
25
|
-
import './chunk-7I5Z3UBJ.js';
|
|
26
|
-
import './chunk-FJWQP6EE.js';
|
|
27
|
-
import './chunk-NAF4L3T6.js';
|
|
28
|
-
import './chunk-XCQ432OX.js';
|
|
29
|
-
import './chunk-6X6ID4MO.js';
|
|
30
|
-
import './chunk-7HUCU3KK.js';
|
|
31
|
-
import './chunk-4QCJAJAG.js';
|
|
32
|
-
import './chunk-SAGRF4IB.js';
|
|
33
|
-
import './chunk-5DD4NJN3.js';
|
|
34
|
-
import './chunk-UKMBRMGT.js';
|
|
35
|
-
import './chunk-7JAKO3NM.js';
|
|
36
|
-
import './chunk-ZWFTECOE.js';
|
|
37
|
-
import './chunk-GTX6FEDP.js';
|
|
38
|
-
import './chunk-FTZTZBCU.js';
|
|
39
|
-
import './chunk-WE22OXQA.js';
|
|
40
|
-
import './chunk-XZHJYSPB.js';
|
|
41
|
-
import './chunk-7KIN3L2S.js';
|
|
42
|
-
import './chunk-RGQICWFU.js';
|
|
43
|
-
import './chunk-Q5EWJPRY.js';
|
|
44
|
-
import './chunk-GGRPAQ3B.js';
|
|
45
|
-
import './chunk-3JHIFQ4I.js';
|
|
46
|
-
import './chunk-ZDYDBXSD.js';
|
|
47
|
-
import './chunk-X7EUUHXU.js';
|
|
48
|
-
import './chunk-MQGSOKR3.js';
|
|
49
|
-
import './chunk-GMRFAX4I.js';
|
|
50
|
-
import './chunk-LZJXEPEQ.js';
|
|
51
|
-
import './chunk-R7WIIPUR.js';
|
|
52
|
-
import './chunk-I2ORT6QD.js';
|
|
53
|
-
import './chunk-SVCPJRUB.js';
|
|
54
|
-
import './chunk-AGACYRJ2.js';
|
|
55
|
-
import './chunk-TX56N7FR.js';
|
|
56
|
-
import './chunk-5Q4RTLMP.js';
|
|
57
|
-
import './chunk-H3CVJSFC.js';
|
|
58
|
-
import './chunk-Q7GYMXVC.js';
|
|
59
|
-
import './chunk-B5MHRQJZ.js';
|
|
60
|
-
import './chunk-CZJ6Q7CW.js';
|
|
61
|
-
//# sourceMappingURL=agent-DFV52V6E.js.map
|
|
62
|
-
//# sourceMappingURL=agent-DFV52V6E.js.map
|
package/dist/agent-OKP4LHG2.cjs
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk35KBC4BX_cjs = require('./chunk-35KBC4BX.cjs');
|
|
4
|
-
require('./chunk-J6GXS5A2.cjs');
|
|
5
|
-
require('./chunk-3JANYJYS.cjs');
|
|
6
|
-
require('./chunk-BUUUWQMB.cjs');
|
|
7
|
-
require('./chunk-L3C6CCBG.cjs');
|
|
8
|
-
require('./chunk-KIKKTW5O.cjs');
|
|
9
|
-
require('./chunk-BV2MWEMV.cjs');
|
|
10
|
-
require('./chunk-JV7JA7BM.cjs');
|
|
11
|
-
require('./chunk-GHX4P3V2.cjs');
|
|
12
|
-
require('./chunk-TMKTSYDS.cjs');
|
|
13
|
-
require('./chunk-ZD66GFH5.cjs');
|
|
14
|
-
require('./chunk-NQVWSSX2.cjs');
|
|
15
|
-
require('./chunk-P5N3Q2NH.cjs');
|
|
16
|
-
require('./chunk-CQYBJOB2.cjs');
|
|
17
|
-
require('./chunk-YJNYDJ2T.cjs');
|
|
18
|
-
require('./chunk-N7KS3TIR.cjs');
|
|
19
|
-
require('./chunk-QOGNZMHD.cjs');
|
|
20
|
-
require('./chunk-ZAM7BJXJ.cjs');
|
|
21
|
-
require('./chunk-2ZPEDVLM.cjs');
|
|
22
|
-
require('./chunk-XKZFIP7Z.cjs');
|
|
23
|
-
require('./chunk-N6OEX5TN.cjs');
|
|
24
|
-
require('./chunk-KRD3GQAA.cjs');
|
|
25
|
-
require('./chunk-RQMCOFAI.cjs');
|
|
26
|
-
require('./chunk-MUUQ2WFJ.cjs');
|
|
27
|
-
require('./chunk-AA27GEYS.cjs');
|
|
28
|
-
require('./chunk-YSTXFWQE.cjs');
|
|
29
|
-
require('./chunk-FRITRLZQ.cjs');
|
|
30
|
-
require('./chunk-JW3GVLM6.cjs');
|
|
31
|
-
require('./chunk-NINIJCHU.cjs');
|
|
32
|
-
require('./chunk-HG5LKFG7.cjs');
|
|
33
|
-
require('./chunk-SWALPLFQ.cjs');
|
|
34
|
-
require('./chunk-IJ7M6GOG.cjs');
|
|
35
|
-
require('./chunk-GM54F4FE.cjs');
|
|
36
|
-
require('./chunk-SA6K24NB.cjs');
|
|
37
|
-
require('./chunk-IIYJMXYW.cjs');
|
|
38
|
-
require('./chunk-NJSIAJEK.cjs');
|
|
39
|
-
require('./chunk-NKIQTLFA.cjs');
|
|
40
|
-
require('./chunk-ZWACQM5U.cjs');
|
|
41
|
-
require('./chunk-A4RAL2ER.cjs');
|
|
42
|
-
require('./chunk-P22BZE7G.cjs');
|
|
43
|
-
require('./chunk-R5YPDAKD.cjs');
|
|
44
|
-
require('./chunk-ASK2OQM5.cjs');
|
|
45
|
-
require('./chunk-ZF2LDKQQ.cjs');
|
|
46
|
-
require('./chunk-GHHIJEFX.cjs');
|
|
47
|
-
require('./chunk-JLRLCBJ4.cjs');
|
|
48
|
-
require('./chunk-C7GKRGKN.cjs');
|
|
49
|
-
require('./chunk-TY56BKSK.cjs');
|
|
50
|
-
require('./chunk-MPR2ISL2.cjs');
|
|
51
|
-
require('./chunk-J5623RIV.cjs');
|
|
52
|
-
require('./chunk-NWS2CS3Y.cjs');
|
|
53
|
-
require('./chunk-3EE6LVWT.cjs');
|
|
54
|
-
require('./chunk-SGC7LSHF.cjs');
|
|
55
|
-
require('./chunk-HU666T3Q.cjs');
|
|
56
|
-
require('./chunk-NVXXWAU7.cjs');
|
|
57
|
-
require('./chunk-SKDNCTXG.cjs');
|
|
58
|
-
require('./chunk-NAGPKWOD.cjs');
|
|
59
|
-
require('./chunk-OLSEWLK5.cjs');
|
|
60
|
-
require('./chunk-EHD25JBZ.cjs');
|
|
61
|
-
require('./chunk-UNFBHV46.cjs');
|
|
62
|
-
require('./chunk-6LHQPOMI.cjs');
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Object.defineProperty(exports, "Agent", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () { return chunk35KBC4BX_cjs.Agent; }
|
|
69
|
-
});
|
|
70
|
-
//# sourceMappingURL=agent-OKP4LHG2.cjs.map
|
|
71
|
-
//# sourceMappingURL=agent-OKP4LHG2.cjs.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { appendCompactBoundaryRecord, persistTurn, readSessionMessages } from './chunk-XERM7PDQ.js';
|
|
2
|
-
import './chunk-FTZTZBCU.js';
|
|
3
|
-
import './chunk-3JHIFQ4I.js';
|
|
4
|
-
import './chunk-CZJ6Q7CW.js';
|
|
5
|
-
//# sourceMappingURL=agent-session-store-ODD3IZCW.js.map
|
|
6
|
-
//# sourceMappingURL=agent-session-store-ODD3IZCW.js.map
|