@namzu/cli 51.0.0 → 51.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-I75ITR7W.js → acp-OKCSCFH2.js} +109 -58
  4. package/dist/chunks/acp-OKCSCFH2.js.map +6 -0
  5. package/dist/chunks/{activity-command-6RM3I3CG.js → activity-command-SJGXPUYE.js} +12 -12
  6. package/dist/chunks/{add-X25CBZQM.js → add-H4FUTHAQ.js} +19 -19
  7. package/dist/chunks/{agent-TIXCYM5Q.js → agent-U4YLYJ4N.js} +35 -35
  8. package/dist/chunks/agent-session-YNUAPMAL.js +69 -0
  9. package/dist/chunks/{archive-UFBZQWFO.js → archive-O236ZKWI.js} +10 -10
  10. package/dist/chunks/{bin-main-5E4PLOSV.js → bin-main-YS3HF46K.js} +7 -7
  11. package/dist/chunks/{binding-EGKCFUJN.js → binding-SS7YOEIZ.js} +3 -3
  12. package/dist/chunks/{browser-WSEOMG6B.js → browser-OA2KB5Z2.js} +6 -6
  13. package/dist/chunks/{chat-XGURQIQN.js → chat-EBNDAIRO.js} +15 -15
  14. package/dist/chunks/{chunk-Y36X5RRN.js → chunk-22PMPEFX.js} +2 -2
  15. package/dist/chunks/{chunk-J6EAQ4XD.js → chunk-2E3ALKOF.js} +2 -2
  16. package/dist/chunks/{chunk-TW56AJLJ.js → chunk-3XIWMQLP.js} +7 -7
  17. package/dist/chunks/{chunk-SDIFKDGI.js → chunk-4HGQJYDZ.js} +3 -3
  18. package/dist/chunks/{chunk-DQW7UPXP.js → chunk-56SPZGFT.js} +2 -2
  19. package/dist/chunks/{chunk-BMYWEYPI.js → chunk-635U2FDK.js} +3 -3
  20. package/dist/chunks/{chunk-354BWCU6.js → chunk-6GITBOHO.js} +2 -2
  21. package/dist/chunks/{chunk-V6H2W6TZ.js → chunk-77RA2AU7.js} +3 -3
  22. package/dist/chunks/{chunk-TC3E4SKI.js → chunk-7J3IMJKF.js} +2 -2
  23. package/dist/chunks/{chunk-PYYCH65R.js → chunk-AJHNH4WR.js} +13 -13
  24. package/dist/chunks/{chunk-55KDC7DM.js → chunk-BK5AJ7TL.js} +2 -2
  25. package/dist/chunks/{chunk-5GWSNJUP.js → chunk-BPZQYXLI.js} +5 -5
  26. package/dist/chunks/{chunk-XBZJBXQY.js → chunk-C5P7OAML.js} +3 -3
  27. package/dist/chunks/{chunk-EBES22ZB.js → chunk-CDDXHKSP.js} +4 -4
  28. package/dist/chunks/{chunk-WBCYE4JI.js → chunk-CIHHPULI.js} +2 -2
  29. package/dist/chunks/{chunk-2MAMU7AX.js → chunk-D3ITBQ7T.js} +2 -2
  30. package/dist/chunks/{chunk-ZXYCWNKE.js → chunk-DFFTGAS7.js} +9 -9
  31. package/dist/chunks/{chunk-6I7YVWWO.js → chunk-DWFJETFP.js} +4 -4
  32. package/dist/chunks/{chunk-OY7K65K6.js → chunk-EB7AS2K4.js} +9 -9
  33. package/dist/chunks/{chunk-BNEGQX4Q.js → chunk-F3QD24YN.js} +33 -33
  34. package/dist/chunks/{chunk-4JTXA7EU.js → chunk-F7ECNFNX.js} +3 -3
  35. package/dist/chunks/{chunk-B3XETKYI.js → chunk-FA2ZVSEU.js} +2 -2
  36. package/dist/chunks/{chunk-GBIYC3OF.js → chunk-FSPBJ5VF.js} +2 -2
  37. package/dist/chunks/{chunk-TH3PVZT3.js → chunk-FUVWMCRY.js} +2 -2
  38. package/dist/chunks/{chunk-RWMWDV5U.js → chunk-GUZEB3KN.js} +3 -3
  39. package/dist/chunks/{chunk-5JPQVU57.js → chunk-HAIXGRRS.js} +2 -2
  40. package/dist/chunks/{chunk-NEMRZKU7.js → chunk-HARFWJBQ.js} +2 -2
  41. package/dist/chunks/{chunk-MPHLRHG6.js → chunk-HDBTTV2S.js} +2 -2
  42. package/dist/chunks/{chunk-GVXKT3BV.js → chunk-HXWIEKOB.js} +4 -4
  43. package/dist/chunks/{chunk-4SQVWV4B.js → chunk-JABCT4RQ.js} +5 -5
  44. package/dist/chunks/{chunk-YICIG5QP.js → chunk-JEEF7UIH.js} +4 -4
  45. package/dist/chunks/{chunk-POGVGWKL.js → chunk-JHLJJDNJ.js} +6 -6
  46. package/dist/chunks/{chunk-GFFWXLQI.js → chunk-JVIS6M37.js} +11 -11
  47. package/dist/chunks/{chunk-I3DHWG5M.js → chunk-KN3FKKYY.js} +3 -3
  48. package/dist/chunks/{chunk-LM3JEI5Z.js → chunk-KUVGN7VF.js} +2 -2
  49. package/dist/chunks/{chunk-KZTKHIP5.js → chunk-LLR7GHVU.js} +2 -2
  50. package/dist/chunks/{chunk-55LA4ARF.js → chunk-LMLCGIQR.js} +3 -3
  51. package/dist/chunks/{chunk-NSIV6WEI.js → chunk-MEZUNP2E.js} +2 -2
  52. package/dist/chunks/{chunk-I6WKUIVX.js → chunk-MOGE5ZMI.js} +3 -3
  53. package/dist/chunks/{chunk-3I4UQCJZ.js → chunk-MTY3SZOT.js} +2 -2
  54. package/dist/chunks/{chunk-JQO2LGPA.js → chunk-MV2T5HFQ.js} +4 -4
  55. package/dist/chunks/{chunk-UUZM4M2L.js → chunk-NWIOFCDB.js} +33 -33
  56. package/dist/chunks/{chunk-EPKNYAR5.js → chunk-O53H43CX.js} +2 -2
  57. package/dist/chunks/{chunk-GMAPTJ3G.js → chunk-O62YM5KA.js} +2 -2
  58. package/dist/chunks/{chunk-GTFK7PLC.js → chunk-O7J6EFVD.js} +13 -10
  59. package/dist/chunks/chunk-O7J6EFVD.js.map +6 -0
  60. package/dist/chunks/{chunk-NGHCVY4T.js → chunk-OLI35PTE.js} +2 -2
  61. package/dist/chunks/{chunk-TUBA7HB2.js → chunk-ONVXBWB5.js} +2 -2
  62. package/dist/chunks/{chunk-LNVTSRF3.js → chunk-P52PAWBP.js} +4 -4
  63. package/dist/chunks/{chunk-VRFKZSBH.js → chunk-P5OZ7YN6.js} +3 -3
  64. package/dist/chunks/{chunk-O53XPCC5.js → chunk-PKGMZRUT.js} +2 -2
  65. package/dist/chunks/{chunk-5MD7FSR4.js → chunk-PN2UBL2H.js} +2 -2
  66. package/dist/chunks/{chunk-ZSNNS2V6.js → chunk-PR2EE4G4.js} +3 -3
  67. package/dist/chunks/{chunk-LS2USKSX.js → chunk-PV4TEEGI.js} +5 -5
  68. package/dist/chunks/{chunk-45LQJKMG.js → chunk-PWNFXNFK.js} +3 -3
  69. package/dist/chunks/{chunk-NYYG7HAY.js → chunk-QY4UUQQT.js} +12 -12
  70. package/dist/chunks/{chunk-W7NCIPEV.js → chunk-R6P5H47N.js} +3 -3
  71. package/dist/chunks/{chunk-VIV4OF3E.js → chunk-R6ZDPAEV.js} +4 -4
  72. package/dist/chunks/{chunk-PD2MTV6U.js → chunk-RTDE5QSZ.js} +4 -4
  73. package/dist/chunks/{chunk-BMIFPELO.js → chunk-RTFC2VXR.js} +26 -6
  74. package/dist/chunks/chunk-RTFC2VXR.js.map +6 -0
  75. package/dist/chunks/{chunk-2UELHX7A.js → chunk-TQG7WZI5.js} +2 -2
  76. package/dist/chunks/{chunk-EUMXN6FC.js → chunk-UBOE47YI.js} +4 -4
  77. package/dist/chunks/{chunk-ZUDMNBWB.js → chunk-UNQYPFDZ.js} +6 -6
  78. package/dist/chunks/{chunk-2H2TQCA5.js → chunk-V4WSIY32.js} +2 -2
  79. package/dist/chunks/{chunk-R2K5AFBF.js → chunk-V5DDXBVW.js} +3 -3
  80. package/dist/chunks/{chunk-TUNKUMWI.js → chunk-VLE4DKQR.js} +3 -3
  81. package/dist/chunks/{chunk-APKI7B7W.js → chunk-VVMRXGQ6.js} +204 -128
  82. package/dist/chunks/chunk-VVMRXGQ6.js.map +6 -0
  83. package/dist/chunks/{chunk-ECYKNBHN.js → chunk-WCMXLFUB.js} +10 -10
  84. package/dist/chunks/{chunk-WQ2S6BUX.js → chunk-WD45OZPT.js} +3 -3
  85. package/dist/chunks/{chunk-C4YEWOFD.js → chunk-WEUXBFYG.js} +4 -4
  86. package/dist/chunks/{chunk-QZRV5EOA.js → chunk-XMYFIXCP.js} +4 -4
  87. package/dist/chunks/{chunk-OQCZ27OE.js → chunk-Y5D6542Z.js} +2 -2
  88. package/dist/chunks/{chunk-MNMG5JGZ.js → chunk-YGLJBR4L.js} +4 -4
  89. package/dist/chunks/{chunk-W3M6GZTY.js → chunk-YM5DH66D.js} +3 -3
  90. package/dist/chunks/{chunk-WYGUFPCK.js → chunk-YY6RFZ2L.js} +9 -9
  91. package/dist/chunks/{chunk-4ZWZ3UZ2.js → chunk-ZIUKLIUS.js} +2 -2
  92. package/dist/chunks/{chunk-W2PMDZWZ.js → chunk-ZNC5BEFK.js} +2 -2
  93. package/dist/chunks/{cli-runtime-6YUL7KO4.js → cli-runtime-5GEVVA3K.js} +11 -11
  94. package/dist/chunks/{commands-INKRVLL2.js → commands-Y37MKMRJ.js} +5 -5
  95. package/dist/chunks/{crash-report-W2LEW2CB.js → crash-report-S6W5DXCO.js} +6 -6
  96. package/dist/chunks/{dist-32QKP26R.js → dist-2RVY7QOH.js} +2 -2
  97. package/dist/chunks/{dist-YKMXFMEH.js → dist-3FVIUYVA.js} +2 -2
  98. package/dist/chunks/{dist-G66KFB6L.js → dist-4ATGJMUC.js} +2 -2
  99. package/dist/chunks/{dist-2WHW47YN.js → dist-5E47CZZT.js} +2 -2
  100. package/dist/chunks/{dist-CNCFMP4G.js → dist-DODOSCTW.js} +10 -2
  101. package/dist/chunks/{dist-KNDQQ7NJ.js → dist-HCI4L6AO.js} +2 -2
  102. package/dist/chunks/{dist-UH4FMDFC.js → dist-IPQPISKD.js} +2 -2
  103. package/dist/chunks/{dist-MSXSGG4O.js → dist-YO357DAD.js} +2 -2
  104. package/dist/chunks/{doctor-GUQ55L7P.js → doctor-EZEJEK6B.js} +16 -16
  105. package/dist/chunks/{drain-W354CYLH.js → drain-VVEMLN3L.js} +9 -9
  106. package/dist/chunks/{entry-A6OLKTK4.js → entry-CZ63UJYN.js} +6 -6
  107. package/dist/chunks/{eval-4WUEX4J2.js → eval-ZOF3EXZS.js} +2 -2
  108. package/dist/chunks/{exec-2GC33AL4.js → exec-DYAFXHZM.js} +34 -34
  109. package/dist/chunks/{home-T4OIF6S7.js → home-UVU2HRDB.js} +3 -3
  110. package/dist/chunks/{host-AVAUHFYK.js → host-Q3YNLTNL.js} +10 -10
  111. package/dist/chunks/{host-queries-DOTBOTRM.js → host-queries-Z4BSL457.js} +15 -15
  112. package/dist/chunks/{learn-YMOECXWO.js → learn-SAZ3JOK3.js} +11 -11
  113. package/dist/chunks/{learn-builtin-BF6BC7VT.js → learn-builtin-SQ2BTDFH.js} +14 -14
  114. package/dist/chunks/{lifecycle-SCXNENNO.js → lifecycle-24A5HH4I.js} +28 -28
  115. package/dist/chunks/{list-A2TVECA4.js → list-HAI55KLQ.js} +11 -11
  116. package/dist/chunks/{live-GIKIVP5N.js → live-EIQ666TU.js} +15 -15
  117. package/dist/chunks/{login-COY7ZU76.js → login-YJ6L7KSY.js} +13 -13
  118. package/dist/chunks/{logs-HN5ED3XC.js → logs-RWGXFRMN.js} +4 -4
  119. package/dist/chunks/{mcp-KMFXTAEG.js → mcp-DO454555.js} +21 -21
  120. package/dist/chunks/{message-command-XJCX6GEH.js → message-command-AJOTC3UK.js} +41 -41
  121. package/dist/chunks/{open-7CKFU4GZ.js → open-LEAR5UBX.js} +8 -8
  122. package/dist/chunks/{operator-tools-SBSUWAPM.js → operator-tools-AHP32F2J.js} +13 -13
  123. package/dist/chunks/{output-schema-OF7MU44K.js → output-schema-YDKTNTMM.js} +3 -3
  124. package/dist/chunks/{pal-ANABYPQI.js → pal-XPZD6PAO.js} +16 -16
  125. package/dist/chunks/{peers-MQMTWBNF.js → peers-MRKWY3MG.js} +7 -7
  126. package/dist/chunks/{peers-45ERDPKF.js → peers-NLUBD4IW.js} +6 -6
  127. package/dist/chunks/{providers-U2VOQPIQ.js → providers-QPESWN6K.js} +11 -11
  128. package/dist/chunks/{pty-O3JUR6E6.js → pty-BDOOEOCB.js} +3 -3
  129. package/dist/chunks/resume-ZS3VS5OQ.js +23 -0
  130. package/dist/chunks/{resume-command-CTK2KZBA.js → resume-command-KIXKOEM3.js} +4 -4
  131. package/dist/chunks/{schedule-QPTZKLTX.js → schedule-6BKCRYAT.js} +8 -8
  132. package/dist/chunks/{service-HV3GCDHA.js → service-ENTDZAVD.js} +28 -28
  133. package/dist/chunks/{skills-2AT7ET7J.js → skills-MG2BRTPV.js} +8 -8
  134. package/dist/chunks/{start-check-KLNGOTCH.js → start-check-7WYNSBON.js} +2 -2
  135. package/dist/chunks/{startup-failure-LONKNDPE.js → startup-failure-EWWYKPVE.js} +2 -2
  136. package/dist/chunks/{state-NH64B6V6.js → state-6UVY4EHA.js} +2 -2
  137. package/dist/chunks/{store-FQVXZJIN.js → store-ASWK7TVD.js} +3 -3
  138. package/dist/chunks/{store-3UO335CU.js → store-OKK7A6ZE.js} +6 -6
  139. package/dist/chunks/{store-XEDK3ESU.js → store-UFUDXZG6.js} +14 -10
  140. package/dist/chunks/{store-UK2654YC.js → store-XU4PITDA.js} +4 -4
  141. package/dist/chunks/{tui-2PVEZMXJ.js → tui-L4BRR4H5.js} +64 -64
  142. package/dist/chunks/{upgrade-ERUCYWMK.js → upgrade-IJFMAW3T.js} +7 -7
  143. package/dist/chunks/{workspaces-YIBJSUGI.js → workspaces-KVFY66IC.js} +16 -16
  144. package/dist/chunks/{worktree-4K2Y37SY.js → worktree-7JTMEYRX.js} +12 -12
  145. package/dist/commands/acp-provider-retry.d.ts +30 -0
  146. package/dist/commands/acp-provider-retry.d.ts.map +1 -1
  147. package/dist/commands/acp.d.ts.map +1 -1
  148. package/dist/commands/desktop-host.d.ts +3 -0
  149. package/dist/commands/desktop-host.d.ts.map +1 -1
  150. package/dist/index.js +19 -19
  151. package/dist/integrations/sessions/store.d.ts +7 -1
  152. package/dist/integrations/sessions/store.d.ts.map +1 -1
  153. package/dist/tui/conversation-in-use.d.ts +2 -2
  154. package/dist/tui/conversation-in-use.d.ts.map +1 -1
  155. package/package.json +7 -7
  156. package/dist/chunks/acp-I75ITR7W.js.map +0 -6
  157. package/dist/chunks/agent-session-YXYFEYXB.js +0 -69
  158. package/dist/chunks/chunk-APKI7B7W.js.map +0 -6
  159. package/dist/chunks/chunk-BMIFPELO.js.map +0 -6
  160. package/dist/chunks/chunk-GTFK7PLC.js.map +0 -6
  161. package/dist/chunks/resume-SAA3MLKU.js +0 -23
  162. /package/dist/chunks/{activity-command-6RM3I3CG.js.map → activity-command-SJGXPUYE.js.map} +0 -0
  163. /package/dist/chunks/{add-X25CBZQM.js.map → add-H4FUTHAQ.js.map} +0 -0
  164. /package/dist/chunks/{agent-TIXCYM5Q.js.map → agent-U4YLYJ4N.js.map} +0 -0
  165. /package/dist/chunks/{agent-session-YXYFEYXB.js.map → agent-session-YNUAPMAL.js.map} +0 -0
  166. /package/dist/chunks/{archive-UFBZQWFO.js.map → archive-O236ZKWI.js.map} +0 -0
  167. /package/dist/chunks/{bin-main-5E4PLOSV.js.map → bin-main-YS3HF46K.js.map} +0 -0
  168. /package/dist/chunks/{binding-EGKCFUJN.js.map → binding-SS7YOEIZ.js.map} +0 -0
  169. /package/dist/chunks/{browser-WSEOMG6B.js.map → browser-OA2KB5Z2.js.map} +0 -0
  170. /package/dist/chunks/{chat-XGURQIQN.js.map → chat-EBNDAIRO.js.map} +0 -0
  171. /package/dist/chunks/{chunk-Y36X5RRN.js.map → chunk-22PMPEFX.js.map} +0 -0
  172. /package/dist/chunks/{chunk-J6EAQ4XD.js.map → chunk-2E3ALKOF.js.map} +0 -0
  173. /package/dist/chunks/{chunk-TW56AJLJ.js.map → chunk-3XIWMQLP.js.map} +0 -0
  174. /package/dist/chunks/{chunk-SDIFKDGI.js.map → chunk-4HGQJYDZ.js.map} +0 -0
  175. /package/dist/chunks/{chunk-DQW7UPXP.js.map → chunk-56SPZGFT.js.map} +0 -0
  176. /package/dist/chunks/{chunk-BMYWEYPI.js.map → chunk-635U2FDK.js.map} +0 -0
  177. /package/dist/chunks/{chunk-354BWCU6.js.map → chunk-6GITBOHO.js.map} +0 -0
  178. /package/dist/chunks/{chunk-V6H2W6TZ.js.map → chunk-77RA2AU7.js.map} +0 -0
  179. /package/dist/chunks/{chunk-TC3E4SKI.js.map → chunk-7J3IMJKF.js.map} +0 -0
  180. /package/dist/chunks/{chunk-PYYCH65R.js.map → chunk-AJHNH4WR.js.map} +0 -0
  181. /package/dist/chunks/{chunk-55KDC7DM.js.map → chunk-BK5AJ7TL.js.map} +0 -0
  182. /package/dist/chunks/{chunk-5GWSNJUP.js.map → chunk-BPZQYXLI.js.map} +0 -0
  183. /package/dist/chunks/{chunk-XBZJBXQY.js.map → chunk-C5P7OAML.js.map} +0 -0
  184. /package/dist/chunks/{chunk-EBES22ZB.js.map → chunk-CDDXHKSP.js.map} +0 -0
  185. /package/dist/chunks/{chunk-WBCYE4JI.js.map → chunk-CIHHPULI.js.map} +0 -0
  186. /package/dist/chunks/{chunk-2MAMU7AX.js.map → chunk-D3ITBQ7T.js.map} +0 -0
  187. /package/dist/chunks/{chunk-ZXYCWNKE.js.map → chunk-DFFTGAS7.js.map} +0 -0
  188. /package/dist/chunks/{chunk-6I7YVWWO.js.map → chunk-DWFJETFP.js.map} +0 -0
  189. /package/dist/chunks/{chunk-OY7K65K6.js.map → chunk-EB7AS2K4.js.map} +0 -0
  190. /package/dist/chunks/{chunk-BNEGQX4Q.js.map → chunk-F3QD24YN.js.map} +0 -0
  191. /package/dist/chunks/{chunk-4JTXA7EU.js.map → chunk-F7ECNFNX.js.map} +0 -0
  192. /package/dist/chunks/{chunk-B3XETKYI.js.map → chunk-FA2ZVSEU.js.map} +0 -0
  193. /package/dist/chunks/{chunk-GBIYC3OF.js.map → chunk-FSPBJ5VF.js.map} +0 -0
  194. /package/dist/chunks/{chunk-TH3PVZT3.js.map → chunk-FUVWMCRY.js.map} +0 -0
  195. /package/dist/chunks/{chunk-RWMWDV5U.js.map → chunk-GUZEB3KN.js.map} +0 -0
  196. /package/dist/chunks/{chunk-5JPQVU57.js.map → chunk-HAIXGRRS.js.map} +0 -0
  197. /package/dist/chunks/{chunk-NEMRZKU7.js.map → chunk-HARFWJBQ.js.map} +0 -0
  198. /package/dist/chunks/{chunk-MPHLRHG6.js.map → chunk-HDBTTV2S.js.map} +0 -0
  199. /package/dist/chunks/{chunk-GVXKT3BV.js.map → chunk-HXWIEKOB.js.map} +0 -0
  200. /package/dist/chunks/{chunk-4SQVWV4B.js.map → chunk-JABCT4RQ.js.map} +0 -0
  201. /package/dist/chunks/{chunk-YICIG5QP.js.map → chunk-JEEF7UIH.js.map} +0 -0
  202. /package/dist/chunks/{chunk-POGVGWKL.js.map → chunk-JHLJJDNJ.js.map} +0 -0
  203. /package/dist/chunks/{chunk-GFFWXLQI.js.map → chunk-JVIS6M37.js.map} +0 -0
  204. /package/dist/chunks/{chunk-I3DHWG5M.js.map → chunk-KN3FKKYY.js.map} +0 -0
  205. /package/dist/chunks/{chunk-LM3JEI5Z.js.map → chunk-KUVGN7VF.js.map} +0 -0
  206. /package/dist/chunks/{chunk-KZTKHIP5.js.map → chunk-LLR7GHVU.js.map} +0 -0
  207. /package/dist/chunks/{chunk-55LA4ARF.js.map → chunk-LMLCGIQR.js.map} +0 -0
  208. /package/dist/chunks/{chunk-NSIV6WEI.js.map → chunk-MEZUNP2E.js.map} +0 -0
  209. /package/dist/chunks/{chunk-I6WKUIVX.js.map → chunk-MOGE5ZMI.js.map} +0 -0
  210. /package/dist/chunks/{chunk-3I4UQCJZ.js.map → chunk-MTY3SZOT.js.map} +0 -0
  211. /package/dist/chunks/{chunk-JQO2LGPA.js.map → chunk-MV2T5HFQ.js.map} +0 -0
  212. /package/dist/chunks/{chunk-UUZM4M2L.js.map → chunk-NWIOFCDB.js.map} +0 -0
  213. /package/dist/chunks/{chunk-EPKNYAR5.js.map → chunk-O53H43CX.js.map} +0 -0
  214. /package/dist/chunks/{chunk-GMAPTJ3G.js.map → chunk-O62YM5KA.js.map} +0 -0
  215. /package/dist/chunks/{chunk-NGHCVY4T.js.map → chunk-OLI35PTE.js.map} +0 -0
  216. /package/dist/chunks/{chunk-TUBA7HB2.js.map → chunk-ONVXBWB5.js.map} +0 -0
  217. /package/dist/chunks/{chunk-LNVTSRF3.js.map → chunk-P52PAWBP.js.map} +0 -0
  218. /package/dist/chunks/{chunk-VRFKZSBH.js.map → chunk-P5OZ7YN6.js.map} +0 -0
  219. /package/dist/chunks/{chunk-O53XPCC5.js.map → chunk-PKGMZRUT.js.map} +0 -0
  220. /package/dist/chunks/{chunk-5MD7FSR4.js.map → chunk-PN2UBL2H.js.map} +0 -0
  221. /package/dist/chunks/{chunk-ZSNNS2V6.js.map → chunk-PR2EE4G4.js.map} +0 -0
  222. /package/dist/chunks/{chunk-LS2USKSX.js.map → chunk-PV4TEEGI.js.map} +0 -0
  223. /package/dist/chunks/{chunk-45LQJKMG.js.map → chunk-PWNFXNFK.js.map} +0 -0
  224. /package/dist/chunks/{chunk-NYYG7HAY.js.map → chunk-QY4UUQQT.js.map} +0 -0
  225. /package/dist/chunks/{chunk-W7NCIPEV.js.map → chunk-R6P5H47N.js.map} +0 -0
  226. /package/dist/chunks/{chunk-VIV4OF3E.js.map → chunk-R6ZDPAEV.js.map} +0 -0
  227. /package/dist/chunks/{chunk-PD2MTV6U.js.map → chunk-RTDE5QSZ.js.map} +0 -0
  228. /package/dist/chunks/{chunk-2UELHX7A.js.map → chunk-TQG7WZI5.js.map} +0 -0
  229. /package/dist/chunks/{chunk-EUMXN6FC.js.map → chunk-UBOE47YI.js.map} +0 -0
  230. /package/dist/chunks/{chunk-ZUDMNBWB.js.map → chunk-UNQYPFDZ.js.map} +0 -0
  231. /package/dist/chunks/{chunk-2H2TQCA5.js.map → chunk-V4WSIY32.js.map} +0 -0
  232. /package/dist/chunks/{chunk-R2K5AFBF.js.map → chunk-V5DDXBVW.js.map} +0 -0
  233. /package/dist/chunks/{chunk-TUNKUMWI.js.map → chunk-VLE4DKQR.js.map} +0 -0
  234. /package/dist/chunks/{chunk-ECYKNBHN.js.map → chunk-WCMXLFUB.js.map} +0 -0
  235. /package/dist/chunks/{chunk-WQ2S6BUX.js.map → chunk-WD45OZPT.js.map} +0 -0
  236. /package/dist/chunks/{chunk-C4YEWOFD.js.map → chunk-WEUXBFYG.js.map} +0 -0
  237. /package/dist/chunks/{chunk-QZRV5EOA.js.map → chunk-XMYFIXCP.js.map} +0 -0
  238. /package/dist/chunks/{chunk-OQCZ27OE.js.map → chunk-Y5D6542Z.js.map} +0 -0
  239. /package/dist/chunks/{chunk-MNMG5JGZ.js.map → chunk-YGLJBR4L.js.map} +0 -0
  240. /package/dist/chunks/{chunk-W3M6GZTY.js.map → chunk-YM5DH66D.js.map} +0 -0
  241. /package/dist/chunks/{chunk-WYGUFPCK.js.map → chunk-YY6RFZ2L.js.map} +0 -0
  242. /package/dist/chunks/{chunk-4ZWZ3UZ2.js.map → chunk-ZIUKLIUS.js.map} +0 -0
  243. /package/dist/chunks/{chunk-W2PMDZWZ.js.map → chunk-ZNC5BEFK.js.map} +0 -0
  244. /package/dist/chunks/{cli-runtime-6YUL7KO4.js.map → cli-runtime-5GEVVA3K.js.map} +0 -0
  245. /package/dist/chunks/{commands-INKRVLL2.js.map → commands-Y37MKMRJ.js.map} +0 -0
  246. /package/dist/chunks/{crash-report-W2LEW2CB.js.map → crash-report-S6W5DXCO.js.map} +0 -0
  247. /package/dist/chunks/{dist-32QKP26R.js.map → dist-2RVY7QOH.js.map} +0 -0
  248. /package/dist/chunks/{dist-YKMXFMEH.js.map → dist-3FVIUYVA.js.map} +0 -0
  249. /package/dist/chunks/{dist-G66KFB6L.js.map → dist-4ATGJMUC.js.map} +0 -0
  250. /package/dist/chunks/{dist-2WHW47YN.js.map → dist-5E47CZZT.js.map} +0 -0
  251. /package/dist/chunks/{dist-CNCFMP4G.js.map → dist-DODOSCTW.js.map} +0 -0
  252. /package/dist/chunks/{dist-KNDQQ7NJ.js.map → dist-HCI4L6AO.js.map} +0 -0
  253. /package/dist/chunks/{dist-UH4FMDFC.js.map → dist-IPQPISKD.js.map} +0 -0
  254. /package/dist/chunks/{dist-MSXSGG4O.js.map → dist-YO357DAD.js.map} +0 -0
  255. /package/dist/chunks/{doctor-GUQ55L7P.js.map → doctor-EZEJEK6B.js.map} +0 -0
  256. /package/dist/chunks/{drain-W354CYLH.js.map → drain-VVEMLN3L.js.map} +0 -0
  257. /package/dist/chunks/{entry-A6OLKTK4.js.map → entry-CZ63UJYN.js.map} +0 -0
  258. /package/dist/chunks/{eval-4WUEX4J2.js.map → eval-ZOF3EXZS.js.map} +0 -0
  259. /package/dist/chunks/{exec-2GC33AL4.js.map → exec-DYAFXHZM.js.map} +0 -0
  260. /package/dist/chunks/{home-T4OIF6S7.js.map → home-UVU2HRDB.js.map} +0 -0
  261. /package/dist/chunks/{host-AVAUHFYK.js.map → host-Q3YNLTNL.js.map} +0 -0
  262. /package/dist/chunks/{host-queries-DOTBOTRM.js.map → host-queries-Z4BSL457.js.map} +0 -0
  263. /package/dist/chunks/{learn-YMOECXWO.js.map → learn-SAZ3JOK3.js.map} +0 -0
  264. /package/dist/chunks/{learn-builtin-BF6BC7VT.js.map → learn-builtin-SQ2BTDFH.js.map} +0 -0
  265. /package/dist/chunks/{lifecycle-SCXNENNO.js.map → lifecycle-24A5HH4I.js.map} +0 -0
  266. /package/dist/chunks/{list-A2TVECA4.js.map → list-HAI55KLQ.js.map} +0 -0
  267. /package/dist/chunks/{live-GIKIVP5N.js.map → live-EIQ666TU.js.map} +0 -0
  268. /package/dist/chunks/{login-COY7ZU76.js.map → login-YJ6L7KSY.js.map} +0 -0
  269. /package/dist/chunks/{logs-HN5ED3XC.js.map → logs-RWGXFRMN.js.map} +0 -0
  270. /package/dist/chunks/{mcp-KMFXTAEG.js.map → mcp-DO454555.js.map} +0 -0
  271. /package/dist/chunks/{message-command-XJCX6GEH.js.map → message-command-AJOTC3UK.js.map} +0 -0
  272. /package/dist/chunks/{open-7CKFU4GZ.js.map → open-LEAR5UBX.js.map} +0 -0
  273. /package/dist/chunks/{operator-tools-SBSUWAPM.js.map → operator-tools-AHP32F2J.js.map} +0 -0
  274. /package/dist/chunks/{output-schema-OF7MU44K.js.map → output-schema-YDKTNTMM.js.map} +0 -0
  275. /package/dist/chunks/{pal-ANABYPQI.js.map → pal-XPZD6PAO.js.map} +0 -0
  276. /package/dist/chunks/{peers-MQMTWBNF.js.map → peers-MRKWY3MG.js.map} +0 -0
  277. /package/dist/chunks/{peers-45ERDPKF.js.map → peers-NLUBD4IW.js.map} +0 -0
  278. /package/dist/chunks/{providers-U2VOQPIQ.js.map → providers-QPESWN6K.js.map} +0 -0
  279. /package/dist/chunks/{pty-O3JUR6E6.js.map → pty-BDOOEOCB.js.map} +0 -0
  280. /package/dist/chunks/{resume-SAA3MLKU.js.map → resume-ZS3VS5OQ.js.map} +0 -0
  281. /package/dist/chunks/{resume-command-CTK2KZBA.js.map → resume-command-KIXKOEM3.js.map} +0 -0
  282. /package/dist/chunks/{schedule-QPTZKLTX.js.map → schedule-6BKCRYAT.js.map} +0 -0
  283. /package/dist/chunks/{service-HV3GCDHA.js.map → service-ENTDZAVD.js.map} +0 -0
  284. /package/dist/chunks/{skills-2AT7ET7J.js.map → skills-MG2BRTPV.js.map} +0 -0
  285. /package/dist/chunks/{start-check-KLNGOTCH.js.map → start-check-7WYNSBON.js.map} +0 -0
  286. /package/dist/chunks/{startup-failure-LONKNDPE.js.map → startup-failure-EWWYKPVE.js.map} +0 -0
  287. /package/dist/chunks/{state-NH64B6V6.js.map → state-6UVY4EHA.js.map} +0 -0
  288. /package/dist/chunks/{store-3UO335CU.js.map → store-ASWK7TVD.js.map} +0 -0
  289. /package/dist/chunks/{store-FQVXZJIN.js.map → store-OKK7A6ZE.js.map} +0 -0
  290. /package/dist/chunks/{store-UK2654YC.js.map → store-UFUDXZG6.js.map} +0 -0
  291. /package/dist/chunks/{store-XEDK3ESU.js.map → store-XU4PITDA.js.map} +0 -0
  292. /package/dist/chunks/{tui-2PVEZMXJ.js.map → tui-L4BRR4H5.js.map} +0 -0
  293. /package/dist/chunks/{upgrade-ERUCYWMK.js.map → upgrade-IJFMAW3T.js.map} +0 -0
  294. /package/dist/chunks/{workspaces-YIBJSUGI.js.map → workspaces-KVFY66IC.js.map} +0 -0
  295. /package/dist/chunks/{worktree-4K2Y37SY.js.map → worktree-7JTMEYRX.js.map} +0 -0
@@ -325,7 +325,7 @@ var require_brace_expansion = __commonJS({
325
325
  });
326
326
 
327
327
  // ../sdk/dist/version.js
328
- var VERSION = "62.11.0";
328
+ var VERSION = "62.12.0";
329
329
 
330
330
  // ../sdk/dist/runtime/harness-session/index.js
331
331
  import { posix, win32 } from "node:path";
@@ -3282,9 +3282,9 @@ function stripTabAndNewline(value) {
3282
3282
  return value.replace(asciiTabOrNewline, "");
3283
3283
  }
3284
3284
  __name(stripTabAndNewline, "stripTabAndNewline");
3285
- function urlHostnameOk(url2, hostname3) {
3286
- hostname3.lastIndex = 0;
3287
- return hostname3.test(url2.hostname);
3285
+ function urlHostnameOk(url2, hostname4) {
3286
+ hostname4.lastIndex = 0;
3287
+ return hostname4.test(url2.hostname);
3288
3288
  }
3289
3289
  __name(urlHostnameOk, "urlHostnameOk");
3290
3290
  function urlProtocolOk(url2, protocol) {
@@ -24447,9 +24447,9 @@ var GuardedFetchProvider = class {
24447
24447
  if (!ALLOWED_SCHEMES.has(url2.protocol)) {
24448
24448
  throw new WebFetchRefusedError(`Refused "${url2.protocol}" \u2014 only http and https are fetched.`, { url: rawUrl, reason: "scheme" });
24449
24449
  }
24450
- const hostname3 = url2.hostname.toLowerCase().replace(/^\[|\]$/g, "");
24451
- if (this.config.blockedHosts?.some((blocked) => blocked.toLowerCase() === hostname3)) {
24452
- throw new WebFetchRefusedError(`Refused "${hostname3}" \u2014 the host blocks this name.`, {
24450
+ const hostname4 = url2.hostname.toLowerCase().replace(/^\[|\]$/g, "");
24451
+ if (this.config.blockedHosts?.some((blocked) => blocked.toLowerCase() === hostname4)) {
24452
+ throw new WebFetchRefusedError(`Refused "${hostname4}" \u2014 the host blocks this name.`, {
24453
24453
  url: rawUrl,
24454
24454
  reason: "blocked-host"
24455
24455
  });
@@ -24460,17 +24460,17 @@ var GuardedFetchProvider = class {
24460
24460
  }
24461
24461
  const resolve37 = this.config.resolve ?? (async (name2) => (await lookup(name2, { all: true })).map((r) => r.address));
24462
24462
  let addresses;
24463
- if (isIP(hostname3)) {
24464
- addresses = [hostname3];
24463
+ if (isIP(hostname4)) {
24464
+ addresses = [hostname4];
24465
24465
  } else {
24466
24466
  try {
24467
- addresses = await operation.run(() => resolve37(hostname3, operation.signal));
24467
+ addresses = await operation.run(() => resolve37(hostname4, operation.signal));
24468
24468
  } catch (err) {
24469
24469
  operation.throwIfStopped();
24470
- throw new WebFetchRefusedError(`Refused "${hostname3}" \u2014 it could not be resolved (${err instanceof Error ? err.message : String(err)}), so nothing here can say where it points.`, { url: rawUrl, reason: "private-address" });
24470
+ throw new WebFetchRefusedError(`Refused "${hostname4}" \u2014 it could not be resolved (${err instanceof Error ? err.message : String(err)}), so nothing here can say where it points.`, { url: rawUrl, reason: "private-address" });
24471
24471
  }
24472
24472
  if (addresses.length === 0) {
24473
- throw new WebFetchRefusedError(`Refused "${hostname3}" \u2014 it resolves to no addresses.`, {
24473
+ throw new WebFetchRefusedError(`Refused "${hostname4}" \u2014 it resolves to no addresses.`, {
24474
24474
  url: rawUrl,
24475
24475
  reason: "private-address"
24476
24476
  });
@@ -24478,7 +24478,7 @@ var GuardedFetchProvider = class {
24478
24478
  }
24479
24479
  for (const address2 of addresses) {
24480
24480
  if (isPrivateAddress(address2)) {
24481
- throw new WebFetchRefusedError(`Refused "${hostname3}" \u2014 it resolves to ${address2}, inside this host's own network.`, { url: rawUrl, reason: "private-address" });
24481
+ throw new WebFetchRefusedError(`Refused "${hostname4}" \u2014 it resolves to ${address2}, inside this host's own network.`, { url: rawUrl, reason: "private-address" });
24482
24482
  }
24483
24483
  }
24484
24484
  operation.throwIfStopped();
@@ -24804,26 +24804,26 @@ function webSocketHostname(raw) {
24804
24804
  }
24805
24805
  __name(webSocketHostname, "webSocketHostname");
24806
24806
  async function vetWebSocketTarget(raw, options = {}) {
24807
- const hostname3 = webSocketHostname(raw);
24807
+ const hostname4 = webSocketHostname(raw);
24808
24808
  let addresses;
24809
- const literal3 = isIP2(hostname3);
24809
+ const literal3 = isIP2(hostname4);
24810
24810
  if (literal3 !== 0) {
24811
- addresses = [hostname3];
24811
+ addresses = [hostname4];
24812
24812
  } else {
24813
24813
  const resolve37 = options.resolve ?? (async (name2) => (await dnsLookup(name2, { all: true })).map((r) => r.address));
24814
24814
  try {
24815
- addresses = await resolve37(hostname3);
24815
+ addresses = await resolve37(hostname4);
24816
24816
  } catch (err) {
24817
- throw new WebSocketRefusedError(`Refused "${hostname3}": it could not be resolved (${err instanceof Error ? err.message : String(err)}), so nothing here can say where it points.`);
24817
+ throw new WebSocketRefusedError(`Refused "${hostname4}": it could not be resolved (${err instanceof Error ? err.message : String(err)}), so nothing here can say where it points.`);
24818
24818
  }
24819
24819
  if (addresses.length === 0) {
24820
- throw new WebSocketRefusedError(`Refused "${hostname3}": it resolves to no addresses.`);
24820
+ throw new WebSocketRefusedError(`Refused "${hostname4}": it resolves to no addresses.`);
24821
24821
  }
24822
24822
  }
24823
24823
  if (options.allowPrivateAddresses !== true) {
24824
24824
  for (const address2 of addresses) {
24825
24825
  if (isPrivateAddress(address2)) {
24826
- throw new WebSocketRefusedError(`Refused "${hostname3}": it resolves to ${address2}, inside this host's own network. A WebSocket monitor only connects to public addresses.`);
24826
+ throw new WebSocketRefusedError(`Refused "${hostname4}": it resolves to ${address2}, inside this host's own network. A WebSocket monitor only connects to public addresses.`);
24827
24827
  }
24828
24828
  }
24829
24829
  }
@@ -24849,8 +24849,8 @@ function pinnedLookup(addresses) {
24849
24849
  };
24850
24850
  }
24851
24851
  __name(pinnedLookup, "pinnedLookup");
24852
- function hostMatchesPolicy(hostname3, allowedHosts) {
24853
- const host = hostname3.toLowerCase().replace(/\.$/, "");
24852
+ function hostMatchesPolicy(hostname4, allowedHosts) {
24853
+ const host = hostname4.toLowerCase().replace(/\.$/, "");
24854
24854
  return allowedHosts.some((entry) => {
24855
24855
  const allowed = entry.toLowerCase().replace(/\.$/, "");
24856
24856
  if (allowed.startsWith("."))
@@ -24859,15 +24859,15 @@ function hostMatchesPolicy(hostname3, allowedHosts) {
24859
24859
  });
24860
24860
  }
24861
24861
  __name(hostMatchesPolicy, "hostMatchesPolicy");
24862
- function webSocketSandboxRefusal(sandbox, hostname3) {
24862
+ function webSocketSandboxRefusal(sandbox, hostname4) {
24863
24863
  if (sandbox === void 0)
24864
24864
  return void 0;
24865
24865
  if (!isolationOf(sandbox.environment).network)
24866
24866
  return void 0;
24867
24867
  const allowed = sandbox.networkPolicy?.allowedHosts;
24868
- if (allowed !== void 0 && hostMatchesPolicy(hostname3, allowed))
24868
+ if (allowed !== void 0 && hostMatchesPolicy(hostname4, allowed))
24869
24869
  return void 0;
24870
- return `A WebSocket monitor connects from the host, outside this turn's sandbox, which blocks the network. "${hostname3}" is not on the sandbox's list of allowed hosts, so the connection was not opened. Allow the host in the sandbox's network policy, or watch the service from inside the sandbox with a command.`;
24870
+ return `A WebSocket monitor connects from the host, outside this turn's sandbox, which blocks the network. "${hostname4}" is not on the sandbox's list of allowed hosts, so the connection was not opened. Allow the host in the sandbox's network policy, or watch the service from inside the sandbox with a command.`;
24871
24871
  }
24872
24872
  __name(webSocketSandboxRefusal, "webSocketSandboxRefusal");
24873
24873
  function oneLine2(text9) {
@@ -44676,6 +44676,78 @@ function readSessionLog(file2, options = {}) {
44676
44676
  }
44677
44677
  __name(readSessionLog, "readSessionLog");
44678
44678
 
44679
+ // ../sdk/dist/store/session-log/turn-holder.js
44680
+ import { createHash as createHash10 } from "node:crypto";
44681
+ import { readFileSync as readFileSync3, readlinkSync } from "node:fs";
44682
+ import { hostname as hostname3 } from "node:os";
44683
+ var PLACE_LENGTH = 12;
44684
+ var PLACE_TAIL = new RegExp(`@([0-9a-f]{${PLACE_LENGTH}})$`);
44685
+ var HOLDER = /^namzu:([0-9]+):([\s\S]+)$/;
44686
+ function placeOf(source) {
44687
+ let material = `host:${source.hostName}`;
44688
+ if (source.pidNamespace)
44689
+ material += `
44690
+ pidns:${source.pidNamespace}`;
44691
+ if (source.machineId)
44692
+ material += `
44693
+ machine:${source.machineId}`;
44694
+ return createHash10("sha256").update(material).digest("hex").slice(0, PLACE_LENGTH);
44695
+ }
44696
+ __name(placeOf, "placeOf");
44697
+ function readPidNamespace() {
44698
+ try {
44699
+ return readlinkSync("/proc/self/ns/pid");
44700
+ } catch {
44701
+ return void 0;
44702
+ }
44703
+ }
44704
+ __name(readPidNamespace, "readPidNamespace");
44705
+ function readMachineId() {
44706
+ for (const path2 of ["/etc/machine-id", "/var/lib/dbus/machine-id"]) {
44707
+ try {
44708
+ const id3 = readFileSync3(path2, "utf8").trim();
44709
+ if (id3 !== "")
44710
+ return id3;
44711
+ } catch {
44712
+ }
44713
+ }
44714
+ return void 0;
44715
+ }
44716
+ __name(readMachineId, "readMachineId");
44717
+ var cachedPlace;
44718
+ function currentPlace() {
44719
+ cachedPlace ??= placeOf({
44720
+ hostName: hostname3(),
44721
+ pidNamespace: readPidNamespace(),
44722
+ machineId: readMachineId()
44723
+ });
44724
+ return cachedPlace;
44725
+ }
44726
+ __name(currentPlace, "currentPlace");
44727
+ function turnHolder(tail, options = {}) {
44728
+ return `namzu:${options.pid ?? process.pid}:${tail}@${options.place ?? currentPlace()}`;
44729
+ }
44730
+ __name(turnHolder, "turnHolder");
44731
+ function parseTurnHolder(holder) {
44732
+ const match = HOLDER.exec(holder);
44733
+ if (!match)
44734
+ return null;
44735
+ const pid = Number(match[1]);
44736
+ if (!Number.isSafeInteger(pid))
44737
+ return null;
44738
+ let turnId6 = match[2];
44739
+ let place;
44740
+ const tail = PLACE_TAIL.exec(turnId6);
44741
+ if (tail) {
44742
+ place = tail[1];
44743
+ turnId6 = turnId6.slice(0, turnId6.length - tail[0].length);
44744
+ }
44745
+ if (turnId6 === "")
44746
+ return null;
44747
+ return place === void 0 ? { pid, turnId: turnId6 } : { pid, turnId: turnId6, place };
44748
+ }
44749
+ __name(parseTurnHolder, "parseTurnHolder");
44750
+
44679
44751
  // ../sdk/dist/store/session-log/memory.js
44680
44752
  var InMemoryLogMedium = class {
44681
44753
  static {
@@ -45267,7 +45339,7 @@ var TurnRecorder = class {
45267
45339
  if (this.#phase !== "new")
45268
45340
  throw new Error("TurnRecorder.open was already called.");
45269
45341
  this.#leaseTtlMs = options.leaseTtlMs ?? DEFAULT_TURN_LEASE_TTL_MS;
45270
- this.#leaseHolder = options.holder ?? options.lease?.holder ?? `namzu:${process.pid}:${this.turnId}`;
45342
+ this.#leaseHolder = options.holder ?? options.lease?.holder ?? turnHolder(this.turnId);
45271
45343
  try {
45272
45344
  if (options.lease) {
45273
45345
  this.#lease = options.lease;
@@ -50471,10 +50543,10 @@ var DetachedCalls = class {
50471
50543
  };
50472
50544
 
50473
50545
  // ../sdk/dist/store/memory/digest.js
50474
- import { createHash as createHash10 } from "node:crypto";
50546
+ import { createHash as createHash11 } from "node:crypto";
50475
50547
  var KNOWLEDGE_TAG_PREFIX = "knowledge:";
50476
50548
  function knowledgeDigest(value) {
50477
- return createHash10("sha256").update(JSON.stringify(value)).digest("hex");
50549
+ return createHash11("sha256").update(JSON.stringify(value)).digest("hex");
50478
50550
  }
50479
50551
  __name(knowledgeDigest, "knowledgeDigest");
50480
50552
  async function holdsKnowledgeDigest(store, tags, digest8, isWriter) {
@@ -52579,7 +52651,7 @@ async function deliverDurableInbound(recorder, source, signal) {
52579
52651
  __name(deliverDurableInbound, "deliverDurableInbound");
52580
52652
 
52581
52653
  // ../sdk/dist/runtime/query/observation-context.js
52582
- import { createHash as createHash13 } from "node:crypto";
52654
+ import { createHash as createHash14 } from "node:crypto";
52583
52655
 
52584
52656
  // ../sdk/dist/compaction/retention.js
52585
52657
  var isAssistantWithCalls = /* @__PURE__ */ __name((m) => m.role === "assistant" && Array.isArray(m.toolCalls), "isAssistantWithCalls");
@@ -52655,12 +52727,12 @@ function findRetainedIndices(messages) {
52655
52727
  __name(findRetainedIndices, "findRetainedIndices");
52656
52728
 
52657
52729
  // ../sdk/dist/runtime/query/tool-output-budget.js
52658
- import { createHash as createHash12 } from "node:crypto";
52730
+ import { createHash as createHash13 } from "node:crypto";
52659
52731
  import { mkdirSync as mkdirSync3, writeFileSync as writeFileSync2 } from "node:fs";
52660
52732
  import { join as join13 } from "node:path";
52661
52733
 
52662
52734
  // ../sdk/dist/store/evidence/format.js
52663
- import { createHash as createHash11 } from "node:crypto";
52735
+ import { createHash as createHash12 } from "node:crypto";
52664
52736
 
52665
52737
  // ../sdk/dist/utils/evidence-tokens.js
52666
52738
  function evidenceTokens(text9) {
@@ -52699,7 +52771,7 @@ var SEARCH_OVERLAP_BYTES = 1024;
52699
52771
  var FILTER_BYTES = 1024;
52700
52772
  var TOKEN_FILTER_PREFIX = `tokens-v1:${digest2(`${process.version}:${process.versions.v8}:${process.versions.unicode}`).slice(0, 16)}:`;
52701
52773
  function digest2(value) {
52702
- return createHash11("sha256").update(value).digest("hex");
52774
+ return createHash12("sha256").update(value).digest("hex");
52703
52775
  }
52704
52776
  __name(digest2, "digest");
52705
52777
  function hashAt(text9, offset) {
@@ -52964,7 +53036,7 @@ __name(applyToolOutputBudget, "applyToolOutputBudget");
52964
53036
  function spill2(dir, toolUseId3, content, onError) {
52965
53037
  try {
52966
53038
  mkdirSync3(dir, { recursive: true, mode: 448 });
52967
- const name2 = createHash12("sha256").update(toolUseId3).digest("hex");
53039
+ const name2 = createHash13("sha256").update(toolUseId3).digest("hex");
52968
53040
  const path2 = join13(dir, `${name2}.txt`);
52969
53041
  const bytes = Buffer.from(content, "utf8");
52970
53042
  writeFileSync2(path2, bytes, { flag: "wx", mode: 384 });
@@ -53186,7 +53258,7 @@ function projectObservationContext(messages, tools, preserveToolResultsFrom = []
53186
53258
  }
53187
53259
  if (executionKey === void 0)
53188
53260
  continue;
53189
- const key6 = createHash13("sha256").update(JSON.stringify([
53261
+ const key6 = createHash14("sha256").update(JSON.stringify([
53190
53262
  call2.function.name,
53191
53263
  call2.function.arguments,
53192
53264
  message.content,
@@ -53213,7 +53285,7 @@ function projectObservationContext(messages, tools, preserveToolResultsFrom = []
53213
53285
  __name(projectObservationContext, "projectObservationContext");
53214
53286
 
53215
53287
  // ../sdk/dist/runtime/query/request-context.js
53216
- import { createHash as createHash14 } from "node:crypto";
53288
+ import { createHash as createHash15 } from "node:crypto";
53217
53289
  function canonicalJson2(value) {
53218
53290
  return JSON.stringify(value, (_key, item) => {
53219
53291
  if (!item || typeof item !== "object" || Array.isArray(item))
@@ -53232,7 +53304,7 @@ function snapshotRequestContext(messages) {
53232
53304
  partIndex: partIndex++,
53233
53305
  role: message.role,
53234
53306
  kind,
53235
- digest: createHash14("sha256").update(canonicalJson2(payload)).digest("hex"),
53307
+ digest: createHash15("sha256").update(canonicalJson2(payload)).digest("hex"),
53236
53308
  ...toolCallId !== void 0 ? { toolCallId } : {},
53237
53309
  ...message.role === "tool" ? { isError: message.isError === true } : {}
53238
53310
  }));
@@ -56595,7 +56667,7 @@ ${body.replaceAll("</loaded-skill>", "<\\/loaded-skill>")}
56595
56667
  __name(renderLoadedSkills, "renderLoadedSkills");
56596
56668
 
56597
56669
  // ../sdk/dist/runtime/query/iteration/request-repair.js
56598
- import { createHash as createHash15 } from "node:crypto";
56670
+ import { createHash as createHash16 } from "node:crypto";
56599
56671
 
56600
56672
  // ../sdk/dist/provider/image-input-refusal.js
56601
56673
  var IMAGE_INPUT_REFUSAL_PATTERNS = [
@@ -56872,7 +56944,7 @@ function isAccepted(chunk) {
56872
56944
  return Boolean(chunk.delta.content || chunk.delta.toolCalls?.length || chunk.delta.toolCallEnd || chunk.delta.reasoning || chunk.delta.citation || chunk.finishReason !== void 0 || chunk.usage !== void 0 || chunk.replayState !== void 0 || chunk.textParts !== void 0);
56873
56945
  }
56874
56946
  __name(isAccepted, "isAccepted");
56875
- var mediaFingerprint = /* @__PURE__ */ __name((data, mediaType) => createHash15("sha256").update(mediaType).update("\0").update(data).digest("hex"), "mediaFingerprint");
56947
+ var mediaFingerprint = /* @__PURE__ */ __name((data, mediaType) => createHash16("sha256").update(mediaType).update("\0").update(data).digest("hex"), "mediaFingerprint");
56876
56948
  var FAULT_NOTE = "the provider could not process it. The file may be unsupported or corrupt; do not retry reading it. If you need to inspect it, use a shell command instead.";
56877
56949
  var LIMIT_NOTE = "this conversation holds more files than the provider accepts at once, so the oldest are left out of the request. They are still in the conversation.";
56878
56950
  var removedNote = /* @__PURE__ */ __name((kind, limit) => `[${kind} removed: ${limit ? LIMIT_NOTE : FAULT_NOTE}]`, "removedNote");
@@ -60383,7 +60455,7 @@ function replaceProjectInstructionSnapshot(messages, snapshot, placement = "appe
60383
60455
  __name(replaceProjectInstructionSnapshot, "replaceProjectInstructionSnapshot");
60384
60456
 
60385
60457
  // ../sdk/dist/runtime/query/repeat-call.js
60386
- import { createHash as createHash16 } from "node:crypto";
60458
+ import { createHash as createHash17 } from "node:crypto";
60387
60459
 
60388
60460
  // ../sdk/dist/runtime/query/tool-grants.js
60389
60461
  function toolGrantKeys(call2) {
@@ -60492,7 +60564,7 @@ var RepeatCallTracker = class {
60492
60564
  this.failures.delete(key6);
60493
60565
  return;
60494
60566
  }
60495
- const fingerprint = createHash16("sha256").update(stableStringify(outcome.result ?? null)).digest("hex");
60567
+ const fingerprint = createHash17("sha256").update(stableStringify(outcome.result ?? null)).digest("hex");
60496
60568
  const previous = this.failures.get(key6);
60497
60569
  this.failures.set(key6, {
60498
60570
  fingerprint,
@@ -63395,9 +63467,9 @@ import { homedir } from "node:os";
63395
63467
  import { basename as basename6, isAbsolute as isAbsolute6, join as join15, resolve as resolve6 } from "node:path";
63396
63468
 
63397
63469
  // ../sdk/dist/tools/builtins/content-fingerprint.js
63398
- import { createHash as createHash17 } from "node:crypto";
63470
+ import { createHash as createHash18 } from "node:crypto";
63399
63471
  function fingerprintContent(content) {
63400
- return createHash17("sha256").update(content, "utf-8").digest("hex").slice(0, 16);
63472
+ return createHash18("sha256").update(content, "utf-8").digest("hex").slice(0, 16);
63401
63473
  }
63402
63474
  __name(fingerprintContent, "fingerprintContent");
63403
63475
  function staleFileError(path2, operation = "edit") {
@@ -65681,7 +65753,7 @@ function createReviewPolicy(options = {}) {
65681
65753
  __name(createReviewPolicy, "createReviewPolicy");
65682
65754
 
65683
65755
  // ../sdk/dist/runtime/query/executor.js
65684
- import { createHash as createHash20 } from "node:crypto";
65756
+ import { createHash as createHash21 } from "node:crypto";
65685
65757
  import { isAbsolute as isAbsolute11, join as join20, resolve as resolve12 } from "node:path";
65686
65758
 
65687
65759
  // ../sdk/dist/probe/context.js
@@ -66848,7 +66920,7 @@ async function cropAndFitPng(data, rect, limits) {
66848
66920
  __name(cropAndFitPng, "cropAndFitPng");
66849
66921
 
66850
66922
  // ../sdk/dist/tools/builtins/view-image.js
66851
- import { createHash as createHash18 } from "node:crypto";
66923
+ import { createHash as createHash19 } from "node:crypto";
66852
66924
  import { open as open10 } from "node:fs/promises";
66853
66925
  import { inflateSync } from "node:zlib";
66854
66926
 
@@ -67468,7 +67540,7 @@ ${validation === "container" ? "The complete container and dimensions were valid
67468
67540
  width: image.width,
67469
67541
  height: image.height,
67470
67542
  sourceBytes: artifact.bytes.length,
67471
- sha256: createHash18("sha256").update(artifact.bytes).digest("hex"),
67543
+ sha256: createHash19("sha256").update(artifact.bytes).digest("hex"),
67472
67544
  validation
67473
67545
  }
67474
67546
  };
@@ -70174,7 +70246,7 @@ import { mkdir as mkdir9, readFile as readFile10 } from "node:fs/promises";
70174
70246
  import { dirname as dirname13 } from "node:path";
70175
70247
 
70176
70248
  // ../sdk/dist/tools/builtins/file-write-result.js
70177
- import { createHash as createHash19 } from "node:crypto";
70249
+ import { createHash as createHash20 } from "node:crypto";
70178
70250
  function previewSide(hunks2, changed) {
70179
70251
  return hunks2.flatMap((hunk) => hunk.lines).filter((row) => row.startsWith(" ") || row.startsWith(changed)).map((row) => `${row.slice(1)}
70180
70252
  `).join("");
@@ -70216,7 +70288,7 @@ function fileWriteResult(path2, before, after, sandboxed = false) {
70216
70288
  }
70217
70289
  },
70218
70290
  bytes,
70219
- sha256: createHash19("sha256").update(after, "utf8").digest("hex"),
70291
+ sha256: createHash20("sha256").update(after, "utf8").digest("hex"),
70220
70292
  ...before === null ? {} : { added: diff.added, removed: diff.removed, newlineChanged }
70221
70293
  }
70222
70294
  }
@@ -71480,7 +71552,7 @@ var ToolExecutor = class {
71480
71552
  return recorded !== void 0 && message.toolCallId === call2.id && !message.isError && typeof message.content === "string" && this.config.tools.get(recorded.toolName) === recorded.definition && recorded.fingerprint === this.observationFingerprint(call2, message.content) ? recorded.inputFingerprint : void 0;
71481
71553
  }
71482
71554
  observationFingerprint(call2, content) {
71483
- return createHash20("sha256").update(JSON.stringify([call2.function.name, call2.function.arguments, content])).digest("hex");
71555
+ return createHash21("sha256").update(JSON.stringify([call2.function.name, call2.function.arguments, content])).digest("hex");
71484
71556
  }
71485
71557
  recordExecutedObservation(call2, toolName, definition, input2, content) {
71486
71558
  if (typeof content !== "string" || this.config.tools.get(toolName) !== definition)
@@ -71492,7 +71564,7 @@ var ToolExecutor = class {
71492
71564
  toolName,
71493
71565
  definition,
71494
71566
  fingerprint: this.observationFingerprint(call2, content),
71495
- inputFingerprint: createHash20("sha256").update(JSON.stringify([toolName, input2])).digest("hex")
71567
+ inputFingerprint: createHash21("sha256").update(JSON.stringify([toolName, input2])).digest("hex")
71496
71568
  });
71497
71569
  } catch {
71498
71570
  }
@@ -80487,7 +80559,7 @@ import { lstat as lstat4 } from "node:fs/promises";
80487
80559
  import { resolve as resolve13 } from "node:path";
80488
80560
 
80489
80561
  // ../sdk/dist/store/evidence/index-page.js
80490
- import { createHash as createHash21, createHmac as createHmac2, timingSafeEqual as timingSafeEqual2 } from "node:crypto";
80562
+ import { createHash as createHash22, createHmac as createHmac2, timingSafeEqual as timingSafeEqual2 } from "node:crypto";
80491
80563
 
80492
80564
  // ../sdk/dist/store/evidence/compaction-provenance.js
80493
80565
  function record2(value) {
@@ -80602,7 +80674,7 @@ var positionSchema = external_exports.object({
80602
80674
  textIndex: integer3.default(0)
80603
80675
  });
80604
80676
  function evidenceSeal(sessionStart, sourceKey) {
80605
- const key6 = createHash21("sha256").update("namzu-session-evidence-v1\n").update(sessionStart).digest();
80677
+ const key6 = createHash22("sha256").update("namzu-session-evidence-v1\n").update(sessionStart).digest();
80606
80678
  const mac3 = /* @__PURE__ */ __name((value) => createHmac2("sha256", key6).update(`${sourceKey}
80607
80679
  ${value}`).digest(), "mac");
80608
80680
  return {
@@ -81779,7 +81851,7 @@ var PreludeSessionLease = class _PreludeSessionLease {
81779
81851
  if (supplied)
81780
81852
  return new _PreludeSessionLease(log, supplied, false);
81781
81853
  const lease = await log.claim({
81782
- holder: `namzu:${process.pid}:${turnId6}`,
81854
+ holder: turnHolder(turnId6),
81783
81855
  ttlMs: DEFAULT_TURN_LEASE_TTL_MS,
81784
81856
  repairTornTail: false
81785
81857
  });
@@ -82787,7 +82859,7 @@ var InMemorySessionTokenBudgetStore = class {
82787
82859
  };
82788
82860
 
82789
82861
  // ../sdk/dist/store/checkpoint/contract.js
82790
- import { createHash as createHash22 } from "node:crypto";
82862
+ import { createHash as createHash23 } from "node:crypto";
82791
82863
  var CheckpointIntegrityError = class extends Error {
82792
82864
  static {
82793
82865
  __name(this, "CheckpointIntegrityError");
@@ -82822,7 +82894,7 @@ function serializeCheckpoint(checkpoint) {
82822
82894
  }
82823
82895
  __name(serializeCheckpoint, "serializeCheckpoint");
82824
82896
  function sha256Hex5(text9) {
82825
- return createHash22("sha256").update(text9, "utf8").digest("hex");
82897
+ return createHash23("sha256").update(text9, "utf8").digest("hex");
82826
82898
  }
82827
82899
  __name(sha256Hex5, "sha256Hex");
82828
82900
  function checkpointRecordPath(checkpointId4) {
@@ -85942,7 +86014,7 @@ async function startBidiTurn(params) {
85942
86014
  __name(startBidiTurn, "startBidiTurn");
85943
86015
 
85944
86016
  // ../sdk/dist/runtime/query/prompt-cache.js
85945
- import { createHash as createHash23 } from "node:crypto";
86017
+ import { createHash as createHash24 } from "node:crypto";
85946
86018
  var PromptCache = class {
85947
86019
  static {
85948
86020
  __name(this, "PromptCache");
@@ -86017,7 +86089,7 @@ var PromptCache = class {
86017
86089
  this.cachedStaticHash = void 0;
86018
86090
  }
86019
86091
  computeStaticHash(staticSegment) {
86020
- return createHash23("sha256").update(staticSegment).digest("hex").slice(0, 16);
86092
+ return createHash24("sha256").update(staticSegment).digest("hex").slice(0, 16);
86021
86093
  }
86022
86094
  computeConfigHash(input2, prompt) {
86023
86095
  const parts = [
@@ -86027,7 +86099,7 @@ var PromptCache = class {
86027
86099
  // unsegmented text happens to be identical.
86028
86100
  input2.contributions?.list().map((c) => [c.id, c.placement]) ?? []
86029
86101
  ];
86030
- return createHash23("sha256").update(JSON.stringify(parts)).digest("hex").slice(0, 16);
86102
+ return createHash24("sha256").update(JSON.stringify(parts)).digest("hex").slice(0, 16);
86031
86103
  }
86032
86104
  };
86033
86105
 
@@ -87855,7 +87927,7 @@ async function withSessionLease(log, lease, operation) {
87855
87927
  if (lease)
87856
87928
  return operation(lease);
87857
87929
  const claimed = await log.claim({
87858
- holder: `namzu:${process.pid}:${log.sessionId}`,
87930
+ holder: turnHolder(log.sessionId),
87859
87931
  ttlMs: OPERATION_LEASE_TTL_MS
87860
87932
  });
87861
87933
  if (!claimed) {
@@ -89614,7 +89686,7 @@ var LocalExecutionContext = class extends BaseExecutionContext {
89614
89686
  };
89615
89687
 
89616
89688
  // ../sdk/dist/turn/workspace-fingerprint.js
89617
- import { createHash as createHash24 } from "node:crypto";
89689
+ import { createHash as createHash25 } from "node:crypto";
89618
89690
  import { lstat as lstat5, readFile as readFile13, readlink } from "node:fs/promises";
89619
89691
  import { join as join27 } from "node:path";
89620
89692
  var NODE_FS = { lstat: lstat5, readlink, readFile: readFile13 };
@@ -89630,7 +89702,7 @@ async function untrackedEntry(cwd, rel, fs) {
89630
89702
  if (!stats.isFile())
89631
89703
  return `? ${rel}`;
89632
89704
  const body = await fs.readFile(abs);
89633
- return `F ${rel}\0${createHash24("sha256").update(body).digest("hex")}`;
89705
+ return `F ${rel}\0${createHash25("sha256").update(body).digest("hex")}`;
89634
89706
  } catch {
89635
89707
  return null;
89636
89708
  }
@@ -89675,7 +89747,7 @@ async function fingerprintWorkspace(options) {
89675
89747
  return null;
89676
89748
  parts.push(entry);
89677
89749
  }
89678
- const hash4 = createHash24("sha256");
89750
+ const hash4 = createHash25("sha256");
89679
89751
  for (const part2 of parts)
89680
89752
  hash4.update(`${Buffer.byteLength(part2, "utf8")}:${part2}`);
89681
89753
  return hash4.digest("hex");
@@ -89905,7 +89977,7 @@ function createMemoryPromoter(options) {
89905
89977
  __name(createMemoryPromoter, "createMemoryPromoter");
89906
89978
 
89907
89979
  // ../sdk/dist/turn/json-claim-verifier.js
89908
- import { createHash as createHash25, randomUUID as randomUUID5 } from "node:crypto";
89980
+ import { createHash as createHash26, randomUUID as randomUUID5 } from "node:crypto";
89909
89981
  import { performance as performance2 } from "node:perf_hooks";
89910
89982
  function scalar(value) {
89911
89983
  return value === null || typeof value === "boolean" || typeof value === "string" && value.length <= 2e3 || typeof value === "number" && Number.isSafeInteger(value);
@@ -90038,7 +90110,7 @@ function createJsonClaimVerifier(options) {
90038
90110
  requestId: request.requestId,
90039
90111
  observedAt: observation.observedAt,
90040
90112
  bytes: bytes.byteLength,
90041
- sha256: createHash25("sha256").update(bytes).digest("hex")
90113
+ sha256: createHash26("sha256").update(bytes).digest("hex")
90042
90114
  });
90043
90115
  }
90044
90116
  ensureActive();
@@ -95013,7 +95085,7 @@ var DiskTaskStore = class {
95013
95085
  };
95014
95086
 
95015
95087
  // ../sdk/dist/store/memory/revision.js
95016
- import { createHash as createHash26 } from "node:crypto";
95088
+ import { createHash as createHash27 } from "node:crypto";
95017
95089
  var MemoryRevisionUnavailableError = class extends Error {
95018
95090
  static {
95019
95091
  __name(this, "MemoryRevisionUnavailableError");
@@ -95119,7 +95191,7 @@ function canonicalRecord(record4) {
95119
95191
  }
95120
95192
  __name(canonicalRecord, "canonicalRecord");
95121
95193
  function memoryRevision(record4) {
95122
- return `m2:${createHash26("sha256").update(canonicalRecord(record4)).digest("hex")}`;
95194
+ return `m2:${createHash27("sha256").update(canonicalRecord(record4)).digest("hex")}`;
95123
95195
  }
95124
95196
  __name(memoryRevision, "memoryRevision");
95125
95197
  var MemoryRevisionConflictError = class extends NamzuError {
@@ -95879,7 +95951,7 @@ var DiskMemoryStore = class {
95879
95951
  };
95880
95952
 
95881
95953
  // ../sdk/dist/store/memory/markdown.js
95882
- import { createHash as createHash27 } from "node:crypto";
95954
+ import { createHash as createHash28 } from "node:crypto";
95883
95955
  import { lstat as lstat8, mkdir as mkdir15, readFile as readFile18, readdir as readdir11, realpath as realpath9, rename as rename6, unlink as unlink12 } from "node:fs/promises";
95884
95956
  import { dirname as dirname19, join as join34, resolve as resolve18 } from "node:path";
95885
95957
 
@@ -96119,7 +96191,7 @@ function invalidFile(file2, reason, cause) {
96119
96191
  }
96120
96192
  __name(invalidFile, "invalidFile");
96121
96193
  function derivedMemoryId(name2) {
96122
- const hex4 = createHash27("sha256").update(`namzu-memory-name:${name2}`).digest("hex");
96194
+ const hex4 = createHash28("sha256").update(`namzu-memory-name:${name2}`).digest("hex");
96123
96195
  const variant = (Number.parseInt(hex4[16] ?? "0", 16) & 3 | 8).toString(16);
96124
96196
  return `${hex4.slice(0, 8)}-${hex4.slice(8, 12)}-8${hex4.slice(13, 16)}-${variant}${hex4.slice(17, 20)}-${hex4.slice(20, 32)}`;
96125
96197
  }
@@ -101683,7 +101755,7 @@ function toolResultToMCPToolResult(result) {
101683
101755
  __name(toolResultToMCPToolResult, "toolResultToMCPToolResult");
101684
101756
 
101685
101757
  // ../sdk/dist/connector/mcp/policy.js
101686
- import { createHash as createHash28 } from "node:crypto";
101758
+ import { createHash as createHash29 } from "node:crypto";
101687
101759
  function applyToolPolicy(tools, policy) {
101688
101760
  return applyNamePolicy(tools, policy);
101689
101761
  }
@@ -101723,7 +101795,7 @@ function toolsHash(tools) {
101723
101795
  // fingerprint built to catch exactly that rug-pull saw nothing.
101724
101796
  annotations: stableStringify2(tool.annotations)
101725
101797
  }));
101726
- return createHash28("sha256").update(JSON.stringify(canonical3)).digest("hex");
101798
+ return createHash29("sha256").update(JSON.stringify(canonical3)).digest("hex");
101727
101799
  }
101728
101800
  __name(toolsHash, "toolsHash");
101729
101801
  function diffTools(before, after) {
@@ -101946,7 +102018,7 @@ var MCPToolDiscovery = class {
101946
102018
  };
101947
102019
 
101948
102020
  // ../sdk/dist/connector/mcp/mcp-toolset.js
101949
- import { createHash as createHash29 } from "node:crypto";
102021
+ import { createHash as createHash30 } from "node:crypto";
101950
102022
 
101951
102023
  // ../sdk/dist/connector/mcp/prompt-adapter.js
101952
102024
  function renderPromptMessages(serverName, promptName, messages, description) {
@@ -102017,7 +102089,7 @@ function mcpToolsetName(serverName, ...segments) {
102017
102089
  const full = ["mcp", serverName, ...segments].join("__");
102018
102090
  if (full.length <= MCP_TOOLSET_NAME_MAX_LENGTH)
102019
102091
  return full;
102020
- const hash4 = createHash29("sha256").update(full).digest("hex").slice(0, 8);
102092
+ const hash4 = createHash30("sha256").update(full).digest("hex").slice(0, 8);
102021
102093
  const suffix = `_${hash4}`;
102022
102094
  return `${full.slice(0, MCP_TOOLSET_NAME_MAX_LENGTH - suffix.length)}${suffix}`;
102023
102095
  }
@@ -103250,8 +103322,8 @@ function isReachableHookAddress(address2) {
103250
103322
  return false;
103251
103323
  }
103252
103324
  __name(isReachableHookAddress, "isReachableHookAddress");
103253
- function guardedLookup(hostname3, options, callback) {
103254
- lookup2(hostname3, { ...options, all: true }, (error62, addresses) => {
103325
+ function guardedLookup(hostname4, options, callback) {
103326
+ lookup2(hostname4, { ...options, all: true }, (error62, addresses) => {
103255
103327
  if (error62) {
103256
103328
  callback(error62);
103257
103329
  return;
@@ -103259,7 +103331,7 @@ function guardedLookup(hostname3, options, callback) {
103259
103331
  const list2 = addresses;
103260
103332
  const refused2 = list2.find((entry) => !isReachableHookAddress(entry.address));
103261
103333
  if (refused2 || list2.length === 0) {
103262
- callback(new Error(`${hostname3} resolves to ${refused2?.address ?? "nothing"}, a private or link-local address`));
103334
+ callback(new Error(`${hostname4} resolves to ${refused2?.address ?? "nothing"}, a private or link-local address`));
103263
103335
  return;
103264
103336
  }
103265
103337
  if (options.all) {
@@ -115960,7 +116032,7 @@ var WorkspaceBackendRegistry = class {
115960
116032
 
115961
116033
  // ../sdk/dist/session/workspace/git-worktree.js
115962
116034
  import { execFile } from "node:child_process";
115963
- import { readFileSync as readFileSync3, realpathSync as realpathSync4 } from "node:fs";
116035
+ import { readFileSync as readFileSync4, realpathSync as realpathSync4 } from "node:fs";
115964
116036
  import { realpath as realpath12 } from "node:fs/promises";
115965
116037
  import { basename as basename12, dirname as dirname21, isAbsolute as isAbsolute16, join as join39, relative as relative8, resolve as resolve22, sep as sep10 } from "node:path";
115966
116038
  import { promisify } from "node:util";
@@ -116273,7 +116345,7 @@ function defaultWorktreesDir(repoRoot) {
116273
116345
  const home = resolveNamzuHome();
116274
116346
  let slug = slugForCwd(cwd);
116275
116347
  try {
116276
- const document = JSON.parse(readFileSync3(join39(home, "projects", slug, "project.json"), "utf8"));
116348
+ const document = JSON.parse(readFileSync4(join39(home, "projects", slug, "project.json"), "utf8"));
116277
116349
  if (document.cwd !== cwd)
116278
116350
  slug = hashedSlugForCwd(cwd);
116279
116351
  } catch {
@@ -117998,7 +118070,7 @@ var InMemorySessionStore = class {
117998
118070
  };
117999
118071
 
118000
118072
  // ../sdk/dist/store/session/disk.js
118001
- import { createHash as createHash30 } from "node:crypto";
118073
+ import { createHash as createHash31 } from "node:crypto";
118002
118074
  import { mkdir as mkdir19, rm as rm7 } from "node:fs/promises";
118003
118075
  import { join as join42, resolve as resolve25 } from "node:path";
118004
118076
  var SCHEMA9 = defineSchema({
@@ -118167,7 +118239,7 @@ var DiskSessionStore = class {
118167
118239
  }
118168
118240
  rootPathBindingLocation(rootPath, tenantId2) {
118169
118241
  const key6 = rootPathIndexKey(rootPath, tenantId2);
118170
- const digest8 = createHash30("sha256").update(key6).digest("hex");
118242
+ const digest8 = createHash31("sha256").update(key6).digest("hex");
118171
118243
  const root = join42(this.rootDir, "projects", ".root-path-index", digest8.slice(0, 2));
118172
118244
  return {
118173
118245
  legacyPath: join42(root, `${digest8.slice(2)}.json`),
@@ -120417,7 +120489,7 @@ function analyzeContextUsage(input2) {
120417
120489
  __name(analyzeContextUsage, "analyzeContextUsage");
120418
120490
 
120419
120491
  // ../sdk/dist/learning/skill.js
120420
- import { createHash as createHash31 } from "node:crypto";
120492
+ import { createHash as createHash32 } from "node:crypto";
120421
120493
  var label = external_exports.string().trim().min(1).max(256);
120422
120494
  var name = external_exports.string().regex(/^[a-z0-9][a-z0-9_-]{0,63}$/);
120423
120495
  var digest3 = external_exports.string().regex(/^[a-f0-9]{64}$/);
@@ -120570,7 +120642,7 @@ function reviseLearningProfile(current, input2) {
120570
120642
  __name(reviseLearningProfile, "reviseLearningProfile");
120571
120643
  function hashLearningSkill(input2) {
120572
120644
  const candidate = candidateSchema.parse(input2);
120573
- return createHash31("sha256").update(JSON.stringify([
120645
+ return createHash32("sha256").update(JSON.stringify([
120574
120646
  candidate.name,
120575
120647
  candidate.description,
120576
120648
  candidate.body,
@@ -120610,13 +120682,13 @@ function promoteLearningSkill(current, input2, evaluation, inputEvidence) {
120610
120682
  verification: {
120611
120683
  baselineHash,
120612
120684
  candidateHash: hash4,
120613
- evidenceDigest: createHash31("sha256").update(JSON.stringify({ ...evaluation, protection })).digest("hex"),
120685
+ evidenceDigest: createHash32("sha256").update(JSON.stringify({ ...evaluation, protection })).digest("hex"),
120614
120686
  verificationTasks: review.verification.tasks.length,
120615
120687
  confirmationTasks: review.confirmation?.tasks.length ?? 0,
120616
120688
  protection: {
120617
120689
  verificationTasks: protection.verification.length,
120618
120690
  confirmationTasks: protection.confirmation.length,
120619
- planDigest: createHash31("sha256").update(JSON.stringify(protection)).digest("hex")
120691
+ planDigest: createHash32("sha256").update(JSON.stringify(protection)).digest("hex")
120620
120692
  }
120621
120693
  }
120622
120694
  };
@@ -120725,10 +120797,10 @@ function projectLearning(current, options) {
120725
120797
  __name(projectLearning, "projectLearning");
120726
120798
 
120727
120799
  // ../sdk/dist/learning/cycle.js
120728
- import { createHash as createHash33, randomUUID as randomUUID9 } from "node:crypto";
120800
+ import { createHash as createHash34, randomUUID as randomUUID9 } from "node:crypto";
120729
120801
 
120730
120802
  // ../sdk/dist/learning/guidance.js
120731
- import { createHash as createHash32 } from "node:crypto";
120803
+ import { createHash as createHash33 } from "node:crypto";
120732
120804
  import { readdir as readdir15 } from "node:fs/promises";
120733
120805
  import { join as join43 } from "node:path";
120734
120806
  import { isDeepStrictEqual as isDeepStrictEqual7 } from "node:util";
@@ -120773,7 +120845,7 @@ var ADOPTED_MARKER = "adopted.json";
120773
120845
  var REVISION_FILE = /^([1-9][0-9]{0,15})\.json$/;
120774
120846
  function keySegment(key6) {
120775
120847
  const encoded = revisionFileSegment(key6);
120776
- return encoded.length <= 255 ? encoded : `~sha256-${createHash32("sha256").update(encoded).digest("hex")}`;
120848
+ return encoded.length <= 255 ? encoded : `~sha256-${createHash33("sha256").update(encoded).digest("hex")}`;
120777
120849
  }
120778
120850
  __name(keySegment, "keySegment");
120779
120851
  function earlierGuidanceDirectory(root, scope) {
@@ -121343,7 +121415,7 @@ ${exploration.evidence.reason}`
121343
121415
  }, { subject: "exploration.trace", text: exploration.trace });
121344
121416
  await append("exploration", {
121345
121417
  observations: exploration,
121346
- digest: createHash33("sha256").update(JSON.stringify(exploration)).digest("hex")
121418
+ digest: createHash34("sha256").update(JSON.stringify(exploration)).digest("hex")
121347
121419
  }, "explore");
121348
121420
  const problem2 = resourceProblem(true);
121349
121421
  if (problem2)
@@ -121392,7 +121464,7 @@ ${s.revision}`).join("\n"),
121392
121464
  await append("evaluation", {
121393
121465
  baselineRevision,
121394
121466
  candidateRevision,
121395
- digest: createHash33("sha256").update(JSON.stringify(batch)).digest("hex"),
121467
+ digest: createHash34("sha256").update(JSON.stringify(batch)).digest("hex"),
121396
121468
  baselineTrajectories: batch.baseline.map((t) => t.trajectoryId),
121397
121469
  candidateTrajectories: batch.candidate.map((t) => t.trajectoryId)
121398
121470
  }, name2);
@@ -121923,8 +121995,8 @@ var SqliteLearningExperienceStore = class {
121923
121995
  };
121924
121996
 
121925
121997
  // ../sdk/dist/learning/store.js
121926
- import { createHash as createHash34, randomUUID as randomUUID11 } from "node:crypto";
121927
- import { closeSync as closeSync2, existsSync as existsSync6, fsyncSync, linkSync, lstatSync as lstatSync4, mkdirSync as mkdirSync5, openSync as openSync2, readFileSync as readFileSync4, unlinkSync, writeFileSync as writeFileSync3 } from "node:fs";
121998
+ import { createHash as createHash35, randomUUID as randomUUID11 } from "node:crypto";
121999
+ import { closeSync as closeSync2, existsSync as existsSync6, fsyncSync, linkSync, lstatSync as lstatSync4, mkdirSync as mkdirSync5, openSync as openSync2, readFileSync as readFileSync5, unlinkSync, writeFileSync as writeFileSync3 } from "node:fs";
121928
122000
  import { createRequire as createRequire4 } from "node:module";
121929
122001
  import { dirname as dirname24, join as join44, resolve as resolve27 } from "node:path";
121930
122002
 
@@ -121952,7 +122024,7 @@ var learningObservationSchema = learningTargetSchema.extend({
121952
122024
 
121953
122025
  // ../sdk/dist/learning/store.js
121954
122026
  var uuid5 = external_exports.string().uuid().transform((id3) => id3.toLowerCase());
121955
- var digest4 = /* @__PURE__ */ __name((text9) => createHash34("sha256").update(text9).digest("hex"), "digest");
122027
+ var digest4 = /* @__PURE__ */ __name((text9) => createHash35("sha256").update(text9).digest("hex"), "digest");
121956
122028
  var MAX_EVENT_BYTES = 256 * 1024;
121957
122029
  var MAX_ARTIFACT_BYTES = 8 * 1024 * 1024;
121958
122030
  var MAX_EVENTS = 4096;
@@ -122390,7 +122462,7 @@ var SqliteLearningStore = class {
122390
122462
  throw error62;
122391
122463
  }
122392
122464
  const entry = lstatSync4(target);
122393
- if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || digest4(readFileSync4(target)) !== artifact.hash)
122465
+ if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || digest4(readFileSync5(target)) !== artifact.hash)
122394
122466
  throw new Error("Learning artifact content does not match its hash.");
122395
122467
  } finally {
122396
122468
  unlinkSync(temporary);
@@ -122427,7 +122499,7 @@ var SqliteLearningStore = class {
122427
122499
  const entry = lstatSync4(path2);
122428
122500
  if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || entry.size > MAX_ARTIFACT_BYTES)
122429
122501
  throw new Error("Learning artifact is not a regular file of the recorded size.");
122430
- const body = readFileSync4(path2);
122502
+ const body = readFileSync5(path2);
122431
122503
  if (digest4(body) !== artifact.hash)
122432
122504
  throw new Error("Learning artifact hash mismatch.");
122433
122505
  return JSON.parse(body.toString("utf8"));
@@ -122671,7 +122743,7 @@ function parsePeerAddress(address2) {
122671
122743
  __name(parsePeerAddress, "parsePeerAddress");
122672
122744
 
122673
122745
  // ../sdk/dist/peers/record.js
122674
- import { createHash as createHash35 } from "node:crypto";
122746
+ import { createHash as createHash36 } from "node:crypto";
122675
122747
 
122676
122748
  // ../sdk/dist/peers/protocol.js
122677
122749
  var PEER_PROTOCOL_VERSION = "namzu-peer/1";
@@ -122809,13 +122881,13 @@ var PeerRecordSchema = external_exports.object({
122809
122881
  var PeerRecordReaderSchema = PeerRecordSchema.strip();
122810
122882
  var PEER_REF_HEX_LENGTH = 6;
122811
122883
  function derivePeerRef(sessionId5) {
122812
- return createHash35("sha256").update(sessionId5, "utf8").digest("hex").slice(0, PEER_REF_HEX_LENGTH);
122884
+ return createHash36("sha256").update(sessionId5, "utf8").digest("hex").slice(0, PEER_REF_HEX_LENGTH);
122813
122885
  }
122814
122886
  __name(derivePeerRef, "derivePeerRef");
122815
122887
 
122816
122888
  // ../sdk/dist/peers/registry.js
122817
122889
  import { randomBytes as randomBytes9 } from "node:crypto";
122818
- import { closeSync as closeSync3, fsyncSync as fsyncSync2, lstatSync as lstatSync6, openSync as openSync3, readFileSync as readFileSync5, readdirSync as readdirSync2, renameSync, unlinkSync as unlinkSync2, writeSync } from "node:fs";
122890
+ import { closeSync as closeSync3, fsyncSync as fsyncSync2, lstatSync as lstatSync6, openSync as openSync3, readFileSync as readFileSync6, readdirSync as readdirSync2, renameSync, unlinkSync as unlinkSync2, writeSync } from "node:fs";
122819
122891
  import { basename as basename13, dirname as dirname25, join as join47 } from "node:path";
122820
122892
 
122821
122893
  // ../sdk/dist/peers/client.js
@@ -122992,7 +123064,7 @@ __name(parseRecordText, "parseRecordText");
122992
123064
  function readPeerRecord(sessionsDir, sessionId5) {
122993
123065
  let text9;
122994
123066
  try {
122995
- text9 = readFileSync5(recordPath(sessionsDir, sessionId5), "utf8");
123067
+ text9 = readFileSync6(recordPath(sessionsDir, sessionId5), "utf8");
122996
123068
  } catch (error62) {
122997
123069
  if (error62.code === "ENOENT")
122998
123070
  return void 0;
@@ -123016,7 +123088,7 @@ function readPeerRecords(sessionsDir) {
123016
123088
  continue;
123017
123089
  let text9;
123018
123090
  try {
123019
- text9 = readFileSync5(join47(sessionsDir, entry), "utf8");
123091
+ text9 = readFileSync6(join47(sessionsDir, entry), "utf8");
123020
123092
  } catch {
123021
123093
  continue;
123022
123094
  }
@@ -123513,12 +123585,12 @@ __name(formatPeerNotice, "formatPeerNotice");
123513
123585
 
123514
123586
  // ../sdk/dist/account/registry.js
123515
123587
  import { randomBytes as randomBytes11 } from "node:crypto";
123516
- import { chmodSync as chmodSync3, closeSync as closeSync5, fsyncSync as fsyncSync3, mkdirSync as mkdirSync8, openSync as openSync5, readFileSync as readFileSync7, realpathSync as realpathSync6, renameSync as renameSync2, rmSync as rmSync2, unlinkSync as unlinkSync4, writeSync as writeSync3 } from "node:fs";
123588
+ import { chmodSync as chmodSync3, closeSync as closeSync5, fsyncSync as fsyncSync3, mkdirSync as mkdirSync8, openSync as openSync5, readFileSync as readFileSync8, realpathSync as realpathSync6, renameSync as renameSync2, rmSync as rmSync2, unlinkSync as unlinkSync4, writeSync as writeSync3 } from "node:fs";
123517
123589
  import { basename as basename15, dirname as dirname27, isAbsolute as isAbsolute17, join as join49, relative as relative10, resolve as resolve28 } from "node:path";
123518
123590
 
123519
123591
  // ../sdk/dist/account/lock.js
123520
123592
  import { randomBytes as randomBytes10 } from "node:crypto";
123521
- import { closeSync as closeSync4, mkdirSync as mkdirSync7, openSync as openSync4, readFileSync as readFileSync6, rmSync, writeSync as writeSync2 } from "node:fs";
123593
+ import { closeSync as closeSync4, mkdirSync as mkdirSync7, openSync as openSync4, readFileSync as readFileSync7, rmSync, writeSync as writeSync2 } from "node:fs";
123522
123594
  import { dirname as dirname26, join as join48 } from "node:path";
123523
123595
 
123524
123596
  // ../sdk/dist/account/types.js
@@ -123598,7 +123670,7 @@ __name(processIsDead, "processIsDead");
123598
123670
  function reclaimIfStale(lockPath) {
123599
123671
  let observed;
123600
123672
  try {
123601
- observed = readFileSync6(lockPath, "utf8");
123673
+ observed = readFileSync7(lockPath, "utf8");
123602
123674
  } catch {
123603
123675
  return true;
123604
123676
  }
@@ -123613,7 +123685,7 @@ function reclaimIfStale(lockPath) {
123613
123685
  if (error62.code !== "EEXIST")
123614
123686
  throw error62;
123615
123687
  try {
123616
- const holder = pidOf(readFileSync6(guard, "utf8"));
123688
+ const holder = pidOf(readFileSync7(guard, "utf8"));
123617
123689
  if (holder !== void 0 && processIsDead(holder))
123618
123690
  rmSync(guard, { force: true });
123619
123691
  } catch {
@@ -123625,7 +123697,7 @@ function reclaimIfStale(lockPath) {
123625
123697
  closeSync4(fd);
123626
123698
  let again;
123627
123699
  try {
123628
- again = readFileSync6(lockPath, "utf8");
123700
+ again = readFileSync7(lockPath, "utf8");
123629
123701
  } catch {
123630
123702
  return true;
123631
123703
  }
@@ -123640,7 +123712,7 @@ function reclaimIfStale(lockPath) {
123640
123712
  __name(reclaimIfStale, "reclaimIfStale");
123641
123713
  function release(lockPath, token) {
123642
123714
  try {
123643
- if (readFileSync6(lockPath, "utf8") === token)
123715
+ if (readFileSync7(lockPath, "utf8") === token)
123644
123716
  rmSync(lockPath, { force: true });
123645
123717
  } catch {
123646
123718
  }
@@ -123772,7 +123844,7 @@ function createAccountRegistry(options = {}) {
123772
123844
  function read() {
123773
123845
  let text9;
123774
123846
  try {
123775
- text9 = readFileSync7(path2, "utf8");
123847
+ text9 = readFileSync8(path2, "utf8");
123776
123848
  } catch (error62) {
123777
123849
  if (error62.code === "ENOENT") {
123778
123850
  return { version: ACCOUNTS_FILE_VERSION, accounts: [], keys: {} };
@@ -124036,7 +124108,7 @@ __name(resolveBoundAccount, "resolveBoundAccount");
124036
124108
 
124037
124109
  // ../sdk/dist/pals/store.js
124038
124110
  import { randomUUID as randomUUID12 } from "node:crypto";
124039
- import { chmodSync as chmodSync4, closeSync as closeSync6, fsyncSync as fsyncSync4, linkSync as linkSync2, lstatSync as lstatSync8, mkdirSync as mkdirSync9, openSync as openSync6, readFileSync as readFileSync8, readdirSync as readdirSync3, realpathSync as realpathSync7, unlinkSync as unlinkSync5, writeSync as writeSync4 } from "node:fs";
124111
+ import { chmodSync as chmodSync4, closeSync as closeSync6, fsyncSync as fsyncSync4, linkSync as linkSync2, lstatSync as lstatSync8, mkdirSync as mkdirSync9, openSync as openSync6, readFileSync as readFileSync9, readdirSync as readdirSync3, realpathSync as realpathSync7, unlinkSync as unlinkSync5, writeSync as writeSync4 } from "node:fs";
124040
124112
  import { dirname as dirname28, isAbsolute as isAbsolute18, join as join50, relative as relative11, resolve as resolve29, sep as sep12 } from "node:path";
124041
124113
  var ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u;
124042
124114
  var REVISION_FILE2 = /^[1-9][0-9]*\.json$/u;
@@ -124132,7 +124204,7 @@ function readStoredRevision(home, workspaceRoot, id3, revision) {
124132
124204
  const file2 = lstatSync8(source);
124133
124205
  if (!file2.isFile() || file2.isSymbolicLink())
124134
124206
  throw new Error("Pal revision must be a real file.");
124135
- const raw = JSON.parse(readFileSync8(source, "utf8"));
124207
+ const raw = JSON.parse(readFileSync9(source, "utf8"));
124136
124208
  if (raw.v !== 1 || raw.kind !== "pal" && raw.kind !== "pal-deleted" || raw.id !== id3 || raw.revision !== revision || !Number.isSafeInteger(revision) || revision < 1 || typeof raw.createdAt !== "string" || typeof raw.updatedAt !== "string" || typeof raw.workspace !== "string" || typeof raw.paused !== "boolean")
124137
124209
  throw new Error(`Invalid Pal definition ${id3} revision ${revision}.`);
124138
124210
  const expected = paths(home, workspaceRoot, id3).workspace;
@@ -124965,7 +125037,7 @@ var PAL_WORK_GUIDANCE = [
124965
125037
  ].join("\n\n");
124966
125038
 
124967
125039
  // ../sdk/dist/pals/reference-images.js
124968
- import { createHash as createHash36, randomUUID as randomUUID13 } from "node:crypto";
125040
+ import { createHash as createHash37, randomUUID as randomUUID13 } from "node:crypto";
124969
125041
  import { posix as posix4 } from "node:path";
124970
125042
  var MAX_IMAGES = 8;
124971
125043
  var MAX_IMAGE_BYTES = 3 * 1024 * 1024;
@@ -125009,7 +125081,7 @@ function preparePalReferenceImages(attachments) {
125009
125081
  attachmentIndex: index + 1,
125010
125082
  mediaType: attachment.mediaType,
125011
125083
  data: attachment.data,
125012
- sha256: createHash36("sha256").update(bytes).digest("hex"),
125084
+ sha256: createHash37("sha256").update(bytes).digest("hex"),
125013
125085
  bytes: bytes.length
125014
125086
  }));
125015
125087
  }
@@ -125196,7 +125268,7 @@ import { isDeepStrictEqual as isDeepStrictEqual10 } from "node:util";
125196
125268
  import { isDeepStrictEqual as isDeepStrictEqual8 } from "node:util";
125197
125269
 
125198
125270
  // ../sdk/dist/pals/communication/schema.js
125199
- import { createHash as createHash37 } from "node:crypto";
125271
+ import { createHash as createHash38 } from "node:crypto";
125200
125272
  var id2 = external_exports.string().uuid();
125201
125273
  var sessionId3 = external_exports.custom((s) => isEntityId(s, "session"));
125202
125274
  var turnId4 = external_exports.custom((s) => isEntityId(s, "turn"));
@@ -125291,7 +125363,7 @@ function freezeCommunicationValue(value) {
125291
125363
  }
125292
125364
  __name(freezeCommunicationValue, "freezeCommunicationValue");
125293
125365
  function hash3(value) {
125294
- return createHash37("sha256").update(JSON.stringify(value)).digest("hex");
125366
+ return createHash38("sha256").update(JSON.stringify(value)).digest("hex");
125295
125367
  }
125296
125368
  __name(hash3, "hash");
125297
125369
  function addressTuple(value) {
@@ -126999,10 +127071,10 @@ var DiskPalMessagePolicy = class {
126999
127071
  };
127000
127072
 
127001
127073
  // ../sdk/dist/pals/activity/source.js
127002
- import { createHash as createHash39 } from "node:crypto";
127074
+ import { createHash as createHash40 } from "node:crypto";
127003
127075
 
127004
127076
  // ../sdk/dist/pals/activity/projection.js
127005
- import { createHash as createHash38 } from "node:crypto";
127077
+ import { createHash as createHash39 } from "node:crypto";
127006
127078
  var activityId2 = external_exports.custom((value) => isEntityId(value, "activity"));
127007
127079
  var checkpointId3 = external_exports.custom((value) => isEntityId(value, "checkpoint"));
127008
127080
  var toolUseId2 = external_exports.string().min(1).max(512).regex(/^[A-Za-z0-9_.:-]+$/);
@@ -127061,7 +127133,7 @@ function projectPalActivity(entry, scopeHash) {
127061
127133
  return null;
127062
127134
  }
127063
127135
  return Object.freeze({
127064
- id: createHash38("sha256").update(JSON.stringify(["pal-activity/1", scopeHash, pointer2])).digest("hex"),
127136
+ id: createHash39("sha256").update(JSON.stringify(["pal-activity/1", scopeHash, pointer2])).digest("hex"),
127065
127137
  type: record4.type,
127066
127138
  sessionId: record4.sessionId,
127067
127139
  ..."turnId" in record4 ? { turnId: record4.turnId } : {},
@@ -127155,7 +127227,7 @@ function createPalActivitySource(options) {
127155
127227
  if (definition.id !== scope.palId || definition.revision !== scope.profileRevision)
127156
127228
  throw new PalActivityIntegrityError();
127157
127229
  const workspace = definition.workspace;
127158
- const scopeHash = createHash39("sha256").update(JSON.stringify([
127230
+ const scopeHash = createHash40("sha256").update(JSON.stringify([
127159
127231
  "pal-activity/1",
127160
127232
  scope.tenantId,
127161
127233
  scope.projectId,
@@ -127548,7 +127620,7 @@ import { join as join53, resolve as resolve32 } from "node:path";
127548
127620
  import { isDeepStrictEqual as isDeepStrictEqual11 } from "node:util";
127549
127621
 
127550
127622
  // ../sdk/dist/pals/channels/schema.js
127551
- import { createHash as createHash40 } from "node:crypto";
127623
+ import { createHash as createHash41 } from "node:crypto";
127552
127624
  var connectionSchema = external_exports.object({
127553
127625
  tenantId: addressSchema2.shape.tenantId,
127554
127626
  provider: label4,
@@ -127579,7 +127651,7 @@ var verifiedActionSchema = external_exports.object({
127579
127651
  actionId: label4,
127580
127652
  payloadDigest: external_exports.string().regex(/^[a-f0-9]{64}$/),
127581
127653
  payload: external_exports.string().min(1).max(32e3).refine((value) => !value.includes("\0"))
127582
- }).strict().refine((value) => createHash40("sha256").update(value.payload).digest("hex") === value.payloadDigest, "Channel action payload does not match its authenticated digest.");
127654
+ }).strict().refine((value) => createHash41("sha256").update(value.payload).digest("hex") === value.payloadDigest, "Channel action payload does not match its authenticated digest.");
127583
127655
  var routeDecisionSchema = external_exports.object({
127584
127656
  v: external_exports.literal(1),
127585
127657
  revision: external_exports.literal(1),
@@ -128432,7 +128504,7 @@ async function publishPalActivityOnce(options, id3, input2) {
128432
128504
  __name(publishPalActivityOnce, "publishPalActivityOnce");
128433
128505
 
128434
128506
  // ../sdk/dist/pals/activity/causality.js
128435
- import { createHash as createHash41 } from "node:crypto";
128507
+ import { createHash as createHash42 } from "node:crypto";
128436
128508
  import { isDeepStrictEqual as isDeepStrictEqual17 } from "node:util";
128437
128509
  var requestMarkerSchema = external_exports.object({
128438
128510
  type: external_exports.literal("request_envelope"),
@@ -128511,7 +128583,7 @@ function createPalActivityCausalityResolver(options) {
128511
128583
  const root = entries2[0]?.record;
128512
128584
  if (root?.type !== "session_started" || root.parent || root.forkedFrom || root.tenantId !== scope.tenantId || root.projectId !== scope.projectId || root.cwd !== workspace || root.origin?.protocol !== "desktop" || root.origin.externalSessionId !== JSON.stringify(["namzu-pal", scope.palId, scope.profileRevision, scope.sessionId]))
128513
128585
  unavailable3();
128514
- const scopeHash = createHash41("sha256").update(JSON.stringify([
128586
+ const scopeHash = createHash42("sha256").update(JSON.stringify([
128515
128587
  "pal-activity/1",
128516
128588
  scope.tenantId,
128517
128589
  scope.projectId,
@@ -130497,8 +130569,8 @@ function createMonitorTool(options = {}) {
130497
130569
  error: options.webAccessHint ? `${MONITOR_WEBSOCKET_WEB_OFF} ${options.webAccessHint}` : MONITOR_WEBSOCKET_WEB_OFF
130498
130570
  };
130499
130571
  }
130500
- const hostname3 = webSocketHostname(input2.ws.url);
130501
- const sandboxRefusal = webSocketSandboxRefusal(context2.sandbox, hostname3);
130572
+ const hostname4 = webSocketHostname(input2.ws.url);
130573
+ const sandboxRefusal = webSocketSandboxRefusal(context2.sandbox, hostname4);
130502
130574
  if (sandboxRefusal !== void 0) {
130503
130575
  return { success: false, output: "", error: sandboxRefusal };
130504
130576
  }
@@ -130917,7 +130989,7 @@ ${observed}
130917
130989
  });
130918
130990
 
130919
130991
  // ../sdk/dist/tools/builtins/skill.js
130920
- import { createHash as createHash42 } from "node:crypto";
130992
+ import { createHash as createHash43 } from "node:crypto";
130921
130993
  var inputSchema16 = external_exports.object({
130922
130994
  name: external_exports.string().min(1).optional().describe("The skill to load, exactly as listed in the available-skills manifest. Omit it to list model-invocable skills."),
130923
130995
  args: external_exports.string().max(8e3).optional().describe("What to apply the skill to, in your own words. A skill that runs as a delegated agent sees only this and its own instructions, so say what it needs. Omit it on a continuation."),
@@ -130928,7 +131000,7 @@ var LIST_CURSOR_PATTERN = /^v1\.list\.(0|[1-9][0-9]*)\.([01])\.([A-Za-z0-9_-]{43
130928
131000
  var MAX_SKILLS_PER_PAGE = 20;
130929
131001
  var OVERSIZED_CATALOG_WARNING = "Some skills were omitted because their metadata is too large for this response budget.";
130930
131002
  function snapshotDigest(snapshot) {
130931
- return createHash42("sha256").update(JSON.stringify({
131003
+ return createHash43("sha256").update(JSON.stringify({
130932
131004
  version: 1,
130933
131005
  name: snapshot.name,
130934
131006
  body: snapshot.body,
@@ -130972,7 +131044,7 @@ function activeOutputCap(maxChars2) {
130972
131044
  }
130973
131045
  __name(activeOutputCap, "activeOutputCap");
130974
131046
  function listDigest(skills, maxChars2) {
130975
- return createHash42("sha256").update(JSON.stringify({ version: 1, kind: "list", maxChars: maxChars2 ?? null, skills })).digest("base64url");
131047
+ return createHash43("sha256").update(JSON.stringify({ version: 1, kind: "list", maxChars: maxChars2 ?? null, skills })).digest("base64url");
130976
131048
  }
130977
131049
  __name(listDigest, "listDigest");
130978
131050
  function serializeListPage(page) {
@@ -134159,8 +134231,8 @@ var ABOUT_BLANK = "about:blank";
134159
134231
  var METADATA_HOSTNAMES = /* @__PURE__ */ new Set(["metadata.google.internal", "metadata", "metadata.goog"]);
134160
134232
  var METADATA_IPV4 = /* @__PURE__ */ new Set(["169.254.169.254", "100.100.100.200"]);
134161
134233
  var METADATA_IPV6 = /* @__PURE__ */ new Set(["fd00:ec2::254"]);
134162
- function stripTrailingDots(hostname3) {
134163
- return hostname3.replace(/\.+$/, "");
134234
+ function stripTrailingDots(hostname4) {
134235
+ return hostname4.replace(/\.+$/, "");
134164
134236
  }
134165
134237
  __name(stripTrailingDots, "stripTrailingDots");
134166
134238
  function expandIpv6(address2) {
@@ -134209,8 +134281,8 @@ function embeddedIpv4(h) {
134209
134281
  return out;
134210
134282
  }
134211
134283
  __name(embeddedIpv4, "embeddedIpv4");
134212
- function isCloudMetadataHost(hostname3) {
134213
- let host = stripTrailingDots(hostname3.trim().toLowerCase());
134284
+ function isCloudMetadataHost(hostname4) {
134285
+ let host = stripTrailingDots(hostname4.trim().toLowerCase());
134214
134286
  if (host === "")
134215
134287
  return false;
134216
134288
  const bracketed = host.startsWith("[") ? host : host.includes(":") ? `[${host}]` : host;
@@ -137139,6 +137211,10 @@ export {
137139
137211
  DiskSessionLog,
137140
137212
  streamSessionLog,
137141
137213
  readSessionLog,
137214
+ placeOf,
137215
+ currentPlace,
137216
+ turnHolder,
137217
+ parseTurnHolder,
137142
137218
  InMemoryLogMedium,
137143
137219
  InMemorySessionLog,
137144
137220
  readStructuredOutput,
@@ -137983,4 +138059,4 @@ export {
137983
138059
  WakeBudget,
137984
138060
  wakeBudgetFromEnv
137985
138061
  };
137986
- //# sourceMappingURL=chunk-APKI7B7W.js.map
138062
+ //# sourceMappingURL=chunk-VVMRXGQ6.js.map