@theokit/sdk 5.7.0 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/a2a/index.cjs +6 -6
  3. package/dist/a2a/index.js +2 -2
  4. package/dist/{agent-Dya5SmhY.d.cts → agent-3RcPVGMo.d.cts} +21 -3
  5. package/dist/agent-7ERQNV66.js +59 -0
  6. package/dist/{agent-EQ5HKTWV.js.map → agent-7ERQNV66.js.map} +1 -1
  7. package/dist/agent-LNTR4QH5.cjs +68 -0
  8. package/dist/{agent-KA63WDQH.cjs.map → agent-LNTR4QH5.cjs.map} +1 -1
  9. package/dist/{agent-Bqzdhkqr.d.ts → agent-lS68mYIL.d.ts} +21 -3
  10. package/dist/auth/index.cjs +32 -32
  11. package/dist/auth/index.js +5 -5
  12. package/dist/{batch-US4F6WPK.js → batch-427O54FQ.js} +7 -7
  13. package/dist/{batch-US4F6WPK.js.map → batch-427O54FQ.js.map} +1 -1
  14. package/dist/{batch-I6T6MXZO.cjs → batch-U4SO4RLX.cjs} +24 -24
  15. package/dist/{batch-I6T6MXZO.cjs.map → batch-U4SO4RLX.cjs.map} +1 -1
  16. package/dist/{chunk-44I6UYVH.js → chunk-26NEAJ6T.js} +4 -4
  17. package/dist/{chunk-44I6UYVH.js.map → chunk-26NEAJ6T.js.map} +1 -1
  18. package/dist/{chunk-A575WPBL.cjs → chunk-2STSX2SY.cjs} +260 -260
  19. package/dist/{chunk-A575WPBL.cjs.map → chunk-2STSX2SY.cjs.map} +1 -1
  20. package/dist/{chunk-FUUSIT2T.js → chunk-3CU5J7V3.js} +34 -34
  21. package/dist/{chunk-FUUSIT2T.js.map → chunk-3CU5J7V3.js.map} +1 -1
  22. package/dist/{chunk-A6PDYH55.js → chunk-4QCJAJAG.js} +2 -2
  23. package/dist/chunk-4QCJAJAG.js.map +1 -0
  24. package/dist/{chunk-XYFGKVZ7.js → chunk-53RDNK3H.js} +3 -3
  25. package/dist/{chunk-XYFGKVZ7.js.map → chunk-53RDNK3H.js.map} +1 -1
  26. package/dist/{chunk-CZWN4C6A.js → chunk-5522X223.js} +3 -3
  27. package/dist/{chunk-CZWN4C6A.js.map → chunk-5522X223.js.map} +1 -1
  28. package/dist/{chunk-EH6XD3FY.js → chunk-5DD4NJN3.js} +3 -3
  29. package/dist/{chunk-EH6XD3FY.js.map → chunk-5DD4NJN3.js.map} +1 -1
  30. package/dist/{chunk-V22DZIXO.js → chunk-5Q4RTLMP.js} +3 -3
  31. package/dist/{chunk-V22DZIXO.js.map → chunk-5Q4RTLMP.js.map} +1 -1
  32. package/dist/{chunk-4A3SKJ53.cjs → chunk-6PB5AQCY.cjs} +14 -14
  33. package/dist/{chunk-4A3SKJ53.cjs.map → chunk-6PB5AQCY.cjs.map} +1 -1
  34. package/dist/{chunk-PRZ3BES7.cjs → chunk-72CPLZPC.cjs} +5 -5
  35. package/dist/{chunk-PRZ3BES7.cjs.map → chunk-72CPLZPC.cjs.map} +1 -1
  36. package/dist/{chunk-HNAYCTX4.cjs → chunk-76PIKR4P.cjs} +22 -22
  37. package/dist/{chunk-HNAYCTX4.cjs.map → chunk-76PIKR4P.cjs.map} +1 -1
  38. package/dist/{chunk-EFMFILPG.js → chunk-7F7XE6CM.js} +3 -3
  39. package/dist/{chunk-EFMFILPG.js.map → chunk-7F7XE6CM.js.map} +1 -1
  40. package/dist/{chunk-7C3HWGCW.js → chunk-7GDHFV2M.js} +3 -3
  41. package/dist/{chunk-7C3HWGCW.js.map → chunk-7GDHFV2M.js.map} +1 -1
  42. package/dist/{chunk-CA5VUAP3.js → chunk-7HUCU3KK.js} +5 -5
  43. package/dist/{chunk-CA5VUAP3.js.map → chunk-7HUCU3KK.js.map} +1 -1
  44. package/dist/{chunk-4MMWFSCD.js → chunk-7JAKO3NM.js} +3 -3
  45. package/dist/{chunk-4MMWFSCD.js.map → chunk-7JAKO3NM.js.map} +1 -1
  46. package/dist/{chunk-UADQJBHR.cjs → chunk-7NQ7HJ3E.cjs} +6 -6
  47. package/dist/{chunk-UADQJBHR.cjs.map → chunk-7NQ7HJ3E.cjs.map} +1 -1
  48. package/dist/{chunk-ER5BOIYD.cjs → chunk-AOHRKGAA.cjs} +22 -22
  49. package/dist/{chunk-ER5BOIYD.cjs.map → chunk-AOHRKGAA.cjs.map} +1 -1
  50. package/dist/{chunk-ZLMU5EU3.cjs → chunk-ARMFXTY6.cjs} +114 -190
  51. package/dist/chunk-ARMFXTY6.cjs.map +1 -0
  52. package/dist/{chunk-5WKQDIGO.js → chunk-AY43232P.js} +4 -4
  53. package/dist/{chunk-5WKQDIGO.js.map → chunk-AY43232P.js.map} +1 -1
  54. package/dist/{chunk-7FDKWDA2.cjs → chunk-B3XXQX6L.cjs} +7 -7
  55. package/dist/{chunk-7FDKWDA2.cjs.map → chunk-B3XXQX6L.cjs.map} +1 -1
  56. package/dist/{chunk-ALUN2B4W.js → chunk-B5MHRQJZ.js} +9 -3
  57. package/dist/chunk-B5MHRQJZ.js.map +1 -0
  58. package/dist/{chunk-TA3K7SBK.js → chunk-BKMDRBJ7.js} +3 -3
  59. package/dist/{chunk-TA3K7SBK.js.map → chunk-BKMDRBJ7.js.map} +1 -1
  60. package/dist/{chunk-FUSDYC2B.cjs → chunk-CQYBJOB2.cjs} +4 -4
  61. package/dist/{chunk-FUSDYC2B.cjs.map → chunk-CQYBJOB2.cjs.map} +1 -1
  62. package/dist/{chunk-7JJ3A6AT.cjs → chunk-D5KXKBEN.cjs} +5 -5
  63. package/dist/{chunk-7JJ3A6AT.cjs.map → chunk-D5KXKBEN.cjs.map} +1 -1
  64. package/dist/{chunk-3VXQEQE4.js → chunk-DDRX4LYS.js} +4 -4
  65. package/dist/{chunk-3VXQEQE4.js.map → chunk-DDRX4LYS.js.map} +1 -1
  66. package/dist/{chunk-QDM3OHUT.cjs → chunk-ECD6ER3E.cjs} +4 -4
  67. package/dist/{chunk-QDM3OHUT.cjs.map → chunk-ECD6ER3E.cjs.map} +1 -1
  68. package/dist/{chunk-JMDDYA22.js → chunk-EJROML3Q.js} +4 -4
  69. package/dist/{chunk-JMDDYA22.js.map → chunk-EJROML3Q.js.map} +1 -1
  70. package/dist/{chunk-6JG2RFGK.js → chunk-FRL35MFN.js} +5 -5
  71. package/dist/{chunk-6JG2RFGK.js.map → chunk-FRL35MFN.js.map} +1 -1
  72. package/dist/{chunk-EIQFAOFD.js → chunk-GGRPAQ3B.js} +3 -3
  73. package/dist/{chunk-EIQFAOFD.js.map → chunk-GGRPAQ3B.js.map} +1 -1
  74. package/dist/{chunk-HCT4HPCL.cjs → chunk-GHHIJEFX.cjs} +4 -4
  75. package/dist/{chunk-HCT4HPCL.cjs.map → chunk-GHHIJEFX.cjs.map} +1 -1
  76. package/dist/{chunk-7A6535RA.cjs → chunk-GM54F4FE.cjs} +9 -9
  77. package/dist/{chunk-7A6535RA.cjs.map → chunk-GM54F4FE.cjs.map} +1 -1
  78. package/dist/{chunk-6M2OIS4Y.js → chunk-GMRFAX4I.js} +74 -4
  79. package/dist/chunk-GMRFAX4I.js.map +1 -0
  80. package/dist/{chunk-O6USDERH.js → chunk-GMSRRJ53.js} +3 -3
  81. package/dist/{chunk-O6USDERH.js.map → chunk-GMSRRJ53.js.map} +1 -1
  82. package/dist/{chunk-VE6DFSKU.js → chunk-GTX6FEDP.js} +3 -3
  83. package/dist/{chunk-VE6DFSKU.js.map → chunk-GTX6FEDP.js.map} +1 -1
  84. package/dist/{chunk-NJWYQWDL.js → chunk-H3CVJSFC.js} +3 -3
  85. package/dist/{chunk-NJWYQWDL.js.map → chunk-H3CVJSFC.js.map} +1 -1
  86. package/dist/{chunk-MYJGWS2J.cjs → chunk-HG5LKFG7.cjs} +16 -16
  87. package/dist/{chunk-MYJGWS2J.cjs.map → chunk-HG5LKFG7.cjs.map} +1 -1
  88. package/dist/{chunk-55GB6JYQ.js → chunk-HOHR75KF.js} +5 -5
  89. package/dist/{chunk-55GB6JYQ.js.map → chunk-HOHR75KF.js.map} +1 -1
  90. package/dist/{chunk-GBCVPKHE.js → chunk-HV4V63CO.js} +3 -3
  91. package/dist/{chunk-GBCVPKHE.js.map → chunk-HV4V63CO.js.map} +1 -1
  92. package/dist/{chunk-I2PWY7VM.cjs → chunk-IIYJMXYW.cjs} +4 -4
  93. package/dist/{chunk-I2PWY7VM.cjs.map → chunk-IIYJMXYW.cjs.map} +1 -1
  94. package/dist/{chunk-YYN6BB7R.cjs → chunk-J4SA2ZEJ.cjs} +4 -4
  95. package/dist/{chunk-YYN6BB7R.cjs.map → chunk-J4SA2ZEJ.cjs.map} +1 -1
  96. package/dist/{chunk-ATT276RD.cjs → chunk-J5623RIV.cjs} +78 -6
  97. package/dist/chunk-J5623RIV.cjs.map +1 -0
  98. package/dist/{chunk-KVSAY6NZ.cjs → chunk-J6GXS5A2.cjs} +13 -13
  99. package/dist/{chunk-KVSAY6NZ.cjs.map → chunk-J6GXS5A2.cjs.map} +1 -1
  100. package/dist/{chunk-NQTD6QOW.cjs → chunk-JW3GVLM6.cjs} +4 -4
  101. package/dist/{chunk-NQTD6QOW.cjs.map → chunk-JW3GVLM6.cjs.map} +1 -1
  102. package/dist/{chunk-TFG5IBZS.cjs → chunk-KGZ66JVZ.cjs} +14 -14
  103. package/dist/{chunk-TFG5IBZS.cjs.map → chunk-KGZ66JVZ.cjs.map} +1 -1
  104. package/dist/{chunk-47TF32NQ.js → chunk-KO6SHCEH.js} +3 -3
  105. package/dist/{chunk-47TF32NQ.js.map → chunk-KO6SHCEH.js.map} +1 -1
  106. package/dist/{chunk-EFETPSJZ.cjs → chunk-KTA7YTZQ.cjs} +12 -12
  107. package/dist/{chunk-EFETPSJZ.cjs.map → chunk-KTA7YTZQ.cjs.map} +1 -1
  108. package/dist/{chunk-D6POWE7E.cjs → chunk-MEUBLCM4.cjs} +11 -11
  109. package/dist/{chunk-D6POWE7E.cjs.map → chunk-MEUBLCM4.cjs.map} +1 -1
  110. package/dist/{chunk-VWUXIVEI.js → chunk-MFZODA5Y.js} +5 -5
  111. package/dist/{chunk-VWUXIVEI.js.map → chunk-MFZODA5Y.js.map} +1 -1
  112. package/dist/{chunk-4HS6FFGL.cjs → chunk-MPQJE3G4.cjs} +15 -15
  113. package/dist/{chunk-4HS6FFGL.cjs.map → chunk-MPQJE3G4.cjs.map} +1 -1
  114. package/dist/{chunk-QRVS2PRE.cjs → chunk-MPR2ISL2.cjs} +4 -4
  115. package/dist/{chunk-QRVS2PRE.cjs.map → chunk-MPR2ISL2.cjs.map} +1 -1
  116. package/dist/{chunk-UOLBAPDM.js → chunk-MQGSOKR3.js} +3 -3
  117. package/dist/{chunk-UOLBAPDM.js.map → chunk-MQGSOKR3.js.map} +1 -1
  118. package/dist/{chunk-HFEJE7AC.js → chunk-MU7IAA7G.js} +9 -9
  119. package/dist/{chunk-HFEJE7AC.js.map → chunk-MU7IAA7G.js.map} +1 -1
  120. package/dist/{chunk-EXTRW7GW.cjs → chunk-NAGPKWOD.cjs} +4 -4
  121. package/dist/{chunk-EXTRW7GW.cjs.map → chunk-NAGPKWOD.cjs.map} +1 -1
  122. package/dist/{chunk-KTTHHYEW.cjs → chunk-NJSIAJEK.cjs} +4 -4
  123. package/dist/{chunk-KTTHHYEW.cjs.map → chunk-NJSIAJEK.cjs.map} +1 -1
  124. package/dist/{chunk-Z3NTRKIC.cjs → chunk-NKIQTLFA.cjs} +4 -4
  125. package/dist/{chunk-Z3NTRKIC.cjs.map → chunk-NKIQTLFA.cjs.map} +1 -1
  126. package/dist/{chunk-N7VAE6DZ.js → chunk-NOO6GZTZ.js} +8 -84
  127. package/dist/chunk-NOO6GZTZ.js.map +1 -0
  128. package/dist/{chunk-GK3UG7YQ.cjs → chunk-OCEQ6DW2.cjs} +10 -10
  129. package/dist/{chunk-GK3UG7YQ.cjs.map → chunk-OCEQ6DW2.cjs.map} +1 -1
  130. package/dist/{chunk-BJUJT5ED.cjs → chunk-OF2CLCTH.cjs} +4 -4
  131. package/dist/{chunk-BJUJT5ED.cjs.map → chunk-OF2CLCTH.cjs.map} +1 -1
  132. package/dist/{chunk-HUFSABUZ.cjs → chunk-OLSEWLK5.cjs} +6 -6
  133. package/dist/{chunk-HUFSABUZ.cjs.map → chunk-OLSEWLK5.cjs.map} +1 -1
  134. package/dist/{chunk-DQZU7JK6.cjs → chunk-P22BZE7G.cjs} +4 -4
  135. package/dist/{chunk-DQZU7JK6.cjs.map → chunk-P22BZE7G.cjs.map} +1 -1
  136. package/dist/{chunk-QWD3CZWE.cjs → chunk-P7NNKEWO.cjs} +4 -4
  137. package/dist/{chunk-QWD3CZWE.cjs.map → chunk-P7NNKEWO.cjs.map} +1 -1
  138. package/dist/{chunk-DQNI52VV.js → chunk-PQCTDMUI.js} +3 -3
  139. package/dist/{chunk-DQNI52VV.js.map → chunk-PQCTDMUI.js.map} +1 -1
  140. package/dist/{chunk-3XSWF5AP.cjs → chunk-PSLCVSCS.cjs} +3 -3
  141. package/dist/{chunk-3XSWF5AP.cjs.map → chunk-PSLCVSCS.cjs.map} +1 -1
  142. package/dist/{chunk-YRLI5DVC.js → chunk-QDQQYRJI.js} +4 -4
  143. package/dist/{chunk-YRLI5DVC.js.map → chunk-QDQQYRJI.js.map} +1 -1
  144. package/dist/{chunk-P5S3WCSZ.js → chunk-R2C3HXR3.js} +4 -4
  145. package/dist/{chunk-P5S3WCSZ.js.map → chunk-R2C3HXR3.js.map} +1 -1
  146. package/dist/chunk-R3ZQBPA5.cjs +18 -0
  147. package/dist/{chunk-ANMJJD6D.cjs.map → chunk-R3ZQBPA5.cjs.map} +1 -1
  148. package/dist/{chunk-4NLCWGH7.cjs → chunk-RA7IE4NK.cjs} +15 -15
  149. package/dist/{chunk-4NLCWGH7.cjs.map → chunk-RA7IE4NK.cjs.map} +1 -1
  150. package/dist/{chunk-UBR5PWD7.js → chunk-SUVCHX4L.js} +3 -3
  151. package/dist/{chunk-UBR5PWD7.js.map → chunk-SUVCHX4L.js.map} +1 -1
  152. package/dist/{chunk-7KBNBPFK.cjs → chunk-SWALPLFQ.cjs} +2 -2
  153. package/dist/chunk-SWALPLFQ.cjs.map +1 -0
  154. package/dist/{chunk-E6QXZZKE.cjs → chunk-T5KOSR5Y.cjs} +11 -11
  155. package/dist/{chunk-E6QXZZKE.cjs.map → chunk-T5KOSR5Y.cjs.map} +1 -1
  156. package/dist/{chunk-R3LBRQAN.js → chunk-TC4RWP3Y.js} +6 -6
  157. package/dist/{chunk-R3LBRQAN.js.map → chunk-TC4RWP3Y.js.map} +1 -1
  158. package/dist/{chunk-XB4GI5RZ.js → chunk-TE6XVTOA.js} +3 -3
  159. package/dist/{chunk-XB4GI5RZ.js.map → chunk-TE6XVTOA.js.map} +1 -1
  160. package/dist/{chunk-33A27NFX.cjs → chunk-TTBIQTO5.cjs} +19 -19
  161. package/dist/{chunk-33A27NFX.cjs.map → chunk-TTBIQTO5.cjs.map} +1 -1
  162. package/dist/{chunk-J7J7J2GN.cjs → chunk-UNFBHV46.cjs} +9 -2
  163. package/dist/chunk-UNFBHV46.cjs.map +1 -0
  164. package/dist/{chunk-AAEZSPTC.js → chunk-UNZOJVVC.js} +4 -4
  165. package/dist/{chunk-AAEZSPTC.js.map → chunk-UNZOJVVC.js.map} +1 -1
  166. package/dist/{chunk-T3ZDEYTJ.js → chunk-W4VQMXBZ.js} +4 -4
  167. package/dist/{chunk-T3ZDEYTJ.js.map → chunk-W4VQMXBZ.js.map} +1 -1
  168. package/dist/{chunk-24SYBZPL.cjs → chunk-WPO3VCY4.cjs} +9 -9
  169. package/dist/{chunk-24SYBZPL.cjs.map → chunk-WPO3VCY4.cjs.map} +1 -1
  170. package/dist/{chunk-IUMAQURF.js → chunk-X6DUEDAF.js} +3 -3
  171. package/dist/{chunk-IUMAQURF.js.map → chunk-X6DUEDAF.js.map} +1 -1
  172. package/dist/{chunk-CFE6QF2Q.js → chunk-XCQ432OX.js} +3 -3
  173. package/dist/{chunk-CFE6QF2Q.js.map → chunk-XCQ432OX.js.map} +1 -1
  174. package/dist/{chunk-QWD4RDZ3.cjs → chunk-XDUGSTYJ.cjs} +15 -15
  175. package/dist/{chunk-QWD4RDZ3.cjs.map → chunk-XDUGSTYJ.cjs.map} +1 -1
  176. package/dist/{chunk-K2VMFZQ5.js → chunk-XKMVJ443.js} +5 -5
  177. package/dist/{chunk-K2VMFZQ5.js.map → chunk-XKMVJ443.js.map} +1 -1
  178. package/dist/{chunk-RWPLWMCZ.cjs → chunk-XW4POZ6V.cjs} +11 -11
  179. package/dist/{chunk-RWPLWMCZ.cjs.map → chunk-XW4POZ6V.cjs.map} +1 -1
  180. package/dist/{chunk-6PWOWXMC.js → chunk-XZHJYSPB.js} +3 -3
  181. package/dist/{chunk-6PWOWXMC.js.map → chunk-XZHJYSPB.js.map} +1 -1
  182. package/dist/{chunk-QC55H6RJ.cjs → chunk-YRJA2POB.cjs} +9 -9
  183. package/dist/{chunk-QC55H6RJ.cjs.map → chunk-YRJA2POB.cjs.map} +1 -1
  184. package/dist/{chunk-DMRT67Y6.js → chunk-ZJZ7LV3A.js} +3 -3
  185. package/dist/{chunk-DMRT67Y6.js.map → chunk-ZJZ7LV3A.js.map} +1 -1
  186. package/dist/{chunk-G7BLGBRN.js → chunk-ZWFTECOE.js} +3 -3
  187. package/dist/{chunk-G7BLGBRN.js.map → chunk-ZWFTECOE.js.map} +1 -1
  188. package/dist/{compact-session-QT6RJOKO.js → compact-session-2N3ZYJTW.js} +12 -12
  189. package/dist/{compact-session-QT6RJOKO.js.map → compact-session-2N3ZYJTW.js.map} +1 -1
  190. package/dist/{compact-session-75KD2FCM.cjs → compact-session-RBPLUPCK.cjs} +21 -21
  191. package/dist/{compact-session-75KD2FCM.cjs.map → compact-session-RBPLUPCK.cjs.map} +1 -1
  192. package/dist/compaction.cjs +20 -16
  193. package/dist/compaction.d.cts +2 -0
  194. package/dist/compaction.d.ts +2 -0
  195. package/dist/compaction.js +2 -2
  196. package/dist/concurrency.cjs +5 -5
  197. package/dist/concurrency.js +3 -3
  198. package/dist/context/index.cjs +13 -9
  199. package/dist/context/index.cjs.map +1 -1
  200. package/dist/context/index.d.cts +2 -0
  201. package/dist/context/index.d.ts +2 -0
  202. package/dist/context/index.js +5 -5
  203. package/dist/context/index.js.map +1 -1
  204. package/dist/context-SXR2HLHT.js +7 -0
  205. package/dist/{context-OJIIXJCV.js.map → context-SXR2HLHT.js.map} +1 -1
  206. package/dist/context-ZOULM2RB.cjs +24 -0
  207. package/dist/{context-7RP5JXGM.cjs.map → context-ZOULM2RB.cjs.map} +1 -1
  208. package/dist/{cron-BwxDUscv.d.cts → cron-CGxoEKlx.d.cts} +2 -2
  209. package/dist/{cron-D8uB1Xh5.d.ts → cron-DJv8zMa3.d.ts} +2 -2
  210. package/dist/cron.cjs +34 -34
  211. package/dist/cron.d.cts +4 -4
  212. package/dist/cron.d.ts +4 -4
  213. package/dist/cron.js +33 -33
  214. package/dist/{errors-DrDEgyz1.d.cts → errors-BWOJeWTZ.d.cts} +25 -2
  215. package/dist/{errors-CLOAyuiv.d.ts → errors-DDvG18IB.d.ts} +25 -2
  216. package/dist/errors.cjs +25 -21
  217. package/dist/errors.d.cts +2 -2
  218. package/dist/errors.d.ts +2 -2
  219. package/dist/errors.js +1 -1
  220. package/dist/eval.cjs +44 -44
  221. package/dist/eval.js +34 -34
  222. package/dist/{executor-XQAOQOHD.cjs → executor-2SUGI3ZT.cjs} +21 -21
  223. package/dist/{executor-XQAOQOHD.cjs.map → executor-2SUGI3ZT.cjs.map} +1 -1
  224. package/dist/{executor-ZNDQDX6Q.js → executor-3NI7KNL4.js} +6 -6
  225. package/dist/{executor-ZNDQDX6Q.js.map → executor-3NI7KNL4.js.map} +1 -1
  226. package/dist/filesystem/index.cjs +11 -11
  227. package/dist/filesystem/index.js +2 -2
  228. package/dist/fs-session-store-JHBJFKVV.cjs +19 -0
  229. package/dist/{fs-session-store-E4U3P56L.cjs.map → fs-session-store-JHBJFKVV.cjs.map} +1 -1
  230. package/dist/fs-session-store-STZZFXH2.js +10 -0
  231. package/dist/{fs-session-store-77JU46UZ.js.map → fs-session-store-STZZFXH2.js.map} +1 -1
  232. package/dist/generate-object-NTKAWE7D.js +7 -0
  233. package/dist/{generate-object-BXV7BZRP.js.map → generate-object-NTKAWE7D.js.map} +1 -1
  234. package/dist/generate-object-YHTWG5DB.cjs +20 -0
  235. package/dist/{generate-object-YBI2TDJ3.cjs.map → generate-object-YHTWG5DB.cjs.map} +1 -1
  236. package/dist/index-manager-ONQJSWX5.js +17 -0
  237. package/dist/{index-manager-Z4XMRVWQ.js.map → index-manager-ONQJSWX5.js.map} +1 -1
  238. package/dist/{index-manager-W7RHSL6G.cjs → index-manager-ZGJN25FD.cjs} +9 -9
  239. package/dist/{index-manager-W7RHSL6G.cjs.map → index-manager-ZGJN25FD.cjs.map} +1 -1
  240. package/dist/index.cjs +148 -146
  241. package/dist/index.d.cts +28 -10
  242. package/dist/index.d.ts +28 -10
  243. package/dist/index.js +49 -49
  244. package/dist/{inject-session-L6MIIELT.cjs → inject-session-3FPXJDJP.cjs} +4 -4
  245. package/dist/{inject-session-L6MIIELT.cjs.map → inject-session-3FPXJDJP.cjs.map} +1 -1
  246. package/dist/{inject-session-XWWN4DAA.js → inject-session-YNNOE3O6.js} +3 -3
  247. package/dist/{inject-session-XWWN4DAA.js.map → inject-session-YNNOE3O6.js.map} +1 -1
  248. package/dist/interactive/index.cjs +3 -3
  249. package/dist/interactive/index.js +1 -1
  250. package/dist/internal/memory/adapters/index.cjs +7 -7
  251. package/dist/internal/memory/adapters/index.js +6 -6
  252. package/dist/internal/memory/storage/index.cjs +35 -35
  253. package/dist/internal/memory/storage/index.js +6 -6
  254. package/dist/internal/persistence/index.cjs +11 -11
  255. package/dist/internal/persistence/index.js +3 -3
  256. package/dist/internal/runtime/compression/compression-model-registry.d.ts +1 -0
  257. package/dist/internal/runtime/compression/compression-summarizer.d.ts +0 -14
  258. package/dist/internal/runtime/context/context-discovery.d.ts +20 -5
  259. package/dist/internal/runtime/context/context-loaders.d.ts +5 -1
  260. package/dist/internal/security/index.cjs +9 -9
  261. package/dist/internal/security/index.js +2 -2
  262. package/dist/judge-call-AQQYK6VT.cjs +22 -0
  263. package/dist/{judge-call-46M2E5FA.cjs.map → judge-call-AQQYK6VT.cjs.map} +1 -1
  264. package/dist/judge-call-LOL5FQEX.js +5 -0
  265. package/dist/{judge-call-FGUNNWEI.js.map → judge-call-LOL5FQEX.js.map} +1 -1
  266. package/dist/mcp-auth.cjs +9 -9
  267. package/dist/mcp-auth.js +2 -2
  268. package/dist/models.cjs +15 -15
  269. package/dist/models.js +6 -6
  270. package/dist/oauth-transaction-store-NP2YHZ6D.js +5 -0
  271. package/dist/{oauth-transaction-store-5RIR6D5C.js.map → oauth-transaction-store-NP2YHZ6D.js.map} +1 -1
  272. package/dist/oauth-transaction-store-ZINDV7AF.cjs +38 -0
  273. package/dist/{oauth-transaction-store-SXIE57OD.cjs.map → oauth-transaction-store-ZINDV7AF.cjs.map} +1 -1
  274. package/dist/path-safety.cjs +9 -9
  275. package/dist/path-safety.js +2 -2
  276. package/dist/persistence.cjs +16 -16
  277. package/dist/persistence.js +4 -4
  278. package/dist/project.cjs +5 -5
  279. package/dist/project.js +2 -2
  280. package/dist/providers.cjs +8 -8
  281. package/dist/providers.js +6 -6
  282. package/dist/{registry-DMWCJKRF.js → registry-5FK42CRV.js} +6 -6
  283. package/dist/{registry-DMWCJKRF.js.map → registry-5FK42CRV.js.map} +1 -1
  284. package/dist/{registry-BZQFYRTL.cjs → registry-BVTNO73E.cjs} +14 -14
  285. package/dist/{registry-BZQFYRTL.cjs.map → registry-BVTNO73E.cjs.map} +1 -1
  286. package/dist/retry.cjs +3 -3
  287. package/dist/retry.js +2 -2
  288. package/dist/{run-CTAdRU3U.d.ts → run-DsA5Ip2i.d.cts} +1 -1
  289. package/dist/{run-CTAdRU3U.d.cts → run-DsA5Ip2i.d.ts} +1 -1
  290. package/dist/sandbox/index.cjs +18 -18
  291. package/dist/sandbox/index.js +3 -3
  292. package/dist/{sdk-agent-BOiKqOgL.d.cts → sdk-agent-dNwjwCt5.d.cts} +2 -2
  293. package/dist/{sdk-agent-D4a_BR_6.d.ts → sdk-agent-wEOLXD3F.d.ts} +2 -2
  294. package/dist/server/auth/index.cjs +21 -21
  295. package/dist/server/auth/index.js +6 -6
  296. package/dist/server/errors-envelope.cjs +13 -13
  297. package/dist/server/errors-envelope.d.cts +2 -2
  298. package/dist/server/errors-envelope.d.ts +2 -2
  299. package/dist/server/errors-envelope.js +2 -2
  300. package/dist/skills.cjs +7 -7
  301. package/dist/skills.js +4 -4
  302. package/dist/stream-object-QAEHG4YO.js +7 -0
  303. package/dist/{stream-object-HBFMIZLD.js.map → stream-object-QAEHG4YO.js.map} +1 -1
  304. package/dist/stream-object-TKVGGA54.cjs +20 -0
  305. package/dist/{stream-object-QSKHISDJ.cjs.map → stream-object-TKVGGA54.cjs.map} +1 -1
  306. package/dist/subagents-loader-7GE7YUDI.cjs +16 -0
  307. package/dist/{subagents-loader-MOO7DC4E.cjs.map → subagents-loader-7GE7YUDI.cjs.map} +1 -1
  308. package/dist/subagents-loader-S2PMZY7J.js +7 -0
  309. package/dist/{subagents-loader-CJFYQQU2.js.map → subagents-loader-S2PMZY7J.js.map} +1 -1
  310. package/dist/subagents-loader.cjs +5 -5
  311. package/dist/subagents-loader.d.cts +3 -3
  312. package/dist/subagents-loader.d.ts +3 -3
  313. package/dist/subagents-loader.js +3 -3
  314. package/dist/subscription/index.cjs +3 -2
  315. package/dist/subscription/index.d.cts +1 -1
  316. package/dist/subscription/index.d.ts +1 -1
  317. package/dist/subscription/index.js +2 -2
  318. package/dist/task-store.cjs +5 -5
  319. package/dist/task-store.js +2 -2
  320. package/dist/workflow.cjs +25 -25
  321. package/dist/workflow.d.cts +2 -2
  322. package/dist/workflow.d.ts +2 -2
  323. package/dist/workflow.js +4 -4
  324. package/docs/error-codes.md +1 -1
  325. package/docs/harness-capability-map.md +17 -1
  326. package/package.json +1 -1
  327. package/dist/agent-EQ5HKTWV.js +0 -59
  328. package/dist/agent-KA63WDQH.cjs +0 -68
  329. package/dist/chunk-6M2OIS4Y.js.map +0 -1
  330. package/dist/chunk-7KBNBPFK.cjs.map +0 -1
  331. package/dist/chunk-A6PDYH55.js.map +0 -1
  332. package/dist/chunk-ALUN2B4W.js.map +0 -1
  333. package/dist/chunk-ANMJJD6D.cjs +0 -18
  334. package/dist/chunk-ATT276RD.cjs.map +0 -1
  335. package/dist/chunk-J7J7J2GN.cjs.map +0 -1
  336. package/dist/chunk-N7VAE6DZ.js.map +0 -1
  337. package/dist/chunk-ZLMU5EU3.cjs.map +0 -1
  338. package/dist/context-7RP5JXGM.cjs +0 -24
  339. package/dist/context-OJIIXJCV.js +0 -7
  340. package/dist/fs-session-store-77JU46UZ.js +0 -10
  341. package/dist/fs-session-store-E4U3P56L.cjs +0 -19
  342. package/dist/generate-object-BXV7BZRP.js +0 -7
  343. package/dist/generate-object-YBI2TDJ3.cjs +0 -20
  344. package/dist/index-manager-Z4XMRVWQ.js +0 -17
  345. package/dist/judge-call-46M2E5FA.cjs +0 -22
  346. package/dist/judge-call-FGUNNWEI.js +0 -5
  347. package/dist/oauth-transaction-store-5RIR6D5C.js +0 -5
  348. package/dist/oauth-transaction-store-SXIE57OD.cjs +0 -38
  349. package/dist/stream-object-HBFMIZLD.js +0 -7
  350. package/dist/stream-object-QSKHISDJ.cjs +0 -20
  351. package/dist/subagents-loader-CJFYQQU2.js +0 -7
  352. package/dist/subagents-loader-MOO7DC4E.cjs +0 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#683](https://github.com/usetheokit/theokit-sdk/pull/683) [`ccb7ede`](https://github.com/usetheokit/theokit-sdk/commit/ccb7edea41b63da1519971af95256bc828c88e10) Thanks [@usetheodev](https://github.com/usetheodev)! - Seventeen symbols marked `@public` were reachable from no entry in the export map. They are now.
8
+
9
+ `@public` in a docblock is a promise that somebody outside the package is meant to name the symbol.
10
+ Nothing verified the promise, and the export map is exactly where it breaks quietly: a symbol can be
11
+ declared, documented, and compiled into a chunk while being importable from nowhere. A consumer
12
+ following the documentation got `has no exported member`.
13
+
14
+ Three of the seventeen are worth naming, because their kind made the gap expensive:
15
+
16
+ - **`CompressionFailedError`, `CompressionModelUnresolvedError`** — typed errors. `catch (e) { if (e
17
+ instanceof CompressionFailedError) }` did not compile for any consumer, which is the entire reason
18
+ a typed error exists rather than a message string.
19
+ - **`defineSubscription`** — a `define*` extension point, so the extension could not be written.
20
+ - **`withheldSpecs`** — names which instruction files a repository lost and which grant restores each
21
+ one. It shipped unreachable in 5.7.0: the capability worked and the accessor did not.
22
+
23
+ Now importable: `AgentBuilderDeps`, `EnvPolicy`, `ForkOptions`, `ForkResult`, `HookApprovalGate`,
24
+ `HookApprovalRequest`, `LlmCallContext`, `ToolContext`, `createTokenLimiter`,
25
+ `createUnicodeNormalizer` (root); `admittedSpecs`, `withheldSpecs` (`/context`);
26
+ `CompressionFailedError`, `CompressionModelUnresolvedError`, `CompressionConfig` (`/compaction`);
27
+ `defineSubscription` (`/subscription`).
28
+
29
+ **One went the other way.** `truncateWithMarker` lost its marker rather than gaining an export: it is
30
+ a pure truncation helper whose docblock describes implementation edge cases, not a contract, and an
31
+ export is a semver commitment somebody then has to keep.
32
+
33
+ `withheldSpecs` also gained a named return type, `WithheldSpec`, and that is not style. The DTS
34
+ rollup only pulls a symbol into a chunk when a public type references it — with an anonymous return
35
+ type nothing referenced the function, the re-export dangled, and the build failed with TS2305 in
36
+ whichever file carried it. Naming the return value is what makes the function packable, and it gives
37
+ a consumer something to write in their own signature.
38
+
39
+ **A gate now holds the promise.** `quality:public-surface` generates one probe per export-map entry
40
+ and lets `tsc` answer which names it cannot resolve.
41
+
3
42
  ## 5.7.0
4
43
 
5
44
  ### Minor Changes
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkNQTD6QOW_cjs = require('../chunk-NQTD6QOW.cjs');
3
+ var chunkJW3GVLM6_cjs = require('../chunk-JW3GVLM6.cjs');
4
4
  require('../chunk-NINIJCHU.cjs');
5
- var chunkJ7J7J2GN_cjs = require('../chunk-J7J7J2GN.cjs');
5
+ var chunkUNFBHV46_cjs = require('../chunk-UNFBHV46.cjs');
6
6
  var chunk6LHQPOMI_cjs = require('../chunk-6LHQPOMI.cjs');
7
7
 
8
8
  // src/a2a/agent-mailbox.ts
@@ -35,7 +35,7 @@ var AgentMailbox = class {
35
35
  };
36
36
 
37
37
  // src/a2a/message-bus.ts
38
- var A2APeerNotRegisteredError = class extends chunkJ7J7J2GN_cjs.TheokitAgentError {
38
+ var A2APeerNotRegisteredError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
39
39
  constructor(to) {
40
40
  super(`Agent "${to}" not registered on MessageBus`, {
41
41
  code: "a2a_peer_not_registered",
@@ -47,7 +47,7 @@ var A2APeerNotRegisteredError = class extends chunkJ7J7J2GN_cjs.TheokitAgentErro
47
47
  name = "A2APeerNotRegisteredError";
48
48
  code = "a2a_peer_not_registered";
49
49
  };
50
- var A2ARequestTimeoutError = class extends chunkJ7J7J2GN_cjs.TheokitAgentError {
50
+ var A2ARequestTimeoutError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
51
51
  constructor(to, timeoutMs) {
52
52
  super(`A2A request timeout: ${to} did not respond within ${timeoutMs}ms`, {
53
53
  code: "a2a_request_timeout",
@@ -124,11 +124,11 @@ var MessageBus = class {
124
124
 
125
125
  Object.defineProperty(exports, "MaxDelegationDepthError", {
126
126
  enumerable: true,
127
- get: function () { return chunkNQTD6QOW_cjs.MaxDelegationDepthError; }
127
+ get: function () { return chunkJW3GVLM6_cjs.MaxDelegationDepthError; }
128
128
  });
129
129
  Object.defineProperty(exports, "SubAgent", {
130
130
  enumerable: true,
131
- get: function () { return chunkNQTD6QOW_cjs.SubAgent; }
131
+ get: function () { return chunkJW3GVLM6_cjs.SubAgent; }
132
132
  });
133
133
  exports.A2APeerNotRegisteredError = A2APeerNotRegisteredError;
134
134
  exports.A2ARequestTimeoutError = A2ARequestTimeoutError;
package/dist/a2a/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { MaxDelegationDepthError, SubAgent } from '../chunk-CFE6QF2Q.js';
1
+ export { MaxDelegationDepthError, SubAgent } from '../chunk-XCQ432OX.js';
2
2
  import '../chunk-6X6ID4MO.js';
3
- import { TheokitAgentError } from '../chunk-ALUN2B4W.js';
3
+ import { TheokitAgentError } from '../chunk-B5MHRQJZ.js';
4
4
  import { diag } from '../chunk-CZJ6Q7CW.js';
5
5
 
6
6
  // src/a2a/agent-mailbox.ts
@@ -1,5 +1,5 @@
1
- import { n as MemoryFact, k as MemoryAdapter, m as MemoryContext, E as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-BOiKqOgL.cjs';
2
- import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-CTAdRU3U.cjs';
1
+ import { o as MemoryFact, l as MemoryAdapter, n as MemoryContext, H as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-dNwjwCt5.cjs';
2
+ import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-DsA5Ip2i.cjs';
3
3
 
4
4
  /**
5
5
  * Owner: `src/` (1 of 2 importers). Derived from the import graph, not
@@ -815,6 +815,17 @@ interface PreToolCallDecision {
815
815
  block: true;
816
816
  message: string;
817
817
  }
818
+ /**
819
+ * #65 — a 2nd argument passed to a tool handler, carrying the run's cancellation
820
+ * signal (ties into #58) so a cooperative tool can stop when the run is
821
+ * cancelled. Optional and additive — existing single-arg handlers are unaffected.
822
+ * (requestConfirmation/requestCredential are a documented follow-up.)
823
+ *
824
+ * @public
825
+ */
826
+ interface ToolContext {
827
+ signal?: AbortSignal;
828
+ }
818
829
  /** #65 — context for the `post_tool_call` hook (fired after a tool runs). @public */
819
830
  interface PostToolCallContext {
820
831
  name: string;
@@ -827,6 +838,13 @@ interface PostToolCallContext {
827
838
  agentId: string;
828
839
  runId: string;
829
840
  }
841
+ /** #65 — context for the `pre_llm_call` / `post_llm_call` hooks. @public */
842
+ interface LlmCallContext {
843
+ agentId: string;
844
+ runId: string;
845
+ /** Iteration index (0-based) of the current turn, when available. */
846
+ iteration?: number;
847
+ }
830
848
  /**
831
849
  * #65 — context for the `on_session_start` / `on_session_end` hooks.
832
850
  *
@@ -1989,4 +2007,4 @@ interface ListResult<T> {
1989
2007
  nextCursor?: string;
1990
2008
  }
1991
2009
 
1992
- export { type SessionStore as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type MemoryProviderAgentRef as E, type MemoryProviderFactory as F, type GetAgentOptions as G, type HookName as H, type InlineSkill as I, type MemoryProviderHandle as J, type MemoryProviderInitOptions as K, type LocalOptions as L, type MemorySettings as M, type PluginContext as N, type PluginHookDisposer as O, type Plugin as P, type PostAssistantReplyContext as Q, type PostToolCallContext as R, type SystemPromptResolver as S, type PreToolCallContext as T, type PreUserSendContext as U, type PreUserSendResult as V, type ProviderTransform as W, type ProviderTransformContext as X, type RecordSessionSummaryArgs as Y, type SessionLifecycleContext as Z, type SessionRecord as _, type AgentDefinition as a, type SettingSource as a0, Skill as a1, type SkillsResolver as a2, type SkillsResolverContext as a3, type SystemPromptContext as a4, type SystemPromptMemoryFact as a5, type TelemetrySettings as a6, type ToolCallSummary as a7, type ToolResultTransformContext as a8, type TransformContext as a9, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
2010
+ export { type RecordSessionSummaryArgs as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type HookApprovalRequest as E, type HookName as F, type GetAgentOptions as G, type HookApprovalGate as H, type InlineSkill as I, type LlmCallContext as J, type MemoryProviderAgentRef as K, type LocalOptions as L, type MemorySettings as M, type MemoryProviderFactory as N, type MemoryProviderHandle as O, type Plugin as P, type MemoryProviderInitOptions as Q, type PluginContext as R, type SystemPromptResolver as S, type PluginHookDisposer as T, type PostAssistantReplyContext as U, type PostToolCallContext as V, type PreToolCallContext as W, type PreUserSendContext as X, type PreUserSendResult as Y, type ProviderTransform as Z, type ProviderTransformContext as _, type AgentDefinition as a, type SessionLifecycleContext as a0, type SessionRecord as a1, type SessionStore as a2, type SettingSource as a3, Skill as a4, type SkillsResolver as a5, type SkillsResolverContext as a6, type SystemPromptContext as a7, type SystemPromptMemoryFact as a8, type TelemetrySettings as a9, type ToolCallSummary as aa, type ToolContext as ab, type ToolResultTransformContext as ac, type TransformContext as ad, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
@@ -0,0 +1,59 @@
1
+ export { Agent } from './chunk-3CU5J7V3.js';
2
+ import './chunk-XKMVJ443.js';
3
+ import './chunk-5522X223.js';
4
+ import './chunk-K2BQQ445.js';
5
+ import './chunk-R2C3HXR3.js';
6
+ import './chunk-PQCTDMUI.js';
7
+ import './chunk-2SFBB54R.js';
8
+ import './chunk-HOHR75KF.js';
9
+ import './chunk-H73MEMQB.js';
10
+ import './chunk-OR6XIWLB.js';
11
+ import './chunk-TC4RWP3Y.js';
12
+ import './chunk-UNZOJVVC.js';
13
+ import './chunk-NOO6GZTZ.js';
14
+ import './chunk-SUVCHX4L.js';
15
+ import './chunk-2XC6KDJM.js';
16
+ import './chunk-TE6XVTOA.js';
17
+ import './chunk-24MGQDK3.js';
18
+ import './chunk-2WXHA33T.js';
19
+ import './chunk-HKCKOAIO.js';
20
+ import './chunk-DDRX4LYS.js';
21
+ import './chunk-7GDHFV2M.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-JOFVLOFY.js';
39
+ import './chunk-WE22OXQA.js';
40
+ import './chunk-XZHJYSPB.js';
41
+ import './chunk-BKMDRBJ7.js';
42
+ import './chunk-Q5EWJPRY.js';
43
+ import './chunk-GGRPAQ3B.js';
44
+ import './chunk-3JHIFQ4I.js';
45
+ import './chunk-W4VQMXBZ.js';
46
+ import './chunk-X7EUUHXU.js';
47
+ import './chunk-MQGSOKR3.js';
48
+ import './chunk-GMRFAX4I.js';
49
+ import './chunk-R7WIIPUR.js';
50
+ import './chunk-53RDNK3H.js';
51
+ import './chunk-MFZODA5Y.js';
52
+ import './chunk-AGACYRJ2.js';
53
+ import './chunk-EJROML3Q.js';
54
+ import './chunk-5Q4RTLMP.js';
55
+ import './chunk-H3CVJSFC.js';
56
+ import './chunk-B5MHRQJZ.js';
57
+ import './chunk-CZJ6Q7CW.js';
58
+ //# sourceMappingURL=agent-7ERQNV66.js.map
59
+ //# sourceMappingURL=agent-7ERQNV66.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"agent-EQ5HKTWV.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"agent-7ERQNV66.js"}
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var chunk2STSX2SY_cjs = require('./chunk-2STSX2SY.cjs');
4
+ require('./chunk-J6GXS5A2.cjs');
5
+ require('./chunk-PSLCVSCS.cjs');
6
+ require('./chunk-BUUUWQMB.cjs');
7
+ require('./chunk-TTBIQTO5.cjs');
8
+ require('./chunk-J4SA2ZEJ.cjs');
9
+ require('./chunk-BV2MWEMV.cjs');
10
+ require('./chunk-MEUBLCM4.cjs');
11
+ require('./chunk-GHX4P3V2.cjs');
12
+ require('./chunk-TMKTSYDS.cjs');
13
+ require('./chunk-76PIKR4P.cjs');
14
+ require('./chunk-B3XXQX6L.cjs');
15
+ require('./chunk-ARMFXTY6.cjs');
16
+ require('./chunk-CQYBJOB2.cjs');
17
+ require('./chunk-YJNYDJ2T.cjs');
18
+ require('./chunk-WPO3VCY4.cjs');
19
+ require('./chunk-QOGNZMHD.cjs');
20
+ require('./chunk-YIFFF23U.cjs');
21
+ require('./chunk-2ZPEDVLM.cjs');
22
+ require('./chunk-KTA7YTZQ.cjs');
23
+ require('./chunk-OCEQ6DW2.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-GZV6AVRL.cjs');
41
+ require('./chunk-A4RAL2ER.cjs');
42
+ require('./chunk-P22BZE7G.cjs');
43
+ require('./chunk-OF2CLCTH.cjs');
44
+ require('./chunk-ZF2LDKQQ.cjs');
45
+ require('./chunk-GHHIJEFX.cjs');
46
+ require('./chunk-JLRLCBJ4.cjs');
47
+ require('./chunk-XW4POZ6V.cjs');
48
+ require('./chunk-TY56BKSK.cjs');
49
+ require('./chunk-MPR2ISL2.cjs');
50
+ require('./chunk-J5623RIV.cjs');
51
+ require('./chunk-3EE6LVWT.cjs');
52
+ require('./chunk-R3ZQBPA5.cjs');
53
+ require('./chunk-YRJA2POB.cjs');
54
+ require('./chunk-NVXXWAU7.cjs');
55
+ require('./chunk-RA7IE4NK.cjs');
56
+ require('./chunk-NAGPKWOD.cjs');
57
+ require('./chunk-OLSEWLK5.cjs');
58
+ require('./chunk-UNFBHV46.cjs');
59
+ require('./chunk-6LHQPOMI.cjs');
60
+
61
+
62
+
63
+ Object.defineProperty(exports, "Agent", {
64
+ enumerable: true,
65
+ get: function () { return chunk2STSX2SY_cjs.Agent; }
66
+ });
67
+ //# sourceMappingURL=agent-LNTR4QH5.cjs.map
68
+ //# sourceMappingURL=agent-LNTR4QH5.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"agent-KA63WDQH.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"agent-LNTR4QH5.cjs"}
@@ -1,5 +1,5 @@
1
- import { n as MemoryFact, k as MemoryAdapter, m as MemoryContext, E as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-D4a_BR_6.js';
2
- import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-CTAdRU3U.js';
1
+ import { o as MemoryFact, l as MemoryAdapter, n as MemoryContext, H as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-wEOLXD3F.js';
2
+ import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-DsA5Ip2i.js';
3
3
 
4
4
  /**
5
5
  * Owner: `src/` (1 of 2 importers). Derived from the import graph, not
@@ -815,6 +815,17 @@ interface PreToolCallDecision {
815
815
  block: true;
816
816
  message: string;
817
817
  }
818
+ /**
819
+ * #65 — a 2nd argument passed to a tool handler, carrying the run's cancellation
820
+ * signal (ties into #58) so a cooperative tool can stop when the run is
821
+ * cancelled. Optional and additive — existing single-arg handlers are unaffected.
822
+ * (requestConfirmation/requestCredential are a documented follow-up.)
823
+ *
824
+ * @public
825
+ */
826
+ interface ToolContext {
827
+ signal?: AbortSignal;
828
+ }
818
829
  /** #65 — context for the `post_tool_call` hook (fired after a tool runs). @public */
819
830
  interface PostToolCallContext {
820
831
  name: string;
@@ -827,6 +838,13 @@ interface PostToolCallContext {
827
838
  agentId: string;
828
839
  runId: string;
829
840
  }
841
+ /** #65 — context for the `pre_llm_call` / `post_llm_call` hooks. @public */
842
+ interface LlmCallContext {
843
+ agentId: string;
844
+ runId: string;
845
+ /** Iteration index (0-based) of the current turn, when available. */
846
+ iteration?: number;
847
+ }
830
848
  /**
831
849
  * #65 — context for the `on_session_start` / `on_session_end` hooks.
832
850
  *
@@ -1989,4 +2007,4 @@ interface ListResult<T> {
1989
2007
  nextCursor?: string;
1990
2008
  }
1991
2009
 
1992
- export { type SessionStore as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type MemoryProviderAgentRef as E, type MemoryProviderFactory as F, type GetAgentOptions as G, type HookName as H, type InlineSkill as I, type MemoryProviderHandle as J, type MemoryProviderInitOptions as K, type LocalOptions as L, type MemorySettings as M, type PluginContext as N, type PluginHookDisposer as O, type Plugin as P, type PostAssistantReplyContext as Q, type PostToolCallContext as R, type SystemPromptResolver as S, type PreToolCallContext as T, type PreUserSendContext as U, type PreUserSendResult as V, type ProviderTransform as W, type ProviderTransformContext as X, type RecordSessionSummaryArgs as Y, type SessionLifecycleContext as Z, type SessionRecord as _, type AgentDefinition as a, type SettingSource as a0, Skill as a1, type SkillsResolver as a2, type SkillsResolverContext as a3, type SystemPromptContext as a4, type SystemPromptMemoryFact as a5, type TelemetrySettings as a6, type ToolCallSummary as a7, type ToolResultTransformContext as a8, type TransformContext as a9, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
2010
+ export { type RecordSessionSummaryArgs as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type HookApprovalRequest as E, type HookName as F, type GetAgentOptions as G, type HookApprovalGate as H, type InlineSkill as I, type LlmCallContext as J, type MemoryProviderAgentRef as K, type LocalOptions as L, type MemorySettings as M, type MemoryProviderFactory as N, type MemoryProviderHandle as O, type Plugin as P, type MemoryProviderInitOptions as Q, type PluginContext as R, type SystemPromptResolver as S, type PluginHookDisposer as T, type PostAssistantReplyContext as U, type PostToolCallContext as V, type PreToolCallContext as W, type PreUserSendContext as X, type PreUserSendResult as Y, type ProviderTransform as Z, type ProviderTransformContext as _, type AgentDefinition as a, type SessionLifecycleContext as a0, type SessionRecord as a1, type SessionStore as a2, type SettingSource as a3, Skill as a4, type SkillsResolver as a5, type SkillsResolverContext as a6, type SystemPromptContext as a7, type SystemPromptMemoryFact as a8, type TelemetrySettings as a9, type ToolCallSummary as aa, type ToolContext as ab, type ToolResultTransformContext as ac, type TransformContext as ad, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFRITRLZQ_cjs = require('../chunk-FRITRLZQ.cjs');
4
- var chunk4NLCWGH7_cjs = require('../chunk-4NLCWGH7.cjs');
5
- var chunkEXTRW7GW_cjs = require('../chunk-EXTRW7GW.cjs');
6
- var chunkHUFSABUZ_cjs = require('../chunk-HUFSABUZ.cjs');
7
- require('../chunk-J7J7J2GN.cjs');
4
+ var chunkRA7IE4NK_cjs = require('../chunk-RA7IE4NK.cjs');
5
+ var chunkNAGPKWOD_cjs = require('../chunk-NAGPKWOD.cjs');
6
+ var chunkOLSEWLK5_cjs = require('../chunk-OLSEWLK5.cjs');
7
+ require('../chunk-UNFBHV46.cjs');
8
8
  require('../chunk-6LHQPOMI.cjs');
9
9
 
10
10
  // src/internal/auth/oauth-device.ts
@@ -14,7 +14,7 @@ async function parseJsonOrFail(res, code, what) {
14
14
  try {
15
15
  return JSON.parse(text);
16
16
  } catch {
17
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(code, `${what} returned a non-JSON body: ${text.slice(0, 120)}`);
17
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(code, `${what} returned a non-JSON body: ${text.slice(0, 120)}`);
18
18
  }
19
19
  }
20
20
  async function requestDeviceCode(config, deps) {
@@ -29,13 +29,13 @@ async function requestDeviceCode(config, deps) {
29
29
  }).toString()
30
30
  });
31
31
  } catch (err) {
32
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
32
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
33
33
  "oauth_device_authorization_failed",
34
34
  `device request failed: ${err.message}`
35
35
  );
36
36
  }
37
37
  if (!res.ok) {
38
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
38
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
39
39
  "oauth_device_authorization_failed",
40
40
  `device endpoint returned HTTP ${res.status}`
41
41
  );
@@ -46,7 +46,7 @@ async function requestDeviceCode(config, deps) {
46
46
  "device endpoint"
47
47
  );
48
48
  if (typeof data.device_code !== "string" || typeof data.user_code !== "string") {
49
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
49
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
50
50
  "oauth_device_authorization_failed",
51
51
  "device response missing device_code/user_code"
52
52
  );
@@ -79,14 +79,14 @@ async function pollDeviceToken(config, grant, deps) {
79
79
  }).toString()
80
80
  });
81
81
  } catch (err) {
82
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
82
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
83
83
  "oauth_token_exchange_failed",
84
84
  `device token poll failed: ${err.message}`
85
85
  );
86
86
  }
87
87
  const data = await res.json().catch(() => ({}));
88
88
  if (!res.ok && typeof data.error !== "string") {
89
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
89
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
90
90
  "oauth_token_exchange_failed",
91
91
  `device token endpoint returned HTTP ${res.status}`
92
92
  );
@@ -116,14 +116,14 @@ async function pollDeviceToken(config, grant, deps) {
116
116
  continue;
117
117
  }
118
118
  if (typeof data.error === "string") {
119
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
119
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
120
120
  "oauth_token_exchange_failed",
121
121
  `device authorization rejected: ${data.error}`
122
122
  );
123
123
  }
124
124
  await deps.sleep(intervalMs + POLLING_SAFETY_MARGIN_MS);
125
125
  }
126
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
126
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
127
127
  "oauth_device_code_expired",
128
128
  "the device code expired before it was approved"
129
129
  );
@@ -146,13 +146,13 @@ async function requestOpenAIUsercode(config, deps) {
146
146
  body: JSON.stringify({ client_id: config.clientId })
147
147
  });
148
148
  } catch (err) {
149
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
149
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
150
150
  "oauth_device_authorization_failed",
151
151
  `usercode request failed: ${err.message}`
152
152
  );
153
153
  }
154
154
  if (!res.ok) {
155
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
155
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
156
156
  "oauth_device_authorization_failed",
157
157
  `usercode endpoint returned HTTP ${res.status}`
158
158
  );
@@ -163,7 +163,7 @@ async function requestOpenAIUsercode(config, deps) {
163
163
  "usercode endpoint"
164
164
  );
165
165
  if (typeof data.device_auth_id !== "string" || typeof data.user_code !== "string") {
166
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
166
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
167
167
  "oauth_device_authorization_failed",
168
168
  "usercode response missing device_auth_id/user_code"
169
169
  );
@@ -188,7 +188,7 @@ async function openaiDeviceLogin(config, deps, hooks) {
188
188
  body: JSON.stringify({ device_auth_id: deviceAuthId, user_code: userCode })
189
189
  });
190
190
  } catch (err) {
191
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
191
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
192
192
  "oauth_token_exchange_failed",
193
193
  `device poll failed: ${err.message}`
194
194
  );
@@ -196,12 +196,12 @@ async function openaiDeviceLogin(config, deps, hooks) {
196
196
  if (res.ok) {
197
197
  const data = await parseJsonOrFail(res, "oauth_token_exchange_failed", "device poll");
198
198
  if (typeof data.authorization_code !== "string" || typeof data.code_verifier !== "string") {
199
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
199
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
200
200
  "oauth_token_exchange_failed",
201
201
  "device poll returned no authorization_code"
202
202
  );
203
203
  }
204
- const tokens = await chunk4NLCWGH7_cjs.exchangeCode(
204
+ const tokens = await chunkRA7IE4NK_cjs.exchangeCode(
205
205
  config,
206
206
  { code: data.authorization_code, verifier: data.code_verifier },
207
207
  deps
@@ -212,14 +212,14 @@ async function openaiDeviceLogin(config, deps, hooks) {
212
212
  };
213
213
  }
214
214
  if (res.status !== 403 && res.status !== 404) {
215
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
215
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
216
216
  "oauth_token_exchange_failed",
217
217
  `device poll returned HTTP ${res.status}`
218
218
  );
219
219
  }
220
220
  await deps.sleep(intervalMs + POLLING_SAFETY_MARGIN_MS);
221
221
  }
222
- throw new chunkHUFSABUZ_cjs.AuthCallbackError(
222
+ throw new chunkOLSEWLK5_cjs.AuthCallbackError(
223
223
  "oauth_device_code_expired",
224
224
  "the device authorization expired before approval"
225
225
  );
@@ -249,51 +249,51 @@ Object.defineProperty(exports, "providerFromApiKeyPrefix", {
249
249
  });
250
250
  Object.defineProperty(exports, "ensureFreshCredential", {
251
251
  enumerable: true,
252
- get: function () { return chunk4NLCWGH7_cjs.ensureFreshCredential; }
252
+ get: function () { return chunkRA7IE4NK_cjs.ensureFreshCredential; }
253
253
  });
254
254
  Object.defineProperty(exports, "exchangeCode", {
255
255
  enumerable: true,
256
- get: function () { return chunk4NLCWGH7_cjs.exchangeCode; }
256
+ get: function () { return chunkRA7IE4NK_cjs.exchangeCode; }
257
257
  });
258
258
  Object.defineProperty(exports, "persistOAuthTokens", {
259
259
  enumerable: true,
260
- get: function () { return chunk4NLCWGH7_cjs.persistOAuthTokens; }
260
+ get: function () { return chunkRA7IE4NK_cjs.persistOAuthTokens; }
261
261
  });
262
262
  Object.defineProperty(exports, "refreshOAuthTokens", {
263
263
  enumerable: true,
264
- get: function () { return chunk4NLCWGH7_cjs.refreshOAuthTokens; }
264
+ get: function () { return chunkRA7IE4NK_cjs.refreshOAuthTokens; }
265
265
  });
266
266
  Object.defineProperty(exports, "resolveCredential", {
267
267
  enumerable: true,
268
- get: function () { return chunk4NLCWGH7_cjs.resolveCredential; }
268
+ get: function () { return chunkRA7IE4NK_cjs.resolveCredential; }
269
269
  });
270
270
  Object.defineProperty(exports, "CredentialError", {
271
271
  enumerable: true,
272
- get: function () { return chunkEXTRW7GW_cjs.CredentialError; }
272
+ get: function () { return chunkNAGPKWOD_cjs.CredentialError; }
273
273
  });
274
274
  Object.defineProperty(exports, "assertSecureModes", {
275
275
  enumerable: true,
276
- get: function () { return chunkEXTRW7GW_cjs.assertSecureModes; }
276
+ get: function () { return chunkNAGPKWOD_cjs.assertSecureModes; }
277
277
  });
278
278
  Object.defineProperty(exports, "authFilePath", {
279
279
  enumerable: true,
280
- get: function () { return chunkEXTRW7GW_cjs.authFilePath; }
280
+ get: function () { return chunkNAGPKWOD_cjs.authFilePath; }
281
281
  });
282
282
  Object.defineProperty(exports, "credentialHome", {
283
283
  enumerable: true,
284
- get: function () { return chunkEXTRW7GW_cjs.credentialHome; }
284
+ get: function () { return chunkNAGPKWOD_cjs.credentialHome; }
285
285
  });
286
286
  Object.defineProperty(exports, "readAuthFile", {
287
287
  enumerable: true,
288
- get: function () { return chunkEXTRW7GW_cjs.readAuthFile; }
288
+ get: function () { return chunkNAGPKWOD_cjs.readAuthFile; }
289
289
  });
290
290
  Object.defineProperty(exports, "readStoredOAuth", {
291
291
  enumerable: true,
292
- get: function () { return chunkEXTRW7GW_cjs.readStoredOAuth; }
292
+ get: function () { return chunkNAGPKWOD_cjs.readStoredOAuth; }
293
293
  });
294
294
  Object.defineProperty(exports, "writeCredential", {
295
295
  enumerable: true,
296
- get: function () { return chunkEXTRW7GW_cjs.writeCredential; }
296
+ get: function () { return chunkNAGPKWOD_cjs.writeCredential; }
297
297
  });
298
298
  exports.deviceLogin = deviceLogin;
299
299
  exports.extractAccountId = extractAccountId;
@@ -1,9 +1,9 @@
1
1
  export { providerFromApiKeyPrefix } from '../chunk-NAF4L3T6.js';
2
- import { exchangeCode } from '../chunk-JMDDYA22.js';
3
- export { ensureFreshCredential, exchangeCode, persistOAuthTokens, refreshOAuthTokens, resolveCredential } from '../chunk-JMDDYA22.js';
4
- export { CredentialError, assertSecureModes, authFilePath, credentialHome, readAuthFile, readStoredOAuth, writeCredential } from '../chunk-V22DZIXO.js';
5
- import { AuthCallbackError } from '../chunk-NJWYQWDL.js';
6
- import '../chunk-ALUN2B4W.js';
2
+ import { exchangeCode } from '../chunk-EJROML3Q.js';
3
+ export { ensureFreshCredential, exchangeCode, persistOAuthTokens, refreshOAuthTokens, resolveCredential } from '../chunk-EJROML3Q.js';
4
+ export { CredentialError, assertSecureModes, authFilePath, credentialHome, readAuthFile, readStoredOAuth, writeCredential } from '../chunk-5Q4RTLMP.js';
5
+ import { AuthCallbackError } from '../chunk-H3CVJSFC.js';
6
+ import '../chunk-B5MHRQJZ.js';
7
7
  import '../chunk-CZJ6Q7CW.js';
8
8
 
9
9
  // src/internal/auth/oauth-device.ts
@@ -1,12 +1,12 @@
1
- import { submit, subscribe } from './chunk-K2VMFZQ5.js';
1
+ import { submit, subscribe } from './chunk-XKMVJ443.js';
2
2
  import './chunk-K2BQQ445.js';
3
- import { newPooledCredential, CredentialPool, withCredentialPool } from './chunk-UBR5PWD7.js';
3
+ import { newPooledCredential, CredentialPool, withCredentialPool } from './chunk-SUVCHX4L.js';
4
4
  import './chunk-24MGQDK3.js';
5
- import { createSemaphore } from './chunk-G7BLGBRN.js';
5
+ import { createSemaphore } from './chunk-ZWFTECOE.js';
6
6
  import './chunk-Q5EWJPRY.js';
7
- import './chunk-EIQFAOFD.js';
7
+ import './chunk-GGRPAQ3B.js';
8
8
  import './chunk-3JHIFQ4I.js';
9
- import { ConfigurationError, TheokitAgentError } from './chunk-ALUN2B4W.js';
9
+ import { ConfigurationError, TheokitAgentError } from './chunk-B5MHRQJZ.js';
10
10
  import { diag } from './chunk-CZJ6Q7CW.js';
11
11
  import { randomUUID } from 'crypto';
12
12
 
@@ -256,5 +256,5 @@ function buildPoolsFromApiKeys(apiKeys, strategy) {
256
256
  }
257
257
 
258
258
  export { batchImpl, validateBatchInput };
259
- //# sourceMappingURL=batch-US4F6WPK.js.map
260
- //# sourceMappingURL=batch-US4F6WPK.js.map
259
+ //# sourceMappingURL=batch-427O54FQ.js.map
260
+ //# sourceMappingURL=batch-427O54FQ.js.map