@theokit/sdk 5.6.0 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/a2a/index.cjs +6 -6
  3. package/dist/a2a/index.js +2 -2
  4. package/dist/{agent-82d_DrCL.d.cts → agent-3RcPVGMo.d.cts} +22 -4
  5. package/dist/agent-7ERQNV66.js +59 -0
  6. package/dist/{agent-JJZM2VIK.js.map → agent-7ERQNV66.js.map} +1 -1
  7. package/dist/agent-LNTR4QH5.cjs +68 -0
  8. package/dist/{agent-47NS6ZVL.cjs.map → agent-LNTR4QH5.cjs.map} +1 -1
  9. package/dist/{agent-G6g-uwcB.d.ts → agent-lS68mYIL.d.ts} +22 -4
  10. package/dist/agent.d.ts +11 -0
  11. package/dist/auth/index.cjs +32 -32
  12. package/dist/auth/index.js +5 -5
  13. package/dist/{batch-US4F6WPK.js → batch-427O54FQ.js} +7 -7
  14. package/dist/{batch-US4F6WPK.js.map → batch-427O54FQ.js.map} +1 -1
  15. package/dist/{batch-I6T6MXZO.cjs → batch-U4SO4RLX.cjs} +24 -24
  16. package/dist/{batch-I6T6MXZO.cjs.map → batch-U4SO4RLX.cjs.map} +1 -1
  17. package/dist/{chunk-44I6UYVH.js → chunk-26NEAJ6T.js} +4 -4
  18. package/dist/{chunk-44I6UYVH.js.map → chunk-26NEAJ6T.js.map} +1 -1
  19. package/dist/{chunk-GCHZMH42.cjs → chunk-2STSX2SY.cjs} +264 -260
  20. package/dist/chunk-2STSX2SY.cjs.map +1 -0
  21. package/dist/{chunk-2UXQASTX.js → chunk-3CU5J7V3.js} +38 -34
  22. package/dist/chunk-3CU5J7V3.js.map +1 -0
  23. package/dist/{chunk-5NELQ6LB.js → chunk-4QCJAJAG.js} +12 -3
  24. package/dist/chunk-4QCJAJAG.js.map +1 -0
  25. package/dist/{chunk-XYFGKVZ7.js → chunk-53RDNK3H.js} +3 -3
  26. package/dist/{chunk-XYFGKVZ7.js.map → chunk-53RDNK3H.js.map} +1 -1
  27. package/dist/{chunk-2QKV4CGK.js → chunk-5522X223.js} +3 -3
  28. package/dist/{chunk-2QKV4CGK.js.map → chunk-5522X223.js.map} +1 -1
  29. package/dist/{chunk-EH6XD3FY.js → chunk-5DD4NJN3.js} +3 -3
  30. package/dist/{chunk-EH6XD3FY.js.map → chunk-5DD4NJN3.js.map} +1 -1
  31. package/dist/{chunk-V22DZIXO.js → chunk-5Q4RTLMP.js} +3 -3
  32. package/dist/{chunk-V22DZIXO.js.map → chunk-5Q4RTLMP.js.map} +1 -1
  33. package/dist/{chunk-4A3SKJ53.cjs → chunk-6PB5AQCY.cjs} +14 -14
  34. package/dist/{chunk-4A3SKJ53.cjs.map → chunk-6PB5AQCY.cjs.map} +1 -1
  35. package/dist/{chunk-PRZ3BES7.cjs → chunk-72CPLZPC.cjs} +5 -5
  36. package/dist/{chunk-PRZ3BES7.cjs.map → chunk-72CPLZPC.cjs.map} +1 -1
  37. package/dist/{chunk-GFFBXSQT.cjs → chunk-76PIKR4P.cjs} +22 -22
  38. package/dist/{chunk-GFFBXSQT.cjs.map → chunk-76PIKR4P.cjs.map} +1 -1
  39. package/dist/{chunk-EFMFILPG.js → chunk-7F7XE6CM.js} +3 -3
  40. package/dist/{chunk-EFMFILPG.js.map → chunk-7F7XE6CM.js.map} +1 -1
  41. package/dist/{chunk-N2KAIZ5D.js → chunk-7GDHFV2M.js} +4 -20
  42. package/dist/chunk-7GDHFV2M.js.map +1 -0
  43. package/dist/{chunk-CA5VUAP3.js → chunk-7HUCU3KK.js} +5 -5
  44. package/dist/{chunk-CA5VUAP3.js.map → chunk-7HUCU3KK.js.map} +1 -1
  45. package/dist/{chunk-4MMWFSCD.js → chunk-7JAKO3NM.js} +3 -3
  46. package/dist/{chunk-4MMWFSCD.js.map → chunk-7JAKO3NM.js.map} +1 -1
  47. package/dist/{chunk-UADQJBHR.cjs → chunk-7NQ7HJ3E.cjs} +6 -6
  48. package/dist/{chunk-UADQJBHR.cjs.map → chunk-7NQ7HJ3E.cjs.map} +1 -1
  49. package/dist/{chunk-HG4UN4MN.cjs → chunk-AOHRKGAA.cjs} +22 -22
  50. package/dist/{chunk-HG4UN4MN.cjs.map → chunk-AOHRKGAA.cjs.map} +1 -1
  51. package/dist/{chunk-C4ZQPWXJ.cjs → chunk-ARMFXTY6.cjs} +143 -190
  52. package/dist/chunk-ARMFXTY6.cjs.map +1 -0
  53. package/dist/{chunk-5WKQDIGO.js → chunk-AY43232P.js} +4 -4
  54. package/dist/{chunk-5WKQDIGO.js.map → chunk-AY43232P.js.map} +1 -1
  55. package/dist/{chunk-7FDKWDA2.cjs → chunk-B3XXQX6L.cjs} +7 -7
  56. package/dist/{chunk-7FDKWDA2.cjs.map → chunk-B3XXQX6L.cjs.map} +1 -1
  57. package/dist/{chunk-ALUN2B4W.js → chunk-B5MHRQJZ.js} +9 -3
  58. package/dist/chunk-B5MHRQJZ.js.map +1 -0
  59. package/dist/{chunk-TA3K7SBK.js → chunk-BKMDRBJ7.js} +3 -3
  60. package/dist/{chunk-TA3K7SBK.js.map → chunk-BKMDRBJ7.js.map} +1 -1
  61. package/dist/{chunk-FUSDYC2B.cjs → chunk-CQYBJOB2.cjs} +4 -4
  62. package/dist/{chunk-FUSDYC2B.cjs.map → chunk-CQYBJOB2.cjs.map} +1 -1
  63. package/dist/{chunk-7JJ3A6AT.cjs → chunk-D5KXKBEN.cjs} +5 -5
  64. package/dist/{chunk-7JJ3A6AT.cjs.map → chunk-D5KXKBEN.cjs.map} +1 -1
  65. package/dist/{chunk-HUDNLFY4.js → chunk-DDRX4LYS.js} +13 -4
  66. package/dist/chunk-DDRX4LYS.js.map +1 -0
  67. package/dist/{chunk-QDM3OHUT.cjs → chunk-ECD6ER3E.cjs} +4 -4
  68. package/dist/{chunk-QDM3OHUT.cjs.map → chunk-ECD6ER3E.cjs.map} +1 -1
  69. package/dist/{chunk-JMDDYA22.js → chunk-EJROML3Q.js} +4 -4
  70. package/dist/{chunk-JMDDYA22.js.map → chunk-EJROML3Q.js.map} +1 -1
  71. package/dist/{chunk-FPIY5CLV.js → chunk-FRL35MFN.js} +5 -5
  72. package/dist/{chunk-FPIY5CLV.js.map → chunk-FRL35MFN.js.map} +1 -1
  73. package/dist/{chunk-EIQFAOFD.js → chunk-GGRPAQ3B.js} +3 -3
  74. package/dist/{chunk-EIQFAOFD.js.map → chunk-GGRPAQ3B.js.map} +1 -1
  75. package/dist/{chunk-HCT4HPCL.cjs → chunk-GHHIJEFX.cjs} +4 -4
  76. package/dist/{chunk-HCT4HPCL.cjs.map → chunk-GHHIJEFX.cjs.map} +1 -1
  77. package/dist/{chunk-7A6535RA.cjs → chunk-GM54F4FE.cjs} +9 -9
  78. package/dist/{chunk-7A6535RA.cjs.map → chunk-GM54F4FE.cjs.map} +1 -1
  79. package/dist/{chunk-6M2OIS4Y.js → chunk-GMRFAX4I.js} +74 -4
  80. package/dist/chunk-GMRFAX4I.js.map +1 -0
  81. package/dist/{chunk-O6USDERH.js → chunk-GMSRRJ53.js} +3 -3
  82. package/dist/{chunk-O6USDERH.js.map → chunk-GMSRRJ53.js.map} +1 -1
  83. package/dist/{chunk-VE6DFSKU.js → chunk-GTX6FEDP.js} +3 -3
  84. package/dist/{chunk-VE6DFSKU.js.map → chunk-GTX6FEDP.js.map} +1 -1
  85. package/dist/{chunk-NJWYQWDL.js → chunk-H3CVJSFC.js} +3 -3
  86. package/dist/{chunk-NJWYQWDL.js.map → chunk-H3CVJSFC.js.map} +1 -1
  87. package/dist/{chunk-MYJGWS2J.cjs → chunk-HG5LKFG7.cjs} +16 -16
  88. package/dist/{chunk-MYJGWS2J.cjs.map → chunk-HG5LKFG7.cjs.map} +1 -1
  89. package/dist/{chunk-55GB6JYQ.js → chunk-HOHR75KF.js} +5 -5
  90. package/dist/{chunk-55GB6JYQ.js.map → chunk-HOHR75KF.js.map} +1 -1
  91. package/dist/{chunk-GBCVPKHE.js → chunk-HV4V63CO.js} +3 -3
  92. package/dist/{chunk-GBCVPKHE.js.map → chunk-HV4V63CO.js.map} +1 -1
  93. package/dist/{chunk-I2PWY7VM.cjs → chunk-IIYJMXYW.cjs} +4 -4
  94. package/dist/{chunk-I2PWY7VM.cjs.map → chunk-IIYJMXYW.cjs.map} +1 -1
  95. package/dist/chunk-J4SA2ZEJ.cjs +24 -0
  96. package/dist/chunk-J4SA2ZEJ.cjs.map +1 -0
  97. package/dist/{chunk-ATT276RD.cjs → chunk-J5623RIV.cjs} +78 -6
  98. package/dist/chunk-J5623RIV.cjs.map +1 -0
  99. package/dist/{chunk-KVSAY6NZ.cjs → chunk-J6GXS5A2.cjs} +13 -13
  100. package/dist/{chunk-KVSAY6NZ.cjs.map → chunk-J6GXS5A2.cjs.map} +1 -1
  101. package/dist/{chunk-NQTD6QOW.cjs → chunk-JW3GVLM6.cjs} +4 -4
  102. package/dist/{chunk-NQTD6QOW.cjs.map → chunk-JW3GVLM6.cjs.map} +1 -1
  103. package/dist/{chunk-TFG5IBZS.cjs → chunk-KGZ66JVZ.cjs} +14 -14
  104. package/dist/{chunk-TFG5IBZS.cjs.map → chunk-KGZ66JVZ.cjs.map} +1 -1
  105. package/dist/{chunk-47TF32NQ.js → chunk-KO6SHCEH.js} +3 -3
  106. package/dist/{chunk-47TF32NQ.js.map → chunk-KO6SHCEH.js.map} +1 -1
  107. package/dist/{chunk-EIOMN5VA.cjs → chunk-KTA7YTZQ.cjs} +17 -8
  108. package/dist/chunk-KTA7YTZQ.cjs.map +1 -0
  109. package/dist/{chunk-D6POWE7E.cjs → chunk-MEUBLCM4.cjs} +11 -11
  110. package/dist/{chunk-D6POWE7E.cjs.map → chunk-MEUBLCM4.cjs.map} +1 -1
  111. package/dist/{chunk-VWUXIVEI.js → chunk-MFZODA5Y.js} +5 -5
  112. package/dist/{chunk-VWUXIVEI.js.map → chunk-MFZODA5Y.js.map} +1 -1
  113. package/dist/{chunk-4HS6FFGL.cjs → chunk-MPQJE3G4.cjs} +15 -15
  114. package/dist/{chunk-4HS6FFGL.cjs.map → chunk-MPQJE3G4.cjs.map} +1 -1
  115. package/dist/{chunk-QRVS2PRE.cjs → chunk-MPR2ISL2.cjs} +4 -4
  116. package/dist/{chunk-QRVS2PRE.cjs.map → chunk-MPR2ISL2.cjs.map} +1 -1
  117. package/dist/{chunk-UOLBAPDM.js → chunk-MQGSOKR3.js} +3 -3
  118. package/dist/{chunk-UOLBAPDM.js.map → chunk-MQGSOKR3.js.map} +1 -1
  119. package/dist/{chunk-HFEJE7AC.js → chunk-MU7IAA7G.js} +9 -9
  120. package/dist/{chunk-HFEJE7AC.js.map → chunk-MU7IAA7G.js.map} +1 -1
  121. package/dist/{chunk-EXTRW7GW.cjs → chunk-NAGPKWOD.cjs} +4 -4
  122. package/dist/{chunk-EXTRW7GW.cjs.map → chunk-NAGPKWOD.cjs.map} +1 -1
  123. package/dist/{chunk-KTTHHYEW.cjs → chunk-NJSIAJEK.cjs} +4 -4
  124. package/dist/{chunk-KTTHHYEW.cjs.map → chunk-NJSIAJEK.cjs.map} +1 -1
  125. package/dist/{chunk-Z3NTRKIC.cjs → chunk-NKIQTLFA.cjs} +4 -4
  126. package/dist/{chunk-Z3NTRKIC.cjs.map → chunk-NKIQTLFA.cjs.map} +1 -1
  127. package/dist/{chunk-KZSKIUXZ.js → chunk-NOO6GZTZ.js} +37 -85
  128. package/dist/chunk-NOO6GZTZ.js.map +1 -0
  129. package/dist/{chunk-7IZKTQ5G.cjs → chunk-OCEQ6DW2.cjs} +10 -29
  130. package/dist/chunk-OCEQ6DW2.cjs.map +1 -0
  131. package/dist/{chunk-BJUJT5ED.cjs → chunk-OF2CLCTH.cjs} +4 -4
  132. package/dist/{chunk-BJUJT5ED.cjs.map → chunk-OF2CLCTH.cjs.map} +1 -1
  133. package/dist/{chunk-HUFSABUZ.cjs → chunk-OLSEWLK5.cjs} +6 -6
  134. package/dist/{chunk-HUFSABUZ.cjs.map → chunk-OLSEWLK5.cjs.map} +1 -1
  135. package/dist/{chunk-DQZU7JK6.cjs → chunk-P22BZE7G.cjs} +4 -4
  136. package/dist/{chunk-DQZU7JK6.cjs.map → chunk-P22BZE7G.cjs.map} +1 -1
  137. package/dist/{chunk-QWD3CZWE.cjs → chunk-P7NNKEWO.cjs} +4 -4
  138. package/dist/{chunk-QWD3CZWE.cjs.map → chunk-P7NNKEWO.cjs.map} +1 -1
  139. package/dist/chunk-PQCTDMUI.js +20 -0
  140. package/dist/chunk-PQCTDMUI.js.map +1 -0
  141. package/dist/{chunk-DZG77WU7.cjs → chunk-PSLCVSCS.cjs} +3 -3
  142. package/dist/{chunk-DZG77WU7.cjs.map → chunk-PSLCVSCS.cjs.map} +1 -1
  143. package/dist/{chunk-STGSMJMJ.js → chunk-QDQQYRJI.js} +4 -4
  144. package/dist/{chunk-STGSMJMJ.js.map → chunk-QDQQYRJI.js.map} +1 -1
  145. package/dist/{chunk-7MMTZBTT.js → chunk-R2C3HXR3.js} +4 -4
  146. package/dist/{chunk-7MMTZBTT.js.map → chunk-R2C3HXR3.js.map} +1 -1
  147. package/dist/chunk-R3ZQBPA5.cjs +18 -0
  148. package/dist/{chunk-ANMJJD6D.cjs.map → chunk-R3ZQBPA5.cjs.map} +1 -1
  149. package/dist/{chunk-4NLCWGH7.cjs → chunk-RA7IE4NK.cjs} +15 -15
  150. package/dist/{chunk-4NLCWGH7.cjs.map → chunk-RA7IE4NK.cjs.map} +1 -1
  151. package/dist/{chunk-UBR5PWD7.js → chunk-SUVCHX4L.js} +3 -3
  152. package/dist/{chunk-UBR5PWD7.js.map → chunk-SUVCHX4L.js.map} +1 -1
  153. package/dist/{chunk-LD6HASA5.cjs → chunk-SWALPLFQ.cjs} +12 -2
  154. package/dist/chunk-SWALPLFQ.cjs.map +1 -0
  155. package/dist/{chunk-52FDUJSV.cjs → chunk-T5KOSR5Y.cjs} +11 -11
  156. package/dist/{chunk-52FDUJSV.cjs.map → chunk-T5KOSR5Y.cjs.map} +1 -1
  157. package/dist/{chunk-BZ3YMAMP.js → chunk-TC4RWP3Y.js} +6 -6
  158. package/dist/{chunk-BZ3YMAMP.js.map → chunk-TC4RWP3Y.js.map} +1 -1
  159. package/dist/{chunk-XB4GI5RZ.js → chunk-TE6XVTOA.js} +3 -3
  160. package/dist/{chunk-XB4GI5RZ.js.map → chunk-TE6XVTOA.js.map} +1 -1
  161. package/dist/{chunk-VUHXC74Q.cjs → chunk-TTBIQTO5.cjs} +19 -19
  162. package/dist/{chunk-VUHXC74Q.cjs.map → chunk-TTBIQTO5.cjs.map} +1 -1
  163. package/dist/{chunk-J7J7J2GN.cjs → chunk-UNFBHV46.cjs} +9 -2
  164. package/dist/chunk-UNFBHV46.cjs.map +1 -0
  165. package/dist/{chunk-AAEZSPTC.js → chunk-UNZOJVVC.js} +4 -4
  166. package/dist/{chunk-AAEZSPTC.js.map → chunk-UNZOJVVC.js.map} +1 -1
  167. package/dist/{chunk-T3ZDEYTJ.js → chunk-W4VQMXBZ.js} +4 -4
  168. package/dist/{chunk-T3ZDEYTJ.js.map → chunk-W4VQMXBZ.js.map} +1 -1
  169. package/dist/{chunk-24SYBZPL.cjs → chunk-WPO3VCY4.cjs} +9 -9
  170. package/dist/{chunk-24SYBZPL.cjs.map → chunk-WPO3VCY4.cjs.map} +1 -1
  171. package/dist/{chunk-IUMAQURF.js → chunk-X6DUEDAF.js} +3 -3
  172. package/dist/{chunk-IUMAQURF.js.map → chunk-X6DUEDAF.js.map} +1 -1
  173. package/dist/{chunk-CFE6QF2Q.js → chunk-XCQ432OX.js} +3 -3
  174. package/dist/{chunk-CFE6QF2Q.js.map → chunk-XCQ432OX.js.map} +1 -1
  175. package/dist/{chunk-QWD4RDZ3.cjs → chunk-XDUGSTYJ.cjs} +15 -15
  176. package/dist/{chunk-QWD4RDZ3.cjs.map → chunk-XDUGSTYJ.cjs.map} +1 -1
  177. package/dist/{chunk-K2VMFZQ5.js → chunk-XKMVJ443.js} +5 -5
  178. package/dist/{chunk-K2VMFZQ5.js.map → chunk-XKMVJ443.js.map} +1 -1
  179. package/dist/{chunk-RWPLWMCZ.cjs → chunk-XW4POZ6V.cjs} +11 -11
  180. package/dist/{chunk-RWPLWMCZ.cjs.map → chunk-XW4POZ6V.cjs.map} +1 -1
  181. package/dist/{chunk-6PWOWXMC.js → chunk-XZHJYSPB.js} +3 -3
  182. package/dist/{chunk-6PWOWXMC.js.map → chunk-XZHJYSPB.js.map} +1 -1
  183. package/dist/{chunk-QC55H6RJ.cjs → chunk-YRJA2POB.cjs} +9 -9
  184. package/dist/{chunk-QC55H6RJ.cjs.map → chunk-YRJA2POB.cjs.map} +1 -1
  185. package/dist/{chunk-DMRT67Y6.js → chunk-ZJZ7LV3A.js} +3 -3
  186. package/dist/{chunk-DMRT67Y6.js.map → chunk-ZJZ7LV3A.js.map} +1 -1
  187. package/dist/{chunk-G7BLGBRN.js → chunk-ZWFTECOE.js} +3 -3
  188. package/dist/{chunk-G7BLGBRN.js.map → chunk-ZWFTECOE.js.map} +1 -1
  189. package/dist/compact-session-2N3ZYJTW.js +24 -0
  190. package/dist/{compact-session-YSEK7NQF.js.map → compact-session-2N3ZYJTW.js.map} +1 -1
  191. package/dist/compact-session-RBPLUPCK.cjs +65 -0
  192. package/dist/{compact-session-7FMYJXQ7.cjs.map → compact-session-RBPLUPCK.cjs.map} +1 -1
  193. package/dist/compaction.cjs +20 -16
  194. package/dist/compaction.d.cts +2 -0
  195. package/dist/compaction.d.ts +2 -0
  196. package/dist/compaction.js +2 -2
  197. package/dist/concurrency.cjs +5 -5
  198. package/dist/concurrency.js +3 -3
  199. package/dist/context/index.cjs +15 -7
  200. package/dist/context/index.cjs.map +1 -1
  201. package/dist/context/index.d.cts +2 -0
  202. package/dist/context/index.d.ts +2 -0
  203. package/dist/context/index.js +7 -3
  204. package/dist/context/index.js.map +1 -1
  205. package/dist/context-SXR2HLHT.js +7 -0
  206. package/dist/{context-J5BJ3LBS.js.map → context-SXR2HLHT.js.map} +1 -1
  207. package/dist/context-ZOULM2RB.cjs +24 -0
  208. package/dist/{context-HR4KMXMA.cjs.map → context-ZOULM2RB.cjs.map} +1 -1
  209. package/dist/{cron-DWv69ZSD.d.cts → cron-CGxoEKlx.d.cts} +2 -2
  210. package/dist/{cron-GynWtAax.d.ts → cron-DJv8zMa3.d.ts} +2 -2
  211. package/dist/cron.cjs +34 -33
  212. package/dist/cron.d.cts +4 -4
  213. package/dist/cron.d.ts +4 -4
  214. package/dist/cron.js +33 -32
  215. package/dist/{errors-DrDEgyz1.d.cts → errors-BWOJeWTZ.d.cts} +25 -2
  216. package/dist/{errors-CLOAyuiv.d.ts → errors-DDvG18IB.d.ts} +25 -2
  217. package/dist/errors.cjs +25 -21
  218. package/dist/errors.d.cts +2 -2
  219. package/dist/errors.d.ts +2 -2
  220. package/dist/errors.js +1 -1
  221. package/dist/eval.cjs +44 -43
  222. package/dist/eval.cjs.map +1 -1
  223. package/dist/eval.js +34 -33
  224. package/dist/eval.js.map +1 -1
  225. package/dist/{executor-XQAOQOHD.cjs → executor-2SUGI3ZT.cjs} +21 -21
  226. package/dist/{executor-XQAOQOHD.cjs.map → executor-2SUGI3ZT.cjs.map} +1 -1
  227. package/dist/{executor-ZNDQDX6Q.js → executor-3NI7KNL4.js} +6 -6
  228. package/dist/{executor-ZNDQDX6Q.js.map → executor-3NI7KNL4.js.map} +1 -1
  229. package/dist/filesystem/index.cjs +11 -11
  230. package/dist/filesystem/index.js +2 -2
  231. package/dist/fs-session-store-JHBJFKVV.cjs +19 -0
  232. package/dist/{fs-session-store-E4U3P56L.cjs.map → fs-session-store-JHBJFKVV.cjs.map} +1 -1
  233. package/dist/fs-session-store-STZZFXH2.js +10 -0
  234. package/dist/{fs-session-store-77JU46UZ.js.map → fs-session-store-STZZFXH2.js.map} +1 -1
  235. package/dist/generate-object-NTKAWE7D.js +7 -0
  236. package/dist/{generate-object-BXV7BZRP.js.map → generate-object-NTKAWE7D.js.map} +1 -1
  237. package/dist/generate-object-YHTWG5DB.cjs +20 -0
  238. package/dist/{generate-object-YBI2TDJ3.cjs.map → generate-object-YHTWG5DB.cjs.map} +1 -1
  239. package/dist/index-manager-ONQJSWX5.js +17 -0
  240. package/dist/{index-manager-27WLNQEE.js.map → index-manager-ONQJSWX5.js.map} +1 -1
  241. package/dist/{index-manager-BBHDKMQS.cjs → index-manager-ZGJN25FD.cjs} +9 -9
  242. package/dist/{index-manager-BBHDKMQS.cjs.map → index-manager-ZGJN25FD.cjs.map} +1 -1
  243. package/dist/index.cjs +148 -145
  244. package/dist/index.cjs.map +1 -1
  245. package/dist/index.d.cts +57 -10
  246. package/dist/index.d.ts +57 -10
  247. package/dist/index.js +49 -48
  248. package/dist/index.js.map +1 -1
  249. package/dist/{inject-session-PC73TMP2.cjs → inject-session-3FPXJDJP.cjs} +4 -4
  250. package/dist/{inject-session-PC73TMP2.cjs.map → inject-session-3FPXJDJP.cjs.map} +1 -1
  251. package/dist/{inject-session-J4LBWAPH.js → inject-session-YNNOE3O6.js} +3 -3
  252. package/dist/{inject-session-J4LBWAPH.js.map → inject-session-YNNOE3O6.js.map} +1 -1
  253. package/dist/interactive/index.cjs +3 -3
  254. package/dist/interactive/index.js +1 -1
  255. package/dist/internal/memory/adapters/index.cjs +7 -7
  256. package/dist/internal/memory/adapters/index.js +6 -6
  257. package/dist/internal/memory/storage/index.cjs +35 -35
  258. package/dist/internal/memory/storage/index.js +6 -6
  259. package/dist/internal/persistence/index.cjs +11 -11
  260. package/dist/internal/persistence/index.js +3 -3
  261. package/dist/internal/runtime/compression/compression-model-registry.d.ts +1 -0
  262. package/dist/internal/runtime/compression/compression-summarizer.d.ts +0 -14
  263. package/dist/internal/runtime/context/context-discovery.d.ts +42 -0
  264. package/dist/internal/runtime/context/context-loaders.d.ts +5 -1
  265. package/dist/internal/security/index.cjs +9 -9
  266. package/dist/internal/security/index.js +2 -2
  267. package/dist/internal/session/compact-session.d.ts +36 -0
  268. package/dist/judge-call-AQQYK6VT.cjs +22 -0
  269. package/dist/{judge-call-46M2E5FA.cjs.map → judge-call-AQQYK6VT.cjs.map} +1 -1
  270. package/dist/judge-call-LOL5FQEX.js +5 -0
  271. package/dist/{judge-call-FGUNNWEI.js.map → judge-call-LOL5FQEX.js.map} +1 -1
  272. package/dist/mcp-auth.cjs +9 -9
  273. package/dist/mcp-auth.js +2 -2
  274. package/dist/models.cjs +15 -15
  275. package/dist/models.js +6 -6
  276. package/dist/oauth-transaction-store-NP2YHZ6D.js +5 -0
  277. package/dist/{oauth-transaction-store-5RIR6D5C.js.map → oauth-transaction-store-NP2YHZ6D.js.map} +1 -1
  278. package/dist/oauth-transaction-store-ZINDV7AF.cjs +38 -0
  279. package/dist/{oauth-transaction-store-SXIE57OD.cjs.map → oauth-transaction-store-ZINDV7AF.cjs.map} +1 -1
  280. package/dist/path-safety.cjs +9 -9
  281. package/dist/path-safety.js +2 -2
  282. package/dist/persistence.cjs +16 -16
  283. package/dist/persistence.js +4 -4
  284. package/dist/project.cjs +5 -5
  285. package/dist/project.js +2 -2
  286. package/dist/providers.cjs +8 -8
  287. package/dist/providers.js +6 -6
  288. package/dist/{registry-DMWCJKRF.js → registry-5FK42CRV.js} +6 -6
  289. package/dist/{registry-DMWCJKRF.js.map → registry-5FK42CRV.js.map} +1 -1
  290. package/dist/{registry-BZQFYRTL.cjs → registry-BVTNO73E.cjs} +14 -14
  291. package/dist/{registry-BZQFYRTL.cjs.map → registry-BVTNO73E.cjs.map} +1 -1
  292. package/dist/retry.cjs +3 -3
  293. package/dist/retry.js +2 -2
  294. package/dist/{run-CTAdRU3U.d.cts → run-DsA5Ip2i.d.cts} +1 -1
  295. package/dist/{run-CTAdRU3U.d.ts → run-DsA5Ip2i.d.ts} +1 -1
  296. package/dist/sandbox/index.cjs +18 -18
  297. package/dist/sandbox/index.js +3 -3
  298. package/dist/{sdk-agent-BOiKqOgL.d.cts → sdk-agent-dNwjwCt5.d.cts} +2 -2
  299. package/dist/{sdk-agent-D4a_BR_6.d.ts → sdk-agent-wEOLXD3F.d.ts} +2 -2
  300. package/dist/server/auth/index.cjs +21 -21
  301. package/dist/server/auth/index.js +6 -6
  302. package/dist/server/errors-envelope.cjs +13 -13
  303. package/dist/server/errors-envelope.d.cts +2 -2
  304. package/dist/server/errors-envelope.d.ts +2 -2
  305. package/dist/server/errors-envelope.js +2 -2
  306. package/dist/skills.cjs +7 -7
  307. package/dist/skills.js +4 -4
  308. package/dist/stream-object-QAEHG4YO.js +7 -0
  309. package/dist/{stream-object-HBFMIZLD.js.map → stream-object-QAEHG4YO.js.map} +1 -1
  310. package/dist/stream-object-TKVGGA54.cjs +20 -0
  311. package/dist/{stream-object-QSKHISDJ.cjs.map → stream-object-TKVGGA54.cjs.map} +1 -1
  312. package/dist/subagents-loader-7GE7YUDI.cjs +16 -0
  313. package/dist/{subagents-loader-MOO7DC4E.cjs.map → subagents-loader-7GE7YUDI.cjs.map} +1 -1
  314. package/dist/subagents-loader-S2PMZY7J.js +7 -0
  315. package/dist/{subagents-loader-CJFYQQU2.js.map → subagents-loader-S2PMZY7J.js.map} +1 -1
  316. package/dist/subagents-loader.cjs +5 -5
  317. package/dist/subagents-loader.d.cts +3 -3
  318. package/dist/subagents-loader.d.ts +3 -3
  319. package/dist/subagents-loader.js +3 -3
  320. package/dist/subscription/index.cjs +3 -2
  321. package/dist/subscription/index.d.cts +1 -1
  322. package/dist/subscription/index.d.ts +1 -1
  323. package/dist/subscription/index.js +2 -2
  324. package/dist/task-store.cjs +5 -5
  325. package/dist/task-store.js +2 -2
  326. package/dist/types/agent.d.ts +1 -1
  327. package/dist/workflow.cjs +25 -25
  328. package/dist/workflow.d.cts +2 -2
  329. package/dist/workflow.d.ts +2 -2
  330. package/dist/workflow.js +4 -4
  331. package/docs/error-codes.md +1 -1
  332. package/docs/harness-capability-map.md +17 -1
  333. package/package.json +1 -1
  334. package/dist/agent-47NS6ZVL.cjs +0 -67
  335. package/dist/agent-JJZM2VIK.js +0 -58
  336. package/dist/chunk-2UXQASTX.js.map +0 -1
  337. package/dist/chunk-5NELQ6LB.js.map +0 -1
  338. package/dist/chunk-6M2OIS4Y.js.map +0 -1
  339. package/dist/chunk-7IZKTQ5G.cjs.map +0 -1
  340. package/dist/chunk-ALUN2B4W.js.map +0 -1
  341. package/dist/chunk-ANMJJD6D.cjs +0 -18
  342. package/dist/chunk-ATT276RD.cjs.map +0 -1
  343. package/dist/chunk-C4ZQPWXJ.cjs.map +0 -1
  344. package/dist/chunk-EIOMN5VA.cjs.map +0 -1
  345. package/dist/chunk-GCHZMH42.cjs.map +0 -1
  346. package/dist/chunk-HUDNLFY4.js.map +0 -1
  347. package/dist/chunk-J7J7J2GN.cjs.map +0 -1
  348. package/dist/chunk-KZSKIUXZ.js.map +0 -1
  349. package/dist/chunk-LD6HASA5.cjs.map +0 -1
  350. package/dist/chunk-N2KAIZ5D.js.map +0 -1
  351. package/dist/compact-session-7FMYJXQ7.cjs +0 -61
  352. package/dist/compact-session-YSEK7NQF.js +0 -24
  353. package/dist/context-HR4KMXMA.cjs +0 -23
  354. package/dist/context-J5BJ3LBS.js +0 -6
  355. package/dist/fs-session-store-77JU46UZ.js +0 -10
  356. package/dist/fs-session-store-E4U3P56L.cjs +0 -19
  357. package/dist/generate-object-BXV7BZRP.js +0 -7
  358. package/dist/generate-object-YBI2TDJ3.cjs +0 -20
  359. package/dist/index-manager-27WLNQEE.js +0 -17
  360. package/dist/judge-call-46M2E5FA.cjs +0 -22
  361. package/dist/judge-call-FGUNNWEI.js +0 -5
  362. package/dist/oauth-transaction-store-5RIR6D5C.js +0 -5
  363. package/dist/oauth-transaction-store-SXIE57OD.cjs +0 -38
  364. package/dist/stream-object-HBFMIZLD.js +0 -7
  365. package/dist/stream-object-QSKHISDJ.cjs +0 -20
  366. package/dist/subagents-loader-CJFYQQU2.js +0 -7
  367. package/dist/subagents-loader-MOO7DC4E.cjs +0 -16
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkRWPLWMCZ_cjs = require('./chunk-RWPLWMCZ.cjs');
3
+ var chunkXW4POZ6V_cjs = require('./chunk-XW4POZ6V.cjs');
4
4
  require('./chunk-TY56BKSK.cjs');
5
- require('./chunk-QRVS2PRE.cjs');
6
- var chunkJ7J7J2GN_cjs = require('./chunk-J7J7J2GN.cjs');
5
+ require('./chunk-MPR2ISL2.cjs');
6
+ var chunkUNFBHV46_cjs = require('./chunk-UNFBHV46.cjs');
7
7
  require('./chunk-6LHQPOMI.cjs');
8
8
 
9
9
  // src/subagents-loader.ts
@@ -13,7 +13,7 @@ function resolveSources(options) {
13
13
  if (declared === void 0) return ACCEPTED_SOURCES;
14
14
  for (const source of declared) {
15
15
  if (!ACCEPTED_SOURCES.includes(source)) {
16
- throw new chunkJ7J7J2GN_cjs.ConfigurationError(
16
+ throw new chunkUNFBHV46_cjs.ConfigurationError(
17
17
  `Unknown subagent setting source "${String(source)}" (accepted: ${ACCEPTED_SOURCES.join(", ")})`,
18
18
  { code: "subagent_unknown_setting_source" }
19
19
  );
@@ -23,7 +23,7 @@ function resolveSources(options) {
23
23
  }
24
24
  async function discoverSubagents(cwd, options) {
25
25
  const sources = resolveSources(options);
26
- return chunkRWPLWMCZ_cjs.loadSubagents(cwd, sources.includes("project"), void 0, options?.compatSources ?? []);
26
+ return chunkXW4POZ6V_cjs.loadSubagents(cwd, sources.includes("project"), void 0, options?.compatSources ?? []);
27
27
  }
28
28
  async function loadSubagentDefinition(name, cwd, options) {
29
29
  return (await discoverSubagents(cwd, options))[name];
@@ -1,6 +1,6 @@
1
- import { a as AgentDefinition } from './agent-82d_DrCL.cjs';
2
- import './sdk-agent-BOiKqOgL.cjs';
3
- import './run-CTAdRU3U.cjs';
1
+ import { a as AgentDefinition } from './agent-3RcPVGMo.cjs';
2
+ import './sdk-agent-dNwjwCt5.cjs';
3
+ import './run-DsA5Ip2i.cjs';
4
4
  import 'zod';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { a as AgentDefinition } from './agent-G6g-uwcB.js';
2
- import './sdk-agent-D4a_BR_6.js';
3
- import './run-CTAdRU3U.js';
1
+ import { a as AgentDefinition } from './agent-lS68mYIL.js';
2
+ import './sdk-agent-wEOLXD3F.js';
3
+ import './run-DsA5Ip2i.js';
4
4
  import 'zod';
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
- import { loadSubagents } from './chunk-T3ZDEYTJ.js';
1
+ import { loadSubagents } from './chunk-W4VQMXBZ.js';
2
2
  import './chunk-X7EUUHXU.js';
3
- import './chunk-UOLBAPDM.js';
4
- import { ConfigurationError } from './chunk-ALUN2B4W.js';
3
+ import './chunk-MQGSOKR3.js';
4
+ import { ConfigurationError } from './chunk-B5MHRQJZ.js';
5
5
  import './chunk-CZJ6Q7CW.js';
6
6
 
7
7
  // src/subagents-loader.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJ7J7J2GN_cjs = require('../chunk-J7J7J2GN.cjs');
3
+ var chunkUNFBHV46_cjs = require('../chunk-UNFBHV46.cjs');
4
4
  require('../chunk-6LHQPOMI.cjs');
5
5
 
6
6
  // src/subscription/define-subscription.ts
@@ -138,7 +138,7 @@ function tracked(id, payload) {
138
138
  }
139
139
  return [id, payload];
140
140
  }
141
- var SubscriptionError = class extends chunkJ7J7J2GN_cjs.TheokitAgentError {
141
+ var SubscriptionError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
142
142
  name = "SubscriptionError";
143
143
  constructor(message, options = {}) {
144
144
  super(message, { ...options, isRetryable: false });
@@ -401,6 +401,7 @@ exports.Subscription = Subscription;
401
401
  exports.SubscriptionDisconnectError = SubscriptionDisconnectError;
402
402
  exports.SubscriptionError = SubscriptionError;
403
403
  exports.SubscriptionInputError = SubscriptionInputError;
404
+ exports.defineSubscription = defineSubscription;
404
405
  exports.isTrackedEnvelope = isTrackedEnvelope;
405
406
  exports.subscribe = subscribe;
406
407
  exports.tracked = tracked;
@@ -15,6 +15,6 @@
15
15
  *
16
16
  * @public
17
17
  */
18
- export { type DefineSubscriptionOptions, Subscription, } from "./define-subscription.js";
18
+ export { type DefineSubscriptionOptions, defineSubscription, Subscription, } from "./define-subscription.js";
19
19
  export { type SubscribeOptions, subscribe } from "./theokit-subscribe.js";
20
20
  export { isTrackedEnvelope, type SubscriptionCtx, type SubscriptionDescriptor, SubscriptionDisconnectError, SubscriptionError, SubscriptionInputError, type SubscriptionTransport, type TrackedEnvelope, tracked, } from "./types.js";
@@ -15,6 +15,6 @@
15
15
  *
16
16
  * @public
17
17
  */
18
- export { type DefineSubscriptionOptions, Subscription, } from "./define-subscription.js";
18
+ export { type DefineSubscriptionOptions, defineSubscription, Subscription, } from "./define-subscription.js";
19
19
  export { type SubscribeOptions, subscribe } from "./theokit-subscribe.js";
20
20
  export { isTrackedEnvelope, type SubscriptionCtx, type SubscriptionDescriptor, SubscriptionDisconnectError, SubscriptionError, SubscriptionInputError, type SubscriptionTransport, type TrackedEnvelope, tracked, } from "./types.js";
@@ -1,4 +1,4 @@
1
- import { TheokitAgentError } from '../chunk-ALUN2B4W.js';
1
+ import { TheokitAgentError } from '../chunk-B5MHRQJZ.js';
2
2
  import '../chunk-CZJ6Q7CW.js';
3
3
 
4
4
  // src/subscription/define-subscription.ts
@@ -395,6 +395,6 @@ function sleep(ms, signal) {
395
395
  });
396
396
  }
397
397
 
398
- export { Subscription, SubscriptionDisconnectError, SubscriptionError, SubscriptionInputError, isTrackedEnvelope, subscribe, tracked };
398
+ export { Subscription, SubscriptionDisconnectError, SubscriptionError, SubscriptionInputError, defineSubscription, isTrackedEnvelope, subscribe, tracked };
399
399
  //# sourceMappingURL=index.js.map
400
400
  //# sourceMappingURL=index.js.map
@@ -1,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunkHCT4HPCL_cjs = require('./chunk-HCT4HPCL.cjs');
3
+ var chunkGHHIJEFX_cjs = require('./chunk-GHHIJEFX.cjs');
4
4
  require('./chunk-JLRLCBJ4.cjs');
5
- require('./chunk-J7J7J2GN.cjs');
5
+ require('./chunk-UNFBHV46.cjs');
6
6
  require('./chunk-6LHQPOMI.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "InMemoryTaskStore", {
11
11
  enumerable: true,
12
- get: function () { return chunkHCT4HPCL_cjs.InMemoryTaskStore; }
12
+ get: function () { return chunkGHHIJEFX_cjs.InMemoryTaskStore; }
13
13
  });
14
14
  Object.defineProperty(exports, "JsonFileTaskStore", {
15
15
  enumerable: true,
16
- get: function () { return chunkHCT4HPCL_cjs.JsonFileTaskStore; }
16
+ get: function () { return chunkGHHIJEFX_cjs.JsonFileTaskStore; }
17
17
  });
18
18
  Object.defineProperty(exports, "getTaskStoreFor", {
19
19
  enumerable: true,
20
- get: function () { return chunkHCT4HPCL_cjs.getTaskStoreFor; }
20
+ get: function () { return chunkGHHIJEFX_cjs.getTaskStoreFor; }
21
21
  });
22
22
  //# sourceMappingURL=task-store.cjs.map
23
23
  //# sourceMappingURL=task-store.cjs.map
@@ -1,6 +1,6 @@
1
- export { InMemoryTaskStore, JsonFileTaskStore, getTaskStoreFor } from './chunk-EIQFAOFD.js';
1
+ export { InMemoryTaskStore, JsonFileTaskStore, getTaskStoreFor } from './chunk-GGRPAQ3B.js';
2
2
  import './chunk-3JHIFQ4I.js';
3
- import './chunk-ALUN2B4W.js';
3
+ import './chunk-B5MHRQJZ.js';
4
4
  import './chunk-CZJ6Q7CW.js';
5
5
  //# sourceMappingURL=task-store.js.map
6
6
  //# sourceMappingURL=task-store.js.map
@@ -31,7 +31,7 @@ export type SettingSource = "project" | "user" | "team" | "mdm" | "plugins" | "a
31
31
  *
32
32
  * @public
33
33
  */
34
- export type CompatSource = "claude-code" | "theokit" | CompatSourceAdapter;
34
+ export type CompatSource = "claude-code" | "theokit" | "agents" | "gemini" | "cursor" | CompatSourceAdapter;
35
35
  /**
36
36
  * A surface a foreign configuration source may be admitted to.
37
37
  *
package/dist/workflow.cjs CHANGED
@@ -1,100 +1,100 @@
1
1
  'use strict';
2
2
 
3
- var chunk4HS6FFGL_cjs = require('./chunk-4HS6FFGL.cjs');
4
- var chunk4A3SKJ53_cjs = require('./chunk-4A3SKJ53.cjs');
3
+ var chunkMPQJE3G4_cjs = require('./chunk-MPQJE3G4.cjs');
4
+ var chunk6PB5AQCY_cjs = require('./chunk-6PB5AQCY.cjs');
5
5
  require('./chunk-VTYY7XL5.cjs');
6
6
  require('./chunk-AA27GEYS.cjs');
7
- require('./chunk-7A6535RA.cjs');
7
+ require('./chunk-GM54F4FE.cjs');
8
8
  require('./chunk-SA6K24NB.cjs');
9
9
  require('./chunk-JLRLCBJ4.cjs');
10
- require('./chunk-J7J7J2GN.cjs');
10
+ require('./chunk-UNFBHV46.cjs');
11
11
  require('./chunk-6LHQPOMI.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "Workflow", {
16
16
  enumerable: true,
17
- get: function () { return chunk4HS6FFGL_cjs.Workflow; }
17
+ get: function () { return chunkMPQJE3G4_cjs.Workflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "WorkflowBuilder", {
20
20
  enumerable: true,
21
- get: function () { return chunk4HS6FFGL_cjs.WorkflowBuilder; }
21
+ get: function () { return chunkMPQJE3G4_cjs.WorkflowBuilder; }
22
22
  });
23
23
  Object.defineProperty(exports, "WorkflowToolError", {
24
24
  enumerable: true,
25
- get: function () { return chunk4HS6FFGL_cjs.WorkflowToolError; }
25
+ get: function () { return chunkMPQJE3G4_cjs.WorkflowToolError; }
26
26
  });
27
27
  Object.defineProperty(exports, "agentStep", {
28
28
  enumerable: true,
29
- get: function () { return chunk4HS6FFGL_cjs.agentStep; }
29
+ get: function () { return chunkMPQJE3G4_cjs.agentStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunk4HS6FFGL_cjs.cloneWorkflow; }
33
+ get: function () { return chunkMPQJE3G4_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "fn", {
36
36
  enumerable: true,
37
- get: function () { return chunk4HS6FFGL_cjs.fn; }
37
+ get: function () { return chunkMPQJE3G4_cjs.fn; }
38
38
  });
39
39
  Object.defineProperty(exports, "workflowAsTool", {
40
40
  enumerable: true,
41
- get: function () { return chunk4HS6FFGL_cjs.workflowAsTool; }
41
+ get: function () { return chunkMPQJE3G4_cjs.workflowAsTool; }
42
42
  });
43
43
  Object.defineProperty(exports, "workflowStep", {
44
44
  enumerable: true,
45
- get: function () { return chunk4HS6FFGL_cjs.workflowStep; }
45
+ get: function () { return chunkMPQJE3G4_cjs.workflowStep; }
46
46
  });
47
47
  Object.defineProperty(exports, "WorkflowAlreadyRunningError", {
48
48
  enumerable: true,
49
- get: function () { return chunk4A3SKJ53_cjs.WorkflowAlreadyRunningError; }
49
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowAlreadyRunningError; }
50
50
  });
51
51
  Object.defineProperty(exports, "WorkflowCompensateNotImplementedError", {
52
52
  enumerable: true,
53
- get: function () { return chunk4A3SKJ53_cjs.WorkflowCompensateNotImplementedError; }
53
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowCompensateNotImplementedError; }
54
54
  });
55
55
  Object.defineProperty(exports, "WorkflowDuplicateStepIdError", {
56
56
  enumerable: true,
57
- get: function () { return chunk4A3SKJ53_cjs.WorkflowDuplicateStepIdError; }
57
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowDuplicateStepIdError; }
58
58
  });
59
59
  Object.defineProperty(exports, "WorkflowInputError", {
60
60
  enumerable: true,
61
- get: function () { return chunk4A3SKJ53_cjs.WorkflowInputError; }
61
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowInputError; }
62
62
  });
63
63
  Object.defineProperty(exports, "WorkflowMaxIterationsExceededError", {
64
64
  enumerable: true,
65
- get: function () { return chunk4A3SKJ53_cjs.WorkflowMaxIterationsExceededError; }
65
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowMaxIterationsExceededError; }
66
66
  });
67
67
  Object.defineProperty(exports, "WorkflowNestedError", {
68
68
  enumerable: true,
69
- get: function () { return chunk4A3SKJ53_cjs.WorkflowNestedError; }
69
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowNestedError; }
70
70
  });
71
71
  Object.defineProperty(exports, "WorkflowNotSerializableError", {
72
72
  enumerable: true,
73
- get: function () { return chunk4A3SKJ53_cjs.WorkflowNotSerializableError; }
73
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowNotSerializableError; }
74
74
  });
75
75
  Object.defineProperty(exports, "WorkflowOutputError", {
76
76
  enumerable: true,
77
- get: function () { return chunk4A3SKJ53_cjs.WorkflowOutputError; }
77
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowOutputError; }
78
78
  });
79
79
  Object.defineProperty(exports, "WorkflowParallelError", {
80
80
  enumerable: true,
81
- get: function () { return chunk4A3SKJ53_cjs.WorkflowParallelError; }
81
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowParallelError; }
82
82
  });
83
83
  Object.defineProperty(exports, "WorkflowResumeStepNotFoundError", {
84
84
  enumerable: true,
85
- get: function () { return chunk4A3SKJ53_cjs.WorkflowResumeStepNotFoundError; }
85
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowResumeStepNotFoundError; }
86
86
  });
87
87
  Object.defineProperty(exports, "WorkflowSnapshotNotFoundError", {
88
88
  enumerable: true,
89
- get: function () { return chunk4A3SKJ53_cjs.WorkflowSnapshotNotFoundError; }
89
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowSnapshotNotFoundError; }
90
90
  });
91
91
  Object.defineProperty(exports, "WorkflowStateError", {
92
92
  enumerable: true,
93
- get: function () { return chunk4A3SKJ53_cjs.WorkflowStateError; }
93
+ get: function () { return chunk6PB5AQCY_cjs.WorkflowStateError; }
94
94
  });
95
95
  Object.defineProperty(exports, "__resetSnapshotStoresForTests", {
96
96
  enumerable: true,
97
- get: function () { return chunk4A3SKJ53_cjs.__resetSnapshotStoresForTests; }
97
+ get: function () { return chunk6PB5AQCY_cjs.__resetSnapshotStoresForTests; }
98
98
  });
99
99
  //# sourceMappingURL=workflow.cjs.map
100
100
  //# sourceMappingURL=workflow.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { ZodType, z } from 'zod';
2
- import { S as SDKAgent } from './sdk-agent-BOiKqOgL.cjs';
3
- import { t as MessageOrigin, C as CustomTool } from './run-CTAdRU3U.cjs';
2
+ import { S as SDKAgent } from './sdk-agent-dNwjwCt5.cjs';
3
+ import { t as MessageOrigin, C as CustomTool } from './run-DsA5Ip2i.cjs';
4
4
  import { T as TheokitAgentError } from './errors-base-B5g01neU.cjs';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { ZodType, z } from 'zod';
2
- import { S as SDKAgent } from './sdk-agent-D4a_BR_6.js';
3
- import { t as MessageOrigin, C as CustomTool } from './run-CTAdRU3U.js';
2
+ import { S as SDKAgent } from './sdk-agent-wEOLXD3F.js';
3
+ import { t as MessageOrigin, C as CustomTool } from './run-DsA5Ip2i.js';
4
4
  import { T as TheokitAgentError } from './errors-base-B5g01neU.js';
5
5
 
6
6
  /**
package/dist/workflow.js CHANGED
@@ -1,11 +1,11 @@
1
- export { Workflow, WorkflowBuilder, WorkflowToolError, agentStep, cloneWorkflow, fn, workflowAsTool, workflowStep } from './chunk-HFEJE7AC.js';
2
- export { WorkflowAlreadyRunningError, WorkflowCompensateNotImplementedError, WorkflowDuplicateStepIdError, WorkflowInputError, WorkflowMaxIterationsExceededError, WorkflowNestedError, WorkflowNotSerializableError, WorkflowOutputError, WorkflowParallelError, WorkflowResumeStepNotFoundError, WorkflowSnapshotNotFoundError, WorkflowStateError, __resetSnapshotStoresForTests } from './chunk-GBCVPKHE.js';
1
+ export { Workflow, WorkflowBuilder, WorkflowToolError, agentStep, cloneWorkflow, fn, workflowAsTool, workflowStep } from './chunk-MU7IAA7G.js';
2
+ export { WorkflowAlreadyRunningError, WorkflowCompensateNotImplementedError, WorkflowDuplicateStepIdError, WorkflowInputError, WorkflowMaxIterationsExceededError, WorkflowNestedError, WorkflowNotSerializableError, WorkflowOutputError, WorkflowParallelError, WorkflowResumeStepNotFoundError, WorkflowSnapshotNotFoundError, WorkflowStateError, __resetSnapshotStoresForTests } from './chunk-HV4V63CO.js';
3
3
  import './chunk-HY66GLM6.js';
4
4
  import './chunk-7I5Z3UBJ.js';
5
- import './chunk-EH6XD3FY.js';
5
+ import './chunk-5DD4NJN3.js';
6
6
  import './chunk-UKMBRMGT.js';
7
7
  import './chunk-3JHIFQ4I.js';
8
- import './chunk-ALUN2B4W.js';
8
+ import './chunk-B5MHRQJZ.js';
9
9
  import './chunk-CZJ6Q7CW.js';
10
10
  //# sourceMappingURL=workflow.js.map
11
11
  //# sourceMappingURL=workflow.js.map
@@ -45,7 +45,7 @@ Branch on `code`, never on the message: messages carry context (an id, a path, a
45
45
  | `cloud_run_unknown_status` | domain | NetworkError | `packages/sdk/src/internal/cloud-agent/real-cloud-run.ts:284` +1 |
46
46
  | `cloud_runtime_pre_release` | domain | ConfigurationError | `packages/sdk/src/agent.ts:417` +2 |
47
47
  | `cloud_stdio_cwd_rejected` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/validation/validate-agent-options.ts:121` |
48
- | `compression_failed` | domain | — | `packages/sdk/src/internal/runtime/compression/compression-summarizer.ts:41` |
48
+ | `compression_failed` | domain | — | `packages/sdk/src/errors.ts:700` |
49
49
  | `compression_model_unresolved` | domain | — | `packages/sdk/src/internal/runtime/compression/compression-model-registry.ts:102` +1 |
50
50
  | `context_config_shape` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-manager.ts:288` |
51
51
  | `context_frontmatter_invalid` | domain | ConfigurationError | `packages/sdk/src/internal/runtime/context/context-frontmatter.ts:38` |
@@ -4,7 +4,7 @@ Every public symbol the TheoKit workspace publishes, and the exact specifier to
4
4
 
5
5
  A symbol listed under two specifiers is reachable from both, but that does NOT make the two interchangeable: a class emitted separately into a subpath entry is a distinct nominal type from the one in the root bundle, so passing one where the other is expected fails on a private field. When a symbol appears twice, import it and everything it is passed to from the SAME specifier.
6
6
 
7
- 1212 export(s) across 46 entry point(s).
7
+ 1228 export(s) across 46 entry point(s).
8
8
 
9
9
  ## `@theokit/acp`
10
10
 
@@ -61,6 +61,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
61
61
  | `ActiveMemoryPassResult` | interface | Result of `MemoryProvider.runActivePass(...)` — what the kernel injects into the LLM call. |
62
62
  | `Agent` | class | Static façade for creating and managing Theo agents. |
63
63
  | `AgentBuilder` | class | Fluent builder for {@link AgentOptions } . |
64
+ | `AgentBuilderDeps` | interface | Terminal-method callbacks injected by `Agent.builder()` so that `agent-builder.ts` does NOT need a static import of `Agent` — keeps the dependency graph acyclic (G6). |
64
65
  | `AgentConversationTurn` | interface | Agent turn: user message + assistant/tool/thinking steps. |
65
66
  | `AgentDefinition` | interface | Subagent definition. |
66
67
  | `AgentDescription` | interface | theokit#123 — the read-only introspection of a registered agent, returned by `Agent.describe()`. |
@@ -136,6 +137,8 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
136
137
  | `CounterBudgetTrackerOptions` | interface | Options for `createCounterBudgetTracker`. |
137
138
  | `createCounterBudgetTracker` | function | Build a fresh tracker. |
138
139
  | `CreateSkillSpec` | interface | Spec accepted by {@link createSkill } . |
140
+ | `createTokenLimiter` | function | SE25 — a processor that caps text to a token budget. |
141
+ | `createUnicodeNormalizer` | function | SE25 — an input processor that normalizes user text: Unicode NFC (so canonically-equivalent sequences compare equal) plus optional control-char stripping and whitespace collapsing. |
139
142
  | `CredentialInput` | interface | One provider's credential lookup, as the product resolved it. |
140
143
  | `CredentialReport` | interface | A presence-only view of one credential, safe to print, log, or attach to a support bundle. |
141
144
  | `Cron` | class | Static façade for scheduling Theo agent runs on a cron expression. |
@@ -166,6 +169,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
166
169
  | `effectiveToolNames` | function | The tool names an agent created with `options` will offer the model, as far as the options can say. |
167
170
  | `emitRunEvent` | function | SE2 — emit a {@link RunEvent } to an optional sink, swallowing any sink error so observability can never break the run (fail-safe, mirrors the EventBus EC-2 contract). |
168
171
  | `EnvOptOut` | interface | A key deliberately left off the environment, with the reason and what would reverse it. |
172
+ | `EnvPolicy` | type | Owner: `sandbox/` (1 of 2 importers). |
169
173
  | `EnvReachabilityAudit` | interface | The two failures, reported separately because they have opposite fixes. |
170
174
  | `EnvReachabilityInput` | interface | The three lists the audit compares: every key the product declares, the subset an environment variable can set, and the documented exemptions. |
171
175
  | `ErrorCode` | type | Finite, machine-readable error codes for provider-originated errors (ADR D66). |
@@ -177,6 +181,8 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
177
181
  | `extractRawId` | function | Extract the raw provider id from a `MemoryId`, enforcing that the prefix matches `expectedAdapterId`. |
178
182
  | `fn` | function | Build a `FnStep`. |
179
183
  | `foldLayers` | function | Combine `entries` into one record. |
184
+ | `ForkOptions` | interface | Caller-supplied fork configuration. |
185
+ | `ForkResult` | interface | Outcome of a fork run. |
180
186
  | `GenerateObjectError` | class | Typed error thrown by {@link Agent.generateObject } when the model refuses to call the synthetic `output` tool or when retries are exhausted. |
181
187
  | `GenerateObjectOptions` | interface | Options accepted by {@link Agent.generateObject } . |
182
188
  | `GenerateObjectResult` | interface | Successful return from {@link Agent.generateObject } . |
@@ -191,6 +197,8 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
191
197
  | `GoalOptions` | interface | Per-call configuration for `Agent.runUntil`. |
192
198
  | `GoalResult` | interface | Return value of the `runUntil` async generator. |
193
199
  | `guardSessionDestruction` | function | Throw unless `sessionId` is safe to destroy. |
200
+ | `HookApprovalGate` | interface | #631 — a consumer's decision point before this package spawns a hook. |
201
+ | `HookApprovalRequest` | interface | #631 — what the consumer is shown when asked to approve a hook. |
194
202
  | `HookName` | type | The fixed set of points a `"general"` plugin may attach to through `PluginContext.on`. |
195
203
  | `ImageBlock` | interface | SE7 — a base64-encoded image block a tool can hand back as (part of) its result or its `ToolError`. |
196
204
  | `inferApiMode` | function | Guess which usage shape a provider reports, from its name alone. |
@@ -217,6 +225,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
217
225
  | `LiveAgentRegistry` | class | An LRU-plus-idle cache of live `SDKAgent` instances, reached through `Agent.registry`. |
218
226
  | `LiveSessionError` | class | Raised by `guardSessionDestruction` instead of letting a session be destroyed. |
219
227
  | `LiveSessionReason` | type | Why the destruction was refused. |
228
+ | `LlmCallContext` | interface | #65 — context for the `pre_llm_call` / `post_llm_call` hooks. |
220
229
  | `loadProjectEnv` | function | Read the project's `.env` into `env`, then restore every {@link SOVEREIGN_ENV_KEYS } entry to the value it had BEFORE the load — including restoring it to absent. |
221
230
  | `LocalOptions` | interface | Local agent configuration. |
222
231
  | `ManagedSettings` | interface | What an operator may impose. |
@@ -436,6 +445,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
436
445
  | `ToolCallCompletedUpdate` | interface | Tool call completed. |
437
446
  | `ToolCallStartedUpdate` | interface | Tool call started — args committed. |
438
447
  | `ToolCallSummary` | interface | M82 — one tool call of the turn, as seen by `transform_tool_result`. |
448
+ | `ToolContext` | interface | #65 — a 2nd argument passed to a tool handler, carrying the run's cancellation signal (ties into #58) so a cooperative tool can stop when the run is cancelled. |
439
449
  | `ToolContextMessage` | interface | SE12 — a read-only, text-only projection of one turn of the run's conversation, exposed to a tool handler via `ctx.messages`. |
440
450
  | `ToolError` | class | Thrown from a tool `handler` to surface a failure to the model. |
441
451
  | `ToolResult` | interface | Result of a tool invocation. |
@@ -895,6 +905,8 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
895
905
  | `compactTranscript` | function | Compact a transcript. |
896
906
  | `CompactTranscriptOptions` | interface | Options for {@link compactTranscript } . |
897
907
  | `CompressibleMessage` | interface | Minimal message shape for compaction/compression input. |
908
+ | `CompressionConfig` | interface | Consumer-facing compression options on `Agent.create`. |
909
+ | `CompressionModelUnresolvedError` | class | T2.2 — Typed error thrown when `resolveCompressionModel` cannot find a same-family-cheaper-tier mapping for `agentModel`. |
898
910
  | `CONTEXT_WINDOW_FLOOR` | const | M77 — the floor used ONLY when neither the catalog nor the caller knows the window. |
899
911
  | `CONTEXT_WINDOW_MARGIN` | const | M77 — default safety margin on the context window. |
900
912
  | `ContextWindowMarginError` | class | M77 — the margin is outside `(0, 1]`. |
@@ -932,6 +944,8 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
932
944
  | `ResolveContextImportsOptions` | interface | Options for {@link resolveContextImports } . |
933
945
  | `runDiscovery` | function | Find, read and parse every context file the specs describe, and return them ready for the aggregator. |
934
946
  | `shouldActivateRule` | function | Decide whether a parsed rule applies to this turn, given the files in scope. |
947
+ | `WithheldSpec` | interface | A spec a declaration did not admit, with the grant that would. |
948
+ | `withheldSpecs` | function | The mirror of {@link admittedSpecs } : the specs a declaration did NOT admit. |
935
949
 
936
950
  ## `@theokit/sdk/cron`
937
951
 
@@ -949,6 +963,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
949
963
  | `AuthenticationError` | class | Invalid API key, not logged in, insufficient permissions. |
950
964
  | `BudgetExceededError` | class | Thrown by `Budget` enforcement (ADR D386) when a `mode: "block"` budget would be exceeded by the upcoming LLM call. |
951
965
  | `coerceToKnownAgentRunErrorCode` | function | T1.1 boundary helper — coerce an arbitrary string (typically arriving from a downstream `RunErrorDetail.code` or a deserialized cloud response) into a `KnownAgentRunErrorCode`. |
966
+ | `CompressionFailedError` | class | Compression of a conversation failed. |
952
967
  | `ConfigurationError` | class | Invalid model, bad request parameters, malformed options. |
953
968
  | `CredentialPoolExhaustedError` | class | Thrown when every credential in a per-provider pool is in cooldown and no healthy key is available (ADR D133). |
954
969
  | `ErrorCode` | type | Finite, machine-readable error codes for provider-originated errors (ADR D66). |
@@ -1376,6 +1391,7 @@ A symbol listed under two specifiers is reachable from both, but that does NOT m
1376
1391
 
1377
1392
  | Symbol | Kind | Summary |
1378
1393
  |---|---|---|
1394
+ | `defineSubscription` | function | Define a typed subscription. |
1379
1395
  | `DefineSubscriptionOptions` | interface | Options accepted by {@link defineSubscription } . |
1380
1396
  | `isTrackedEnvelope` | function | Type guard for {@link TrackedEnvelope } . |
1381
1397
  | `subscribe` | function | Subscribe to a typed subscription. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theokit/sdk",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "TypeScript SDK for the Theo agent harness — same surface, local or cloud.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/usetheokit/theokit-sdk#readme",
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkGCHZMH42_cjs = require('./chunk-GCHZMH42.cjs');
4
- require('./chunk-KVSAY6NZ.cjs');
5
- require('./chunk-DZG77WU7.cjs');
6
- require('./chunk-BUUUWQMB.cjs');
7
- require('./chunk-VUHXC74Q.cjs');
8
- require('./chunk-7IZKTQ5G.cjs');
9
- require('./chunk-BV2MWEMV.cjs');
10
- require('./chunk-D6POWE7E.cjs');
11
- require('./chunk-GHX4P3V2.cjs');
12
- require('./chunk-TMKTSYDS.cjs');
13
- require('./chunk-GFFBXSQT.cjs');
14
- require('./chunk-7FDKWDA2.cjs');
15
- require('./chunk-C4ZQPWXJ.cjs');
16
- require('./chunk-FUSDYC2B.cjs');
17
- require('./chunk-YJNYDJ2T.cjs');
18
- require('./chunk-24SYBZPL.cjs');
19
- require('./chunk-QOGNZMHD.cjs');
20
- require('./chunk-YIFFF23U.cjs');
21
- require('./chunk-2ZPEDVLM.cjs');
22
- require('./chunk-EIOMN5VA.cjs');
23
- require('./chunk-KRD3GQAA.cjs');
24
- require('./chunk-RQMCOFAI.cjs');
25
- require('./chunk-MUUQ2WFJ.cjs');
26
- require('./chunk-AA27GEYS.cjs');
27
- require('./chunk-YSTXFWQE.cjs');
28
- require('./chunk-FRITRLZQ.cjs');
29
- require('./chunk-NQTD6QOW.cjs');
30
- require('./chunk-NINIJCHU.cjs');
31
- require('./chunk-MYJGWS2J.cjs');
32
- require('./chunk-LD6HASA5.cjs');
33
- require('./chunk-IJ7M6GOG.cjs');
34
- require('./chunk-7A6535RA.cjs');
35
- require('./chunk-SA6K24NB.cjs');
36
- require('./chunk-I2PWY7VM.cjs');
37
- require('./chunk-KTTHHYEW.cjs');
38
- require('./chunk-Z3NTRKIC.cjs');
39
- require('./chunk-GZV6AVRL.cjs');
40
- require('./chunk-A4RAL2ER.cjs');
41
- require('./chunk-DQZU7JK6.cjs');
42
- require('./chunk-BJUJT5ED.cjs');
43
- require('./chunk-ZF2LDKQQ.cjs');
44
- require('./chunk-HCT4HPCL.cjs');
45
- require('./chunk-JLRLCBJ4.cjs');
46
- require('./chunk-RWPLWMCZ.cjs');
47
- require('./chunk-TY56BKSK.cjs');
48
- require('./chunk-QRVS2PRE.cjs');
49
- require('./chunk-ATT276RD.cjs');
50
- require('./chunk-3EE6LVWT.cjs');
51
- require('./chunk-ANMJJD6D.cjs');
52
- require('./chunk-QC55H6RJ.cjs');
53
- require('./chunk-NVXXWAU7.cjs');
54
- require('./chunk-4NLCWGH7.cjs');
55
- require('./chunk-EXTRW7GW.cjs');
56
- require('./chunk-HUFSABUZ.cjs');
57
- require('./chunk-J7J7J2GN.cjs');
58
- require('./chunk-6LHQPOMI.cjs');
59
-
60
-
61
-
62
- Object.defineProperty(exports, "Agent", {
63
- enumerable: true,
64
- get: function () { return chunkGCHZMH42_cjs.Agent; }
65
- });
66
- //# sourceMappingURL=agent-47NS6ZVL.cjs.map
67
- //# sourceMappingURL=agent-47NS6ZVL.cjs.map
@@ -1,58 +0,0 @@
1
- export { Agent } from './chunk-2UXQASTX.js';
2
- import './chunk-K2VMFZQ5.js';
3
- import './chunk-2QKV4CGK.js';
4
- import './chunk-K2BQQ445.js';
5
- import './chunk-7MMTZBTT.js';
6
- import './chunk-N2KAIZ5D.js';
7
- import './chunk-2SFBB54R.js';
8
- import './chunk-55GB6JYQ.js';
9
- import './chunk-H73MEMQB.js';
10
- import './chunk-OR6XIWLB.js';
11
- import './chunk-BZ3YMAMP.js';
12
- import './chunk-AAEZSPTC.js';
13
- import './chunk-KZSKIUXZ.js';
14
- import './chunk-UBR5PWD7.js';
15
- import './chunk-2XC6KDJM.js';
16
- import './chunk-XB4GI5RZ.js';
17
- import './chunk-24MGQDK3.js';
18
- import './chunk-2WXHA33T.js';
19
- import './chunk-HKCKOAIO.js';
20
- import './chunk-HUDNLFY4.js';
21
- import './chunk-KVNWIAO4.js';
22
- import './chunk-SVQIW5RJ.js';
23
- import './chunk-FD2UT76F.js';
24
- import './chunk-7I5Z3UBJ.js';
25
- import './chunk-FJWQP6EE.js';
26
- import './chunk-NAF4L3T6.js';
27
- import './chunk-CFE6QF2Q.js';
28
- import './chunk-6X6ID4MO.js';
29
- import './chunk-CA5VUAP3.js';
30
- import './chunk-5NELQ6LB.js';
31
- import './chunk-SAGRF4IB.js';
32
- import './chunk-EH6XD3FY.js';
33
- import './chunk-UKMBRMGT.js';
34
- import './chunk-4MMWFSCD.js';
35
- import './chunk-G7BLGBRN.js';
36
- import './chunk-VE6DFSKU.js';
37
- import './chunk-JOFVLOFY.js';
38
- import './chunk-WE22OXQA.js';
39
- import './chunk-6PWOWXMC.js';
40
- import './chunk-TA3K7SBK.js';
41
- import './chunk-Q5EWJPRY.js';
42
- import './chunk-EIQFAOFD.js';
43
- import './chunk-3JHIFQ4I.js';
44
- import './chunk-T3ZDEYTJ.js';
45
- import './chunk-X7EUUHXU.js';
46
- import './chunk-UOLBAPDM.js';
47
- import './chunk-6M2OIS4Y.js';
48
- import './chunk-R7WIIPUR.js';
49
- import './chunk-XYFGKVZ7.js';
50
- import './chunk-VWUXIVEI.js';
51
- import './chunk-AGACYRJ2.js';
52
- import './chunk-JMDDYA22.js';
53
- import './chunk-V22DZIXO.js';
54
- import './chunk-NJWYQWDL.js';
55
- import './chunk-ALUN2B4W.js';
56
- import './chunk-CZJ6Q7CW.js';
57
- //# sourceMappingURL=agent-JJZM2VIK.js.map
58
- //# sourceMappingURL=agent-JJZM2VIK.js.map