@namzu/cli 37.1.0 → 37.2.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 (242) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-T46275W3.js → acp-WRUFVVVS.js} +38 -34
  4. package/dist/chunks/{acp-T46275W3.js.map → acp-WRUFVVVS.js.map} +1 -1
  5. package/dist/chunks/{activity-command-U3KHRDTY.js → activity-command-7GP4PLBD.js} +11 -11
  6. package/dist/chunks/{add-Q2HPE26F.js → add-KNRDMCME.js} +15 -15
  7. package/dist/chunks/{agent-KSRUGF37.js → agent-LZDDK3NN.js} +26 -26
  8. package/dist/chunks/agent-session-2XPAWSJU.js +51 -0
  9. package/dist/chunks/{archive-NQ527SKW.js → archive-PNHAJS2H.js} +9 -9
  10. package/dist/chunks/{bin-main-72QPYEQ5.js → bin-main-Y2J7CPYI.js} +3 -3
  11. package/dist/chunks/{browser-NQAXUNRS.js → browser-RVLLK6CN.js} +6 -6
  12. package/dist/chunks/{chat-QSA5IBTG.js → chat-YF3TI43Y.js} +14 -14
  13. package/dist/chunks/{chunk-4WDWLAQ5.js → chunk-2TDWK353.js} +9 -9
  14. package/dist/chunks/{chunk-GSZCV2P3.js → chunk-34IZ6DMB.js} +2 -2
  15. package/dist/chunks/{chunk-ACJ37X25.js → chunk-37FCG7VX.js} +2 -2
  16. package/dist/chunks/{chunk-FUORCVIN.js → chunk-4GIDESAM.js} +4 -4
  17. package/dist/chunks/{chunk-6SKQVVXO.js → chunk-4H4YDNND.js} +28 -28
  18. package/dist/chunks/{chunk-OYJCMNOO.js → chunk-5NHKC3NO.js} +4 -4
  19. package/dist/chunks/{chunk-5X7RU64G.js → chunk-5YERJLR7.js} +4 -4
  20. package/dist/chunks/{chunk-5EQTZ4HK.js → chunk-72TESSG2.js} +4 -4
  21. package/dist/chunks/{chunk-HMORKNX3.js → chunk-77AX2GEP.js} +5180 -4418
  22. package/dist/chunks/chunk-77AX2GEP.js.map +6 -0
  23. package/dist/chunks/{chunk-HTXPBXXP.js → chunk-A5GALFIC.js} +2 -2
  24. package/dist/chunks/{chunk-7INJDLWA.js → chunk-ABHX2QBJ.js} +4 -4
  25. package/dist/chunks/{chunk-LVW3JXVJ.js → chunk-DRXG4OLL.js} +4 -4
  26. package/dist/chunks/{chunk-2GTBCI2R.js → chunk-DS2PIOVD.js} +3 -3
  27. package/dist/chunks/{chunk-ADJCEQGK.js → chunk-DW23UIKM.js} +2 -2
  28. package/dist/chunks/{chunk-LZISO3TE.js → chunk-E6RPYGJP.js} +3 -3
  29. package/dist/chunks/{chunk-DPCUP4TI.js → chunk-ERY3CYIM.js} +4 -4
  30. package/dist/chunks/{chunk-UC3UARTL.js → chunk-GEB3OP2H.js} +155 -23
  31. package/dist/chunks/chunk-GEB3OP2H.js.map +6 -0
  32. package/dist/chunks/{chunk-XB7HBRSL.js → chunk-GYM3FUBH.js} +2 -2
  33. package/dist/chunks/{chunk-A3TBA7LQ.js → chunk-HFFINVNN.js} +3 -3
  34. package/dist/chunks/{chunk-6CD4ZJWY.js → chunk-HFMDSVBA.js} +2 -2
  35. package/dist/chunks/{chunk-S72MTTOC.js → chunk-HFUBLJE5.js} +2 -2
  36. package/dist/chunks/{chunk-3TGNRSKG.js → chunk-HJBZYFCC.js} +6 -6
  37. package/dist/chunks/{chunk-AEWKXISZ.js → chunk-HLHYVGQE.js} +13 -13
  38. package/dist/chunks/{chunk-WU5K7PF3.js → chunk-HRRQSXVP.js} +13 -11
  39. package/dist/chunks/{chunk-WU5K7PF3.js.map → chunk-HRRQSXVP.js.map} +1 -1
  40. package/dist/chunks/{chunk-FXXP6QP6.js → chunk-HS3TPTJ3.js} +2 -2
  41. package/dist/chunks/{chunk-IB7UOMAQ.js → chunk-KK73BCYK.js} +5 -5
  42. package/dist/chunks/{chunk-QINC4TIT.js → chunk-KSLX3NGM.js} +3 -3
  43. package/dist/chunks/{chunk-TI7LE6F5.js → chunk-LO5DFG6H.js} +2 -2
  44. package/dist/chunks/{chunk-ZNO7XIZU.js → chunk-M2SQW7DK.js} +3 -3
  45. package/dist/chunks/{chunk-ZGP5MF2Q.js → chunk-M46XYX7O.js} +3 -3
  46. package/dist/chunks/{chunk-GXQAMIQA.js → chunk-MF45FNH3.js} +3 -3
  47. package/dist/chunks/{chunk-VSLHC665.js → chunk-MUG3SBGU.js} +3 -3
  48. package/dist/chunks/{chunk-5LO5YWAO.js → chunk-MULW7FFH.js} +4 -4
  49. package/dist/chunks/{chunk-NIBOMW4E.js → chunk-N2CP3FIQ.js} +4 -4
  50. package/dist/chunks/{chunk-KB7EM3DJ.js → chunk-N3YMYKEU.js} +2 -2
  51. package/dist/chunks/{chunk-TTCXFX6V.js → chunk-ND6ZNIUM.js} +5 -5
  52. package/dist/chunks/{chunk-TGZ7OLDL.js → chunk-NYRBM7PR.js} +7 -7
  53. package/dist/chunks/{chunk-LCFHDWTA.js → chunk-O6X4O7VQ.js} +3 -3
  54. package/dist/chunks/{chunk-4MZXZCPR.js → chunk-POEIV6AQ.js} +2 -2
  55. package/dist/chunks/{chunk-MOI4XD5Z.js → chunk-PSLRTJU5.js} +8 -8
  56. package/dist/chunks/{chunk-OTTDC3KF.js → chunk-QWCASGYH.js} +4 -4
  57. package/dist/chunks/{chunk-MRQ2UQG5.js → chunk-R7HI2NMR.js} +2 -2
  58. package/dist/chunks/{chunk-4K3ABOWX.js → chunk-REBTUQC6.js} +6 -6
  59. package/dist/chunks/{chunk-MB4SLACG.js → chunk-SMAN2IR4.js} +2 -2
  60. package/dist/chunks/{chunk-EKSTG5ZQ.js → chunk-T5GKAQHN.js} +2 -2
  61. package/dist/chunks/{chunk-IVFJXA6P.js → chunk-TQGYYDLF.js} +3 -3
  62. package/dist/chunks/{chunk-6USAI7O7.js → chunk-UARWI3TA.js} +2 -2
  63. package/dist/chunks/{chunk-HKUWS2WO.js → chunk-UI3MX7CC.js} +3 -3
  64. package/dist/chunks/{chunk-J4IRSWAS.js → chunk-V6NJWYMP.js} +2 -2
  65. package/dist/chunks/{chunk-GEPGHAWO.js → chunk-VCUPZJDO.js} +2 -2
  66. package/dist/chunks/{chunk-CBNP2J2W.js → chunk-VIDT6RAV.js} +7 -7
  67. package/dist/chunks/{chunk-VEOIRZH4.js → chunk-VONRWBC6.js} +2 -2
  68. package/dist/chunks/{chunk-AHK44IOS.js → chunk-XBRRTAXP.js} +2 -2
  69. package/dist/chunks/{chunk-Q2EWUIIT.js → chunk-XHJMDBRV.js} +2 -2
  70. package/dist/chunks/{chunk-3KMW53PV.js → chunk-YDD74UVE.js} +2 -2
  71. package/dist/chunks/{chunk-KSQTOA6I.js → chunk-YX2ZK34T.js} +14 -12
  72. package/dist/chunks/{chunk-KSQTOA6I.js.map → chunk-YX2ZK34T.js.map} +1 -1
  73. package/dist/chunks/{cli-runtime-T6ZXKC2O.js → cli-runtime-6MW2CSZV.js} +7 -7
  74. package/dist/chunks/{commands-3RJ5HAMM.js → commands-FHJCPYZK.js} +5 -5
  75. package/dist/chunks/{crash-report-ZUP6NMRJ.js → crash-report-M5Q3DQCN.js} +6 -6
  76. package/dist/chunks/{dist-72DFA26L.js → dist-33WLKROX.js} +2 -2
  77. package/dist/chunks/{dist-I2Q3FRR4.js → dist-37DNQCWH.js} +2 -2
  78. package/dist/chunks/{dist-XFIOSXNS.js → dist-4OQCWTIT.js} +2 -2
  79. package/dist/chunks/{dist-PE6GSYDP.js → dist-JSQDWJJ7.js} +2 -2
  80. package/dist/chunks/{dist-GXQCJQ53.js → dist-PRV7KU6K.js} +2 -2
  81. package/dist/chunks/{dist-HJCEE57U.js → dist-RUF7G2EJ.js} +2 -2
  82. package/dist/chunks/{dist-5D7BTPT2.js → dist-XB6XFRHI.js} +2 -2
  83. package/dist/chunks/{doctor-FPBYPOAK.js → doctor-UHW2CT5G.js} +8 -8
  84. package/dist/chunks/{drain-N65CXI5H.js → drain-WW3OCWON.js} +12 -10
  85. package/dist/chunks/{drain-N65CXI5H.js.map → drain-WW3OCWON.js.map} +1 -1
  86. package/dist/chunks/{eval-SYKBFGGU.js → eval-7W7MY7MI.js} +2 -2
  87. package/dist/chunks/{exec-INYAGY7Q.js → exec-D3HAVGO3.js} +80 -35
  88. package/dist/chunks/exec-D3HAVGO3.js.map +6 -0
  89. package/dist/chunks/{home-FJS5AXFZ.js → home-OOMHTBCU.js} +3 -3
  90. package/dist/chunks/{host-queries-Q3CDQ5R6.js → host-queries-LLRW35KQ.js} +14 -14
  91. package/dist/chunks/{lifecycle-5RWKT62M.js → lifecycle-X3WP7K6J.js} +23 -23
  92. package/dist/chunks/{list-FUOU75RU.js → list-YNC6NTUS.js} +11 -11
  93. package/dist/chunks/{login-ELQCFAUF.js → login-J2W3FTAI.js} +8 -8
  94. package/dist/chunks/{logs-OBL6KGPA.js → logs-FBCRI5GX.js} +4 -4
  95. package/dist/chunks/{mcp-TFWJC56M.js → mcp-S6HNWBTQ.js} +16 -16
  96. package/dist/chunks/{message-command-ZNMT76V5.js → message-command-4SLCM27I.js} +32 -32
  97. package/dist/chunks/{operator-tools-C6OPS77I.js → operator-tools-PLCPLKHA.js} +12 -12
  98. package/dist/chunks/{output-schema-35YWLD2S.js → output-schema-35UX32FC.js} +3 -3
  99. package/dist/chunks/{pal-TN4YSFO6.js → pal-5BVWB3W7.js} +11 -11
  100. package/dist/chunks/{providers-KC7IQHF7.js → providers-7VVPQLKS.js} +6 -6
  101. package/dist/chunks/{resident-JZ5AHFMO.js → resident-FUJTNNQU.js} +20 -20
  102. package/dist/chunks/resume-AJ6LESHD.js +22 -0
  103. package/dist/chunks/{resume-command-5FDSKSZR.js → resume-command-LDVO5KIP.js} +4 -4
  104. package/dist/chunks/{schedule-ZVBIF6JZ.js → schedule-NV5NQSKS.js} +8 -8
  105. package/dist/chunks/{service-2MS37QMZ.js → service-OZEMWADJ.js} +22 -22
  106. package/dist/chunks/session-step-RZEULQKO.js +27 -0
  107. package/dist/chunks/{skills-B35Q357B.js → skills-A7XMDZPV.js} +8 -8
  108. package/dist/chunks/{state-YXNTJW67.js → state-ZOLHKFZD.js} +2 -2
  109. package/dist/chunks/{store-H5KCO6HN.js → store-AG3KCS6R.js} +4 -4
  110. package/dist/chunks/{store-5BLKNUFX.js → store-ASOIXVEH.js} +9 -9
  111. package/dist/chunks/{store-5YOZ57L2.js → store-WZES4TNW.js} +6 -6
  112. package/dist/chunks/{tui-NZUV74RQ.js → tui-H7MVCBHH.js} +142 -60
  113. package/dist/chunks/tui-H7MVCBHH.js.map +6 -0
  114. package/dist/chunks/{upgrade-64USK7BM.js → upgrade-G2R3EBLE.js} +2 -2
  115. package/dist/chunks/{worktree-COOGACI6.js → worktree-YIQTRMAT.js} +11 -11
  116. package/dist/commands/acp.d.ts +1 -1
  117. package/dist/commands/acp.d.ts.map +1 -1
  118. package/dist/commands/desktop-host.d.ts.map +1 -1
  119. package/dist/commands/drain.d.ts.map +1 -1
  120. package/dist/commands/exec-json.d.ts.map +1 -1
  121. package/dist/commands/exec-monitors.d.ts +31 -0
  122. package/dist/commands/exec-monitors.d.ts.map +1 -0
  123. package/dist/commands/exec.d.ts.map +1 -1
  124. package/dist/index.js +12 -12
  125. package/dist/integrations/monitors/inbox.d.ts +54 -0
  126. package/dist/integrations/monitors/inbox.d.ts.map +1 -0
  127. package/dist/integrations/resident/runner-worker.js +17 -17
  128. package/dist/integrations/resident/session-step.d.ts.map +1 -1
  129. package/dist/schedule/fire/fire.d.ts.map +1 -1
  130. package/dist/tui/App.d.ts.map +1 -1
  131. package/dist/tui/BackgroundJobsPanel.d.ts.map +1 -1
  132. package/dist/tui/StatusBar.d.ts +5 -1
  133. package/dist/tui/StatusBar.d.ts.map +1 -1
  134. package/dist/tui/agent.d.ts +30 -0
  135. package/dist/tui/agent.d.ts.map +1 -1
  136. package/dist/tui/job-exit-row.d.ts +10 -0
  137. package/dist/tui/job-exit-row.d.ts.map +1 -1
  138. package/package.json +8 -8
  139. package/dist/chunks/agent-session-4G4PKPCR.js +0 -51
  140. package/dist/chunks/chunk-HMORKNX3.js.map +0 -6
  141. package/dist/chunks/chunk-UC3UARTL.js.map +0 -6
  142. package/dist/chunks/exec-INYAGY7Q.js.map +0 -6
  143. package/dist/chunks/resume-ZLGRUFA3.js +0 -22
  144. package/dist/chunks/session-step-XIYPMQA4.js +0 -27
  145. package/dist/chunks/tui-NZUV74RQ.js.map +0 -6
  146. /package/dist/chunks/{activity-command-U3KHRDTY.js.map → activity-command-7GP4PLBD.js.map} +0 -0
  147. /package/dist/chunks/{add-Q2HPE26F.js.map → add-KNRDMCME.js.map} +0 -0
  148. /package/dist/chunks/{agent-KSRUGF37.js.map → agent-LZDDK3NN.js.map} +0 -0
  149. /package/dist/chunks/{agent-session-4G4PKPCR.js.map → agent-session-2XPAWSJU.js.map} +0 -0
  150. /package/dist/chunks/{archive-NQ527SKW.js.map → archive-PNHAJS2H.js.map} +0 -0
  151. /package/dist/chunks/{bin-main-72QPYEQ5.js.map → bin-main-Y2J7CPYI.js.map} +0 -0
  152. /package/dist/chunks/{browser-NQAXUNRS.js.map → browser-RVLLK6CN.js.map} +0 -0
  153. /package/dist/chunks/{chat-QSA5IBTG.js.map → chat-YF3TI43Y.js.map} +0 -0
  154. /package/dist/chunks/{chunk-4WDWLAQ5.js.map → chunk-2TDWK353.js.map} +0 -0
  155. /package/dist/chunks/{chunk-GSZCV2P3.js.map → chunk-34IZ6DMB.js.map} +0 -0
  156. /package/dist/chunks/{chunk-ACJ37X25.js.map → chunk-37FCG7VX.js.map} +0 -0
  157. /package/dist/chunks/{chunk-FUORCVIN.js.map → chunk-4GIDESAM.js.map} +0 -0
  158. /package/dist/chunks/{chunk-6SKQVVXO.js.map → chunk-4H4YDNND.js.map} +0 -0
  159. /package/dist/chunks/{chunk-OYJCMNOO.js.map → chunk-5NHKC3NO.js.map} +0 -0
  160. /package/dist/chunks/{chunk-5X7RU64G.js.map → chunk-5YERJLR7.js.map} +0 -0
  161. /package/dist/chunks/{chunk-5EQTZ4HK.js.map → chunk-72TESSG2.js.map} +0 -0
  162. /package/dist/chunks/{chunk-HTXPBXXP.js.map → chunk-A5GALFIC.js.map} +0 -0
  163. /package/dist/chunks/{chunk-7INJDLWA.js.map → chunk-ABHX2QBJ.js.map} +0 -0
  164. /package/dist/chunks/{chunk-LVW3JXVJ.js.map → chunk-DRXG4OLL.js.map} +0 -0
  165. /package/dist/chunks/{chunk-2GTBCI2R.js.map → chunk-DS2PIOVD.js.map} +0 -0
  166. /package/dist/chunks/{chunk-ADJCEQGK.js.map → chunk-DW23UIKM.js.map} +0 -0
  167. /package/dist/chunks/{chunk-LZISO3TE.js.map → chunk-E6RPYGJP.js.map} +0 -0
  168. /package/dist/chunks/{chunk-DPCUP4TI.js.map → chunk-ERY3CYIM.js.map} +0 -0
  169. /package/dist/chunks/{chunk-XB7HBRSL.js.map → chunk-GYM3FUBH.js.map} +0 -0
  170. /package/dist/chunks/{chunk-A3TBA7LQ.js.map → chunk-HFFINVNN.js.map} +0 -0
  171. /package/dist/chunks/{chunk-6CD4ZJWY.js.map → chunk-HFMDSVBA.js.map} +0 -0
  172. /package/dist/chunks/{chunk-S72MTTOC.js.map → chunk-HFUBLJE5.js.map} +0 -0
  173. /package/dist/chunks/{chunk-3TGNRSKG.js.map → chunk-HJBZYFCC.js.map} +0 -0
  174. /package/dist/chunks/{chunk-AEWKXISZ.js.map → chunk-HLHYVGQE.js.map} +0 -0
  175. /package/dist/chunks/{chunk-FXXP6QP6.js.map → chunk-HS3TPTJ3.js.map} +0 -0
  176. /package/dist/chunks/{chunk-IB7UOMAQ.js.map → chunk-KK73BCYK.js.map} +0 -0
  177. /package/dist/chunks/{chunk-QINC4TIT.js.map → chunk-KSLX3NGM.js.map} +0 -0
  178. /package/dist/chunks/{chunk-TI7LE6F5.js.map → chunk-LO5DFG6H.js.map} +0 -0
  179. /package/dist/chunks/{chunk-ZNO7XIZU.js.map → chunk-M2SQW7DK.js.map} +0 -0
  180. /package/dist/chunks/{chunk-ZGP5MF2Q.js.map → chunk-M46XYX7O.js.map} +0 -0
  181. /package/dist/chunks/{chunk-GXQAMIQA.js.map → chunk-MF45FNH3.js.map} +0 -0
  182. /package/dist/chunks/{chunk-VSLHC665.js.map → chunk-MUG3SBGU.js.map} +0 -0
  183. /package/dist/chunks/{chunk-5LO5YWAO.js.map → chunk-MULW7FFH.js.map} +0 -0
  184. /package/dist/chunks/{chunk-NIBOMW4E.js.map → chunk-N2CP3FIQ.js.map} +0 -0
  185. /package/dist/chunks/{chunk-KB7EM3DJ.js.map → chunk-N3YMYKEU.js.map} +0 -0
  186. /package/dist/chunks/{chunk-TTCXFX6V.js.map → chunk-ND6ZNIUM.js.map} +0 -0
  187. /package/dist/chunks/{chunk-TGZ7OLDL.js.map → chunk-NYRBM7PR.js.map} +0 -0
  188. /package/dist/chunks/{chunk-LCFHDWTA.js.map → chunk-O6X4O7VQ.js.map} +0 -0
  189. /package/dist/chunks/{chunk-4MZXZCPR.js.map → chunk-POEIV6AQ.js.map} +0 -0
  190. /package/dist/chunks/{chunk-MOI4XD5Z.js.map → chunk-PSLRTJU5.js.map} +0 -0
  191. /package/dist/chunks/{chunk-OTTDC3KF.js.map → chunk-QWCASGYH.js.map} +0 -0
  192. /package/dist/chunks/{chunk-MRQ2UQG5.js.map → chunk-R7HI2NMR.js.map} +0 -0
  193. /package/dist/chunks/{chunk-4K3ABOWX.js.map → chunk-REBTUQC6.js.map} +0 -0
  194. /package/dist/chunks/{chunk-MB4SLACG.js.map → chunk-SMAN2IR4.js.map} +0 -0
  195. /package/dist/chunks/{chunk-EKSTG5ZQ.js.map → chunk-T5GKAQHN.js.map} +0 -0
  196. /package/dist/chunks/{chunk-IVFJXA6P.js.map → chunk-TQGYYDLF.js.map} +0 -0
  197. /package/dist/chunks/{chunk-6USAI7O7.js.map → chunk-UARWI3TA.js.map} +0 -0
  198. /package/dist/chunks/{chunk-HKUWS2WO.js.map → chunk-UI3MX7CC.js.map} +0 -0
  199. /package/dist/chunks/{chunk-J4IRSWAS.js.map → chunk-V6NJWYMP.js.map} +0 -0
  200. /package/dist/chunks/{chunk-GEPGHAWO.js.map → chunk-VCUPZJDO.js.map} +0 -0
  201. /package/dist/chunks/{chunk-CBNP2J2W.js.map → chunk-VIDT6RAV.js.map} +0 -0
  202. /package/dist/chunks/{chunk-VEOIRZH4.js.map → chunk-VONRWBC6.js.map} +0 -0
  203. /package/dist/chunks/{chunk-AHK44IOS.js.map → chunk-XBRRTAXP.js.map} +0 -0
  204. /package/dist/chunks/{chunk-Q2EWUIIT.js.map → chunk-XHJMDBRV.js.map} +0 -0
  205. /package/dist/chunks/{chunk-3KMW53PV.js.map → chunk-YDD74UVE.js.map} +0 -0
  206. /package/dist/chunks/{cli-runtime-T6ZXKC2O.js.map → cli-runtime-6MW2CSZV.js.map} +0 -0
  207. /package/dist/chunks/{commands-3RJ5HAMM.js.map → commands-FHJCPYZK.js.map} +0 -0
  208. /package/dist/chunks/{crash-report-ZUP6NMRJ.js.map → crash-report-M5Q3DQCN.js.map} +0 -0
  209. /package/dist/chunks/{dist-72DFA26L.js.map → dist-33WLKROX.js.map} +0 -0
  210. /package/dist/chunks/{dist-I2Q3FRR4.js.map → dist-37DNQCWH.js.map} +0 -0
  211. /package/dist/chunks/{dist-XFIOSXNS.js.map → dist-4OQCWTIT.js.map} +0 -0
  212. /package/dist/chunks/{dist-PE6GSYDP.js.map → dist-JSQDWJJ7.js.map} +0 -0
  213. /package/dist/chunks/{dist-GXQCJQ53.js.map → dist-PRV7KU6K.js.map} +0 -0
  214. /package/dist/chunks/{dist-HJCEE57U.js.map → dist-RUF7G2EJ.js.map} +0 -0
  215. /package/dist/chunks/{dist-5D7BTPT2.js.map → dist-XB6XFRHI.js.map} +0 -0
  216. /package/dist/chunks/{doctor-FPBYPOAK.js.map → doctor-UHW2CT5G.js.map} +0 -0
  217. /package/dist/chunks/{eval-SYKBFGGU.js.map → eval-7W7MY7MI.js.map} +0 -0
  218. /package/dist/chunks/{home-FJS5AXFZ.js.map → home-OOMHTBCU.js.map} +0 -0
  219. /package/dist/chunks/{host-queries-Q3CDQ5R6.js.map → host-queries-LLRW35KQ.js.map} +0 -0
  220. /package/dist/chunks/{lifecycle-5RWKT62M.js.map → lifecycle-X3WP7K6J.js.map} +0 -0
  221. /package/dist/chunks/{list-FUOU75RU.js.map → list-YNC6NTUS.js.map} +0 -0
  222. /package/dist/chunks/{login-ELQCFAUF.js.map → login-J2W3FTAI.js.map} +0 -0
  223. /package/dist/chunks/{logs-OBL6KGPA.js.map → logs-FBCRI5GX.js.map} +0 -0
  224. /package/dist/chunks/{mcp-TFWJC56M.js.map → mcp-S6HNWBTQ.js.map} +0 -0
  225. /package/dist/chunks/{message-command-ZNMT76V5.js.map → message-command-4SLCM27I.js.map} +0 -0
  226. /package/dist/chunks/{operator-tools-C6OPS77I.js.map → operator-tools-PLCPLKHA.js.map} +0 -0
  227. /package/dist/chunks/{output-schema-35YWLD2S.js.map → output-schema-35UX32FC.js.map} +0 -0
  228. /package/dist/chunks/{pal-TN4YSFO6.js.map → pal-5BVWB3W7.js.map} +0 -0
  229. /package/dist/chunks/{providers-KC7IQHF7.js.map → providers-7VVPQLKS.js.map} +0 -0
  230. /package/dist/chunks/{resident-JZ5AHFMO.js.map → resident-FUJTNNQU.js.map} +0 -0
  231. /package/dist/chunks/{resume-ZLGRUFA3.js.map → resume-AJ6LESHD.js.map} +0 -0
  232. /package/dist/chunks/{resume-command-5FDSKSZR.js.map → resume-command-LDVO5KIP.js.map} +0 -0
  233. /package/dist/chunks/{schedule-ZVBIF6JZ.js.map → schedule-NV5NQSKS.js.map} +0 -0
  234. /package/dist/chunks/{service-2MS37QMZ.js.map → service-OZEMWADJ.js.map} +0 -0
  235. /package/dist/chunks/{session-step-XIYPMQA4.js.map → session-step-RZEULQKO.js.map} +0 -0
  236. /package/dist/chunks/{skills-B35Q357B.js.map → skills-A7XMDZPV.js.map} +0 -0
  237. /package/dist/chunks/{state-YXNTJW67.js.map → state-ZOLHKFZD.js.map} +0 -0
  238. /package/dist/chunks/{store-5BLKNUFX.js.map → store-AG3KCS6R.js.map} +0 -0
  239. /package/dist/chunks/{store-5YOZ57L2.js.map → store-ASOIXVEH.js.map} +0 -0
  240. /package/dist/chunks/{store-H5KCO6HN.js.map → store-WZES4TNW.js.map} +0 -0
  241. /package/dist/chunks/{upgrade-64USK7BM.js.map → upgrade-G2R3EBLE.js.map} +0 -0
  242. /package/dist/chunks/{worktree-COOGACI6.js.map → worktree-YIQTRMAT.js.map} +0 -0
@@ -3,7 +3,7 @@ const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  mcpJsonSchemaToZod,
5
5
  renderToolSchema
6
- } from "./chunk-HMORKNX3.js";
6
+ } from "./chunk-77AX2GEP.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-76FLAFCG.js";
@@ -31,4 +31,4 @@ __name(loadOutputSchema, "loadOutputSchema");
31
31
  export {
32
32
  loadOutputSchema
33
33
  };
34
- //# sourceMappingURL=chunk-HTXPBXXP.js.map
34
+ //# sourceMappingURL=chunk-A5GALFIC.js.map
@@ -5,7 +5,7 @@ import {
5
5
  readAgentKeychainCredential,
6
6
  readClaudeCredentialFile,
7
7
  replaceClaudeCredentialFile
8
- } from "./chunk-AEWKXISZ.js";
8
+ } from "./chunk-HLHYVGQE.js";
9
9
  import {
10
10
  PROVIDER_REGISTRY
11
11
  } from "./chunk-6LLJQ3KY.js";
@@ -17,11 +17,11 @@ import {
17
17
  replaceStoredSubscriptionCredential,
18
18
  writeStoredCodexCredential,
19
19
  writeStoredSubscriptionCredential
20
- } from "./chunk-TI7LE6F5.js";
20
+ } from "./chunk-LO5DFG6H.js";
21
21
  import {
22
22
  buildProbeContext,
23
23
  probe
24
- } from "./chunk-HMORKNX3.js";
24
+ } from "./chunk-77AX2GEP.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-76FLAFCG.js";
@@ -770,4 +770,4 @@ export {
770
770
  subscriptionDetectedProvider,
771
771
  parsePastedInput
772
772
  };
773
- //# sourceMappingURL=chunk-7INJDLWA.js.map
773
+ //# sourceMappingURL=chunk-ABHX2QBJ.js.map
@@ -2,14 +2,14 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  trustDir
5
- } from "./chunk-ADJCEQGK.js";
5
+ } from "./chunk-DW23UIKM.js";
6
6
  import {
7
7
  restrictToOwner
8
- } from "./chunk-TI7LE6F5.js";
8
+ } from "./chunk-LO5DFG6H.js";
9
9
  import {
10
10
  DiskPalStore,
11
11
  resolveNamzuHome
12
- } from "./chunk-HMORKNX3.js";
12
+ } from "./chunk-77AX2GEP.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-76FLAFCG.js";
@@ -124,4 +124,4 @@ export {
124
124
  deletePal,
125
125
  palAtWorkspace
126
126
  };
127
- //# sourceMappingURL=chunk-LVW3JXVJ.js.map
127
+ //# sourceMappingURL=chunk-DRXG4OLL.js.map
@@ -5,7 +5,7 @@ import {
5
5
  has,
6
6
  interactive,
7
7
  parseArgs
8
- } from "./chunk-S72MTTOC.js";
8
+ } from "./chunk-HFUBLJE5.js";
9
9
  import {
10
10
  isBrowserProfileName
11
11
  } from "./chunk-WHODOMXA.js";
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  canonicalizeBrowserUrl,
25
25
  resolveNamzuHome
26
- } from "./chunk-HMORKNX3.js";
26
+ } from "./chunk-77AX2GEP.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-76FLAFCG.js";
@@ -396,4 +396,4 @@ export {
396
396
  defaultBrowserCommandDeps,
397
397
  browserCommand
398
398
  };
399
- //# sourceMappingURL=chunk-2GTBCI2R.js.map
399
+ //# sourceMappingURL=chunk-DS2PIOVD.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-JORONMD3.js";
6
6
  import {
7
7
  namzuHomePath
8
- } from "./chunk-6USAI7O7.js";
8
+ } from "./chunk-UARWI3TA.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-76FLAFCG.js";
@@ -112,4 +112,4 @@ export {
112
112
  trustDir,
113
113
  untrustDir
114
114
  };
115
- //# sourceMappingURL=chunk-ADJCEQGK.js.map
115
+ //# sourceMappingURL=chunk-DW23UIKM.js.map
@@ -2,11 +2,11 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  namzuHomePath
5
- } from "./chunk-6USAI7O7.js";
5
+ } from "./chunk-UARWI3TA.js";
6
6
  import {
7
7
  SKILL_FRONTMATTER_KEYS,
8
8
  parseFrontmatter
9
- } from "./chunk-HMORKNX3.js";
9
+ } from "./chunk-77AX2GEP.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-76FLAFCG.js";
@@ -268,4 +268,4 @@ export {
268
268
  NO_SKILLS_FOUND,
269
269
  renderSkillRoster
270
270
  };
271
- //# sourceMappingURL=chunk-LZISO3TE.js.map
271
+ //# sourceMappingURL=chunk-E6RPYGJP.js.map
@@ -7,15 +7,15 @@ import {
7
7
  listRecent,
8
8
  loadResumableConversation,
9
9
  openSessions
10
- } from "./chunk-IB7UOMAQ.js";
10
+ } from "./chunk-KK73BCYK.js";
11
11
  import {
12
12
  cliLogger
13
- } from "./chunk-GSZCV2P3.js";
13
+ } from "./chunk-34IZ6DMB.js";
14
14
  import {
15
15
  GitWorktreeDriver,
16
16
  asSessionId,
17
17
  generateWorkspaceId
18
- } from "./chunk-HMORKNX3.js";
18
+ } from "./chunk-77AX2GEP.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-76FLAFCG.js";
@@ -242,4 +242,4 @@ export {
242
242
  worktreeOpenHint,
243
243
  openManagedWorktrees
244
244
  };
245
- //# sourceMappingURL=chunk-DPCUP4TI.js.map
245
+ //# sourceMappingURL=chunk-ERY3CYIM.js.map
@@ -2,10 +2,10 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  openManagedWorktrees
5
- } from "./chunk-DPCUP4TI.js";
5
+ } from "./chunk-ERY3CYIM.js";
6
6
  import {
7
7
  createSessionSkillCatalog
8
- } from "./chunk-GXQAMIQA.js";
8
+ } from "./chunk-MF45FNH3.js";
9
9
  import {
10
10
  createBrowserControl
11
11
  } from "./chunk-WHODOMXA.js";
@@ -24,13 +24,13 @@ import {
24
24
  viewFromJournal,
25
25
  workflowOffered,
26
26
  workflowRefusal
27
- } from "./chunk-IVFJXA6P.js";
27
+ } from "./chunk-TQGYYDLF.js";
28
28
  import {
29
29
  connectMcpServers
30
- } from "./chunk-NIBOMW4E.js";
30
+ } from "./chunk-N2CP3FIQ.js";
31
31
  import {
32
32
  openInBrowser
33
- } from "./chunk-Q2EWUIIT.js";
33
+ } from "./chunk-XHJMDBRV.js";
34
34
  import {
35
35
  CredentialRefreshRejectedError,
36
36
  CredentialWithdrawnError,
@@ -38,7 +38,7 @@ import {
38
38
  ensureFreshStoredCodexCredential,
39
39
  readSubscriptionCredential,
40
40
  sameOAuthCredential
41
- } from "./chunk-7INJDLWA.js";
41
+ } from "./chunk-ABHX2QBJ.js";
42
42
  import {
43
43
  debugRequested
44
44
  } from "./chunk-GNBMKISG.js";
@@ -47,7 +47,7 @@ import {
47
47
  configuredPassthroughTools,
48
48
  resolveToolResultScreens,
49
49
  unmatchedPassthroughTools
50
- } from "./chunk-5EQTZ4HK.js";
50
+ } from "./chunk-72TESSG2.js";
51
51
  import {
52
52
  formatSize,
53
53
  homePath,
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-US5ZFPAU.js";
56
56
  import {
57
57
  createLazyCodeAnalysis
58
- } from "./chunk-3KMW53PV.js";
58
+ } from "./chunk-YDD74UVE.js";
59
59
  import {
60
60
  canSelectModel,
61
61
  chainCapabilityDisagreements,
@@ -78,7 +78,7 @@ import {
78
78
  requiresCredentialForModel,
79
79
  resolveChainCapabilities,
80
80
  unresolvedMembers
81
- } from "./chunk-AEWKXISZ.js";
81
+ } from "./chunk-HLHYVGQE.js";
82
82
  import {
83
83
  PROVIDER_REGISTRY,
84
84
  missingCredentialMessage,
@@ -87,11 +87,11 @@ import {
87
87
  import {
88
88
  isPermissionMode,
89
89
  permissionModeLabel
90
- } from "./chunk-KB7EM3DJ.js";
90
+ } from "./chunk-N3YMYKEU.js";
91
91
  import {
92
92
  conversationLogPath,
93
93
  ensureSessionStarted
94
- } from "./chunk-IB7UOMAQ.js";
94
+ } from "./chunk-KK73BCYK.js";
95
95
  import {
96
96
  INSTRUCTIONS_FILENAME,
97
97
  MAX_CHARS_PER_FILE,
@@ -102,10 +102,10 @@ import {
102
102
  import {
103
103
  compilePermissions,
104
104
  isPermissionEffect
105
- } from "./chunk-QINC4TIT.js";
105
+ } from "./chunk-KSLX3NGM.js";
106
106
  import {
107
107
  cliLogger
108
- } from "./chunk-GSZCV2P3.js";
108
+ } from "./chunk-34IZ6DMB.js";
109
109
  import {
110
110
  probeCapabilities
111
111
  } from "./chunk-OH6TB27S.js";
@@ -115,13 +115,13 @@ import {
115
115
  } from "./chunk-U3JIZFOS.js";
116
116
  import {
117
117
  ensurePrivateStateDirectory
118
- } from "./chunk-EKSTG5ZQ.js";
118
+ } from "./chunk-T5GKAQHN.js";
119
119
  import {
120
120
  restrictToOwner
121
- } from "./chunk-TI7LE6F5.js";
121
+ } from "./chunk-LO5DFG6H.js";
122
122
  import {
123
123
  namzuHomePath
124
- } from "./chunk-6USAI7O7.js";
124
+ } from "./chunk-UARWI3TA.js";
125
125
  import {
126
126
  AgentManager,
127
127
  AgentRegistry,
@@ -186,6 +186,7 @@ import {
186
186
  asTaskId,
187
187
  asTurnId,
188
188
  attachShellHooks,
189
+ backgroundTasksDisabled,
189
190
  batchNeedsReview,
190
191
  bindOwner,
191
192
  buildAskUserQuestionTool,
@@ -194,6 +195,7 @@ import {
194
195
  buildResidentToolEvidenceTools,
195
196
  buildSessionGoalTools,
196
197
  builtinCommandArguments,
198
+ capMonitorNotifications,
197
199
  classifyEvidenceSource,
198
200
  collectChatCompletion,
199
201
  compactNow,
@@ -221,6 +223,8 @@ import {
221
223
  ensureProject,
222
224
  external_exports,
223
225
  filtered,
226
+ formatMonitorEnd,
227
+ formatMonitorEvent,
224
228
  generateSessionId,
225
229
  generateSummaryId,
226
230
  generateTenantId,
@@ -229,6 +233,7 @@ import {
229
233
  genericLabel,
230
234
  getBuiltinTools,
231
235
  getCodeAnalysisTools,
236
+ getMonitorTools,
232
237
  isCompactionMessage,
233
238
  isEntityId,
234
239
  isProjectInstructionMessageSource,
@@ -267,7 +272,7 @@ import {
267
272
  windowsShellNotice,
268
273
  withProviderFallback,
269
274
  wrapUntrusted
270
- } from "./chunk-HMORKNX3.js";
275
+ } from "./chunk-77AX2GEP.js";
271
276
  import {
272
277
  __name
273
278
  } from "./chunk-76FLAFCG.js";
@@ -3226,6 +3231,82 @@ function resolveAutoDefault(config, isAvailable) {
3226
3231
  }
3227
3232
  __name(resolveAutoDefault, "resolveAutoDefault");
3228
3233
 
3234
+ // src/integrations/monitors/inbox.ts
3235
+ function monitorEventText(event) {
3236
+ return formatMonitorEvent(event, event.command);
3237
+ }
3238
+ __name(monitorEventText, "monitorEventText");
3239
+ function monitorEndText(job, stats) {
3240
+ return formatMonitorEnd(job, stats);
3241
+ }
3242
+ __name(monitorEndText, "monitorEndText");
3243
+ function createMonitorInbox() {
3244
+ const pending = /* @__PURE__ */ new Map();
3245
+ const delivered = /* @__PURE__ */ new Set();
3246
+ const listeners = /* @__PURE__ */ new Set();
3247
+ const changed = /* @__PURE__ */ __name(() => {
3248
+ for (const listener of [...listeners]) {
3249
+ try {
3250
+ listener();
3251
+ } catch {
3252
+ }
3253
+ }
3254
+ }, "changed");
3255
+ const render = /* @__PURE__ */ __name(() => {
3256
+ if (pending.size === 0) return { ids: [] };
3257
+ return {
3258
+ ids: [...pending.keys()],
3259
+ text: capMonitorNotifications([...pending.values()].map((entry) => entry.text).join("\n"))
3260
+ };
3261
+ }, "render");
3262
+ return {
3263
+ addEvent(event) {
3264
+ if (delivered.has(event.id)) return;
3265
+ pending.set(event.id, { text: monitorEventText(event), wakes: true });
3266
+ changed();
3267
+ },
3268
+ addEnd(job, stats) {
3269
+ if (delivered.has(job.id)) return;
3270
+ pending.set(job.id, {
3271
+ text: monitorEndText(job, stats),
3272
+ // A stop is reported with the next turn but starts none. Expiry and
3273
+ // too-much-output also end `killed`, yet each sent a notice event
3274
+ // first, which is what wakes the host.
3275
+ wakes: job.stopReason !== "stopped" && job.status !== "killed"
3276
+ });
3277
+ changed();
3278
+ },
3279
+ acknowledge(ids) {
3280
+ let any = false;
3281
+ for (const id of ids) {
3282
+ delivered.add(id);
3283
+ any = pending.delete(id) || any;
3284
+ }
3285
+ if (any) changed();
3286
+ },
3287
+ peek: render,
3288
+ take() {
3289
+ const taken = render();
3290
+ for (const id of taken.ids) {
3291
+ delivered.add(id);
3292
+ pending.delete(id);
3293
+ }
3294
+ return taken;
3295
+ },
3296
+ wakes: /* @__PURE__ */ __name(() => [...pending.values()].some((entry) => entry.wakes), "wakes"),
3297
+ get size() {
3298
+ return pending.size;
3299
+ },
3300
+ onChange(listener) {
3301
+ listeners.add(listener);
3302
+ return () => {
3303
+ listeners.delete(listener);
3304
+ };
3305
+ }
3306
+ };
3307
+ }
3308
+ __name(createMonitorInbox, "createMonitorInbox");
3309
+
3229
3310
  // src/integrations/plugins/settings.ts
3230
3311
  import { createHash as createHash3, randomUUID as randomUUID3 } from "node:crypto";
3231
3312
  import {
@@ -10308,10 +10389,10 @@ function clipRequestContext(prompt, limit, kind) {
10308
10389
  __name(clipRequestContext, "clipRequestContext");
10309
10390
  async function createAgentSession(prefs, detected, options = {}) {
10310
10391
  if (options.palEnvironment) {
10311
- const { createPalAgentSession } = await import("./agent-session-4G4PKPCR.js");
10392
+ const { createPalAgentSession } = await import("./agent-session-2XPAWSJU.js");
10312
10393
  return createPalAgentSession(prefs, detected, options);
10313
10394
  }
10314
- const { palAtWorkspace } = await import("./store-5YOZ57L2.js");
10395
+ const { palAtWorkspace } = await import("./store-WZES4TNW.js");
10315
10396
  if (palAtWorkspace(options.cwd ?? process.cwd()))
10316
10397
  throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
10317
10398
  const commandArguments = builtinCommandArguments();
@@ -10650,6 +10731,22 @@ async function createAgentSession(prefs, detected, options = {}) {
10650
10731
  const jobRegistry = backgroundJobs ? new BackgroundJobRegistry() : void 0;
10651
10732
  const jobOwner = scope.sessionId;
10652
10733
  const ownedJobs = jobRegistry ? bindOwner(jobRegistry, jobOwner) : void 0;
10734
+ const monitorInbox = createMonitorInbox();
10735
+ if (jobRegistry) {
10736
+ jobRegistry.onMonitorEvent((event) => {
10737
+ if (event.owner !== jobOwner) return;
10738
+ let command = "";
10739
+ try {
10740
+ command = jobRegistry.get(event.jobId).command;
10741
+ } catch {
10742
+ }
10743
+ monitorInbox.addEvent({ ...event, command });
10744
+ });
10745
+ jobRegistry.onExit((job) => {
10746
+ if (job.owner !== jobOwner || job.kind !== "monitor") return;
10747
+ monitorInbox.addEnd(job, jobRegistry.monitorStats(job.id));
10748
+ });
10749
+ }
10653
10750
  const directories = [];
10654
10751
  for (const dir of options.additionalDirectories ?? []) {
10655
10752
  const absolute = resolve10(cwd, dir);
@@ -11308,7 +11405,11 @@ async function createAgentSession(prefs, detected, options = {}) {
11308
11405
  if (codeAnalysis) {
11309
11406
  toolsets.push(deferred(toolset("code-analysis", getCodeAnalysisTools(codeAnalysis))));
11310
11407
  }
11311
- const operatorPals = await import("./operator-tools-C6OPS77I.js");
11408
+ if (jobRegistry && !backgroundTasksDisabled() && options.monitorTool !== false) {
11409
+ const monitorToolset = toolset("monitor", getMonitorTools());
11410
+ toolsets.push(options.toolLoading === "eager" ? monitorToolset : deferred(monitorToolset));
11411
+ }
11412
+ const operatorPals = await import("./operator-tools-PLCPLKHA.js");
11312
11413
  toolsets.push(
11313
11414
  readyWhen(
11314
11415
  toolset(
@@ -11919,6 +12020,22 @@ async function createAgentSession(prefs, detected, options = {}) {
11919
12020
  if (job.owner === jobOwner) listener(job);
11920
12021
  }) ?? (() => {
11921
12022
  }), "onJobExit"),
12023
+ ...jobRegistry ? {
12024
+ monitors: {
12025
+ addEvent: /* @__PURE__ */ __name((event) => monitorInbox.addEvent(event), "addEvent"),
12026
+ addEnd: /* @__PURE__ */ __name((job, stats) => monitorInbox.addEnd(job, stats), "addEnd"),
12027
+ acknowledge: /* @__PURE__ */ __name((ids) => monitorInbox.acknowledge(ids), "acknowledge"),
12028
+ peek: /* @__PURE__ */ __name(() => monitorInbox.peek(), "peek"),
12029
+ take: /* @__PURE__ */ __name(() => monitorInbox.take(), "take"),
12030
+ wakes: /* @__PURE__ */ __name(() => monitorInbox.wakes(), "wakes"),
12031
+ get size() {
12032
+ return monitorInbox.size;
12033
+ },
12034
+ onChange: /* @__PURE__ */ __name((listener) => monitorInbox.onChange(listener), "onChange"),
12035
+ stats: /* @__PURE__ */ __name((jobId) => jobRegistry.monitorStats(jobId), "stats"),
12036
+ running: /* @__PURE__ */ __name(() => jobRegistry.list(jobOwner).filter((job) => job.kind === "monitor" && job.status === "running").length, "running")
12037
+ }
12038
+ } : {},
11922
12039
  ...workflowHost ? {
11923
12040
  workflows: /* @__PURE__ */ ((host) => ({
11924
12041
  runs: /* @__PURE__ */ __name(() => host.registry.list(), "runs"),
@@ -12436,8 +12553,10 @@ async function createAgentSession(prefs, detected, options = {}) {
12436
12553
  ...options.compaction?.consolidate ? { consolidateInto: memoryStore } : {},
12437
12554
  ...jobRegistry ? {
12438
12555
  backgroundJobs: jobRegistry,
12439
- backgroundJobOwner: jobOwner
12556
+ backgroundJobOwner: jobOwner,
12557
+ monitors: monitorInbox
12440
12558
  } : {},
12559
+ ...options.monitorTimeoutCapMs !== void 0 ? { monitorTimeoutCapMs: options.monitorTimeoutCapMs } : {},
12441
12560
  // Constructed HERE, per turn, and that is not an optimisation to
12442
12561
  // undo. `refreshTokenIfNeeded` above replaces the head's client
12443
12562
  // object when an OAuth token rotates, so a member list built once at
@@ -12987,6 +13106,8 @@ async function* runTurn({
12987
13106
  consolidateInto,
12988
13107
  backgroundJobs,
12989
13108
  backgroundJobOwner,
13109
+ monitors,
13110
+ monitorTimeoutCapMs,
12990
13111
  fallbackProviders,
12991
13112
  model,
12992
13113
  toolsets,
@@ -13078,7 +13199,18 @@ async function* runTurn({
13078
13199
  compactionConfig,
13079
13200
  ...consolidateInto ? { consolidateInto } : {},
13080
13201
  ...backgroundJobs ? { backgroundJobs, backgroundJobOwner } : {},
13081
- ...opts?.onJobNoticeDelivered ? { onJobNoticeDelivered: opts.onJobNoticeDelivered } : {},
13202
+ // A monitor's end is acknowledged through the job-exit callback with its
13203
+ // job id, its events through their own; both also clear the session's
13204
+ // ledger so a delivered event is never offered to a later turn.
13205
+ onJobNoticeDelivered: /* @__PURE__ */ __name((ids) => {
13206
+ monitors?.acknowledge(ids);
13207
+ opts?.onJobNoticeDelivered?.(ids);
13208
+ }, "onJobNoticeDelivered"),
13209
+ onMonitorEventsDelivered: /* @__PURE__ */ __name((ids) => {
13210
+ monitors?.acknowledge(ids);
13211
+ opts?.onMonitorEventsDelivered?.(ids);
13212
+ }, "onMonitorEventsDelivered"),
13213
+ ...monitorTimeoutCapMs !== void 0 ? { monitorTimeoutCapMs } : {},
13082
13214
  turnConfig: {
13083
13215
  model,
13084
13216
  ...sandboxProvider ? { sandbox: { workspace: sandboxWorkspace } } : {},
@@ -13907,4 +14039,4 @@ export {
13907
14039
  RESULT_SUMMARY_WHOLE_MAX,
13908
14040
  resultSummaryLine
13909
14041
  };
13910
- //# sourceMappingURL=chunk-UC3UARTL.js.map
14042
+ //# sourceMappingURL=chunk-GEB3OP2H.js.map