abtars 0.3.4-alpha.7 → 0.3.4

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 (348) hide show
  1. package/bundle/{_registry.generated-WGR4WOPT.js → _registry.generated-AVR7DK2A.js} +17 -14
  2. package/bundle/{_registry.generated-WGR4WOPT.js.map → _registry.generated-AVR7DK2A.js.map} +1 -1
  3. package/bundle/{abmind-lazy-7Z44NODV.js → abmind-lazy-E3YCFKQ5.js} +15 -5
  4. package/bundle/abtars-browser.js +4 -4
  5. package/bundle/abtars-cli.js +23 -13
  6. package/bundle/abtars-cli.js.map +2 -2
  7. package/bundle/abtars-restart.js +3 -3
  8. package/bundle/abtars-task.js +3 -3
  9. package/bundle/abtars-task.js.map +2 -2
  10. package/bundle/abtars.js +610 -455
  11. package/bundle/abtars.js.map +4 -4
  12. package/bundle/{acp-raw-client-E6FM45NC.js → acp-raw-client-UCNK3OTU.js} +2 -2
  13. package/bundle/{action-gate-G2V47NHW.js → action-gate-V4FCBHFB.js} +2 -2
  14. package/bundle/{agent-api-adapter-YAHKQMMZ.js → agent-api-adapter-7HEPYSIN.js} +3 -3
  15. package/bundle/{agent-api-rate-limit-WCFXJMGY.js → agent-api-rate-limit-RZSAM3SW.js} +4 -4
  16. package/bundle/{agent-registry-GI6CLT3Z.js → agent-registry-46A2R5KP.js} +7 -7
  17. package/bundle/{bootstrap-X2QYIZIJ.js → bootstrap-MIHJJSWU.js} +2 -2
  18. package/bundle/{bridge-lock-transport-4ZH7QTJP.js → bridge-lock-transport-7RSN7OLJ.js} +4 -4
  19. package/bundle/{browser-DMARZJIN.js → browser-F6BCWJWW.js} +6 -6
  20. package/bundle/{budget-45QOBDWA.js → budget-WUM3SPKW.js} +3 -3
  21. package/bundle/{capability-JFWX3IQF.js → capability-QVRKGRFC.js} +5 -5
  22. package/bundle/{chunk-YSKCQH6E.js → chunk-2IYJ4I66.js} +2 -2
  23. package/bundle/{chunk-KTYGKPYM.js → chunk-2NLUT5S2.js} +6 -6
  24. package/bundle/chunk-3BG3AIDP.js +191 -0
  25. package/bundle/chunk-3BG3AIDP.js.map +7 -0
  26. package/bundle/{chunk-OKAQICWY.js → chunk-3GQX34S2.js} +3 -3
  27. package/bundle/{chunk-QROWBWLL.js → chunk-3XZ773BS.js} +2 -2
  28. package/bundle/{chunk-DYBW4XXL.js → chunk-467SRLLR.js} +2 -2
  29. package/bundle/{chunk-LGP6TYFI.js → chunk-4AILRHUI.js} +97 -8
  30. package/bundle/chunk-4AILRHUI.js.map +7 -0
  31. package/bundle/{chunk-GPZNXY2U.js → chunk-4S3H4OK7.js} +4 -4
  32. package/bundle/{chunk-NDCRWEEJ.js → chunk-4Y5MJQRE.js} +6 -6
  33. package/bundle/{chunk-FRKW6LWB.js → chunk-55UWKI5C.js} +3 -3
  34. package/bundle/{chunk-4UL3KINB.js → chunk-5PNJFDSW.js} +8 -8
  35. package/bundle/{chunk-LUNA6PM5.js → chunk-5RVOEFGT.js} +4 -2
  36. package/bundle/{chunk-LUNA6PM5.js.map → chunk-5RVOEFGT.js.map} +2 -2
  37. package/bundle/{chunk-OXTSWQCX.js → chunk-5Y3FJ2Y7.js} +2 -2
  38. package/bundle/{chunk-TMUYFERL.js → chunk-6B5ZFUPD.js} +2 -2
  39. package/bundle/{chunk-65VCEC32.js → chunk-6PA5JBUU.js} +2 -2
  40. package/bundle/chunk-BNXV7SZI.js +195 -0
  41. package/bundle/chunk-BNXV7SZI.js.map +7 -0
  42. package/bundle/{chunk-AFREM7FX.js → chunk-CK7YTA2F.js} +2 -2
  43. package/bundle/{chunk-NRUSRJXR.js → chunk-DZJ5QZFD.js} +2 -2
  44. package/bundle/{chunk-YRSMGJFP.js → chunk-E67KESEG.js} +2 -2
  45. package/bundle/{chunk-ZV4IWKDJ.js → chunk-E7XD5UGB.js} +3 -3
  46. package/bundle/{chunk-GXL7HJPT.js → chunk-EAX5ZZUL.js} +63 -39
  47. package/bundle/chunk-EAX5ZZUL.js.map +7 -0
  48. package/bundle/{chunk-PEDX56EL.js → chunk-EFGBM555.js} +2 -2
  49. package/bundle/{chunk-EQSG2CRM.js → chunk-FGYDIX54.js} +22 -15
  50. package/bundle/chunk-FGYDIX54.js.map +7 -0
  51. package/bundle/{chunk-XWRADSXO.js → chunk-GF6NVNA7.js} +15 -5
  52. package/bundle/chunk-GF6NVNA7.js.map +7 -0
  53. package/bundle/{chunk-SIFPBTI4.js → chunk-HGSHCQ5F.js} +113 -73
  54. package/bundle/chunk-HGSHCQ5F.js.map +7 -0
  55. package/bundle/{chunk-YRU2K3O6.js → chunk-IMIGG5EO.js} +39 -39
  56. package/bundle/chunk-IMIGG5EO.js.map +7 -0
  57. package/bundle/{chunk-W4EA4GCA.js → chunk-ITOFPJAV.js} +43 -31
  58. package/bundle/chunk-ITOFPJAV.js.map +7 -0
  59. package/bundle/{chunk-UPRZDU6T.js → chunk-IY6UKLPS.js} +3 -3
  60. package/bundle/{chunk-EUZDKV3C.js → chunk-J4RUFAPK.js} +3 -3
  61. package/bundle/{chunk-HZDLFLRP.js → chunk-J7DRPVMU.js} +35 -5
  62. package/bundle/chunk-J7DRPVMU.js.map +7 -0
  63. package/bundle/{chunk-EGL6UMAO.js → chunk-JG4BKXBN.js} +7 -1
  64. package/bundle/chunk-JG4BKXBN.js.map +7 -0
  65. package/bundle/{chunk-5B5B6EHL.js → chunk-JLWYPGWI.js} +5 -5
  66. package/bundle/{chunk-5QUTMUIK.js → chunk-JXYWDAHD.js} +12 -12
  67. package/bundle/{chunk-GRVWZO4C.js → chunk-KOSFXW2S.js} +24 -3
  68. package/bundle/{chunk-GRVWZO4C.js.map → chunk-KOSFXW2S.js.map} +1 -1
  69. package/bundle/{chunk-ONBF5DDU.js → chunk-L72RIPEC.js} +248 -182
  70. package/bundle/chunk-L72RIPEC.js.map +7 -0
  71. package/bundle/{chunk-TEFZ4JA4.js → chunk-NHPLD3C7.js} +2 -2
  72. package/bundle/{chunk-2KC5G3EA.js → chunk-OWUO5RS3.js} +5 -5
  73. package/bundle/{chunk-4MULJ5SS.js → chunk-OY4Q6AMY.js} +71 -49
  74. package/bundle/chunk-OY4Q6AMY.js.map +7 -0
  75. package/bundle/{chunk-WBTJ2E62.js → chunk-P3NODAHF.js} +2 -5
  76. package/bundle/{chunk-WBTJ2E62.js.map → chunk-P3NODAHF.js.map} +2 -2
  77. package/bundle/{chunk-BROFMHC2.js → chunk-PB5GF4FG.js} +334 -237
  78. package/bundle/chunk-PB5GF4FG.js.map +7 -0
  79. package/bundle/{chunk-WYHGNI56.js → chunk-PMD5BLFS.js} +6 -6
  80. package/bundle/{chunk-URQPDCK5.js → chunk-Q66LQMMZ.js} +3 -3
  81. package/bundle/{chunk-HKRSMUXJ.js → chunk-SC2Y5NR2.js} +71 -132
  82. package/bundle/chunk-SC2Y5NR2.js.map +7 -0
  83. package/bundle/chunk-SFL4EPCZ.js +555 -0
  84. package/bundle/chunk-SFL4EPCZ.js.map +7 -0
  85. package/bundle/{chunk-LDUOOKQY.js → chunk-SJPUNDZ3.js} +5 -5
  86. package/bundle/{chunk-LDUOOKQY.js.map → chunk-SJPUNDZ3.js.map} +1 -1
  87. package/bundle/{chunk-JQDJPUHM.js → chunk-TWB2ZGVH.js} +2 -2
  88. package/bundle/{chunk-IJT4KWXT.js → chunk-U4U47YE7.js} +2 -2
  89. package/bundle/{chunk-2FAZIA37.js → chunk-W546CU3A.js} +3 -3
  90. package/bundle/chunk-WC5O5KOE.js +211 -0
  91. package/bundle/chunk-WC5O5KOE.js.map +7 -0
  92. package/bundle/{chunk-JNIHEDKF.js → chunk-XPWYDNWL.js} +2 -2
  93. package/bundle/{chunk-GWILHZPT.js → chunk-XRTXYN66.js} +10 -7
  94. package/bundle/{chunk-GWILHZPT.js.map → chunk-XRTXYN66.js.map} +2 -2
  95. package/bundle/{chunk-EFJVUJBE.js → chunk-Y5FEFKGM.js} +6 -6
  96. package/bundle/chunk-YJZE4OK3.js +169 -0
  97. package/bundle/chunk-YJZE4OK3.js.map +7 -0
  98. package/bundle/{chunk-GVM5YU5I.js → chunk-Z4FZPB42.js} +2 -2
  99. package/bundle/{chunk-7BSQ5UQO.js → chunk-ZSIDQ66D.js} +3 -3
  100. package/bundle/{chunk-XX6BGTPO.js → chunk-ZZZCJJEO.js} +4 -4
  101. package/bundle/{commands-XYEGVUZF.js → commands-2ZW6CMLC.js} +17 -16
  102. package/bundle/{config-M3P5IOAI.js → config-YMY5YHKN.js} +6 -6
  103. package/bundle/{context-2RJHC2LE.js → context-CL2RSLII.js} +7 -5
  104. package/bundle/context-CL2RSLII.js.map +7 -0
  105. package/bundle/{daemon-TB23FFWY.js → daemon-D7SU63OY.js} +3 -3
  106. package/bundle/{delegation-tools-QKNYQGTQ.js → delegation-tools-WS7Z56KZ.js} +12 -12
  107. package/bundle/{deploy-EPDWNHJU.js → deploy-AMTVKIMU.js} +2 -2
  108. package/bundle/{deps-WVK553KF.js → deps-T63AVJKJ.js} +3 -3
  109. package/bundle/{direct-api-transport-E3LNDBJT.js → direct-api-transport-QNNY2WWP.js} +56 -33
  110. package/bundle/direct-api-transport-QNNY2WWP.js.map +7 -0
  111. package/bundle/{discord-adapter-IT3KP3VB.js → discord-adapter-ABAD56Y2.js} +21 -20
  112. package/bundle/{discord-adapter-IT3KP3VB.js.map → discord-adapter-ABAD56Y2.js.map} +1 -1
  113. package/bundle/{dns-wakeup-IDOJIXBX.js → dns-wakeup-V3LEFXPE.js} +9 -33
  114. package/bundle/dns-wakeup-V3LEFXPE.js.map +7 -0
  115. package/bundle/{doctor-probes-B54JFIW3.js → doctor-probes-O6YI6XSZ.js} +6 -2
  116. package/bundle/{env-schema-4JXQUOH4.js → env-schema-B5RB32DC.js} +3 -3
  117. package/bundle/{gossip-3C3BSNPN.js → gossip-SKRCPOBS.js} +9 -5
  118. package/bundle/{guardrails-DL7ZSWVN.js → guardrails-64GQ5Y5K.js} +4 -4
  119. package/bundle/{heartbeat-system-MVTRS4GP.js → heartbeat-system-X4MUTKJD.js} +6 -6
  120. package/bundle/{heartbeat-tier3-ABWL3P7M.js → heartbeat-tier3-2PTPWEQQ.js} +53 -76
  121. package/bundle/heartbeat-tier3-2PTPWEQQ.js.map +7 -0
  122. package/bundle/{hook-system-M3POLUIB.js → hook-system-YB635OC4.js} +3 -3
  123. package/bundle/{hotskills-FWX4QI7V.js → hotskills-Q75D2DK3.js} +5 -5
  124. package/bundle/{install-OS3CU7NF.js → install-RFKKFSGS.js} +17 -30
  125. package/bundle/install-RFKKFSGS.js.map +7 -0
  126. package/bundle/{install-manifest-5PPWMD2W.js → install-manifest-J7ICPCJN.js} +2 -2
  127. package/bundle/{irc-adapter-PTTZD32W.js → irc-adapter-TVEV4R6H.js} +3 -3
  128. package/bundle/{irc-config-CP7ZMUOX.js → irc-config-M676FOFI.js} +4 -4
  129. package/bundle/{kanban-board-M326B2XJ.js → kanban-board-DLEJUCNN.js} +9 -7
  130. package/bundle/{kanban-channel-IJ52OMNA.js → kanban-channel-XOLUHJZJ.js} +6 -6
  131. package/bundle/kanban-delivery-C4QPBNPX.js +45 -0
  132. package/bundle/kanban-delivery-C4QPBNPX.js.map +7 -0
  133. package/bundle/{lazy-require-KCRVT4SI.js → lazy-require-JKQSALXN.js} +3 -3
  134. package/bundle/{logger-OWCSNYCA.js → logger-3EGHBD4R.js} +2 -2
  135. package/bundle/{main-chat-ZNUZCTNS.js → main-chat-3H63REKK.js} +4 -4
  136. package/bundle/{master-user-HSKM4ZFN.js → master-user-MUBUP3KD.js} +5 -5
  137. package/bundle/{media-utils-3ZYOD7SK.js → media-utils-HUUIALAJ.js} +3 -3
  138. package/bundle/{message-pipeline-P5GAQU4Z.js → message-pipeline-GRDRWONR.js} +17 -16
  139. package/bundle/meta.json +3699 -3138
  140. package/bundle/{metrics-collector-L3VPEHII.js → metrics-collector-YMUGY3PI.js} +31 -2
  141. package/bundle/metrics-collector-YMUGY3PI.js.map +7 -0
  142. package/bundle/{model-health-registry-MLEIZSTV.js → model-health-registry-QADMFQFQ.js} +2 -2
  143. package/bundle/{nerve-IGSXBKZZ.js → nerve-QPAEBRKX.js} +3 -3
  144. package/bundle/{notification-BFSIEECG.js → notification-3JICGXWU.js} +6 -6
  145. package/bundle/{openrouter-credits-NTVZDRYM.js → openrouter-credits-7NEIPYJN.js} +3 -3
  146. package/bundle/{orc-tools-4CHEFWSN.js → orc-tools-UZVPONKY.js} +5 -3
  147. package/bundle/{peer-auth-QC4EF2PM.js → peer-auth-RI43DKJE.js} +24 -15
  148. package/bundle/{peer-client-RGEU5HOK.js → peer-client-UITTMWJ2.js} +34 -29
  149. package/bundle/peer-client-UITTMWJ2.js.map +7 -0
  150. package/bundle/{peer-config-TN55LFDC.js → peer-config-URM7DCW6.js} +9 -4
  151. package/bundle/{peer-transport-I6JPLFZ2.js → peer-transport-SI7I72DB.js} +12 -10
  152. package/bundle/{phase-transport-PGKU2KD4.js → phase-transport-ESWWACZI.js} +17 -17
  153. package/bundle/{reconcile-CTFCLQRN.js → reconcile-GFDQYNBD.js} +3 -3
  154. package/bundle/{reconciler-EBKH3JNU.js → reconciler-IEUJXJN2.js} +12 -12
  155. package/bundle/{restore-IFHPI7I7.js → restore-FARTGLQQ.js} +3 -3
  156. package/bundle/{rollback-ANRI3T5Z.js → rollback-GEWPZABG.js} +2 -2
  157. package/bundle/{sandbox-runtime-QROWHDCS.js → sandbox-runtime-DV6E25J6.js} +2 -2
  158. package/bundle/{self-healer-utils-IFAYOQO2.js → self-healer-utils-P4SKNNEM.js} +3 -3
  159. package/bundle/{sha-tracker-ZWBP6CIJ.js → sha-tracker-77SHLYNY.js} +3 -3
  160. package/bundle/{skill-session-BMSRQSHV.js → skill-session-5HSMXY54.js} +3 -3
  161. package/bundle/{skill-stats-JORH5DGM.js → skill-stats-MI3RSWWL.js} +4 -4
  162. package/bundle/{skill-watcher-E4MGLKLS.js → skill-watcher-5L7JE6TN.js} +4 -4
  163. package/bundle/{sleep-36XS6MHJ.js → sleep-I4JFASCY.js} +11 -8
  164. package/bundle/{soul-bundle-VWAVHCZ6.js → soul-bundle-522C3IRH.js} +9 -8
  165. package/bundle/{spin-TI3TSVVT.js → spin-VHNGNWTD.js} +11 -11
  166. package/bundle/{spin-notifications-SE2HVZI7.js → spin-notifications-7NC5XZEM.js} +5 -5
  167. package/bundle/{spin-types-BLPYAETA.js → spin-types-C5KOQOPD.js} +7 -3
  168. package/bundle/{sse-parser-anthropic-A6R4Z2TB.js → sse-parser-anthropic-MMTVWHLI.js} +3 -3
  169. package/bundle/{sse-parser-responses-HSZY3QGJ.js → sse-parser-responses-3AOFN64C.js} +3 -3
  170. package/bundle/{ssrf-guard-O6SHIK6Q.js → ssrf-guard-U2JA72TC.js} +3 -3
  171. package/bundle/{start-7QZIWO3S.js → start-H5IUFAWF.js} +4 -2
  172. package/bundle/{start-7QZIWO3S.js.map → start-H5IUFAWF.js.map} +2 -2
  173. package/bundle/{stt-LGVPXMVR.js → stt-PSOPPBV4.js} +4 -4
  174. package/bundle/{system-status-JZU5FO7B.js → system-status-4LYGOFNO.js} +38 -24
  175. package/bundle/system-status-4LYGOFNO.js.map +7 -0
  176. package/bundle/{task-store-W5BFIAIH.js → task-store-MNCW42BW.js} +4 -4
  177. package/bundle/{telegram-adapter-H6PMFPMB.js → telegram-adapter-O6KIZDY6.js} +69 -46
  178. package/bundle/telegram-adapter-O6KIZDY6.js.map +7 -0
  179. package/bundle/{tool-registry-IZX2IOBM.js → tool-registry-JJMWCQKZ.js} +26 -24
  180. package/bundle/{tool-sandbox-4UC6GAKA.js → tool-sandbox-CNL6V6IH.js} +4 -4
  181. package/bundle/{transport-config-KBF5W2DP.js → transport-config-6MB2K2XC.js} +7 -7
  182. package/bundle/tribe-GDTFYJTK.js +111 -0
  183. package/bundle/tribe-GDTFYJTK.js.map +7 -0
  184. package/bundle/{update-MESYO4LO.js → update-HGQAOC5L.js} +3 -3
  185. package/bundle/{usage-tracker-NXD364VX.js → usage-tracker-SR4BI6ZT.js} +2 -2
  186. package/bundle/{user-registry-35BW4XKM.js → user-registry-4PACZJIJ.js} +4 -4
  187. package/bundle/wire-platform-KKPWNNNQ.js +88 -0
  188. package/bundle/wire-platform-KKPWNNNQ.js.map +7 -0
  189. package/bundle/ws-peer-client-U3NNPOK7.js +370 -0
  190. package/bundle/ws-peer-client-U3NNPOK7.js.map +7 -0
  191. package/package.json +1 -1
  192. package/scripts/abtars-watchdog.service +2 -1
  193. package/scripts/abtars-watchdog.sh +1 -5
  194. package/scripts/emergency-deploy.sh +2 -2
  195. package/scripts/emergency-update.sh +88 -41
  196. package/bundle/chunk-3AAENI2K.js +0 -210
  197. package/bundle/chunk-3AAENI2K.js.map +0 -7
  198. package/bundle/chunk-4MULJ5SS.js.map +0 -7
  199. package/bundle/chunk-4S554KLW.js +0 -105
  200. package/bundle/chunk-4S554KLW.js.map +0 -7
  201. package/bundle/chunk-5GCLBUBS.js +0 -257
  202. package/bundle/chunk-5GCLBUBS.js.map +0 -7
  203. package/bundle/chunk-BROFMHC2.js.map +0 -7
  204. package/bundle/chunk-EGL6UMAO.js.map +0 -7
  205. package/bundle/chunk-EQSG2CRM.js.map +0 -7
  206. package/bundle/chunk-GXL7HJPT.js.map +0 -7
  207. package/bundle/chunk-HKRSMUXJ.js.map +0 -7
  208. package/bundle/chunk-HT2BPTZY.js +0 -241
  209. package/bundle/chunk-HT2BPTZY.js.map +0 -7
  210. package/bundle/chunk-HZDLFLRP.js.map +0 -7
  211. package/bundle/chunk-IKUZPMVA.js +0 -82
  212. package/bundle/chunk-IKUZPMVA.js.map +0 -7
  213. package/bundle/chunk-LGP6TYFI.js.map +0 -7
  214. package/bundle/chunk-ONBF5DDU.js.map +0 -7
  215. package/bundle/chunk-RWRRGE4U.js +0 -72
  216. package/bundle/chunk-RWRRGE4U.js.map +0 -7
  217. package/bundle/chunk-SIFPBTI4.js.map +0 -7
  218. package/bundle/chunk-VUIX5AGB.js +0 -65
  219. package/bundle/chunk-VUIX5AGB.js.map +0 -7
  220. package/bundle/chunk-W4EA4GCA.js.map +0 -7
  221. package/bundle/chunk-XWRADSXO.js.map +0 -7
  222. package/bundle/chunk-Y76VUJSF.js +0 -75
  223. package/bundle/chunk-Y76VUJSF.js.map +0 -7
  224. package/bundle/chunk-YRU2K3O6.js.map +0 -7
  225. package/bundle/context-2RJHC2LE.js.map +0 -7
  226. package/bundle/direct-api-transport-E3LNDBJT.js.map +0 -7
  227. package/bundle/dns-wakeup-IDOJIXBX.js.map +0 -7
  228. package/bundle/heartbeat-tier3-ABWL3P7M.js.map +0 -7
  229. package/bundle/install-OS3CU7NF.js.map +0 -7
  230. package/bundle/metrics-collector-L3VPEHII.js.map +0 -7
  231. package/bundle/peer-client-RGEU5HOK.js.map +0 -7
  232. package/bundle/peer-jwt-NCCPXJRX.js +0 -18
  233. package/bundle/public/css/dashboard.css +0 -542
  234. package/bundle/public/index.html +0 -180
  235. package/bundle/public/js/app.js +0 -437
  236. package/bundle/public/memory-universe.js +0 -384
  237. package/bundle/stream-single-RFJNUTL6.js +0 -34
  238. package/bundle/stream-single-RFJNUTL6.js.map +0 -7
  239. package/bundle/subagent-runtime-5QUVES3W.js +0 -14
  240. package/bundle/system-status-JZU5FO7B.js.map +0 -7
  241. package/bundle/telegram-adapter-H6PMFPMB.js.map +0 -7
  242. package/bundle/usage-tracker-NXD364VX.js.map +0 -7
  243. package/bundle/user-registry-35BW4XKM.js.map +0 -7
  244. package/bundle/ws-peer-client-AIXCXF7V.js +0 -173
  245. package/bundle/ws-peer-client-AIXCXF7V.js.map +0 -7
  246. /package/bundle/{abmind-lazy-7Z44NODV.js.map → abmind-lazy-E3YCFKQ5.js.map} +0 -0
  247. /package/bundle/{acp-raw-client-E6FM45NC.js.map → acp-raw-client-UCNK3OTU.js.map} +0 -0
  248. /package/bundle/{action-gate-G2V47NHW.js.map → action-gate-V4FCBHFB.js.map} +0 -0
  249. /package/bundle/{agent-api-adapter-YAHKQMMZ.js.map → agent-api-adapter-7HEPYSIN.js.map} +0 -0
  250. /package/bundle/{agent-api-rate-limit-WCFXJMGY.js.map → agent-api-rate-limit-RZSAM3SW.js.map} +0 -0
  251. /package/bundle/{agent-registry-GI6CLT3Z.js.map → agent-registry-46A2R5KP.js.map} +0 -0
  252. /package/bundle/{bootstrap-X2QYIZIJ.js.map → bootstrap-MIHJJSWU.js.map} +0 -0
  253. /package/bundle/{bridge-lock-transport-4ZH7QTJP.js.map → bridge-lock-transport-7RSN7OLJ.js.map} +0 -0
  254. /package/bundle/{browser-DMARZJIN.js.map → browser-F6BCWJWW.js.map} +0 -0
  255. /package/bundle/{budget-45QOBDWA.js.map → budget-WUM3SPKW.js.map} +0 -0
  256. /package/bundle/{capability-JFWX3IQF.js.map → capability-QVRKGRFC.js.map} +0 -0
  257. /package/bundle/{chunk-YSKCQH6E.js.map → chunk-2IYJ4I66.js.map} +0 -0
  258. /package/bundle/{chunk-KTYGKPYM.js.map → chunk-2NLUT5S2.js.map} +0 -0
  259. /package/bundle/{chunk-OKAQICWY.js.map → chunk-3GQX34S2.js.map} +0 -0
  260. /package/bundle/{chunk-QROWBWLL.js.map → chunk-3XZ773BS.js.map} +0 -0
  261. /package/bundle/{chunk-DYBW4XXL.js.map → chunk-467SRLLR.js.map} +0 -0
  262. /package/bundle/{chunk-GPZNXY2U.js.map → chunk-4S3H4OK7.js.map} +0 -0
  263. /package/bundle/{chunk-NDCRWEEJ.js.map → chunk-4Y5MJQRE.js.map} +0 -0
  264. /package/bundle/{chunk-FRKW6LWB.js.map → chunk-55UWKI5C.js.map} +0 -0
  265. /package/bundle/{chunk-4UL3KINB.js.map → chunk-5PNJFDSW.js.map} +0 -0
  266. /package/bundle/{chunk-OXTSWQCX.js.map → chunk-5Y3FJ2Y7.js.map} +0 -0
  267. /package/bundle/{chunk-TMUYFERL.js.map → chunk-6B5ZFUPD.js.map} +0 -0
  268. /package/bundle/{chunk-65VCEC32.js.map → chunk-6PA5JBUU.js.map} +0 -0
  269. /package/bundle/{chunk-AFREM7FX.js.map → chunk-CK7YTA2F.js.map} +0 -0
  270. /package/bundle/{chunk-NRUSRJXR.js.map → chunk-DZJ5QZFD.js.map} +0 -0
  271. /package/bundle/{chunk-YRSMGJFP.js.map → chunk-E67KESEG.js.map} +0 -0
  272. /package/bundle/{chunk-ZV4IWKDJ.js.map → chunk-E7XD5UGB.js.map} +0 -0
  273. /package/bundle/{chunk-PEDX56EL.js.map → chunk-EFGBM555.js.map} +0 -0
  274. /package/bundle/{chunk-UPRZDU6T.js.map → chunk-IY6UKLPS.js.map} +0 -0
  275. /package/bundle/{chunk-EUZDKV3C.js.map → chunk-J4RUFAPK.js.map} +0 -0
  276. /package/bundle/{chunk-5B5B6EHL.js.map → chunk-JLWYPGWI.js.map} +0 -0
  277. /package/bundle/{chunk-5QUTMUIK.js.map → chunk-JXYWDAHD.js.map} +0 -0
  278. /package/bundle/{chunk-TEFZ4JA4.js.map → chunk-NHPLD3C7.js.map} +0 -0
  279. /package/bundle/{chunk-2KC5G3EA.js.map → chunk-OWUO5RS3.js.map} +0 -0
  280. /package/bundle/{chunk-WYHGNI56.js.map → chunk-PMD5BLFS.js.map} +0 -0
  281. /package/bundle/{chunk-URQPDCK5.js.map → chunk-Q66LQMMZ.js.map} +0 -0
  282. /package/bundle/{chunk-JQDJPUHM.js.map → chunk-TWB2ZGVH.js.map} +0 -0
  283. /package/bundle/{chunk-IJT4KWXT.js.map → chunk-U4U47YE7.js.map} +0 -0
  284. /package/bundle/{chunk-2FAZIA37.js.map → chunk-W546CU3A.js.map} +0 -0
  285. /package/bundle/{chunk-JNIHEDKF.js.map → chunk-XPWYDNWL.js.map} +0 -0
  286. /package/bundle/{chunk-EFJVUJBE.js.map → chunk-Y5FEFKGM.js.map} +0 -0
  287. /package/bundle/{chunk-GVM5YU5I.js.map → chunk-Z4FZPB42.js.map} +0 -0
  288. /package/bundle/{chunk-7BSQ5UQO.js.map → chunk-ZSIDQ66D.js.map} +0 -0
  289. /package/bundle/{chunk-XX6BGTPO.js.map → chunk-ZZZCJJEO.js.map} +0 -0
  290. /package/bundle/{commands-XYEGVUZF.js.map → commands-2ZW6CMLC.js.map} +0 -0
  291. /package/bundle/{config-M3P5IOAI.js.map → config-YMY5YHKN.js.map} +0 -0
  292. /package/bundle/{daemon-TB23FFWY.js.map → daemon-D7SU63OY.js.map} +0 -0
  293. /package/bundle/{delegation-tools-QKNYQGTQ.js.map → delegation-tools-WS7Z56KZ.js.map} +0 -0
  294. /package/bundle/{deploy-EPDWNHJU.js.map → deploy-AMTVKIMU.js.map} +0 -0
  295. /package/bundle/{deps-WVK553KF.js.map → deps-T63AVJKJ.js.map} +0 -0
  296. /package/bundle/{doctor-probes-B54JFIW3.js.map → doctor-probes-O6YI6XSZ.js.map} +0 -0
  297. /package/bundle/{env-schema-4JXQUOH4.js.map → env-schema-B5RB32DC.js.map} +0 -0
  298. /package/bundle/{gossip-3C3BSNPN.js.map → gossip-SKRCPOBS.js.map} +0 -0
  299. /package/bundle/{guardrails-DL7ZSWVN.js.map → guardrails-64GQ5Y5K.js.map} +0 -0
  300. /package/bundle/{heartbeat-system-MVTRS4GP.js.map → heartbeat-system-X4MUTKJD.js.map} +0 -0
  301. /package/bundle/{hook-system-M3POLUIB.js.map → hook-system-YB635OC4.js.map} +0 -0
  302. /package/bundle/{hotskills-FWX4QI7V.js.map → hotskills-Q75D2DK3.js.map} +0 -0
  303. /package/bundle/{install-manifest-5PPWMD2W.js.map → install-manifest-J7ICPCJN.js.map} +0 -0
  304. /package/bundle/{irc-adapter-PTTZD32W.js.map → irc-adapter-TVEV4R6H.js.map} +0 -0
  305. /package/bundle/{irc-config-CP7ZMUOX.js.map → irc-config-M676FOFI.js.map} +0 -0
  306. /package/bundle/{kanban-board-M326B2XJ.js.map → kanban-board-DLEJUCNN.js.map} +0 -0
  307. /package/bundle/{kanban-channel-IJ52OMNA.js.map → kanban-channel-XOLUHJZJ.js.map} +0 -0
  308. /package/bundle/{lazy-require-KCRVT4SI.js.map → lazy-require-JKQSALXN.js.map} +0 -0
  309. /package/bundle/{logger-OWCSNYCA.js.map → logger-3EGHBD4R.js.map} +0 -0
  310. /package/bundle/{main-chat-ZNUZCTNS.js.map → main-chat-3H63REKK.js.map} +0 -0
  311. /package/bundle/{master-user-HSKM4ZFN.js.map → master-user-MUBUP3KD.js.map} +0 -0
  312. /package/bundle/{media-utils-3ZYOD7SK.js.map → media-utils-HUUIALAJ.js.map} +0 -0
  313. /package/bundle/{message-pipeline-P5GAQU4Z.js.map → message-pipeline-GRDRWONR.js.map} +0 -0
  314. /package/bundle/{model-health-registry-MLEIZSTV.js.map → model-health-registry-QADMFQFQ.js.map} +0 -0
  315. /package/bundle/{nerve-IGSXBKZZ.js.map → nerve-QPAEBRKX.js.map} +0 -0
  316. /package/bundle/{notification-BFSIEECG.js.map → notification-3JICGXWU.js.map} +0 -0
  317. /package/bundle/{openrouter-credits-NTVZDRYM.js.map → openrouter-credits-7NEIPYJN.js.map} +0 -0
  318. /package/bundle/{orc-tools-4CHEFWSN.js.map → orc-tools-UZVPONKY.js.map} +0 -0
  319. /package/bundle/{peer-auth-QC4EF2PM.js.map → peer-auth-RI43DKJE.js.map} +0 -0
  320. /package/bundle/{peer-config-TN55LFDC.js.map → peer-config-URM7DCW6.js.map} +0 -0
  321. /package/bundle/{peer-jwt-NCCPXJRX.js.map → peer-transport-SI7I72DB.js.map} +0 -0
  322. /package/bundle/{peer-transport-I6JPLFZ2.js.map → phase-transport-ESWWACZI.js.map} +0 -0
  323. /package/bundle/{phase-transport-PGKU2KD4.js.map → reconcile-GFDQYNBD.js.map} +0 -0
  324. /package/bundle/{reconciler-EBKH3JNU.js.map → reconciler-IEUJXJN2.js.map} +0 -0
  325. /package/bundle/{restore-IFHPI7I7.js.map → restore-FARTGLQQ.js.map} +0 -0
  326. /package/bundle/{reconcile-CTFCLQRN.js.map → rollback-GEWPZABG.js.map} +0 -0
  327. /package/bundle/{sandbox-runtime-QROWHDCS.js.map → sandbox-runtime-DV6E25J6.js.map} +0 -0
  328. /package/bundle/{self-healer-utils-IFAYOQO2.js.map → self-healer-utils-P4SKNNEM.js.map} +0 -0
  329. /package/bundle/{rollback-ANRI3T5Z.js.map → sha-tracker-77SHLYNY.js.map} +0 -0
  330. /package/bundle/{skill-session-BMSRQSHV.js.map → skill-session-5HSMXY54.js.map} +0 -0
  331. /package/bundle/{sha-tracker-ZWBP6CIJ.js.map → skill-stats-MI3RSWWL.js.map} +0 -0
  332. /package/bundle/{skill-stats-JORH5DGM.js.map → skill-watcher-5L7JE6TN.js.map} +0 -0
  333. /package/bundle/{skill-watcher-E4MGLKLS.js.map → sleep-I4JFASCY.js.map} +0 -0
  334. /package/bundle/{sleep-36XS6MHJ.js.map → soul-bundle-522C3IRH.js.map} +0 -0
  335. /package/bundle/{soul-bundle-VWAVHCZ6.js.map → spin-VHNGNWTD.js.map} +0 -0
  336. /package/bundle/{spin-notifications-SE2HVZI7.js.map → spin-notifications-7NC5XZEM.js.map} +0 -0
  337. /package/bundle/{spin-TI3TSVVT.js.map → spin-types-C5KOQOPD.js.map} +0 -0
  338. /package/bundle/{sse-parser-anthropic-A6R4Z2TB.js.map → sse-parser-anthropic-MMTVWHLI.js.map} +0 -0
  339. /package/bundle/{sse-parser-responses-HSZY3QGJ.js.map → sse-parser-responses-3AOFN64C.js.map} +0 -0
  340. /package/bundle/{ssrf-guard-O6SHIK6Q.js.map → ssrf-guard-U2JA72TC.js.map} +0 -0
  341. /package/bundle/{spin-types-BLPYAETA.js.map → stt-PSOPPBV4.js.map} +0 -0
  342. /package/bundle/{stt-LGVPXMVR.js.map → task-store-MNCW42BW.js.map} +0 -0
  343. /package/bundle/{subagent-runtime-5QUVES3W.js.map → tool-registry-JJMWCQKZ.js.map} +0 -0
  344. /package/bundle/{task-store-W5BFIAIH.js.map → tool-sandbox-CNL6V6IH.js.map} +0 -0
  345. /package/bundle/{tool-registry-IZX2IOBM.js.map → transport-config-6MB2K2XC.js.map} +0 -0
  346. /package/bundle/{tool-sandbox-4UC6GAKA.js.map → update-HGQAOC5L.js.map} +0 -0
  347. /package/bundle/{transport-config-KBF5W2DP.js.map → usage-tracker-SR4BI6ZT.js.map} +0 -0
  348. /package/bundle/{update-MESYO4LO.js.map → user-registry-4PACZJIJ.js.map} +0 -0
@@ -2,26 +2,26 @@
2
2
  import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
3
3
  import {
4
4
  readEnvWithDefault
5
- } from "./chunk-YRSMGJFP.js";
5
+ } from "./chunk-E67KESEG.js";
6
6
  import {
7
7
  TRANSPORT_SCHEMA,
8
8
  init_config_validator,
9
9
  validateShape
10
- } from "./chunk-LUNA6PM5.js";
10
+ } from "./chunk-5RVOEFGT.js";
11
11
  import {
12
12
  getEnv,
13
13
  init_env_schema
14
- } from "./chunk-65VCEC32.js";
14
+ } from "./chunk-6PA5JBUU.js";
15
15
  import {
16
16
  init_log_and_swallow,
17
17
  logAndSwallow
18
- } from "./chunk-YSKCQH6E.js";
18
+ } from "./chunk-2IYJ4I66.js";
19
19
  import {
20
20
  init_logger,
21
21
  logError,
22
22
  logInfo,
23
23
  logWarn
24
- } from "./chunk-GWILHZPT.js";
24
+ } from "./chunk-XRTXYN66.js";
25
25
  import {
26
26
  abtarsHome,
27
27
  init_paths
@@ -411,4 +411,4 @@ export {
411
411
  validateProviderReady,
412
412
  formatValidationError
413
413
  };
414
- //# sourceMappingURL=chunk-WYHGNI56.js.map
414
+ //# sourceMappingURL=chunk-PMD5BLFS.js.map
@@ -3,11 +3,11 @@
3
3
  import {
4
4
  getEnv,
5
5
  init_env_schema
6
- } from "./chunk-65VCEC32.js";
6
+ } from "./chunk-6PA5JBUU.js";
7
7
  import {
8
8
  init_logger,
9
9
  logWarn
10
- } from "./chunk-GWILHZPT.js";
10
+ } from "./chunk-XRTXYN66.js";
11
11
  import {
12
12
  __esm,
13
13
  __export
@@ -124,4 +124,4 @@ export {
124
124
  guardrails_exports,
125
125
  init_guardrails
126
126
  };
127
- //# sourceMappingURL=chunk-URQPDCK5.js.map
127
+ //# sourceMappingURL=chunk-Q66LQMMZ.js.map
@@ -2,34 +2,34 @@
2
2
  import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
3
3
  import {
4
4
  setIdleCompactReset
5
- } from "./chunk-BROFMHC2.js";
5
+ } from "./chunk-PB5GF4FG.js";
6
6
  import {
7
7
  updateCtxStart
8
- } from "./chunk-JQDJPUHM.js";
8
+ } from "./chunk-TWB2ZGVH.js";
9
9
  import {
10
10
  addTaskFailure
11
11
  } from "./chunk-ZAA7B5BN.js";
12
12
  import {
13
13
  loadTransport,
14
14
  resolveAgent
15
- } from "./chunk-WYHGNI56.js";
15
+ } from "./chunk-PMD5BLFS.js";
16
16
  import {
17
17
  init_spin,
18
18
  spin
19
- } from "./chunk-ONBF5DDU.js";
19
+ } from "./chunk-L72RIPEC.js";
20
20
  import {
21
21
  abmind
22
- } from "./chunk-IKUZPMVA.js";
22
+ } from "./chunk-YJZE4OK3.js";
23
23
  import {
24
24
  init_bridge_lock_transport,
25
25
  readBridgeLockField,
26
26
  readLastPromptAt
27
- } from "./chunk-GRVWZO4C.js";
27
+ } from "./chunk-KOSFXW2S.js";
28
28
  import {
29
29
  init_kanban_board,
30
30
  kanbanComplete,
31
31
  kanbanFail
32
- } from "./chunk-EQSG2CRM.js";
32
+ } from "./chunk-FGYDIX54.js";
33
33
  import {
34
34
  require_dist
35
35
  } from "./chunk-WTIGZO3N.js";
@@ -39,22 +39,22 @@ import {
39
39
  recordRun,
40
40
  removeEntry,
41
41
  writeEntry
42
- } from "./chunk-PEDX56EL.js";
42
+ } from "./chunk-EFGBM555.js";
43
43
  import {
44
44
  getEnv,
45
45
  init_env_schema
46
- } from "./chunk-65VCEC32.js";
46
+ } from "./chunk-6PA5JBUU.js";
47
47
  import {
48
48
  init_log_and_swallow,
49
49
  logAndSwallow
50
- } from "./chunk-YSKCQH6E.js";
50
+ } from "./chunk-2IYJ4I66.js";
51
51
  import {
52
52
  init_logger,
53
53
  logDebug,
54
54
  logError,
55
55
  logInfo,
56
56
  logWarn
57
- } from "./chunk-GWILHZPT.js";
57
+ } from "./chunk-XRTXYN66.js";
58
58
  import {
59
59
  localDate
60
60
  } from "./chunk-DGS7J4P6.js";
@@ -272,7 +272,7 @@ function createAgeCheckTask(deps) {
272
272
  if (!isDailyCycleDue(deps)) return;
273
273
  logInfo("age-check", `\u{1F634} BED_TIME (${deps.sleepHour}:${String(deps.sleepMinute).padStart(2, "0")}) \u2014 spawning Dreamy`);
274
274
  try {
275
- import("./doctor-probes-B54JFIW3.js").then((m) => m.runFixes()).catch(() => {
275
+ import("./doctor-probes-O6YI6XSZ.js").then((m) => m.runFixes()).catch(() => {
276
276
  });
277
277
  } catch (err) {
278
278
  logAndSwallow("heartbeat_tasks", "op", err);
@@ -353,7 +353,7 @@ function createSkillStatsFlushTask() {
353
353
  execute: async () => {
354
354
  if (Date.now() - lastFlushAt < INTERVAL_MS) return;
355
355
  lastFlushAt = Date.now();
356
- const { flush } = await import("./skill-stats-JORH5DGM.js");
356
+ const { flush } = await import("./skill-stats-MI3RSWWL.js");
357
357
  flush();
358
358
  }
359
359
  };
@@ -375,7 +375,7 @@ function createSkillReloadTask() {
375
375
  const mtime = statSync2(skillsDir).mtimeMs;
376
376
  if (mtime === lastMtime) return;
377
377
  lastMtime = mtime;
378
- const { reloadCatalog } = await import("./hotskills-FWX4QI7V.js");
378
+ const { reloadCatalog } = await import("./hotskills-Q75D2DK3.js");
379
379
  const count = reloadCatalog();
380
380
  logInfo("skill-reload", `Catalog regenerated: ${count} skills`);
381
381
  } catch {
@@ -383,50 +383,11 @@ function createSkillReloadTask() {
383
383
  }
384
384
  };
385
385
  }
386
- function createKanbanDeliveryTask(deps) {
387
- return {
388
- name: "kanban-delivery",
389
- execute: async () => {
390
- try {
391
- const { kanbanPending, kanbanSetDelivering, kanbanMarkDelivered, kanbanDeliveryFailed } = await import("./kanban-board-M326B2XJ.js");
392
- const pending = kanbanPending();
393
- if (pending.length === 0) return;
394
- for (const card of pending) {
395
- if (card.delivery_mode === "silent") {
396
- kanbanMarkDelivered(card.id);
397
- continue;
398
- }
399
- kanbanSetDelivering(card.id);
400
- try {
401
- if (card.delivery_mode === "deliver") {
402
- if (card.result_path) await deps.sendDocument(deps.chatId(), card.result_path, card.title);
403
- await deps.sendSystemMessage(`[SYSTEM] Task "${card.title}" complete. File delivered: ${card.result_path ?? "(no file)"}`);
404
- } else {
405
- await deps.sendSystemMessage(
406
- `[TASK COMPLETE] "${card.title}" done.
407
- Result:
408
- ${card.result_summary ?? "(no output)"}
409
-
410
- Deliver this to the user naturally.`
411
- );
412
- }
413
- kanbanMarkDelivered(card.id);
414
- } catch (err) {
415
- kanbanDeliveryFailed(card.id);
416
- logError(TAG3, `Kanban delivery failed for card ${card.id}: ${err}`);
417
- }
418
- }
419
- } catch (err) {
420
- logAndSwallow(TAG3, "kanban-delivery", err);
421
- }
422
- }
423
- };
424
- }
425
386
  function createUserSessionExpiryTask() {
426
387
  return {
427
388
  name: "user-session-expiry",
428
389
  execute: async () => {
429
- const { spin: spin2 } = await import("./spin-TI3TSVVT.js");
390
+ const { spin: spin2 } = await import("./spin-VHNGNWTD.js");
430
391
  const sessions = spin2.listAllSessions();
431
392
  if (!sessions.length) return;
432
393
  const now = Date.now();
@@ -449,7 +410,7 @@ function createKanbanCleanupTask() {
449
410
  counter++;
450
411
  if (counter % 72 !== 0) return;
451
412
  try {
452
- const { kanbanCleanup } = await import("./kanban-board-M326B2XJ.js");
413
+ const { kanbanCleanup } = await import("./kanban-board-DLEJUCNN.js");
453
414
  const purged = kanbanCleanup(7);
454
415
  if (purged > 0) logInfo(TAG3, `Kanban: purged ${purged} delivered cards > 7d`);
455
416
  } catch (err) {
@@ -465,7 +426,7 @@ function createMetricsTask(cronQueueDepth) {
465
426
  name: "metrics",
466
427
  execute: async () => {
467
428
  try {
468
- const { recordCronDepth, flushToFile, pruneMetricsFile } = await import("./metrics-collector-L3VPEHII.js");
429
+ const { recordCronDepth, flushToFile, pruneMetricsFile } = await import("./metrics-collector-YMUGY3PI.js");
469
430
  recordCronDepth(cronQueueDepth());
470
431
  flushCounter++;
471
432
  if (flushCounter % 6 === 0) flushToFile();
@@ -588,17 +549,28 @@ function checkDoD(paths) {
588
549
  const results = [];
589
550
  let allPassed = true;
590
551
  for (const p of paths) {
591
- if (!existsSync2(p)) {
552
+ let size = null;
553
+ if (existsSync2(p)) {
554
+ size = statSync(p).size;
555
+ } else {
556
+ const deadline = Date.now() + 1500;
557
+ while (Date.now() < deadline) {
558
+ const remaining = deadline - Date.now();
559
+ if (remaining > 0) Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, Math.min(remaining, 200));
560
+ if (existsSync2(p)) {
561
+ size = statSync(p).size;
562
+ break;
563
+ }
564
+ }
565
+ }
566
+ if (size === null) {
592
567
  results.push(`\u2717 missing: ${p}`);
593
568
  allPassed = false;
569
+ } else if (size < DOD_MIN_BYTES) {
570
+ results.push(`\u2717 too small (${size}B): ${p}`);
571
+ allPassed = false;
594
572
  } else {
595
- const size = statSync(p).size;
596
- if (size < DOD_MIN_BYTES) {
597
- results.push(`\u2717 too small (${size}B): ${p}`);
598
- allPassed = false;
599
- } else {
600
- results.push(`\u2713 ${p} (${size}B)`);
601
- }
573
+ results.push(`\u2713 ${p} (${size}B)`);
602
574
  }
603
575
  }
604
576
  return { passed: allPassed, details: results.join("\n") };
@@ -739,7 +711,7 @@ var CronQueue = class {
739
711
  }
740
712
  runOrc(entry) {
741
713
  logInfo(TAG4, `\u25B6 Orc: "${entry.message.slice(0, 60)}"`);
742
- import("./spin-TI3TSVVT.js").then(({ spin: spin2 }) => {
714
+ import("./spin-VHNGNWTD.js").then(({ spin: spin2 }) => {
743
715
  spin2.dispatch({ type: "O", goal: entry.message, source: "task", priority: entry.priority ?? "MEDIUM", deliveryMode: entry.deliveryMode });
744
716
  this.clearCurrent();
745
717
  this.processNext();
@@ -806,6 +778,16 @@ ${(output || "(no output)").slice(0, 500)}`);
806
778
  const idleMs = Date.now() - readLastPromptAt();
807
779
  if (idleMs < 9e4) {
808
780
  logInfo(TAG4, `\u23F8 Deferring agent task "${entry.id}" \u2014 user active ${Math.round(idleMs / 1e3)}s ago`);
781
+ entry.consecutiveFails = (entry.consecutiveFails ?? 0) + 1;
782
+ if (entry.consecutiveFails >= 3) {
783
+ entry.paused = true;
784
+ logWarn(TAG4, `\u23F8 Auto-paused "${entry.id}" after ${entry.consecutiveFails} idle-gate deferrals`);
785
+ this.onTaskPaused?.(entry.chatId, entry.title ?? entry.message.slice(0, 60), `idle-gate hit ${entry.consecutiveFails}\xD7 in a row`);
786
+ }
787
+ writeEntry(entry);
788
+ scheduleRetry(entry, !!entry._retrying);
789
+ this.clearCurrent();
790
+ this.processNext();
809
791
  return;
810
792
  }
811
793
  }
@@ -837,7 +819,7 @@ ${prompt}`;
837
819
  if (entry.targetUserId) {
838
820
  this.setCurrent(entry, 0, "agent");
839
821
  try {
840
- const { spin: spin3 } = await import("./spin-TI3TSVVT.js");
822
+ const { spin: spin3 } = await import("./spin-VHNGNWTD.js");
841
823
  const response = await spin3.injectGreeting(entry.targetUserId, prompt);
842
824
  if (response) {
843
825
  recordRunToFile(entry.id, 0);
@@ -858,7 +840,7 @@ ${prompt}`;
858
840
  }
859
841
  this.setCurrent(entry, 0, "agent");
860
842
  if (entry.skill) {
861
- const { launchSkill } = await import("./skill-session-BMSRQSHV.js");
843
+ const { launchSkill } = await import("./skill-session-5HSMXY54.js");
862
844
  const userId = entry.targetUserId ?? String(entry.chatId);
863
845
  const err = await launchSkill(entry.skill, userId, String(entry.chatId), prompt);
864
846
  if (err) logWarn(TAG4, `Skill launch failed for "${entry.id}": ${err}`);
@@ -872,13 +854,13 @@ ${prompt}`;
872
854
  const workspace = join2(abtarsHome(), "workspace", entry.id);
873
855
  mkdirSync2(workspace, { recursive: true });
874
856
  process.env["WORKSPACE"] = workspace;
875
- const { spin: spin2 } = await import("./spin-TI3TSVVT.js");
857
+ const { spin: spin2 } = await import("./spin-VHNGNWTD.js");
876
858
  this.timeout = setTimeout(() => {
877
859
  logWarn(TAG4, `\u23F1\uFE0F Agent "${entry.id}" timed out (30min)`);
878
860
  }, AGENT_TIMEOUT_MS);
879
861
  const AGENT_SESSION = { professor: "A", browsie: "B", coding: "C", dreamy: "D" };
880
862
  const sessionType = AGENT_SESSION[entry.agent ?? ""] ?? "T";
881
- spin2.dispatchAwait({ type: sessionType, title: entry.title ?? entry.message.slice(0, 80), goal: prompt, source: "task", priority: entry.priority ?? "MEDIUM", chatId: String(entry.chatId), deliveryMode: entry.deliveryMode }).then(({ cardId: boardId, result: response }) => {
863
+ spin2.dispatchAwait({ type: sessionType, title: entry.title ?? entry.message.slice(0, 80), goal: prompt, source: "task", priority: entry.priority ?? "MEDIUM", chatId: String(entry.chatId), deliveryMode: entry.deliveryMode, maxToolRounds: entry.maxToolRounds }).then(({ cardId: boardId, result: response }) => {
882
864
  let cleaned = response || "(no output)";
883
865
  try {
884
866
  const parsed = JSON.parse(cleaned);
@@ -1048,10 +1030,11 @@ Exception: fixing JSON structural corruption (invalid syntax, parse errors) is a
1048
1030
  A single task failure is NOT grounds for config changes. Investigate root cause, report findings.`;
1049
1031
  void (async () => {
1050
1032
  try {
1051
- const { SubagentRuntime } = await import("./subagent-runtime-5QUVES3W.js");
1052
- const runtime = new SubagentRuntime();
1053
- await runtime.complete("coding", msg, { sessionType: "S" });
1054
- await runtime.shutdown();
1033
+ await ctx.sessionManager.spin({
1034
+ type: "S",
1035
+ prompt: msg,
1036
+ await: true
1037
+ });
1055
1038
  } catch (err) {
1056
1039
  logWarn("main", `SHA session failed: ${err}`);
1057
1040
  } finally {
@@ -1072,7 +1055,7 @@ Resume with: /task resume <id>`;
1072
1055
  ctx.cronQueue = cronQueue;
1073
1056
  const cronCallback = (_chatId, _message, _result, _dodFiles) => {
1074
1057
  };
1075
- const { setEnqueueCron } = await import("./tool-registry-IZX2IOBM.js");
1058
+ const { setEnqueueCron } = await import("./tool-registry-JJMWCQKZ.js");
1076
1059
  const enqueueCron = (id, manual) => {
1077
1060
  try {
1078
1061
  const entry = readEntry(id);
@@ -1083,10 +1066,10 @@ Resume with: /task resume <id>`;
1083
1066
  }
1084
1067
  };
1085
1068
  setEnqueueCron(enqueueCron);
1086
- const { spin: spin2 } = await import("./spin-TI3TSVVT.js");
1069
+ const { spin: spin2 } = await import("./spin-VHNGNWTD.js");
1087
1070
  spin2.setRuntime(ctx.runtime);
1088
1071
  if (ctx.memory) spin2.setMemory(ctx.memory);
1089
- const { loadUsers } = await import("./user-registry-35BW4XKM.js");
1072
+ const { loadUsers } = await import("./user-registry-4PACZJIJ.js");
1090
1073
  const registry = loadUsers();
1091
1074
  const masterUser = registry.users.find((u) => u.role === "master");
1092
1075
  if (masterUser && transport) {
@@ -1101,12 +1084,12 @@ Resume with: /task resume <id>`;
1101
1084
  }
1102
1085
  }
1103
1086
  if (transport && "setSystemPrompt" in transport && typeof transport.setSystemPrompt === "function") {
1104
- const { buildSoulBundle } = await import("./soul-bundle-VWAVHCZ6.js");
1087
+ const { buildSoulBundle } = await import("./soul-bundle-522C3IRH.js");
1105
1088
  const bundle = buildSoulBundle("A", ctx.memory ?? null);
1106
1089
  if (bundle) transport.setSystemPrompt(bundle);
1107
1090
  }
1108
- await import("./spin-notifications-SE2HVZI7.js");
1109
- const { readBridgeLockField: readBridgeLockField2 } = await import("./bridge-lock-transport-4ZH7QTJP.js");
1091
+ await import("./spin-notifications-7NC5XZEM.js");
1092
+ const { readBridgeLockField: readBridgeLockField2 } = await import("./bridge-lock-transport-7RSN7OLJ.js");
1110
1093
  const orcCard = readBridgeLockField2("orc_active");
1111
1094
  if (orcCard) {
1112
1095
  logInfo("boot", `Orc was active (card #${orcCard}) \u2014 resuming`);
@@ -1135,7 +1118,7 @@ Resume with: /task resume <id>`;
1135
1118
  selfHealerTask: null,
1136
1119
  hailMary: ctx.hailMary,
1137
1120
  rebuildTransport: async () => {
1138
- const { rebuildTransport } = await import("./phase-transport-PGKU2KD4.js");
1121
+ const { rebuildTransport } = await import("./phase-transport-ESWWACZI.js");
1139
1122
  await rebuildTransport(ctx);
1140
1123
  },
1141
1124
  phaseHealth: ctx.phaseHealth,
@@ -1154,57 +1137,14 @@ Resume with: /task resume <id>`;
1154
1137
  }
1155
1138
  };
1156
1139
  ctx.pipelineDeps = pipelineDeps;
1157
- const { handleInboundMessage } = await import("./message-pipeline-P5GAQU4Z.js");
1158
- if (ctx.telegramAdapter) {
1159
- ctx.telegramAdapter.setMessageHandler({ pipeline: pipelineDeps, conversationBuffer: ctx.conversationBuffer, transport, memory: ctx.memory, sessionManager: ctx.sessionManager, actionGate: ctx.actionGate });
1160
- logInfo("boot", "Telegram: full pipeline wired");
1161
- }
1162
- if (ctx.discordAdapter) {
1163
- ctx.discordAdapter.setMessageHandler({ pipeline: pipelineDeps, transport, memory: ctx.memory, conversationBuffer: ctx.conversationBuffer });
1164
- logInfo("boot", "Discord: full pipeline wired");
1165
- }
1166
- for (const [name, adapter] of ctx.platformAdapters) {
1167
- if (name === "irc" && "setMessageHandler" in adapter) {
1168
- adapter.setMessageHandler((msg) => handleInboundMessage(msg, adapter, pipelineDeps));
1169
- logInfo("boot", "IRC: full pipeline wired");
1170
- }
1171
- }
1172
- const recoveryQueue = ctx._recoveryQueue;
1173
- if (recoveryQueue?.length) {
1174
- logInfo("boot", `Draining ${recoveryQueue.length} queued message(s) from recovery handler`);
1175
- for (const { msg, adapter } of recoveryQueue) {
1176
- handleInboundMessage(msg, adapter, pipelineDeps).catch((err) => logWarn("boot", `Drain error: ${err}`));
1177
- }
1178
- recoveryQueue.length = 0;
1179
- }
1180
- if (ctx.telegramAdapter) {
1181
- const mainChatId = config.mainChatId;
1182
- if (mainChatId) {
1183
- const { setSendDocument } = await import("./tool-registry-IZX2IOBM.js");
1184
- setSendDocument((path, caption) => ctx.telegramAdapter.sendDocument(String(mainChatId), path, caption));
1185
- if (ctx.actionGate) {
1186
- const api = ctx.telegramAdapter.api;
1187
- const chatId = String(mainChatId);
1188
- ctx.actionGate.setNotify(async (text, buttons) => {
1189
- const opts = {};
1190
- if (buttons.length > 0) {
1191
- opts.reply_markup = { inline_keyboard: [buttons.map((b) => ({ text: b.text, callback_data: b.data }))] };
1192
- }
1193
- await api.sendMessage(chatId, text, opts);
1194
- });
1195
- }
1196
- }
1197
- }
1198
- const ircAdapter = ctx.platformAdapters.get("irc");
1199
- if (ircAdapter) {
1200
- const { setIrcSend } = await import("./tool-registry-IZX2IOBM.js");
1201
- setIrcSend((channel, message) => {
1202
- ircAdapter.sendMessage(channel, message);
1203
- });
1204
- }
1205
- const { initChannelSync } = await import("./kanban-channel-IJ52OMNA.js");
1140
+ const { wireTelegram, wireDiscord, wireIrc, drainRecoveryQueue } = await import("./wire-platform-KKPWNNNQ.js");
1141
+ await wireTelegram(ctx);
1142
+ await wireDiscord(ctx);
1143
+ await wireIrc(ctx);
1144
+ await drainRecoveryQueue(ctx);
1145
+ const { initChannelSync } = await import("./kanban-channel-XOLUHJZJ.js");
1206
1146
  initChannelSync();
1207
- const { registerTier3Tasks } = await import("./heartbeat-tier3-ABWL3P7M.js");
1147
+ const { registerTier3Tasks } = await import("./heartbeat-tier3-2PTPWEQQ.js");
1208
1148
  await registerTier3Tasks(ctx);
1209
1149
  return "ran";
1210
1150
  }
@@ -1223,11 +1163,10 @@ export {
1223
1163
  createUpdateCheckTask,
1224
1164
  createSkillStatsFlushTask,
1225
1165
  createSkillReloadTask,
1226
- createKanbanDeliveryTask,
1227
1166
  createUserSessionExpiryTask,
1228
1167
  createKanbanCleanupTask,
1229
1168
  createMetricsTask,
1230
1169
  phasePipelineDeps,
1231
1170
  createCronCallback
1232
1171
  };
1233
- //# sourceMappingURL=chunk-HKRSMUXJ.js.map
1172
+ //# sourceMappingURL=chunk-SC2Y5NR2.js.map