@namzu/cli 50.3.0 → 51.0.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 (321) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-2T35QG5N.js → acp-I75ITR7W.js} +50 -50
  4. package/dist/chunks/{acp-2T35QG5N.js.map → acp-I75ITR7W.js.map} +1 -1
  5. package/dist/chunks/{activity-command-I3AIOI7D.js → activity-command-6RM3I3CG.js} +12 -12
  6. package/dist/chunks/{add-UGB46RWA.js → add-X25CBZQM.js} +19 -19
  7. package/dist/chunks/{agent-2667K2DP.js → agent-TIXCYM5Q.js} +40 -36
  8. package/dist/chunks/agent-session-YXYFEYXB.js +69 -0
  9. package/dist/chunks/{archive-3AAGSJMI.js → archive-UFBZQWFO.js} +11 -11
  10. package/dist/chunks/{bin-main-N76J3LXV.js → bin-main-5E4PLOSV.js} +7 -7
  11. package/dist/chunks/{binding-YGRSM4NK.js → binding-EGKCFUJN.js} +3 -3
  12. package/dist/chunks/{browser-55KWOLRE.js → browser-WSEOMG6B.js} +6 -6
  13. package/dist/chunks/{chat-2JCXYCK4.js → chat-XGURQIQN.js} +15 -15
  14. package/dist/chunks/{chunk-SDK374XH.js → chunk-2H2TQCA5.js} +3 -3
  15. package/dist/chunks/{chunk-RC3A3XQL.js → chunk-2MAMU7AX.js} +2 -2
  16. package/dist/chunks/{chunk-PMUGOF5V.js → chunk-2UELHX7A.js} +2 -2
  17. package/dist/chunks/{chunk-BKAGWRB7.js → chunk-354BWCU6.js} +2 -2
  18. package/dist/chunks/{chunk-2ADHYVB2.js → chunk-3I4UQCJZ.js} +2 -2
  19. package/dist/chunks/{chunk-MZI3ULZR.js → chunk-45LQJKMG.js} +4 -4
  20. package/dist/chunks/{chunk-P2CH7AHO.js → chunk-4JTXA7EU.js} +3 -3
  21. package/dist/chunks/{chunk-CKQSYJLF.js → chunk-4SQVWV4B.js} +5 -5
  22. package/dist/chunks/{chunk-DBPV2NYH.js → chunk-4ZWZ3UZ2.js} +2 -2
  23. package/dist/chunks/{chunk-KONJIEUP.js → chunk-55KDC7DM.js} +2 -2
  24. package/dist/chunks/{chunk-BFK5ZLTI.js → chunk-55LA4ARF.js} +3 -3
  25. package/dist/chunks/{chunk-H7GNPOE4.js → chunk-5FZDDFXS.js} +2 -2
  26. package/dist/chunks/{chunk-GMCZYW6K.js → chunk-5GWSNJUP.js} +5 -5
  27. package/dist/chunks/{chunk-IO6AH6S6.js → chunk-5JPQVU57.js} +2 -2
  28. package/dist/chunks/{chunk-HOBBN5HG.js → chunk-5MD7FSR4.js} +2 -2
  29. package/dist/chunks/{chunk-HHZYPDYM.js → chunk-6I7YVWWO.js} +4 -4
  30. package/dist/chunks/{chunk-W4BOQPYP.js → chunk-APKI7B7W.js} +304 -37
  31. package/dist/chunks/chunk-APKI7B7W.js.map +6 -0
  32. package/dist/chunks/{chunk-35KJUUIZ.js → chunk-B3XETKYI.js} +2 -2
  33. package/dist/chunks/{chunk-7HYNH2U5.js → chunk-B5AIMVRI.js} +2 -2
  34. package/dist/chunks/{chunk-2VKT4OPG.js → chunk-BMIFPELO.js} +6 -6
  35. package/dist/chunks/{chunk-2T3C6WAE.js → chunk-BMYWEYPI.js} +3 -3
  36. package/dist/chunks/{chunk-WHZO5JAN.js → chunk-BNEGQX4Q.js} +34 -34
  37. package/dist/chunks/{chunk-LJFJLXD5.js → chunk-C4YEWOFD.js} +4 -4
  38. package/dist/chunks/{chunk-M3BND4IS.js → chunk-DQW7UPXP.js} +2 -2
  39. package/dist/chunks/{chunk-V6W5ILRM.js → chunk-EBES22ZB.js} +20 -13
  40. package/dist/chunks/chunk-EBES22ZB.js.map +6 -0
  41. package/dist/chunks/{chunk-YEDLKZJU.js → chunk-ECYKNBHN.js} +10 -10
  42. package/dist/chunks/{chunk-GNBTKM54.js → chunk-EPKNYAR5.js} +2 -2
  43. package/dist/chunks/{chunk-LYTJJ2LG.js → chunk-EUMXN6FC.js} +4 -4
  44. package/dist/chunks/{chunk-7OYYEJXX.js → chunk-GBIYC3OF.js} +2 -2
  45. package/dist/chunks/{chunk-ZVAXTBZ4.js → chunk-GFFWXLQI.js} +13 -13
  46. package/dist/chunks/{chunk-UU6Z4RNI.js → chunk-GMAPTJ3G.js} +2 -2
  47. package/dist/chunks/{chunk-UGECQ2K7.js → chunk-GTFK7PLC.js} +4 -4
  48. package/dist/chunks/{chunk-JZVNLDXW.js → chunk-GVXKT3BV.js} +4 -4
  49. package/dist/chunks/{chunk-FPW3QSQD.js → chunk-I3DHWG5M.js} +3 -3
  50. package/dist/chunks/{chunk-IYUW2RAA.js → chunk-I4GTRFPK.js} +18 -2
  51. package/dist/chunks/{chunk-IYUW2RAA.js.map → chunk-I4GTRFPK.js.map} +1 -1
  52. package/dist/chunks/{chunk-QHNAT275.js → chunk-I6WKUIVX.js} +3 -3
  53. package/dist/chunks/{chunk-ULRP7FUP.js → chunk-J6EAQ4XD.js} +2 -2
  54. package/dist/chunks/{chunk-K6CL6T23.js → chunk-JQO2LGPA.js} +4 -4
  55. package/dist/chunks/{chunk-TPYEIOFB.js → chunk-KZTKHIP5.js} +2 -2
  56. package/dist/chunks/{chunk-RVWRZVRT.js → chunk-LM3JEI5Z.js} +2 -2
  57. package/dist/chunks/{chunk-3L7O76A5.js → chunk-LNVTSRF3.js} +4 -4
  58. package/dist/chunks/{chunk-HM3XROXV.js → chunk-LS2USKSX.js} +5 -5
  59. package/dist/chunks/{chunk-VZD5OAVF.js → chunk-MNMG5JGZ.js} +4 -4
  60. package/dist/chunks/{chunk-IDHX5QU5.js → chunk-MPHLRHG6.js} +2 -2
  61. package/dist/chunks/{chunk-CI2P6MWQ.js → chunk-NEMRZKU7.js} +2 -2
  62. package/dist/chunks/{chunk-MT2KWIQD.js → chunk-NGHCVY4T.js} +2 -2
  63. package/dist/chunks/{chunk-JXIZ23M4.js → chunk-NSIV6WEI.js} +2 -2
  64. package/dist/chunks/{chunk-RSMLOV7S.js → chunk-NYYG7HAY.js} +12 -12
  65. package/dist/chunks/{chunk-WBDMD7WY.js → chunk-O53XPCC5.js} +2 -2
  66. package/dist/chunks/{chunk-WBWDM4FM.js → chunk-OQCZ27OE.js} +2 -2
  67. package/dist/chunks/{chunk-7DCFWJDK.js → chunk-OY7K65K6.js} +9 -9
  68. package/dist/chunks/{chunk-QUADPKLH.js → chunk-PD2MTV6U.js} +4 -4
  69. package/dist/chunks/{chunk-AXB6T7KH.js → chunk-POGVGWKL.js} +6 -6
  70. package/dist/chunks/{chunk-TKXFM6UF.js → chunk-PYYCH65R.js} +13 -13
  71. package/dist/chunks/{chunk-TCOZSNNY.js → chunk-QZRV5EOA.js} +4 -4
  72. package/dist/chunks/{chunk-MVCDUAE3.js → chunk-R2K5AFBF.js} +3 -3
  73. package/dist/chunks/{chunk-KRGFQLGY.js → chunk-RWMWDV5U.js} +3 -3
  74. package/dist/chunks/{chunk-QAQBDQOO.js → chunk-SDIFKDGI.js} +3 -3
  75. package/dist/chunks/{chunk-7JPWIMTU.js → chunk-TC3E4SKI.js} +2 -2
  76. package/dist/chunks/{chunk-H734PAIA.js → chunk-TH3PVZT3.js} +2 -2
  77. package/dist/chunks/{chunk-VXZ4I76G.js → chunk-TUBA7HB2.js} +2 -2
  78. package/dist/chunks/{chunk-PP5FDOXX.js → chunk-TUNKUMWI.js} +3 -3
  79. package/dist/chunks/{chunk-5ISSWZYV.js → chunk-TW56AJLJ.js} +7 -7
  80. package/dist/chunks/{chunk-UDA4YOUW.js → chunk-UUZM4M2L.js} +150 -43
  81. package/dist/chunks/chunk-UUZM4M2L.js.map +6 -0
  82. package/dist/chunks/{chunk-G3R4GLH5.js → chunk-V6H2W6TZ.js} +3 -3
  83. package/dist/chunks/{chunk-L37OHUPQ.js → chunk-VIV4OF3E.js} +4 -4
  84. package/dist/chunks/{chunk-ENQ34C3Q.js → chunk-VRFKZSBH.js} +3 -3
  85. package/dist/chunks/{chunk-KUPDSMDC.js → chunk-W2PMDZWZ.js} +2 -2
  86. package/dist/chunks/{chunk-SWEP7MWK.js → chunk-W3M6GZTY.js} +3 -3
  87. package/dist/chunks/{chunk-I7DZMDL4.js → chunk-W7NCIPEV.js} +3 -3
  88. package/dist/chunks/{chunk-QKRGJPU6.js → chunk-WBCYE4JI.js} +2 -2
  89. package/dist/chunks/{chunk-S5HIHXZO.js → chunk-WQ2S6BUX.js} +3 -3
  90. package/dist/chunks/{chunk-2WSCH27F.js → chunk-WYGUFPCK.js} +9 -9
  91. package/dist/chunks/{chunk-KCRRCSBK.js → chunk-XBZJBXQY.js} +3 -3
  92. package/dist/chunks/{chunk-IWBRKHR3.js → chunk-Y36X5RRN.js} +3 -3
  93. package/dist/chunks/{chunk-QFECRPMQ.js → chunk-YICIG5QP.js} +4 -4
  94. package/dist/chunks/{chunk-4XONZ3IH.js → chunk-ZSNNS2V6.js} +3 -3
  95. package/dist/chunks/{chunk-JNPUGWLC.js → chunk-ZUDMNBWB.js} +6 -6
  96. package/dist/chunks/{chunk-B72UXUIV.js → chunk-ZXYCWNKE.js} +9 -9
  97. package/dist/chunks/{cli-runtime-WBHLU5Z2.js → cli-runtime-6YUL7KO4.js} +14 -14
  98. package/dist/chunks/{commands-Q5YVFT5H.js → commands-INKRVLL2.js} +5 -5
  99. package/dist/chunks/{crash-report-7B6INW5Z.js → crash-report-W2LEW2CB.js} +7 -7
  100. package/dist/chunks/{dist-CX6YZPQP.js → dist-2WHW47YN.js} +2 -2
  101. package/dist/chunks/{dist-XF4ALE5R.js → dist-32QKP26R.js} +2 -2
  102. package/dist/chunks/{dist-64A6FTG4.js → dist-CNCFMP4G.js} +2 -2
  103. package/dist/chunks/{dist-55O7DGZC.js → dist-G66KFB6L.js} +2 -2
  104. package/dist/chunks/{dist-DM56OGFI.js → dist-KNDQQ7NJ.js} +2 -2
  105. package/dist/chunks/{dist-JFEBD4RQ.js → dist-MSXSGG4O.js} +2 -2
  106. package/dist/chunks/{dist-JTKWJRF3.js → dist-UH4FMDFC.js} +2 -2
  107. package/dist/chunks/{dist-JXBZJMCJ.js → dist-YKMXFMEH.js} +2 -2
  108. package/dist/chunks/{doctor-J74VP3YF.js → doctor-GUQ55L7P.js} +16 -16
  109. package/dist/chunks/{drain-43YQMN3N.js → drain-W354CYLH.js} +9 -9
  110. package/dist/chunks/{entry-EBSTYPZD.js → entry-A6OLKTK4.js} +6 -6
  111. package/dist/chunks/{eval-6FWPUHTJ.js → eval-4WUEX4J2.js} +2 -2
  112. package/dist/chunks/{exec-3OL72UXM.js → exec-2GC33AL4.js} +37 -37
  113. package/dist/chunks/{github-VS24TC5M.js → github-VCUDZDGI.js} +2 -2
  114. package/dist/chunks/{home-S7VBBT2P.js → home-T4OIF6S7.js} +3 -3
  115. package/dist/chunks/{host-F6WQBUBZ.js → host-AVAUHFYK.js} +10 -10
  116. package/dist/chunks/{host-queries-PXLHY5OD.js → host-queries-DOTBOTRM.js} +15 -15
  117. package/dist/chunks/{learn-NNNC4PEC.js → learn-YMOECXWO.js} +11 -11
  118. package/dist/chunks/{learn-builtin-BDKIORNW.js → learn-builtin-BF6BC7VT.js} +14 -14
  119. package/dist/chunks/{lifecycle-6UXAIU2W.js → lifecycle-SCXNENNO.js} +29 -29
  120. package/dist/chunks/{list-RAVXA62R.js → list-A2TVECA4.js} +12 -12
  121. package/dist/chunks/{live-R457RDVD.js → live-GIKIVP5N.js} +15 -15
  122. package/dist/chunks/{login-XFL5R3F3.js → login-COY7ZU76.js} +13 -13
  123. package/dist/chunks/{logs-FHXX2ZYY.js → logs-HN5ED3XC.js} +4 -4
  124. package/dist/chunks/{mcp-GJYWIZDK.js → mcp-KMFXTAEG.js} +22 -22
  125. package/dist/chunks/{message-command-HLV22I75.js → message-command-XJCX6GEH.js} +42 -42
  126. package/dist/chunks/{open-52RISMYT.js → open-7CKFU4GZ.js} +8 -8
  127. package/dist/chunks/{operator-tools-KRVBU5DK.js → operator-tools-SBSUWAPM.js} +13 -13
  128. package/dist/chunks/{output-schema-TN574F4W.js → output-schema-OF7MU44K.js} +3 -3
  129. package/dist/chunks/{pal-F6UND6OQ.js → pal-ANABYPQI.js} +16 -16
  130. package/dist/chunks/{peers-VBFD7USO.js → peers-45ERDPKF.js} +6 -6
  131. package/dist/chunks/{peers-TJCZBKJN.js → peers-MQMTWBNF.js} +8 -8
  132. package/dist/chunks/{providers-WZ5ZDUB3.js → providers-U2VOQPIQ.js} +11 -11
  133. package/dist/chunks/{pty-KWFUBODN.js → pty-O3JUR6E6.js} +3 -3
  134. package/dist/chunks/resume-SAA3MLKU.js +23 -0
  135. package/dist/chunks/{resume-command-RVILL4QU.js → resume-command-CTK2KZBA.js} +5 -5
  136. package/dist/chunks/{schedule-3QGQRJB7.js → schedule-QPTZKLTX.js} +8 -8
  137. package/dist/chunks/{service-MI36D5ZK.js → service-HV3GCDHA.js} +29 -29
  138. package/dist/chunks/{skills-W5AH33BU.js → skills-2AT7ET7J.js} +9 -9
  139. package/dist/chunks/{start-check-567HOC4A.js → start-check-KLNGOTCH.js} +2 -2
  140. package/dist/chunks/{startup-failure-AXFS5D3F.js → startup-failure-LONKNDPE.js} +2 -2
  141. package/dist/chunks/{state-NYIQ2RRT.js → state-NH64B6V6.js} +3 -3
  142. package/dist/chunks/{store-LWOLZU4Z.js → store-3UO335CU.js} +6 -6
  143. package/dist/chunks/{store-LNGCY3CJ.js → store-FQVXZJIN.js} +3 -3
  144. package/dist/chunks/{store-BEOWOJIT.js → store-UK2654YC.js} +4 -4
  145. package/dist/chunks/{store-JUC4TU6P.js → store-XEDK3ESU.js} +10 -10
  146. package/dist/chunks/{tui-W7I4CLSF.js → tui-2PVEZMXJ.js} +288 -153
  147. package/dist/chunks/tui-2PVEZMXJ.js.map +6 -0
  148. package/dist/chunks/{upgrade-APJTDSEG.js → upgrade-ERUCYWMK.js} +7 -7
  149. package/dist/chunks/{workspaces-F6RNJXKR.js → workspaces-YIBJSUGI.js} +16 -16
  150. package/dist/chunks/{worktree-LE5FPYCK.js → worktree-4K2Y37SY.js} +13 -13
  151. package/dist/config/schema.d.ts +3 -2
  152. package/dist/config/schema.d.ts.map +1 -1
  153. package/dist/index.js +19 -19
  154. package/dist/integrations/decision/setup.d.ts +4 -1
  155. package/dist/integrations/decision/setup.d.ts.map +1 -1
  156. package/dist/integrations/workflows/host.d.ts.map +1 -1
  157. package/dist/integrations/workflows/offering.d.ts.map +1 -1
  158. package/dist/integrations/workflows/size.d.ts +21 -7
  159. package/dist/integrations/workflows/size.d.ts.map +1 -1
  160. package/dist/tui/AgentExplorer.d.ts +59 -8
  161. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  162. package/dist/tui/App.d.ts +3 -0
  163. package/dist/tui/App.d.ts.map +1 -1
  164. package/dist/tui/PermissionOverlay.d.ts +15 -0
  165. package/dist/tui/PermissionOverlay.d.ts.map +1 -1
  166. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  167. package/dist/tui/agent.d.ts +21 -1
  168. package/dist/tui/agent.d.ts.map +1 -1
  169. package/dist/tui/permission-review.d.ts +22 -0
  170. package/dist/tui/permission-review.d.ts.map +1 -1
  171. package/dist/tui/terminal-display.d.ts +19 -0
  172. package/dist/tui/terminal-display.d.ts.map +1 -1
  173. package/package.json +8 -8
  174. package/skills/README.md +4 -0
  175. package/skills/browser-automation/SKILL.md +1 -1
  176. package/skills/review-changes/SKILL.md +63 -0
  177. package/skills/schedule-task/SKILL.md +1 -1
  178. package/skills/skill-creator/SKILL.md +1 -1
  179. package/skills/verify-change/SKILL.md +63 -0
  180. package/dist/chunks/agent-session-5KMMWJTY.js +0 -69
  181. package/dist/chunks/chunk-UDA4YOUW.js.map +0 -6
  182. package/dist/chunks/chunk-V6W5ILRM.js.map +0 -6
  183. package/dist/chunks/chunk-W4BOQPYP.js.map +0 -6
  184. package/dist/chunks/resume-FVNBMR6D.js +0 -23
  185. package/dist/chunks/tui-W7I4CLSF.js.map +0 -6
  186. /package/dist/chunks/{activity-command-I3AIOI7D.js.map → activity-command-6RM3I3CG.js.map} +0 -0
  187. /package/dist/chunks/{add-UGB46RWA.js.map → add-X25CBZQM.js.map} +0 -0
  188. /package/dist/chunks/{agent-2667K2DP.js.map → agent-TIXCYM5Q.js.map} +0 -0
  189. /package/dist/chunks/{agent-session-5KMMWJTY.js.map → agent-session-YXYFEYXB.js.map} +0 -0
  190. /package/dist/chunks/{archive-3AAGSJMI.js.map → archive-UFBZQWFO.js.map} +0 -0
  191. /package/dist/chunks/{bin-main-N76J3LXV.js.map → bin-main-5E4PLOSV.js.map} +0 -0
  192. /package/dist/chunks/{binding-YGRSM4NK.js.map → binding-EGKCFUJN.js.map} +0 -0
  193. /package/dist/chunks/{browser-55KWOLRE.js.map → browser-WSEOMG6B.js.map} +0 -0
  194. /package/dist/chunks/{chat-2JCXYCK4.js.map → chat-XGURQIQN.js.map} +0 -0
  195. /package/dist/chunks/{chunk-SDK374XH.js.map → chunk-2H2TQCA5.js.map} +0 -0
  196. /package/dist/chunks/{chunk-RC3A3XQL.js.map → chunk-2MAMU7AX.js.map} +0 -0
  197. /package/dist/chunks/{chunk-PMUGOF5V.js.map → chunk-2UELHX7A.js.map} +0 -0
  198. /package/dist/chunks/{chunk-BKAGWRB7.js.map → chunk-354BWCU6.js.map} +0 -0
  199. /package/dist/chunks/{chunk-2ADHYVB2.js.map → chunk-3I4UQCJZ.js.map} +0 -0
  200. /package/dist/chunks/{chunk-MZI3ULZR.js.map → chunk-45LQJKMG.js.map} +0 -0
  201. /package/dist/chunks/{chunk-P2CH7AHO.js.map → chunk-4JTXA7EU.js.map} +0 -0
  202. /package/dist/chunks/{chunk-CKQSYJLF.js.map → chunk-4SQVWV4B.js.map} +0 -0
  203. /package/dist/chunks/{chunk-DBPV2NYH.js.map → chunk-4ZWZ3UZ2.js.map} +0 -0
  204. /package/dist/chunks/{chunk-KONJIEUP.js.map → chunk-55KDC7DM.js.map} +0 -0
  205. /package/dist/chunks/{chunk-BFK5ZLTI.js.map → chunk-55LA4ARF.js.map} +0 -0
  206. /package/dist/chunks/{chunk-H7GNPOE4.js.map → chunk-5FZDDFXS.js.map} +0 -0
  207. /package/dist/chunks/{chunk-GMCZYW6K.js.map → chunk-5GWSNJUP.js.map} +0 -0
  208. /package/dist/chunks/{chunk-IO6AH6S6.js.map → chunk-5JPQVU57.js.map} +0 -0
  209. /package/dist/chunks/{chunk-HOBBN5HG.js.map → chunk-5MD7FSR4.js.map} +0 -0
  210. /package/dist/chunks/{chunk-HHZYPDYM.js.map → chunk-6I7YVWWO.js.map} +0 -0
  211. /package/dist/chunks/{chunk-35KJUUIZ.js.map → chunk-B3XETKYI.js.map} +0 -0
  212. /package/dist/chunks/{chunk-7HYNH2U5.js.map → chunk-B5AIMVRI.js.map} +0 -0
  213. /package/dist/chunks/{chunk-2VKT4OPG.js.map → chunk-BMIFPELO.js.map} +0 -0
  214. /package/dist/chunks/{chunk-2T3C6WAE.js.map → chunk-BMYWEYPI.js.map} +0 -0
  215. /package/dist/chunks/{chunk-WHZO5JAN.js.map → chunk-BNEGQX4Q.js.map} +0 -0
  216. /package/dist/chunks/{chunk-LJFJLXD5.js.map → chunk-C4YEWOFD.js.map} +0 -0
  217. /package/dist/chunks/{chunk-M3BND4IS.js.map → chunk-DQW7UPXP.js.map} +0 -0
  218. /package/dist/chunks/{chunk-YEDLKZJU.js.map → chunk-ECYKNBHN.js.map} +0 -0
  219. /package/dist/chunks/{chunk-GNBTKM54.js.map → chunk-EPKNYAR5.js.map} +0 -0
  220. /package/dist/chunks/{chunk-LYTJJ2LG.js.map → chunk-EUMXN6FC.js.map} +0 -0
  221. /package/dist/chunks/{chunk-7OYYEJXX.js.map → chunk-GBIYC3OF.js.map} +0 -0
  222. /package/dist/chunks/{chunk-ZVAXTBZ4.js.map → chunk-GFFWXLQI.js.map} +0 -0
  223. /package/dist/chunks/{chunk-UU6Z4RNI.js.map → chunk-GMAPTJ3G.js.map} +0 -0
  224. /package/dist/chunks/{chunk-UGECQ2K7.js.map → chunk-GTFK7PLC.js.map} +0 -0
  225. /package/dist/chunks/{chunk-JZVNLDXW.js.map → chunk-GVXKT3BV.js.map} +0 -0
  226. /package/dist/chunks/{chunk-FPW3QSQD.js.map → chunk-I3DHWG5M.js.map} +0 -0
  227. /package/dist/chunks/{chunk-QHNAT275.js.map → chunk-I6WKUIVX.js.map} +0 -0
  228. /package/dist/chunks/{chunk-ULRP7FUP.js.map → chunk-J6EAQ4XD.js.map} +0 -0
  229. /package/dist/chunks/{chunk-K6CL6T23.js.map → chunk-JQO2LGPA.js.map} +0 -0
  230. /package/dist/chunks/{chunk-TPYEIOFB.js.map → chunk-KZTKHIP5.js.map} +0 -0
  231. /package/dist/chunks/{chunk-RVWRZVRT.js.map → chunk-LM3JEI5Z.js.map} +0 -0
  232. /package/dist/chunks/{chunk-3L7O76A5.js.map → chunk-LNVTSRF3.js.map} +0 -0
  233. /package/dist/chunks/{chunk-HM3XROXV.js.map → chunk-LS2USKSX.js.map} +0 -0
  234. /package/dist/chunks/{chunk-VZD5OAVF.js.map → chunk-MNMG5JGZ.js.map} +0 -0
  235. /package/dist/chunks/{chunk-IDHX5QU5.js.map → chunk-MPHLRHG6.js.map} +0 -0
  236. /package/dist/chunks/{chunk-CI2P6MWQ.js.map → chunk-NEMRZKU7.js.map} +0 -0
  237. /package/dist/chunks/{chunk-MT2KWIQD.js.map → chunk-NGHCVY4T.js.map} +0 -0
  238. /package/dist/chunks/{chunk-JXIZ23M4.js.map → chunk-NSIV6WEI.js.map} +0 -0
  239. /package/dist/chunks/{chunk-RSMLOV7S.js.map → chunk-NYYG7HAY.js.map} +0 -0
  240. /package/dist/chunks/{chunk-WBDMD7WY.js.map → chunk-O53XPCC5.js.map} +0 -0
  241. /package/dist/chunks/{chunk-WBWDM4FM.js.map → chunk-OQCZ27OE.js.map} +0 -0
  242. /package/dist/chunks/{chunk-7DCFWJDK.js.map → chunk-OY7K65K6.js.map} +0 -0
  243. /package/dist/chunks/{chunk-QUADPKLH.js.map → chunk-PD2MTV6U.js.map} +0 -0
  244. /package/dist/chunks/{chunk-AXB6T7KH.js.map → chunk-POGVGWKL.js.map} +0 -0
  245. /package/dist/chunks/{chunk-TKXFM6UF.js.map → chunk-PYYCH65R.js.map} +0 -0
  246. /package/dist/chunks/{chunk-TCOZSNNY.js.map → chunk-QZRV5EOA.js.map} +0 -0
  247. /package/dist/chunks/{chunk-MVCDUAE3.js.map → chunk-R2K5AFBF.js.map} +0 -0
  248. /package/dist/chunks/{chunk-KRGFQLGY.js.map → chunk-RWMWDV5U.js.map} +0 -0
  249. /package/dist/chunks/{chunk-QAQBDQOO.js.map → chunk-SDIFKDGI.js.map} +0 -0
  250. /package/dist/chunks/{chunk-7JPWIMTU.js.map → chunk-TC3E4SKI.js.map} +0 -0
  251. /package/dist/chunks/{chunk-H734PAIA.js.map → chunk-TH3PVZT3.js.map} +0 -0
  252. /package/dist/chunks/{chunk-VXZ4I76G.js.map → chunk-TUBA7HB2.js.map} +0 -0
  253. /package/dist/chunks/{chunk-PP5FDOXX.js.map → chunk-TUNKUMWI.js.map} +0 -0
  254. /package/dist/chunks/{chunk-5ISSWZYV.js.map → chunk-TW56AJLJ.js.map} +0 -0
  255. /package/dist/chunks/{chunk-G3R4GLH5.js.map → chunk-V6H2W6TZ.js.map} +0 -0
  256. /package/dist/chunks/{chunk-L37OHUPQ.js.map → chunk-VIV4OF3E.js.map} +0 -0
  257. /package/dist/chunks/{chunk-ENQ34C3Q.js.map → chunk-VRFKZSBH.js.map} +0 -0
  258. /package/dist/chunks/{chunk-KUPDSMDC.js.map → chunk-W2PMDZWZ.js.map} +0 -0
  259. /package/dist/chunks/{chunk-SWEP7MWK.js.map → chunk-W3M6GZTY.js.map} +0 -0
  260. /package/dist/chunks/{chunk-I7DZMDL4.js.map → chunk-W7NCIPEV.js.map} +0 -0
  261. /package/dist/chunks/{chunk-QKRGJPU6.js.map → chunk-WBCYE4JI.js.map} +0 -0
  262. /package/dist/chunks/{chunk-S5HIHXZO.js.map → chunk-WQ2S6BUX.js.map} +0 -0
  263. /package/dist/chunks/{chunk-2WSCH27F.js.map → chunk-WYGUFPCK.js.map} +0 -0
  264. /package/dist/chunks/{chunk-KCRRCSBK.js.map → chunk-XBZJBXQY.js.map} +0 -0
  265. /package/dist/chunks/{chunk-IWBRKHR3.js.map → chunk-Y36X5RRN.js.map} +0 -0
  266. /package/dist/chunks/{chunk-QFECRPMQ.js.map → chunk-YICIG5QP.js.map} +0 -0
  267. /package/dist/chunks/{chunk-4XONZ3IH.js.map → chunk-ZSNNS2V6.js.map} +0 -0
  268. /package/dist/chunks/{chunk-JNPUGWLC.js.map → chunk-ZUDMNBWB.js.map} +0 -0
  269. /package/dist/chunks/{chunk-B72UXUIV.js.map → chunk-ZXYCWNKE.js.map} +0 -0
  270. /package/dist/chunks/{cli-runtime-WBHLU5Z2.js.map → cli-runtime-6YUL7KO4.js.map} +0 -0
  271. /package/dist/chunks/{commands-Q5YVFT5H.js.map → commands-INKRVLL2.js.map} +0 -0
  272. /package/dist/chunks/{crash-report-7B6INW5Z.js.map → crash-report-W2LEW2CB.js.map} +0 -0
  273. /package/dist/chunks/{dist-CX6YZPQP.js.map → dist-2WHW47YN.js.map} +0 -0
  274. /package/dist/chunks/{dist-XF4ALE5R.js.map → dist-32QKP26R.js.map} +0 -0
  275. /package/dist/chunks/{dist-64A6FTG4.js.map → dist-CNCFMP4G.js.map} +0 -0
  276. /package/dist/chunks/{dist-55O7DGZC.js.map → dist-G66KFB6L.js.map} +0 -0
  277. /package/dist/chunks/{dist-DM56OGFI.js.map → dist-KNDQQ7NJ.js.map} +0 -0
  278. /package/dist/chunks/{dist-JFEBD4RQ.js.map → dist-MSXSGG4O.js.map} +0 -0
  279. /package/dist/chunks/{dist-JTKWJRF3.js.map → dist-UH4FMDFC.js.map} +0 -0
  280. /package/dist/chunks/{dist-JXBZJMCJ.js.map → dist-YKMXFMEH.js.map} +0 -0
  281. /package/dist/chunks/{doctor-J74VP3YF.js.map → doctor-GUQ55L7P.js.map} +0 -0
  282. /package/dist/chunks/{drain-43YQMN3N.js.map → drain-W354CYLH.js.map} +0 -0
  283. /package/dist/chunks/{entry-EBSTYPZD.js.map → entry-A6OLKTK4.js.map} +0 -0
  284. /package/dist/chunks/{eval-6FWPUHTJ.js.map → eval-4WUEX4J2.js.map} +0 -0
  285. /package/dist/chunks/{exec-3OL72UXM.js.map → exec-2GC33AL4.js.map} +0 -0
  286. /package/dist/chunks/{github-VS24TC5M.js.map → github-VCUDZDGI.js.map} +0 -0
  287. /package/dist/chunks/{home-S7VBBT2P.js.map → home-T4OIF6S7.js.map} +0 -0
  288. /package/dist/chunks/{host-F6WQBUBZ.js.map → host-AVAUHFYK.js.map} +0 -0
  289. /package/dist/chunks/{host-queries-PXLHY5OD.js.map → host-queries-DOTBOTRM.js.map} +0 -0
  290. /package/dist/chunks/{learn-NNNC4PEC.js.map → learn-YMOECXWO.js.map} +0 -0
  291. /package/dist/chunks/{learn-builtin-BDKIORNW.js.map → learn-builtin-BF6BC7VT.js.map} +0 -0
  292. /package/dist/chunks/{lifecycle-6UXAIU2W.js.map → lifecycle-SCXNENNO.js.map} +0 -0
  293. /package/dist/chunks/{list-RAVXA62R.js.map → list-A2TVECA4.js.map} +0 -0
  294. /package/dist/chunks/{live-R457RDVD.js.map → live-GIKIVP5N.js.map} +0 -0
  295. /package/dist/chunks/{login-XFL5R3F3.js.map → login-COY7ZU76.js.map} +0 -0
  296. /package/dist/chunks/{logs-FHXX2ZYY.js.map → logs-HN5ED3XC.js.map} +0 -0
  297. /package/dist/chunks/{mcp-GJYWIZDK.js.map → mcp-KMFXTAEG.js.map} +0 -0
  298. /package/dist/chunks/{message-command-HLV22I75.js.map → message-command-XJCX6GEH.js.map} +0 -0
  299. /package/dist/chunks/{open-52RISMYT.js.map → open-7CKFU4GZ.js.map} +0 -0
  300. /package/dist/chunks/{operator-tools-KRVBU5DK.js.map → operator-tools-SBSUWAPM.js.map} +0 -0
  301. /package/dist/chunks/{output-schema-TN574F4W.js.map → output-schema-OF7MU44K.js.map} +0 -0
  302. /package/dist/chunks/{pal-F6UND6OQ.js.map → pal-ANABYPQI.js.map} +0 -0
  303. /package/dist/chunks/{peers-VBFD7USO.js.map → peers-45ERDPKF.js.map} +0 -0
  304. /package/dist/chunks/{peers-TJCZBKJN.js.map → peers-MQMTWBNF.js.map} +0 -0
  305. /package/dist/chunks/{providers-WZ5ZDUB3.js.map → providers-U2VOQPIQ.js.map} +0 -0
  306. /package/dist/chunks/{pty-KWFUBODN.js.map → pty-O3JUR6E6.js.map} +0 -0
  307. /package/dist/chunks/{resume-FVNBMR6D.js.map → resume-SAA3MLKU.js.map} +0 -0
  308. /package/dist/chunks/{resume-command-RVILL4QU.js.map → resume-command-CTK2KZBA.js.map} +0 -0
  309. /package/dist/chunks/{schedule-3QGQRJB7.js.map → schedule-QPTZKLTX.js.map} +0 -0
  310. /package/dist/chunks/{service-MI36D5ZK.js.map → service-HV3GCDHA.js.map} +0 -0
  311. /package/dist/chunks/{skills-W5AH33BU.js.map → skills-2AT7ET7J.js.map} +0 -0
  312. /package/dist/chunks/{start-check-567HOC4A.js.map → start-check-KLNGOTCH.js.map} +0 -0
  313. /package/dist/chunks/{startup-failure-AXFS5D3F.js.map → startup-failure-LONKNDPE.js.map} +0 -0
  314. /package/dist/chunks/{state-NYIQ2RRT.js.map → state-NH64B6V6.js.map} +0 -0
  315. /package/dist/chunks/{store-BEOWOJIT.js.map → store-3UO335CU.js.map} +0 -0
  316. /package/dist/chunks/{store-JUC4TU6P.js.map → store-FQVXZJIN.js.map} +0 -0
  317. /package/dist/chunks/{store-LNGCY3CJ.js.map → store-UK2654YC.js.map} +0 -0
  318. /package/dist/chunks/{store-LWOLZU4Z.js.map → store-XEDK3ESU.js.map} +0 -0
  319. /package/dist/chunks/{upgrade-APJTDSEG.js.map → upgrade-ERUCYWMK.js.map} +0 -0
  320. /package/dist/chunks/{workspaces-F6RNJXKR.js.map → workspaces-YIBJSUGI.js.map} +0 -0
  321. /package/dist/chunks/{worktree-LE5FPYCK.js.map → worktree-4K2Y37SY.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  runFire,
16
16
  sessionFacts,
17
17
  sessionLeaseLive
18
- } from "./chunk-TKXFM6UF.js";
18
+ } from "./chunk-PYYCH65R.js";
19
19
  import {
20
20
  callsLine
21
21
  } from "./chunk-HFY2647W.js";
@@ -26,17 +26,17 @@ import {
26
26
  parseArgs,
27
27
  parseMs,
28
28
  pathsFor
29
- } from "./chunk-TPYEIOFB.js";
29
+ } from "./chunk-KZTKHIP5.js";
30
30
  import {
31
31
  resumeCommand
32
- } from "./chunk-IWBRKHR3.js";
32
+ } from "./chunk-Y36X5RRN.js";
33
33
  import {
34
34
  appendHistory,
35
35
  foldHistory,
36
36
  readHistory,
37
37
  readState,
38
38
  writeState
39
- } from "./chunk-M3BND4IS.js";
39
+ } from "./chunk-DQW7UPXP.js";
40
40
  import {
41
41
  callEndpoint,
42
42
  readEndpoint
@@ -44,7 +44,7 @@ import {
44
44
  import {
45
45
  closeSessions,
46
46
  refreshIndex
47
- } from "./chunk-2VKT4OPG.js";
47
+ } from "./chunk-BMIFPELO.js";
48
48
  import {
49
49
  confirmationHolds,
50
50
  deleteJob,
@@ -67,7 +67,7 @@ import {
67
67
  generateScheduleRunId,
68
68
  openSessionIndex,
69
69
  releaseHeldSessionLeases
70
- } from "./chunk-W4BOQPYP.js";
70
+ } from "./chunk-APKI7B7W.js";
71
71
  import {
72
72
  __name
73
73
  } from "./chunk-76FLAFCG.js";
@@ -645,4 +645,4 @@ export {
645
645
  pruneCommand,
646
646
  scheduleDiskUsage
647
647
  };
648
- //# sourceMappingURL=chunk-5ISSWZYV.js.map
648
+ //# sourceMappingURL=chunk-TW56AJLJ.js.map
@@ -2,10 +2,10 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  openManagedWorktrees
5
- } from "./chunk-VZD5OAVF.js";
5
+ } from "./chunk-MNMG5JGZ.js";
6
6
  import {
7
7
  createSessionSkillCatalog
8
- } from "./chunk-G3R4GLH5.js";
8
+ } from "./chunk-V6H2W6TZ.js";
9
9
  import {
10
10
  DEFAULT_MAX_HOOK_REFUSALS,
11
11
  KEY_MISMATCH_MESSAGE,
@@ -37,32 +37,32 @@ import {
37
37
  workflowJournalKey,
38
38
  workingDirectoryProblem,
39
39
  writeEditableCopy
40
- } from "./chunk-P2CH7AHO.js";
40
+ } from "./chunk-4JTXA7EU.js";
41
41
  import {
42
42
  runGeneratorCycle
43
- } from "./chunk-FPW3QSQD.js";
43
+ } from "./chunk-I3DHWG5M.js";
44
44
  import {
45
45
  createSessionLearningFeed,
46
46
  openLearningTarget,
47
47
  readProjectGuidance,
48
48
  withSessionLearningFeed
49
- } from "./chunk-QUADPKLH.js";
49
+ } from "./chunk-PD2MTV6U.js";
50
50
  import {
51
51
  connectMcpServers,
52
52
  startMcpServers
53
- } from "./chunk-K6CL6T23.js";
53
+ } from "./chunk-JQO2LGPA.js";
54
54
  import {
55
55
  openInBrowser
56
- } from "./chunk-H734PAIA.js";
56
+ } from "./chunk-TH3PVZT3.js";
57
57
  import {
58
58
  conversationInUseSentence,
59
59
  minutesUntilFree
60
- } from "./chunk-UGECQ2K7.js";
60
+ } from "./chunk-GTFK7PLC.js";
61
61
  import {
62
62
  ensureLocalConfigIgnored,
63
63
  logIgnoreOutcome,
64
64
  writeLocalAllows
65
- } from "./chunk-TCOZSNNY.js";
65
+ } from "./chunk-QZRV5EOA.js";
66
66
  import {
67
67
  createBrowserControl
68
68
  } from "./chunk-WHODOMXA.js";
@@ -76,17 +76,17 @@ import {
76
76
  import {
77
77
  isPermissionMode,
78
78
  permissionModeLabel
79
- } from "./chunk-WBWDM4FM.js";
79
+ } from "./chunk-OQCZ27OE.js";
80
80
  import {
81
81
  discoverSkills,
82
82
  loadSkillBody
83
- } from "./chunk-QHNAT275.js";
83
+ } from "./chunk-I6WKUIVX.js";
84
84
  import {
85
85
  migrateAccountKeys
86
- } from "./chunk-CKQSYJLF.js";
86
+ } from "./chunk-4SQVWV4B.js";
87
87
  import {
88
88
  openCliAccounts
89
- } from "./chunk-HM3XROXV.js";
89
+ } from "./chunk-LS2USKSX.js";
90
90
  import {
91
91
  CredentialRefreshRejectedError,
92
92
  CredentialWithdrawnError as CredentialWithdrawnError2,
@@ -94,16 +94,16 @@ import {
94
94
  ensureFreshStoredCodexCredential,
95
95
  readSubscriptionCredential,
96
96
  sameOAuthCredential
97
- } from "./chunk-QFECRPMQ.js";
97
+ } from "./chunk-YICIG5QP.js";
98
98
  import {
99
99
  conversationLogPath,
100
100
  ensureSessionStarted,
101
101
  openConversationLog,
102
102
  recordAccountBound
103
- } from "./chunk-2VKT4OPG.js";
103
+ } from "./chunk-BMIFPELO.js";
104
104
  import {
105
105
  readIdentity
106
- } from "./chunk-KCRRCSBK.js";
106
+ } from "./chunk-XBZJBXQY.js";
107
107
  import {
108
108
  INSTRUCTIONS_FILENAME,
109
109
  MAX_CHARS_PER_FILE,
@@ -114,7 +114,7 @@ import {
114
114
  } from "./chunk-JQIBPPOL.js";
115
115
  import {
116
116
  isDefaultAccountId
117
- } from "./chunk-IO6AH6S6.js";
117
+ } from "./chunk-5JPQVU57.js";
118
118
  import {
119
119
  debugRequested
120
120
  } from "./chunk-GNBMKISG.js";
@@ -122,7 +122,7 @@ import {
122
122
  createLazyCodeAnalysis,
123
123
  promptCacheTtl,
124
124
  setPromptCacheTtl
125
- } from "./chunk-BFK5ZLTI.js";
125
+ } from "./chunk-55LA4ARF.js";
126
126
  import {
127
127
  probeCapabilities
128
128
  } from "./chunk-OH6TB27S.js";
@@ -136,7 +136,7 @@ import {
136
136
  takeConfigWarnings,
137
137
  unmatchedPassthroughTools,
138
138
  workflowTokenCeiling
139
- } from "./chunk-V6W5ILRM.js";
139
+ } from "./chunk-EBES22ZB.js";
140
140
  import {
141
141
  require_dist
142
142
  } from "./chunk-KONYGNG6.js";
@@ -145,10 +145,10 @@ import {
145
145
  } from "./chunk-LCGXWCVU.js";
146
146
  import {
147
147
  compilePermissions
148
- } from "./chunk-QAQBDQOO.js";
148
+ } from "./chunk-SDIFKDGI.js";
149
149
  import {
150
150
  cliLogger
151
- } from "./chunk-JXIZ23M4.js";
151
+ } from "./chunk-NSIV6WEI.js";
152
152
  import {
153
153
  readModelLaunchEnvironment
154
154
  } from "./chunk-LVVD32KJ.js";
@@ -175,7 +175,7 @@ import {
175
175
  readPreferences,
176
176
  resolveChainCapabilities,
177
177
  unresolvedMembers
178
- } from "./chunk-RSMLOV7S.js";
178
+ } from "./chunk-NYYG7HAY.js";
179
179
  import {
180
180
  canSelectModel,
181
181
  createGeminiAccessTokenResolver,
@@ -183,7 +183,7 @@ import {
183
183
  findDetected,
184
184
  hasApiCredential,
185
185
  requiresCredentialForModel
186
- } from "./chunk-L37OHUPQ.js";
186
+ } from "./chunk-VIV4OF3E.js";
187
187
  import {
188
188
  activeZenCatalogue,
189
189
  isOfferableModel
@@ -196,23 +196,23 @@ import {
196
196
  import {
197
197
  isAnthropicOAuthToken,
198
198
  readCodexCredentialFile
199
- } from "./chunk-PMUGOF5V.js";
199
+ } from "./chunk-2UELHX7A.js";
200
200
  import {
201
201
  composeEnvironmentPrompt,
202
202
  detectWsl,
203
203
  environmentFactLines,
204
204
  permissionSentence,
205
205
  readEnvironmentFacts
206
- } from "./chunk-UU6Z4RNI.js";
206
+ } from "./chunk-GMAPTJ3G.js";
207
207
  import {
208
208
  ensurePrivateStateDirectory
209
- } from "./chunk-GNBTKM54.js";
209
+ } from "./chunk-EPKNYAR5.js";
210
210
  import {
211
211
  restrictToOwner
212
- } from "./chunk-RC3A3XQL.js";
212
+ } from "./chunk-2MAMU7AX.js";
213
213
  import {
214
214
  namzuHomePath
215
- } from "./chunk-KUPDSMDC.js";
215
+ } from "./chunk-W2PMDZWZ.js";
216
216
  import {
217
217
  AgentManager,
218
218
  AgentRegistry,
@@ -401,7 +401,7 @@ import {
401
401
  withModelWindowSuffixStripped,
402
402
  withProviderFallback,
403
403
  wrapUntrusted
404
- } from "./chunk-W4BOQPYP.js";
404
+ } from "./chunk-APKI7B7W.js";
405
405
  import {
406
406
  __name,
407
407
  __toESM
@@ -5570,7 +5570,8 @@ async function postDecision(post) {
5570
5570
  }
5571
5571
  if (!res.ok) {
5572
5572
  const err = isRecord(json) && isRecord(json.error) ? json.error : {};
5573
- throw new DecisionError(typeof err.message === "string" ? err.message : `Decision request failed (${res.status})`, res.status, typeof err.code === "string" ? err.code : void 0);
5573
+ const issueBody = Array.isArray(json) || isRecord(json) && Array.isArray(json.issues);
5574
+ throw new DecisionError(typeof err.message === "string" ? err.message : issueBody ? JSON.stringify(json) : `Decision request failed (${res.status})`, res.status, typeof err.code === "string" ? err.code : void 0);
5574
5575
  }
5575
5576
  const answers = isRecord(json) ? json.answers : void 0;
5576
5577
  return isRecord(answers) ? answers.q : void 0;
@@ -5584,6 +5585,72 @@ function yesnoQuestion(instructions, criteria) {
5584
5585
  };
5585
5586
  }
5586
5587
  __name(yesnoQuestion, "yesnoQuestion");
5588
+ var rememberedForms = /* @__PURE__ */ new Map();
5589
+ function yesnoQuestionAs(form, instructions, criteria) {
5590
+ if (form === "object")
5591
+ return { type: "noul", instructions, criteria: { true: criteria } };
5592
+ return { type: "noul", instructions: `${instructions}
5593
+
5594
+ The answer is yes when: ${criteria}` };
5595
+ }
5596
+ __name(yesnoQuestionAs, "yesnoQuestionAs");
5597
+ function schemaIssues(text2) {
5598
+ const trimmed = text2.trim();
5599
+ if (!trimmed.startsWith("[") && !trimmed.startsWith("{"))
5600
+ return [];
5601
+ let parsed;
5602
+ try {
5603
+ parsed = JSON.parse(trimmed);
5604
+ } catch {
5605
+ return [];
5606
+ }
5607
+ const list = Array.isArray(parsed) ? parsed : isRecord(parsed) && Array.isArray(parsed.issues) ? parsed.issues : [];
5608
+ const out = [];
5609
+ for (const item of list) {
5610
+ if (!isRecord(item) || !Array.isArray(item.path) || typeof item.message !== "string")
5611
+ continue;
5612
+ out.push({ path: item.path.map(String), message: item.message });
5613
+ }
5614
+ return out;
5615
+ }
5616
+ __name(schemaIssues, "schemaIssues");
5617
+ function readableServiceText(text2) {
5618
+ const issues = schemaIssues(text2);
5619
+ if (issues.length === 0)
5620
+ return text2;
5621
+ return issues.map((i) => `${i.path.join(".")}: ${i.message}`).join("; ");
5622
+ }
5623
+ __name(readableServiceText, "readableServiceText");
5624
+ function refusesQuestionField(error, fields) {
5625
+ if (!(error instanceof DecisionError) || error.status !== 400)
5626
+ return false;
5627
+ const issues = schemaIssues(error.message);
5628
+ if (issues.length > 0) {
5629
+ return issues.some((i) => i.path.some((part) => fields.includes(part)));
5630
+ }
5631
+ const named = fields.join("|");
5632
+ return new RegExp(`(missing|null|required).*(${named})|(${named}).*(missing|null|required)`, "i").test(error.message);
5633
+ }
5634
+ __name(refusesQuestionField, "refusesQuestionField");
5635
+ async function postYesNo(opts) {
5636
+ const criteria = opts.criteria;
5637
+ if (criteria === void 0 || criteria.length === 0) {
5638
+ return opts.post(yesnoQuestion(opts.instructions));
5639
+ }
5640
+ if (rememberedForms.get(opts.memoryKey) === "folded") {
5641
+ return opts.post(yesnoQuestionAs("folded", opts.instructions, criteria));
5642
+ }
5643
+ try {
5644
+ return await opts.post(yesnoQuestionAs("object", opts.instructions, criteria));
5645
+ } catch (error) {
5646
+ if (!refusesQuestionField(error, ["criteria"]))
5647
+ throw error;
5648
+ }
5649
+ const answer = await opts.post(yesnoQuestionAs("folded", opts.instructions, criteria));
5650
+ rememberedForms.set(opts.memoryKey, "folded");
5651
+ return answer;
5652
+ }
5653
+ __name(postYesNo, "postYesNo");
5587
5654
  function choiceQuestion(instructions, options) {
5588
5655
  return {
5589
5656
  type: "choice",
@@ -5653,7 +5720,13 @@ var AzureFoundryDecisionModel = class {
5653
5720
  this.config = config;
5654
5721
  }
5655
5722
  async yesno(state, instructions, opts) {
5656
- return parseYesNo(await this.ask(state, yesnoQuestion(instructions), opts));
5723
+ return parseYesNo(await postYesNo({
5724
+ post: /* @__PURE__ */ __name((question) => this.ask(state, question, opts), "post"),
5725
+ instructions,
5726
+ ...opts?.criteria !== void 0 ? { criteria: opts.criteria } : {},
5727
+ memoryKey: `${this.config.endpoint}
5728
+ ${this.config.deployment}`
5729
+ }));
5657
5730
  }
5658
5731
  async choice(state, instructions, options, opts) {
5659
5732
  return parseChoice(await this.ask(state, choiceQuestion(instructions, options), opts));
@@ -5691,7 +5764,13 @@ var HttpDecisionModel = class {
5691
5764
  this.config = config;
5692
5765
  }
5693
5766
  async yesno(state, instructions, opts) {
5694
- return parseYesNo(await this.ask(state, yesnoQuestion(instructions, opts?.criteria), opts));
5767
+ return parseYesNo(await postYesNo({
5768
+ post: /* @__PURE__ */ __name((question) => this.ask(state, question, opts), "post"),
5769
+ instructions,
5770
+ ...opts?.criteria !== void 0 ? { criteria: opts.criteria } : {},
5771
+ memoryKey: `${this.config.url}
5772
+ ${this.config.model ?? ""}`
5773
+ }));
5695
5774
  }
5696
5775
  async choice(state, instructions, options, opts) {
5697
5776
  return parseChoice(await this.ask(state, choiceQuestion(instructions, options), opts));
@@ -13111,10 +13190,11 @@ var WORKFLOW_TOOL_DESCRIPTION = [
13111
13190
  "The script is confined: no files, no network, no commands, no timers, no imports. Its only power is agent(), which starts a subagent with the same tools, permissions, sandbox and budget the Agent tool gives. A prompt you pass is data for that subagent and cannot widen what it may do.",
13112
13191
  "",
13113
13192
  "The first statement must be a pure literal, with no variables, calls or spreads:",
13114
- 'export const meta = { name: "audit", description: "One line the operator reads before it starts", phases: [{ title: "Scan" }, { title: "Fix", detail: "safe fixes only" }] }',
13193
+ 'export const meta = { name: "check-stale-settings", description: "Check each package for stale settings, then fix the safe ones", phases: [{ title: "Scan", detail: "one read-only agent per package, side by side" }, { title: "Fix", detail: "safe fixes only, one agent at a time" }] }',
13194
+ "The operator reads these words, so write them for a person. name: lower-case words joined by hyphens, a verb first, saying what the run does (at most 80 characters). description: one plain line, what will happen and to what, no method words (at most 500). phases: one entry per stage of the script, a title of one or two capitalised words, used letter for letter in phase() and opts.phase (case is ignored when matching, the declared spelling is shown), and a detail saying what the stage does and how it fans out (at most 300). Give every agent() a label of the form kind:target under 40 characters, such as scan:core, never the prompt: without one the row shows the first 60 characters of the prompt. log() lines are short facts with counts, and say what was left out whenever the script capped something.",
13115
13195
  "",
13116
13196
  "Then plain code. Everything below is a global:",
13117
- '- agent(prompt, opts?) starts one subagent and resolves to its final text, or to a parsed value when opts.schema (a JSON Schema) is given, or to null when it failed or was skipped. Always handle null. opts: label (a short row title), phase (a phase title), schema, agentType ("general-purpose", "explore", "plan", or a project agent), model, effort. The subagent cannot see this conversation or your variables: put everything it needs in the prompt.',
13197
+ '- agent(prompt, opts?) starts one subagent and resolves to its final text, or to a parsed value when opts.schema (a JSON Schema) is given, or to null when it failed or was skipped. Always handle null. opts: label (kind:target), phase (a phase title), schema, agentType ("general-purpose", "explore", "plan", or a project agent), model, effort. The subagent cannot see this conversation or your variables: put everything it needs in the prompt.',
13118
13198
  "- parallel([() => agent(...), ...]) starts every thunk now and resolves when all are done. A thunk that throws, or whose agent failed, becomes null in its place and the reason goes through log(), so filter the nulls (.filter(Boolean)). A mistake in the script itself (wrong agent() arguments, a bad schema, a non-function item) is not turned into null: it fails the whole run with an error, so fix the script.",
13119
13199
  "- pipeline(items, stage1, stage2, ...) runs one chain per item with no barrier between stages; a stage gets (prevResult, originalItem, index), where the first stage gets the item as prevResult, and an item whose stage gives null stops there. A stage that throws drops its item to null and the reason goes through log(), so filter the nulls; a misused hook in a stage fails the run, as in parallel().",
13120
13200
  "- phase(title) names the stage that the following agents belong to; inside parallel() or pipeline() pass opts.phase instead. Use the same titles as in meta.phases.",
@@ -13129,7 +13209,7 @@ var WORKFLOW_TOOL_DESCRIPTION = [
13129
13209
  "",
13130
13210
  "Quality patterns, when hypermode is on or the task is large: adversarial verify (a second agent tries to disprove each finding), a judge panel (several agents score the same candidates, keep the consensus), loop until dry (repeat a sweep until a pass finds nothing new), and a completeness critic (a last agent lists what the others missed). Pick what fits; skip them for trivial or already verified work.",
13131
13211
  "",
13132
- 'Example call, one agent per package and one pass over what they found: {"script":"export const meta = { name: \\"audit\\", description: \\"Check each package for stale settings\\", phases: [{ title: \\"Scan\\" }] }\\nconst found = await parallel(args.packages.map((p) => () => agent(\\"List stale settings in \\" + p, { label: p, phase: \\"Scan\\" })))\\nreturn found.filter(Boolean)","args":{"packages":["core","web"]}}.',
13212
+ 'Example call, one agent per package and one pass over what they found: {"script":"export const meta = { name: \\"check-stale-settings\\", description: \\"Check each package for stale settings\\", phases: [{ title: \\"Scan\\", detail: \\"one agent per package, side by side\\" }] }\\nconst found = await parallel(args.packages.map((p) => () => agent(\\"List stale settings in \\" + p, { label: \\"scan:\\" + p, phase: \\"Scan\\" })))\\nreturn found.filter(Boolean)","args":{"packages":["core","web"]}}.',
13133
13213
  "",
13134
13214
  "Before it starts the operator sees the name, description, phases, limits and the script, and approves or declines. If they decline, do not retry with the same script; ask what to change."
13135
13215
  ].join("\n");
@@ -13605,7 +13685,14 @@ function createWorkflowHost(options) {
13605
13685
  const path = editableCopyPath(runs, meta.name, runId);
13606
13686
  editable = await writeEditableCopy(path, script) ? path : scriptFile;
13607
13687
  }
13608
- const phaseDetail = /* @__PURE__ */ __name((title) => title === void 0 ? void 0 : meta.phases.find((phase) => phase.title.trim() === title.trim())?.detail, "phaseDetail");
13688
+ const phaseDetail = /* @__PURE__ */ __name((title) => {
13689
+ if (title === void 0) return void 0;
13690
+ const wanted = title.trim();
13691
+ const exact = meta.phases.find((phase) => phase.title.trim() === wanted);
13692
+ if (exact) return exact.detail;
13693
+ const lower = wanted.toLowerCase();
13694
+ return meta.phases.find((phase) => phase.title.trim().toLowerCase() === lower)?.detail;
13695
+ }, "phaseDetail");
13609
13696
  let launching = true;
13610
13697
  let settleLaunch = /* @__PURE__ */ __name(() => {
13611
13698
  }, "settleLaunch");
@@ -18759,11 +18846,11 @@ __name(clipRequestContext, "clipRequestContext");
18759
18846
  async function createAgentSession(prefs, detectedProviders, options = {}) {
18760
18847
  const modelEnvironment = readModelLaunchEnvironment();
18761
18848
  if (options.palEnvironment) {
18762
- const { createPalAgentSession } = await import("./agent-session-5KMMWJTY.js");
18849
+ const { createPalAgentSession } = await import("./agent-session-YXYFEYXB.js");
18763
18850
  return createPalAgentSession(prefs, detectedProviders, options);
18764
18851
  }
18765
18852
  let detected = detectedProviders;
18766
- const { palAtWorkspace } = await import("./store-LWOLZU4Z.js");
18853
+ const { palAtWorkspace } = await import("./store-3UO335CU.js");
18767
18854
  if (palAtWorkspace(options.cwd ?? process.cwd()))
18768
18855
  throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
18769
18856
  const commandArguments = builtinCommandArguments();
@@ -20040,7 +20127,7 @@ async function createAgentSession(prefs, detectedProviders, options = {}) {
20040
20127
  );
20041
20128
  toolsets.push(options.toolLoading === "eager" ? monitorToolset : deferred(monitorToolset));
20042
20129
  }
20043
- const operatorPals = await import("./operator-tools-KRVBU5DK.js");
20130
+ const operatorPals = await import("./operator-tools-SBSUWAPM.js");
20044
20131
  toolsets.push(
20045
20132
  readyWhen(
20046
20133
  toolset(
@@ -20245,7 +20332,7 @@ async function createAgentSession(prefs, detectedProviders, options = {}) {
20245
20332
  return mounted.has("search_conversation") && mounted.has("read_conversation") ? { recoveryNote: COMPACTION_RECOVERY_NOTE } : {};
20246
20333
  }, "recoveryNoteIfMounted");
20247
20334
  const sessionPresenter = createCliToolPresenter({
20248
- get: /* @__PURE__ */ __name((name) => liveManager().get(name), "get")
20335
+ get: /* @__PURE__ */ __name((name) => liveManager().get(name) ?? (name === WORKFLOW_TOOL_NAME ? workflowHost?.tool : void 0), "get")
20249
20336
  });
20250
20337
  const turnSkillsFor = /* @__PURE__ */ __name((turnModel) => skillCatalog.forTurn({
20251
20338
  toolNames: liveManager().listNames(),
@@ -22317,12 +22404,15 @@ var COMPACTION_CONFIG = {
22317
22404
  maxCharsPerRequirement: 300,
22318
22405
  maxCharsPerTask: 400
22319
22406
  };
22407
+ var DEFAULT_SOFT_TARGET_HEADROOM = 0.05;
22320
22408
  function compactionConfigFor(compaction) {
22409
+ const strategy = compaction?.strategy ?? COMPACTION_CONFIG.strategy;
22410
+ const headroom = compaction?.softTargetHeadroom ?? (strategy === "salience" ? DEFAULT_SOFT_TARGET_HEADROOM : void 0);
22321
22411
  return {
22322
22412
  ...COMPACTION_CONFIG,
22323
- strategy: compaction?.strategy ?? COMPACTION_CONFIG.strategy,
22413
+ strategy,
22324
22414
  ...compaction?.deduplicateObservations !== void 0 ? { deduplicateObservations: compaction.deduplicateObservations } : {},
22325
- ...compaction?.softTargetHeadroom !== void 0 ? { softTargetHeadroom: compaction.softTargetHeadroom } : {},
22415
+ ...headroom !== void 0 ? { softTargetHeadroom: headroom } : {},
22326
22416
  ...compaction?.contextWindowTokens !== void 0 ? { contextWindowTokens: compaction.contextWindowTokens } : {},
22327
22417
  ...compaction?.autoCompactWindowTokens !== void 0 ? { autoCompactWindowTokens: compaction.autoCompactWindowTokens } : {},
22328
22418
  ...compaction?.modelSummary !== void 0 ? { modelSummary: compaction.modelSummary } : {}
@@ -23039,6 +23129,12 @@ function toAgentEvent(event, presenter, readsOnly, cwd) {
23039
23129
  stubbed: event.stubbedCount ?? 0,
23040
23130
  reclaimedTokens: event.reclaimedTokens
23041
23131
  };
23132
+ case "compaction_skills_carried":
23133
+ return {
23134
+ kind: "context",
23135
+ text: skillsKeptText(event),
23136
+ shed: false
23137
+ };
23042
23138
  case "compaction_failed":
23043
23139
  if (event.cause === "breaker_open") return null;
23044
23140
  return {
@@ -23052,6 +23148,13 @@ function toAgentEvent(event, presenter, readsOnly, cwd) {
23052
23148
  }
23053
23149
  }
23054
23150
  __name(toAgentEvent, "toAgentEvent");
23151
+ function skillsKeptText(event) {
23152
+ const parts = [`Kept skill instructions in view: ${event.skills.join(", ")}`];
23153
+ if (event.cut.length > 0) parts.push(`cut short: ${event.cut.join(", ")}`);
23154
+ if (event.leftOut.length > 0) parts.push(`no room for: ${event.leftOut.join(", ")}`);
23155
+ return parts.join(" \xB7 ");
23156
+ }
23157
+ __name(skillsKeptText, "skillsKeptText");
23055
23158
  function describeFallback(event) {
23056
23159
  const name = /* @__PURE__ */ __name((index, id, model) => {
23057
23160
  const label = PROVIDER_REGISTRY[id]?.label ?? id;
@@ -23322,6 +23425,8 @@ export {
23322
23425
  PluginSettingsStore,
23323
23426
  validateComposerSendSettings,
23324
23427
  DecisionError,
23428
+ readableServiceText,
23429
+ refusesQuestionField,
23325
23430
  maybeCreateDecisionTool,
23326
23431
  maybeCreateDecisionModel,
23327
23432
  resolveAutoDefault,
@@ -23442,6 +23547,7 @@ export {
23442
23547
  isCredentialRejection,
23443
23548
  listProviderModels,
23444
23549
  conversationDrovePc,
23550
+ DEFAULT_SOFT_TARGET_HEADROOM,
23445
23551
  compactionConfigFor,
23446
23552
  makeResumeHandler,
23447
23553
  makeHoldingResumeHandler,
@@ -23451,9 +23557,10 @@ export {
23451
23557
  promptExemptToolNames,
23452
23558
  batchNeedsPrompt,
23453
23559
  toAgentEvent,
23560
+ skillsKeptText,
23454
23561
  viewToLines,
23455
23562
  viewToSummary,
23456
23563
  RESULT_SUMMARY_WHOLE_MAX,
23457
23564
  resultSummaryLine
23458
23565
  };
23459
- //# sourceMappingURL=chunk-UDA4YOUW.js.map
23566
+ //# sourceMappingURL=chunk-UUZM4M2L.js.map