@namzu/cli 50.3.1 → 51.0.1

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 (330) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-GJQH42RG.js → acp-OKCSCFH2.js} +112 -61
  4. package/dist/chunks/acp-OKCSCFH2.js.map +6 -0
  5. package/dist/chunks/{activity-command-I3AIOI7D.js → activity-command-SJGXPUYE.js} +12 -12
  6. package/dist/chunks/{add-UGB46RWA.js → add-H4FUTHAQ.js} +19 -19
  7. package/dist/chunks/{agent-DM74JBNA.js → agent-U4YLYJ4N.js} +40 -36
  8. package/dist/chunks/agent-session-YNUAPMAL.js +69 -0
  9. package/dist/chunks/{archive-3AAGSJMI.js → archive-O236ZKWI.js} +11 -11
  10. package/dist/chunks/{bin-main-EFP5SLD4.js → bin-main-YS3HF46K.js} +7 -7
  11. package/dist/chunks/{binding-YGRSM4NK.js → binding-SS7YOEIZ.js} +3 -3
  12. package/dist/chunks/{browser-55KWOLRE.js → browser-OA2KB5Z2.js} +6 -6
  13. package/dist/chunks/{chat-JHGNJACB.js → chat-EBNDAIRO.js} +15 -15
  14. package/dist/chunks/{chunk-IWBRKHR3.js → chunk-22PMPEFX.js} +3 -3
  15. package/dist/chunks/{chunk-H6NLFR25.js → chunk-2E3ALKOF.js} +2 -2
  16. package/dist/chunks/{chunk-QKPM4YWZ.js → chunk-3XIWMQLP.js} +7 -7
  17. package/dist/chunks/{chunk-QAQBDQOO.js → chunk-4HGQJYDZ.js} +3 -3
  18. package/dist/chunks/{chunk-M3BND4IS.js → chunk-56SPZGFT.js} +2 -2
  19. package/dist/chunks/{chunk-H7GNPOE4.js → chunk-5FZDDFXS.js} +2 -2
  20. package/dist/chunks/{chunk-2T3C6WAE.js → chunk-635U2FDK.js} +3 -3
  21. package/dist/chunks/{chunk-BKAGWRB7.js → chunk-6GITBOHO.js} +2 -2
  22. package/dist/chunks/{chunk-G3R4GLH5.js → chunk-77RA2AU7.js} +3 -3
  23. package/dist/chunks/{chunk-7JPWIMTU.js → chunk-7J3IMJKF.js} +2 -2
  24. package/dist/chunks/{chunk-XN7X4A7F.js → chunk-AJHNH4WR.js} +13 -13
  25. package/dist/chunks/{chunk-7HYNH2U5.js → chunk-B5AIMVRI.js} +2 -2
  26. package/dist/chunks/{chunk-KONJIEUP.js → chunk-BK5AJ7TL.js} +2 -2
  27. package/dist/chunks/{chunk-572QEPMC.js → chunk-BPZQYXLI.js} +5 -5
  28. package/dist/chunks/{chunk-KCRRCSBK.js → chunk-C5P7OAML.js} +3 -3
  29. package/dist/chunks/{chunk-V6W5ILRM.js → chunk-CDDXHKSP.js} +20 -13
  30. package/dist/chunks/chunk-CDDXHKSP.js.map +6 -0
  31. package/dist/chunks/{chunk-QKRGJPU6.js → chunk-CIHHPULI.js} +2 -2
  32. package/dist/chunks/{chunk-RC3A3XQL.js → chunk-D3ITBQ7T.js} +2 -2
  33. package/dist/chunks/{chunk-R5W3XDG5.js → chunk-DFFTGAS7.js} +9 -9
  34. package/dist/chunks/{chunk-HHZYPDYM.js → chunk-DWFJETFP.js} +4 -4
  35. package/dist/chunks/{chunk-FBQ7SPP2.js → chunk-EB7AS2K4.js} +9 -9
  36. package/dist/chunks/{chunk-FKTZTO3B.js → chunk-F3QD24YN.js} +34 -34
  37. package/dist/chunks/{chunk-P2CH7AHO.js → chunk-F7ECNFNX.js} +3 -3
  38. package/dist/chunks/{chunk-35KJUUIZ.js → chunk-FA2ZVSEU.js} +2 -2
  39. package/dist/chunks/{chunk-EEN7FPSL.js → chunk-FSPBJ5VF.js} +2 -2
  40. package/dist/chunks/{chunk-H734PAIA.js → chunk-FUVWMCRY.js} +2 -2
  41. package/dist/chunks/{chunk-KRGFQLGY.js → chunk-GUZEB3KN.js} +3 -3
  42. package/dist/chunks/{chunk-IO6AH6S6.js → chunk-HAIXGRRS.js} +2 -2
  43. package/dist/chunks/{chunk-CI2P6MWQ.js → chunk-HARFWJBQ.js} +2 -2
  44. package/dist/chunks/{chunk-IDHX5QU5.js → chunk-HDBTTV2S.js} +2 -2
  45. package/dist/chunks/{chunk-JZVNLDXW.js → chunk-HXWIEKOB.js} +4 -4
  46. package/dist/chunks/{chunk-IYUW2RAA.js → chunk-I4GTRFPK.js} +18 -2
  47. package/dist/chunks/{chunk-IYUW2RAA.js.map → chunk-I4GTRFPK.js.map} +1 -1
  48. package/dist/chunks/{chunk-CKQSYJLF.js → chunk-JABCT4RQ.js} +5 -5
  49. package/dist/chunks/{chunk-QFECRPMQ.js → chunk-JEEF7UIH.js} +4 -4
  50. package/dist/chunks/{chunk-AXB6T7KH.js → chunk-JHLJJDNJ.js} +6 -6
  51. package/dist/chunks/{chunk-ZVAXTBZ4.js → chunk-JVIS6M37.js} +13 -13
  52. package/dist/chunks/{chunk-FPW3QSQD.js → chunk-KN3FKKYY.js} +3 -3
  53. package/dist/chunks/{chunk-RVWRZVRT.js → chunk-KUVGN7VF.js} +2 -2
  54. package/dist/chunks/{chunk-TPYEIOFB.js → chunk-LLR7GHVU.js} +2 -2
  55. package/dist/chunks/{chunk-BFK5ZLTI.js → chunk-LMLCGIQR.js} +3 -3
  56. package/dist/chunks/{chunk-JXIZ23M4.js → chunk-MEZUNP2E.js} +2 -2
  57. package/dist/chunks/{chunk-QHNAT275.js → chunk-MOGE5ZMI.js} +3 -3
  58. package/dist/chunks/{chunk-2ADHYVB2.js → chunk-MTY3SZOT.js} +2 -2
  59. package/dist/chunks/{chunk-K6CL6T23.js → chunk-MV2T5HFQ.js} +4 -4
  60. package/dist/chunks/{chunk-HK7GUHPD.js → chunk-NWIOFCDB.js} +66 -40
  61. package/dist/chunks/{chunk-HK7GUHPD.js.map → chunk-NWIOFCDB.js.map} +1 -1
  62. package/dist/chunks/{chunk-GNBTKM54.js → chunk-O53H43CX.js} +2 -2
  63. package/dist/chunks/{chunk-UU6Z4RNI.js → chunk-O62YM5KA.js} +2 -2
  64. package/dist/chunks/{chunk-UGECQ2K7.js → chunk-O7J6EFVD.js} +14 -11
  65. package/dist/chunks/chunk-O7J6EFVD.js.map +6 -0
  66. package/dist/chunks/{chunk-MT2KWIQD.js → chunk-OLI35PTE.js} +2 -2
  67. package/dist/chunks/{chunk-VXZ4I76G.js → chunk-ONVXBWB5.js} +2 -2
  68. package/dist/chunks/{chunk-3L7O76A5.js → chunk-P52PAWBP.js} +4 -4
  69. package/dist/chunks/{chunk-ENQ34C3Q.js → chunk-P5OZ7YN6.js} +3 -3
  70. package/dist/chunks/{chunk-WBDMD7WY.js → chunk-PKGMZRUT.js} +2 -2
  71. package/dist/chunks/{chunk-HOBBN5HG.js → chunk-PN2UBL2H.js} +2 -2
  72. package/dist/chunks/{chunk-LML7JKQR.js → chunk-PR2EE4G4.js} +3 -3
  73. package/dist/chunks/{chunk-HM3XROXV.js → chunk-PV4TEEGI.js} +5 -5
  74. package/dist/chunks/{chunk-C2Z7OQYW.js → chunk-PWNFXNFK.js} +4 -4
  75. package/dist/chunks/{chunk-RSMLOV7S.js → chunk-QY4UUQQT.js} +12 -12
  76. package/dist/chunks/{chunk-R5SZRIJ4.js → chunk-R6P5H47N.js} +3 -3
  77. package/dist/chunks/{chunk-L37OHUPQ.js → chunk-R6ZDPAEV.js} +4 -4
  78. package/dist/chunks/{chunk-QUADPKLH.js → chunk-RTDE5QSZ.js} +4 -4
  79. package/dist/chunks/{chunk-2VKT4OPG.js → chunk-RTFC2VXR.js} +26 -6
  80. package/dist/chunks/chunk-RTFC2VXR.js.map +6 -0
  81. package/dist/chunks/{chunk-PMUGOF5V.js → chunk-TQG7WZI5.js} +2 -2
  82. package/dist/chunks/{chunk-LYTJJ2LG.js → chunk-UBOE47YI.js} +4 -4
  83. package/dist/chunks/{chunk-JNPUGWLC.js → chunk-UNQYPFDZ.js} +6 -6
  84. package/dist/chunks/{chunk-SDK374XH.js → chunk-V4WSIY32.js} +3 -3
  85. package/dist/chunks/{chunk-MVCDUAE3.js → chunk-V5DDXBVW.js} +3 -3
  86. package/dist/chunks/{chunk-PP5FDOXX.js → chunk-VLE4DKQR.js} +3 -3
  87. package/dist/chunks/{chunk-W4BOQPYP.js → chunk-VVMRXGQ6.js} +506 -163
  88. package/dist/chunks/chunk-VVMRXGQ6.js.map +6 -0
  89. package/dist/chunks/{chunk-RJTLS6RP.js → chunk-WCMXLFUB.js} +10 -10
  90. package/dist/chunks/{chunk-S5HIHXZO.js → chunk-WD45OZPT.js} +3 -3
  91. package/dist/chunks/{chunk-LJFJLXD5.js → chunk-WEUXBFYG.js} +4 -4
  92. package/dist/chunks/{chunk-TCOZSNNY.js → chunk-XMYFIXCP.js} +4 -4
  93. package/dist/chunks/{chunk-WBWDM4FM.js → chunk-Y5D6542Z.js} +2 -2
  94. package/dist/chunks/{chunk-VZD5OAVF.js → chunk-YGLJBR4L.js} +4 -4
  95. package/dist/chunks/{chunk-SWEP7MWK.js → chunk-YM5DH66D.js} +3 -3
  96. package/dist/chunks/{chunk-VWLPYZM7.js → chunk-YY6RFZ2L.js} +9 -9
  97. package/dist/chunks/{chunk-DBPV2NYH.js → chunk-ZIUKLIUS.js} +2 -2
  98. package/dist/chunks/{chunk-KUPDSMDC.js → chunk-ZNC5BEFK.js} +2 -2
  99. package/dist/chunks/{cli-runtime-WBHLU5Z2.js → cli-runtime-5GEVVA3K.js} +14 -14
  100. package/dist/chunks/{commands-Q5YVFT5H.js → commands-Y37MKMRJ.js} +5 -5
  101. package/dist/chunks/{crash-report-7B6INW5Z.js → crash-report-S6W5DXCO.js} +7 -7
  102. package/dist/chunks/{dist-XF4ALE5R.js → dist-2RVY7QOH.js} +2 -2
  103. package/dist/chunks/{dist-JXBZJMCJ.js → dist-3FVIUYVA.js} +2 -2
  104. package/dist/chunks/{dist-55O7DGZC.js → dist-4ATGJMUC.js} +2 -2
  105. package/dist/chunks/{dist-CX6YZPQP.js → dist-5E47CZZT.js} +2 -2
  106. package/dist/chunks/{dist-64A6FTG4.js → dist-DODOSCTW.js} +10 -2
  107. package/dist/chunks/{dist-DM56OGFI.js → dist-HCI4L6AO.js} +2 -2
  108. package/dist/chunks/{dist-JTKWJRF3.js → dist-IPQPISKD.js} +2 -2
  109. package/dist/chunks/{dist-JFEBD4RQ.js → dist-YO357DAD.js} +2 -2
  110. package/dist/chunks/{doctor-7VGHHJPO.js → doctor-EZEJEK6B.js} +16 -16
  111. package/dist/chunks/{drain-XXZ2WGI7.js → drain-VVEMLN3L.js} +9 -9
  112. package/dist/chunks/{entry-EBSTYPZD.js → entry-CZ63UJYN.js} +6 -6
  113. package/dist/chunks/{eval-6FWPUHTJ.js → eval-ZOF3EXZS.js} +2 -2
  114. package/dist/chunks/{exec-3SWUDHXF.js → exec-DYAFXHZM.js} +37 -37
  115. package/dist/chunks/{github-VS24TC5M.js → github-VCUDZDGI.js} +2 -2
  116. package/dist/chunks/{home-S7VBBT2P.js → home-UVU2HRDB.js} +3 -3
  117. package/dist/chunks/{host-F6WQBUBZ.js → host-Q3YNLTNL.js} +10 -10
  118. package/dist/chunks/{host-queries-U6KGTEF7.js → host-queries-Z4BSL457.js} +15 -15
  119. package/dist/chunks/{learn-Y4THSWLS.js → learn-SAZ3JOK3.js} +11 -11
  120. package/dist/chunks/{learn-builtin-YLECAT67.js → learn-builtin-SQ2BTDFH.js} +14 -14
  121. package/dist/chunks/{lifecycle-ZUYCZRMU.js → lifecycle-24A5HH4I.js} +29 -29
  122. package/dist/chunks/{list-RAVXA62R.js → list-HAI55KLQ.js} +12 -12
  123. package/dist/chunks/{live-R7UZIHRU.js → live-EIQ666TU.js} +15 -15
  124. package/dist/chunks/{login-XFL5R3F3.js → login-YJ6L7KSY.js} +13 -13
  125. package/dist/chunks/{logs-FHXX2ZYY.js → logs-RWGXFRMN.js} +4 -4
  126. package/dist/chunks/{mcp-GJYWIZDK.js → mcp-DO454555.js} +22 -22
  127. package/dist/chunks/{message-command-ALRNDWDM.js → message-command-AJOTC3UK.js} +42 -42
  128. package/dist/chunks/{open-52RISMYT.js → open-LEAR5UBX.js} +8 -8
  129. package/dist/chunks/{operator-tools-KRVBU5DK.js → operator-tools-AHP32F2J.js} +13 -13
  130. package/dist/chunks/{output-schema-TN574F4W.js → output-schema-YDKTNTMM.js} +3 -3
  131. package/dist/chunks/{pal-Z72EQIYV.js → pal-XPZD6PAO.js} +16 -16
  132. package/dist/chunks/{peers-TJCZBKJN.js → peers-MRKWY3MG.js} +8 -8
  133. package/dist/chunks/{peers-VBFD7USO.js → peers-NLUBD4IW.js} +6 -6
  134. package/dist/chunks/{providers-WZ5ZDUB3.js → providers-QPESWN6K.js} +11 -11
  135. package/dist/chunks/{pty-KWFUBODN.js → pty-BDOOEOCB.js} +3 -3
  136. package/dist/chunks/resume-ZS3VS5OQ.js +23 -0
  137. package/dist/chunks/{resume-command-RVILL4QU.js → resume-command-KIXKOEM3.js} +5 -5
  138. package/dist/chunks/{schedule-YZ5QHVUE.js → schedule-6BKCRYAT.js} +8 -8
  139. package/dist/chunks/{service-WE5GLBMV.js → service-ENTDZAVD.js} +29 -29
  140. package/dist/chunks/{skills-W5AH33BU.js → skills-MG2BRTPV.js} +9 -9
  141. package/dist/chunks/{start-check-EBQJY4RL.js → start-check-7WYNSBON.js} +2 -2
  142. package/dist/chunks/{startup-failure-AXFS5D3F.js → startup-failure-EWWYKPVE.js} +2 -2
  143. package/dist/chunks/{state-NYIQ2RRT.js → state-6UVY4EHA.js} +3 -3
  144. package/dist/chunks/{store-LNGCY3CJ.js → store-ASWK7TVD.js} +3 -3
  145. package/dist/chunks/{store-LWOLZU4Z.js → store-OKK7A6ZE.js} +6 -6
  146. package/dist/chunks/{store-JUC4TU6P.js → store-UFUDXZG6.js} +14 -10
  147. package/dist/chunks/{store-BEOWOJIT.js → store-XU4PITDA.js} +4 -4
  148. package/dist/chunks/{tui-JPQMFVPY.js → tui-L4BRR4H5.js} +284 -149
  149. package/dist/chunks/tui-L4BRR4H5.js.map +6 -0
  150. package/dist/chunks/{upgrade-XR3ZBXRQ.js → upgrade-IJFMAW3T.js} +7 -7
  151. package/dist/chunks/{workspaces-F6RNJXKR.js → workspaces-KVFY66IC.js} +16 -16
  152. package/dist/chunks/{worktree-LE5FPYCK.js → worktree-7JTMEYRX.js} +13 -13
  153. package/dist/commands/acp-provider-retry.d.ts +30 -0
  154. package/dist/commands/acp-provider-retry.d.ts.map +1 -1
  155. package/dist/commands/acp.d.ts.map +1 -1
  156. package/dist/commands/desktop-host.d.ts +3 -0
  157. package/dist/commands/desktop-host.d.ts.map +1 -1
  158. package/dist/config/schema.d.ts +3 -2
  159. package/dist/config/schema.d.ts.map +1 -1
  160. package/dist/index.js +19 -19
  161. package/dist/integrations/sessions/store.d.ts +7 -1
  162. package/dist/integrations/sessions/store.d.ts.map +1 -1
  163. package/dist/integrations/workflows/host.d.ts.map +1 -1
  164. package/dist/integrations/workflows/offering.d.ts.map +1 -1
  165. package/dist/integrations/workflows/size.d.ts +21 -7
  166. package/dist/integrations/workflows/size.d.ts.map +1 -1
  167. package/dist/tui/AgentExplorer.d.ts +59 -8
  168. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  169. package/dist/tui/App.d.ts +3 -0
  170. package/dist/tui/App.d.ts.map +1 -1
  171. package/dist/tui/PermissionOverlay.d.ts +15 -0
  172. package/dist/tui/PermissionOverlay.d.ts.map +1 -1
  173. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  174. package/dist/tui/agent.d.ts +21 -1
  175. package/dist/tui/agent.d.ts.map +1 -1
  176. package/dist/tui/conversation-in-use.d.ts +2 -2
  177. package/dist/tui/conversation-in-use.d.ts.map +1 -1
  178. package/dist/tui/permission-review.d.ts +22 -0
  179. package/dist/tui/permission-review.d.ts.map +1 -1
  180. package/dist/tui/terminal-display.d.ts +19 -0
  181. package/dist/tui/terminal-display.d.ts.map +1 -1
  182. package/package.json +6 -6
  183. package/skills/README.md +4 -0
  184. package/skills/browser-automation/SKILL.md +1 -1
  185. package/skills/review-changes/SKILL.md +63 -0
  186. package/skills/schedule-task/SKILL.md +1 -1
  187. package/skills/skill-creator/SKILL.md +1 -1
  188. package/skills/verify-change/SKILL.md +63 -0
  189. package/dist/chunks/acp-GJQH42RG.js.map +0 -6
  190. package/dist/chunks/agent-session-MCYT4656.js +0 -69
  191. package/dist/chunks/chunk-2VKT4OPG.js.map +0 -6
  192. package/dist/chunks/chunk-UGECQ2K7.js.map +0 -6
  193. package/dist/chunks/chunk-V6W5ILRM.js.map +0 -6
  194. package/dist/chunks/chunk-W4BOQPYP.js.map +0 -6
  195. package/dist/chunks/resume-FVNBMR6D.js +0 -23
  196. package/dist/chunks/tui-JPQMFVPY.js.map +0 -6
  197. /package/dist/chunks/{activity-command-I3AIOI7D.js.map → activity-command-SJGXPUYE.js.map} +0 -0
  198. /package/dist/chunks/{add-UGB46RWA.js.map → add-H4FUTHAQ.js.map} +0 -0
  199. /package/dist/chunks/{agent-DM74JBNA.js.map → agent-U4YLYJ4N.js.map} +0 -0
  200. /package/dist/chunks/{agent-session-MCYT4656.js.map → agent-session-YNUAPMAL.js.map} +0 -0
  201. /package/dist/chunks/{archive-3AAGSJMI.js.map → archive-O236ZKWI.js.map} +0 -0
  202. /package/dist/chunks/{bin-main-EFP5SLD4.js.map → bin-main-YS3HF46K.js.map} +0 -0
  203. /package/dist/chunks/{binding-YGRSM4NK.js.map → binding-SS7YOEIZ.js.map} +0 -0
  204. /package/dist/chunks/{browser-55KWOLRE.js.map → browser-OA2KB5Z2.js.map} +0 -0
  205. /package/dist/chunks/{chat-JHGNJACB.js.map → chat-EBNDAIRO.js.map} +0 -0
  206. /package/dist/chunks/{chunk-IWBRKHR3.js.map → chunk-22PMPEFX.js.map} +0 -0
  207. /package/dist/chunks/{chunk-H6NLFR25.js.map → chunk-2E3ALKOF.js.map} +0 -0
  208. /package/dist/chunks/{chunk-QKPM4YWZ.js.map → chunk-3XIWMQLP.js.map} +0 -0
  209. /package/dist/chunks/{chunk-QAQBDQOO.js.map → chunk-4HGQJYDZ.js.map} +0 -0
  210. /package/dist/chunks/{chunk-M3BND4IS.js.map → chunk-56SPZGFT.js.map} +0 -0
  211. /package/dist/chunks/{chunk-H7GNPOE4.js.map → chunk-5FZDDFXS.js.map} +0 -0
  212. /package/dist/chunks/{chunk-2T3C6WAE.js.map → chunk-635U2FDK.js.map} +0 -0
  213. /package/dist/chunks/{chunk-BKAGWRB7.js.map → chunk-6GITBOHO.js.map} +0 -0
  214. /package/dist/chunks/{chunk-G3R4GLH5.js.map → chunk-77RA2AU7.js.map} +0 -0
  215. /package/dist/chunks/{chunk-7JPWIMTU.js.map → chunk-7J3IMJKF.js.map} +0 -0
  216. /package/dist/chunks/{chunk-XN7X4A7F.js.map → chunk-AJHNH4WR.js.map} +0 -0
  217. /package/dist/chunks/{chunk-7HYNH2U5.js.map → chunk-B5AIMVRI.js.map} +0 -0
  218. /package/dist/chunks/{chunk-KONJIEUP.js.map → chunk-BK5AJ7TL.js.map} +0 -0
  219. /package/dist/chunks/{chunk-572QEPMC.js.map → chunk-BPZQYXLI.js.map} +0 -0
  220. /package/dist/chunks/{chunk-KCRRCSBK.js.map → chunk-C5P7OAML.js.map} +0 -0
  221. /package/dist/chunks/{chunk-QKRGJPU6.js.map → chunk-CIHHPULI.js.map} +0 -0
  222. /package/dist/chunks/{chunk-RC3A3XQL.js.map → chunk-D3ITBQ7T.js.map} +0 -0
  223. /package/dist/chunks/{chunk-R5W3XDG5.js.map → chunk-DFFTGAS7.js.map} +0 -0
  224. /package/dist/chunks/{chunk-HHZYPDYM.js.map → chunk-DWFJETFP.js.map} +0 -0
  225. /package/dist/chunks/{chunk-FBQ7SPP2.js.map → chunk-EB7AS2K4.js.map} +0 -0
  226. /package/dist/chunks/{chunk-FKTZTO3B.js.map → chunk-F3QD24YN.js.map} +0 -0
  227. /package/dist/chunks/{chunk-P2CH7AHO.js.map → chunk-F7ECNFNX.js.map} +0 -0
  228. /package/dist/chunks/{chunk-35KJUUIZ.js.map → chunk-FA2ZVSEU.js.map} +0 -0
  229. /package/dist/chunks/{chunk-EEN7FPSL.js.map → chunk-FSPBJ5VF.js.map} +0 -0
  230. /package/dist/chunks/{chunk-H734PAIA.js.map → chunk-FUVWMCRY.js.map} +0 -0
  231. /package/dist/chunks/{chunk-KRGFQLGY.js.map → chunk-GUZEB3KN.js.map} +0 -0
  232. /package/dist/chunks/{chunk-IO6AH6S6.js.map → chunk-HAIXGRRS.js.map} +0 -0
  233. /package/dist/chunks/{chunk-CI2P6MWQ.js.map → chunk-HARFWJBQ.js.map} +0 -0
  234. /package/dist/chunks/{chunk-IDHX5QU5.js.map → chunk-HDBTTV2S.js.map} +0 -0
  235. /package/dist/chunks/{chunk-JZVNLDXW.js.map → chunk-HXWIEKOB.js.map} +0 -0
  236. /package/dist/chunks/{chunk-CKQSYJLF.js.map → chunk-JABCT4RQ.js.map} +0 -0
  237. /package/dist/chunks/{chunk-QFECRPMQ.js.map → chunk-JEEF7UIH.js.map} +0 -0
  238. /package/dist/chunks/{chunk-AXB6T7KH.js.map → chunk-JHLJJDNJ.js.map} +0 -0
  239. /package/dist/chunks/{chunk-ZVAXTBZ4.js.map → chunk-JVIS6M37.js.map} +0 -0
  240. /package/dist/chunks/{chunk-FPW3QSQD.js.map → chunk-KN3FKKYY.js.map} +0 -0
  241. /package/dist/chunks/{chunk-RVWRZVRT.js.map → chunk-KUVGN7VF.js.map} +0 -0
  242. /package/dist/chunks/{chunk-TPYEIOFB.js.map → chunk-LLR7GHVU.js.map} +0 -0
  243. /package/dist/chunks/{chunk-BFK5ZLTI.js.map → chunk-LMLCGIQR.js.map} +0 -0
  244. /package/dist/chunks/{chunk-JXIZ23M4.js.map → chunk-MEZUNP2E.js.map} +0 -0
  245. /package/dist/chunks/{chunk-QHNAT275.js.map → chunk-MOGE5ZMI.js.map} +0 -0
  246. /package/dist/chunks/{chunk-2ADHYVB2.js.map → chunk-MTY3SZOT.js.map} +0 -0
  247. /package/dist/chunks/{chunk-K6CL6T23.js.map → chunk-MV2T5HFQ.js.map} +0 -0
  248. /package/dist/chunks/{chunk-GNBTKM54.js.map → chunk-O53H43CX.js.map} +0 -0
  249. /package/dist/chunks/{chunk-UU6Z4RNI.js.map → chunk-O62YM5KA.js.map} +0 -0
  250. /package/dist/chunks/{chunk-MT2KWIQD.js.map → chunk-OLI35PTE.js.map} +0 -0
  251. /package/dist/chunks/{chunk-VXZ4I76G.js.map → chunk-ONVXBWB5.js.map} +0 -0
  252. /package/dist/chunks/{chunk-3L7O76A5.js.map → chunk-P52PAWBP.js.map} +0 -0
  253. /package/dist/chunks/{chunk-ENQ34C3Q.js.map → chunk-P5OZ7YN6.js.map} +0 -0
  254. /package/dist/chunks/{chunk-WBDMD7WY.js.map → chunk-PKGMZRUT.js.map} +0 -0
  255. /package/dist/chunks/{chunk-HOBBN5HG.js.map → chunk-PN2UBL2H.js.map} +0 -0
  256. /package/dist/chunks/{chunk-LML7JKQR.js.map → chunk-PR2EE4G4.js.map} +0 -0
  257. /package/dist/chunks/{chunk-HM3XROXV.js.map → chunk-PV4TEEGI.js.map} +0 -0
  258. /package/dist/chunks/{chunk-C2Z7OQYW.js.map → chunk-PWNFXNFK.js.map} +0 -0
  259. /package/dist/chunks/{chunk-RSMLOV7S.js.map → chunk-QY4UUQQT.js.map} +0 -0
  260. /package/dist/chunks/{chunk-R5SZRIJ4.js.map → chunk-R6P5H47N.js.map} +0 -0
  261. /package/dist/chunks/{chunk-L37OHUPQ.js.map → chunk-R6ZDPAEV.js.map} +0 -0
  262. /package/dist/chunks/{chunk-QUADPKLH.js.map → chunk-RTDE5QSZ.js.map} +0 -0
  263. /package/dist/chunks/{chunk-PMUGOF5V.js.map → chunk-TQG7WZI5.js.map} +0 -0
  264. /package/dist/chunks/{chunk-LYTJJ2LG.js.map → chunk-UBOE47YI.js.map} +0 -0
  265. /package/dist/chunks/{chunk-JNPUGWLC.js.map → chunk-UNQYPFDZ.js.map} +0 -0
  266. /package/dist/chunks/{chunk-SDK374XH.js.map → chunk-V4WSIY32.js.map} +0 -0
  267. /package/dist/chunks/{chunk-MVCDUAE3.js.map → chunk-V5DDXBVW.js.map} +0 -0
  268. /package/dist/chunks/{chunk-PP5FDOXX.js.map → chunk-VLE4DKQR.js.map} +0 -0
  269. /package/dist/chunks/{chunk-RJTLS6RP.js.map → chunk-WCMXLFUB.js.map} +0 -0
  270. /package/dist/chunks/{chunk-S5HIHXZO.js.map → chunk-WD45OZPT.js.map} +0 -0
  271. /package/dist/chunks/{chunk-LJFJLXD5.js.map → chunk-WEUXBFYG.js.map} +0 -0
  272. /package/dist/chunks/{chunk-TCOZSNNY.js.map → chunk-XMYFIXCP.js.map} +0 -0
  273. /package/dist/chunks/{chunk-WBWDM4FM.js.map → chunk-Y5D6542Z.js.map} +0 -0
  274. /package/dist/chunks/{chunk-VZD5OAVF.js.map → chunk-YGLJBR4L.js.map} +0 -0
  275. /package/dist/chunks/{chunk-SWEP7MWK.js.map → chunk-YM5DH66D.js.map} +0 -0
  276. /package/dist/chunks/{chunk-VWLPYZM7.js.map → chunk-YY6RFZ2L.js.map} +0 -0
  277. /package/dist/chunks/{chunk-DBPV2NYH.js.map → chunk-ZIUKLIUS.js.map} +0 -0
  278. /package/dist/chunks/{chunk-KUPDSMDC.js.map → chunk-ZNC5BEFK.js.map} +0 -0
  279. /package/dist/chunks/{cli-runtime-WBHLU5Z2.js.map → cli-runtime-5GEVVA3K.js.map} +0 -0
  280. /package/dist/chunks/{commands-Q5YVFT5H.js.map → commands-Y37MKMRJ.js.map} +0 -0
  281. /package/dist/chunks/{crash-report-7B6INW5Z.js.map → crash-report-S6W5DXCO.js.map} +0 -0
  282. /package/dist/chunks/{dist-XF4ALE5R.js.map → dist-2RVY7QOH.js.map} +0 -0
  283. /package/dist/chunks/{dist-JXBZJMCJ.js.map → dist-3FVIUYVA.js.map} +0 -0
  284. /package/dist/chunks/{dist-55O7DGZC.js.map → dist-4ATGJMUC.js.map} +0 -0
  285. /package/dist/chunks/{dist-CX6YZPQP.js.map → dist-5E47CZZT.js.map} +0 -0
  286. /package/dist/chunks/{dist-64A6FTG4.js.map → dist-DODOSCTW.js.map} +0 -0
  287. /package/dist/chunks/{dist-DM56OGFI.js.map → dist-HCI4L6AO.js.map} +0 -0
  288. /package/dist/chunks/{dist-JTKWJRF3.js.map → dist-IPQPISKD.js.map} +0 -0
  289. /package/dist/chunks/{dist-JFEBD4RQ.js.map → dist-YO357DAD.js.map} +0 -0
  290. /package/dist/chunks/{doctor-7VGHHJPO.js.map → doctor-EZEJEK6B.js.map} +0 -0
  291. /package/dist/chunks/{drain-XXZ2WGI7.js.map → drain-VVEMLN3L.js.map} +0 -0
  292. /package/dist/chunks/{entry-EBSTYPZD.js.map → entry-CZ63UJYN.js.map} +0 -0
  293. /package/dist/chunks/{eval-6FWPUHTJ.js.map → eval-ZOF3EXZS.js.map} +0 -0
  294. /package/dist/chunks/{exec-3SWUDHXF.js.map → exec-DYAFXHZM.js.map} +0 -0
  295. /package/dist/chunks/{github-VS24TC5M.js.map → github-VCUDZDGI.js.map} +0 -0
  296. /package/dist/chunks/{home-S7VBBT2P.js.map → home-UVU2HRDB.js.map} +0 -0
  297. /package/dist/chunks/{host-F6WQBUBZ.js.map → host-Q3YNLTNL.js.map} +0 -0
  298. /package/dist/chunks/{host-queries-U6KGTEF7.js.map → host-queries-Z4BSL457.js.map} +0 -0
  299. /package/dist/chunks/{learn-Y4THSWLS.js.map → learn-SAZ3JOK3.js.map} +0 -0
  300. /package/dist/chunks/{learn-builtin-YLECAT67.js.map → learn-builtin-SQ2BTDFH.js.map} +0 -0
  301. /package/dist/chunks/{lifecycle-ZUYCZRMU.js.map → lifecycle-24A5HH4I.js.map} +0 -0
  302. /package/dist/chunks/{list-RAVXA62R.js.map → list-HAI55KLQ.js.map} +0 -0
  303. /package/dist/chunks/{live-R7UZIHRU.js.map → live-EIQ666TU.js.map} +0 -0
  304. /package/dist/chunks/{login-XFL5R3F3.js.map → login-YJ6L7KSY.js.map} +0 -0
  305. /package/dist/chunks/{logs-FHXX2ZYY.js.map → logs-RWGXFRMN.js.map} +0 -0
  306. /package/dist/chunks/{mcp-GJYWIZDK.js.map → mcp-DO454555.js.map} +0 -0
  307. /package/dist/chunks/{message-command-ALRNDWDM.js.map → message-command-AJOTC3UK.js.map} +0 -0
  308. /package/dist/chunks/{open-52RISMYT.js.map → open-LEAR5UBX.js.map} +0 -0
  309. /package/dist/chunks/{operator-tools-KRVBU5DK.js.map → operator-tools-AHP32F2J.js.map} +0 -0
  310. /package/dist/chunks/{output-schema-TN574F4W.js.map → output-schema-YDKTNTMM.js.map} +0 -0
  311. /package/dist/chunks/{pal-Z72EQIYV.js.map → pal-XPZD6PAO.js.map} +0 -0
  312. /package/dist/chunks/{peers-TJCZBKJN.js.map → peers-MRKWY3MG.js.map} +0 -0
  313. /package/dist/chunks/{peers-VBFD7USO.js.map → peers-NLUBD4IW.js.map} +0 -0
  314. /package/dist/chunks/{providers-WZ5ZDUB3.js.map → providers-QPESWN6K.js.map} +0 -0
  315. /package/dist/chunks/{pty-KWFUBODN.js.map → pty-BDOOEOCB.js.map} +0 -0
  316. /package/dist/chunks/{resume-FVNBMR6D.js.map → resume-ZS3VS5OQ.js.map} +0 -0
  317. /package/dist/chunks/{resume-command-RVILL4QU.js.map → resume-command-KIXKOEM3.js.map} +0 -0
  318. /package/dist/chunks/{schedule-YZ5QHVUE.js.map → schedule-6BKCRYAT.js.map} +0 -0
  319. /package/dist/chunks/{service-WE5GLBMV.js.map → service-ENTDZAVD.js.map} +0 -0
  320. /package/dist/chunks/{skills-W5AH33BU.js.map → skills-MG2BRTPV.js.map} +0 -0
  321. /package/dist/chunks/{start-check-EBQJY4RL.js.map → start-check-7WYNSBON.js.map} +0 -0
  322. /package/dist/chunks/{startup-failure-AXFS5D3F.js.map → startup-failure-EWWYKPVE.js.map} +0 -0
  323. /package/dist/chunks/{state-NYIQ2RRT.js.map → state-6UVY4EHA.js.map} +0 -0
  324. /package/dist/chunks/{store-BEOWOJIT.js.map → store-ASWK7TVD.js.map} +0 -0
  325. /package/dist/chunks/{store-JUC4TU6P.js.map → store-OKK7A6ZE.js.map} +0 -0
  326. /package/dist/chunks/{store-LNGCY3CJ.js.map → store-UFUDXZG6.js.map} +0 -0
  327. /package/dist/chunks/{store-LWOLZU4Z.js.map → store-XU4PITDA.js.map} +0 -0
  328. /package/dist/chunks/{upgrade-XR3ZBXRQ.js.map → upgrade-IJFMAW3T.js.map} +0 -0
  329. /package/dist/chunks/{workspaces-F6RNJXKR.js.map → workspaces-KVFY66IC.js.map} +0 -0
  330. /package/dist/chunks/{worktree-LE5FPYCK.js.map → worktree-7JTMEYRX.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @namzu/cli
2
2
 
3
+ ## 51.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ec1d5e0: A conversation no longer refuses every message after the app was closed or killed in the first instant of a reply. When a host went away after writing only a reply's start and your message, the next host treated that reply as still running and the Desktop answered "Namzu is still finishing the last reply. Give it a moment." to everything you sent. The host now closes a reply that has no host running it, with one record and your message kept, when it is asked whether the conversation can go on, and a message sent to a host that never asked closes it as well. When the host was killed and never gave its writer lease back, the reply is closed at once, but only when its lease says it was written in the same place as the host asking (the same host name, process-id namespace and machine identity) and no process has that process id. Two things still wait for the lease's five minutes, as before: a reply whose lease was written by an older version (it names no place), and a reply held by a host in another place, such as a container or a second system that shares the same home folder, where a process id says nothing about whether that host is alive. Two machines with the same host name that both cannot read a machine identity still share a place. A reply another host still runs, and a paused one, are left alone. The terminal's "in use by another window" sentence no longer takes a process of another place for itself.
8
+ - 5c5a3d8: In a second Desktop window, right-clicking a conversation that window had not opened showed no "Mark as unread", and Fork and Copy gave the wrong answer, because the menu looked at a thread that window never loaded. Main now keeps whether a conversation has a reply on its entry in the list, read from the saved log so it survives a restart, and every window follows it. A conversation with a reply offers Mark as unread in any window; Fork, New side chat, Copy as Markdown and Copy last reply say "Open the conversation first." until that window holds the conversation. A conversation with no reply is still not offered Mark as unread. The host's conversation list gains an optional `replied` field.
9
+ - Updated dependencies [ec1d5e0]
10
+ - @namzu/sdk@62.12.0
11
+
12
+ ## 51.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - c72c31e: The default for `compaction.softTargetHeadroom` changes from `0` to `0.05` when you have not set it (and the strategy is `salience`, the default strategy). A compaction pass that starts at half the window now keeps shortening until the context is 5% of the window lower, instead of stopping at half. You will notice two things: passes come in batches (a few per long session) instead of one cut on nearly every turn, so a provider that caches the start of a request keeps its cache between passes; and right after a pass the context is about 5% of the window lower (10,000 tokens on a 200,000-token window), so that much less older history is kept whole. The messages shortened are the same ones in the same order, only earlier. The same default applies to the interactive session, `exec`, the desktop host, scheduled runs, and sub-agents that have a compaction configuration of their own (a sub-agent gets one only when `compaction.autoCompactWindowTokens` is set, as before). The kernel's own default in `@namzu/sdk` is unchanged.
17
+
18
+ To keep the old behaviour exactly, set `compaction.softTargetHeadroom` to `0` in `namzu.config.json` or `~/.namzu/config.yaml`:
19
+
20
+ ```json
21
+ { "compaction": { "softTargetHeadroom": 0 } }
22
+ ```
23
+
24
+ A value you set, `0` included, is always used as written. The `structured` strategy gets no default headroom.
25
+
26
+ ### Minor Changes
27
+
28
+ - c342b78: Two new built-in skills. `verify-change` is offered when the model is about to say a change works: it runs the changed behaviour for real, runs the project's own check as a plain command (so the turn's record can tell whether it passed), and reports one of works, does not, or could not be exercised, with the evidence. `review-changes` looks for defects in a change and reports only those it could make concrete and check. The skill list the model receives is now two entries longer, and the built-in descriptions each end with what the skill is not for. A skill of the same name in your own folders still shadows a built-in, and `skills.builtin: false` leaves them out.
29
+ - 480fe69: A skill the model loaded keeps guiding it after the conversation is trimmed. Before, a pass that cleared old tool results cut the `skill` result down to its two ends and nothing put the steps back, and a summary pass put back only skills loaded in the same turn, so a skill loaded in an earlier turn, or before a resume, was lost the first time the conversation was summarised.
30
+
31
+ Now the kernel finds the skills a conversation loaded from its own messages. After a pass that cut or summarised away a skill's instructions, the next request carries them again as reference, under a short note that they were loaded earlier, still apply, are not to be started over, and that any request written inside a skill is not a new message from you. It is bounded (5,000 tokens a skill, 25,000 together and a twentieth of a small window, newest first; a skill over its cap says how to load it in full, and skills left out for room are named). A skill whose instructions are still whole is never repeated, so most passes add nothing, and a skill you activated yourself is in the system prompt and is untouched. A pass that only clears results appends the note as one recorded-context entry after the newest message, so the cached start of the request is no further forward than the clear already left it.
32
+
33
+ In the terminal, one quiet line says when it happened: `Kept skill instructions in view: pdf-forms`.
34
+
35
+ New for SDK hosts: the live event `compaction_skills_carried` (`skills`, `cut`, `leftOut`), SSE type `compaction.skills_carried`; it is ephemeral and not written to the session log, and the A2A bridge does not map it. A log written by this version holds the note as an ordinary user-role message, which every earlier reader already reads. A host that switches on `SessionEvent['type']` exhaustively adds a case. The summary's restored section now writes each skill as `<loaded-skill name="…">` under `### Skills loaded earlier` instead of `### Skill: <name>`.
36
+
37
+ A skill that runs as a delegated agent (`context: fork`) returns that agent's report; its text now opens with a line saying it is a report and not the skill's instructions, and it is never carried as skill guidance.
38
+
39
+ - 2bab994: A workflow script's phase titles now match ignoring case when no declared title matches exactly: `phase('scan')` and `agent(..., { phase: 'SCAN' })` join the declared `Scan` group, and the declared spelling is the one shown. A title that matches a declared one exactly always does, so a script that declares both `Scan` and `scan` still parses and keeps two phases. A run resumed from an older journal reads it as before and groups its phases by the new rule. `meta.whenToUse` and `meta.phases[].model` are accepted and still do nothing; the docs now say so.
40
+
41
+ The workflow tool's text tells the model how to word a name, description, phases, agent labels and log lines, so reviews and rows read more evenly. A long workflow name in the closing line is now cut with an ellipsis at 48 cells instead of wrapping over several rows, and the `/workflows` list cuts at the same width. Control characters, direction marks and overrides, the line and paragraph separators, the zero-width space, the word joiner, the invisible operators and the byte-order mark in names, titles, labels and log lines were already shown as `\u{....}` literals everywhere; that is now one helper and is pinned by tests. The two joiners U+200D and U+200C are kept as they are, because emoji sequences and some scripts need them.
42
+
43
+ - 2e81b0b: The workflow review and its progress row now use the screen they are on.
44
+
45
+ The review body is as tall as the terminal allows (the rows left after the frame, the question, the choices, the key line and the line above it, never fewer than 6) instead of a fixed 12, so at 30 rows you see about 16 rows of the name, purpose, phases, limits and the start of the script. On a terminal too short for that, the first screen holds the name, the purpose, the phase titles on one line and the limits line; the phase details and the "Shown as" line come after them, a page down, and nothing is left out. While the review is open the call row above it now reads `Workflow(<what it is for>)`, as it does after approval, not the raw call. At a narrow width the key line drops `↑↓ select` first, then `ctrl+c stop`, then `y / n`, then `esc cancel` (Escape still cancels), then `d script`, which is the only way to read the whole script; `enter confirm` stays longest.
46
+
47
+ The progress row narrows in a fixed order: the bar goes from 20 cells to 12, 8 and 4, then the token count goes, then `Large workflow`, then the name is cut with `…`. The `done/asked` count and the elapsed time stay for as long as any of the bar does, so they no longer disappear at 60 columns. With room to spare the row also names the phases that have an agent running (up to two titles, then `+N more`).
48
+
49
+ A run that asks for more agents than the session's size guideline (the configured `workflow.sizeGuideline`, else the default, `medium`, which is 10) is marked `Large workflow` on its row and the conversation gets one quiet line saying so and how to stop it (press ↓ then `x`, or `/workflows`). Nothing is stopped for you. This means the mark now appears above 10 agents with the default guideline, where it used to appear above 25; set `workflow.sizeGuideline: large` or `unrestricted`, or `NAMZU_WORKFLOW_SIZE_WARNING_AGENTS`, to move it. The row no longer carries `· /workflows to stop`.
50
+
51
+ Typing now works from the progress row: a `/` or any printable character leaves the row and goes to the input box, so you can enter a command without pressing Esc first. The arrows, Enter, `x` and Esc still belong to the row. The workflow detail screen no longer draws every kept `log()` line on a terminal shorter than 24 rows; it draws none there, one from 24 rows and three from 30.
52
+
53
+ ### Patch Changes
54
+
55
+ - Updated dependencies [480fe69]
56
+ - Updated dependencies [2bab994]
57
+ - @namzu/sdk@62.11.0
58
+
3
59
  ## 50.3.1
4
60
 
5
61
  ### Patch Changes
package/dist/bin.js CHANGED
@@ -39,6 +39,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
39
39
  suppressSqliteExperimentalWarning();
40
40
 
41
41
  // src/bin.ts
42
- var { main } = await import("./chunks/bin-main-EFP5SLD4.js");
42
+ var { main } = await import("./chunks/bin-main-YS3HF46K.js");
43
43
  await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
44
44
  //# sourceMappingURL=bin.js.map
@@ -2,35 +2,35 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  dispatchCliPalMessages
5
- } from "./chunk-VWLPYZM7.js";
5
+ } from "./chunk-YY6RFZ2L.js";
6
6
  import {
7
7
  readUserMcpServers,
8
8
  summarizeUserMcpServer
9
- } from "./chunk-MT2KWIQD.js";
9
+ } from "./chunk-OLI35PTE.js";
10
10
  import {
11
11
  decideHeadlessTrust
12
- } from "./chunk-WBDMD7WY.js";
12
+ } from "./chunk-PKGMZRUT.js";
13
13
  import {
14
14
  conversationMarkdown,
15
15
  lookupPr,
16
16
  outcomeLine,
17
17
  runCommand,
18
18
  withKeyNote
19
- } from "./chunk-C2Z7OQYW.js";
20
- import "./chunk-572QEPMC.js";
19
+ } from "./chunk-PWNFXNFK.js";
20
+ import "./chunk-BPZQYXLI.js";
21
21
  import "./chunk-JETLWXUE.js";
22
22
  import {
23
23
  deleteUserConfigValue,
24
24
  setUserConfigValue,
25
25
  userConfigPath
26
- } from "./chunk-SWEP7MWK.js";
26
+ } from "./chunk-YM5DH66D.js";
27
27
  import {
28
28
  HeadlessScreen
29
29
  } from "./chunk-GWGIAZLZ.js";
30
30
  import "./chunk-6HTC5TQ3.js";
31
31
  import {
32
32
  launchRefusal
33
- } from "./chunk-IDHX5QU5.js";
33
+ } from "./chunk-HDBTTV2S.js";
34
34
  import {
35
35
  cliPalComputerStatus,
36
36
  cliPalScreen,
@@ -43,21 +43,21 @@ import {
43
43
  startCliPalComputer,
44
44
  stopCliPalComputer,
45
45
  takeOverCliPalComputer
46
- } from "./chunk-S5HIHXZO.js";
46
+ } from "./chunk-WD45OZPT.js";
47
47
  import {
48
48
  palSessionEnvironment
49
- } from "./chunk-RJTLS6RP.js";
49
+ } from "./chunk-WCMXLFUB.js";
50
50
  import {
51
51
  cliPalActivitySubscriptionPolicy,
52
52
  cliPalActivitySubscriptionStore,
53
53
  cliPalCommunicationPolicy,
54
54
  cliPalCommunicationStore
55
- } from "./chunk-JNPUGWLC.js";
55
+ } from "./chunk-UNQYPFDZ.js";
56
56
  import {
57
57
  claimPalConversation,
58
58
  listPalConversations,
59
59
  palConversationBinding
60
- } from "./chunk-HHZYPDYM.js";
60
+ } from "./chunk-DWFJETFP.js";
61
61
  import {
62
62
  FileCheckpointStore,
63
63
  PluginSettingsStore,
@@ -69,34 +69,34 @@ import {
69
69
  sessionLogCheckpointView,
70
70
  validateComposerSendSettings,
71
71
  verifyCredential
72
- } from "./chunk-HK7GUHPD.js";
73
- import "./chunk-VZD5OAVF.js";
74
- import "./chunk-G3R4GLH5.js";
75
- import "./chunk-P2CH7AHO.js";
76
- import "./chunk-FPW3QSQD.js";
77
- import "./chunk-QUADPKLH.js";
78
- import "./chunk-K6CL6T23.js";
79
- import "./chunk-H734PAIA.js";
80
- import "./chunk-UGECQ2K7.js";
81
- import "./chunk-TCOZSNNY.js";
72
+ } from "./chunk-NWIOFCDB.js";
73
+ import "./chunk-YGLJBR4L.js";
74
+ import "./chunk-77RA2AU7.js";
75
+ import "./chunk-F7ECNFNX.js";
76
+ import "./chunk-KN3FKKYY.js";
77
+ import "./chunk-RTDE5QSZ.js";
78
+ import "./chunk-MV2T5HFQ.js";
79
+ import "./chunk-FUVWMCRY.js";
80
+ import "./chunk-O7J6EFVD.js";
81
+ import "./chunk-XMYFIXCP.js";
82
82
  import "./chunk-WHODOMXA.js";
83
- import "./chunk-SDK374XH.js";
83
+ import "./chunk-V4WSIY32.js";
84
84
  import "./chunk-YOWYTBJS.js";
85
85
  import "./chunk-2IPDTDB3.js";
86
- import "./chunk-WBWDM4FM.js";
87
- import "./chunk-IYUW2RAA.js";
88
- import "./chunk-QHNAT275.js";
86
+ import "./chunk-Y5D6542Z.js";
87
+ import "./chunk-I4GTRFPK.js";
88
+ import "./chunk-MOGE5ZMI.js";
89
89
  import "./chunk-ZWA2JRJV.js";
90
90
  import "./chunk-NUGPLXVK.js";
91
- import "./chunk-CKQSYJLF.js";
91
+ import "./chunk-JABCT4RQ.js";
92
92
  import {
93
93
  listProviderConnections,
94
94
  removeProviderKey,
95
95
  saveProviderKey,
96
96
  typedKeyProvider
97
- } from "./chunk-PP5FDOXX.js";
98
- import "./chunk-HM3XROXV.js";
99
- import "./chunk-QFECRPMQ.js";
97
+ } from "./chunk-VLE4DKQR.js";
98
+ import "./chunk-PV4TEEGI.js";
99
+ import "./chunk-JEEF7UIH.js";
100
100
  import {
101
101
  archiveConversation,
102
102
  closeSessions,
@@ -114,9 +114,10 @@ import {
114
114
  readConversationRecords,
115
115
  refreshIndex,
116
116
  setTitle,
117
+ storedAssistantPhase,
117
118
  unarchiveConversation
118
- } from "./chunk-2VKT4OPG.js";
119
- import "./chunk-KCRRCSBK.js";
119
+ } from "./chunk-RTFC2VXR.js";
120
+ import "./chunk-C5P7OAML.js";
120
121
  import {
121
122
  cliProjectRoot
122
123
  } from "./chunk-JQIBPPOL.js";
@@ -129,14 +130,14 @@ import {
129
130
  listPals,
130
131
  palAtWorkspace,
131
132
  updatePal
132
- } from "./chunk-JZVNLDXW.js";
133
+ } from "./chunk-HXWIEKOB.js";
133
134
  import {
134
135
  isTrusted,
135
136
  isTrustedAtStateRoot,
136
137
  trustDir,
137
138
  untrustDir
138
- } from "./chunk-VXZ4I76G.js";
139
- import "./chunk-IO6AH6S6.js";
139
+ } from "./chunk-ONVXBWB5.js";
140
+ import "./chunk-HAIXGRRS.js";
140
141
  import {
141
142
  flushCompileCacheWhenIdle
142
143
  } from "./chunk-SOIP273Z.js";
@@ -147,7 +148,7 @@ import {
147
148
  CLI_VERSION
148
149
  } from "./chunk-HE7WUOX2.js";
149
150
  import "./chunk-GNBMKISG.js";
150
- import "./chunk-BFK5ZLTI.js";
151
+ import "./chunk-LMLCGIQR.js";
151
152
  import "./chunk-OH6TB27S.js";
152
153
  import {
153
154
  ConfigValueError,
@@ -156,7 +157,7 @@ import {
156
157
  loadConfig,
157
158
  pendingProjectMcpServers,
158
159
  readConfigKey
159
- } from "./chunk-V6W5ILRM.js";
160
+ } from "./chunk-CDDXHKSP.js";
160
161
  import {
161
162
  require_dist
162
163
  } from "./chunk-KONYGNG6.js";
@@ -165,10 +166,10 @@ import {
165
166
  compilePermissionLayers,
166
167
  permissionLayersOf,
167
168
  warnLegacyMcpPermissionNames
168
- } from "./chunk-QAQBDQOO.js";
169
+ } from "./chunk-4HGQJYDZ.js";
169
170
  import {
170
171
  cliLogger
171
- } from "./chunk-JXIZ23M4.js";
172
+ } from "./chunk-MEZUNP2E.js";
172
173
  import "./chunk-SIG7WHBU.js";
173
174
  import "./chunk-LVVD32KJ.js";
174
175
  import "./chunk-6PWRKA5T.js";
@@ -185,28 +186,28 @@ import {
185
186
  loadHostPty,
186
187
  processesCarrying,
187
188
  quietConptyHelper
188
- } from "./chunk-CI2P6MWQ.js";
189
- import "./chunk-RSMLOV7S.js";
189
+ } from "./chunk-HARFWJBQ.js";
190
+ import "./chunk-QY4UUQQT.js";
190
191
  import {
191
192
  automaticKind,
192
193
  canSelectModel,
193
194
  discoverProviders,
194
195
  isAnonymousZen
195
- } from "./chunk-L37OHUPQ.js";
196
+ } from "./chunk-R6ZDPAEV.js";
196
197
  import {
197
198
  isOfferableModel
198
199
  } from "./chunk-4QIWRKJO.js";
199
200
  import "./chunk-G6YSAHKC.js";
200
201
  import "./chunk-KTPFUCRU.js";
201
202
  import "./chunk-RI2KAZJO.js";
202
- import "./chunk-PMUGOF5V.js";
203
- import "./chunk-UU6Z4RNI.js";
204
- import "./chunk-GNBTKM54.js";
203
+ import "./chunk-TQG7WZI5.js";
204
+ import "./chunk-O62YM5KA.js";
205
+ import "./chunk-O53H43CX.js";
205
206
  import {
206
207
  canonicalProjectPath
207
208
  } from "./chunk-JORONMD3.js";
208
- import "./chunk-RC3A3XQL.js";
209
- import "./chunk-KUPDSMDC.js";
209
+ import "./chunk-D3ITBQ7T.js";
210
+ import "./chunk-ZNC5BEFK.js";
210
211
  import {
211
212
  ACPServer,
212
213
  DiskLogMedium,
@@ -228,6 +229,7 @@ import {
228
229
  createHarnessSession,
229
230
  createPalActivitySource,
230
231
  createUserMessage,
232
+ currentPlace,
231
233
  discoverAllPluginDirs,
232
234
  dryRunEdit,
233
235
  generateSessionId,
@@ -236,12 +238,14 @@ import {
236
238
  loadPluginManifest,
237
239
  mustAskPerson,
238
240
  openSessionIndex,
241
+ parseTurnHolder,
239
242
  parseTurnOutcome,
240
243
  resolveNamzuHome,
241
244
  resolveWithinAnyReal,
242
245
  resolveWithinReal,
243
- selectAssistantText
244
- } from "./chunk-W4BOQPYP.js";
246
+ selectAssistantText,
247
+ turnHolder
248
+ } from "./chunk-VVMRXGQ6.js";
245
249
  import {
246
250
  __name,
247
251
  __toESM
@@ -4173,6 +4177,56 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
4173
4177
  __name(withCliHarnesses, "withCliHarnesses");
4174
4178
 
4175
4179
  // src/commands/acp-provider-retry.ts
4180
+ var HOST_GONE_REASON = "The host that was running this reply went away before it finished.";
4181
+ function holderIsGone(holder, turnId, probe = pidIsAlive, place = currentPlace()) {
4182
+ const parsed = parseTurnHolder(holder);
4183
+ if (!parsed || parsed.turnId !== turnId) return false;
4184
+ if (parsed.place === void 0 || parsed.place !== place) return false;
4185
+ if (parsed.pid <= 0 || parsed.pid === process.pid) return false;
4186
+ return !probe(parsed.pid);
4187
+ }
4188
+ __name(holderIsGone, "holderIsGone");
4189
+ function pidIsAlive(pid) {
4190
+ try {
4191
+ process.kill(pid, 0);
4192
+ return true;
4193
+ } catch (error) {
4194
+ return error.code !== "ESRCH";
4195
+ }
4196
+ }
4197
+ __name(pidIsAlive, "pidIsAlive");
4198
+ async function settleTurnOfGoneHost(state, sessionId, close, isGone = holderIsGone) {
4199
+ const id2 = asSessionId(sessionId);
4200
+ const facts = await readConversationFacts(state, id2);
4201
+ const active = facts?.activeTurn;
4202
+ if (!active || active.paused) return false;
4203
+ if (facts.latestPause(active.turnId) || facts.wasResumed(active.turnId)) return false;
4204
+ const log = DiskSessionLog.at(state.paths, { sessionId: id2 });
4205
+ const held = await log.lease();
4206
+ const killed = held !== null && held.holder !== "" && isGone(held.holder, active.turnId) ? held : null;
4207
+ const current = await log.activeTurn(killed ? { now: killed.expiresAt } : {});
4208
+ if (!current || current.turnId !== active.turnId || current.state !== "interrupted") return false;
4209
+ try {
4210
+ if (killed) {
4211
+ const lease = await log.claim({
4212
+ holder: turnHolder(id2),
4213
+ ttlMs: 3e4,
4214
+ now: killed.expiresAt
4215
+ });
4216
+ if (!lease) return false;
4217
+ try {
4218
+ await log.abandonTurn(lease, asTurnId(active.turnId), HOST_GONE_REASON);
4219
+ } finally {
4220
+ await log.release(lease).catch(() => void 0);
4221
+ }
4222
+ } else if (close) await close(active.turnId, HOST_GONE_REASON);
4223
+ else await abandonTurn(id2, asTurnId(active.turnId), HOST_GONE_REASON, { log });
4224
+ } catch {
4225
+ return false;
4226
+ }
4227
+ return true;
4228
+ }
4229
+ __name(settleTurnOfGoneHost, "settleTurnOfGoneHost");
4176
4230
  async function readProviderRetryStatus(state, sessionId) {
4177
4231
  const id2 = asSessionId(sessionId);
4178
4232
  const facts = await readConversationFacts(state, id2);
@@ -4700,9 +4754,9 @@ var SETTING_DESCRIPTORS = [
4700
4754
  "compaction.softTargetHeadroom",
4701
4755
  "agent",
4702
4756
  "Room left after shortening",
4703
- "How much further below half the window one round of shortening goes, as a fraction of the window. A larger value shortens less often. Advanced.",
4757
+ "How much further below half the window one round of shortening goes, as a fraction of the window. A larger value shortens less often; 0 shortens only to half the window. Advanced.",
4704
4758
  num(0, 1, "of the window"),
4705
- { defaultText: "0" }
4759
+ { defaultText: "0.05" }
4706
4760
  ),
4707
4761
  d(
4708
4762
  "compaction.autoCompactWindowTokens",
@@ -6274,16 +6328,6 @@ function undoResolutions(value) {
6274
6328
  return out;
6275
6329
  }
6276
6330
  __name(undoResolutions, "undoResolutions");
6277
- function storedAssistantPhase(message) {
6278
- const parts = message.textParts;
6279
- if (!parts?.length || typeof message.content !== "string") return void 0;
6280
- if (selectAssistantText(parts) !== message.content) return void 0;
6281
- const finals = parts.filter((part) => part.phase === "final_answer");
6282
- const selected = finals.length ? finals : parts;
6283
- const phase = selected[0]?.phase;
6284
- return phase && selected.every((part) => part.phase === phase) ? phase : void 0;
6285
- }
6286
- __name(storedAssistantPhase, "storedAssistantPhase");
6287
6331
  function recordedMessageTimes(records) {
6288
6332
  const starts = /* @__PURE__ */ new Map();
6289
6333
  const messages = /* @__PURE__ */ new Map();
@@ -8282,6 +8326,8 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8282
8326
  };
8283
8327
  const inputInbox = liveInbox;
8284
8328
  const monitorSnapshot = record2.session.monitors?.peek() ?? { ids: [] };
8329
+ if (record2.conversations)
8330
+ await settleTurnOfGoneHost(record2.conversations, sessionId).catch(() => false);
8285
8331
  const undoNote = undoNotes.get(sessionId)?.join("\n\n");
8286
8332
  undoNotes.delete(sessionId);
8287
8333
  for await (const event of record2.session.send(messages, {
@@ -8610,6 +8656,11 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8610
8656
  try {
8611
8657
  assertReadTrust(trust.cwd, state);
8612
8658
  const binding = await deps.palBinding?.(trust.cwd, target.sessionId, state);
8659
+ await settleTurnOfGoneHost(
8660
+ state,
8661
+ target.sessionId,
8662
+ record2?.session.abandonTurn ? async (turnId, reason) => record2.session.abandonTurn?.(asTurnId(turnId), reason, { withdrawMessages: false }) : void 0
8663
+ );
8613
8664
  const status = await (deps.readRetryStatus ?? readProviderRetryStatus)(
8614
8665
  state,
8615
8666
  target.sessionId
@@ -9111,4 +9162,4 @@ export {
9111
9162
  resolveAcpSession,
9112
9163
  runAcpCommand
9113
9164
  };
9114
- //# sourceMappingURL=acp-GJQH42RG.js.map
9165
+ //# sourceMappingURL=acp-OKCSCFH2.js.map