@namzu/cli 51.0.1 → 51.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-OKCSCFH2.js → acp-HCVLUS7I.js} +125 -72
  4. package/dist/chunks/acp-HCVLUS7I.js.map +6 -0
  5. package/dist/chunks/{activity-command-SJGXPUYE.js → activity-command-I3OMRZ2T.js} +13 -13
  6. package/dist/chunks/{add-H4FUTHAQ.js → add-A65AU46H.js} +90 -24
  7. package/dist/chunks/add-A65AU46H.js.map +6 -0
  8. package/dist/chunks/{agent-U4YLYJ4N.js → agent-3A66KRCM.js} +40 -38
  9. package/dist/chunks/agent-session-LJZO5VIZ.js +71 -0
  10. package/dist/chunks/{archive-O236ZKWI.js → archive-IWWDLSAO.js} +11 -11
  11. package/dist/chunks/{bin-main-YS3HF46K.js → bin-main-CRX2U7A6.js} +9 -9
  12. package/dist/chunks/{binding-SS7YOEIZ.js → binding-4AMPOED7.js} +3 -3
  13. package/dist/chunks/{browser-OA2KB5Z2.js → browser-SAS7YPVD.js} +7 -7
  14. package/dist/chunks/{chat-EBNDAIRO.js → chat-ANHTX7D5.js} +16 -16
  15. package/dist/chunks/{chunk-F3QD24YN.js → chunk-2HB47MDS.js} +70 -41
  16. package/dist/chunks/chunk-2HB47MDS.js.map +6 -0
  17. package/dist/chunks/{chunk-YGLJBR4L.js → chunk-3D52GNVJ.js} +4 -4
  18. package/dist/chunks/{chunk-BPZQYXLI.js → chunk-3MJ3YKNV.js} +5 -5
  19. package/dist/chunks/chunk-3YM3IWPW.js +221 -0
  20. package/dist/chunks/chunk-3YM3IWPW.js.map +6 -0
  21. package/dist/chunks/{chunk-KN3FKKYY.js → chunk-45Z4OPC6.js} +3 -3
  22. package/dist/chunks/{chunk-MTY3SZOT.js → chunk-52YXYXRG.js} +2 -2
  23. package/dist/chunks/{chunk-XMYFIXCP.js → chunk-56ZS6OTK.js} +4 -4
  24. package/dist/chunks/{chunk-KUVGN7VF.js → chunk-57QGQNRI.js} +2 -2
  25. package/dist/chunks/{chunk-HXWIEKOB.js → chunk-5TPQGNYN.js} +4 -4
  26. package/dist/chunks/{chunk-WCMXLFUB.js → chunk-5U42MB6F.js} +10 -10
  27. package/dist/chunks/{chunk-LMLCGIQR.js → chunk-5YMIK3VP.js} +3 -3
  28. package/dist/chunks/{chunk-ZIUKLIUS.js → chunk-6CKU4TCF.js} +8 -3
  29. package/dist/chunks/chunk-6CKU4TCF.js.map +6 -0
  30. package/dist/chunks/{chunk-Y5D6542Z.js → chunk-6I4V7I5M.js} +2 -2
  31. package/dist/chunks/{chunk-R6ZDPAEV.js → chunk-6MI4Q5QQ.js} +4 -4
  32. package/dist/chunks/{chunk-JHLJJDNJ.js → chunk-6S4L4SAU.js} +7 -7
  33. package/dist/chunks/{chunk-UBOE47YI.js → chunk-AGC67H4M.js} +4 -4
  34. package/dist/chunks/{chunk-WD45OZPT.js → chunk-ALXE3SUZ.js} +3 -3
  35. package/dist/chunks/{chunk-4HGQJYDZ.js → chunk-ANVIYMV6.js} +3 -3
  36. package/dist/chunks/chunk-BBTPD3DU.js +19 -0
  37. package/dist/chunks/chunk-BBTPD3DU.js.map +6 -0
  38. package/dist/chunks/{chunk-HAIXGRRS.js → chunk-BC3IZXTY.js} +2 -2
  39. package/dist/chunks/{chunk-7J3IMJKF.js → chunk-BN32BPU6.js} +2 -2
  40. package/dist/chunks/chunk-BUP54TBX.js +214 -0
  41. package/dist/chunks/chunk-BUP54TBX.js.map +6 -0
  42. package/dist/chunks/chunk-CYCUJOAD.js +313 -0
  43. package/dist/chunks/chunk-CYCUJOAD.js.map +6 -0
  44. package/dist/chunks/{chunk-HDBTTV2S.js → chunk-DLVHJFXI.js} +2 -2
  45. package/dist/chunks/{chunk-CIHHPULI.js → chunk-DNOI4BL2.js} +2 -2
  46. package/dist/chunks/{chunk-PWNFXNFK.js → chunk-DOPHHI6C.js} +3 -65
  47. package/dist/chunks/chunk-DOPHHI6C.js.map +6 -0
  48. package/dist/chunks/{chunk-UNQYPFDZ.js → chunk-E5OETSRN.js} +6 -6
  49. package/dist/chunks/{chunk-YM5DH66D.js → chunk-E7IXVEOQ.js} +3 -3
  50. package/dist/chunks/{chunk-GUZEB3KN.js → chunk-FKQOGEKL.js} +3 -3
  51. package/dist/chunks/{chunk-JEEF7UIH.js → chunk-FLPT7I7I.js} +4 -4
  52. package/dist/chunks/{chunk-QY4UUQQT.js → chunk-FMAUDMYL.js} +12 -12
  53. package/dist/chunks/{chunk-TQG7WZI5.js → chunk-FSS72QJP.js} +2 -2
  54. package/dist/chunks/{chunk-YMWHDGCW.js → chunk-FTMONTUX.js} +3 -1
  55. package/dist/chunks/chunk-FTMONTUX.js.map +6 -0
  56. package/dist/chunks/chunk-G4N43E6M.js +62 -0
  57. package/dist/chunks/chunk-G4N43E6M.js.map +6 -0
  58. package/dist/chunks/{chunk-OLI35PTE.js → chunk-H56PLZHW.js} +2 -2
  59. package/dist/chunks/{chunk-2E3ALKOF.js → chunk-HHLWXGOG.js} +3 -3
  60. package/dist/chunks/{chunk-VVMRXGQ6.js → chunk-HQ4WFN7B.js} +4649 -2177
  61. package/dist/chunks/chunk-HQ4WFN7B.js.map +6 -0
  62. package/dist/chunks/{chunk-P52PAWBP.js → chunk-HXPRWMLH.js} +4 -4
  63. package/dist/chunks/{tui-L4BRR4H5.js → chunk-ILPXZDTW.js} +699 -1390
  64. package/dist/chunks/chunk-ILPXZDTW.js.map +6 -0
  65. package/dist/chunks/{chunk-FA2ZVSEU.js → chunk-IPTWZUSV.js} +2 -2
  66. package/dist/chunks/{chunk-LLR7GHVU.js → chunk-ITY5SBAS.js} +2 -2
  67. package/dist/chunks/{chunk-TXP6SOA7.js → chunk-JR6EFL7G.js} +5 -4
  68. package/dist/chunks/chunk-JR6EFL7G.js.map +6 -0
  69. package/dist/chunks/{chunk-JVIS6M37.js → chunk-JUN4VUC6.js} +64 -224
  70. package/dist/chunks/chunk-JUN4VUC6.js.map +6 -0
  71. package/dist/chunks/{chunk-22PMPEFX.js → chunk-K52DES57.js} +3 -3
  72. package/dist/chunks/chunk-KD6WL3W7.js +10 -0
  73. package/dist/chunks/chunk-KD6WL3W7.js.map +6 -0
  74. package/dist/chunks/{chunk-BK5AJ7TL.js → chunk-KJ7Q3BC3.js} +2 -2
  75. package/dist/chunks/{chunk-F7ECNFNX.js → chunk-KJVRHBMX.js} +9 -4
  76. package/dist/chunks/chunk-KJVRHBMX.js.map +6 -0
  77. package/dist/chunks/{chunk-MV2T5HFQ.js → chunk-KZHMLRKY.js} +4 -4
  78. package/dist/chunks/{chunk-FSPBJ5VF.js → chunk-LAXSPXNP.js} +4 -3
  79. package/dist/chunks/{chunk-FSPBJ5VF.js.map → chunk-LAXSPXNP.js.map} +1 -1
  80. package/dist/chunks/{chunk-D3ITBQ7T.js → chunk-LGH2T6KL.js} +2 -2
  81. package/dist/chunks/{chunk-3XIWMQLP.js → chunk-LQJ3TB5E.js} +10 -10
  82. package/dist/chunks/{chunk-6GITBOHO.js → chunk-LYPEV765.js} +2 -2
  83. package/dist/chunks/chunk-LYUY2FK2.js +141 -0
  84. package/dist/chunks/chunk-LYUY2FK2.js.map +6 -0
  85. package/dist/chunks/{chunk-O53H43CX.js → chunk-M44I7P3H.js} +2 -2
  86. package/dist/chunks/{chunk-MOGE5ZMI.js → chunk-NAWIOVUH.js} +3 -3
  87. package/dist/chunks/{chunk-ZNC5BEFK.js → chunk-NGE7TNCY.js} +2 -2
  88. package/dist/chunks/{chunk-AJHNH4WR.js → chunk-NXJQTDVT.js} +121 -90
  89. package/dist/chunks/chunk-NXJQTDVT.js.map +6 -0
  90. package/dist/chunks/{chunk-NWIOFCDB.js → chunk-NY3I4WL7.js} +217 -372
  91. package/dist/chunks/chunk-NY3I4WL7.js.map +6 -0
  92. package/dist/chunks/{chunk-JABCT4RQ.js → chunk-OEKCCZ7I.js} +5 -5
  93. package/dist/chunks/{chunk-HFY2647W.js → chunk-OG2MLME3.js} +2 -1
  94. package/dist/chunks/{chunk-HFY2647W.js.map → chunk-OG2MLME3.js.map} +1 -1
  95. package/dist/chunks/{chunk-DWFJETFP.js → chunk-OL5SKFPM.js} +4 -4
  96. package/dist/chunks/{chunk-V4WSIY32.js → chunk-OMP25UWR.js} +6 -2
  97. package/dist/chunks/chunk-OMP25UWR.js.map +6 -0
  98. package/dist/chunks/{chunk-VLE4DKQR.js → chunk-P53E77KS.js} +3 -3
  99. package/dist/chunks/{chunk-PV4TEEGI.js → chunk-PI6KC5CD.js} +5 -5
  100. package/dist/chunks/{chunk-O62YM5KA.js → chunk-Q5DW33F4.js} +2 -2
  101. package/dist/chunks/{chunk-V5DDXBVW.js → chunk-QS65X7D6.js} +4 -4
  102. package/dist/chunks/{chunk-P5OZ7YN6.js → chunk-QZ4V25KD.js} +8 -3
  103. package/dist/chunks/chunk-QZ4V25KD.js.map +6 -0
  104. package/dist/chunks/chunk-RCLTSI6G.js +102 -0
  105. package/dist/chunks/chunk-RCLTSI6G.js.map +6 -0
  106. package/dist/chunks/{chunk-WEUXBFYG.js → chunk-RDWVNVZS.js} +51 -93
  107. package/dist/chunks/chunk-RDWVNVZS.js.map +6 -0
  108. package/dist/chunks/{chunk-PKGMZRUT.js → chunk-SMX5YHRV.js} +2 -2
  109. package/dist/chunks/{chunk-R6P5H47N.js → chunk-SQWFNFEX.js} +3 -3
  110. package/dist/chunks/{chunk-RTDE5QSZ.js → chunk-SR75L2R5.js} +4 -4
  111. package/dist/chunks/{chunk-FUVWMCRY.js → chunk-T5X3GYBF.js} +2 -2
  112. package/dist/chunks/{chunk-YY6RFZ2L.js → chunk-TJSGSC2W.js} +9 -9
  113. package/dist/chunks/{chunk-O7J6EFVD.js → chunk-TTXZK3BR.js} +3 -3
  114. package/dist/chunks/{chunk-77RA2AU7.js → chunk-U7AQ4OQJ.js} +4 -3
  115. package/dist/chunks/{chunk-635U2FDK.js → chunk-UPSI724V.js} +3 -3
  116. package/dist/chunks/{chunk-56SPZGFT.js → chunk-V23HHK5D.js} +3 -3
  117. package/dist/chunks/{chunk-C5P7OAML.js → chunk-VQHVH7X2.js} +3 -3
  118. package/dist/chunks/{chunk-HARFWJBQ.js → chunk-WJ4YRFPQ.js} +2 -2
  119. package/dist/chunks/{chunk-DFFTGAS7.js → chunk-WJXVNXJZ.js} +22 -22
  120. package/dist/chunks/{chunk-PR2EE4G4.js → chunk-WOX4KI7C.js} +3 -3
  121. package/dist/chunks/{chunk-CDDXHKSP.js → chunk-X3L6N5RM.js} +36 -11
  122. package/dist/chunks/{chunk-CDDXHKSP.js.map → chunk-X3L6N5RM.js.map} +1 -1
  123. package/dist/chunks/{chunk-ONVXBWB5.js → chunk-XFMGW2C5.js} +2 -2
  124. package/dist/chunks/{chunk-RTFC2VXR.js → chunk-XPCRLKFO.js} +7 -6
  125. package/dist/chunks/{chunk-MEZUNP2E.js → chunk-XYT53O3Z.js} +2 -2
  126. package/dist/chunks/{chunk-EB7AS2K4.js → chunk-YSV633T5.js} +10 -10
  127. package/dist/chunks/{chunk-PN2UBL2H.js → chunk-ZXFEHB7N.js} +2 -2
  128. package/dist/chunks/{cli-runtime-5GEVVA3K.js → cli-runtime-5UE6P2QW.js} +20 -17
  129. package/dist/chunks/cli-runtime-5UE6P2QW.js.map +6 -0
  130. package/dist/chunks/{commands-Y37MKMRJ.js → commands-IOHIM2PX.js} +6 -6
  131. package/dist/chunks/{computer-UE2AN7NW.js → computer-ZWTWBY67.js} +2 -2
  132. package/dist/chunks/cost-MYSYQTT3.js +755 -0
  133. package/dist/chunks/cost-MYSYQTT3.js.map +6 -0
  134. package/dist/chunks/{crash-report-S6W5DXCO.js → crash-report-WLLGI2U4.js} +6 -6
  135. package/dist/chunks/day-CU5J7UAK.js +22 -0
  136. package/dist/chunks/{dist-YO357DAD.js → dist-33QU2MGT.js} +2 -2
  137. package/dist/chunks/{dist-5E47CZZT.js → dist-6G55RC27.js} +2 -2
  138. package/dist/chunks/{dist-HCI4L6AO.js → dist-CFPNJCLJ.js} +2 -2
  139. package/dist/chunks/{dist-3FVIUYVA.js → dist-E2PF4PGO.js} +2 -2
  140. package/dist/chunks/{dist-4ATGJMUC.js → dist-FZYKXUR4.js} +2 -2
  141. package/dist/chunks/{dist-2RVY7QOH.js → dist-IXAUMLZH.js} +2 -2
  142. package/dist/chunks/{dist-DODOSCTW.js → dist-MBVPANQB.js} +106 -2
  143. package/dist/chunks/{dist-IPQPISKD.js → dist-PKKDBDSA.js} +2 -2
  144. package/dist/chunks/{doctor-EZEJEK6B.js → doctor-BXRPVVKL.js} +20 -20
  145. package/dist/chunks/{drain-VVEMLN3L.js → drain-EWKGL77B.js} +10 -10
  146. package/dist/chunks/{entry-CZ63UJYN.js → entry-XPXHELKT.js} +6 -6
  147. package/dist/chunks/eval-OLNNJGUO.js +351 -0
  148. package/dist/chunks/eval-OLNNJGUO.js.map +6 -0
  149. package/dist/chunks/{exec-DYAFXHZM.js → exec-XNMHHHTZ.js} +81 -53
  150. package/dist/chunks/exec-XNMHHHTZ.js.map +6 -0
  151. package/dist/chunks/{github-VCUDZDGI.js → github-FQAXV2KP.js} +2 -2
  152. package/dist/chunks/{home-UVU2HRDB.js → home-T4ZVXIEX.js} +3 -3
  153. package/dist/chunks/{host-Q3YNLTNL.js → host-LQ6V4NJS.js} +10 -10
  154. package/dist/chunks/{host-queries-Z4BSL457.js → host-queries-LEPTBKZK.js} +15 -15
  155. package/dist/chunks/{learn-SAZ3JOK3.js → learn-WOZKPYR4.js} +12 -12
  156. package/dist/chunks/{learn-builtin-SQ2BTDFH.js → learn-builtin-BVJFZF4R.js} +15 -15
  157. package/dist/chunks/{lifecycle-24A5HH4I.js → lifecycle-KKIDSRJV.js} +34 -33
  158. package/dist/chunks/{list-HAI55KLQ.js → list-ZWIXNGJV.js} +27 -17
  159. package/dist/chunks/list-ZWIXNGJV.js.map +6 -0
  160. package/dist/chunks/{live-EIQ666TU.js → live-4GQNVGPU.js} +18 -18
  161. package/dist/chunks/{login-YJ6L7KSY.js → login-MBXPJW6F.js} +14 -14
  162. package/dist/chunks/{logs-RWGXFRMN.js → logs-7GVMBYAQ.js} +6 -6
  163. package/dist/chunks/{mcp-DO454555.js → mcp-45UUEZMF.js} +24 -24
  164. package/dist/chunks/{message-command-AJOTC3UK.js → message-command-YVAI3SLS.js} +48 -46
  165. package/dist/chunks/message-command-YVAI3SLS.js.map +6 -0
  166. package/dist/chunks/{open-LEAR5UBX.js → open-UG6VAHDW.js} +8 -8
  167. package/dist/chunks/{operator-tools-AHP32F2J.js → operator-tools-M4SMIAYS.js} +13 -13
  168. package/dist/chunks/{output-schema-YDKTNTMM.js → output-schema-MZ6X4WQ2.js} +3 -3
  169. package/dist/chunks/{pal-XPZD6PAO.js → pal-R4RSZP2U.js} +17 -17
  170. package/dist/chunks/{peers-MRKWY3MG.js → peers-6TIMGPGR.js} +8 -8
  171. package/dist/chunks/{peers-NLUBD4IW.js → peers-T5SXNFYU.js} +6 -6
  172. package/dist/chunks/plugin-SAQJPDKX.js +1043 -0
  173. package/dist/chunks/plugin-SAQJPDKX.js.map +6 -0
  174. package/dist/chunks/{providers-QPESWN6K.js → providers-CPHEQZCV.js} +11 -11
  175. package/dist/chunks/{pty-BDOOEOCB.js → pty-YAFV4ZA6.js} +3 -3
  176. package/dist/chunks/render-QFCCPEEL.js +14 -0
  177. package/dist/chunks/resume-GZGHY4UR.js +23 -0
  178. package/dist/chunks/{resume-command-KIXKOEM3.js → resume-command-WJH7SKYB.js} +5 -5
  179. package/dist/chunks/{schedule-6BKCRYAT.js → schedule-I7ZNWSN3.js} +15 -10
  180. package/dist/chunks/schedule-I7ZNWSN3.js.map +6 -0
  181. package/dist/chunks/{service-ENTDZAVD.js → service-ZRXXXJW7.js} +34 -33
  182. package/dist/chunks/service-ZRXXXJW7.js.map +6 -0
  183. package/dist/chunks/{skills-MG2BRTPV.js → skills-RIJBOCKN.js} +9 -9
  184. package/dist/chunks/{start-check-7WYNSBON.js → start-check-5DQL76YU.js} +2 -2
  185. package/dist/chunks/{startup-failure-EWWYKPVE.js → startup-failure-7KMOAOXE.js} +2 -2
  186. package/dist/chunks/{state-6UVY4EHA.js → state-QNSG3QWY.js} +3 -3
  187. package/dist/chunks/{store-OKK7A6ZE.js → store-7NXFZTW7.js} +6 -6
  188. package/dist/chunks/{store-UFUDXZG6.js → store-IDSNTJRG.js} +10 -10
  189. package/dist/chunks/{store-ASWK7TVD.js → store-NE2I4H7E.js} +3 -3
  190. package/dist/chunks/store-NE2I4H7E.js.map +6 -0
  191. package/dist/chunks/{store-XU4PITDA.js → store-TY2ZO2EP.js} +4 -4
  192. package/dist/chunks/store-TY2ZO2EP.js.map +6 -0
  193. package/dist/chunks/tui-DLUH6HQ4.js +1034 -0
  194. package/dist/chunks/tui-DLUH6HQ4.js.map +6 -0
  195. package/dist/chunks/{upgrade-IJFMAW3T.js → upgrade-UZTPAIDF.js} +8 -8
  196. package/dist/chunks/watch-AAZHSSIE.js +982 -0
  197. package/dist/chunks/watch-AAZHSSIE.js.map +6 -0
  198. package/dist/chunks/{workspaces-KVFY66IC.js → workspaces-KLYC5537.js} +16 -16
  199. package/dist/chunks/{worktree-7JTMEYRX.js → worktree-4PKAJ7LT.js} +13 -13
  200. package/dist/cli.d.ts.map +1 -1
  201. package/dist/commands/acp.d.ts +20 -1
  202. package/dist/commands/acp.d.ts.map +1 -1
  203. package/dist/commands/cost.d.ts +26 -0
  204. package/dist/commands/cost.d.ts.map +1 -0
  205. package/dist/commands/desktop-host.d.ts.map +1 -1
  206. package/dist/commands/eval.d.ts.map +1 -1
  207. package/dist/commands/exec-flags.d.ts +2 -0
  208. package/dist/commands/exec-flags.d.ts.map +1 -1
  209. package/dist/commands/exec-json.d.ts.map +1 -1
  210. package/dist/commands/exec.d.ts.map +1 -1
  211. package/dist/commands/manifest.d.ts +3 -0
  212. package/dist/commands/manifest.d.ts.map +1 -1
  213. package/dist/commands/plugin.d.ts +18 -0
  214. package/dist/commands/plugin.d.ts.map +1 -0
  215. package/dist/commands/schedule.d.ts.map +1 -1
  216. package/dist/commands/watch.d.ts +41 -0
  217. package/dist/commands/watch.d.ts.map +1 -0
  218. package/dist/config/load.d.ts.map +1 -1
  219. package/dist/config/schema.d.ts +25 -0
  220. package/dist/config/schema.d.ts.map +1 -1
  221. package/dist/config/settings-descriptors.d.ts.map +1 -1
  222. package/dist/config/turn-guards.d.ts +5 -2
  223. package/dist/config/turn-guards.d.ts.map +1 -1
  224. package/dist/desktop-contract.d.ts +21 -0
  225. package/dist/desktop-contract.d.ts.map +1 -0
  226. package/dist/exit-codes.d.ts +9 -1
  227. package/dist/exit-codes.d.ts.map +1 -1
  228. package/dist/index.d.ts +1 -0
  229. package/dist/index.d.ts.map +1 -1
  230. package/dist/index.js +37 -33
  231. package/dist/integrations/auto-update/install-kind.d.ts.map +1 -1
  232. package/dist/integrations/plugins/check-hint.d.ts +5 -0
  233. package/dist/integrations/plugins/check-hint.d.ts.map +1 -0
  234. package/dist/integrations/plugins/files.d.ts +17 -0
  235. package/dist/integrations/plugins/files.d.ts.map +1 -1
  236. package/dist/integrations/plugins/validate.d.ts +75 -0
  237. package/dist/integrations/plugins/validate.d.ts.map +1 -0
  238. package/dist/integrations/sessions/session-watch.d.ts +127 -0
  239. package/dist/integrations/sessions/session-watch.d.ts.map +1 -0
  240. package/dist/integrations/sessions/watch-view.d.ts +73 -0
  241. package/dist/integrations/sessions/watch-view.d.ts.map +1 -0
  242. package/dist/integrations/sessions/watch-wait.d.ts +32 -0
  243. package/dist/integrations/sessions/watch-wait.d.ts.map +1 -0
  244. package/dist/integrations/spend/day.d.ts +26 -0
  245. package/dist/integrations/spend/day.d.ts.map +1 -0
  246. package/dist/integrations/spend/fold.d.ts +136 -0
  247. package/dist/integrations/spend/fold.d.ts.map +1 -0
  248. package/dist/integrations/spend/ledger.d.ts +74 -0
  249. package/dist/integrations/spend/ledger.d.ts.map +1 -0
  250. package/dist/integrations/spend/render.d.ts +6 -0
  251. package/dist/integrations/spend/render.d.ts.map +1 -0
  252. package/dist/integrations/spend/report.d.ts +110 -0
  253. package/dist/integrations/spend/report.d.ts.map +1 -0
  254. package/dist/integrations/telemetry/otlp-export.d.ts +3 -0
  255. package/dist/integrations/telemetry/otlp-export.d.ts.map +1 -1
  256. package/dist/schedule/build.d.ts +12 -0
  257. package/dist/schedule/build.d.ts.map +1 -1
  258. package/dist/schedule/changes.d.ts.map +1 -1
  259. package/dist/schedule/commands/add.d.ts +1 -1
  260. package/dist/schedule/commands/add.d.ts.map +1 -1
  261. package/dist/schedule/commands/list.d.ts +2 -0
  262. package/dist/schedule/commands/list.d.ts.map +1 -1
  263. package/dist/schedule/daemon/daemon.d.ts.map +1 -1
  264. package/dist/schedule/daemon/notify.d.ts +7 -2
  265. package/dist/schedule/daemon/notify.d.ts.map +1 -1
  266. package/dist/schedule/delivery.d.ts.map +1 -1
  267. package/dist/schedule/fire/calls.d.ts +2 -0
  268. package/dist/schedule/fire/calls.d.ts.map +1 -1
  269. package/dist/schedule/fire/fire.d.ts +3 -0
  270. package/dist/schedule/fire/fire.d.ts.map +1 -1
  271. package/dist/schedule/fire/run-script.d.ts +4 -0
  272. package/dist/schedule/fire/run-script.d.ts.map +1 -1
  273. package/dist/schedule/fire/unattended-note.d.ts +5 -0
  274. package/dist/schedule/fire/unattended-note.d.ts.map +1 -1
  275. package/dist/schedule/gate.d.ts +73 -0
  276. package/dist/schedule/gate.d.ts.map +1 -0
  277. package/dist/schedule/store/jobs.d.ts +2 -2
  278. package/dist/schedule/store/jobs.d.ts.map +1 -1
  279. package/dist/schedule/types.d.ts +60 -1
  280. package/dist/schedule/types.d.ts.map +1 -1
  281. package/dist/tui/App.d.ts.map +1 -1
  282. package/dist/tui/Markdown.d.ts +5 -1
  283. package/dist/tui/Markdown.d.ts.map +1 -1
  284. package/dist/tui/ScheduleReviewOverlay.d.ts.map +1 -1
  285. package/dist/tui/agent.d.ts +14 -1
  286. package/dist/tui/agent.d.ts.map +1 -1
  287. package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
  288. package/dist/tui/markdown-structure.d.ts +24 -0
  289. package/dist/tui/markdown-structure.d.ts.map +1 -0
  290. package/dist/tui/markdownParser.d.ts +11 -0
  291. package/dist/tui/markdownParser.d.ts.map +1 -1
  292. package/dist/tui/outcome-line.d.ts +29 -1
  293. package/dist/tui/outcome-line.d.ts.map +1 -1
  294. package/dist/tui/restored-rows.d.ts +8 -1
  295. package/dist/tui/restored-rows.d.ts.map +1 -1
  296. package/dist/tui/schedule/host-commands.d.ts.map +1 -1
  297. package/dist/tui/schedule/source-deliveries.d.ts.map +1 -1
  298. package/dist/tui/schedule/tool-host.d.ts.map +1 -1
  299. package/dist/tui/slashCommands.d.ts +5 -0
  300. package/dist/tui/slashCommands.d.ts.map +1 -1
  301. package/dist/tui/tool-end-rows.d.ts +1 -1
  302. package/dist/tui/tool-end-rows.d.ts.map +1 -1
  303. package/dist/tui/types.d.ts +5 -1
  304. package/dist/tui/types.d.ts.map +1 -1
  305. package/dist/user-commands/store.d.ts +14 -0
  306. package/dist/user-commands/store.d.ts.map +1 -1
  307. package/package.json +5 -5
  308. package/skills/schedule-task/SKILL.md +8 -0
  309. package/dist/chunks/acp-OKCSCFH2.js.map +0 -6
  310. package/dist/chunks/add-H4FUTHAQ.js.map +0 -6
  311. package/dist/chunks/agent-session-YNUAPMAL.js +0 -69
  312. package/dist/chunks/chunk-AJHNH4WR.js.map +0 -6
  313. package/dist/chunks/chunk-F3QD24YN.js.map +0 -6
  314. package/dist/chunks/chunk-F7ECNFNX.js.map +0 -6
  315. package/dist/chunks/chunk-JVIS6M37.js.map +0 -6
  316. package/dist/chunks/chunk-NWIOFCDB.js.map +0 -6
  317. package/dist/chunks/chunk-P5OZ7YN6.js.map +0 -6
  318. package/dist/chunks/chunk-PWNFXNFK.js.map +0 -6
  319. package/dist/chunks/chunk-TXP6SOA7.js.map +0 -6
  320. package/dist/chunks/chunk-V4WSIY32.js.map +0 -6
  321. package/dist/chunks/chunk-VVMRXGQ6.js.map +0 -6
  322. package/dist/chunks/chunk-WEUXBFYG.js.map +0 -6
  323. package/dist/chunks/chunk-YMWHDGCW.js.map +0 -6
  324. package/dist/chunks/chunk-ZIUKLIUS.js.map +0 -6
  325. package/dist/chunks/cli-runtime-5GEVVA3K.js.map +0 -6
  326. package/dist/chunks/eval-ZOF3EXZS.js +0 -187
  327. package/dist/chunks/eval-ZOF3EXZS.js.map +0 -6
  328. package/dist/chunks/exec-DYAFXHZM.js.map +0 -6
  329. package/dist/chunks/list-HAI55KLQ.js.map +0 -6
  330. package/dist/chunks/message-command-AJOTC3UK.js.map +0 -6
  331. package/dist/chunks/resume-ZS3VS5OQ.js +0 -23
  332. package/dist/chunks/schedule-6BKCRYAT.js.map +0 -6
  333. package/dist/chunks/service-ENTDZAVD.js.map +0 -6
  334. package/dist/chunks/tui-L4BRR4H5.js.map +0 -6
  335. /package/dist/chunks/{activity-command-SJGXPUYE.js.map → activity-command-I3OMRZ2T.js.map} +0 -0
  336. /package/dist/chunks/{agent-U4YLYJ4N.js.map → agent-3A66KRCM.js.map} +0 -0
  337. /package/dist/chunks/{agent-session-YNUAPMAL.js.map → agent-session-LJZO5VIZ.js.map} +0 -0
  338. /package/dist/chunks/{archive-O236ZKWI.js.map → archive-IWWDLSAO.js.map} +0 -0
  339. /package/dist/chunks/{bin-main-YS3HF46K.js.map → bin-main-CRX2U7A6.js.map} +0 -0
  340. /package/dist/chunks/{binding-SS7YOEIZ.js.map → binding-4AMPOED7.js.map} +0 -0
  341. /package/dist/chunks/{browser-OA2KB5Z2.js.map → browser-SAS7YPVD.js.map} +0 -0
  342. /package/dist/chunks/{chat-EBNDAIRO.js.map → chat-ANHTX7D5.js.map} +0 -0
  343. /package/dist/chunks/{chunk-YGLJBR4L.js.map → chunk-3D52GNVJ.js.map} +0 -0
  344. /package/dist/chunks/{chunk-BPZQYXLI.js.map → chunk-3MJ3YKNV.js.map} +0 -0
  345. /package/dist/chunks/{chunk-KN3FKKYY.js.map → chunk-45Z4OPC6.js.map} +0 -0
  346. /package/dist/chunks/{chunk-MTY3SZOT.js.map → chunk-52YXYXRG.js.map} +0 -0
  347. /package/dist/chunks/{chunk-XMYFIXCP.js.map → chunk-56ZS6OTK.js.map} +0 -0
  348. /package/dist/chunks/{chunk-KUVGN7VF.js.map → chunk-57QGQNRI.js.map} +0 -0
  349. /package/dist/chunks/{chunk-HXWIEKOB.js.map → chunk-5TPQGNYN.js.map} +0 -0
  350. /package/dist/chunks/{chunk-WCMXLFUB.js.map → chunk-5U42MB6F.js.map} +0 -0
  351. /package/dist/chunks/{chunk-LMLCGIQR.js.map → chunk-5YMIK3VP.js.map} +0 -0
  352. /package/dist/chunks/{chunk-Y5D6542Z.js.map → chunk-6I4V7I5M.js.map} +0 -0
  353. /package/dist/chunks/{chunk-R6ZDPAEV.js.map → chunk-6MI4Q5QQ.js.map} +0 -0
  354. /package/dist/chunks/{chunk-JHLJJDNJ.js.map → chunk-6S4L4SAU.js.map} +0 -0
  355. /package/dist/chunks/{chunk-UBOE47YI.js.map → chunk-AGC67H4M.js.map} +0 -0
  356. /package/dist/chunks/{chunk-WD45OZPT.js.map → chunk-ALXE3SUZ.js.map} +0 -0
  357. /package/dist/chunks/{chunk-4HGQJYDZ.js.map → chunk-ANVIYMV6.js.map} +0 -0
  358. /package/dist/chunks/{chunk-HAIXGRRS.js.map → chunk-BC3IZXTY.js.map} +0 -0
  359. /package/dist/chunks/{chunk-7J3IMJKF.js.map → chunk-BN32BPU6.js.map} +0 -0
  360. /package/dist/chunks/{chunk-HDBTTV2S.js.map → chunk-DLVHJFXI.js.map} +0 -0
  361. /package/dist/chunks/{chunk-CIHHPULI.js.map → chunk-DNOI4BL2.js.map} +0 -0
  362. /package/dist/chunks/{chunk-UNQYPFDZ.js.map → chunk-E5OETSRN.js.map} +0 -0
  363. /package/dist/chunks/{chunk-YM5DH66D.js.map → chunk-E7IXVEOQ.js.map} +0 -0
  364. /package/dist/chunks/{chunk-GUZEB3KN.js.map → chunk-FKQOGEKL.js.map} +0 -0
  365. /package/dist/chunks/{chunk-JEEF7UIH.js.map → chunk-FLPT7I7I.js.map} +0 -0
  366. /package/dist/chunks/{chunk-QY4UUQQT.js.map → chunk-FMAUDMYL.js.map} +0 -0
  367. /package/dist/chunks/{chunk-TQG7WZI5.js.map → chunk-FSS72QJP.js.map} +0 -0
  368. /package/dist/chunks/{chunk-OLI35PTE.js.map → chunk-H56PLZHW.js.map} +0 -0
  369. /package/dist/chunks/{chunk-2E3ALKOF.js.map → chunk-HHLWXGOG.js.map} +0 -0
  370. /package/dist/chunks/{chunk-P52PAWBP.js.map → chunk-HXPRWMLH.js.map} +0 -0
  371. /package/dist/chunks/{chunk-FA2ZVSEU.js.map → chunk-IPTWZUSV.js.map} +0 -0
  372. /package/dist/chunks/{chunk-LLR7GHVU.js.map → chunk-ITY5SBAS.js.map} +0 -0
  373. /package/dist/chunks/{chunk-22PMPEFX.js.map → chunk-K52DES57.js.map} +0 -0
  374. /package/dist/chunks/{chunk-BK5AJ7TL.js.map → chunk-KJ7Q3BC3.js.map} +0 -0
  375. /package/dist/chunks/{chunk-MV2T5HFQ.js.map → chunk-KZHMLRKY.js.map} +0 -0
  376. /package/dist/chunks/{chunk-D3ITBQ7T.js.map → chunk-LGH2T6KL.js.map} +0 -0
  377. /package/dist/chunks/{chunk-3XIWMQLP.js.map → chunk-LQJ3TB5E.js.map} +0 -0
  378. /package/dist/chunks/{chunk-6GITBOHO.js.map → chunk-LYPEV765.js.map} +0 -0
  379. /package/dist/chunks/{chunk-O53H43CX.js.map → chunk-M44I7P3H.js.map} +0 -0
  380. /package/dist/chunks/{chunk-MOGE5ZMI.js.map → chunk-NAWIOVUH.js.map} +0 -0
  381. /package/dist/chunks/{chunk-ZNC5BEFK.js.map → chunk-NGE7TNCY.js.map} +0 -0
  382. /package/dist/chunks/{chunk-JABCT4RQ.js.map → chunk-OEKCCZ7I.js.map} +0 -0
  383. /package/dist/chunks/{chunk-DWFJETFP.js.map → chunk-OL5SKFPM.js.map} +0 -0
  384. /package/dist/chunks/{chunk-VLE4DKQR.js.map → chunk-P53E77KS.js.map} +0 -0
  385. /package/dist/chunks/{chunk-PV4TEEGI.js.map → chunk-PI6KC5CD.js.map} +0 -0
  386. /package/dist/chunks/{chunk-O62YM5KA.js.map → chunk-Q5DW33F4.js.map} +0 -0
  387. /package/dist/chunks/{chunk-V5DDXBVW.js.map → chunk-QS65X7D6.js.map} +0 -0
  388. /package/dist/chunks/{chunk-PKGMZRUT.js.map → chunk-SMX5YHRV.js.map} +0 -0
  389. /package/dist/chunks/{chunk-R6P5H47N.js.map → chunk-SQWFNFEX.js.map} +0 -0
  390. /package/dist/chunks/{chunk-RTDE5QSZ.js.map → chunk-SR75L2R5.js.map} +0 -0
  391. /package/dist/chunks/{chunk-FUVWMCRY.js.map → chunk-T5X3GYBF.js.map} +0 -0
  392. /package/dist/chunks/{chunk-YY6RFZ2L.js.map → chunk-TJSGSC2W.js.map} +0 -0
  393. /package/dist/chunks/{chunk-O7J6EFVD.js.map → chunk-TTXZK3BR.js.map} +0 -0
  394. /package/dist/chunks/{chunk-77RA2AU7.js.map → chunk-U7AQ4OQJ.js.map} +0 -0
  395. /package/dist/chunks/{chunk-635U2FDK.js.map → chunk-UPSI724V.js.map} +0 -0
  396. /package/dist/chunks/{chunk-56SPZGFT.js.map → chunk-V23HHK5D.js.map} +0 -0
  397. /package/dist/chunks/{chunk-C5P7OAML.js.map → chunk-VQHVH7X2.js.map} +0 -0
  398. /package/dist/chunks/{chunk-HARFWJBQ.js.map → chunk-WJ4YRFPQ.js.map} +0 -0
  399. /package/dist/chunks/{chunk-DFFTGAS7.js.map → chunk-WJXVNXJZ.js.map} +0 -0
  400. /package/dist/chunks/{chunk-PR2EE4G4.js.map → chunk-WOX4KI7C.js.map} +0 -0
  401. /package/dist/chunks/{chunk-ONVXBWB5.js.map → chunk-XFMGW2C5.js.map} +0 -0
  402. /package/dist/chunks/{chunk-RTFC2VXR.js.map → chunk-XPCRLKFO.js.map} +0 -0
  403. /package/dist/chunks/{chunk-MEZUNP2E.js.map → chunk-XYT53O3Z.js.map} +0 -0
  404. /package/dist/chunks/{chunk-EB7AS2K4.js.map → chunk-YSV633T5.js.map} +0 -0
  405. /package/dist/chunks/{chunk-PN2UBL2H.js.map → chunk-ZXFEHB7N.js.map} +0 -0
  406. /package/dist/chunks/{commands-Y37MKMRJ.js.map → commands-IOHIM2PX.js.map} +0 -0
  407. /package/dist/chunks/{computer-UE2AN7NW.js.map → computer-ZWTWBY67.js.map} +0 -0
  408. /package/dist/chunks/{crash-report-S6W5DXCO.js.map → crash-report-WLLGI2U4.js.map} +0 -0
  409. /package/dist/chunks/{dist-DODOSCTW.js.map → day-CU5J7UAK.js.map} +0 -0
  410. /package/dist/chunks/{dist-YO357DAD.js.map → dist-33QU2MGT.js.map} +0 -0
  411. /package/dist/chunks/{dist-5E47CZZT.js.map → dist-6G55RC27.js.map} +0 -0
  412. /package/dist/chunks/{dist-HCI4L6AO.js.map → dist-CFPNJCLJ.js.map} +0 -0
  413. /package/dist/chunks/{dist-3FVIUYVA.js.map → dist-E2PF4PGO.js.map} +0 -0
  414. /package/dist/chunks/{dist-4ATGJMUC.js.map → dist-FZYKXUR4.js.map} +0 -0
  415. /package/dist/chunks/{dist-2RVY7QOH.js.map → dist-IXAUMLZH.js.map} +0 -0
  416. /package/dist/chunks/{doctor-EZEJEK6B.js.map → dist-MBVPANQB.js.map} +0 -0
  417. /package/dist/chunks/{dist-IPQPISKD.js.map → dist-PKKDBDSA.js.map} +0 -0
  418. /package/dist/chunks/{home-UVU2HRDB.js.map → doctor-BXRPVVKL.js.map} +0 -0
  419. /package/dist/chunks/{drain-VVEMLN3L.js.map → drain-EWKGL77B.js.map} +0 -0
  420. /package/dist/chunks/{entry-CZ63UJYN.js.map → entry-XPXHELKT.js.map} +0 -0
  421. /package/dist/chunks/{github-VCUDZDGI.js.map → github-FQAXV2KP.js.map} +0 -0
  422. /package/dist/chunks/{host-Q3YNLTNL.js.map → home-T4ZVXIEX.js.map} +0 -0
  423. /package/dist/chunks/{lifecycle-24A5HH4I.js.map → host-LQ6V4NJS.js.map} +0 -0
  424. /package/dist/chunks/{host-queries-Z4BSL457.js.map → host-queries-LEPTBKZK.js.map} +0 -0
  425. /package/dist/chunks/{learn-SAZ3JOK3.js.map → learn-WOZKPYR4.js.map} +0 -0
  426. /package/dist/chunks/{learn-builtin-SQ2BTDFH.js.map → learn-builtin-BVJFZF4R.js.map} +0 -0
  427. /package/dist/chunks/{live-EIQ666TU.js.map → lifecycle-KKIDSRJV.js.map} +0 -0
  428. /package/dist/chunks/{login-YJ6L7KSY.js.map → live-4GQNVGPU.js.map} +0 -0
  429. /package/dist/chunks/{open-LEAR5UBX.js.map → login-MBXPJW6F.js.map} +0 -0
  430. /package/dist/chunks/{logs-RWGXFRMN.js.map → logs-7GVMBYAQ.js.map} +0 -0
  431. /package/dist/chunks/{mcp-DO454555.js.map → mcp-45UUEZMF.js.map} +0 -0
  432. /package/dist/chunks/{output-schema-YDKTNTMM.js.map → open-UG6VAHDW.js.map} +0 -0
  433. /package/dist/chunks/{operator-tools-AHP32F2J.js.map → operator-tools-M4SMIAYS.js.map} +0 -0
  434. /package/dist/chunks/{peers-NLUBD4IW.js.map → output-schema-MZ6X4WQ2.js.map} +0 -0
  435. /package/dist/chunks/{pal-XPZD6PAO.js.map → pal-R4RSZP2U.js.map} +0 -0
  436. /package/dist/chunks/{peers-MRKWY3MG.js.map → peers-6TIMGPGR.js.map} +0 -0
  437. /package/dist/chunks/{providers-QPESWN6K.js.map → peers-T5SXNFYU.js.map} +0 -0
  438. /package/dist/chunks/{pty-BDOOEOCB.js.map → providers-CPHEQZCV.js.map} +0 -0
  439. /package/dist/chunks/{resume-ZS3VS5OQ.js.map → pty-YAFV4ZA6.js.map} +0 -0
  440. /package/dist/chunks/{resume-command-KIXKOEM3.js.map → render-QFCCPEEL.js.map} +0 -0
  441. /package/dist/chunks/{start-check-7WYNSBON.js.map → resume-GZGHY4UR.js.map} +0 -0
  442. /package/dist/chunks/{store-ASWK7TVD.js.map → resume-command-WJH7SKYB.js.map} +0 -0
  443. /package/dist/chunks/{skills-MG2BRTPV.js.map → skills-RIJBOCKN.js.map} +0 -0
  444. /package/dist/chunks/{store-OKK7A6ZE.js.map → start-check-5DQL76YU.js.map} +0 -0
  445. /package/dist/chunks/{startup-failure-EWWYKPVE.js.map → startup-failure-7KMOAOXE.js.map} +0 -0
  446. /package/dist/chunks/{state-6UVY4EHA.js.map → state-QNSG3QWY.js.map} +0 -0
  447. /package/dist/chunks/{store-UFUDXZG6.js.map → store-7NXFZTW7.js.map} +0 -0
  448. /package/dist/chunks/{store-XU4PITDA.js.map → store-IDSNTJRG.js.map} +0 -0
  449. /package/dist/chunks/{upgrade-IJFMAW3T.js.map → upgrade-UZTPAIDF.js.map} +0 -0
  450. /package/dist/chunks/{workspaces-KVFY66IC.js.map → workspaces-KLYC5537.js.map} +0 -0
  451. /package/dist/chunks/{worktree-7JTMEYRX.js.map → worktree-4PKAJ7LT.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @namzu/cli
2
2
 
3
+ ## 51.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 335c305: When telemetry export is on, spans now carry the OpenTelemetry GenAI convention names (version 1.41.1) beside the existing ones. To leave them off, for a backend that bills by attribute, set `NAMZU_TELEMETRY_GENAI=0` (or `false`, `no`, `off`) with the export. Nothing existing is renamed or removed.
8
+ - b79f7ae: `namzu acp` now says its own version in the `initialize` answer (`kernel.commandLine`), and `namzu acp --desktop` also says `kernel.desktopContract`, a new exported integer constant (`DESKTOP_CONTRACT`, starting at 1) that is meant for an installed Namzu Desktop to compare before it would run a newer command line it fetched itself. This release only states the number; the fetching and the check are not part of it. Existing readers ignore the new field. A copy of the command line that the desktop app keeps in its own data folder (`<app data>/kernel/versions/<version>`) is now recognised by its location as the app's own and is never updated by the terminal's background updater, whether or not it runs under the app's program. A test records everything the desktop app relies on in `packages/cli/desktop-contract/inventory.json` and fails when a method, notification, flag or mirrored shape it names disappears or changes.
9
+ - 6988750: New command `namzu plugin validate [path] [--json]` checks a plugin folder (the current one by default) and every part it carries: the manifest, skills, tool and hook modules, MCP server entries, command files and agent files. It prints each problem with the file, the line when it can be known, what is wrong and what the loader would do about it, as an error (the loader refuses the plugin or skips the part) or a warning (it loads but is probably not what you meant: an ignored misspelt key, a very long skill description, a reference outside the folder, a hook event that does not exist). It runs nothing from the plugin and reads only inside the folder. Exit status: 0 no problems, 10 warnings only, 1 errors, 66 folder unreadable, 64 usage. `--json` prints one report (`version: 1`) and nothing else on standard output. Nothing changes for a plugin that already loads; a script that wants to gate on it should treat 10 as "loads, check it". When a plugin is refused at startup, or a plugin's command folder, agent file or whole plugin is skipped, the message now ends with a line naming this command, and so does the reason shown for a plugin command that cannot be used. The "could not read the folder" sentence goes to standard error.
10
+ - 14f09af: New: `namzu cost [--days <n>] [--json]` and `/cost days [n]` in the terminal show what your conversations cost over the last `n` local days (30 by default), by day, model, project and kind of work (your replies, sub-agents, compaction, other internal calls), with cache reads and writes apart from fresh input. It reads the session logs you already have; nothing new is recorded and nothing leaves the machine. Money is an estimate from list prices, and a model with no known price shows its tokens and "price not known" with the total marked partial, never a zero. `--json` prints a documented shape (`schemaVersion` 1). To make it fast the command keeps a small summary, `spend-ledger.json`, in the Namzu home beside the session index; it is safe to delete and is rebuilt from the logs. Plain `/cost` and `/cost details` are unchanged. Nothing to do on upgrade.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [335c305]
15
+ - Updated dependencies [b79f7ae]
16
+ - Updated dependencies [6988750]
17
+ - @namzu/sdk@62.14.0
18
+
19
+ ## 51.1.0
20
+
21
+ ### Minor Changes
22
+
23
+ - a89772d: When an answer says a check passed (tests, build, lint, type checking) and the same turn's record says a check failed, or says files changed and no check ran or none could be read, the terminal now shows one more line under the outcome line: "The answer says the tests pass. The record: pnpm test failed." Nothing is shown in any other case, and nothing is blocked or sent back to the model. `namzu exec --output-format json` and the `done` line of `exec --json` gain an optional `claimMismatch` key with the same facts, absent when there is none; a script that reads only the keys it knows is not affected. English claims only; a reopened conversation draws the same line, worked out again from the saved answer and record.
24
+ - 29de8d5: `namzu eval` takes `--repeat <n>` (run every case n times, 1 to 100) and `--seed <n>` (seed for the 95% intervals), and reaches suites that were written before either existed. It prints each suite's intervals and a whole-run summary, and `--out` now writes `schemaVersion: 2` with a `run` object and, per suite, the disclosure of what produced it. New `namzu eval compare <a.json> <b.json> [--json] [--seed <n>]` pairs two written reports by suite and case id and prints the paired difference with its interval, the flips with an exact test, one sentence that claims a winner only when the interval excludes zero, and what differs between the two runs, with a warning when more than one thing does. The exit codes of a run are unchanged. A bad `--repeat` or `--seed` is a usage error (exit 3). Only a bad `--repeat` or `--seed` is a usage error; a RangeError thrown by a suite's own code is no longer one. The commit in a report reads `<sha>-dirty` when tracked files have changed, and the whole-run seed is the seed the suites used. Nothing to change on your side.
25
+ - 7793f27: A goal can now end by the record of the work. Set `goal.confirmedBy: record` in your config, or `/goal set --confirmed-by record <objective>` for one goal, and when the model reports a goal complete Namzu reads the kernel's record of the turn first: the goal ends as confirmed by the record (a check passed and nothing changed after it), as stated and not checked (the record cannot confirm or contradict it), or as not confirmed (the goal is blocked and `/goal status` shows the record's sentence). A failing check, files changed after the last pass, or files changed with no check send the model back with one plain note, up to 3 times per goal; the existing limits still win. The closing line says which ending it was. `namzu exec --output-format json` and the `done` line of `exec --json` gain an optional `goalEnding` key, absent unless a goal ended in the command. Nothing changes unless you opt in: the default stays the model's report, and is intended to become `record` in a later major release, at which point `goal.confirmedBy: model` keeps today's behaviour.
26
+ - 8e8bc4d: The model can now be allowed to hand a task back to a person instead of forcing a result it cannot honestly reach. Off by default; turn it on with `handBack.enabled: true` in your config, or `--hand-back` on `namzu exec`. When the model hands a task back, the terminal says so in Namzu's words and shows the model's own sentences under labels (what blocks it, what it tried, what a person has to decide or provide), a reopened conversation shows the same, `namzu exec` exits with the new status **3** (distinct from 0, done, and 1, failed; stderr says why and `--output-format json` carries an optional `handedBack` key, also on the `done` line of `exec --json`, which still exits 0), a goal round ends the goal as not confirmed, and a scheduled run ends with the new status `needs-a-person` and is counted, notified once and paused on repeats like a failing run. If you read scheduled run statuses, handle `needs-a-person`; it only appears when you turn the setting on. Nothing changes unless you do: with it off the tool is absent and the prompt is unchanged. Before it could become the default it needs a measurement with real models on tasks that cannot be done as specified, against how often a model hands back a task it could have finished.
27
+ - 5569888: A reply's markdown looks different in the terminal, in both the default screen and fullscreen. Headings are told apart by level: level 1 is bold and underlined in the accent colour, level 2 bold in the accent colour, level 3 bold in the body colour, levels 4 to 6 bold in the muted colour (before, levels 1 and 2 showed as plain bold like the rest). A quote (lines starting with `>`) is drawn with a bar down its left edge on every row, its text in italics, and a quote inside a quote gets two bars; before, the `>` was printed as text. A line of `---`, `***`, `___` or `- - -` on its own is drawn as a horizontal line up to 40 cells wide; before, the characters were printed. A `>` in the middle of a line, and anything inside a code fence, stays as written. Text over `---` is a paragraph and a rule, not an underlined heading. Nothing to change on your side.
28
+ - 7cf9b02: New command `namzu watch [session]` follows a running or finished session from a second terminal on the same machine, read-only. It prints the conversation as a reopened one is drawn and keeps it current as the session's log grows; with no argument it offers the sessions with a turn in flight now, this folder's first. It never takes the session's lease, writes to its log, sends a message or answers an approval; a session that waits for one says what it waits for and that the answer belongs in the terminal that runs it. Text a step is still writing appears when that step ends, because the log holds only settled records. `--exit-on-end` leaves when the session ends with status 0 (finished), 1 (failed or stopped) or 69 (interrupted), `--plain` writes lines with no terminal control (the default when output is not a terminal), and Ctrl+C leaves with 130. Nothing changes for existing commands or flags.
29
+ - fc9929d: A scheduled agent job can carry a gate: one shell command you write, run first in the job's folder, that decides whether the model is called. Set it with `namzu schedule add --gate '<command>'` (or `--gate-file`, `--gate-shell bash|sh`, `--gate-timeout`, and `--no-gate` on `edit`), or in the job file followed by `namzu schedule confirm`. The turn starts only when the gate exits 0 and prints something; its output (capped at 4,000 characters, the cut marked) is handed to the turn as data under "The gate command printed:". Otherwise the run is recorded as the new status `skipped` with its reason (the gate printed nothing, exited with a code, ran out of time, could not start), no model is called, and nothing is spent. The gate has a 30 second default limit, at most 5 minutes, runs on the host with the scheduler's environment minus credential-shaped variables, and is read by the scheduled-run floor and your deny rules like a script job's body.
30
+
31
+ A skipped run is not a failure: it does not count toward `--pause-after-failures`, sends no failure notice and delivers nothing to a source conversation. A gate that cannot start three runs in a row is told to you once. A job without a gate behaves exactly as before.
32
+
33
+ What to do about it: nothing, unless you read run statuses yourself. Code that switches on a run's `status` in `schedule show --json`, `history --json` or a job's `state` should treat `skipped` as a finished run that did nothing. A job with a gate is stored as format version 3, which an older namzu refuses loudly. A job that already has one and is later edited by the model's `schedule` tool keeps its gate. In `@namzu/sdk` the `schedule` tool refuses a `gate` input (only a person sets one), and `ScheduleJobPreview` gains the optional `gate` so a host can show the exact command.
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [fc9929d]
38
+ - Updated dependencies [a89772d]
39
+ - Updated dependencies [29de8d5]
40
+ - Updated dependencies [7793f27]
41
+ - Updated dependencies [8e8bc4d]
42
+ - Updated dependencies [d978097]
43
+ - @namzu/sdk@62.13.0
44
+
3
45
  ## 51.0.1
4
46
 
5
47
  ### 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-YS3HF46K.js");
42
+ var { main } = await import("./chunks/bin-main-CRX2U7A6.js");
43
43
  await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
44
44
  //# sourceMappingURL=bin.js.map
@@ -2,35 +2,37 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  dispatchCliPalMessages
5
- } from "./chunk-YY6RFZ2L.js";
5
+ } from "./chunk-TJSGSC2W.js";
6
6
  import {
7
7
  readUserMcpServers,
8
8
  summarizeUserMcpServer
9
- } from "./chunk-OLI35PTE.js";
9
+ } from "./chunk-H56PLZHW.js";
10
10
  import {
11
11
  decideHeadlessTrust
12
- } from "./chunk-PKGMZRUT.js";
12
+ } from "./chunk-SMX5YHRV.js";
13
13
  import {
14
14
  conversationMarkdown,
15
15
  lookupPr,
16
- outcomeLine,
17
16
  runCommand,
18
17
  withKeyNote
19
- } from "./chunk-PWNFXNFK.js";
20
- import "./chunk-BPZQYXLI.js";
18
+ } from "./chunk-DOPHHI6C.js";
19
+ import "./chunk-3MJ3YKNV.js";
21
20
  import "./chunk-JETLWXUE.js";
21
+ import {
22
+ outcomeLine
23
+ } from "./chunk-RCLTSI6G.js";
22
24
  import {
23
25
  deleteUserConfigValue,
24
26
  setUserConfigValue,
25
27
  userConfigPath
26
- } from "./chunk-YM5DH66D.js";
28
+ } from "./chunk-E7IXVEOQ.js";
29
+ import {
30
+ launchRefusal
31
+ } from "./chunk-DLVHJFXI.js";
27
32
  import {
28
33
  HeadlessScreen
29
34
  } from "./chunk-GWGIAZLZ.js";
30
35
  import "./chunk-6HTC5TQ3.js";
31
- import {
32
- launchRefusal
33
- } from "./chunk-HDBTTV2S.js";
34
36
  import {
35
37
  cliPalComputerStatus,
36
38
  cliPalScreen,
@@ -43,24 +45,23 @@ import {
43
45
  startCliPalComputer,
44
46
  stopCliPalComputer,
45
47
  takeOverCliPalComputer
46
- } from "./chunk-WD45OZPT.js";
48
+ } from "./chunk-ALXE3SUZ.js";
47
49
  import {
48
50
  palSessionEnvironment
49
- } from "./chunk-WCMXLFUB.js";
51
+ } from "./chunk-5U42MB6F.js";
50
52
  import {
51
53
  cliPalActivitySubscriptionPolicy,
52
54
  cliPalActivitySubscriptionStore,
53
55
  cliPalCommunicationPolicy,
54
56
  cliPalCommunicationStore
55
- } from "./chunk-UNQYPFDZ.js";
57
+ } from "./chunk-E5OETSRN.js";
56
58
  import {
57
59
  claimPalConversation,
58
60
  listPalConversations,
59
61
  palConversationBinding
60
- } from "./chunk-DWFJETFP.js";
62
+ } from "./chunk-OL5SKFPM.js";
61
63
  import {
62
64
  FileCheckpointStore,
63
- PluginSettingsStore,
64
65
  createAgentSession,
65
66
  describeProviderModels,
66
67
  describeProviderReasoning,
@@ -69,34 +70,38 @@ import {
69
70
  sessionLogCheckpointView,
70
71
  validateComposerSendSettings,
71
72
  verifyCredential
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";
73
+ } from "./chunk-NY3I4WL7.js";
74
+ import "./chunk-3D52GNVJ.js";
75
+ import "./chunk-KZHMLRKY.js";
76
+ import "./chunk-T5X3GYBF.js";
77
+ import {
78
+ PluginSettingsStore
79
+ } from "./chunk-3YM3IWPW.js";
80
+ import "./chunk-U7AQ4OQJ.js";
81
+ import "./chunk-KJVRHBMX.js";
82
+ import "./chunk-BBTPD3DU.js";
83
+ import "./chunk-45Z4OPC6.js";
84
+ import "./chunk-SR75L2R5.js";
82
85
  import "./chunk-WHODOMXA.js";
83
- import "./chunk-V4WSIY32.js";
86
+ import "./chunk-TTXZK3BR.js";
87
+ import "./chunk-OMP25UWR.js";
88
+ import "./chunk-56ZS6OTK.js";
89
+ import "./chunk-6I4V7I5M.js";
84
90
  import "./chunk-YOWYTBJS.js";
85
91
  import "./chunk-2IPDTDB3.js";
86
- import "./chunk-Y5D6542Z.js";
87
92
  import "./chunk-I4GTRFPK.js";
88
- import "./chunk-MOGE5ZMI.js";
93
+ import "./chunk-NAWIOVUH.js";
89
94
  import "./chunk-ZWA2JRJV.js";
90
95
  import "./chunk-NUGPLXVK.js";
91
- import "./chunk-JABCT4RQ.js";
96
+ import "./chunk-OEKCCZ7I.js";
92
97
  import {
93
98
  listProviderConnections,
94
99
  removeProviderKey,
95
100
  saveProviderKey,
96
101
  typedKeyProvider
97
- } from "./chunk-VLE4DKQR.js";
98
- import "./chunk-PV4TEEGI.js";
99
- import "./chunk-JEEF7UIH.js";
102
+ } from "./chunk-P53E77KS.js";
103
+ import "./chunk-PI6KC5CD.js";
104
+ import "./chunk-FLPT7I7I.js";
100
105
  import {
101
106
  archiveConversation,
102
107
  closeSessions,
@@ -116,8 +121,8 @@ import {
116
121
  setTitle,
117
122
  storedAssistantPhase,
118
123
  unarchiveConversation
119
- } from "./chunk-RTFC2VXR.js";
120
- import "./chunk-C5P7OAML.js";
124
+ } from "./chunk-XPCRLKFO.js";
125
+ import "./chunk-VQHVH7X2.js";
121
126
  import {
122
127
  cliProjectRoot
123
128
  } from "./chunk-JQIBPPOL.js";
@@ -130,26 +135,28 @@ import {
130
135
  listPals,
131
136
  palAtWorkspace,
132
137
  updatePal
133
- } from "./chunk-HXWIEKOB.js";
138
+ } from "./chunk-5TPQGNYN.js";
134
139
  import {
135
140
  isTrusted,
136
141
  isTrustedAtStateRoot,
137
142
  trustDir,
138
143
  untrustDir
139
- } from "./chunk-ONVXBWB5.js";
140
- import "./chunk-HAIXGRRS.js";
144
+ } from "./chunk-XFMGW2C5.js";
145
+ import "./chunk-BC3IZXTY.js";
141
146
  import {
142
147
  flushCompileCacheWhenIdle
143
148
  } from "./chunk-SOIP273Z.js";
149
+ import {
150
+ DESKTOP_CONTRACT
151
+ } from "./chunk-KD6WL3W7.js";
144
152
  import {
145
153
  resolveTrustedProjectContext
146
154
  } from "./chunk-CHIEVVQ2.js";
147
155
  import {
148
156
  CLI_VERSION
149
157
  } from "./chunk-HE7WUOX2.js";
158
+ import "./chunk-5YMIK3VP.js";
150
159
  import "./chunk-GNBMKISG.js";
151
- import "./chunk-LMLCGIQR.js";
152
- import "./chunk-OH6TB27S.js";
153
160
  import {
154
161
  ConfigValueError,
155
162
  approveShownMcpServers,
@@ -157,24 +164,25 @@ import {
157
164
  loadConfig,
158
165
  pendingProjectMcpServers,
159
166
  readConfigKey
160
- } from "./chunk-CDDXHKSP.js";
161
- import {
162
- require_dist
163
- } from "./chunk-KONYGNG6.js";
164
- import "./chunk-LCGXWCVU.js";
167
+ } from "./chunk-X3L6N5RM.js";
165
168
  import {
166
169
  compilePermissionLayers,
167
170
  permissionLayersOf,
168
171
  warnLegacyMcpPermissionNames
169
- } from "./chunk-4HGQJYDZ.js";
172
+ } from "./chunk-ANVIYMV6.js";
173
+ import "./chunk-LCGXWCVU.js";
170
174
  import {
171
175
  cliLogger
172
- } from "./chunk-MEZUNP2E.js";
176
+ } from "./chunk-XYT53O3Z.js";
173
177
  import "./chunk-SIG7WHBU.js";
174
178
  import "./chunk-LVVD32KJ.js";
179
+ import "./chunk-OH6TB27S.js";
180
+ import {
181
+ require_dist
182
+ } from "./chunk-KONYGNG6.js";
183
+ import "./chunk-WMEZTDLT.js";
175
184
  import "./chunk-6PWRKA5T.js";
176
185
  import "./chunk-QLDUL46Z.js";
177
- import "./chunk-WMEZTDLT.js";
178
186
  import "./chunk-U5UV2YRE.js";
179
187
  import {
180
188
  TERMINAL_MARKER,
@@ -186,28 +194,28 @@ import {
186
194
  loadHostPty,
187
195
  processesCarrying,
188
196
  quietConptyHelper
189
- } from "./chunk-HARFWJBQ.js";
190
- import "./chunk-QY4UUQQT.js";
197
+ } from "./chunk-WJ4YRFPQ.js";
198
+ import "./chunk-FMAUDMYL.js";
191
199
  import {
192
200
  automaticKind,
193
201
  canSelectModel,
194
202
  discoverProviders,
195
203
  isAnonymousZen
196
- } from "./chunk-R6ZDPAEV.js";
204
+ } from "./chunk-6MI4Q5QQ.js";
197
205
  import {
198
206
  isOfferableModel
199
207
  } from "./chunk-4QIWRKJO.js";
200
208
  import "./chunk-G6YSAHKC.js";
201
209
  import "./chunk-KTPFUCRU.js";
202
210
  import "./chunk-RI2KAZJO.js";
203
- import "./chunk-TQG7WZI5.js";
204
- import "./chunk-O62YM5KA.js";
205
- import "./chunk-O53H43CX.js";
211
+ import "./chunk-FSS72QJP.js";
212
+ import "./chunk-Q5DW33F4.js";
213
+ import "./chunk-M44I7P3H.js";
206
214
  import {
207
215
  canonicalProjectPath
208
216
  } from "./chunk-JORONMD3.js";
209
- import "./chunk-D3ITBQ7T.js";
210
- import "./chunk-ZNC5BEFK.js";
217
+ import "./chunk-LGH2T6KL.js";
218
+ import "./chunk-NGE7TNCY.js";
211
219
  import {
212
220
  ACPServer,
213
221
  DiskLogMedium,
@@ -245,7 +253,7 @@ import {
245
253
  resolveWithinReal,
246
254
  selectAssistantText,
247
255
  turnHolder
248
- } from "./chunk-VVMRXGQ6.js";
256
+ } from "./chunk-HQ4WFN7B.js";
249
257
  import {
250
258
  __name,
251
259
  __toESM
@@ -4732,6 +4740,22 @@ var SETTING_DESCRIPTORS = [
4732
4740
  pick("unrestricted", "small", "medium", "large"),
4733
4741
  { defaultText: "medium" }
4734
4742
  ),
4743
+ d(
4744
+ "goal.confirmedBy",
4745
+ "agent",
4746
+ "What ends a goal",
4747
+ "model: the model saying it is done ends a goal. record: Namzu reads the record of the work first, and a goal ends as confirmed, stated and not checked, or not confirmed.",
4748
+ pick("model", "record"),
4749
+ { defaultText: "model (intended to become record in a later major release)" }
4750
+ ),
4751
+ d(
4752
+ "handBack.enabled",
4753
+ "agent",
4754
+ "Let the model hand a task back",
4755
+ "The model may stop and hand the task back to a person when it cannot be done as specified, instead of forcing a result. Adds one tool and a short paragraph to the prompt.",
4756
+ on,
4757
+ { defaultText: "off" }
4758
+ ),
4735
4759
  d(
4736
4760
  "toolResultScreens",
4737
4761
  "agent",
@@ -9052,6 +9076,28 @@ async function closeAcpResources(runtime, closePals = closeCliPalRuntime) {
9052
9076
  if (failures.length) throw new AggregateError(failures, "ACP cleanup failed.");
9053
9077
  }
9054
9078
  __name(closeAcpResources, "closeAcpResources");
9079
+ function acpKernelFacts(desktop) {
9080
+ return {
9081
+ commandLine: readPackageVersion(),
9082
+ ...desktop ? { desktopContract: DESKTOP_CONTRACT } : {}
9083
+ };
9084
+ }
9085
+ __name(acpKernelFacts, "acpKernelFacts");
9086
+ function desktopServerExtensions(runtime, cwd, server, palInboxStart, terminals) {
9087
+ return {
9088
+ ...createDesktopHostExtensions(
9089
+ runtime,
9090
+ cwd,
9091
+ (id2) => server.getSessionCwd(id2),
9092
+ (id2, turnId, checkpointId, options) => server.retrySession(id2, turnId, checkpointId, options),
9093
+ void 0,
9094
+ void 0,
9095
+ palInboxStart
9096
+ ),
9097
+ ...terminals?.extensions
9098
+ };
9099
+ }
9100
+ __name(desktopServerExtensions, "desktopServerExtensions");
9055
9101
  async function runAcpCommand(ctx, desktop = false) {
9056
9102
  const transport = new ServerStdioTransport();
9057
9103
  let announcingUsage = true;
@@ -9098,19 +9144,19 @@ async function runAcpCommand(ctx, desktop = false) {
9098
9144
  commands: new HostCommandRegistry(),
9099
9145
  presenter: runtime.presenter,
9100
9146
  agentInfo: { name: "namzu", version: readPackageVersion() },
9147
+ // The two facts this application adds to what the engine says about itself.
9148
+ kernelFacts: acpKernelFacts(desktop),
9101
9149
  ...desktop ? {
9102
- extensions: {
9103
- ...createDesktopHostExtensions(
9104
- runtime,
9105
- process.cwd(),
9106
- (id2) => server.getSessionCwd(id2),
9107
- (id2, turnId, checkpointId, options) => server.retrySession(id2, turnId, checkpointId, options),
9108
- void 0,
9109
- void 0,
9110
- palInboxStart
9111
- ),
9112
- ...terminals?.extensions
9113
- }
9150
+ extensions: desktopServerExtensions(
9151
+ runtime,
9152
+ process.cwd(),
9153
+ {
9154
+ getSessionCwd: /* @__PURE__ */ __name((id2) => server.getSessionCwd(id2), "getSessionCwd"),
9155
+ retrySession: /* @__PURE__ */ __name((id2, turnId, checkpointId, options) => server.retrySession(id2, turnId, checkpointId, options), "retrySession")
9156
+ },
9157
+ palInboxStart,
9158
+ terminals
9159
+ )
9114
9160
  } : {}
9115
9161
  });
9116
9162
  await server.start();
@@ -9144,22 +9190,29 @@ async function runAcpCommand(ctx, desktop = false) {
9144
9190
  return 0;
9145
9191
  }
9146
9192
  __name(runAcpCommand, "runAcpCommand");
9193
+ function parseAcpArgs(rawArgs) {
9194
+ if (rawArgs.some((arg) => arg !== "--desktop"))
9195
+ throw new Error("Unknown ACP argument. Use namzu acp --help.");
9196
+ return { desktop: rawArgs.includes("--desktop") };
9197
+ }
9198
+ __name(parseAcpArgs, "parseAcpArgs");
9147
9199
  var acpCommand = {
9148
9200
  name: "acp",
9149
9201
  description: "Speak the agent-client protocol over this process\u2019s stdio",
9150
9202
  passThrough: true,
9151
9203
  help: "Usage: namzu acp [--desktop]\nSpeak ACP over stdio. --desktop enables scoped operator methods for the Namzu desktop application.",
9152
9204
  handler: /* @__PURE__ */ __name(async ({ ctx, rawArgs }) => {
9153
- if (rawArgs.some((arg) => arg !== "--desktop"))
9154
- throw new Error("Unknown ACP argument. Use namzu acp --help.");
9155
- return runAcpCommand(ctx, rawArgs.includes("--desktop"));
9205
+ return runAcpCommand(ctx, parseAcpArgs(rawArgs).desktop);
9156
9206
  }, "handler")
9157
9207
  };
9158
9208
  export {
9159
9209
  acpCommand,
9210
+ acpKernelFacts,
9160
9211
  closeAcpResources,
9161
9212
  createCliAcpRuntime,
9213
+ desktopServerExtensions,
9214
+ parseAcpArgs,
9162
9215
  resolveAcpSession,
9163
9216
  runAcpCommand
9164
9217
  };
9165
- //# sourceMappingURL=acp-OKCSCFH2.js.map
9218
+ //# sourceMappingURL=acp-HCVLUS7I.js.map