@namzu/cli 45.13.1 → 46.1.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 (420) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-6E7WA7PC.js → acp-ITRXIGXK.js} +90 -85
  4. package/dist/chunks/acp-ITRXIGXK.js.map +6 -0
  5. package/dist/chunks/{activity-command-WIR3M62U.js → activity-command-JNZGEUZA.js} +20 -21
  6. package/dist/chunks/activity-command-JNZGEUZA.js.map +6 -0
  7. package/dist/chunks/{add-7JCKYPUA.js → add-DOZHWSWI.js} +27 -27
  8. package/dist/chunks/{agent-OHX3WZVR.js → agent-5JRQL3S4.js} +44 -45
  9. package/dist/chunks/agent-session-4EY73CXK.js +68 -0
  10. package/dist/chunks/{archive-4MGYPLQH.js → archive-ZM35XSKE.js} +14 -15
  11. package/dist/chunks/archive-ZM35XSKE.js.map +6 -0
  12. package/dist/chunks/{bin-main-3EO3R6VC.js → bin-main-AX5XWAYL.js} +13 -13
  13. package/dist/chunks/{binding-BG2CMH3P.js → binding-2J3XRGTV.js} +3 -3
  14. package/dist/chunks/{browser-DW7JKMX5.js → browser-ZTE2GPUG.js} +6 -6
  15. package/dist/chunks/{chat-O2MSJVXT.js → chat-JTMYOBA4.js} +23 -24
  16. package/dist/chunks/chat-JTMYOBA4.js.map +6 -0
  17. package/dist/chunks/{chunk-EFB45I7C.js → chunk-2DMSDS4P.js} +4 -4
  18. package/dist/chunks/{chunk-B5UX6EXN.js → chunk-2U4JYS5G.js} +2 -2
  19. package/dist/chunks/{chunk-IEVJDIWE.js → chunk-4B5FTAWO.js} +3 -3
  20. package/dist/chunks/{chunk-EJDGKLLI.js → chunk-4HRZKDBM.js} +2 -2
  21. package/dist/chunks/{chunk-LTJPPUPC.js → chunk-525JOC3P.js} +46 -29
  22. package/dist/chunks/chunk-525JOC3P.js.map +6 -0
  23. package/dist/chunks/{chunk-Z33RQI5X.js → chunk-5AOJKWOF.js} +82 -39
  24. package/dist/chunks/chunk-5AOJKWOF.js.map +6 -0
  25. package/dist/chunks/{chunk-HB6IQWVB.js → chunk-5FAZ4MUN.js} +3 -3
  26. package/dist/chunks/{chunk-2C7UAKHB.js → chunk-5IFRFROQ.js} +387 -236
  27. package/dist/chunks/chunk-5IFRFROQ.js.map +6 -0
  28. package/dist/chunks/{chunk-5KAIJVJU.js → chunk-6P47EW5E.js} +11 -11
  29. package/dist/chunks/{chunk-GMUWAUKQ.js → chunk-6PWRKA5T.js} +4 -4
  30. package/dist/chunks/{chunk-TKRQLL3F.js → chunk-6UDNGHZ4.js} +6 -6
  31. package/dist/chunks/{chunk-BGDDICSF.js → chunk-75R4INRW.js} +5 -5
  32. package/dist/chunks/{chunk-XH5YF2YX.js → chunk-7HYNH2U5.js} +4 -4
  33. package/dist/chunks/{chunk-7WTJTXZH.js → chunk-AGRTEIMU.js} +2 -2
  34. package/dist/chunks/{chunk-D4WT2YSJ.js → chunk-APHOA5CS.js} +2 -2
  35. package/dist/chunks/{chunk-S7APLRCX.js → chunk-BVLHRE75.js} +3 -3
  36. package/dist/chunks/{chunk-YUG4WMFT.js → chunk-CGCBVVQ4.js} +2 -2
  37. package/dist/chunks/{chunk-L2A4QFEG.js → chunk-D6BIHB5L.js} +3 -3
  38. package/dist/chunks/{chunk-FBALB74C.js → chunk-DY2CWVAO.js} +3 -3
  39. package/dist/chunks/{chunk-3JP6N64M.js → chunk-E33VJKQY.js} +3 -3
  40. package/dist/chunks/{chunk-U2CKMM6L.js → chunk-F2C6HUP3.js} +5 -5
  41. package/dist/chunks/{chunk-U2CKMM6L.js.map → chunk-F2C6HUP3.js.map} +1 -1
  42. package/dist/chunks/{chunk-YAFSPH3T.js → chunk-FP6K5R6O.js} +35 -35
  43. package/dist/chunks/{chunk-E3KFGGJE.js → chunk-G6FR3EVZ.js} +6 -6
  44. package/dist/chunks/{chunk-V7IBTSCB.js → chunk-GE5TBMXR.js} +10 -10
  45. package/dist/chunks/{chunk-CWSFF2SL.js → chunk-GKKSP3UM.js} +26 -4
  46. package/dist/chunks/chunk-GKKSP3UM.js.map +6 -0
  47. package/dist/chunks/{chunk-27H74FWU.js → chunk-GVJFPVYS.js} +8 -8
  48. package/dist/chunks/{chunk-QHS2U4NN.js → chunk-GYVA2PSC.js} +4 -4
  49. package/dist/chunks/{chunk-6DMSTACL.js → chunk-H2J6CJ7V.js} +2 -2
  50. package/dist/chunks/{chunk-E2MNVA3X.js → chunk-H7GNPOE4.js} +2 -2
  51. package/dist/chunks/{chunk-A4KAR4QQ.js → chunk-HHTNSCVJ.js} +16 -16
  52. package/dist/chunks/{chunk-SLY52PKG.js → chunk-I2I3IAEZ.js} +237 -84
  53. package/dist/chunks/chunk-I2I3IAEZ.js.map +6 -0
  54. package/dist/chunks/{chunk-2FMAMLA6.js → chunk-I3D6NUZZ.js} +3460 -5305
  55. package/dist/chunks/chunk-I3D6NUZZ.js.map +6 -0
  56. package/dist/chunks/{chunk-XBXY5NZT.js → chunk-I46H4EOM.js} +3 -3
  57. package/dist/chunks/{chunk-254GWXK4.js → chunk-I7L5TW6W.js} +3 -3
  58. package/dist/chunks/{chunk-FXFNLZJQ.js → chunk-JBEWCBMC.js} +22 -22
  59. package/dist/chunks/{chunk-FJONRQQU.js → chunk-JETLWXUE.js} +3 -1
  60. package/dist/chunks/{chunk-FJONRQQU.js.map → chunk-JETLWXUE.js.map} +1 -1
  61. package/dist/chunks/{chunk-NSTYXLBX.js → chunk-K52HIR6C.js} +4 -4
  62. package/dist/chunks/{chunk-X3OBHENI.js → chunk-K6OJ5K74.js} +2 -2
  63. package/dist/chunks/{chunk-ZJ5UKOA2.js → chunk-KJGWQ6NC.js} +9 -9
  64. package/dist/chunks/{chunk-BS6FOXOJ.js → chunk-KYV5EKPS.js} +4 -4
  65. package/dist/chunks/{chunk-LPV7K6CD.js → chunk-LPSFDEYX.js} +2 -2
  66. package/dist/chunks/{chunk-WKPGFS4M.js → chunk-MGIATWOY.js} +2 -2
  67. package/dist/chunks/{chunk-FSQAMX2B.js → chunk-MILB6YKG.js} +2 -2
  68. package/dist/chunks/{chunk-4D5TAS2U.js → chunk-MSKP7NPR.js} +5 -5
  69. package/dist/chunks/{chunk-IYUXWM2C.js → chunk-ND27BH3T.js} +2 -2
  70. package/dist/chunks/{chunk-G72BPPTI.js → chunk-NHE55VV7.js} +2 -2
  71. package/dist/chunks/{chunk-RFGGIXFP.js → chunk-NPS2VI2Z.js} +4 -4
  72. package/dist/chunks/{chunk-DXMEBNFO.js → chunk-NX4IICIS.js} +2 -2
  73. package/dist/chunks/{chunk-LTY7BFI5.js → chunk-OGME4EGW.js} +2 -2
  74. package/dist/chunks/{chunk-LMYSP45O.js → chunk-OJRTRJKG.js} +6 -6
  75. package/dist/chunks/{chunk-5EID532B.js → chunk-OVXKKQSB.js} +3 -3
  76. package/dist/chunks/{chunk-4QX7BHWN.js → chunk-P4BZKF4J.js} +2 -2
  77. package/dist/chunks/{chunk-MF3PRMES.js → chunk-P7IUXU5U.js} +21 -14
  78. package/dist/chunks/{chunk-MF3PRMES.js.map → chunk-P7IUXU5U.js.map} +1 -1
  79. package/dist/chunks/{chunk-SB2WDPYY.js → chunk-PSVPIBOJ.js} +2 -2
  80. package/dist/chunks/{chunk-VXCGRIBU.js → chunk-QC6NN5GF.js} +3 -3
  81. package/dist/chunks/{chunk-RTJA25RC.js → chunk-RJBG3BJ3.js} +2 -2
  82. package/dist/chunks/{chunk-LVRVFBEG.js → chunk-S6QORTKD.js} +4 -4
  83. package/dist/chunks/{chunk-GZYBAXZV.js → chunk-SEL7JXR6.js} +124 -4
  84. package/dist/chunks/chunk-SEL7JXR6.js.map +6 -0
  85. package/dist/chunks/{chunk-NRMZ5MTH.js → chunk-SOJ25KGD.js} +2 -2
  86. package/dist/chunks/{chunk-OGEMYZEF.js → chunk-UHZQBZ5O.js} +12 -12
  87. package/dist/chunks/{chunk-NKZYGRV7.js → chunk-VNSKI2LV.js} +2 -2
  88. package/dist/chunks/{chunk-JX6SB3NQ.js → chunk-W5OXVXRU.js} +3 -3
  89. package/dist/chunks/{chunk-CB7Z6IIB.js → chunk-WRVQTHUU.js} +4 -4
  90. package/dist/chunks/{chunk-SGEVDPXD.js → chunk-WSIOZBRG.js} +7 -7
  91. package/dist/chunks/{chunk-7UMDSVTC.js → chunk-WUVCXHP3.js} +3 -3
  92. package/dist/chunks/{chunk-PMLNAH25.js → chunk-XB24BZLK.js} +3 -3
  93. package/dist/chunks/{chunk-QMQL74PK.js → chunk-XMG4R3UA.js} +2 -2
  94. package/dist/chunks/{chunk-VT2JA366.js → chunk-XMYADRKW.js} +5 -5
  95. package/dist/chunks/{chunk-AN2N2TNY.js → chunk-XQIW6VVN.js} +53 -59
  96. package/dist/chunks/chunk-XQIW6VVN.js.map +6 -0
  97. package/dist/chunks/{chunk-M5ZSNRGP.js → chunk-Y4PRCFWU.js} +6 -6
  98. package/dist/chunks/{chunk-DUTPJ2SO.js → chunk-YKADLU4B.js} +3 -3
  99. package/dist/chunks/{chunk-QEKOEOHJ.js → chunk-YMJLZC5O.js} +2 -2
  100. package/dist/chunks/{chunk-BY6CYQHX.js → chunk-Z4GNYA6Y.js} +42 -4
  101. package/dist/chunks/chunk-Z4GNYA6Y.js.map +6 -0
  102. package/dist/chunks/{chunk-IAANVG4V.js → chunk-Z63R4LXP.js} +13 -12
  103. package/dist/chunks/chunk-Z63R4LXP.js.map +6 -0
  104. package/dist/chunks/{chunk-FB3S5MRG.js → chunk-Z77FS75T.js} +2 -2
  105. package/dist/chunks/{chunk-QSLIFWSL.js → chunk-ZGQRLKWT.js} +2 -2
  106. package/dist/chunks/{chunk-G2EMBDMV.js → chunk-ZUZGGJZ7.js} +5 -5
  107. package/dist/chunks/{chunk-TYOHF23M.js → chunk-ZXC266TK.js} +2 -2
  108. package/dist/chunks/{cli-runtime-Y6RCXLVR.js → cli-runtime-MYGJQDLV.js} +24 -26
  109. package/dist/chunks/cli-runtime-MYGJQDLV.js.map +6 -0
  110. package/dist/chunks/{commands-4OFJVDGG.js → commands-H7ACXN6M.js} +5 -5
  111. package/dist/chunks/{crash-report-DK7JVZST.js → crash-report-UXY573JK.js} +9 -9
  112. package/dist/chunks/{dist-J5IZ5RHZ.js → dist-3EMEM65J.js} +2 -2
  113. package/dist/chunks/{dist-ZUVUB3ON.js → dist-4U5A2ZJ3.js} +10 -4
  114. package/dist/chunks/dist-4U5A2ZJ3.js.map +6 -0
  115. package/dist/chunks/{dist-I7W73UPV.js → dist-BELIUOB4.js} +2 -2
  116. package/dist/chunks/{dist-XBUXZEEB.js → dist-GIFREI24.js} +14 -48
  117. package/dist/chunks/{dist-UE5ANCBW.js → dist-JO4TVMUR.js} +2 -2
  118. package/dist/chunks/{dist-GSM5OUES.js → dist-NDIGDMQE.js} +2 -2
  119. package/dist/chunks/{dist-LZI3XTGN.js → dist-WHMEHTPL.js} +2 -2
  120. package/dist/chunks/{dist-SYIWNJR2.js → dist-YYSHMORL.js} +15 -4
  121. package/dist/chunks/dist-YYSHMORL.js.map +6 -0
  122. package/dist/chunks/{doctor-PNCJ75WO.js → doctor-U7WSOSUQ.js} +20 -20
  123. package/dist/chunks/{drain-QWQAW66A.js → drain-DFKXW6IE.js} +88 -23
  124. package/dist/chunks/drain-DFKXW6IE.js.map +6 -0
  125. package/dist/chunks/{entry-SJIEJ27T.js → entry-G2QJGWJH.js} +6 -6
  126. package/dist/chunks/{eval-RCBIYBMS.js → eval-534ZMILS.js} +2 -2
  127. package/dist/chunks/{exec-7IZGFFAO.js → exec-HL6KDEJE.js} +75 -77
  128. package/dist/chunks/exec-HL6KDEJE.js.map +6 -0
  129. package/dist/chunks/{github-OFCHQMQQ.js → github-PRKZKRWW.js} +8 -8
  130. package/dist/chunks/{home-2BKP7YCM.js → home-JURWP3VY.js} +3 -3
  131. package/dist/chunks/{host-C3DTMFBF.js → host-PGJJZKUM.js} +10 -10
  132. package/dist/chunks/{host-queries-2WOFJ6R2.js → host-queries-EGFTIVAT.js} +18 -19
  133. package/dist/chunks/host-queries-EGFTIVAT.js.map +6 -0
  134. package/dist/chunks/{learn-MFLDNSJ5.js → learn-OKGG5EW2.js} +23 -25
  135. package/dist/chunks/learn-OKGG5EW2.js.map +6 -0
  136. package/dist/chunks/{learn-builtin-6TNUQK5W.js → learn-builtin-QJZUSSUU.js} +34 -35
  137. package/dist/chunks/learn-builtin-QJZUSSUU.js.map +6 -0
  138. package/dist/chunks/{lifecycle-YNYRR5K6.js → lifecycle-V3UVDMXA.js} +39 -40
  139. package/dist/chunks/{list-Z5NSXOD2.js → list-XCSUL6G4.js} +19 -19
  140. package/dist/chunks/{live-SW37S734.js → live-QZTEITO7.js} +18 -18
  141. package/dist/chunks/{login-6GLFH5VQ.js → login-6Y4ZLEFC.js} +14 -14
  142. package/dist/chunks/{logs-VS4CNANQ.js → logs-DJXPRXBK.js} +4 -4
  143. package/dist/chunks/{mcp-BIUWTK3H.js → mcp-XNF5FADI.js} +34 -34
  144. package/dist/chunks/{message-command-QRXOFM5S.js → message-command-H3EPW3MS.js} +56 -59
  145. package/dist/chunks/message-command-H3EPW3MS.js.map +6 -0
  146. package/dist/chunks/{open-QXTQRRCQ.js → open-SNBBOH2M.js} +8 -8
  147. package/dist/chunks/{operator-tools-Q6HK4MA2.js → operator-tools-7S4ALYYW.js} +14 -15
  148. package/dist/chunks/operator-tools-7S4ALYYW.js.map +6 -0
  149. package/dist/chunks/{output-schema-A3PQYTK5.js → output-schema-77F5CGV7.js} +3 -3
  150. package/dist/chunks/{pal-ZJACKHIC.js → pal-ZXCYQSYW.js} +24 -24
  151. package/dist/chunks/{peers-2YP4IM4S.js → peers-PHMKJFID.js} +6 -6
  152. package/dist/chunks/{providers-SPJTQ7DH.js → providers-OKTI6G5L.js} +13 -13
  153. package/dist/chunks/{pty-RXXCCDMS.js → pty-KFNOSO7X.js} +3 -3
  154. package/dist/chunks/resume-ROMJSMZZ.js +23 -0
  155. package/dist/chunks/{resume-command-AHIBTJ5A.js → resume-command-U6RCVZ2R.js} +5 -5
  156. package/dist/chunks/{schedule-FAYA4RGN.js → schedule-Q4VMZ43Y.js} +8 -8
  157. package/dist/chunks/{service-32KSKDB5.js → service-BEAEWKMI.js} +45 -46
  158. package/dist/chunks/service-BEAEWKMI.js.map +6 -0
  159. package/dist/chunks/{skills-JAIUQKZT.js → skills-RAVLWF4L.js} +18 -18
  160. package/dist/chunks/{start-check-BM7VJFRP.js → start-check-AZMTDSWM.js} +2 -2
  161. package/dist/chunks/{startup-failure-WHJBBFTI.js → startup-failure-TGJKOM6D.js} +2 -2
  162. package/dist/chunks/{state-Q5IXQJK3.js → state-SKGHVQR7.js} +6 -6
  163. package/dist/chunks/{store-SPUXEFBY.js → store-QGUYVO7G.js} +3 -3
  164. package/dist/chunks/{store-JXLQEQ2H.js → store-UVGMMJUS.js} +10 -11
  165. package/dist/chunks/{store-XATXIX36.js → store-ZH6ORGCI.js} +6 -6
  166. package/dist/chunks/{store-SKZHW2GU.js → store-ZO7J3SZP.js} +4 -4
  167. package/dist/chunks/{tui-JYX3XG2G.js → tui-P4LC4FMM.js} +569 -212
  168. package/dist/chunks/tui-P4LC4FMM.js.map +6 -0
  169. package/dist/chunks/{upgrade-TOFDBZ3W.js → upgrade-JB72VMOW.js} +7 -7
  170. package/dist/chunks/{workspaces-57VON5LZ.js → workspaces-YJMPMYMZ.js} +17 -17
  171. package/dist/chunks/{worktree-TN7TIOKY.js → worktree-S24I7RFM.js} +16 -17
  172. package/dist/chunks/worktree-S24I7RFM.js.map +6 -0
  173. package/dist/cli.d.ts +1 -1
  174. package/dist/cli.d.ts.map +1 -1
  175. package/dist/commands/acp-harness.d.ts.map +1 -1
  176. package/dist/commands/acp.d.ts.map +1 -1
  177. package/dist/commands/desktop-host.d.ts.map +1 -1
  178. package/dist/commands/exec-flags.d.ts +2 -2
  179. package/dist/commands/learn.d.ts +1 -5
  180. package/dist/commands/learn.d.ts.map +1 -1
  181. package/dist/commands/learning.d.ts.map +1 -1
  182. package/dist/commands/manifest.d.ts +0 -1
  183. package/dist/commands/manifest.d.ts.map +1 -1
  184. package/dist/commands/permission-preview.d.ts +14 -4
  185. package/dist/commands/permission-preview.d.ts.map +1 -1
  186. package/dist/config/load.d.ts.map +1 -1
  187. package/dist/config/schema.d.ts +12 -0
  188. package/dist/config/schema.d.ts.map +1 -1
  189. package/dist/config/turn-guards.d.ts +29 -0
  190. package/dist/config/turn-guards.d.ts.map +1 -1
  191. package/dist/context/doctrine.d.ts +2 -2
  192. package/dist/context/runtime-message.d.ts.map +1 -1
  193. package/dist/context/system-prompt.d.ts +15 -18
  194. package/dist/context/system-prompt.d.ts.map +1 -1
  195. package/dist/index.js +32 -32
  196. package/dist/integrations/learning/guidance-history.d.ts +5 -5
  197. package/dist/integrations/learning/guidance-history.d.ts.map +1 -1
  198. package/dist/integrations/learning/project-guidance.d.ts +5 -4
  199. package/dist/integrations/learning/project-guidance.d.ts.map +1 -1
  200. package/dist/integrations/learning/session-feed.d.ts +1 -1
  201. package/dist/integrations/learning/session-store.d.ts +1 -2
  202. package/dist/integrations/learning/session-store.d.ts.map +1 -1
  203. package/dist/integrations/learning/target.d.ts +28 -0
  204. package/dist/integrations/learning/target.d.ts.map +1 -0
  205. package/dist/integrations/sessions/session-start.d.ts +20 -0
  206. package/dist/integrations/sessions/session-start.d.ts.map +1 -0
  207. package/dist/integrations/state/project-lookup.d.ts +14 -0
  208. package/dist/integrations/state/project-lookup.d.ts.map +1 -0
  209. package/dist/memory/manage.d.ts +74 -0
  210. package/dist/memory/manage.d.ts.map +1 -0
  211. package/dist/memory/presentation.d.ts +1 -0
  212. package/dist/memory/presentation.d.ts.map +1 -1
  213. package/dist/permissions/launch.d.ts +3 -3
  214. package/dist/permissions/rules.d.ts +1 -1
  215. package/dist/permissions/rules.d.ts.map +1 -1
  216. package/dist/permissions/session-allow.d.ts +3 -7
  217. package/dist/permissions/session-allow.d.ts.map +1 -1
  218. package/dist/reminders/task-nudge.d.ts +4 -4
  219. package/dist/tui/App.d.ts +15 -0
  220. package/dist/tui/App.d.ts.map +1 -1
  221. package/dist/tui/agent.d.ts +46 -14
  222. package/dist/tui/agent.d.ts.map +1 -1
  223. package/dist/tui/memory-used-row.d.ts +21 -0
  224. package/dist/tui/memory-used-row.d.ts.map +1 -0
  225. package/dist/tui/restored-rows.d.ts +9 -0
  226. package/dist/tui/restored-rows.d.ts.map +1 -1
  227. package/dist/tui/slashCommands.d.ts +5 -0
  228. package/dist/tui/slashCommands.d.ts.map +1 -1
  229. package/package.json +8 -8
  230. package/dist/chunks/acp-6E7WA7PC.js.map +0 -6
  231. package/dist/chunks/activity-command-WIR3M62U.js.map +0 -6
  232. package/dist/chunks/agent-session-W5WNX3PL.js +0 -71
  233. package/dist/chunks/archive-4MGYPLQH.js.map +0 -6
  234. package/dist/chunks/chat-O2MSJVXT.js.map +0 -6
  235. package/dist/chunks/chunk-2C7UAKHB.js.map +0 -6
  236. package/dist/chunks/chunk-2FMAMLA6.js.map +0 -6
  237. package/dist/chunks/chunk-4GIE5IWR.js +0 -197
  238. package/dist/chunks/chunk-4GIE5IWR.js.map +0 -6
  239. package/dist/chunks/chunk-6Z77KWWO.js +0 -534
  240. package/dist/chunks/chunk-6Z77KWWO.js.map +0 -6
  241. package/dist/chunks/chunk-7PWQAIED.js +0 -110
  242. package/dist/chunks/chunk-7PWQAIED.js.map +0 -6
  243. package/dist/chunks/chunk-AKBOGIYT.js +0 -257
  244. package/dist/chunks/chunk-AKBOGIYT.js.map +0 -6
  245. package/dist/chunks/chunk-AN2N2TNY.js.map +0 -6
  246. package/dist/chunks/chunk-BY6CYQHX.js.map +0 -6
  247. package/dist/chunks/chunk-CWSFF2SL.js.map +0 -6
  248. package/dist/chunks/chunk-D56OQGID.js +0 -134
  249. package/dist/chunks/chunk-D56OQGID.js.map +0 -6
  250. package/dist/chunks/chunk-GZYBAXZV.js.map +0 -6
  251. package/dist/chunks/chunk-HNYRA7Y4.js +0 -645
  252. package/dist/chunks/chunk-HNYRA7Y4.js.map +0 -6
  253. package/dist/chunks/chunk-IAANVG4V.js.map +0 -6
  254. package/dist/chunks/chunk-LTJPPUPC.js.map +0 -6
  255. package/dist/chunks/chunk-SLY52PKG.js.map +0 -6
  256. package/dist/chunks/chunk-XMOV5PMX.js +0 -49
  257. package/dist/chunks/chunk-XMOV5PMX.js.map +0 -6
  258. package/dist/chunks/chunk-Z33RQI5X.js.map +0 -6
  259. package/dist/chunks/cli-runtime-Y6RCXLVR.js.map +0 -6
  260. package/dist/chunks/dist-SYIWNJR2.js.map +0 -6
  261. package/dist/chunks/dist-ZUVUB3ON.js.map +0 -6
  262. package/dist/chunks/drain-QWQAW66A.js.map +0 -6
  263. package/dist/chunks/exec-7IZGFFAO.js.map +0 -6
  264. package/dist/chunks/host-queries-2WOFJ6R2.js.map +0 -6
  265. package/dist/chunks/learn-MFLDNSJ5.js.map +0 -6
  266. package/dist/chunks/learn-builtin-6TNUQK5W.js.map +0 -6
  267. package/dist/chunks/message-command-QRXOFM5S.js.map +0 -6
  268. package/dist/chunks/operator-tools-Q6HK4MA2.js.map +0 -6
  269. package/dist/chunks/resident-HHB7ITKS.js +0 -1042
  270. package/dist/chunks/resident-HHB7ITKS.js.map +0 -6
  271. package/dist/chunks/resume-XJPW6CTY.js +0 -24
  272. package/dist/chunks/service-32KSKDB5.js.map +0 -6
  273. package/dist/chunks/session-step-PLRO7VRO.js +0 -33
  274. package/dist/chunks/store-XATXIX36.js.map +0 -6
  275. package/dist/chunks/tui-JYX3XG2G.js.map +0 -6
  276. package/dist/chunks/worktree-TN7TIOKY.js.map +0 -6
  277. package/dist/commands/resident-flags.d.ts +0 -24
  278. package/dist/commands/resident-flags.d.ts.map +0 -1
  279. package/dist/commands/resident.d.ts +0 -22
  280. package/dist/commands/resident.d.ts.map +0 -1
  281. package/dist/integrations/resident/foreground.d.ts +0 -19
  282. package/dist/integrations/resident/foreground.d.ts.map +0 -1
  283. package/dist/integrations/resident/inspection.d.ts +0 -13
  284. package/dist/integrations/resident/inspection.d.ts.map +0 -1
  285. package/dist/integrations/resident/learning-storage.d.ts +0 -10
  286. package/dist/integrations/resident/learning-storage.d.ts.map +0 -1
  287. package/dist/integrations/resident/lifecycle-errors.d.ts +0 -9
  288. package/dist/integrations/resident/lifecycle-errors.d.ts.map +0 -1
  289. package/dist/integrations/resident/owned-runner.d.ts +0 -17
  290. package/dist/integrations/resident/owned-runner.d.ts.map +0 -1
  291. package/dist/integrations/resident/runner-control.d.ts +0 -47
  292. package/dist/integrations/resident/runner-control.d.ts.map +0 -1
  293. package/dist/integrations/resident/runner-launch.d.ts +0 -52
  294. package/dist/integrations/resident/runner-launch.d.ts.map +0 -1
  295. package/dist/integrations/resident/runner-store.d.ts +0 -44
  296. package/dist/integrations/resident/runner-store.d.ts.map +0 -1
  297. package/dist/integrations/resident/runner-worker.d.ts +0 -2
  298. package/dist/integrations/resident/runner-worker.d.ts.map +0 -1
  299. package/dist/integrations/resident/runner-worker.js +0 -213
  300. package/dist/integrations/resident/runner-worker.js.map +0 -6
  301. package/dist/integrations/resident/session-log-reads.d.ts +0 -37
  302. package/dist/integrations/resident/session-log-reads.d.ts.map +0 -1
  303. package/dist/integrations/resident/session-step.d.ts +0 -31
  304. package/dist/integrations/resident/session-step.d.ts.map +0 -1
  305. package/dist/integrations/resident/storage.d.ts +0 -39
  306. package/dist/integrations/resident/storage.d.ts.map +0 -1
  307. package/dist/integrations/resident/tool-evidence.d.ts +0 -8
  308. package/dist/integrations/resident/tool-evidence.d.ts.map +0 -1
  309. package/dist/integrations/resident/verification.d.ts +0 -11
  310. package/dist/integrations/resident/verification.d.ts.map +0 -1
  311. /package/dist/chunks/{add-7JCKYPUA.js.map → add-DOZHWSWI.js.map} +0 -0
  312. /package/dist/chunks/{agent-OHX3WZVR.js.map → agent-5JRQL3S4.js.map} +0 -0
  313. /package/dist/chunks/{agent-session-W5WNX3PL.js.map → agent-session-4EY73CXK.js.map} +0 -0
  314. /package/dist/chunks/{bin-main-3EO3R6VC.js.map → bin-main-AX5XWAYL.js.map} +0 -0
  315. /package/dist/chunks/{binding-BG2CMH3P.js.map → binding-2J3XRGTV.js.map} +0 -0
  316. /package/dist/chunks/{browser-DW7JKMX5.js.map → browser-ZTE2GPUG.js.map} +0 -0
  317. /package/dist/chunks/{chunk-EFB45I7C.js.map → chunk-2DMSDS4P.js.map} +0 -0
  318. /package/dist/chunks/{chunk-B5UX6EXN.js.map → chunk-2U4JYS5G.js.map} +0 -0
  319. /package/dist/chunks/{chunk-IEVJDIWE.js.map → chunk-4B5FTAWO.js.map} +0 -0
  320. /package/dist/chunks/{chunk-EJDGKLLI.js.map → chunk-4HRZKDBM.js.map} +0 -0
  321. /package/dist/chunks/{chunk-HB6IQWVB.js.map → chunk-5FAZ4MUN.js.map} +0 -0
  322. /package/dist/chunks/{chunk-5KAIJVJU.js.map → chunk-6P47EW5E.js.map} +0 -0
  323. /package/dist/chunks/{chunk-GMUWAUKQ.js.map → chunk-6PWRKA5T.js.map} +0 -0
  324. /package/dist/chunks/{chunk-TKRQLL3F.js.map → chunk-6UDNGHZ4.js.map} +0 -0
  325. /package/dist/chunks/{chunk-BGDDICSF.js.map → chunk-75R4INRW.js.map} +0 -0
  326. /package/dist/chunks/{chunk-XH5YF2YX.js.map → chunk-7HYNH2U5.js.map} +0 -0
  327. /package/dist/chunks/{chunk-7WTJTXZH.js.map → chunk-AGRTEIMU.js.map} +0 -0
  328. /package/dist/chunks/{chunk-D4WT2YSJ.js.map → chunk-APHOA5CS.js.map} +0 -0
  329. /package/dist/chunks/{chunk-S7APLRCX.js.map → chunk-BVLHRE75.js.map} +0 -0
  330. /package/dist/chunks/{chunk-YUG4WMFT.js.map → chunk-CGCBVVQ4.js.map} +0 -0
  331. /package/dist/chunks/{chunk-L2A4QFEG.js.map → chunk-D6BIHB5L.js.map} +0 -0
  332. /package/dist/chunks/{chunk-FBALB74C.js.map → chunk-DY2CWVAO.js.map} +0 -0
  333. /package/dist/chunks/{chunk-3JP6N64M.js.map → chunk-E33VJKQY.js.map} +0 -0
  334. /package/dist/chunks/{chunk-YAFSPH3T.js.map → chunk-FP6K5R6O.js.map} +0 -0
  335. /package/dist/chunks/{chunk-E3KFGGJE.js.map → chunk-G6FR3EVZ.js.map} +0 -0
  336. /package/dist/chunks/{chunk-V7IBTSCB.js.map → chunk-GE5TBMXR.js.map} +0 -0
  337. /package/dist/chunks/{chunk-27H74FWU.js.map → chunk-GVJFPVYS.js.map} +0 -0
  338. /package/dist/chunks/{chunk-QHS2U4NN.js.map → chunk-GYVA2PSC.js.map} +0 -0
  339. /package/dist/chunks/{chunk-6DMSTACL.js.map → chunk-H2J6CJ7V.js.map} +0 -0
  340. /package/dist/chunks/{chunk-E2MNVA3X.js.map → chunk-H7GNPOE4.js.map} +0 -0
  341. /package/dist/chunks/{chunk-A4KAR4QQ.js.map → chunk-HHTNSCVJ.js.map} +0 -0
  342. /package/dist/chunks/{chunk-XBXY5NZT.js.map → chunk-I46H4EOM.js.map} +0 -0
  343. /package/dist/chunks/{chunk-254GWXK4.js.map → chunk-I7L5TW6W.js.map} +0 -0
  344. /package/dist/chunks/{chunk-FXFNLZJQ.js.map → chunk-JBEWCBMC.js.map} +0 -0
  345. /package/dist/chunks/{chunk-NSTYXLBX.js.map → chunk-K52HIR6C.js.map} +0 -0
  346. /package/dist/chunks/{chunk-X3OBHENI.js.map → chunk-K6OJ5K74.js.map} +0 -0
  347. /package/dist/chunks/{chunk-ZJ5UKOA2.js.map → chunk-KJGWQ6NC.js.map} +0 -0
  348. /package/dist/chunks/{chunk-BS6FOXOJ.js.map → chunk-KYV5EKPS.js.map} +0 -0
  349. /package/dist/chunks/{chunk-LPV7K6CD.js.map → chunk-LPSFDEYX.js.map} +0 -0
  350. /package/dist/chunks/{chunk-WKPGFS4M.js.map → chunk-MGIATWOY.js.map} +0 -0
  351. /package/dist/chunks/{chunk-FSQAMX2B.js.map → chunk-MILB6YKG.js.map} +0 -0
  352. /package/dist/chunks/{chunk-4D5TAS2U.js.map → chunk-MSKP7NPR.js.map} +0 -0
  353. /package/dist/chunks/{chunk-IYUXWM2C.js.map → chunk-ND27BH3T.js.map} +0 -0
  354. /package/dist/chunks/{chunk-G72BPPTI.js.map → chunk-NHE55VV7.js.map} +0 -0
  355. /package/dist/chunks/{chunk-RFGGIXFP.js.map → chunk-NPS2VI2Z.js.map} +0 -0
  356. /package/dist/chunks/{chunk-DXMEBNFO.js.map → chunk-NX4IICIS.js.map} +0 -0
  357. /package/dist/chunks/{chunk-LTY7BFI5.js.map → chunk-OGME4EGW.js.map} +0 -0
  358. /package/dist/chunks/{chunk-LMYSP45O.js.map → chunk-OJRTRJKG.js.map} +0 -0
  359. /package/dist/chunks/{chunk-5EID532B.js.map → chunk-OVXKKQSB.js.map} +0 -0
  360. /package/dist/chunks/{chunk-4QX7BHWN.js.map → chunk-P4BZKF4J.js.map} +0 -0
  361. /package/dist/chunks/{chunk-SB2WDPYY.js.map → chunk-PSVPIBOJ.js.map} +0 -0
  362. /package/dist/chunks/{chunk-VXCGRIBU.js.map → chunk-QC6NN5GF.js.map} +0 -0
  363. /package/dist/chunks/{chunk-RTJA25RC.js.map → chunk-RJBG3BJ3.js.map} +0 -0
  364. /package/dist/chunks/{chunk-LVRVFBEG.js.map → chunk-S6QORTKD.js.map} +0 -0
  365. /package/dist/chunks/{chunk-NRMZ5MTH.js.map → chunk-SOJ25KGD.js.map} +0 -0
  366. /package/dist/chunks/{chunk-OGEMYZEF.js.map → chunk-UHZQBZ5O.js.map} +0 -0
  367. /package/dist/chunks/{chunk-NKZYGRV7.js.map → chunk-VNSKI2LV.js.map} +0 -0
  368. /package/dist/chunks/{chunk-JX6SB3NQ.js.map → chunk-W5OXVXRU.js.map} +0 -0
  369. /package/dist/chunks/{chunk-CB7Z6IIB.js.map → chunk-WRVQTHUU.js.map} +0 -0
  370. /package/dist/chunks/{chunk-SGEVDPXD.js.map → chunk-WSIOZBRG.js.map} +0 -0
  371. /package/dist/chunks/{chunk-7UMDSVTC.js.map → chunk-WUVCXHP3.js.map} +0 -0
  372. /package/dist/chunks/{chunk-PMLNAH25.js.map → chunk-XB24BZLK.js.map} +0 -0
  373. /package/dist/chunks/{chunk-QMQL74PK.js.map → chunk-XMG4R3UA.js.map} +0 -0
  374. /package/dist/chunks/{chunk-VT2JA366.js.map → chunk-XMYADRKW.js.map} +0 -0
  375. /package/dist/chunks/{chunk-M5ZSNRGP.js.map → chunk-Y4PRCFWU.js.map} +0 -0
  376. /package/dist/chunks/{chunk-DUTPJ2SO.js.map → chunk-YKADLU4B.js.map} +0 -0
  377. /package/dist/chunks/{chunk-QEKOEOHJ.js.map → chunk-YMJLZC5O.js.map} +0 -0
  378. /package/dist/chunks/{chunk-FB3S5MRG.js.map → chunk-Z77FS75T.js.map} +0 -0
  379. /package/dist/chunks/{chunk-QSLIFWSL.js.map → chunk-ZGQRLKWT.js.map} +0 -0
  380. /package/dist/chunks/{chunk-G2EMBDMV.js.map → chunk-ZUZGGJZ7.js.map} +0 -0
  381. /package/dist/chunks/{chunk-TYOHF23M.js.map → chunk-ZXC266TK.js.map} +0 -0
  382. /package/dist/chunks/{commands-4OFJVDGG.js.map → commands-H7ACXN6M.js.map} +0 -0
  383. /package/dist/chunks/{crash-report-DK7JVZST.js.map → crash-report-UXY573JK.js.map} +0 -0
  384. /package/dist/chunks/{dist-J5IZ5RHZ.js.map → dist-3EMEM65J.js.map} +0 -0
  385. /package/dist/chunks/{dist-I7W73UPV.js.map → dist-BELIUOB4.js.map} +0 -0
  386. /package/dist/chunks/{dist-XBUXZEEB.js.map → dist-GIFREI24.js.map} +0 -0
  387. /package/dist/chunks/{dist-UE5ANCBW.js.map → dist-JO4TVMUR.js.map} +0 -0
  388. /package/dist/chunks/{dist-GSM5OUES.js.map → dist-NDIGDMQE.js.map} +0 -0
  389. /package/dist/chunks/{dist-LZI3XTGN.js.map → dist-WHMEHTPL.js.map} +0 -0
  390. /package/dist/chunks/{doctor-PNCJ75WO.js.map → doctor-U7WSOSUQ.js.map} +0 -0
  391. /package/dist/chunks/{entry-SJIEJ27T.js.map → entry-G2QJGWJH.js.map} +0 -0
  392. /package/dist/chunks/{eval-RCBIYBMS.js.map → eval-534ZMILS.js.map} +0 -0
  393. /package/dist/chunks/{github-OFCHQMQQ.js.map → github-PRKZKRWW.js.map} +0 -0
  394. /package/dist/chunks/{home-2BKP7YCM.js.map → home-JURWP3VY.js.map} +0 -0
  395. /package/dist/chunks/{host-C3DTMFBF.js.map → host-PGJJZKUM.js.map} +0 -0
  396. /package/dist/chunks/{lifecycle-YNYRR5K6.js.map → lifecycle-V3UVDMXA.js.map} +0 -0
  397. /package/dist/chunks/{list-Z5NSXOD2.js.map → list-XCSUL6G4.js.map} +0 -0
  398. /package/dist/chunks/{live-SW37S734.js.map → live-QZTEITO7.js.map} +0 -0
  399. /package/dist/chunks/{login-6GLFH5VQ.js.map → login-6Y4ZLEFC.js.map} +0 -0
  400. /package/dist/chunks/{logs-VS4CNANQ.js.map → logs-DJXPRXBK.js.map} +0 -0
  401. /package/dist/chunks/{mcp-BIUWTK3H.js.map → mcp-XNF5FADI.js.map} +0 -0
  402. /package/dist/chunks/{open-QXTQRRCQ.js.map → open-SNBBOH2M.js.map} +0 -0
  403. /package/dist/chunks/{output-schema-A3PQYTK5.js.map → output-schema-77F5CGV7.js.map} +0 -0
  404. /package/dist/chunks/{pal-ZJACKHIC.js.map → pal-ZXCYQSYW.js.map} +0 -0
  405. /package/dist/chunks/{peers-2YP4IM4S.js.map → peers-PHMKJFID.js.map} +0 -0
  406. /package/dist/chunks/{providers-SPJTQ7DH.js.map → providers-OKTI6G5L.js.map} +0 -0
  407. /package/dist/chunks/{pty-RXXCCDMS.js.map → pty-KFNOSO7X.js.map} +0 -0
  408. /package/dist/chunks/{resume-XJPW6CTY.js.map → resume-ROMJSMZZ.js.map} +0 -0
  409. /package/dist/chunks/{resume-command-AHIBTJ5A.js.map → resume-command-U6RCVZ2R.js.map} +0 -0
  410. /package/dist/chunks/{schedule-FAYA4RGN.js.map → schedule-Q4VMZ43Y.js.map} +0 -0
  411. /package/dist/chunks/{skills-JAIUQKZT.js.map → skills-RAVLWF4L.js.map} +0 -0
  412. /package/dist/chunks/{session-step-PLRO7VRO.js.map → start-check-AZMTDSWM.js.map} +0 -0
  413. /package/dist/chunks/{startup-failure-WHJBBFTI.js.map → startup-failure-TGJKOM6D.js.map} +0 -0
  414. /package/dist/chunks/{state-Q5IXQJK3.js.map → state-SKGHVQR7.js.map} +0 -0
  415. /package/dist/chunks/{start-check-BM7VJFRP.js.map → store-QGUYVO7G.js.map} +0 -0
  416. /package/dist/chunks/{store-JXLQEQ2H.js.map → store-UVGMMJUS.js.map} +0 -0
  417. /package/dist/chunks/{store-SKZHW2GU.js.map → store-ZH6ORGCI.js.map} +0 -0
  418. /package/dist/chunks/{store-SPUXEFBY.js.map → store-ZO7J3SZP.js.map} +0 -0
  419. /package/dist/chunks/{upgrade-TOFDBZ3W.js.map → upgrade-JB72VMOW.js.map} +0 -0
  420. /package/dist/chunks/{workspaces-57VON5LZ.js.map → workspaces-YJMPMYMZ.js.map} +0 -0
@@ -1,8 +1,5 @@
1
1
  import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
- import {
4
- selectDesktopBackend
5
- } from "./chunk-NRMZ5MTH.js";
6
3
  import {
7
4
  NAMZU_COMPACT_WORDMARK,
8
5
  NAMZU_WORDMARK,
@@ -14,10 +11,13 @@ import {
14
11
  confirmationView,
15
12
  describeChanges,
16
13
  permissionsChanged
17
- } from "./chunk-4QX7BHWN.js";
14
+ } from "./chunk-P4BZKF4J.js";
18
15
  import {
19
16
  visibleScheduleMessage
20
17
  } from "./chunk-NADQQMMG.js";
18
+ import {
19
+ selectDesktopBackend
20
+ } from "./chunk-SOJ25KGD.js";
21
21
  import {
22
22
  TURN_LIMIT_FIELDS,
23
23
  ThemeEpochContext,
@@ -54,15 +54,15 @@ import {
54
54
  turnLimitCommands,
55
55
  useThemeEpoch,
56
56
  useThemeSubscription
57
- } from "./chunk-LTJPPUPC.js";
57
+ } from "./chunk-525JOC3P.js";
58
58
  import {
59
59
  handleTerminationSignals
60
- } from "./chunk-SB2WDPYY.js";
60
+ } from "./chunk-PSVPIBOJ.js";
61
61
  import "./chunk-R66H2G5R.js";
62
62
  import {
63
63
  deleteUserConfigValue,
64
64
  setUserConfigValue
65
- } from "./chunk-3JP6N64M.js";
65
+ } from "./chunk-E33VJKQY.js";
66
66
  import {
67
67
  describeAllCredentialsLogout,
68
68
  describeApiKeyLogout,
@@ -72,14 +72,14 @@ import {
72
72
  describeProviderLogout
73
73
  } from "./chunk-MDK4RMBQ.js";
74
74
  import {
75
- reportCrash
76
- } from "./chunk-DUTPJ2SO.js";
75
+ applyProviderFlags
76
+ } from "./chunk-OVXKKQSB.js";
77
77
  import {
78
78
  BYPASS_CONSENT_BODY,
79
79
  BYPASS_CONSENT_TITLE,
80
80
  acknowledgeBypass,
81
81
  hasAcknowledgedBypass
82
- } from "./chunk-G72BPPTI.js";
82
+ } from "./chunk-NHE55VV7.js";
83
83
  import {
84
84
  applyFallbackFlag,
85
85
  capChoiceLines,
@@ -90,19 +90,16 @@ import {
90
90
  truncateChoiceText,
91
91
  wrapBalancedText,
92
92
  wrapChoiceText
93
- } from "./chunk-XH5YF2YX.js";
93
+ } from "./chunk-7HYNH2U5.js";
94
94
  import {
95
95
  settleAnsweredPark
96
- } from "./chunk-A4KAR4QQ.js";
96
+ } from "./chunk-HHTNSCVJ.js";
97
+ import "./chunk-GWQEMJFS.js";
97
98
  import {
98
99
  DELIVERY_READ_LIMIT,
99
100
  readSourceDeliveryPage,
100
101
  takeSuppressedCount
101
- } from "./chunk-YAFSPH3T.js";
102
- import {
103
- callsCount
104
- } from "./chunk-HFY2647W.js";
105
- import "./chunk-GWQEMJFS.js";
102
+ } from "./chunk-FP6K5R6O.js";
106
103
  import {
107
104
  DEFAULT_MAX_ITERATIONS,
108
105
  DEFAULT_TIMEOUT_MS,
@@ -115,29 +112,36 @@ import {
115
112
  runsPerDay,
116
113
  scriptShellUnavailableReason,
117
114
  verifyScheduledScript
118
- } from "./chunk-RFGGIXFP.js";
119
- import "./chunk-X3OBHENI.js";
115
+ } from "./chunk-NPS2VI2Z.js";
116
+ import {
117
+ callsCount
118
+ } from "./chunk-HFY2647W.js";
119
+ import "./chunk-K6OJ5K74.js";
120
120
  import {
121
121
  allowsCommands,
122
122
  compileJobPolicy,
123
123
  compileScriptCheckPolicy,
124
124
  isPresetName
125
- } from "./chunk-QHS2U4NN.js";
125
+ } from "./chunk-GYVA2PSC.js";
126
+ import "./chunk-XEUQN4JC.js";
126
127
  import {
127
128
  formatResumeShellCommand,
128
129
  parkedRunWords,
129
130
  resumeCommand
130
- } from "./chunk-VT2JA366.js";
131
+ } from "./chunk-XMYADRKW.js";
131
132
  import {
132
133
  appendHistory,
133
134
  nextFireOf,
134
135
  readHistory,
135
136
  readState
136
- } from "./chunk-RTJA25RC.js";
137
+ } from "./chunk-RJBG3BJ3.js";
137
138
  import {
138
139
  callEndpoint,
139
140
  readEndpoint
140
141
  } from "./chunk-6YG7D7U4.js";
142
+ import {
143
+ reportCrash
144
+ } from "./chunk-YKADLU4B.js";
141
145
  import {
142
146
  backgroundFromColorFgBg,
143
147
  queryTerminalBackground
@@ -150,7 +154,7 @@ import {
150
154
  hostSlot,
151
155
  hostedByHost,
152
156
  workspacesSignal
153
- } from "./chunk-WKPGFS4M.js";
157
+ } from "./chunk-MGIATWOY.js";
154
158
  import {
155
159
  motionAllowed,
156
160
  reducedMotion,
@@ -166,7 +170,7 @@ import {
166
170
  openLivePeers,
167
171
  peerMailLabel,
168
172
  peerMailMessage
169
- } from "./chunk-HB6IQWVB.js";
173
+ } from "./chunk-5FAZ4MUN.js";
170
174
  import {
171
175
  AUTO_CHOICE_ID,
172
176
  PR_NONE,
@@ -180,25 +184,24 @@ import {
180
184
  sectionHeading,
181
185
  withAutoChoice,
182
186
  writeConversationExport
183
- } from "./chunk-5KAIJVJU.js";
187
+ } from "./chunk-6P47EW5E.js";
184
188
  import {
185
189
  tuiPalDefinition,
186
190
  tuiPalEnvironment,
187
191
  tuiPalOwner,
188
192
  tuiPalPreferences
189
- } from "./chunk-SGEVDPXD.js";
193
+ } from "./chunk-WSIOZBRG.js";
190
194
  import {
191
195
  isModelOnlyContext,
192
196
  runtimeContextLabel
193
- } from "./chunk-FJONRQQU.js";
194
- import "./chunk-254GWXK4.js";
195
- import "./chunk-ZWA2JRJV.js";
196
- import "./chunk-IAANVG4V.js";
197
- import "./chunk-E3KFGGJE.js";
197
+ } from "./chunk-JETLWXUE.js";
198
+ import "./chunk-I7L5TW6W.js";
199
+ import "./chunk-Z63R4LXP.js";
200
+ import "./chunk-G6FR3EVZ.js";
198
201
  import {
199
202
  claimPalConversation,
200
203
  listPalConversations
201
- } from "./chunk-BS6FOXOJ.js";
204
+ } from "./chunk-KYV5EKPS.js";
202
205
  import {
203
206
  COMPACTED_HINT,
204
207
  COMPACTING_LABEL,
@@ -206,6 +209,8 @@ import {
206
209
  COMPACT_RESULT_HINT,
207
210
  DEFAULT_AGENT_PHASE,
208
211
  DEFAULT_AGENT_WORKFLOW,
212
+ DELETE_ALL,
213
+ DELETE_ALL_RECORDED,
209
214
  EMPTY_GROUP,
210
215
  EXPAND_HINT,
211
216
  HINT_INTERVAL_MS,
@@ -218,10 +223,12 @@ import {
218
223
  PHASE_NOTE_KEY_PREFIX,
219
224
  PROGRESS_LOOK_MIN_GAP_MS,
220
225
  PROGRESS_LOOK_MS,
226
+ RECALLED_MEMORY_KEY,
221
227
  TURN_STOPPED_LINE,
222
228
  WORKFLOW_BACKGROUND_NOTE,
223
229
  WORKFLOW_TOOL_NAME,
224
230
  WORKSPACE_PREVIEW_ROWS,
231
+ ageLabel,
225
232
  allowsFor,
226
233
  allowsForBatch,
227
234
  appendMemoryWithStatus,
@@ -235,6 +242,9 @@ import {
235
242
  createDecisionPoints,
236
243
  createQuestionGate,
237
244
  declinedLine,
245
+ deleteAllLine,
246
+ deleteOutcomeLine,
247
+ deleteRecordedLine,
238
248
  describeAllows,
239
249
  describeCapabilityNotice,
240
250
  describeHistoryRepairNotice,
@@ -251,18 +261,26 @@ import {
251
261
  groupText,
252
262
  hiddenLinesHint,
253
263
  hintRows,
264
+ historyHoldsAnyMemory,
254
265
  isSessionPlanPath,
266
+ listMatches,
267
+ matchMemories,
255
268
  maybeCreateDecisionModel,
269
+ memoryDescription,
270
+ memoryLabel,
271
+ memoryListChoices,
256
272
  mergeGroups,
257
273
  modelListingCause,
258
- mustAskPerson,
274
+ originLabel,
259
275
  plainConnectorSummary,
260
276
  plainDiffRows,
261
277
  planApprovalRows,
262
278
  probeAgentSession,
263
279
  proposedBody,
264
280
  readMemory,
281
+ recordedMemories,
265
282
  renderCheckpoints,
283
+ renderMemoryDetail,
266
284
  renderMemoryReport,
267
285
  renderMemorySaveResult,
268
286
  renderRestore,
@@ -283,12 +301,12 @@ import {
283
301
  webLiveStatus,
284
302
  webSettledLine,
285
303
  withDebugDetail
286
- } from "./chunk-2C7UAKHB.js";
304
+ } from "./chunk-5IFRFROQ.js";
287
305
  import {
288
306
  openManagedWorktrees,
289
307
  worktreeOpenHint
290
- } from "./chunk-EFB45I7C.js";
291
- import "./chunk-PMLNAH25.js";
308
+ } from "./chunk-2DMSDS4P.js";
309
+ import "./chunk-XB24BZLK.js";
292
310
  import {
293
311
  SAVE_SKILL_TOOL_NAME,
294
312
  SKILL_CREATOR_SKILL,
@@ -312,28 +330,43 @@ import {
312
330
  runTokens,
313
331
  sandboxRunsShellUnasked,
314
332
  settledElapsed
315
- } from "./chunk-CWSFF2SL.js";
316
- import "./chunk-U2CKMM6L.js";
317
- import "./chunk-Z33RQI5X.js";
333
+ } from "./chunk-GKKSP3UM.js";
334
+ import "./chunk-F2C6HUP3.js";
335
+ import "./chunk-5AOJKWOF.js";
318
336
  import {
319
337
  MCP_OUTPUT_CHARS,
320
338
  boundedMcpText,
321
339
  validatePromptArguments
322
- } from "./chunk-LVRVFBEG.js";
340
+ } from "./chunk-S6QORTKD.js";
323
341
  import {
324
342
  openInBrowser
325
- } from "./chunk-QMQL74PK.js";
343
+ } from "./chunk-XMG4R3UA.js";
344
+ import {
345
+ autoAvailable,
346
+ nextCycleMode,
347
+ permissionModeDescription,
348
+ permissionModeLabel,
349
+ permissionModeName
350
+ } from "./chunk-SEL7JXR6.js";
351
+ import {
352
+ describeBrowserStatus
353
+ } from "./chunk-WHODOMXA.js";
326
354
  import {
327
355
  describePlainInterruption,
328
356
  describeProviderWait,
329
357
  describeProviderWaitClock,
330
358
  isSelfMending,
331
359
  isSpentAllowance
332
- } from "./chunk-27H74FWU.js";
333
- import "./chunk-GZYBAXZV.js";
360
+ } from "./chunk-GVJFPVYS.js";
334
361
  import {
335
- describeBrowserStatus
336
- } from "./chunk-WHODOMXA.js";
362
+ PAUSED_TURN_LINES,
363
+ currentTimeLine,
364
+ describeModelRefusal,
365
+ describeTurnStop,
366
+ handoffContinuationNote,
367
+ refusalDetail,
368
+ retryAfterMs
369
+ } from "./chunk-H2J6CJ7V.js";
337
370
  import {
338
371
  MAY_BE_LIMITED_WINDOW_MS,
339
372
  accountProductName,
@@ -347,6 +380,10 @@ import {
347
380
  theme,
348
381
  tokenColor
349
382
  } from "./chunk-2IPDTDB3.js";
383
+ import {
384
+ expandTabs,
385
+ terminalDisplayText
386
+ } from "./chunk-IYUW2RAA.js";
350
387
  import {
351
388
  NO_SKILLS_FOUND,
352
389
  composeSkillsPrompt,
@@ -354,34 +391,77 @@ import {
354
391
  loadSkillBody,
355
392
  renderSkillRoster,
356
393
  skillTierLabel
357
- } from "./chunk-VXCGRIBU.js";
394
+ } from "./chunk-QC6NN5GF.js";
395
+ import "./chunk-ZWA2JRJV.js";
358
396
  import "./chunk-NUGPLXVK.js";
359
397
  import {
360
398
  beginSubscriptionLogin,
361
399
  parsePastedInput
362
- } from "./chunk-G2EMBDMV.js";
400
+ } from "./chunk-ZUZGGJZ7.js";
363
401
  import {
364
402
  apiKeyLogoutWord,
365
403
  isApiKeyLogoutTarget
366
- } from "./chunk-JX6SB3NQ.js";
404
+ } from "./chunk-W5OXVXRU.js";
367
405
  import {
368
406
  API_KEY_ACCOUNT_PROVIDERS,
369
407
  openCliAccounts,
370
408
  storedAccountSignedIn
371
- } from "./chunk-BGDDICSF.js";
409
+ } from "./chunk-75R4INRW.js";
372
410
  import {
373
411
  beginCodexDeviceLogin
374
- } from "./chunk-NSTYXLBX.js";
412
+ } from "./chunk-K52HIR6C.js";
413
+ import {
414
+ ConversationIndexRefreshError,
415
+ activeConversationTurn,
416
+ archiveConversation,
417
+ closableProviderPause,
418
+ displayConversationTitle,
419
+ forkConversation,
420
+ forkConversationBeforeUser,
421
+ journalOf,
422
+ linkConversationToPullRequest,
423
+ listArchived,
424
+ listOtherFolders,
425
+ listRecent,
426
+ loadConversation,
427
+ loadResumableConversation,
428
+ matchesPullRequestFilter,
429
+ openSessions,
430
+ pullRequestLabel,
431
+ pullRequestOfShellCall,
432
+ readConversationFacts,
433
+ recordGeneratedTitle,
434
+ requireWritableConversation,
435
+ setTitle,
436
+ startConversation,
437
+ titleOf,
438
+ titlesOf,
439
+ typedTextOf,
440
+ unansweredReviewPark,
441
+ unarchiveConversation
442
+ } from "./chunk-Y4PRCFWU.js";
443
+ import "./chunk-Z4GNYA6Y.js";
444
+ import "./chunk-JQIBPPOL.js";
445
+ import "./chunk-WRVQTHUU.js";
446
+ import {
447
+ isTrusted,
448
+ trustDir
449
+ } from "./chunk-ND27BH3T.js";
450
+ import {
451
+ bindAccount,
452
+ findAccountByName,
453
+ isDefaultAccountId
454
+ } from "./chunk-LPSFDEYX.js";
375
455
  import {
376
456
  startAutoUpdate
377
- } from "./chunk-FBALB74C.js";
457
+ } from "./chunk-DY2CWVAO.js";
458
+ import {
459
+ resolveNpmInvocation
460
+ } from "./chunk-MILB6YKG.js";
378
461
  import {
379
462
  readManifest
380
463
  } from "./chunk-AK2U3N2A.js";
381
- import {
382
- resolveNpmInvocation
383
- } from "./chunk-FSQAMX2B.js";
384
- import "./chunk-XBXY5NZT.js";
464
+ import "./chunk-I46H4EOM.js";
385
465
  import {
386
466
  ScheduleConflictError,
387
467
  confirmationHolds,
@@ -398,22 +478,17 @@ import {
398
478
  writeJsonAtomic
399
479
  } from "./chunk-OEW7CJKK.js";
400
480
  import "./chunk-EDOJTQQU.js";
401
- import {
402
- EXIT_INTERNAL_ERROR
403
- } from "./chunk-Y7B67G22.js";
404
481
  import {
405
482
  pinTrustedProjectPath,
406
483
  resolveTrustedProjectContext
407
484
  } from "./chunk-CHIEVVQ2.js";
408
485
  import "./chunk-HE7WUOX2.js";
409
- import {
410
- debugRequested
411
- } from "./chunk-GNBMKISG.js";
412
486
  import {
413
487
  describeCacheLifetime,
414
488
  promptCacheTtl,
415
489
  providerOffersCacheLifetime
416
- } from "./chunk-L2A4QFEG.js";
490
+ } from "./chunk-D6BIHB5L.js";
491
+ import "./chunk-OH6TB27S.js";
417
492
  import {
418
493
  COMPOSER_TRIGGER_DEFAULTS,
419
494
  COMPOSER_TRIGGER_IDS,
@@ -431,9 +506,23 @@ import {
431
506
  pendingServersMessage,
432
507
  readPermissionLayers,
433
508
  resolveComposerTriggers
434
- } from "./chunk-MF3PRMES.js";
509
+ } from "./chunk-P7IUXU5U.js";
435
510
  import "./chunk-KONYGNG6.js";
436
511
  import "./chunk-LCGXWCVU.js";
512
+ import "./chunk-BVLHRE75.js";
513
+ import "./chunk-WMEZTDLT.js";
514
+ import {
515
+ contextLogging,
516
+ installCliLogging
517
+ } from "./chunk-APHOA5CS.js";
518
+ import {
519
+ PROJECT_MCP_FILE,
520
+ parseMcpServerFile
521
+ } from "./chunk-SIG7WHBU.js";
522
+ import "./chunk-LVVD32KJ.js";
523
+ import {
524
+ debugRequested
525
+ } from "./chunk-GNBMKISG.js";
437
526
  import {
438
527
  displayPath,
439
528
  formatSize,
@@ -441,14 +530,23 @@ import {
441
530
  homePath,
442
531
  plural,
443
532
  productName
444
- } from "./chunk-GMUWAUKQ.js";
533
+ } from "./chunk-6PWRKA5T.js";
445
534
  import {
446
535
  THEME_CHOICES
447
536
  } from "./chunk-QLDUL46Z.js";
537
+ import {
538
+ isFullWidth,
539
+ isWide,
540
+ stringWidth,
541
+ stripAnsi
542
+ } from "./chunk-U5UV2YRE.js";
543
+ import {
544
+ EXIT_INTERNAL_ERROR
545
+ } from "./chunk-Y7B67G22.js";
448
546
  import {
449
547
  primaryProvider,
450
548
  writePreferences
451
- } from "./chunk-OGEMYZEF.js";
549
+ } from "./chunk-UHZQBZ5O.js";
452
550
  import {
453
551
  automaticChoice,
454
552
  automaticKind,
@@ -457,7 +555,8 @@ import {
457
555
  discoverProviders,
458
556
  hasApiCredential,
459
557
  signedInSubscriptionProviders
460
- } from "./chunk-V7IBTSCB.js";
558
+ } from "./chunk-GE5TBMXR.js";
559
+ import "./chunk-IE5XIE4W.js";
461
560
  import {
462
561
  ALL_PROVIDER_IDS,
463
562
  PROVIDER_REGISTRY,
@@ -465,101 +564,14 @@ import {
465
564
  providerEntriesOfVendor,
466
565
  unsupportedProviderMessage
467
566
  } from "./chunk-G6YSAHKC.js";
567
+ import "./chunk-B73OIFL6.js";
468
568
  import "./chunk-RI2KAZJO.js";
469
569
  import {
470
570
  isAnthropicOAuthToken,
471
571
  readCodexCredentialFile
472
- } from "./chunk-NKZYGRV7.js";
473
- import "./chunk-TYOHF23M.js";
474
- import {
475
- applyProviderFlags
476
- } from "./chunk-5EID532B.js";
477
- import "./chunk-XEUQN4JC.js";
478
- import "./chunk-4GIE5IWR.js";
479
- import {
480
- autoAvailable,
481
- nextCycleMode,
482
- permissionModeDescription,
483
- permissionModeLabel,
484
- permissionModeName
485
- } from "./chunk-D56OQGID.js";
486
- import {
487
- PAUSED_TURN_LINES,
488
- currentTimeLine,
489
- describeModelRefusal,
490
- describeTurnStop,
491
- handoffContinuationNote,
492
- refusalDetail,
493
- retryAfterMs
494
- } from "./chunk-6DMSTACL.js";
495
- import {
496
- expandTabs,
497
- terminalDisplayText
498
- } from "./chunk-IYUW2RAA.js";
499
- import {
500
- ConversationIndexRefreshError,
501
- activeConversationTurn,
502
- archiveConversation,
503
- closableProviderPause,
504
- displayConversationTitle,
505
- forkConversation,
506
- forkConversationBeforeUser,
507
- journalOf,
508
- linkConversationToPullRequest,
509
- listArchived,
510
- listOtherFolders,
511
- listRecent,
512
- loadConversation,
513
- loadResumableConversation,
514
- matchesPullRequestFilter,
515
- openSessions,
516
- pullRequestLabel,
517
- pullRequestOfShellCall,
518
- readConversationFacts,
519
- recordGeneratedTitle,
520
- requireWritableConversation,
521
- setTitle,
522
- startConversation,
523
- titleOf,
524
- titlesOf,
525
- typedTextOf,
526
- unansweredReviewPark,
527
- unarchiveConversation
528
- } from "./chunk-M5ZSNRGP.js";
529
- import "./chunk-BY6CYQHX.js";
530
- import "./chunk-JQIBPPOL.js";
531
- import "./chunk-XMOV5PMX.js";
532
- import "./chunk-CB7Z6IIB.js";
533
- import {
534
- isTrusted,
535
- trustDir
536
- } from "./chunk-IYUXWM2C.js";
537
- import {
538
- bindAccount,
539
- findAccountByName,
540
- isDefaultAccountId
541
- } from "./chunk-LPV7K6CD.js";
542
- import "./chunk-OH6TB27S.js";
543
- import "./chunk-S7APLRCX.js";
544
- import "./chunk-WMEZTDLT.js";
545
- import {
546
- contextLogging,
547
- installCliLogging
548
- } from "./chunk-D4WT2YSJ.js";
549
- import {
550
- PROJECT_MCP_FILE,
551
- parseMcpServerFile
552
- } from "./chunk-SIG7WHBU.js";
553
- import "./chunk-LVVD32KJ.js";
554
- import {
555
- isFullWidth,
556
- isWide,
557
- stringWidth,
558
- stripAnsi
559
- } from "./chunk-U5UV2YRE.js";
560
- import "./chunk-IE5XIE4W.js";
561
- import "./chunk-B73OIFL6.js";
562
- import "./chunk-QSLIFWSL.js";
572
+ } from "./chunk-VNSKI2LV.js";
573
+ import "./chunk-ZXC266TK.js";
574
+ import "./chunk-ZGQRLKWT.js";
563
575
  import "./chunk-JORONMD3.js";
564
576
  import {
565
577
  apiKeysPath,
@@ -578,10 +590,10 @@ import {
578
590
  readStoredSubscriptionCredential,
579
591
  writeStoredApiKey,
580
592
  writeStoredGeminiApiKey
581
- } from "./chunk-DXMEBNFO.js";
593
+ } from "./chunk-NX4IICIS.js";
582
594
  import {
583
595
  namzuHomePath
584
- } from "./chunk-FB3S5MRG.js";
596
+ } from "./chunk-Z77FS75T.js";
585
597
  import {
586
598
  ACCEPT_EDITS_TOOLS,
587
599
  AccountRegistryError,
@@ -622,6 +634,7 @@ import {
622
634
  isCompactionMessage,
623
635
  jsonLinesSink,
624
636
  kernelHostCommands,
637
+ mustAskPerson,
625
638
  nextFireTime,
626
639
  parseAccountId,
627
640
  parseScheduleSpec,
@@ -631,11 +644,12 @@ import {
631
644
  resolveNamzuHome,
632
645
  resolveTriggerThreshold,
633
646
  resolveWorkflowLimits,
647
+ turnContextEntries,
634
648
  upcomingFireTimes,
635
649
  validateTimeZone,
636
650
  wakeBudgetFromEnv,
637
651
  wrapUntrusted
638
- } from "./chunk-2FMAMLA6.js";
652
+ } from "./chunk-I3D6NUZZ.js";
639
653
  import {
640
654
  __commonJS,
641
655
  __export,
@@ -40500,9 +40514,9 @@ function parseTitle(reply) {
40500
40514
  return void 0;
40501
40515
  }
40502
40516
  }
40503
- const oneLine7 = candidate.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/\s+/gu, " ").replace(/^["'`]+|["'`]+$/gu, "").trim();
40504
- if (oneLine7.length === 0) return void 0;
40505
- const capped = oneLine7.length > TITLE_MAX_CHARS ? `${oneLine7.slice(0, TITLE_MAX_CHARS - 1)}\u2026` : oneLine7;
40517
+ const oneLine8 = candidate.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/\s+/gu, " ").replace(/^["'`]+|["'`]+$/gu, "").trim();
40518
+ if (oneLine8.length === 0) return void 0;
40519
+ const capped = oneLine8.length > TITLE_MAX_CHARS ? `${oneLine8.slice(0, TITLE_MAX_CHARS - 1)}\u2026` : oneLine8;
40506
40520
  return capped.charAt(0).toUpperCase() + capped.slice(1);
40507
40521
  }
40508
40522
  __name(parseTitle, "parseTitle");
@@ -40560,10 +40574,10 @@ function recapInput(turns) {
40560
40574
  }
40561
40575
  __name(recapInput, "recapInput");
40562
40576
  function parseRecap(reply) {
40563
- const oneLine7 = reply.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/```[a-z]*/giu, " ").replace(/[*`]+/gu, "").replace(/^[#>\s]+/u, "").replace(/\s+/gu, " ").replace(/^["'`]+|["'`]+$/gu, "").replace(/^recap:\s*/iu, "").trim();
40564
- if (oneLine7.length === 0) return void 0;
40565
- if (oneLine7.length <= RECAP_MAX_CHARS) return oneLine7;
40566
- const head = oneLine7.slice(0, RECAP_MAX_CHARS - 1);
40577
+ const oneLine8 = reply.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/```[a-z]*/giu, " ").replace(/[*`]+/gu, "").replace(/^[#>\s]+/u, "").replace(/\s+/gu, " ").replace(/^["'`]+|["'`]+$/gu, "").replace(/^recap:\s*/iu, "").trim();
40578
+ if (oneLine8.length === 0) return void 0;
40579
+ if (oneLine8.length <= RECAP_MAX_CHARS) return oneLine8;
40580
+ const head = oneLine8.slice(0, RECAP_MAX_CHARS - 1);
40567
40581
  const space = head.search(/\s\S*$/u);
40568
40582
  const atWord = space === -1 ? "" : head.slice(0, space).trimEnd();
40569
40583
  return `${atWord.length > RECAP_MAX_CHARS / 2 ? atWord : head.trimEnd()}\u2026`;
@@ -46804,7 +46818,7 @@ function Picker({
46804
46818
  const highlightedRow = rows[cursor];
46805
46819
  const entryTarget = keyEntryOffered ? keyEntryTarget(highlightedRow, keyEntryFor) : null;
46806
46820
  const namesAnotherRow = entryTarget !== null && (highlightedRow === void 0 || !rowHasProvider(highlightedRow, entryTarget.id));
46807
- const oneLine7 = /* @__PURE__ */ __name((text) => wrapChoiceText(text, contentWidth).length, "oneLine");
46821
+ const oneLine8 = /* @__PURE__ */ __name((text) => wrapChoiceText(text, contentWidth).length, "oneLine");
46808
46822
  const emptyScreenFooter = fitHints(
46809
46823
  [
46810
46824
  ...onLogin ? [{ text: "l sign in", rank: 3 }] : [],
@@ -46816,10 +46830,10 @@ function Picker({
46816
46830
  ],
46817
46831
  contentWidth
46818
46832
  );
46819
- const emptyScreenChromeRows = 2 + (notice ? noticeLines : 0) + (notice ? 1 : 0) + 1 + 1 + oneLine7(EMPTY_SCREEN_INTRO) + emptyScreenSourceLines().reduce(
46833
+ const emptyScreenChromeRows = 2 + (notice ? noticeLines : 0) + (notice ? 1 : 0) + 1 + 1 + oneLine8(EMPTY_SCREEN_INTRO) + emptyScreenSourceLines().reduce(
46820
46834
  (rows2, line) => rows2 + bulletLines(line, contentWidth).length,
46821
46835
  0
46822
- ) + (onLogin ? 1 + oneLine7(`Press l ${EMPTY_SCREEN_HINTS.signIn}`) : 0) + 1 + oneLine7(`Or press k ${EMPTY_SCREEN_HINTS.paste}`) + 1 + oneLine7(EMPTY_SCREEN_HINTS.durable) + 1 + oneLine7(emptyScreenFooter) + 1 + TRANSCRIPT_LINE_ABOVE;
46836
+ ) + (onLogin ? 1 + oneLine8(`Press l ${EMPTY_SCREEN_HINTS.signIn}`) : 0) + 1 + oneLine8(`Or press k ${EMPTY_SCREEN_HINTS.paste}`) + 1 + oneLine8(EMPTY_SCREEN_HINTS.durable) + 1 + oneLine8(emptyScreenFooter) + 1 + TRANSCRIPT_LINE_ABOVE;
46823
46837
  const listSubtitle = selectionKind === "signed-in-subscription" ? `${detected.length} already usable \xB7 no API key required` : `${detected.length} found \xB7 sign-ins, API keys and local servers`;
46824
46838
  const listFooter = fitHints(
46825
46839
  [
@@ -46839,9 +46853,9 @@ function Picker({
46839
46853
  ],
46840
46854
  contentWidth
46841
46855
  );
46842
- const headingRows = rows.some((row) => row.detected.length === 0) ? 1 + oneLine7(NOT_DETECTED_HEADING) : 0;
46843
- const listCoreRows = 2 + (notice ? noticeLines : 0) + (notice ? 1 : 0) + 1 + headingRows + 1 + oneLine7(listFooter) + 1 + TRANSCRIPT_LINE_ABOVE;
46844
- const subtitleRows = 1 + oneLine7(listSubtitle);
46856
+ const headingRows = rows.some((row) => row.detected.length === 0) ? 1 + oneLine8(NOT_DETECTED_HEADING) : 0;
46857
+ const listCoreRows = 2 + (notice ? noticeLines : 0) + (notice ? 1 : 0) + 1 + headingRows + 1 + oneLine8(listFooter) + 1 + TRANSCRIPT_LINE_ABOVE;
46858
+ const subtitleRows = 1 + oneLine8(listSubtitle);
46845
46859
  const screenRows = terminal.rows ?? 24;
46846
46860
  const cursorRow = rows[Math.max(0, Math.min(cursor, rows.length - 1))];
46847
46861
  const mustKeep = cursorRow ? rowHeight(cursorRow, contentWidth, CURRENT_MARK) : 1;
@@ -50896,6 +50910,37 @@ function checklistInView(input) {
50896
50910
  }
50897
50911
  __name(checklistInView, "checklistInView");
50898
50912
 
50913
+ // src/tui/memory-used-row.ts
50914
+ var oneLine7 = /* @__PURE__ */ __name((text) => text.replace(/\s+/g, " ").trim(), "oneLine");
50915
+ function mergeUsedMemories(held, added) {
50916
+ const seen = new Set(held.map((memory) => `${memory.id}@${memory.updatedAt}`));
50917
+ const out = [...held];
50918
+ for (const memory of added) {
50919
+ const key = `${memory.id}@${memory.updatedAt}`;
50920
+ if (seen.has(key)) continue;
50921
+ seen.add(key);
50922
+ out.push(memory);
50923
+ }
50924
+ return out;
50925
+ }
50926
+ __name(mergeUsedMemories, "mergeUsedMemories");
50927
+ function memoryUsedRow(memories, now = Date.now()) {
50928
+ const first = memories[0];
50929
+ if (!first) return void 0;
50930
+ const count2 = memories.length;
50931
+ return {
50932
+ content: `Used ${count2} ${count2 === 1 ? "memory" : "memories"}`,
50933
+ detail: [
50934
+ ...memories.map(
50935
+ (memory) => `${oneLine7(memory.title.trim() || memory.name || memory.id)} \xB7 ${originLabel(memory.origin)} \xB7 ${ageLabel(memory.updatedAt, now)}`
50936
+ ),
50937
+ `/memory delete ${first.name ?? first.id} removes one.`
50938
+ ],
50939
+ hint: EXPAND_HINT
50940
+ };
50941
+ }
50942
+ __name(memoryUsedRow, "memoryUsedRow");
50943
+
50899
50944
  // src/tui/next-task.ts
50900
50945
  function nextTask(tasks) {
50901
50946
  const pending = tasks.filter((task) => task.status === "pending");
@@ -55009,7 +55054,8 @@ __name(recapTurns, "recapTurns");
55009
55054
  var NO_TRAIL = {
55010
55055
  calls: /* @__PURE__ */ new Map(),
55011
55056
  turns: /* @__PURE__ */ new Map(),
55012
- turnOfMessage: /* @__PURE__ */ new Map()
55057
+ turnOfMessage: /* @__PURE__ */ new Map(),
55058
+ recalled: /* @__PURE__ */ new Map()
55013
55059
  };
55014
55060
  var callKey = /* @__PURE__ */ __name((turnId, toolUseId) => `${turnId ?? ""}\0${toolUseId}`, "callKey");
55015
55061
  function atOf(record3) {
@@ -55017,11 +55063,29 @@ function atOf(record3) {
55017
55063
  return Number.isFinite(at) ? at : void 0;
55018
55064
  }
55019
55065
  __name(atOf, "atOf");
55066
+ function usedMemoriesOf(raw) {
55067
+ const out = [];
55068
+ for (const item of raw) {
55069
+ const memory = item;
55070
+ if (!memory || typeof memory.id !== "string" || typeof memory.title !== "string" || typeof memory.updatedAt !== "number" || memory.origin !== "operator" && memory.origin !== "model" && memory.origin !== "derived")
55071
+ continue;
55072
+ out.push({
55073
+ id: memory.id,
55074
+ ...typeof memory.name === "string" ? { name: memory.name } : {},
55075
+ title: memory.title,
55076
+ origin: memory.origin,
55077
+ updatedAt: memory.updatedAt
55078
+ });
55079
+ }
55080
+ return out;
55081
+ }
55082
+ __name(usedMemoriesOf, "usedMemoriesOf");
55020
55083
  function trailFromRecords(records) {
55021
55084
  if (!records || records.length === 0) return NO_TRAIL;
55022
55085
  const calls = /* @__PURE__ */ new Map();
55023
55086
  const turns = /* @__PURE__ */ new Map();
55024
55087
  const turnOfMessage = /* @__PURE__ */ new Map();
55088
+ const recalled = /* @__PURE__ */ new Map();
55025
55089
  const turn = /* @__PURE__ */ __name((id) => {
55026
55090
  let found = turns.get(id);
55027
55091
  if (!found) {
@@ -55041,6 +55105,13 @@ function trailFromRecords(records) {
55041
55105
  case "turn_started":
55042
55106
  if (turnId) turn(turnId).startedAt = atOf(record3);
55043
55107
  break;
55108
+ case "memory_recalled":
55109
+ if (turnId && Array.isArray(record3.memories))
55110
+ recalled.set(
55111
+ turnId,
55112
+ mergeUsedMemories(recalled.get(turnId) ?? [], usedMemoriesOf(record3.memories))
55113
+ );
55114
+ break;
55044
55115
  case "turn_completed":
55045
55116
  case "turn_failed":
55046
55117
  if (turnId) {
@@ -55092,7 +55163,7 @@ function trailFromRecords(records) {
55092
55163
  const index = agents?.indexOf(false) ?? -1;
55093
55164
  if (agents && index >= 0) agents[index] = true;
55094
55165
  }
55095
- return { calls, turns, turnOfMessage };
55166
+ return { calls, turns, turnOfMessage, recalled };
55096
55167
  }
55097
55168
  __name(trailFromRecords, "trailFromRecords");
55098
55169
  function parseInput(call) {
@@ -55236,6 +55307,8 @@ function createRestoredTurnWriter(messages, nextId, options) {
55236
55307
  if (message.role === "tool") results.set(message.toolCallId, message);
55237
55308
  }
55238
55309
  let current;
55310
+ const shownMemories = /* @__PURE__ */ new Set();
55311
+ const atTurn = /* @__PURE__ */ __name((turnId) => trail.turns.get(turnId)?.startedAt ?? Date.now(), "atTurn");
55239
55312
  const closing = /* @__PURE__ */ __name((turnId) => {
55240
55313
  if (!turnId) return [];
55241
55314
  const turn = trail.turns.get(turnId);
@@ -55288,6 +55361,26 @@ function createRestoredTurnWriter(messages, nextId, options) {
55288
55361
  }
55289
55362
  return { rows, ...launched && turnId ? { launchedIn: turnId } : {} };
55290
55363
  },
55364
+ memoryRows(message) {
55365
+ const turnId = message.id ? trail.turnOfMessage.get(message.id) : void 0;
55366
+ if (!turnId || shownMemories.has(turnId)) return [];
55367
+ const row = memoryUsedRow(trail.recalled?.get(turnId) ?? [], atTurn(turnId));
55368
+ if (!row) return [];
55369
+ shownMemories.add(turnId);
55370
+ const noticeStyle = systemRowStyle("notice");
55371
+ return [
55372
+ {
55373
+ id: nextId(),
55374
+ role: "system",
55375
+ content: row.content,
55376
+ glyph: noticeStyle.glyph,
55377
+ glyphColor: noticeStyle.color,
55378
+ detail: row.detail,
55379
+ meta: row.hint,
55380
+ activity: "summary"
55381
+ }
55382
+ ];
55383
+ },
55291
55384
  enter(message) {
55292
55385
  const turnId = message.id ? trail.turnOfMessage.get(message.id) : void 0;
55293
55386
  if (!turnId || turnId === current) return [];
@@ -56587,6 +56680,7 @@ function projectConversation(messages, nextId, readableUserTexts = [], restore)
56587
56680
  const out = [];
56588
56681
  for (const message of messages) {
56589
56682
  out.push(...writer.enter(message));
56683
+ if (message.role === "assistant") out.push(...writer.memoryRows(message));
56590
56684
  const rows = projectMessage(message);
56591
56685
  out.push(...rows);
56592
56686
  if (message.role === "assistant") {
@@ -59064,6 +59158,93 @@ ${blocks.join("\n\n")}`;
59064
59158
  );
59065
59159
  return;
59066
59160
  }
59161
+ if (picker.kind === "memory") {
59162
+ if (picker.owner !== session) return;
59163
+ const manage = picker.owner.storedMemories;
59164
+ if (!manage) return;
59165
+ const finish = /* @__PURE__ */ __name((text) => {
59166
+ setChoicePicker(null);
59167
+ pushMessage("system", text);
59168
+ }, "finish");
59169
+ const failed = /* @__PURE__ */ __name((err) => {
59170
+ setChoicePicker(null);
59171
+ pushSystem("error", explainFailure(err, "Could not change memory."));
59172
+ }, "failed");
59173
+ const inHistory = /* @__PURE__ */ __name((items) => historyHoldsAnyMemory(
59174
+ turnContextEntries(modelHistoryRef.current, RECALLED_MEMORY_KEY),
59175
+ items
59176
+ ), "inHistory");
59177
+ if (picker.step === "list") {
59178
+ setSelectedChoice(0);
59179
+ if (value === DELETE_ALL) {
59180
+ setChoicePicker({
59181
+ ...memoryAllConfirm(picker.owner, picker.items),
59182
+ back: picker
59183
+ });
59184
+ return;
59185
+ }
59186
+ if (value === DELETE_ALL_RECORDED) {
59187
+ setChoicePicker({
59188
+ ...memoryRecordedConfirm(picker.owner, picker.items),
59189
+ back: picker
59190
+ });
59191
+ return;
59192
+ }
59193
+ const item = picker.items.find((entry) => entry.id === value);
59194
+ if (item)
59195
+ setChoicePicker({
59196
+ ...memoryActionsPicker(picker.owner, picker.items, item),
59197
+ back: picker
59198
+ });
59199
+ return;
59200
+ }
59201
+ const target = picker.target;
59202
+ if (picker.step === "actions" && target) {
59203
+ if (value === "show") {
59204
+ void manage.read(target).then(
59205
+ (body) => finish(
59206
+ body === void 0 ? `\u201C${memoryLabel(target)}\u201D is already gone.` : renderMemoryDetail(target, body)
59207
+ ),
59208
+ failed
59209
+ );
59210
+ return;
59211
+ }
59212
+ setSelectedChoice(1);
59213
+ setChoicePicker({
59214
+ ...memoryDeleteConfirm(picker.owner, picker.items, target),
59215
+ back: picker
59216
+ });
59217
+ return;
59218
+ }
59219
+ if (picker.step === "confirm" && target) {
59220
+ if (value !== "delete") {
59221
+ setChoicePicker(null);
59222
+ return;
59223
+ }
59224
+ void manage.remove(target).then(
59225
+ (outcome) => finish(deleteOutcomeLine(target, outcome, inHistory([target]))),
59226
+ failed
59227
+ );
59228
+ return;
59229
+ }
59230
+ if (picker.step === "confirm-recorded") {
59231
+ if (value !== "delete") {
59232
+ setChoicePicker(null);
59233
+ return;
59234
+ }
59235
+ const recorded = recordedMemories(picker.items);
59236
+ void manage.removeRecorded(picker.items).then((result) => finish(deleteRecordedLine(result, inHistory(recorded))), failed);
59237
+ return;
59238
+ }
59239
+ if (picker.step === "confirm-all") {
59240
+ if (value !== "delete") {
59241
+ setChoicePicker(null);
59242
+ return;
59243
+ }
59244
+ void manage.removeAll(picker.items).then((result) => finish(deleteAllLine(result, inHistory(picker.items))), failed);
59245
+ }
59246
+ return;
59247
+ }
59067
59248
  if (picker.kind === "review-preset") {
59068
59249
  if (reviewChoiceInFlightRef.current) return;
59069
59250
  if (value === "custom") {
@@ -60135,18 +60316,6 @@ ${blocks.join("\n\n")}`;
60135
60316
  signal: admissionSignal,
60136
60317
  announce
60137
60318
  });
60138
- const askedModel = launch.model;
60139
- const listed = probe.detected.find((item) => item.entry.id === askedFor);
60140
- if (askedModel && listed) {
60141
- void describeProviderModels(listed.entry.id, listed, admissionSignal).then((listing) => {
60142
- if (listing.kind === "ok" && !listing.models.some((m) => m.id === askedModel)) {
60143
- pushMessage(
60144
- "system",
60145
- `${productName(listed.entry.id) ?? "The provider"} has no model called ${askedModel}. Replies will fail until you pick another with /model.`
60146
- );
60147
- }
60148
- }).catch(() => void 0);
60149
- }
60150
60319
  } catch (error) {
60151
60320
  if (admissionSignal.aborted) return;
60152
60321
  toPicker(
@@ -60763,7 +60932,7 @@ ${blocks.join("\n\n")}`;
60763
60932
  doctorRunningRef.current = true;
60764
60933
  const progressId = pushMessage("system", "Checking\u2026");
60765
60934
  try {
60766
- const { runLiveDoctor } = await import("./live-SW37S734.js");
60935
+ const { runLiveDoctor } = await import("./live-QZTEITO7.js");
60767
60936
  const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
60768
60937
  const report = await runLiveDoctor({
60769
60938
  ...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
@@ -62556,6 +62725,35 @@ ${plain(err)}`
62556
62725
  describeTranscriptWrites(event.state)
62557
62726
  );
62558
62727
  break;
62728
+ case "memory-recalled": {
62729
+ const held = st.memoryRow?.memories ?? [];
62730
+ const memories = mergeUsedMemories(held, event.memories);
62731
+ const row = memoryUsedRow(memories);
62732
+ if (!row || memories.length === held.length) break;
62733
+ if (st.memoryRow) {
62734
+ const rowId2 = st.memoryRow.id;
62735
+ setMessages(
62736
+ (prev) => prev.map(
62737
+ (m) => m.id === rowId2 ? { ...m, content: row.content, detail: row.detail } : m
62738
+ )
62739
+ );
62740
+ st.memoryRow = { id: rowId2, memories };
62741
+ break;
62742
+ }
62743
+ const style = systemRowStyle("notice");
62744
+ const rowId = pushMessage(
62745
+ "system",
62746
+ row.content,
62747
+ false,
62748
+ style.glyph,
62749
+ row.detail,
62750
+ style.color,
62751
+ row.hint,
62752
+ "summary"
62753
+ );
62754
+ st.memoryRow = { id: rowId, memories };
62755
+ break;
62756
+ }
62559
62757
  case "capability-warning":
62560
62758
  pushSystem(
62561
62759
  "warning",
@@ -65048,31 +65246,68 @@ ${answer}`
65048
65246
  );
65049
65247
  return;
65050
65248
  }
65051
- case "show-memory": {
65052
- const curated = renderMemoryReport(readMemory(void 0, ctx.cwd), {
65053
- cwd: ctx.cwd
65054
- });
65055
- const stored = session?.storedMemoryIndex;
65056
- if (!stored) {
65057
- pushMessage("system", curated);
65249
+ case "manage-memory": {
65250
+ const manage = session?.storedMemories;
65251
+ if (!session || !manage) {
65252
+ pushMessage(
65253
+ "system",
65254
+ "Stored memory is not open yet; /memory works once a conversation has started."
65255
+ );
65058
65256
  return;
65059
65257
  }
65060
- void stored().then(
65061
- ({ directory, index, derived }) => {
65062
- const section = renderStoredMemorySection(directory, index, derived);
65063
- pushMessage(
65064
- "system",
65065
- section ? curated.startsWith("No saved memory.") ? section : `${section}
65066
-
65067
- ${curated}` : curated
65068
- );
65258
+ const owner = session;
65259
+ void manage.load().then(
65260
+ (items) => {
65261
+ if (slash.all) {
65262
+ if (items.length === 0) {
65263
+ pushMessage("system", "There is no stored memory to delete.");
65264
+ return;
65265
+ }
65266
+ setSelectedChoice(0);
65267
+ setChoicePicker(memoryAllConfirm(owner, items));
65268
+ return;
65269
+ }
65270
+ if (slash.recorded) {
65271
+ if (recordedMemories(items).length === 0) {
65272
+ pushMessage("system", "Nothing was recorded by turns.");
65273
+ return;
65274
+ }
65275
+ setSelectedChoice(1);
65276
+ setChoicePicker(memoryRecordedConfirm(owner, items));
65277
+ return;
65278
+ }
65279
+ if (slash.target !== void 0) {
65280
+ const found = matchMemories(items, slash.target);
65281
+ if (found.length === 0) {
65282
+ pushMessage("system", `No memory named \u201C${slash.target}\u201D. /memory lists them.`);
65283
+ } else if (found.length > 1) {
65284
+ pushMessage(
65285
+ "system",
65286
+ `More than one memory matches \u201C${slash.target}\u201D:
65287
+ ${listMatches(found)}`
65288
+ );
65289
+ } else if (found[0]) {
65290
+ setSelectedChoice(1);
65291
+ setChoicePicker(memoryDeleteConfirm(owner, items, found[0]));
65292
+ }
65293
+ return;
65294
+ }
65295
+ if (items.length === 0) {
65296
+ void memoryReport(owner, ctx.cwd).then(
65297
+ (report) => pushMemoryReport(report, pushMessage, pushSystem)
65298
+ );
65299
+ return;
65300
+ }
65301
+ setSelectedChoice(0);
65302
+ setChoicePicker(memoryListPicker(owner, items));
65069
65303
  },
65070
- (err) => pushSystem(
65071
- "error",
65072
- explainFailure(err, `${curated}
65073
-
65074
- Stored memories not loaded.`)
65075
- )
65304
+ (err) => pushSystem("error", explainFailure(err, "Memory could not be listed."))
65305
+ );
65306
+ return;
65307
+ }
65308
+ case "show-memory": {
65309
+ void memoryReport(session, ctx.cwd).then(
65310
+ (report) => pushMemoryReport(report, pushMessage, pushSystem)
65076
65311
  );
65077
65312
  return;
65078
65313
  }
@@ -68104,6 +68339,128 @@ function choicePickerSearchable(picker) {
68104
68339
  ].includes(picker.kind);
68105
68340
  }
68106
68341
  __name(choicePickerSearchable, "choicePickerSearchable");
68342
+ async function memoryReport(session, cwd2) {
68343
+ const curated = renderMemoryReport(readMemory(void 0, cwd2), { cwd: cwd2 });
68344
+ const stored = session?.storedMemoryIndex;
68345
+ if (!stored) return { text: curated };
68346
+ try {
68347
+ const { directory, index, derived } = await stored();
68348
+ const section = renderStoredMemorySection(directory, index, derived);
68349
+ if (!section) return { text: curated };
68350
+ return {
68351
+ text: curated.startsWith("No saved memory.") ? section : `${section}
68352
+
68353
+ ${curated}`
68354
+ };
68355
+ } catch (err) {
68356
+ return {
68357
+ text: explainFailure(err, `${curated}
68358
+
68359
+ Stored memories not loaded.`),
68360
+ failed: true
68361
+ };
68362
+ }
68363
+ }
68364
+ __name(memoryReport, "memoryReport");
68365
+ function pushMemoryReport(report, push, pushError) {
68366
+ if (report.failed) pushError("error", report.text);
68367
+ else push("system", report.text);
68368
+ }
68369
+ __name(pushMemoryReport, "pushMemoryReport");
68370
+ function memoryListPicker(owner, items) {
68371
+ const { values, options } = memoryListChoices(items);
68372
+ return {
68373
+ kind: "memory",
68374
+ step: "list",
68375
+ owner,
68376
+ items,
68377
+ title: "Memory",
68378
+ notice: "Select one to read or delete it",
68379
+ values,
68380
+ options
68381
+ };
68382
+ }
68383
+ __name(memoryListPicker, "memoryListPicker");
68384
+ function memoryActionsPicker(owner, items, target) {
68385
+ return {
68386
+ kind: "memory",
68387
+ step: "actions",
68388
+ owner,
68389
+ items,
68390
+ target,
68391
+ title: memoryLabel(target),
68392
+ notice: memoryDescription(target),
68393
+ values: ["show", "delete"],
68394
+ options: [
68395
+ { label: "Show", description: "Print the whole memory." },
68396
+ {
68397
+ label: "Delete",
68398
+ description: "Remove it so Namzu does not recall it again."
68399
+ }
68400
+ ]
68401
+ };
68402
+ }
68403
+ __name(memoryActionsPicker, "memoryActionsPicker");
68404
+ function memoryDeleteConfirm(owner, items, target) {
68405
+ return {
68406
+ kind: "memory",
68407
+ step: "confirm",
68408
+ owner,
68409
+ items,
68410
+ target,
68411
+ title: `Delete \u201C${memoryLabel(target)}\u201D?`,
68412
+ notice: memoryDescription(target),
68413
+ values: ["keep", "delete"],
68414
+ options: [
68415
+ { label: "Keep", description: "Leave it as it is." },
68416
+ {
68417
+ label: "Delete",
68418
+ description: "Remove it so Namzu does not recall it again."
68419
+ }
68420
+ ]
68421
+ };
68422
+ }
68423
+ __name(memoryDeleteConfirm, "memoryDeleteConfirm");
68424
+ function memoryAllConfirm(owner, items) {
68425
+ const count2 = items.length;
68426
+ return {
68427
+ kind: "memory",
68428
+ step: "confirm-all",
68429
+ owner,
68430
+ items,
68431
+ title: count2 === 1 ? "Delete the 1 memory?" : `Delete all ${count2} memories?`,
68432
+ notice: "Also those you or Namzu saved. MEMORY.md and USER.md stay.",
68433
+ values: ["keep", "delete"],
68434
+ options: [
68435
+ { label: "Keep", description: "Leave them as they are." },
68436
+ {
68437
+ label: `Delete ${count2}`,
68438
+ description: "Remove every memory of this project so Namzu does not recall them again."
68439
+ }
68440
+ ]
68441
+ };
68442
+ }
68443
+ __name(memoryAllConfirm, "memoryAllConfirm");
68444
+ function memoryRecordedConfirm(owner, items) {
68445
+ const count2 = recordedMemories(items).length;
68446
+ return {
68447
+ kind: "memory",
68448
+ step: "confirm-recorded",
68449
+ owner,
68450
+ items,
68451
+ title: count2 === 1 ? "Delete the memory recorded by a turn?" : `Delete all ${count2} memories recorded by turns?`,
68452
+ notice: "Memories you or Namzu saved stay.",
68453
+ values: ["keep", "delete"],
68454
+ options: [
68455
+ { label: "Keep", description: "Leave them as they are." },
68456
+ {
68457
+ label: `Delete ${count2}`,
68458
+ description: "Remove every memory a turn recorded on its own."
68459
+ }
68460
+ ]
68461
+ };
68462
+ }
68463
+ __name(memoryRecordedConfirm, "memoryRecordedConfirm");
68107
68464
  function loadedPluginPicker(owner) {
68108
68465
  const plugins = owner.plugins?.list() ?? [];
68109
68466
  return {
@@ -68840,7 +69197,7 @@ async function launchTui(ctx, options = {}) {
68840
69197
  current: null
68841
69198
  };
68842
69199
  const workspacesEntry = /* @__PURE__ */ __name(() => {
68843
- workspaces.current ??= import("./entry-SJIEJ27T.js").then(
69200
+ workspaces.current ??= import("./entry-G2QJGWJH.js").then(
68844
69201
  (m) => m.createWorkspacesEntry({
68845
69202
  proxy,
68846
69203
  realOut: process.stdout,
@@ -69030,4 +69387,4 @@ react/cjs/react-jsx-runtime.development.js:
69030
69387
  * LICENSE file in the root directory of this source tree.
69031
69388
  *)
69032
69389
  */
69033
- //# sourceMappingURL=tui-JYX3XG2G.js.map
69390
+ //# sourceMappingURL=tui-P4LC4FMM.js.map