@namzu/cli 50.1.0 → 50.3.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 (356) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-PFKCDYRZ.js → acp-2T35QG5N.js} +76 -87
  4. package/dist/chunks/acp-2T35QG5N.js.map +6 -0
  5. package/dist/chunks/{activity-command-VZNRTS4Y.js → activity-command-I3AIOI7D.js} +12 -12
  6. package/dist/chunks/{add-ILOY57M3.js → add-UGB46RWA.js} +19 -19
  7. package/dist/chunks/{agent-7XMB6YDL.js → agent-2667K2DP.js} +37 -35
  8. package/dist/chunks/agent-session-5KMMWJTY.js +69 -0
  9. package/dist/chunks/{archive-YUJITQ3K.js → archive-3AAGSJMI.js} +10 -10
  10. package/dist/chunks/{bin-main-QQCDUNOU.js → bin-main-N76J3LXV.js} +7 -7
  11. package/dist/chunks/{binding-QXY72MYE.js → binding-YGRSM4NK.js} +3 -3
  12. package/dist/chunks/{browser-T5M3N46O.js → browser-55KWOLRE.js} +6 -6
  13. package/dist/chunks/{chat-H6P7555R.js → chat-2JCXYCK4.js} +15 -15
  14. package/dist/chunks/{chunk-SFGTJCGU.js → chunk-2ADHYVB2.js} +2 -2
  15. package/dist/chunks/{chunk-UBB7EIHC.js → chunk-2T3C6WAE.js} +3 -3
  16. package/dist/chunks/{chunk-IZHREIZK.js → chunk-2VKT4OPG.js} +192 -85
  17. package/dist/chunks/chunk-2VKT4OPG.js.map +6 -0
  18. package/dist/chunks/{chunk-SSPDO3JT.js → chunk-2WSCH27F.js} +9 -9
  19. package/dist/chunks/{chunk-GKPO6EGA.js → chunk-35KJUUIZ.js} +2 -2
  20. package/dist/chunks/{chunk-HYWVPQQD.js → chunk-3L7O76A5.js} +4 -4
  21. package/dist/chunks/{chunk-FXAHVRUE.js → chunk-4XONZ3IH.js} +3 -3
  22. package/dist/chunks/{chunk-GN424XZ3.js → chunk-5ISSWZYV.js} +7 -7
  23. package/dist/chunks/{chunk-GL6KSVMS.js → chunk-7DCFWJDK.js} +9 -9
  24. package/dist/chunks/{chunk-SECKALTU.js → chunk-7JPWIMTU.js} +2 -2
  25. package/dist/chunks/{chunk-CFCULKSN.js → chunk-7OYYEJXX.js} +2 -2
  26. package/dist/chunks/{chunk-AKXUNA4X.js → chunk-AXB6T7KH.js} +6 -6
  27. package/dist/chunks/{chunk-MAMV7MUG.js → chunk-B72UXUIV.js} +9 -9
  28. package/dist/chunks/{chunk-HUKEVKWH.js → chunk-BFK5ZLTI.js} +3 -3
  29. package/dist/chunks/{chunk-FM2QPMPK.js → chunk-BKAGWRB7.js} +2 -2
  30. package/dist/chunks/{chunk-NXRUXNJ5.js → chunk-CI2P6MWQ.js} +2 -2
  31. package/dist/chunks/{chunk-JQUAYX3B.js → chunk-CKQSYJLF.js} +5 -5
  32. package/dist/chunks/{chunk-K4PPNYXR.js → chunk-DBPV2NYH.js} +2 -2
  33. package/dist/chunks/{chunk-IQPD7KYD.js → chunk-ENQ34C3Q.js} +3 -3
  34. package/dist/chunks/{chunk-SVB7IHBE.js → chunk-FPW3QSQD.js} +3 -3
  35. package/dist/chunks/{chunk-QNIHTTLG.js → chunk-G3R4GLH5.js} +3 -3
  36. package/dist/chunks/{chunk-T4BQXXZS.js → chunk-GMCZYW6K.js} +5 -5
  37. package/dist/chunks/{chunk-GWXAAFPJ.js → chunk-GNBTKM54.js} +2 -2
  38. package/dist/chunks/{chunk-JGYCZO6C.js → chunk-H734PAIA.js} +2 -2
  39. package/dist/chunks/{chunk-HYUVSO4X.js → chunk-HHZYPDYM.js} +4 -4
  40. package/dist/chunks/{chunk-PCW42R33.js → chunk-HM3XROXV.js} +5 -5
  41. package/dist/chunks/{chunk-2BMVENUB.js → chunk-HOBBN5HG.js} +2 -2
  42. package/dist/chunks/{chunk-CPWGSBBN.js → chunk-I7DZMDL4.js} +3 -3
  43. package/dist/chunks/{chunk-RZ6PDAMQ.js → chunk-IDHX5QU5.js} +2 -2
  44. package/dist/chunks/{chunk-MIJGXF3Z.js → chunk-IO6AH6S6.js} +2 -2
  45. package/dist/chunks/{chunk-4IP74K5V.js → chunk-IWBRKHR3.js} +2 -2
  46. package/dist/chunks/{chunk-URBIMXZN.js → chunk-JNPUGWLC.js} +6 -6
  47. package/dist/chunks/{chunk-EPDDCCV5.js → chunk-JXIZ23M4.js} +2 -2
  48. package/dist/chunks/{chunk-IXDECEIX.js → chunk-JZVNLDXW.js} +4 -4
  49. package/dist/chunks/{chunk-6X3NKVRL.js → chunk-K6CL6T23.js} +30 -4
  50. package/dist/chunks/{chunk-6X3NKVRL.js.map → chunk-K6CL6T23.js.map} +1 -1
  51. package/dist/chunks/{chunk-FIIZZRMV.js → chunk-KCRRCSBK.js} +3 -3
  52. package/dist/chunks/{chunk-XC6UYANY.js → chunk-KONJIEUP.js} +2 -2
  53. package/dist/chunks/{chunk-SB3GBZ65.js → chunk-KRGFQLGY.js} +3 -3
  54. package/dist/chunks/{chunk-WKW65PAC.js → chunk-KUPDSMDC.js} +2 -2
  55. package/dist/chunks/{chunk-Y22AUU3X.js → chunk-L37OHUPQ.js} +4 -4
  56. package/dist/chunks/{chunk-WTMP5H7T.js → chunk-LJFJLXD5.js} +4 -4
  57. package/dist/chunks/{chunk-RGUF5E22.js → chunk-LYTJJ2LG.js} +4 -4
  58. package/dist/chunks/{chunk-7VXBUWVA.js → chunk-M3BND4IS.js} +2 -2
  59. package/dist/chunks/{chunk-NVZRRJJS.js → chunk-MT2KWIQD.js} +2 -2
  60. package/dist/chunks/{chunk-SAJGEVVD.js → chunk-MVCDUAE3.js} +3 -3
  61. package/dist/chunks/{chunk-S4Q4PC2L.js → chunk-MZI3ULZR.js} +21 -5
  62. package/dist/chunks/{chunk-S4Q4PC2L.js.map → chunk-MZI3ULZR.js.map} +1 -1
  63. package/dist/chunks/{chunk-HDOYZYBW.js → chunk-P2CH7AHO.js} +3 -3
  64. package/dist/chunks/{chunk-XXHZE4KV.js → chunk-PMUGOF5V.js} +2 -2
  65. package/dist/chunks/{chunk-D7W5LUXV.js → chunk-PP5FDOXX.js} +3 -3
  66. package/dist/chunks/{chunk-UXXV6VCO.js → chunk-QAQBDQOO.js} +3 -3
  67. package/dist/chunks/{chunk-QPREGR6U.js → chunk-QFECRPMQ.js} +4 -4
  68. package/dist/chunks/{chunk-57EJUGDT.js → chunk-QHNAT275.js} +3 -3
  69. package/dist/chunks/{chunk-56WREK7X.js → chunk-QKRGJPU6.js} +2 -2
  70. package/dist/chunks/{chunk-UARXWUZO.js → chunk-QUADPKLH.js} +4 -4
  71. package/dist/chunks/{chunk-HNVUVSOI.js → chunk-RC3A3XQL.js} +2 -2
  72. package/dist/chunks/{chunk-2FQ6QJIZ.js → chunk-RSMLOV7S.js} +12 -12
  73. package/dist/chunks/{chunk-T2DRSTJV.js → chunk-RVWRZVRT.js} +2 -2
  74. package/dist/chunks/{chunk-FGEJOOL4.js → chunk-S5HIHXZO.js} +3 -3
  75. package/dist/chunks/{chunk-E6BNHEYX.js → chunk-SDK374XH.js} +2 -2
  76. package/dist/chunks/{chunk-KKEWKJVL.js → chunk-SWEP7MWK.js} +3 -3
  77. package/dist/chunks/{chunk-5WSDPQ3D.js → chunk-TCOZSNNY.js} +4 -4
  78. package/dist/chunks/{chunk-CR23VYUE.js → chunk-TKXFM6UF.js} +15 -14
  79. package/dist/chunks/{chunk-CR23VYUE.js.map → chunk-TKXFM6UF.js.map} +1 -1
  80. package/dist/chunks/{chunk-BIDU2JUB.js → chunk-TPYEIOFB.js} +2 -2
  81. package/dist/chunks/{chunk-Z3DTGVZS.js → chunk-UDA4YOUW.js} +127 -42
  82. package/dist/chunks/chunk-UDA4YOUW.js.map +6 -0
  83. package/dist/chunks/{chunk-45PI33XV.js → chunk-UGECQ2K7.js} +3 -3
  84. package/dist/chunks/{chunk-P2E6HFIP.js → chunk-ULRP7FUP.js} +2 -2
  85. package/dist/chunks/{chunk-G5OCRPZF.js → chunk-UU6Z4RNI.js} +2 -2
  86. package/dist/chunks/{chunk-ZJKISI2K.js → chunk-V6W5ILRM.js} +13 -5
  87. package/dist/chunks/chunk-V6W5ILRM.js.map +6 -0
  88. package/dist/chunks/{chunk-ITNMS75R.js → chunk-VXZ4I76G.js} +2 -2
  89. package/dist/chunks/{chunk-P7NXR4OV.js → chunk-VZD5OAVF.js} +4 -4
  90. package/dist/chunks/{chunk-ZE6HLPD4.js → chunk-W4BOQPYP.js} +944 -327
  91. package/dist/chunks/chunk-W4BOQPYP.js.map +6 -0
  92. package/dist/chunks/{chunk-VQ7FOO7M.js → chunk-WBDMD7WY.js} +2 -2
  93. package/dist/chunks/{chunk-424T6RL4.js → chunk-WBWDM4FM.js} +2 -2
  94. package/dist/chunks/{chunk-IXNUPR24.js → chunk-WHZO5JAN.js} +33 -33
  95. package/dist/chunks/{chunk-C2PBNQYT.js → chunk-YEDLKZJU.js} +10 -10
  96. package/dist/chunks/{chunk-RSAB3MPL.js → chunk-ZVAXTBZ4.js} +11 -11
  97. package/dist/chunks/{cli-runtime-JXRGA4O7.js → cli-runtime-WBHLU5Z2.js} +11 -11
  98. package/dist/chunks/{commands-3K6WWRUN.js → commands-Q5YVFT5H.js} +5 -5
  99. package/dist/chunks/{crash-report-NTEADY4P.js → crash-report-7B6INW5Z.js} +6 -6
  100. package/dist/chunks/{dist-Z2QVC4OK.js → dist-55O7DGZC.js} +2 -2
  101. package/dist/chunks/{dist-WDRMCFAU.js → dist-64A6FTG4.js} +10 -2
  102. package/dist/chunks/{dist-G2QITXMW.js → dist-CX6YZPQP.js} +2 -2
  103. package/dist/chunks/{dist-5ZAKSBZS.js → dist-DM56OGFI.js} +2 -2
  104. package/dist/chunks/{dist-43NXQHZ2.js → dist-JFEBD4RQ.js} +2 -2
  105. package/dist/chunks/{dist-EHAGNOTG.js → dist-JTKWJRF3.js} +2 -2
  106. package/dist/chunks/{dist-VEUKVTZP.js → dist-JXBZJMCJ.js} +2 -2
  107. package/dist/chunks/{dist-CRT6EQAR.js → dist-XF4ALE5R.js} +2 -2
  108. package/dist/chunks/{doctor-UVX6YR2I.js → doctor-J74VP3YF.js} +16 -16
  109. package/dist/chunks/{drain-URR6CUUH.js → drain-43YQMN3N.js} +9 -9
  110. package/dist/chunks/{entry-WCWSORA2.js → entry-EBSTYPZD.js} +6 -6
  111. package/dist/chunks/{eval-Y6FUUDCX.js → eval-6FWPUHTJ.js} +2 -2
  112. package/dist/chunks/{exec-5BUTAYMJ.js → exec-3OL72UXM.js} +34 -34
  113. package/dist/chunks/{home-HDE3CFLB.js → home-S7VBBT2P.js} +3 -3
  114. package/dist/chunks/{host-TZ6GSDWP.js → host-F6WQBUBZ.js} +10 -10
  115. package/dist/chunks/{host-queries-Y7A4XJ64.js → host-queries-PXLHY5OD.js} +15 -15
  116. package/dist/chunks/{learn-GYBZNIT3.js → learn-NNNC4PEC.js} +11 -11
  117. package/dist/chunks/{learn-builtin-EJXTHMX6.js → learn-builtin-BDKIORNW.js} +14 -14
  118. package/dist/chunks/{lifecycle-5EM2QRFV.js → lifecycle-6UXAIU2W.js} +28 -28
  119. package/dist/chunks/{list-M34JU5AG.js → list-RAVXA62R.js} +11 -11
  120. package/dist/chunks/{live-XMBIOII4.js → live-R457RDVD.js} +15 -15
  121. package/dist/chunks/{login-NI3DFWOW.js → login-XFL5R3F3.js} +13 -13
  122. package/dist/chunks/{logs-OI6GZRRC.js → logs-FHXX2ZYY.js} +4 -4
  123. package/dist/chunks/{mcp-FK3OBBSJ.js → mcp-GJYWIZDK.js} +24 -21
  124. package/dist/chunks/{mcp-FK3OBBSJ.js.map → mcp-GJYWIZDK.js.map} +1 -1
  125. package/dist/chunks/{message-command-CIYB47HZ.js → message-command-HLV22I75.js} +41 -41
  126. package/dist/chunks/{open-XYGGZHXM.js → open-52RISMYT.js} +8 -8
  127. package/dist/chunks/{operator-tools-QSZS57PI.js → operator-tools-KRVBU5DK.js} +13 -13
  128. package/dist/chunks/{output-schema-BTNJ6DL5.js → output-schema-TN574F4W.js} +3 -3
  129. package/dist/chunks/{pal-EQAAJBWP.js → pal-F6UND6OQ.js} +16 -16
  130. package/dist/chunks/{peers-35H6CZOZ.js → peers-TJCZBKJN.js} +7 -7
  131. package/dist/chunks/{peers-KN4BGJHU.js → peers-VBFD7USO.js} +6 -6
  132. package/dist/chunks/{providers-I2GONE3C.js → providers-WZ5ZDUB3.js} +11 -11
  133. package/dist/chunks/{pty-GZ4R2DCS.js → pty-KWFUBODN.js} +3 -3
  134. package/dist/chunks/resume-FVNBMR6D.js +23 -0
  135. package/dist/chunks/{resume-command-TOAGIGZO.js → resume-command-RVILL4QU.js} +4 -4
  136. package/dist/chunks/{schedule-FU5WY3WV.js → schedule-3QGQRJB7.js} +8 -8
  137. package/dist/chunks/{service-3UYEV4JX.js → service-MI36D5ZK.js} +28 -28
  138. package/dist/chunks/{skills-4V2SBEY3.js → skills-W5AH33BU.js} +8 -8
  139. package/dist/chunks/{start-check-RBYWVZT4.js → start-check-567HOC4A.js} +2 -2
  140. package/dist/chunks/{startup-failure-SST73T7Q.js → startup-failure-AXFS5D3F.js} +2 -2
  141. package/dist/chunks/{state-N46ZI3LZ.js → state-NYIQ2RRT.js} +2 -2
  142. package/dist/chunks/{store-RHAHG45U.js → store-BEOWOJIT.js} +4 -4
  143. package/dist/chunks/{store-R662Y2YQ.js → store-JUC4TU6P.js} +14 -10
  144. package/dist/chunks/{store-KA6NETSP.js → store-LNGCY3CJ.js} +3 -3
  145. package/dist/chunks/{store-M56FSIZT.js → store-LWOLZU4Z.js} +6 -6
  146. package/dist/chunks/{tui-TJNH67YO.js → tui-W7I4CLSF.js} +1006 -350
  147. package/dist/chunks/tui-W7I4CLSF.js.map +6 -0
  148. package/dist/chunks/{upgrade-YNYPRYFI.js → upgrade-APJTDSEG.js} +7 -7
  149. package/dist/chunks/{workspaces-OITS2AZJ.js → workspaces-F6RNJXKR.js} +16 -16
  150. package/dist/chunks/{worktree-DJW4XCBG.js → worktree-LE5FPYCK.js} +12 -12
  151. package/dist/commands/acp-harness.d.ts.map +1 -1
  152. package/dist/commands/acp-provider-retry.d.ts.map +1 -1
  153. package/dist/commands/acp.d.ts.map +1 -1
  154. package/dist/commands/desktop-host.d.ts.map +1 -1
  155. package/dist/commands/desktop-model-catalogue.d.ts +4 -0
  156. package/dist/commands/desktop-model-catalogue.d.ts.map +1 -1
  157. package/dist/commands/mcp.d.ts.map +1 -1
  158. package/dist/config/load.d.ts.map +1 -1
  159. package/dist/config/schema.d.ts +10 -0
  160. package/dist/config/schema.d.ts.map +1 -1
  161. package/dist/config/settings-descriptors.d.ts.map +1 -1
  162. package/dist/index.js +19 -19
  163. package/dist/integrations/mcp/servers.d.ts +25 -0
  164. package/dist/integrations/mcp/servers.d.ts.map +1 -1
  165. package/dist/integrations/sessions/conversation-facts.d.ts +76 -0
  166. package/dist/integrations/sessions/conversation-facts.d.ts.map +1 -0
  167. package/dist/integrations/sessions/store.d.ts +22 -18
  168. package/dist/integrations/sessions/store.d.ts.map +1 -1
  169. package/dist/rounds/types.d.ts +1 -1
  170. package/dist/rounds/types.d.ts.map +1 -1
  171. package/dist/schedule/daemon/sessions.d.ts +3 -3
  172. package/dist/schedule/daemon/sessions.d.ts.map +1 -1
  173. package/dist/tui/App.d.ts.map +1 -1
  174. package/dist/tui/Composer.d.ts +7 -1
  175. package/dist/tui/Composer.d.ts.map +1 -1
  176. package/dist/tui/ReadSearchGroup.d.ts.map +1 -1
  177. package/dist/tui/Transcript.d.ts +1 -1
  178. package/dist/tui/Transcript.d.ts.map +1 -1
  179. package/dist/tui/agent.d.ts +7 -1
  180. package/dist/tui/agent.d.ts.map +1 -1
  181. package/dist/tui/attachment-rows.d.ts +39 -0
  182. package/dist/tui/attachment-rows.d.ts.map +1 -0
  183. package/dist/tui/composer-undo.d.ts +3 -0
  184. package/dist/tui/composer-undo.d.ts.map +1 -1
  185. package/dist/tui/diff-view.d.ts +1 -0
  186. package/dist/tui/diff-view.d.ts.map +1 -1
  187. package/dist/tui/fullscreen/FullscreenTranscript.d.ts +3 -1
  188. package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
  189. package/dist/tui/fullscreen/layout.d.ts +23 -4
  190. package/dist/tui/fullscreen/layout.d.ts.map +1 -1
  191. package/dist/tui/fullscreen/rows.d.ts +2 -0
  192. package/dist/tui/fullscreen/rows.d.ts.map +1 -1
  193. package/dist/tui/fullscreen/viewport.d.ts +27 -0
  194. package/dist/tui/fullscreen/viewport.d.ts.map +1 -1
  195. package/dist/tui/group-rows.d.ts +10 -0
  196. package/dist/tui/group-rows.d.ts.map +1 -1
  197. package/dist/tui/live-window.d.ts.map +1 -1
  198. package/dist/tui/outcome-line.d.ts +27 -0
  199. package/dist/tui/outcome-line.d.ts.map +1 -1
  200. package/dist/tui/paste-chips.d.ts +55 -6
  201. package/dist/tui/paste-chips.d.ts.map +1 -1
  202. package/dist/tui/read-search-group.d.ts +34 -1
  203. package/dist/tui/read-search-group.d.ts.map +1 -1
  204. package/dist/tui/restored-rows.d.ts +16 -1
  205. package/dist/tui/restored-rows.d.ts.map +1 -1
  206. package/dist/tui/shell-cell.d.ts +4 -0
  207. package/dist/tui/shell-cell.d.ts.map +1 -1
  208. package/dist/tui/terminal-hyperlinks.d.ts +8 -0
  209. package/dist/tui/terminal-hyperlinks.d.ts.map +1 -1
  210. package/dist/tui/tidy-tool-output.d.ts.map +1 -1
  211. package/dist/tui/tool-end-rows.d.ts.map +1 -1
  212. package/dist/tui/transcript-scroll.d.ts +12 -2
  213. package/dist/tui/transcript-scroll.d.ts.map +1 -1
  214. package/dist/tui/truncation.d.ts +9 -0
  215. package/dist/tui/truncation.d.ts.map +1 -1
  216. package/dist/tui/types.d.ts +3 -0
  217. package/dist/tui/types.d.ts.map +1 -1
  218. package/dist/tui/useReadSearchGroup.d.ts +13 -6
  219. package/dist/tui/useReadSearchGroup.d.ts.map +1 -1
  220. package/package.json +7 -7
  221. package/dist/chunks/acp-PFKCDYRZ.js.map +0 -6
  222. package/dist/chunks/agent-session-EJPBND2I.js +0 -69
  223. package/dist/chunks/chunk-IZHREIZK.js.map +0 -6
  224. package/dist/chunks/chunk-Z3DTGVZS.js.map +0 -6
  225. package/dist/chunks/chunk-ZE6HLPD4.js.map +0 -6
  226. package/dist/chunks/chunk-ZJKISI2K.js.map +0 -6
  227. package/dist/chunks/resume-4KW4GUYR.js +0 -23
  228. package/dist/chunks/tui-TJNH67YO.js.map +0 -6
  229. /package/dist/chunks/{activity-command-VZNRTS4Y.js.map → activity-command-I3AIOI7D.js.map} +0 -0
  230. /package/dist/chunks/{add-ILOY57M3.js.map → add-UGB46RWA.js.map} +0 -0
  231. /package/dist/chunks/{agent-7XMB6YDL.js.map → agent-2667K2DP.js.map} +0 -0
  232. /package/dist/chunks/{agent-session-EJPBND2I.js.map → agent-session-5KMMWJTY.js.map} +0 -0
  233. /package/dist/chunks/{archive-YUJITQ3K.js.map → archive-3AAGSJMI.js.map} +0 -0
  234. /package/dist/chunks/{bin-main-QQCDUNOU.js.map → bin-main-N76J3LXV.js.map} +0 -0
  235. /package/dist/chunks/{binding-QXY72MYE.js.map → binding-YGRSM4NK.js.map} +0 -0
  236. /package/dist/chunks/{browser-T5M3N46O.js.map → browser-55KWOLRE.js.map} +0 -0
  237. /package/dist/chunks/{chat-H6P7555R.js.map → chat-2JCXYCK4.js.map} +0 -0
  238. /package/dist/chunks/{chunk-SFGTJCGU.js.map → chunk-2ADHYVB2.js.map} +0 -0
  239. /package/dist/chunks/{chunk-UBB7EIHC.js.map → chunk-2T3C6WAE.js.map} +0 -0
  240. /package/dist/chunks/{chunk-SSPDO3JT.js.map → chunk-2WSCH27F.js.map} +0 -0
  241. /package/dist/chunks/{chunk-GKPO6EGA.js.map → chunk-35KJUUIZ.js.map} +0 -0
  242. /package/dist/chunks/{chunk-HYWVPQQD.js.map → chunk-3L7O76A5.js.map} +0 -0
  243. /package/dist/chunks/{chunk-FXAHVRUE.js.map → chunk-4XONZ3IH.js.map} +0 -0
  244. /package/dist/chunks/{chunk-GN424XZ3.js.map → chunk-5ISSWZYV.js.map} +0 -0
  245. /package/dist/chunks/{chunk-GL6KSVMS.js.map → chunk-7DCFWJDK.js.map} +0 -0
  246. /package/dist/chunks/{chunk-SECKALTU.js.map → chunk-7JPWIMTU.js.map} +0 -0
  247. /package/dist/chunks/{chunk-CFCULKSN.js.map → chunk-7OYYEJXX.js.map} +0 -0
  248. /package/dist/chunks/{chunk-AKXUNA4X.js.map → chunk-AXB6T7KH.js.map} +0 -0
  249. /package/dist/chunks/{chunk-MAMV7MUG.js.map → chunk-B72UXUIV.js.map} +0 -0
  250. /package/dist/chunks/{chunk-HUKEVKWH.js.map → chunk-BFK5ZLTI.js.map} +0 -0
  251. /package/dist/chunks/{chunk-FM2QPMPK.js.map → chunk-BKAGWRB7.js.map} +0 -0
  252. /package/dist/chunks/{chunk-NXRUXNJ5.js.map → chunk-CI2P6MWQ.js.map} +0 -0
  253. /package/dist/chunks/{chunk-JQUAYX3B.js.map → chunk-CKQSYJLF.js.map} +0 -0
  254. /package/dist/chunks/{chunk-K4PPNYXR.js.map → chunk-DBPV2NYH.js.map} +0 -0
  255. /package/dist/chunks/{chunk-IQPD7KYD.js.map → chunk-ENQ34C3Q.js.map} +0 -0
  256. /package/dist/chunks/{chunk-SVB7IHBE.js.map → chunk-FPW3QSQD.js.map} +0 -0
  257. /package/dist/chunks/{chunk-QNIHTTLG.js.map → chunk-G3R4GLH5.js.map} +0 -0
  258. /package/dist/chunks/{chunk-T4BQXXZS.js.map → chunk-GMCZYW6K.js.map} +0 -0
  259. /package/dist/chunks/{chunk-GWXAAFPJ.js.map → chunk-GNBTKM54.js.map} +0 -0
  260. /package/dist/chunks/{chunk-JGYCZO6C.js.map → chunk-H734PAIA.js.map} +0 -0
  261. /package/dist/chunks/{chunk-HYUVSO4X.js.map → chunk-HHZYPDYM.js.map} +0 -0
  262. /package/dist/chunks/{chunk-PCW42R33.js.map → chunk-HM3XROXV.js.map} +0 -0
  263. /package/dist/chunks/{chunk-2BMVENUB.js.map → chunk-HOBBN5HG.js.map} +0 -0
  264. /package/dist/chunks/{chunk-CPWGSBBN.js.map → chunk-I7DZMDL4.js.map} +0 -0
  265. /package/dist/chunks/{chunk-RZ6PDAMQ.js.map → chunk-IDHX5QU5.js.map} +0 -0
  266. /package/dist/chunks/{chunk-MIJGXF3Z.js.map → chunk-IO6AH6S6.js.map} +0 -0
  267. /package/dist/chunks/{chunk-4IP74K5V.js.map → chunk-IWBRKHR3.js.map} +0 -0
  268. /package/dist/chunks/{chunk-URBIMXZN.js.map → chunk-JNPUGWLC.js.map} +0 -0
  269. /package/dist/chunks/{chunk-EPDDCCV5.js.map → chunk-JXIZ23M4.js.map} +0 -0
  270. /package/dist/chunks/{chunk-IXDECEIX.js.map → chunk-JZVNLDXW.js.map} +0 -0
  271. /package/dist/chunks/{chunk-FIIZZRMV.js.map → chunk-KCRRCSBK.js.map} +0 -0
  272. /package/dist/chunks/{chunk-XC6UYANY.js.map → chunk-KONJIEUP.js.map} +0 -0
  273. /package/dist/chunks/{chunk-SB3GBZ65.js.map → chunk-KRGFQLGY.js.map} +0 -0
  274. /package/dist/chunks/{chunk-WKW65PAC.js.map → chunk-KUPDSMDC.js.map} +0 -0
  275. /package/dist/chunks/{chunk-Y22AUU3X.js.map → chunk-L37OHUPQ.js.map} +0 -0
  276. /package/dist/chunks/{chunk-WTMP5H7T.js.map → chunk-LJFJLXD5.js.map} +0 -0
  277. /package/dist/chunks/{chunk-RGUF5E22.js.map → chunk-LYTJJ2LG.js.map} +0 -0
  278. /package/dist/chunks/{chunk-7VXBUWVA.js.map → chunk-M3BND4IS.js.map} +0 -0
  279. /package/dist/chunks/{chunk-NVZRRJJS.js.map → chunk-MT2KWIQD.js.map} +0 -0
  280. /package/dist/chunks/{chunk-SAJGEVVD.js.map → chunk-MVCDUAE3.js.map} +0 -0
  281. /package/dist/chunks/{chunk-HDOYZYBW.js.map → chunk-P2CH7AHO.js.map} +0 -0
  282. /package/dist/chunks/{chunk-XXHZE4KV.js.map → chunk-PMUGOF5V.js.map} +0 -0
  283. /package/dist/chunks/{chunk-D7W5LUXV.js.map → chunk-PP5FDOXX.js.map} +0 -0
  284. /package/dist/chunks/{chunk-UXXV6VCO.js.map → chunk-QAQBDQOO.js.map} +0 -0
  285. /package/dist/chunks/{chunk-QPREGR6U.js.map → chunk-QFECRPMQ.js.map} +0 -0
  286. /package/dist/chunks/{chunk-57EJUGDT.js.map → chunk-QHNAT275.js.map} +0 -0
  287. /package/dist/chunks/{chunk-56WREK7X.js.map → chunk-QKRGJPU6.js.map} +0 -0
  288. /package/dist/chunks/{chunk-UARXWUZO.js.map → chunk-QUADPKLH.js.map} +0 -0
  289. /package/dist/chunks/{chunk-HNVUVSOI.js.map → chunk-RC3A3XQL.js.map} +0 -0
  290. /package/dist/chunks/{chunk-2FQ6QJIZ.js.map → chunk-RSMLOV7S.js.map} +0 -0
  291. /package/dist/chunks/{chunk-T2DRSTJV.js.map → chunk-RVWRZVRT.js.map} +0 -0
  292. /package/dist/chunks/{chunk-FGEJOOL4.js.map → chunk-S5HIHXZO.js.map} +0 -0
  293. /package/dist/chunks/{chunk-E6BNHEYX.js.map → chunk-SDK374XH.js.map} +0 -0
  294. /package/dist/chunks/{chunk-KKEWKJVL.js.map → chunk-SWEP7MWK.js.map} +0 -0
  295. /package/dist/chunks/{chunk-5WSDPQ3D.js.map → chunk-TCOZSNNY.js.map} +0 -0
  296. /package/dist/chunks/{chunk-BIDU2JUB.js.map → chunk-TPYEIOFB.js.map} +0 -0
  297. /package/dist/chunks/{chunk-45PI33XV.js.map → chunk-UGECQ2K7.js.map} +0 -0
  298. /package/dist/chunks/{chunk-P2E6HFIP.js.map → chunk-ULRP7FUP.js.map} +0 -0
  299. /package/dist/chunks/{chunk-G5OCRPZF.js.map → chunk-UU6Z4RNI.js.map} +0 -0
  300. /package/dist/chunks/{chunk-ITNMS75R.js.map → chunk-VXZ4I76G.js.map} +0 -0
  301. /package/dist/chunks/{chunk-P7NXR4OV.js.map → chunk-VZD5OAVF.js.map} +0 -0
  302. /package/dist/chunks/{chunk-VQ7FOO7M.js.map → chunk-WBDMD7WY.js.map} +0 -0
  303. /package/dist/chunks/{chunk-424T6RL4.js.map → chunk-WBWDM4FM.js.map} +0 -0
  304. /package/dist/chunks/{chunk-IXNUPR24.js.map → chunk-WHZO5JAN.js.map} +0 -0
  305. /package/dist/chunks/{chunk-C2PBNQYT.js.map → chunk-YEDLKZJU.js.map} +0 -0
  306. /package/dist/chunks/{chunk-RSAB3MPL.js.map → chunk-ZVAXTBZ4.js.map} +0 -0
  307. /package/dist/chunks/{cli-runtime-JXRGA4O7.js.map → cli-runtime-WBHLU5Z2.js.map} +0 -0
  308. /package/dist/chunks/{commands-3K6WWRUN.js.map → commands-Q5YVFT5H.js.map} +0 -0
  309. /package/dist/chunks/{crash-report-NTEADY4P.js.map → crash-report-7B6INW5Z.js.map} +0 -0
  310. /package/dist/chunks/{dist-Z2QVC4OK.js.map → dist-55O7DGZC.js.map} +0 -0
  311. /package/dist/chunks/{dist-WDRMCFAU.js.map → dist-64A6FTG4.js.map} +0 -0
  312. /package/dist/chunks/{dist-G2QITXMW.js.map → dist-CX6YZPQP.js.map} +0 -0
  313. /package/dist/chunks/{dist-5ZAKSBZS.js.map → dist-DM56OGFI.js.map} +0 -0
  314. /package/dist/chunks/{dist-43NXQHZ2.js.map → dist-JFEBD4RQ.js.map} +0 -0
  315. /package/dist/chunks/{dist-EHAGNOTG.js.map → dist-JTKWJRF3.js.map} +0 -0
  316. /package/dist/chunks/{dist-VEUKVTZP.js.map → dist-JXBZJMCJ.js.map} +0 -0
  317. /package/dist/chunks/{dist-CRT6EQAR.js.map → dist-XF4ALE5R.js.map} +0 -0
  318. /package/dist/chunks/{doctor-UVX6YR2I.js.map → doctor-J74VP3YF.js.map} +0 -0
  319. /package/dist/chunks/{drain-URR6CUUH.js.map → drain-43YQMN3N.js.map} +0 -0
  320. /package/dist/chunks/{entry-WCWSORA2.js.map → entry-EBSTYPZD.js.map} +0 -0
  321. /package/dist/chunks/{eval-Y6FUUDCX.js.map → eval-6FWPUHTJ.js.map} +0 -0
  322. /package/dist/chunks/{exec-5BUTAYMJ.js.map → exec-3OL72UXM.js.map} +0 -0
  323. /package/dist/chunks/{home-HDE3CFLB.js.map → home-S7VBBT2P.js.map} +0 -0
  324. /package/dist/chunks/{host-TZ6GSDWP.js.map → host-F6WQBUBZ.js.map} +0 -0
  325. /package/dist/chunks/{host-queries-Y7A4XJ64.js.map → host-queries-PXLHY5OD.js.map} +0 -0
  326. /package/dist/chunks/{learn-GYBZNIT3.js.map → learn-NNNC4PEC.js.map} +0 -0
  327. /package/dist/chunks/{learn-builtin-EJXTHMX6.js.map → learn-builtin-BDKIORNW.js.map} +0 -0
  328. /package/dist/chunks/{lifecycle-5EM2QRFV.js.map → lifecycle-6UXAIU2W.js.map} +0 -0
  329. /package/dist/chunks/{list-M34JU5AG.js.map → list-RAVXA62R.js.map} +0 -0
  330. /package/dist/chunks/{live-XMBIOII4.js.map → live-R457RDVD.js.map} +0 -0
  331. /package/dist/chunks/{login-NI3DFWOW.js.map → login-XFL5R3F3.js.map} +0 -0
  332. /package/dist/chunks/{logs-OI6GZRRC.js.map → logs-FHXX2ZYY.js.map} +0 -0
  333. /package/dist/chunks/{message-command-CIYB47HZ.js.map → message-command-HLV22I75.js.map} +0 -0
  334. /package/dist/chunks/{open-XYGGZHXM.js.map → open-52RISMYT.js.map} +0 -0
  335. /package/dist/chunks/{operator-tools-QSZS57PI.js.map → operator-tools-KRVBU5DK.js.map} +0 -0
  336. /package/dist/chunks/{output-schema-BTNJ6DL5.js.map → output-schema-TN574F4W.js.map} +0 -0
  337. /package/dist/chunks/{pal-EQAAJBWP.js.map → pal-F6UND6OQ.js.map} +0 -0
  338. /package/dist/chunks/{peers-35H6CZOZ.js.map → peers-TJCZBKJN.js.map} +0 -0
  339. /package/dist/chunks/{peers-KN4BGJHU.js.map → peers-VBFD7USO.js.map} +0 -0
  340. /package/dist/chunks/{providers-I2GONE3C.js.map → providers-WZ5ZDUB3.js.map} +0 -0
  341. /package/dist/chunks/{pty-GZ4R2DCS.js.map → pty-KWFUBODN.js.map} +0 -0
  342. /package/dist/chunks/{resume-4KW4GUYR.js.map → resume-FVNBMR6D.js.map} +0 -0
  343. /package/dist/chunks/{resume-command-TOAGIGZO.js.map → resume-command-RVILL4QU.js.map} +0 -0
  344. /package/dist/chunks/{schedule-FU5WY3WV.js.map → schedule-3QGQRJB7.js.map} +0 -0
  345. /package/dist/chunks/{service-3UYEV4JX.js.map → service-MI36D5ZK.js.map} +0 -0
  346. /package/dist/chunks/{skills-4V2SBEY3.js.map → skills-W5AH33BU.js.map} +0 -0
  347. /package/dist/chunks/{start-check-RBYWVZT4.js.map → start-check-567HOC4A.js.map} +0 -0
  348. /package/dist/chunks/{startup-failure-SST73T7Q.js.map → startup-failure-AXFS5D3F.js.map} +0 -0
  349. /package/dist/chunks/{state-N46ZI3LZ.js.map → state-NYIQ2RRT.js.map} +0 -0
  350. /package/dist/chunks/{store-KA6NETSP.js.map → store-BEOWOJIT.js.map} +0 -0
  351. /package/dist/chunks/{store-M56FSIZT.js.map → store-JUC4TU6P.js.map} +0 -0
  352. /package/dist/chunks/{store-R662Y2YQ.js.map → store-LNGCY3CJ.js.map} +0 -0
  353. /package/dist/chunks/{store-RHAHG45U.js.map → store-LWOLZU4Z.js.map} +0 -0
  354. /package/dist/chunks/{upgrade-YNYPRYFI.js.map → upgrade-APJTDSEG.js.map} +0 -0
  355. /package/dist/chunks/{workspaces-OITS2AZJ.js.map → workspaces-F6RNJXKR.js.map} +0 -0
  356. /package/dist/chunks/{worktree-DJW4XCBG.js.map → worktree-LE5FPYCK.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @namzu/cli
2
2
 
3
+ ## 50.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a545c5f: Image, document and pasted-text markers in the input box (`[Image #1]`) are now one unit and look like objects. The cursor steps over a marker in one key and never rests inside it; Backspace, Delete, Ctrl+W, Ctrl+K, Ctrl+U, word jumps and undo take all of it or none, so an edit can no longer break a marker and silently send the message without its image. A marker is drawn in the theme's system-text colour (its brackets still show it with colour off); text that only looks like one, with no attachment behind it, stays ordinary text.
8
+
9
+ Image and document numbers now run through the whole conversation and continue after a resume, where they used to restart whenever the draft was empty. The sent message keeps each marker where you put it, in the row and in the text the model receives (a message that is only an image now reaches the model as its marker, such as `[Image #1]`, beside the image; it used to be empty text), so "compare [Image #1] with [Image #2]" is no longer sent as "compare with ". Under the message, one quiet row per attachment shows its marker, file name and size in place of "N attachments", and where the terminal takes hyperlinks that row opens a copy of the file. A resumed conversation draws the same rows.
10
+
11
+ The copies are written to `attachments/` inside the conversation's own folder under your Namzu home, named by a hash of the bytes, so the same image attached twice is one file and deleting the conversation deletes them. Nothing changes for the model's image blocks or for how a long paste is held and sent.
12
+
13
+ - b045f54: In fullscreen mode (`tui.fullscreen: true` or `NAMZU_FULLSCREEN=1`) you can now click a folded row to open it where it stands, and click it again to fold it. This works on a counted line (`Read 3 files, ran 2 commands`) and the commands listed under it, on a tool or command output that is cut (`… +30 lines`), and on a collapsed agent answer. The hint on those rows reads `(click to expand)` instead of `(ctrl+o to expand)`, and an open row says `(click to fold)`. The row you click stays where it is on the screen; if opening it pushes the newest output off, the view stops following and `↓ Jump to latest` brings you back. Dragging to select still copies, and a click that finds a selection only clears it.
14
+
15
+ It needs the pointer reported in full, which is the default: with `tui.mouse: scroll` or `off`, in the normal screen and in the scroll-back nothing changes and the hint stays `(ctrl+o to expand)`. Which rows are open is not saved, so a resumed conversation starts folded. Links in replies are still plain text; Namzu does not open them.
16
+
17
+ - 1ff7974: An MCP tool call that reports progress can now outlive `requestTimeoutMs`, as an opt-in. New `MCPClientConfig.resetTimeoutOnProgress` (and the same key per server in `namzu.config.json`, `~/.namzu/config.yaml` and `.mcp.json`): when `true`, each progress report whose value rose restarts the request deadline for that call, so a server that works for a minute and reports throughout is no longer cut off at 30 seconds. New `maxTotalTimeoutMs` is the most such a call may take in total, counted from when it was issued and never extended; it defaults to ten times `requestTimeoutMs` (5 minutes at the default 30 seconds) and may not be below `requestTimeoutMs`. A call that stops reporting fails after `requestTimeoutMs` of silence, and one that never stops fails at the cap; the error says which. Nothing changes unless `resetTimeoutOnProgress` is set; with it set, the server's bridged tools carry a `timeoutMs` of the cap plus 5 seconds so the executor's 120-second tool deadline does not cut the call first. `mcp test` now also names a bad `requestTimeoutMs`. `MCPClient` now throws at construction for a `maxTotalTimeoutMs` that is not an integer from 1 to 2,147,483,647 or is below `requestTimeoutMs`, even when the option is off; a CLI server with such a value fails by name.
18
+ - 9e95894: The line under a finished turn that said "A command ran that may have changed files · cannot tell" no longer repeats under every turn in a folder that Namzu cannot watch for changes. The first turn of a conversation that gets it now says "A command ran that may have changed files · cannot tell here · not repeated in this conversation" (naming the reason when the tools work in a separate copy of the folder), and later turns add nothing. Every other line is unchanged. A resumed conversation now shows the outcome lines of its past turns too, which it did not before, with the same once-only rule. `exec` JSON output, the Desktop feed and the delegation line still carry the verdict for every turn. A script that matches the old terminal wording will no longer find it.
19
+ - 795ae98: A turn that runs many shell commands no longer prints a block for each. A command that ends well, and is not one of the look-only commands that already folded, joins the line of what ran around it: `Read 3 files, ran 4 commands` (`running` while it is open), with the commands listed under it one per line as `$ command`, cut to the width, the last five, and a line saying how many earlier ones are not listed. Their whole output is still in the detailed transcript (Ctrl+O). A command that fails, was stopped, timed out, was blocked or declined, or moved to the background keeps its own row, and ends the line so the order on screen is the order things happened. One command on its own is drawn as before, with its output. The same line is drawn when a conversation is resumed.
20
+
21
+ Also: a call to a tool that does not exist is no longer counted as a look (`listed 1 directory`); it shows its own row with one sentence saying so, and the kernel's list of tools behind Ctrl+O. Nothing about what the model receives changes.
22
+
23
+ ### Patch Changes
24
+
25
+ - cea27c2: The home screen's composer is quieter, and the model popup opens on the models. The box's lower edge carries the attach "+", the permission word, the model word and Send; permission and model are plain muted text (the chevron shows on hover) and Send is the only filled control. The microphone button is hidden until voice input is set up: turn it on in Settings ▸ Speech ▸ Voice input (search "microphone"), and the button is back. The project and "This computer" are one line above the box with one menu. The three starters are small rows; clicking one fills the box and never sends it.
26
+
27
+ The model popup opens on the model list, each row with its context window and price when the model's source published them (nothing is shown for a value that is not known). Under the list are the reasoning-effort slider and one "More" row; the engine, the Desktop or CLI switch and the provider filter (when you have two or more providers) moved behind it, so they are one click further than before and nothing is removed. There is no setting to restore the old arrangement.
28
+
29
+ In the CLI, `namzu acp --desktop` model lists carry the window and the per-million-token rates a provider published (`contextWindow`, `inputPrice`, `outputPrice` on a row); a row without them is unchanged.
30
+
31
+ - Updated dependencies [1ff7974]
32
+ - @namzu/sdk@62.10.0
33
+
34
+ ## 50.2.0
35
+
36
+ ### Minor Changes
37
+
38
+ - d753bf0: New option `softTargetHeadroom` for the `salience` compaction strategy (`compactionConfig.softTargetHeadroom` in the SDK, `compaction.softTargetHeadroom` in `namzu.config.json` and `~/.namzu/config.yaml`): a fraction of the window from 0 to 1 that a pass sheds below the soft target. A pass still starts when the context reaches the soft target, but it then keeps shortening until the context is that much lower, so the next pass comes after the room is used instead of on the next turn, and a provider that caches the start of the request keeps its cache for longer. The messages shortened are the same ones in the same order, only earlier; the cost is that much less history kept whole. Off unless set: absent or `0` is the previous behaviour exactly, so nothing changes on upgrade.
39
+
40
+ ### Patch Changes
41
+
42
+ - 0efef98: A long session costs less each turn: taking a session's log for writing no longer parses every record it already verified. Nothing is trusted that was not checked: the first claim of a log in a process verifies it in full as before, and every later claim in that process still reads and hashes every byte, so a byte altered anywhere is refused at the next claim with the same `SessionLogIntegrityError`. What it skips, for a line whose length and SHA-256 equal what the process verified, is parsing, schema validation and keeping the record; records appended since (by this or another writer) and a log that differs in any way (a changed byte, a shorter or replaced file) are verified in full from byte 0.
43
+
44
+ New and optional, nothing to change unless you implement them: `LogMedium.identity()` (a medium that does not provide it is verified in full each time) and `LogMedium.scan()` (reads through one reused buffer; `stream` is used without it), `ReadSessionLogOptions.reverify` (with `after`, strict mode: re-check the bytes before the cursor by hash), and `foldSessionLog` / `IncrementalFold` are now exported. The on-disk record shapes are unchanged, and a log written by this version reads on the previous one.
45
+
46
+ In the CLI, `readConversationFacts` keeps only the facts it answers (a first record, title, archive flag, open turn, last timestamp and a few typed queries) instead of every record of the log; `ConversationFacts.records` is gone from that function's result, and callers that fold messages use the new `readConversationRecords`. This is CLI-internal.
47
+
48
+ - b5ded5b: A compaction pass that edits a message in place (a long narration cut to its first sentence, a large tool result cleared) now appends one small `message_edited` record per edited message. Before, the session log held a `compaction` record plus a new copy of every message after the first edited one, on every turn: in a long session held at its soft target that was most of the log. The context a reader folds from the log is the same and the original text stays in the log. New record type `message_edited` (`MessageEditedRecordSchema`), flagged `ignorable`: an earlier release reading a log this version wrote skips it and folds the original, unedited text of those messages (the same messages, order and ids), and the next compaction pass cuts them down again. No existing record gains a field or a value. A host that sends back history it cached before a pass is still accepted, at no extra read of the log per message. A pass that swaps a message for a copy with the same text appends nothing. `@namzu/cli` reads a session's first record, not its whole log, to start a turn.
49
+
50
+ A turn resumed from a log no longer loses recorded messages: before, any restored message without an id that arrived ahead of the recorded ones (a compaction summary, the working-memory slot, a message the host added) re-based the fold on a context holding only it, and the recorded messages after it dropped out of the fold and the next resume. The runtime now marks the restored history (`pushMessage` takes `restored: true`) and re-bases once, on the whole restored context. A resume from a checkpoint older than an edit also puts that edit's text back when the fold holds a summary.
51
+
52
+ - Updated dependencies [0efef98]
53
+ - Updated dependencies [b5ded5b]
54
+ - Updated dependencies [d753bf0]
55
+ - Updated dependencies [d753bf0]
56
+ - @namzu/sdk@62.9.0
57
+
3
58
  ## 50.1.0
4
59
 
5
60
  ### Minor 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-QQCDUNOU.js");
42
+ var { main } = await import("./chunks/bin-main-N76J3LXV.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-SSPDO3JT.js";
5
+ } from "./chunk-2WSCH27F.js";
6
6
  import {
7
7
  readUserMcpServers,
8
8
  summarizeUserMcpServer
9
- } from "./chunk-NVZRRJJS.js";
9
+ } from "./chunk-MT2KWIQD.js";
10
10
  import {
11
11
  decideHeadlessTrust
12
- } from "./chunk-VQ7FOO7M.js";
12
+ } from "./chunk-WBDMD7WY.js";
13
13
  import {
14
14
  conversationMarkdown,
15
15
  lookupPr,
16
16
  outcomeLine,
17
17
  runCommand,
18
18
  withKeyNote
19
- } from "./chunk-S4Q4PC2L.js";
20
- import "./chunk-T4BQXXZS.js";
19
+ } from "./chunk-MZI3ULZR.js";
20
+ import "./chunk-GMCZYW6K.js";
21
21
  import "./chunk-JETLWXUE.js";
22
22
  import {
23
23
  deleteUserConfigValue,
24
24
  setUserConfigValue,
25
25
  userConfigPath
26
- } from "./chunk-KKEWKJVL.js";
26
+ } from "./chunk-SWEP7MWK.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-RZ6PDAMQ.js";
33
+ } from "./chunk-IDHX5QU5.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-FGEJOOL4.js";
46
+ } from "./chunk-S5HIHXZO.js";
47
47
  import {
48
48
  palSessionEnvironment
49
- } from "./chunk-C2PBNQYT.js";
49
+ } from "./chunk-YEDLKZJU.js";
50
50
  import {
51
51
  cliPalActivitySubscriptionPolicy,
52
52
  cliPalActivitySubscriptionStore,
53
53
  cliPalCommunicationPolicy,
54
54
  cliPalCommunicationStore
55
- } from "./chunk-URBIMXZN.js";
55
+ } from "./chunk-JNPUGWLC.js";
56
56
  import {
57
57
  claimPalConversation,
58
58
  listPalConversations,
59
59
  palConversationBinding
60
- } from "./chunk-HYUVSO4X.js";
60
+ } from "./chunk-HHZYPDYM.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-Z3DTGVZS.js";
73
- import "./chunk-P7NXR4OV.js";
74
- import "./chunk-QNIHTTLG.js";
75
- import "./chunk-HDOYZYBW.js";
76
- import "./chunk-SVB7IHBE.js";
77
- import "./chunk-UARXWUZO.js";
78
- import "./chunk-6X3NKVRL.js";
79
- import "./chunk-JGYCZO6C.js";
80
- import "./chunk-45PI33XV.js";
81
- import "./chunk-5WSDPQ3D.js";
72
+ } from "./chunk-UDA4YOUW.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";
82
82
  import "./chunk-WHODOMXA.js";
83
- import "./chunk-E6BNHEYX.js";
83
+ import "./chunk-SDK374XH.js";
84
84
  import "./chunk-YOWYTBJS.js";
85
85
  import "./chunk-2IPDTDB3.js";
86
- import "./chunk-424T6RL4.js";
86
+ import "./chunk-WBWDM4FM.js";
87
87
  import "./chunk-IYUW2RAA.js";
88
- import "./chunk-57EJUGDT.js";
88
+ import "./chunk-QHNAT275.js";
89
89
  import "./chunk-ZWA2JRJV.js";
90
90
  import "./chunk-NUGPLXVK.js";
91
- import "./chunk-JQUAYX3B.js";
91
+ import "./chunk-CKQSYJLF.js";
92
92
  import {
93
93
  listProviderConnections,
94
94
  removeProviderKey,
95
95
  saveProviderKey,
96
96
  typedKeyProvider
97
- } from "./chunk-D7W5LUXV.js";
98
- import "./chunk-PCW42R33.js";
99
- import "./chunk-QPREGR6U.js";
97
+ } from "./chunk-PP5FDOXX.js";
98
+ import "./chunk-HM3XROXV.js";
99
+ import "./chunk-QFECRPMQ.js";
100
100
  import {
101
101
  archiveConversation,
102
102
  closeSessions,
@@ -111,11 +111,12 @@ import {
111
111
  openSessionScope,
112
112
  openSessions,
113
113
  readConversationFacts,
114
+ readConversationRecords,
114
115
  refreshIndex,
115
116
  setTitle,
116
117
  unarchiveConversation
117
- } from "./chunk-IZHREIZK.js";
118
- import "./chunk-FIIZZRMV.js";
118
+ } from "./chunk-2VKT4OPG.js";
119
+ import "./chunk-KCRRCSBK.js";
119
120
  import {
120
121
  cliProjectRoot
121
122
  } from "./chunk-JQIBPPOL.js";
@@ -128,14 +129,14 @@ import {
128
129
  listPals,
129
130
  palAtWorkspace,
130
131
  updatePal
131
- } from "./chunk-IXDECEIX.js";
132
+ } from "./chunk-JZVNLDXW.js";
132
133
  import {
133
134
  isTrusted,
134
135
  isTrustedAtStateRoot,
135
136
  trustDir,
136
137
  untrustDir
137
- } from "./chunk-ITNMS75R.js";
138
- import "./chunk-MIJGXF3Z.js";
138
+ } from "./chunk-VXZ4I76G.js";
139
+ import "./chunk-IO6AH6S6.js";
139
140
  import {
140
141
  flushCompileCacheWhenIdle
141
142
  } from "./chunk-SOIP273Z.js";
@@ -146,7 +147,7 @@ import {
146
147
  CLI_VERSION
147
148
  } from "./chunk-HE7WUOX2.js";
148
149
  import "./chunk-GNBMKISG.js";
149
- import "./chunk-HUKEVKWH.js";
150
+ import "./chunk-BFK5ZLTI.js";
150
151
  import "./chunk-OH6TB27S.js";
151
152
  import {
152
153
  ConfigValueError,
@@ -155,7 +156,7 @@ import {
155
156
  loadConfig,
156
157
  pendingProjectMcpServers,
157
158
  readConfigKey
158
- } from "./chunk-ZJKISI2K.js";
159
+ } from "./chunk-V6W5ILRM.js";
159
160
  import {
160
161
  require_dist
161
162
  } from "./chunk-KONYGNG6.js";
@@ -164,10 +165,10 @@ import {
164
165
  compilePermissionLayers,
165
166
  permissionLayersOf,
166
167
  warnLegacyMcpPermissionNames
167
- } from "./chunk-UXXV6VCO.js";
168
+ } from "./chunk-QAQBDQOO.js";
168
169
  import {
169
170
  cliLogger
170
- } from "./chunk-EPDDCCV5.js";
171
+ } from "./chunk-JXIZ23M4.js";
171
172
  import "./chunk-SIG7WHBU.js";
172
173
  import "./chunk-LVVD32KJ.js";
173
174
  import "./chunk-6PWRKA5T.js";
@@ -184,28 +185,28 @@ import {
184
185
  loadHostPty,
185
186
  processesCarrying,
186
187
  quietConptyHelper
187
- } from "./chunk-NXRUXNJ5.js";
188
- import "./chunk-2FQ6QJIZ.js";
188
+ } from "./chunk-CI2P6MWQ.js";
189
+ import "./chunk-RSMLOV7S.js";
189
190
  import {
190
191
  automaticKind,
191
192
  canSelectModel,
192
193
  discoverProviders,
193
194
  isAnonymousZen
194
- } from "./chunk-Y22AUU3X.js";
195
+ } from "./chunk-L37OHUPQ.js";
195
196
  import {
196
197
  isOfferableModel
197
198
  } from "./chunk-4QIWRKJO.js";
198
199
  import "./chunk-G6YSAHKC.js";
199
200
  import "./chunk-KTPFUCRU.js";
200
201
  import "./chunk-RI2KAZJO.js";
201
- import "./chunk-XXHZE4KV.js";
202
- import "./chunk-G5OCRPZF.js";
203
- import "./chunk-GWXAAFPJ.js";
202
+ import "./chunk-PMUGOF5V.js";
203
+ import "./chunk-UU6Z4RNI.js";
204
+ import "./chunk-GNBTKM54.js";
204
205
  import {
205
206
  canonicalProjectPath
206
207
  } from "./chunk-JORONMD3.js";
207
- import "./chunk-HNVUVSOI.js";
208
- import "./chunk-WKW65PAC.js";
208
+ import "./chunk-RC3A3XQL.js";
209
+ import "./chunk-KUPDSMDC.js";
209
210
  import {
210
211
  ACPServer,
211
212
  DiskLogMedium,
@@ -240,7 +241,7 @@ import {
240
241
  resolveWithinAnyReal,
241
242
  resolveWithinReal,
242
243
  selectAssistantText
243
- } from "./chunk-ZE6HLPD4.js";
244
+ } from "./chunk-W4BOQPYP.js";
244
245
  import {
245
246
  __name,
246
247
  __toESM
@@ -3730,11 +3731,7 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
3730
3731
  const pending = selections.get(id2);
3731
3732
  if (pending && pending.engine !== engine)
3732
3733
  throw new Error("The conversation engine cannot change.");
3733
- const latest = [...saved.records].reverse().find(
3734
- (record2) => record2.type === "session_updated" && record2.harness?.kind === "dispatch-prepared" && record2.harness.model
3735
- );
3736
- const model = latest?.type === "session_updated" && latest.harness?.kind === "dispatch-prepared" ? latest.harness.model : void 0;
3737
- return pending ?? { engine, model: model ?? binding.initialModel };
3734
+ return pending ?? { engine, model: saved.latestDispatchModel ?? binding.initialModel };
3738
3735
  }
3739
3736
  if (saved) {
3740
3737
  if (selections.has(id2))
@@ -4185,16 +4182,9 @@ async function readProviderRetryStatus(state, sessionId) {
4185
4182
  const active = facts.activeTurn;
4186
4183
  if (!active) return {};
4187
4184
  if (!active.paused) return { notice: "Wait for this conversation\u2019s active turn to settle." };
4188
- const pause = [...facts.records].reverse().find((record2) => record2.type === "turn_paused" && record2.turnId === active.turnId);
4189
- if (!pause || pause.type !== "turn_paused")
4190
- throw new Error("This paused turn has no durable pause record.");
4191
- const pending = /* @__PURE__ */ new Set();
4192
- for (const record2 of facts.records) {
4193
- if (record2.type === "decision_requested" && record2.turnId === active.turnId)
4194
- pending.add(record2.decisionId);
4195
- if (record2.type === "decision_resolved" || record2.type === "decision_expired")
4196
- pending.delete(record2.decisionId);
4197
- }
4185
+ const pause = facts.latestPause(active.turnId);
4186
+ if (!pause) throw new Error("This paused turn has no durable pause record.");
4187
+ const pending = facts.pendingDecisions(active.turnId);
4198
4188
  const closable = !pause.handoff && pause.providerError && pending.size === 0 ? { closable: true } : {};
4199
4189
  const blocked = /* @__PURE__ */ __name((notice) => ({ notice, ...closable }), "blocked");
4200
4190
  if (pause.handoff || pause.failure?.retryable !== true || !pause.providerError || !["network", "server", "throttle"].includes(pause.providerError.kind))
@@ -4241,13 +4231,9 @@ async function readProviderRetryStatus(state, sessionId) {
4241
4231
  return blocked(
4242
4232
  "This turn\u2019s original token allowance is exhausted. Retry cannot change that allowance."
4243
4233
  );
4244
- const started = facts.records.find(
4245
- (record2) => record2.type === "turn_started" && record2.turnId === active.turnId
4246
- );
4247
- const resumed = facts.records.some(
4248
- (record2) => record2.type === "turn_resuming" && record2.turnId === active.turnId
4249
- );
4250
- const original = !resumed && started?.type === "turn_started" && started.config.model && pause.providerError ? { provider: pause.providerError.providerId, model: started.config.model } : void 0;
4234
+ const started = facts.startedTurn(active.turnId);
4235
+ const resumed = facts.wasResumed(active.turnId);
4236
+ const original = !resumed && started?.model && pause.providerError ? { provider: pause.providerError.providerId, model: started.model } : void 0;
4251
4237
  return {
4252
4238
  retry: {
4253
4239
  turnId: active.turnId,
@@ -4710,6 +4696,14 @@ var SETTING_DESCRIPTORS = [
4710
4696
  pick("structured", "salience"),
4711
4697
  { defaultText: "salience" }
4712
4698
  ),
4699
+ d(
4700
+ "compaction.softTargetHeadroom",
4701
+ "agent",
4702
+ "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.",
4704
+ num(0, 1, "of the window"),
4705
+ { defaultText: "0" }
4706
+ ),
4713
4707
  d(
4714
4708
  "compaction.autoCompactWindowTokens",
4715
4709
  "agent",
@@ -7300,7 +7294,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7300
7294
  return withState(async (state) => {
7301
7295
  const id2 = asSessionId(await ownedSessionIn(params, state));
7302
7296
  await setTitle(state, id2, title2);
7303
- const facts = await readConversationFacts(state, id2);
7297
+ const facts = await readConversationRecords(state, id2);
7304
7298
  return { title: facts ? displayTitleOf(facts) : title2.trim() };
7305
7299
  });
7306
7300
  }, "namzu/conversations/rename"),
@@ -7525,6 +7519,9 @@ function desktopModelCatalogue(listing, defaultModel, currentModel, allowModel,
7525
7519
  label: modelListLabel(model.name || model.id, model.id).slice(0, 400),
7526
7520
  ...notes.length ? { note: `(${notes.join(" \xB7 ")})` } : {},
7527
7521
  ...model.group ? { group: model.group } : {},
7522
+ ...model.contextWindow !== void 0 ? { contextWindow: model.contextWindow } : {},
7523
+ ...model.inputPrice !== void 0 ? { inputPrice: model.inputPrice } : {},
7524
+ ...model.outputPrice !== void 0 ? { outputPrice: model.outputPrice } : {},
7528
7525
  ...model.id === defaultModel ? { default: true } : {}
7529
7526
  });
7530
7527
  }
@@ -8368,11 +8365,9 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8368
8365
  );
8369
8366
  assertModeAllowed(record2, settings.permissionMode);
8370
8367
  const facts = await readConversationFacts(record2.conversations, target.sessionId);
8371
- const started = facts?.records.find(
8372
- (row2) => row2.type === "turn_started" && row2.turnId === turnId
8373
- );
8374
- const pause = [...facts?.records ?? []].reverse().find((row2) => row2.type === "turn_paused" && row2.turnId === turnId);
8375
- if (started?.type !== "turn_started" || !started.config.model || pause?.type !== "turn_paused" || !pause.providerError)
8368
+ const started = facts?.startedTurn(turnId);
8369
+ const pause = facts?.latestPause(turnId);
8370
+ if (!started?.model || !pause?.providerError)
8376
8371
  throw new Error("The original provider and model cannot be verified for this retry.");
8377
8372
  if (!record2.model) throw new Error("The selected model cannot be verified for this retry.");
8378
8373
  const routedEvent = /* @__PURE__ */ __name((event) => {
@@ -8644,8 +8639,8 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8644
8639
  "The original approval settings are unavailable after reconnection. An explicit permission mode is required to retry this retained turn."
8645
8640
  );
8646
8641
  const facts = await readConversationFacts(state, target.sessionId);
8647
- const pause = [...facts?.records ?? []].reverse().find((row2) => row2.type === "turn_paused" && row2.turnId === status.retry?.turnId);
8648
- if (pause?.type !== "turn_paused" || !pause.providerError)
8642
+ const pause = status.retry?.turnId ? facts?.latestPause(status.retry.turnId) : void 0;
8643
+ if (!pause?.providerError)
8649
8644
  return blocked("The original provider cannot be verified for this retry.");
8650
8645
  const lastRun = retriedOn.get(status.retry.turnId);
8651
8646
  return lastRun && !status.retry.original ? { ...status, retry: { ...status.retry, original: lastRun } } : status;
@@ -8664,17 +8659,11 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8664
8659
  if (!active?.paused || turnId !== void 0 && active.turnId !== turnId)
8665
8660
  throw new Error("This conversation has no paused turn to close. Open it again.");
8666
8661
  const pausedTurn = active.turnId;
8667
- const pause = [...facts?.records ?? []].reverse().find((row2) => row2.type === "turn_paused" && row2.turnId === pausedTurn);
8668
- if (pause?.type !== "turn_paused" || pause.handoff || !pause.providerError)
8662
+ const pause = facts?.latestPause(pausedTurn);
8663
+ if (!pause || pause.handoff || !pause.providerError)
8669
8664
  throw new Error("Only a turn that stopped on a provider error can be closed this way.");
8670
- const waiting = /* @__PURE__ */ new Set();
8671
- for (const row2 of facts?.records ?? []) {
8672
- if (row2.type === "decision_requested" && row2.turnId === pausedTurn)
8673
- waiting.add(row2.decisionId);
8674
- if (row2.type === "decision_resolved" || row2.type === "decision_expired")
8675
- waiting.delete(row2.decisionId);
8676
- }
8677
- if (waiting.size) throw new Error("This turn is waiting for a decision; answer it first.");
8665
+ if (facts?.pendingDecisions(pausedTurn).size)
8666
+ throw new Error("This turn is waiting for a decision; answer it first.");
8678
8667
  const reason = "The person continued without the reply that stopped on a provider error.";
8679
8668
  const withdrawMessages = options?.withdrawMessages !== false;
8680
8669
  if (record2.session.abandonTurn) {
@@ -9122,4 +9111,4 @@ export {
9122
9111
  resolveAcpSession,
9123
9112
  runAcpCommand
9124
9113
  };
9125
- //# sourceMappingURL=acp-PFKCDYRZ.js.map
9114
+ //# sourceMappingURL=acp-2T35QG5N.js.map