@namzu/cli 59.0.0 → 60.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/bin.js +1 -1
  4. package/dist/chunks/{acp-AQUZCZSO.js → acp-QLIZHXKX.js} +70 -70
  5. package/dist/chunks/acp-QLIZHXKX.js.map +6 -0
  6. package/dist/chunks/{activity-command-Y3A6GIFW.js → activity-command-IVAID3QG.js} +14 -14
  7. package/dist/chunks/{add-DWFKSOYI.js → add-W4VXIXR3.js} +21 -21
  8. package/dist/chunks/{agent-Z6PJYBAO.js → agent-3VVUFK46.js} +50 -50
  9. package/dist/chunks/agent-session-TXDHPZJX.js +92 -0
  10. package/dist/chunks/{apply-at-exit-SHGR2BAB.js → apply-at-exit-UW5DQZED.js} +7 -7
  11. package/dist/chunks/{archive-KYXU4AZZ.js → archive-VGG3TNKD.js} +12 -12
  12. package/dist/chunks/{auth-R3RCZZ7U.js → auth-XUAD35SY.js} +12 -12
  13. package/dist/chunks/{bin-main-DUZFYUCJ.js → bin-main-3A5QPUJN.js} +8 -8
  14. package/dist/chunks/{binding-5UJYMFMU.js → binding-743KPSRO.js} +3 -3
  15. package/dist/chunks/{browser-7CFZ6BZS.js → browser-Y6PS3RBO.js} +7 -7
  16. package/dist/chunks/{chat-BELD32ZP.js → chat-P3OKHK34.js} +17 -17
  17. package/dist/chunks/{chunk-MDBUSIPW.js → chunk-24PN4KZ7.js} +5 -5
  18. package/dist/chunks/{chunk-UFGLSUGU.js → chunk-2CP6CJXJ.js} +19 -19
  19. package/dist/chunks/{chunk-2KC52MDS.js → chunk-2ED34AXP.js} +2 -2
  20. package/dist/chunks/{chunk-J5E4DV6R.js → chunk-2FP2UHZO.js} +3 -3
  21. package/dist/chunks/{chunk-O2PZDA5H.js → chunk-2MEBOBOM.js} +3 -3
  22. package/dist/chunks/{chunk-OA7QKUCM.js → chunk-2P427DDU.js} +10 -10
  23. package/dist/chunks/{chunk-VJHENTNB.js → chunk-2PEIKBGP.js} +2 -2
  24. package/dist/chunks/{chunk-TYNAB5GR.js → chunk-2X53RSPY.js} +2 -2
  25. package/dist/chunks/{chunk-4RW7GDJ4.js → chunk-3533PAJJ.js} +2 -2
  26. package/dist/chunks/{chunk-P4TCLMD6.js → chunk-37S6BVTN.js} +2 -2
  27. package/dist/chunks/{chunk-TP7DRQXE.js → chunk-3APHAS77.js} +6 -6
  28. package/dist/chunks/{chunk-D35UCVTK.js → chunk-3JCHJOU3.js} +5 -5
  29. package/dist/chunks/{chunk-DKSFQRUM.js → chunk-3P5TQ3VZ.js} +5 -5
  30. package/dist/chunks/{chunk-ESIICAI3.js → chunk-44V3FNMT.js} +3 -3
  31. package/dist/chunks/{chunk-CNSKJ3DZ.js → chunk-4FMBST2N.js} +2 -2
  32. package/dist/chunks/{chunk-3ETXWTV4.js → chunk-4KRQ6EWL.js} +8 -8
  33. package/dist/chunks/{chunk-FMQCPAKR.js → chunk-4YUR4SIL.js} +3 -3
  34. package/dist/chunks/{chunk-KPOOM7QT.js → chunk-52T26DYZ.js} +4 -4
  35. package/dist/chunks/{chunk-W752G3FM.js → chunk-5Y455HIT.js} +3 -3
  36. package/dist/chunks/{chunk-CQFWLYTK.js → chunk-6V6MRHZZ.js} +2 -2
  37. package/dist/chunks/{chunk-KHGY6QJR.js → chunk-7MC2ACNB.js} +40 -6
  38. package/dist/chunks/chunk-7MC2ACNB.js.map +6 -0
  39. package/dist/chunks/{chunk-FEOS7UZ2.js → chunk-7PD3LHIR.js} +2 -2
  40. package/dist/chunks/{chunk-SSPHAILP.js → chunk-7XLZPKOT.js} +2 -2
  41. package/dist/chunks/{chunk-4TIUY3Q6.js → chunk-ATL46ZCR.js} +36 -14
  42. package/dist/chunks/{chunk-4TIUY3Q6.js.map → chunk-ATL46ZCR.js.map} +1 -1
  43. package/dist/chunks/{chunk-OSC47PCX.js → chunk-AXCSETAX.js} +13 -7
  44. package/dist/chunks/{chunk-OSC47PCX.js.map → chunk-AXCSETAX.js.map} +1 -1
  45. package/dist/chunks/{chunk-JPM3JXZB.js → chunk-BBBFPJV3.js} +3 -3
  46. package/dist/chunks/{chunk-LB4HC5U7.js → chunk-BBBVDHRH.js} +3 -3
  47. package/dist/chunks/{chunk-73HWWJYC.js → chunk-BJWJPQ66.js} +2 -2
  48. package/dist/chunks/{chunk-XJALHM5Z.js → chunk-CKMF72VE.js} +3 -3
  49. package/dist/chunks/{chunk-7LDUPEXP.js → chunk-CQNVNHRL.js} +2 -2
  50. package/dist/chunks/{chunk-AEXGGJUW.js → chunk-D3OHAYMX.js} +5 -5
  51. package/dist/chunks/{chunk-DGYMR4WJ.js → chunk-D5ORLKON.js} +4 -4
  52. package/dist/chunks/{chunk-KVNL7XA6.js → chunk-DFOULHWV.js} +3 -3
  53. package/dist/chunks/{chunk-WGC5DJEW.js → chunk-DHQJRU7E.js} +3 -3
  54. package/dist/chunks/{chunk-6YXHH5JW.js → chunk-DLMDCCO7.js} +2 -2
  55. package/dist/chunks/{chunk-MF57EX7H.js → chunk-E5GQTEDW.js} +3 -3
  56. package/dist/chunks/{chunk-P725GKKG.js → chunk-EN2E63G6.js} +6 -6
  57. package/dist/chunks/{chunk-JRWUIW4J.js → chunk-ESLOAQRL.js} +2 -2
  58. package/dist/chunks/{chunk-DJTCZSSY.js → chunk-EVJKQAZM.js} +2 -2
  59. package/dist/chunks/{chunk-RZKIZTPA.js → chunk-EYF7VILP.js} +2 -2
  60. package/dist/chunks/{chunk-OOJP5BEK.js → chunk-F6YNTG3K.js} +38 -16
  61. package/dist/chunks/{chunk-OOJP5BEK.js.map → chunk-F6YNTG3K.js.map} +1 -1
  62. package/dist/chunks/{chunk-CEZW3NVM.js → chunk-FISBMAF4.js} +4 -4
  63. package/dist/chunks/{chunk-QTHG6UPU.js → chunk-FOS5YJED.js} +2 -2
  64. package/dist/chunks/{chunk-CG5CGXNF.js → chunk-FQ3DUX7L.js} +2 -2
  65. package/dist/chunks/{chunk-XVOPQCPD.js → chunk-G4XSQIFF.js} +2 -2
  66. package/dist/chunks/{chunk-AIQKSTVJ.js → chunk-G52WH6JI.js} +4 -4
  67. package/dist/chunks/{chunk-HW2QBNAA.js → chunk-GRCEOMSP.js} +13 -13
  68. package/dist/chunks/{chunk-PKFXIWVX.js → chunk-GVHUHRGI.js} +4 -4
  69. package/dist/chunks/{chunk-WSDZIJNK.js → chunk-HA46XY4I.js} +4 -4
  70. package/dist/chunks/{chunk-OH7EYW3T.js → chunk-HAIG4TLP.js} +6 -6
  71. package/dist/chunks/{chunk-WXYRLTRY.js → chunk-HNSJJXIO.js} +3 -3
  72. package/dist/chunks/{chunk-D6XZ4ZAV.js → chunk-HT6A5LCI.js} +4 -4
  73. package/dist/chunks/{chunk-2EVP6BX4.js → chunk-IGZGAC75.js} +2 -2
  74. package/dist/chunks/{chunk-5JVKE4LB.js → chunk-IOTYZLY5.js} +181 -118
  75. package/dist/chunks/chunk-IOTYZLY5.js.map +6 -0
  76. package/dist/chunks/{chunk-MRZHTIE7.js → chunk-ITFIXESL.js} +4 -4
  77. package/dist/chunks/{chunk-QZTTIL3A.js → chunk-IXJ6A2XE.js} +3 -3
  78. package/dist/chunks/{chunk-G5LPTLLY.js → chunk-J2AH4QK4.js} +3 -3
  79. package/dist/chunks/{chunk-FK5C7SHM.js → chunk-JAPP6DFJ.js} +16 -93
  80. package/dist/chunks/chunk-JAPP6DFJ.js.map +6 -0
  81. package/dist/chunks/{chunk-UL6MZ5OM.js → chunk-JARQ4I4Q.js} +9 -9
  82. package/dist/chunks/{chunk-WW3AU2YN.js → chunk-JCK6FM7F.js} +2 -2
  83. package/dist/chunks/{chunk-ABKURT35.js → chunk-JR66BLKY.js} +3 -3
  84. package/dist/chunks/{chunk-LXJW3ZYI.js → chunk-K4APHATW.js} +2 -2
  85. package/dist/chunks/{chunk-YNWPC3HO.js → chunk-KBIVQ5RH.js} +5 -5
  86. package/dist/chunks/{chunk-PFVYYH6O.js → chunk-L7DZ2QPD.js} +2 -2
  87. package/dist/chunks/{chunk-FRGOWO6N.js → chunk-LGUIDOA7.js} +13 -12
  88. package/dist/chunks/chunk-LGUIDOA7.js.map +6 -0
  89. package/dist/chunks/{chunk-3PH6F6Z3.js → chunk-LONNSCMP.js} +2 -2
  90. package/dist/chunks/{chunk-HGTOAMV6.js → chunk-LQFUO2RZ.js} +1987 -709
  91. package/dist/chunks/chunk-LQFUO2RZ.js.map +6 -0
  92. package/dist/chunks/{chunk-ACO3LTRT.js → chunk-M4LHZRTX.js} +3 -3
  93. package/dist/chunks/{chunk-567CSU37.js → chunk-MN3CC4AF.js} +8 -8
  94. package/dist/chunks/{chunk-LWJJDERP.js → chunk-MXLAVYBS.js} +2 -2
  95. package/dist/chunks/{chunk-TRRKG642.js → chunk-NCPOOJD4.js} +3 -3
  96. package/dist/chunks/{chunk-ATCVFWXD.js → chunk-NIHIVQJS.js} +38 -38
  97. package/dist/chunks/{chunk-7Y4RR47U.js → chunk-OK3QKISP.js} +5 -5
  98. package/dist/chunks/{chunk-IJ6Z6FNY.js → chunk-ONVEH4H7.js} +3 -3
  99. package/dist/chunks/{chunk-E6FMAE5Q.js → chunk-OOIVZ5PA.js} +9 -9
  100. package/dist/chunks/{chunk-ZQGCZYAE.js → chunk-OTNW5ZO6.js} +2 -2
  101. package/dist/chunks/{chunk-G76POTWW.js → chunk-OVJOSPJ5.js} +3 -3
  102. package/dist/chunks/{chunk-S7FE35WQ.js → chunk-P2PWTXHD.js} +3 -3
  103. package/dist/chunks/{chunk-GEVWZWLM.js → chunk-PGD2EYI7.js} +3 -3
  104. package/dist/chunks/{chunk-DJKWBSVM.js → chunk-PIUHVCR3.js} +2 -2
  105. package/dist/chunks/{chunk-JUDJGDYX.js → chunk-QFJ5IWYL.js} +3 -3
  106. package/dist/chunks/{chunk-DRWJTADQ.js → chunk-QI6XNUH6.js} +4 -4
  107. package/dist/chunks/{chunk-4TJ7AGQO.js → chunk-QUUDXDDL.js} +2 -2
  108. package/dist/chunks/{chunk-7J23SPSX.js → chunk-R2TBZK62.js} +8 -7
  109. package/dist/chunks/{chunk-SS6IJAPA.js → chunk-R6WB34IP.js} +2 -2
  110. package/dist/chunks/{chunk-XLXPPVUT.js → chunk-RE5EUO3F.js} +2 -2
  111. package/dist/chunks/{chunk-D3SCA6NT.js → chunk-RYV4P5CO.js} +5 -5
  112. package/dist/chunks/{chunk-2VP2Q657.js → chunk-S5GKG5GV.js} +3 -3
  113. package/dist/chunks/{chunk-6IOZY2AB.js → chunk-S6LFXBVK.js} +36 -14
  114. package/dist/chunks/chunk-S6LFXBVK.js.map +6 -0
  115. package/dist/chunks/{chunk-KETRBV2E.js → chunk-SNKDM7FT.js} +2 -2
  116. package/dist/chunks/{chunk-VE4XIWDW.js → chunk-SR4DQPOI.js} +2 -2
  117. package/dist/chunks/{chunk-6CSJRIUZ.js → chunk-TFOFFJNY.js} +2 -2
  118. package/dist/chunks/{chunk-PQT7624W.js → chunk-TN7MDKW2.js} +8 -8
  119. package/dist/chunks/{chunk-TORIEDBN.js → chunk-TSHMH45O.js} +4 -4
  120. package/dist/chunks/{chunk-E65IWYTT.js → chunk-TYD5K7MT.js} +6 -6
  121. package/dist/chunks/{chunk-KBLYZ7L7.js → chunk-UCDXXMAD.js} +3 -3
  122. package/dist/chunks/{chunk-5HMJ3DYR.js → chunk-UI3ELYQU.js} +4 -4
  123. package/dist/chunks/{chunk-IRAG3YXW.js → chunk-ULJAPIOG.js} +3 -3
  124. package/dist/chunks/{chunk-VL6Z2OMG.js → chunk-VJFBRQZ4.js} +2 -2
  125. package/dist/chunks/{chunk-24EZWZDZ.js → chunk-VUKFKBOO.js} +6 -6
  126. package/dist/chunks/{chunk-4BAXYUZQ.js → chunk-WWMSEDXA.js} +5 -5
  127. package/dist/chunks/{chunk-MF5KTVGJ.js → chunk-XAMOWP2G.js} +7 -7
  128. package/dist/chunks/{chunk-Q6PZODSV.js → chunk-XIBT7TAZ.js} +4 -4
  129. package/dist/chunks/{chunk-VSNV3U2B.js → chunk-XLWFT4QC.js} +5 -5
  130. package/dist/chunks/{chunk-GUK47JTV.js → chunk-XNALFKQ2.js} +4 -4
  131. package/dist/chunks/{chunk-OQWLQUO7.js → chunk-XS6GGF4E.js} +176 -58
  132. package/dist/chunks/{chunk-OQWLQUO7.js.map → chunk-XS6GGF4E.js.map} +3 -3
  133. package/dist/chunks/{chunk-3RLKUXXG.js → chunk-XVML5P53.js} +15 -15
  134. package/dist/chunks/{chunk-JZTTOZRG.js → chunk-YHFKTEU6.js} +2 -2
  135. package/dist/chunks/{chunk-44MFZJ24.js → chunk-YMVJOKBZ.js} +2 -2
  136. package/dist/chunks/{chunk-W4S4ZBXX.js → chunk-YWBOZNDX.js} +11 -11
  137. package/dist/chunks/{chunk-23D5IXMW.js → chunk-ZFEDNTIB.js} +3 -3
  138. package/dist/chunks/{chunk-MDVYEFTI.js → chunk-ZHRBJT5B.js} +2 -2
  139. package/dist/chunks/{chunk-E4RVHFV6.js → chunk-ZPWWUTSR.js} +2 -2
  140. package/dist/chunks/{chunk-EA6YICQ7.js → chunk-ZX5C2ELY.js} +3 -3
  141. package/dist/chunks/{chunk-GQ6WXY3M.js → chunk-ZY7N242I.js} +4 -4
  142. package/dist/chunks/{cli-runtime-P6LCHPBA.js → cli-runtime-SL6YG4EX.js} +22 -22
  143. package/dist/chunks/{commands-BNHIQVYO.js → commands-XRQOUFRE.js} +6 -6
  144. package/dist/chunks/{config-ZMXMX2WY.js → config-W3ABQG5K.js} +12 -12
  145. package/dist/chunks/{cost-BJKADKEZ.js → cost-ZKKW4JSZ.js} +5 -5
  146. package/dist/chunks/{crash-report-OJHGVRD7.js → crash-report-Q2WAKIU5.js} +6 -6
  147. package/dist/chunks/{dist-NCBDELMI.js → dist-IPR6EVQM.js} +2 -2
  148. package/dist/chunks/{dist-PMSBTFU5.js → dist-JY4FIVBZ.js} +2 -2
  149. package/dist/chunks/{dist-43XWK3LF.js → dist-O2QP5QCU.js} +2 -2
  150. package/dist/chunks/{dist-4ZPDHZOX.js → dist-OXSKWJNB.js} +6 -2
  151. package/dist/chunks/{dist-4LEGETQA.js → dist-R4PUUPXV.js} +3 -3
  152. package/dist/chunks/{dist-ADQAO5C3.js → dist-VT4VSQTO.js} +2 -2
  153. package/dist/chunks/{dist-BGJEX527.js → dist-WI7EX7ZF.js} +2 -2
  154. package/dist/chunks/{dist-FMFNU4M3.js → dist-YE6ADUZP.js} +2 -2
  155. package/dist/chunks/{doctor-AIYB27QY.js → doctor-EUH7WGN6.js} +38 -38
  156. package/dist/chunks/{drain-PYKX4QNR.js → drain-3DDY42KQ.js} +17 -17
  157. package/dist/chunks/{entry-HM5E7KCD.js → entry-FNHGVOQM.js} +6 -6
  158. package/dist/chunks/{eval-H4NKZYVV.js → eval-CFKAWR3B.js} +9 -9
  159. package/dist/chunks/{exec-2PRVZNUX.js → exec-BR6L3C3T.js} +45 -45
  160. package/dist/chunks/{extension-4233XOZW.js → extension-4VR722KH.js} +5 -5
  161. package/dist/chunks/{home-AZY7APF6.js → home-JCDINY64.js} +3 -3
  162. package/dist/chunks/{homes-WL6LAAY5.js → homes-53P37RPB.js} +5 -5
  163. package/dist/chunks/{hooks-AK5S4YUS.js → hooks-6EV4IEHU.js} +21 -21
  164. package/dist/chunks/{hooks-report-NJLGBWN3.js → hooks-report-OK5PIOSF.js} +17 -17
  165. package/dist/chunks/{host-SX3QC5FN.js → host-KF63UW3T.js} +10 -10
  166. package/dist/chunks/host-queries-5ZWYD4VD.js +37 -0
  167. package/dist/chunks/{installed-list-44QXUJFE.js → installed-list-QLVA6XBV.js} +4 -4
  168. package/dist/chunks/{learn-LW4DLSGZ.js → learn-XNVRCNGV.js} +17 -17
  169. package/dist/chunks/{learn-builtin-4RV2XDH4.js → learn-builtin-XABWBGRU.js} +20 -20
  170. package/dist/chunks/{lifecycle-AJCHTSAF.js → lifecycle-K7REDQBN.js} +30 -30
  171. package/dist/chunks/{list-DT7AJVPX.js → list-US5UDLON.js} +18 -18
  172. package/dist/chunks/{live-Z6HZFXPW.js → live-DNA4UB2B.js} +37 -37
  173. package/dist/chunks/{load-454TJBPW.js → load-2WCYASMC.js} +9 -9
  174. package/dist/chunks/{logs-GRUSUSL7.js → logs-ZF7YJNOC.js} +4 -4
  175. package/dist/chunks/{mcp-AFLRDYNN.js → mcp-FBJXQJ6I.js} +21 -21
  176. package/dist/chunks/{mcp-serve-NNWP4IES.js → mcp-serve-TTZ33VMY.js} +17 -17
  177. package/dist/chunks/{message-command-ZR2JQBBU.js → message-command-FMT4APFA.js} +56 -56
  178. package/dist/chunks/{open-Z3BELFL7.js → open-I4YKGQSW.js} +7 -7
  179. package/dist/chunks/{operator-tools-PN3SPQ3C.js → operator-tools-FC5JFH42.js} +15 -15
  180. package/dist/chunks/{output-schema-DSR56W6A.js → output-schema-KMYL2UB6.js} +3 -3
  181. package/dist/chunks/{pal-ZOH5ILEV.js → pal-UZFR42OY.js} +15 -15
  182. package/dist/chunks/{peers-LXNB4QSL.js → peers-NM5HJGSR.js} +7 -7
  183. package/dist/chunks/{peers-WINODTEB.js → peers-V7XCJUFZ.js} +19 -19
  184. package/dist/chunks/{plugin-MLHZ42NZ.js → plugin-UEPWXCB4.js} +17 -17
  185. package/dist/chunks/{providers-UOTUEQOJ.js → providers-BQ25F6LA.js} +17 -17
  186. package/dist/chunks/{providers-AVECY67I.js → providers-VS37WA3E.js} +10 -10
  187. package/dist/chunks/{pty-GW2YC23H.js → pty-NWEV3DSP.js} +3 -3
  188. package/dist/chunks/resume-Y7P3TAVG.js +25 -0
  189. package/dist/chunks/{resume-command-FXT3KGLC.js → resume-command-KEXAVL6P.js} +4 -4
  190. package/dist/chunks/{running-3NLAODZ7.js → running-JLMG6IL4.js} +4 -4
  191. package/dist/chunks/{schedule-TTQUT45H.js → schedule-6ERJJOA3.js} +12 -12
  192. package/dist/chunks/{send-FRNTRW2M.js → send-UXJ7GXKN.js} +19 -19
  193. package/dist/chunks/send-person-DLJU45IU.js +32 -0
  194. package/dist/chunks/{service-TCKPUGL5.js → service-NYJZCLH2.js} +30 -30
  195. package/dist/chunks/{setting-cli-HGYOIGC6.js → setting-cli-ILFKSR4D.js} +12 -12
  196. package/dist/chunks/{skills-ICVGYWBH.js → skills-4HM2LPS4.js} +25 -25
  197. package/dist/chunks/{skills-ICVGYWBH.js.map → skills-4HM2LPS4.js.map} +1 -1
  198. package/dist/chunks/{start-check-C5VJXVPY.js → start-check-7GBRCGVJ.js} +2 -2
  199. package/dist/chunks/{startup-failure-YQSEQRNQ.js → startup-failure-UA32GGJB.js} +2 -2
  200. package/dist/chunks/{state-2DBTSDEP.js → state-SSRHEX5K.js} +19 -19
  201. package/dist/chunks/{store-CZGKLVTT.js → store-2GFZ5XXW.js} +12 -12
  202. package/dist/chunks/{store-S4BT3ESJ.js → store-MP5EB266.js} +3 -3
  203. package/dist/chunks/{store-RJZCW2MI.js → store-ROR7VTZ2.js} +8 -8
  204. package/dist/chunks/{store-JJKCDY7Y.js → store-WRRTTRBT.js} +10 -4
  205. package/dist/chunks/{tui-Q7ED7VFI.js → tui-2JTNW2G7.js} +92 -92
  206. package/dist/chunks/{update-G7D3YCH5.js → update-32IRH5TG.js} +8 -8
  207. package/dist/chunks/{watch-EON3IWRY.js → watch-PXPP5QXP.js} +96 -96
  208. package/dist/chunks/{workspaces-O6S2OTDL.js → workspaces-4YXZSENL.js} +15 -15
  209. package/dist/chunks/{worktree-A2DNXLOT.js → worktree-DJHBLFHZ.js} +21 -21
  210. package/dist/config/hooks-report.d.ts.map +1 -1
  211. package/dist/config/load.d.ts.map +1 -1
  212. package/dist/config/schema.d.ts +12 -0
  213. package/dist/config/schema.d.ts.map +1 -1
  214. package/dist/config/settings-descriptors.d.ts.map +1 -1
  215. package/dist/index.js +38 -38
  216. package/dist/reminders/skills.d.ts.map +1 -1
  217. package/dist/skills/catalog.d.ts +14 -1
  218. package/dist/skills/catalog.d.ts.map +1 -1
  219. package/dist/skills/installed-list.d.ts +1 -1
  220. package/dist/skills/installed-list.d.ts.map +1 -1
  221. package/dist/skills/overrides.d.ts +56 -0
  222. package/dist/skills/overrides.d.ts.map +1 -0
  223. package/dist/skills/save.d.ts +2 -21
  224. package/dist/skills/save.d.ts.map +1 -1
  225. package/dist/skills/store.d.ts +20 -3
  226. package/dist/skills/store.d.ts.map +1 -1
  227. package/dist/skills/usage.d.ts +54 -0
  228. package/dist/skills/usage.d.ts.map +1 -0
  229. package/dist/tui/App.d.ts +10 -15
  230. package/dist/tui/App.d.ts.map +1 -1
  231. package/dist/tui/PluginScreen.d.ts +17 -0
  232. package/dist/tui/PluginScreen.d.ts.map +1 -0
  233. package/dist/tui/SaveSkillOverlay.d.ts +8 -0
  234. package/dist/tui/SaveSkillOverlay.d.ts.map +1 -1
  235. package/dist/tui/SkillsManager.d.ts +9 -0
  236. package/dist/tui/SkillsManager.d.ts.map +1 -0
  237. package/dist/tui/agent.d.ts +6 -0
  238. package/dist/tui/agent.d.ts.map +1 -1
  239. package/dist/tui/plugin-screen.d.ts +243 -0
  240. package/dist/tui/plugin-screen.d.ts.map +1 -0
  241. package/dist/tui/plugin-view.d.ts +4 -0
  242. package/dist/tui/plugin-view.d.ts.map +1 -1
  243. package/dist/tui/skills/suggest-setting.d.ts +3 -3
  244. package/dist/tui/skills-manager.d.ts +145 -0
  245. package/dist/tui/skills-manager.d.ts.map +1 -0
  246. package/dist/tui/slashCommands.d.ts +1 -1
  247. package/dist/tui/slashCommands.d.ts.map +1 -1
  248. package/package.json +3 -3
  249. package/skills/skill-creator/SKILL.md +2 -2
  250. package/dist/chunks/acp-AQUZCZSO.js.map +0 -6
  251. package/dist/chunks/agent-session-WXWW7E5M.js +0 -92
  252. package/dist/chunks/chunk-5JVKE4LB.js.map +0 -6
  253. package/dist/chunks/chunk-6IOZY2AB.js.map +0 -6
  254. package/dist/chunks/chunk-FK5C7SHM.js.map +0 -6
  255. package/dist/chunks/chunk-FRGOWO6N.js.map +0 -6
  256. package/dist/chunks/chunk-HGTOAMV6.js.map +0 -6
  257. package/dist/chunks/chunk-KHGY6QJR.js.map +0 -6
  258. package/dist/chunks/host-queries-HBW7AW44.js +0 -37
  259. package/dist/chunks/resume-AYWSKWEX.js +0 -25
  260. package/dist/chunks/send-person-57F5RJA7.js +0 -32
  261. /package/dist/chunks/{activity-command-Y3A6GIFW.js.map → activity-command-IVAID3QG.js.map} +0 -0
  262. /package/dist/chunks/{add-DWFKSOYI.js.map → add-W4VXIXR3.js.map} +0 -0
  263. /package/dist/chunks/{agent-Z6PJYBAO.js.map → agent-3VVUFK46.js.map} +0 -0
  264. /package/dist/chunks/{agent-session-WXWW7E5M.js.map → agent-session-TXDHPZJX.js.map} +0 -0
  265. /package/dist/chunks/{apply-at-exit-SHGR2BAB.js.map → apply-at-exit-UW5DQZED.js.map} +0 -0
  266. /package/dist/chunks/{archive-KYXU4AZZ.js.map → archive-VGG3TNKD.js.map} +0 -0
  267. /package/dist/chunks/{auth-R3RCZZ7U.js.map → auth-XUAD35SY.js.map} +0 -0
  268. /package/dist/chunks/{bin-main-DUZFYUCJ.js.map → bin-main-3A5QPUJN.js.map} +0 -0
  269. /package/dist/chunks/{binding-5UJYMFMU.js.map → binding-743KPSRO.js.map} +0 -0
  270. /package/dist/chunks/{browser-7CFZ6BZS.js.map → browser-Y6PS3RBO.js.map} +0 -0
  271. /package/dist/chunks/{chat-BELD32ZP.js.map → chat-P3OKHK34.js.map} +0 -0
  272. /package/dist/chunks/{chunk-MDBUSIPW.js.map → chunk-24PN4KZ7.js.map} +0 -0
  273. /package/dist/chunks/{chunk-UFGLSUGU.js.map → chunk-2CP6CJXJ.js.map} +0 -0
  274. /package/dist/chunks/{chunk-2KC52MDS.js.map → chunk-2ED34AXP.js.map} +0 -0
  275. /package/dist/chunks/{chunk-J5E4DV6R.js.map → chunk-2FP2UHZO.js.map} +0 -0
  276. /package/dist/chunks/{chunk-O2PZDA5H.js.map → chunk-2MEBOBOM.js.map} +0 -0
  277. /package/dist/chunks/{chunk-OA7QKUCM.js.map → chunk-2P427DDU.js.map} +0 -0
  278. /package/dist/chunks/{chunk-VJHENTNB.js.map → chunk-2PEIKBGP.js.map} +0 -0
  279. /package/dist/chunks/{chunk-TYNAB5GR.js.map → chunk-2X53RSPY.js.map} +0 -0
  280. /package/dist/chunks/{chunk-4RW7GDJ4.js.map → chunk-3533PAJJ.js.map} +0 -0
  281. /package/dist/chunks/{chunk-P4TCLMD6.js.map → chunk-37S6BVTN.js.map} +0 -0
  282. /package/dist/chunks/{chunk-TP7DRQXE.js.map → chunk-3APHAS77.js.map} +0 -0
  283. /package/dist/chunks/{chunk-D35UCVTK.js.map → chunk-3JCHJOU3.js.map} +0 -0
  284. /package/dist/chunks/{chunk-DKSFQRUM.js.map → chunk-3P5TQ3VZ.js.map} +0 -0
  285. /package/dist/chunks/{chunk-ESIICAI3.js.map → chunk-44V3FNMT.js.map} +0 -0
  286. /package/dist/chunks/{chunk-CNSKJ3DZ.js.map → chunk-4FMBST2N.js.map} +0 -0
  287. /package/dist/chunks/{chunk-3ETXWTV4.js.map → chunk-4KRQ6EWL.js.map} +0 -0
  288. /package/dist/chunks/{chunk-FMQCPAKR.js.map → chunk-4YUR4SIL.js.map} +0 -0
  289. /package/dist/chunks/{chunk-KPOOM7QT.js.map → chunk-52T26DYZ.js.map} +0 -0
  290. /package/dist/chunks/{chunk-W752G3FM.js.map → chunk-5Y455HIT.js.map} +0 -0
  291. /package/dist/chunks/{chunk-CQFWLYTK.js.map → chunk-6V6MRHZZ.js.map} +0 -0
  292. /package/dist/chunks/{chunk-FEOS7UZ2.js.map → chunk-7PD3LHIR.js.map} +0 -0
  293. /package/dist/chunks/{chunk-SSPHAILP.js.map → chunk-7XLZPKOT.js.map} +0 -0
  294. /package/dist/chunks/{chunk-JPM3JXZB.js.map → chunk-BBBFPJV3.js.map} +0 -0
  295. /package/dist/chunks/{chunk-LB4HC5U7.js.map → chunk-BBBVDHRH.js.map} +0 -0
  296. /package/dist/chunks/{chunk-73HWWJYC.js.map → chunk-BJWJPQ66.js.map} +0 -0
  297. /package/dist/chunks/{chunk-XJALHM5Z.js.map → chunk-CKMF72VE.js.map} +0 -0
  298. /package/dist/chunks/{chunk-7LDUPEXP.js.map → chunk-CQNVNHRL.js.map} +0 -0
  299. /package/dist/chunks/{chunk-AEXGGJUW.js.map → chunk-D3OHAYMX.js.map} +0 -0
  300. /package/dist/chunks/{chunk-DGYMR4WJ.js.map → chunk-D5ORLKON.js.map} +0 -0
  301. /package/dist/chunks/{chunk-KVNL7XA6.js.map → chunk-DFOULHWV.js.map} +0 -0
  302. /package/dist/chunks/{chunk-WGC5DJEW.js.map → chunk-DHQJRU7E.js.map} +0 -0
  303. /package/dist/chunks/{chunk-6YXHH5JW.js.map → chunk-DLMDCCO7.js.map} +0 -0
  304. /package/dist/chunks/{chunk-MF57EX7H.js.map → chunk-E5GQTEDW.js.map} +0 -0
  305. /package/dist/chunks/{chunk-P725GKKG.js.map → chunk-EN2E63G6.js.map} +0 -0
  306. /package/dist/chunks/{chunk-JRWUIW4J.js.map → chunk-ESLOAQRL.js.map} +0 -0
  307. /package/dist/chunks/{chunk-DJTCZSSY.js.map → chunk-EVJKQAZM.js.map} +0 -0
  308. /package/dist/chunks/{chunk-RZKIZTPA.js.map → chunk-EYF7VILP.js.map} +0 -0
  309. /package/dist/chunks/{chunk-CEZW3NVM.js.map → chunk-FISBMAF4.js.map} +0 -0
  310. /package/dist/chunks/{chunk-QTHG6UPU.js.map → chunk-FOS5YJED.js.map} +0 -0
  311. /package/dist/chunks/{chunk-CG5CGXNF.js.map → chunk-FQ3DUX7L.js.map} +0 -0
  312. /package/dist/chunks/{chunk-XVOPQCPD.js.map → chunk-G4XSQIFF.js.map} +0 -0
  313. /package/dist/chunks/{chunk-AIQKSTVJ.js.map → chunk-G52WH6JI.js.map} +0 -0
  314. /package/dist/chunks/{chunk-HW2QBNAA.js.map → chunk-GRCEOMSP.js.map} +0 -0
  315. /package/dist/chunks/{chunk-PKFXIWVX.js.map → chunk-GVHUHRGI.js.map} +0 -0
  316. /package/dist/chunks/{chunk-WSDZIJNK.js.map → chunk-HA46XY4I.js.map} +0 -0
  317. /package/dist/chunks/{chunk-OH7EYW3T.js.map → chunk-HAIG4TLP.js.map} +0 -0
  318. /package/dist/chunks/{chunk-WXYRLTRY.js.map → chunk-HNSJJXIO.js.map} +0 -0
  319. /package/dist/chunks/{chunk-D6XZ4ZAV.js.map → chunk-HT6A5LCI.js.map} +0 -0
  320. /package/dist/chunks/{chunk-2EVP6BX4.js.map → chunk-IGZGAC75.js.map} +0 -0
  321. /package/dist/chunks/{chunk-MRZHTIE7.js.map → chunk-ITFIXESL.js.map} +0 -0
  322. /package/dist/chunks/{chunk-QZTTIL3A.js.map → chunk-IXJ6A2XE.js.map} +0 -0
  323. /package/dist/chunks/{chunk-G5LPTLLY.js.map → chunk-J2AH4QK4.js.map} +0 -0
  324. /package/dist/chunks/{chunk-UL6MZ5OM.js.map → chunk-JARQ4I4Q.js.map} +0 -0
  325. /package/dist/chunks/{chunk-WW3AU2YN.js.map → chunk-JCK6FM7F.js.map} +0 -0
  326. /package/dist/chunks/{chunk-ABKURT35.js.map → chunk-JR66BLKY.js.map} +0 -0
  327. /package/dist/chunks/{chunk-LXJW3ZYI.js.map → chunk-K4APHATW.js.map} +0 -0
  328. /package/dist/chunks/{chunk-YNWPC3HO.js.map → chunk-KBIVQ5RH.js.map} +0 -0
  329. /package/dist/chunks/{chunk-PFVYYH6O.js.map → chunk-L7DZ2QPD.js.map} +0 -0
  330. /package/dist/chunks/{chunk-3PH6F6Z3.js.map → chunk-LONNSCMP.js.map} +0 -0
  331. /package/dist/chunks/{chunk-ACO3LTRT.js.map → chunk-M4LHZRTX.js.map} +0 -0
  332. /package/dist/chunks/{chunk-567CSU37.js.map → chunk-MN3CC4AF.js.map} +0 -0
  333. /package/dist/chunks/{chunk-LWJJDERP.js.map → chunk-MXLAVYBS.js.map} +0 -0
  334. /package/dist/chunks/{chunk-TRRKG642.js.map → chunk-NCPOOJD4.js.map} +0 -0
  335. /package/dist/chunks/{chunk-ATCVFWXD.js.map → chunk-NIHIVQJS.js.map} +0 -0
  336. /package/dist/chunks/{chunk-7Y4RR47U.js.map → chunk-OK3QKISP.js.map} +0 -0
  337. /package/dist/chunks/{chunk-IJ6Z6FNY.js.map → chunk-ONVEH4H7.js.map} +0 -0
  338. /package/dist/chunks/{chunk-E6FMAE5Q.js.map → chunk-OOIVZ5PA.js.map} +0 -0
  339. /package/dist/chunks/{chunk-ZQGCZYAE.js.map → chunk-OTNW5ZO6.js.map} +0 -0
  340. /package/dist/chunks/{chunk-G76POTWW.js.map → chunk-OVJOSPJ5.js.map} +0 -0
  341. /package/dist/chunks/{chunk-S7FE35WQ.js.map → chunk-P2PWTXHD.js.map} +0 -0
  342. /package/dist/chunks/{chunk-GEVWZWLM.js.map → chunk-PGD2EYI7.js.map} +0 -0
  343. /package/dist/chunks/{chunk-DJKWBSVM.js.map → chunk-PIUHVCR3.js.map} +0 -0
  344. /package/dist/chunks/{chunk-JUDJGDYX.js.map → chunk-QFJ5IWYL.js.map} +0 -0
  345. /package/dist/chunks/{chunk-DRWJTADQ.js.map → chunk-QI6XNUH6.js.map} +0 -0
  346. /package/dist/chunks/{chunk-4TJ7AGQO.js.map → chunk-QUUDXDDL.js.map} +0 -0
  347. /package/dist/chunks/{chunk-7J23SPSX.js.map → chunk-R2TBZK62.js.map} +0 -0
  348. /package/dist/chunks/{chunk-SS6IJAPA.js.map → chunk-R6WB34IP.js.map} +0 -0
  349. /package/dist/chunks/{chunk-XLXPPVUT.js.map → chunk-RE5EUO3F.js.map} +0 -0
  350. /package/dist/chunks/{chunk-D3SCA6NT.js.map → chunk-RYV4P5CO.js.map} +0 -0
  351. /package/dist/chunks/{chunk-2VP2Q657.js.map → chunk-S5GKG5GV.js.map} +0 -0
  352. /package/dist/chunks/{chunk-KETRBV2E.js.map → chunk-SNKDM7FT.js.map} +0 -0
  353. /package/dist/chunks/{chunk-VE4XIWDW.js.map → chunk-SR4DQPOI.js.map} +0 -0
  354. /package/dist/chunks/{chunk-6CSJRIUZ.js.map → chunk-TFOFFJNY.js.map} +0 -0
  355. /package/dist/chunks/{chunk-PQT7624W.js.map → chunk-TN7MDKW2.js.map} +0 -0
  356. /package/dist/chunks/{chunk-TORIEDBN.js.map → chunk-TSHMH45O.js.map} +0 -0
  357. /package/dist/chunks/{chunk-E65IWYTT.js.map → chunk-TYD5K7MT.js.map} +0 -0
  358. /package/dist/chunks/{chunk-KBLYZ7L7.js.map → chunk-UCDXXMAD.js.map} +0 -0
  359. /package/dist/chunks/{chunk-5HMJ3DYR.js.map → chunk-UI3ELYQU.js.map} +0 -0
  360. /package/dist/chunks/{chunk-IRAG3YXW.js.map → chunk-ULJAPIOG.js.map} +0 -0
  361. /package/dist/chunks/{chunk-VL6Z2OMG.js.map → chunk-VJFBRQZ4.js.map} +0 -0
  362. /package/dist/chunks/{chunk-24EZWZDZ.js.map → chunk-VUKFKBOO.js.map} +0 -0
  363. /package/dist/chunks/{chunk-4BAXYUZQ.js.map → chunk-WWMSEDXA.js.map} +0 -0
  364. /package/dist/chunks/{chunk-MF5KTVGJ.js.map → chunk-XAMOWP2G.js.map} +0 -0
  365. /package/dist/chunks/{chunk-Q6PZODSV.js.map → chunk-XIBT7TAZ.js.map} +0 -0
  366. /package/dist/chunks/{chunk-VSNV3U2B.js.map → chunk-XLWFT4QC.js.map} +0 -0
  367. /package/dist/chunks/{chunk-GUK47JTV.js.map → chunk-XNALFKQ2.js.map} +0 -0
  368. /package/dist/chunks/{chunk-3RLKUXXG.js.map → chunk-XVML5P53.js.map} +0 -0
  369. /package/dist/chunks/{chunk-JZTTOZRG.js.map → chunk-YHFKTEU6.js.map} +0 -0
  370. /package/dist/chunks/{chunk-44MFZJ24.js.map → chunk-YMVJOKBZ.js.map} +0 -0
  371. /package/dist/chunks/{chunk-W4S4ZBXX.js.map → chunk-YWBOZNDX.js.map} +0 -0
  372. /package/dist/chunks/{chunk-23D5IXMW.js.map → chunk-ZFEDNTIB.js.map} +0 -0
  373. /package/dist/chunks/{chunk-MDVYEFTI.js.map → chunk-ZHRBJT5B.js.map} +0 -0
  374. /package/dist/chunks/{chunk-E4RVHFV6.js.map → chunk-ZPWWUTSR.js.map} +0 -0
  375. /package/dist/chunks/{chunk-EA6YICQ7.js.map → chunk-ZX5C2ELY.js.map} +0 -0
  376. /package/dist/chunks/{chunk-GQ6WXY3M.js.map → chunk-ZY7N242I.js.map} +0 -0
  377. /package/dist/chunks/{cli-runtime-P6LCHPBA.js.map → cli-runtime-SL6YG4EX.js.map} +0 -0
  378. /package/dist/chunks/{commands-BNHIQVYO.js.map → commands-XRQOUFRE.js.map} +0 -0
  379. /package/dist/chunks/{config-ZMXMX2WY.js.map → config-W3ABQG5K.js.map} +0 -0
  380. /package/dist/chunks/{cost-BJKADKEZ.js.map → cost-ZKKW4JSZ.js.map} +0 -0
  381. /package/dist/chunks/{crash-report-OJHGVRD7.js.map → crash-report-Q2WAKIU5.js.map} +0 -0
  382. /package/dist/chunks/{dist-NCBDELMI.js.map → dist-IPR6EVQM.js.map} +0 -0
  383. /package/dist/chunks/{dist-PMSBTFU5.js.map → dist-JY4FIVBZ.js.map} +0 -0
  384. /package/dist/chunks/{dist-43XWK3LF.js.map → dist-O2QP5QCU.js.map} +0 -0
  385. /package/dist/chunks/{dist-4LEGETQA.js.map → dist-OXSKWJNB.js.map} +0 -0
  386. /package/dist/chunks/{dist-4ZPDHZOX.js.map → dist-R4PUUPXV.js.map} +0 -0
  387. /package/dist/chunks/{dist-ADQAO5C3.js.map → dist-VT4VSQTO.js.map} +0 -0
  388. /package/dist/chunks/{dist-BGJEX527.js.map → dist-WI7EX7ZF.js.map} +0 -0
  389. /package/dist/chunks/{dist-FMFNU4M3.js.map → dist-YE6ADUZP.js.map} +0 -0
  390. /package/dist/chunks/{doctor-AIYB27QY.js.map → doctor-EUH7WGN6.js.map} +0 -0
  391. /package/dist/chunks/{drain-PYKX4QNR.js.map → drain-3DDY42KQ.js.map} +0 -0
  392. /package/dist/chunks/{entry-HM5E7KCD.js.map → entry-FNHGVOQM.js.map} +0 -0
  393. /package/dist/chunks/{eval-H4NKZYVV.js.map → eval-CFKAWR3B.js.map} +0 -0
  394. /package/dist/chunks/{exec-2PRVZNUX.js.map → exec-BR6L3C3T.js.map} +0 -0
  395. /package/dist/chunks/{extension-4233XOZW.js.map → extension-4VR722KH.js.map} +0 -0
  396. /package/dist/chunks/{home-AZY7APF6.js.map → home-JCDINY64.js.map} +0 -0
  397. /package/dist/chunks/{homes-WL6LAAY5.js.map → homes-53P37RPB.js.map} +0 -0
  398. /package/dist/chunks/{hooks-AK5S4YUS.js.map → hooks-6EV4IEHU.js.map} +0 -0
  399. /package/dist/chunks/{hooks-report-NJLGBWN3.js.map → hooks-report-OK5PIOSF.js.map} +0 -0
  400. /package/dist/chunks/{host-SX3QC5FN.js.map → host-KF63UW3T.js.map} +0 -0
  401. /package/dist/chunks/{host-queries-HBW7AW44.js.map → host-queries-5ZWYD4VD.js.map} +0 -0
  402. /package/dist/chunks/{installed-list-44QXUJFE.js.map → installed-list-QLVA6XBV.js.map} +0 -0
  403. /package/dist/chunks/{learn-LW4DLSGZ.js.map → learn-XNVRCNGV.js.map} +0 -0
  404. /package/dist/chunks/{learn-builtin-4RV2XDH4.js.map → learn-builtin-XABWBGRU.js.map} +0 -0
  405. /package/dist/chunks/{lifecycle-AJCHTSAF.js.map → lifecycle-K7REDQBN.js.map} +0 -0
  406. /package/dist/chunks/{list-DT7AJVPX.js.map → list-US5UDLON.js.map} +0 -0
  407. /package/dist/chunks/{live-Z6HZFXPW.js.map → live-DNA4UB2B.js.map} +0 -0
  408. /package/dist/chunks/{load-454TJBPW.js.map → load-2WCYASMC.js.map} +0 -0
  409. /package/dist/chunks/{logs-GRUSUSL7.js.map → logs-ZF7YJNOC.js.map} +0 -0
  410. /package/dist/chunks/{mcp-AFLRDYNN.js.map → mcp-FBJXQJ6I.js.map} +0 -0
  411. /package/dist/chunks/{mcp-serve-NNWP4IES.js.map → mcp-serve-TTZ33VMY.js.map} +0 -0
  412. /package/dist/chunks/{message-command-ZR2JQBBU.js.map → message-command-FMT4APFA.js.map} +0 -0
  413. /package/dist/chunks/{open-Z3BELFL7.js.map → open-I4YKGQSW.js.map} +0 -0
  414. /package/dist/chunks/{operator-tools-PN3SPQ3C.js.map → operator-tools-FC5JFH42.js.map} +0 -0
  415. /package/dist/chunks/{output-schema-DSR56W6A.js.map → output-schema-KMYL2UB6.js.map} +0 -0
  416. /package/dist/chunks/{pal-ZOH5ILEV.js.map → pal-UZFR42OY.js.map} +0 -0
  417. /package/dist/chunks/{peers-LXNB4QSL.js.map → peers-NM5HJGSR.js.map} +0 -0
  418. /package/dist/chunks/{peers-WINODTEB.js.map → peers-V7XCJUFZ.js.map} +0 -0
  419. /package/dist/chunks/{plugin-MLHZ42NZ.js.map → plugin-UEPWXCB4.js.map} +0 -0
  420. /package/dist/chunks/{providers-UOTUEQOJ.js.map → providers-BQ25F6LA.js.map} +0 -0
  421. /package/dist/chunks/{providers-AVECY67I.js.map → providers-VS37WA3E.js.map} +0 -0
  422. /package/dist/chunks/{pty-GW2YC23H.js.map → pty-NWEV3DSP.js.map} +0 -0
  423. /package/dist/chunks/{resume-AYWSKWEX.js.map → resume-Y7P3TAVG.js.map} +0 -0
  424. /package/dist/chunks/{resume-command-FXT3KGLC.js.map → resume-command-KEXAVL6P.js.map} +0 -0
  425. /package/dist/chunks/{running-3NLAODZ7.js.map → running-JLMG6IL4.js.map} +0 -0
  426. /package/dist/chunks/{schedule-TTQUT45H.js.map → schedule-6ERJJOA3.js.map} +0 -0
  427. /package/dist/chunks/{send-FRNTRW2M.js.map → send-UXJ7GXKN.js.map} +0 -0
  428. /package/dist/chunks/{send-person-57F5RJA7.js.map → send-person-DLJU45IU.js.map} +0 -0
  429. /package/dist/chunks/{service-TCKPUGL5.js.map → service-NYJZCLH2.js.map} +0 -0
  430. /package/dist/chunks/{setting-cli-HGYOIGC6.js.map → setting-cli-ILFKSR4D.js.map} +0 -0
  431. /package/dist/chunks/{start-check-C5VJXVPY.js.map → start-check-7GBRCGVJ.js.map} +0 -0
  432. /package/dist/chunks/{startup-failure-YQSEQRNQ.js.map → startup-failure-UA32GGJB.js.map} +0 -0
  433. /package/dist/chunks/{state-2DBTSDEP.js.map → state-SSRHEX5K.js.map} +0 -0
  434. /package/dist/chunks/{store-CZGKLVTT.js.map → store-2GFZ5XXW.js.map} +0 -0
  435. /package/dist/chunks/{store-JJKCDY7Y.js.map → store-MP5EB266.js.map} +0 -0
  436. /package/dist/chunks/{store-RJZCW2MI.js.map → store-ROR7VTZ2.js.map} +0 -0
  437. /package/dist/chunks/{store-S4BT3ESJ.js.map → store-WRRTTRBT.js.map} +0 -0
  438. /package/dist/chunks/{tui-Q7ED7VFI.js.map → tui-2JTNW2G7.js.map} +0 -0
  439. /package/dist/chunks/{update-G7D3YCH5.js.map → update-32IRH5TG.js.map} +0 -0
  440. /package/dist/chunks/{watch-EON3IWRY.js.map → watch-PXPP5QXP.js.map} +0 -0
  441. /package/dist/chunks/{workspaces-O6S2OTDL.js.map → workspaces-4YXZSENL.js.map} +0 -0
  442. /package/dist/chunks/{worktree-A2DNXLOT.js.map → worktree-DJHBLFHZ.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 = "69.1.0";
328
+ var VERSION = "69.2.0";
329
329
 
330
330
  // ../sdk/dist/runtime/harness-session/index.js
331
331
  import { posix, win32 } from "node:path";
@@ -37665,9 +37665,13 @@ function renderSkillsSection(skills) {
37665
37665
  const lines2 = [
37666
37666
  "<skill>",
37667
37667
  `<name>${s.metadata.name}</name>`,
37668
- `<description>${skillModelDescription(s.metadata)}</description>`,
37668
+ ...s.metadata.listing === "name-only" ? [] : [`<description>${skillModelDescription(s.metadata)}</description>`],
37669
37669
  `<location>${s.dirPath}/SKILL.md</location>`
37670
37670
  ];
37671
+ if (s.metadata.listing === "name-only") {
37672
+ lines2.push("</skill>");
37673
+ return lines2.join("\n");
37674
+ }
37671
37675
  if (s.metadata.compatibility) {
37672
37676
  lines2.push(`<compatibility>${s.metadata.compatibility}</compatibility>`);
37673
37677
  }
@@ -67283,16 +67287,16 @@ function split(command) {
67283
67287
  continue;
67284
67288
  }
67285
67289
  if (ch === "|" || ch === "&" || ch === ";" || ch === "\n") {
67286
- let sep18 = ch;
67290
+ let sep19 = ch;
67287
67291
  if ((ch === "|" || ch === "&") && next2 === ch) {
67288
- sep18 = ch + ch;
67292
+ sep19 = ch + ch;
67289
67293
  i += 1;
67290
67294
  } else if (ch === "|" && next2 === "&") {
67291
- sep18 = "|&";
67295
+ sep19 = "|&";
67292
67296
  i += 1;
67293
67297
  }
67294
67298
  push();
67295
- pending2 = sep18 === "\n" ? ";" : sep18;
67299
+ pending2 = sep19 === "\n" ? ";" : sep19;
67296
67300
  continue;
67297
67301
  }
67298
67302
  current += ch;
@@ -73821,10 +73825,65 @@ import { readFile as readFile10 } from "node:fs/promises";
73821
73825
 
73822
73826
  // ../sdk/dist/tools/builtins/atomic-write-file.js
73823
73827
  import { randomUUID as randomUUID4 } from "node:crypto";
73828
+ import { lstatSync as lstatSync4, realpathSync as realpathSync5 } from "node:fs";
73824
73829
  import { mkdir as mkdir8, open as open11, realpath as realpath5, rename as rename3, stat as stat8, unlink as unlink7 } from "node:fs/promises";
73825
- import { basename as basename9, dirname as dirname14, join as join24 } from "node:path";
73830
+ import nodePath, { basename as basename9, dirname as dirname14, join as join24, sep as sep8 } from "node:path";
73831
+ var UnsafeWritePathError = class extends Error {
73832
+ static {
73833
+ __name(this, "UnsafeWritePathError");
73834
+ }
73835
+ name = "UnsafeWritePathError";
73836
+ };
73837
+ function lstatOrUndefined(path2) {
73838
+ try {
73839
+ return lstatSync4(path2);
73840
+ } catch (error62) {
73841
+ if (error62.code === "ENOENT")
73842
+ return void 0;
73843
+ throw error62;
73844
+ }
73845
+ }
73846
+ __name(lstatOrUndefined, "lstatOrUndefined");
73847
+ function realOrSelf(path2) {
73848
+ try {
73849
+ return realpathSync5(path2);
73850
+ } catch {
73851
+ return path2;
73852
+ }
73853
+ }
73854
+ __name(realOrSelf, "realOrSelf");
73855
+ function isInside(root, path2) {
73856
+ const rel = nodePath.relative(root, path2);
73857
+ return rel === "" || !nodePath.isAbsolute(rel) && rel !== ".." && !rel.startsWith(`..${sep8}`);
73858
+ }
73859
+ __name(isInside, "isInside");
73860
+ function assertNoLinkBelow(anchor2, file2) {
73861
+ const rel = nodePath.relative(anchor2, file2);
73862
+ if (rel === "" || nodePath.isAbsolute(rel) || rel === ".." || rel.startsWith(`..${sep8}`)) {
73863
+ throw new UnsafeWritePathError(`${file2} is not inside ${anchor2}.`);
73864
+ }
73865
+ let current = anchor2;
73866
+ let deepest = anchor2;
73867
+ for (const part2 of rel.split(sep8)) {
73868
+ current = join24(current, part2);
73869
+ const stat25 = lstatOrUndefined(current);
73870
+ if (stat25 === void 0)
73871
+ break;
73872
+ if (stat25.isSymbolicLink()) {
73873
+ throw new UnsafeWritePathError(`${current} is a symbolic link; it is never written through. Remove the link or save somewhere else.`);
73874
+ }
73875
+ deepest = current;
73876
+ }
73877
+ if (!isInside(realOrSelf(anchor2), realOrSelf(deepest))) {
73878
+ throw new UnsafeWritePathError(`${file2} resolves outside ${anchor2}; nothing was written.`);
73879
+ }
73880
+ }
73881
+ __name(assertNoLinkBelow, "assertNoLinkBelow");
73826
73882
  async function atomicWriteFile2(requestedPath, content, hooks = {}) {
73827
- const filePath = await realpath5(requestedPath).catch(() => requestedPath);
73883
+ const anchor2 = hooks.refuseLinksBelow;
73884
+ if (anchor2 !== void 0)
73885
+ assertNoLinkBelow(anchor2, requestedPath);
73886
+ const filePath = anchor2 === void 0 ? await realpath5(requestedPath).catch(() => requestedPath) : requestedPath;
73828
73887
  const directory = dirname14(filePath);
73829
73888
  await mkdir8(directory, { recursive: true });
73830
73889
  const existingMode = await stat8(filePath).then((value) => value.mode).catch(() => void 0);
@@ -73832,12 +73891,14 @@ async function atomicWriteFile2(requestedPath, content, hooks = {}) {
73832
73891
  let handle;
73833
73892
  let committed = false;
73834
73893
  try {
73835
- handle = await open11(tempPath, "wx", existingMode ?? 438);
73894
+ handle = await open11(tempPath, "wx", hooks.mode ?? existingMode ?? 438);
73836
73895
  await handle.writeFile(content, "utf-8");
73837
73896
  await handle.sync();
73838
73897
  await handle.close();
73839
73898
  handle = void 0;
73840
73899
  await hooks.beforeCommit?.();
73900
+ if (anchor2 !== void 0)
73901
+ assertNoLinkBelow(anchor2, filePath);
73841
73902
  await rename3(tempPath, filePath);
73842
73903
  committed = true;
73843
73904
  await syncDirectory3(directory);
@@ -92630,7 +92691,7 @@ var ScanSessionIndex = class _ScanSessionIndex extends SessionIndexBase {
92630
92691
  };
92631
92692
 
92632
92693
  // ../sdk/dist/store/session-index/sqlite.js
92633
- import { chmodSync as chmodSync2, existsSync as existsSync5, lstatSync as lstatSync4, statSync as statSync5 } from "node:fs";
92694
+ import { chmodSync as chmodSync2, existsSync as existsSync5, lstatSync as lstatSync5, statSync as statSync5 } from "node:fs";
92634
92695
  import { mkdir as mkdir12, open as open14, readdir as readdir8, rename as rename5, rm as rm5, stat as stat11 } from "node:fs/promises";
92635
92696
  import { createRequire as createRequire2 } from "node:module";
92636
92697
  import { basename as basename11, dirname as dirname19, join as join30 } from "node:path";
@@ -92643,7 +92704,7 @@ function restrictIndexFiles(path2) {
92643
92704
  const uid = process.getuid?.();
92644
92705
  for (const file2 of [path2, `${path2}-journal`, `${path2}-wal`, `${path2}-shm`]) {
92645
92706
  try {
92646
- const entry = lstatSync4(file2);
92707
+ const entry = lstatSync5(file2);
92647
92708
  if (!entry.isFile() || (entry.mode & 63) === 0)
92648
92709
  continue;
92649
92710
  if (uid !== void 0 && entry.uid !== uid)
@@ -100215,7 +100276,7 @@ import { pathToFileURL } from "node:url";
100215
100276
 
100216
100277
  // ../sdk/dist/directory/scan.js
100217
100278
  import { lstat as lstat7, readdir as readdir10, realpath as realpath7 } from "node:fs/promises";
100218
- import { basename as basename14, extname as extname3, join as join35, relative as relative6, sep as sep8 } from "node:path";
100279
+ import { basename as basename14, extname as extname3, join as join35, relative as relative6, sep as sep9 } from "node:path";
100219
100280
  var CODE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".mts", ".cts", ".js", ".mjs", ".cjs"]);
100220
100281
  async function scanSlot(root, slot, dirName) {
100221
100282
  const dir = join35(root, dirName);
@@ -114992,7 +115053,7 @@ __name(summarizeBlocking, "summarizeBlocking");
114992
115053
 
114993
115054
  // ../sdk/dist/manager/agent/lifecycle.js
114994
115055
  import { realpath as realpath11, rm as rm6, stat as stat15 } from "node:fs/promises";
114995
- import { isAbsolute as isAbsolute14, relative as relative7, resolve as resolve23, sep as sep9 } from "node:path";
115056
+ import { isAbsolute as isAbsolute14, relative as relative7, resolve as resolve23, sep as sep10 } from "node:path";
114996
115057
 
114997
115058
  // ../sdk/dist/session/handoff/capacity.js
114998
115059
  var DelegationCapacityExceeded = class extends Error {
@@ -115192,7 +115253,7 @@ async function requireIsolatedWorktreePath(ref, callerCwd, subdirectory) {
115192
115253
  }
115193
115254
  const lexicalChild = resolve23(meta3.worktreePath, subdirectory);
115194
115255
  const lexicalRelative = relative7(resolve23(meta3.worktreePath), lexicalChild);
115195
- if (isAbsolute14(lexicalRelative) || lexicalRelative === ".." || lexicalRelative.startsWith(`..${sep9}`)) {
115256
+ if (isAbsolute14(lexicalRelative) || lexicalRelative === ".." || lexicalRelative.startsWith(`..${sep10}`)) {
115196
115257
  throw new Error("Isolated workspace subdirectory escapes the worktree");
115197
115258
  }
115198
115259
  let physicalChild;
@@ -115205,7 +115266,7 @@ async function requireIsolatedWorktreePath(ref, callerCwd, subdirectory) {
115205
115266
  throw new Error("Isolated workspace subdirectory is missing or not a directory", { cause });
115206
115267
  }
115207
115268
  const physicalRelative = relative7(physicalPaths[0], physicalChild);
115208
- if (physicalRelative === "" || isAbsolute14(physicalRelative) || physicalRelative === ".." || physicalRelative.startsWith(`..${sep9}`)) {
115269
+ if (physicalRelative === "" || isAbsolute14(physicalRelative) || physicalRelative === ".." || physicalRelative.startsWith(`..${sep10}`)) {
115209
115270
  throw new Error("Isolated workspace subdirectory resolves outside its worktree");
115210
115271
  }
115211
115272
  return physicalChild;
@@ -118407,7 +118468,7 @@ registerMock();
118407
118468
 
118408
118469
  // ../sdk/dist/sandbox/provider/local.js
118409
118470
  import { spawn as spawn5, spawnSync } from "node:child_process";
118410
- import { constants as constants6, accessSync as accessSync4, existsSync as existsSync7, realpathSync as realpathSync5 } from "node:fs";
118471
+ import { constants as constants6, accessSync as accessSync4, existsSync as existsSync7, realpathSync as realpathSync6 } from "node:fs";
118411
118472
  import { readFile as fsReadFile, writeFile as fsWriteFile, mkdir as mkdir16, open as open16, readdir as readdir14, rename as rename7, rm as rm7, stat as stat16 } from "node:fs/promises";
118412
118473
  import { tmpdir as tmpdir3 } from "node:os";
118413
118474
  import { dirname as dirname23, isAbsolute as isAbsolute16, join as join44, parse as parse8, resolve as resolve24 } from "node:path";
@@ -119571,7 +119632,7 @@ function resolveTrustedWrapper(name3) {
119571
119632
  for (const candidate of TRUSTED_WRAPPER_CANDIDATES[name3]) {
119572
119633
  try {
119573
119634
  accessSync4(candidate, constants6.X_OK);
119574
- return realpathSync5(candidate);
119635
+ return realpathSync6(candidate);
119575
119636
  } catch {
119576
119637
  }
119577
119638
  }
@@ -119677,7 +119738,7 @@ function detectEnvironment() {
119677
119738
  __name(detectEnvironment, "detectEnvironment");
119678
119739
  function canonicalizePath(p) {
119679
119740
  try {
119680
- return realpathSync5(p);
119741
+ return realpathSync6(p);
119681
119742
  } catch {
119682
119743
  if (p.startsWith("/var/"))
119683
119744
  return `/private${p}`;
@@ -120556,11 +120617,11 @@ var TextChunker = class {
120556
120617
  const trimmed = text12.trim();
120557
120618
  return trimmed.length > 0 ? [{ content: trimmed, index: startIndex }] : [];
120558
120619
  }
120559
- for (const sep18 of separators) {
120560
- const parts = sep18 === "" ? [...text12] : splitKeepingSeparator(text12, sep18).filter((p) => p.trim().length > 0);
120620
+ for (const sep19 of separators) {
120621
+ const parts = sep19 === "" ? [...text12] : splitKeepingSeparator(text12, sep19).filter((p) => p.trim().length > 0);
120561
120622
  if (parts.length <= 1)
120562
120623
  continue;
120563
- const remaining = separators.slice(separators.indexOf(sep18) + 1);
120624
+ const remaining = separators.slice(separators.indexOf(sep19) + 1);
120564
120625
  const merged = this.mergeSmallParts(parts, config2);
120565
120626
  if (merged.every((c) => c.content.length <= config2.chunkSize)) {
120566
120627
  return merged;
@@ -120582,12 +120643,12 @@ var TextChunker = class {
120582
120643
  }
120583
120644
  splitBySeparators(text12, separators) {
120584
120645
  let parts = [text12];
120585
- for (const sep18 of separators) {
120646
+ for (const sep19 of separators) {
120586
120647
  const nextParts = [];
120587
120648
  for (const part2 of parts) {
120588
- const splits = part2.split(sep18);
120649
+ const splits = part2.split(sep19);
120589
120650
  for (const [i, segment2] of splits.entries()) {
120590
- const piece = i < splits.length - 1 ? segment2 + sep18 : segment2;
120651
+ const piece = i < splits.length - 1 ? segment2 + sep19 : segment2;
120591
120652
  if (piece.trim().length > 0) {
120592
120653
  nextParts.push(piece);
120593
120654
  }
@@ -120617,17 +120678,17 @@ var TextChunker = class {
120617
120678
  return chunks;
120618
120679
  }
120619
120680
  };
120620
- function splitKeepingSeparator(text12, sep18) {
120621
- if (sep18 === "")
120681
+ function splitKeepingSeparator(text12, sep19) {
120682
+ if (sep19 === "")
120622
120683
  return [text12];
120623
120684
  const parts = [];
120624
120685
  let start = 0;
120625
120686
  for (; ; ) {
120626
- const at = text12.indexOf(sep18, start);
120687
+ const at = text12.indexOf(sep19, start);
120627
120688
  if (at === -1)
120628
120689
  break;
120629
- parts.push(text12.slice(start, at + sep18.length));
120630
- start = at + sep18.length;
120690
+ parts.push(text12.slice(start, at + sep19.length));
120691
+ start = at + sep19.length;
120631
120692
  }
120632
120693
  if (start < text12.length)
120633
120694
  parts.push(text12.slice(start));
@@ -125850,9 +125911,9 @@ var WorkspaceBackendRegistry = class {
125850
125911
 
125851
125912
  // ../sdk/dist/session/workspace/git-worktree.js
125852
125913
  import { execFile as execFile2 } from "node:child_process";
125853
- import { readFileSync as readFileSync8, realpathSync as realpathSync6 } from "node:fs";
125914
+ import { readFileSync as readFileSync8, realpathSync as realpathSync7 } from "node:fs";
125854
125915
  import { realpath as realpath12 } from "node:fs/promises";
125855
- import { basename as basename16, dirname as dirname24, isAbsolute as isAbsolute18, join as join45, relative as relative8, resolve as resolve25, sep as sep10 } from "node:path";
125916
+ import { basename as basename16, dirname as dirname24, isAbsolute as isAbsolute18, join as join45, relative as relative8, resolve as resolve25, sep as sep11 } from "node:path";
125856
125917
  import { promisify } from "node:util";
125857
125918
  var execFileAsync = promisify(execFile2);
125858
125919
  var defaultExecFile = /* @__PURE__ */ __name(async (file2, args) => execFileAsync(file2, [...args]), "defaultExecFile");
@@ -125905,7 +125966,7 @@ var GitWorktreeDriver = class {
125905
125966
  } catch (cause) {
125906
125967
  throw new WorkspaceBackendError({ op: "create:ownership", kind: this.kind, cause });
125907
125968
  }
125908
- const relativePath = relative8(worktreesDir, worktreePath).split(sep10).join("/");
125969
+ const relativePath = relative8(worktreesDir, worktreePath).split(sep11).join("/");
125909
125970
  const branch = `${this.branchPrefix}/${relativePath}`;
125910
125971
  const argv = ["-C", repoRoot, "worktree", "add", "-b", branch, "--", worktreePath];
125911
125972
  if (params.baseRef !== void 0) {
@@ -126079,7 +126140,7 @@ var GitWorktreeDriver = class {
126079
126140
  if (!isStrictDescendant(worktreesDir, worktreePath)) {
126080
126141
  throw new Error("Workspace reference escapes the managed worktree directory");
126081
126142
  }
126082
- const label5 = relative8(worktreesDir, worktreePath).split(sep10).join("/");
126143
+ const label5 = relative8(worktreesDir, worktreePath).split(sep11).join("/");
126083
126144
  const branch = ref.meta.branch;
126084
126145
  const suffix = `/${label5}`;
126085
126146
  if (!branch.endsWith(suffix) || !isBranchPrefix(branch.slice(0, -suffix.length))) {
@@ -126136,7 +126197,7 @@ async function canonicalizeThroughExisting(input2) {
126136
126197
  __name(canonicalizeThroughExisting, "canonicalizeThroughExisting");
126137
126198
  function isStrictDescendant(root, candidate) {
126138
126199
  const rel = relative8(root, candidate);
126139
- return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep10}`) && !isAbsolute18(rel);
126200
+ return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep11}`) && !isAbsolute18(rel);
126140
126201
  }
126141
126202
  __name(isStrictDescendant, "isStrictDescendant");
126142
126203
  function parseWorktreeList(stdout, worktreePath) {
@@ -126168,7 +126229,7 @@ __name(parseWorktreeList, "parseWorktreeList");
126168
126229
  function defaultWorktreesDir(repoRoot) {
126169
126230
  let cwd;
126170
126231
  try {
126171
- cwd = realpathSync6(repoRoot);
126232
+ cwd = realpathSync7(repoRoot);
126172
126233
  } catch {
126173
126234
  cwd = resolve25(repoRoot);
126174
126235
  }
@@ -126186,7 +126247,7 @@ __name(defaultWorktreesDir, "defaultWorktreesDir");
126186
126247
 
126187
126248
  // ../sdk/dist/session/workspace/shared-session.js
126188
126249
  import { mkdir as mkdir17, readFile as readFile21, rename as rename8, writeFile as writeFile6 } from "node:fs/promises";
126189
- import { dirname as dirname25, join as join46, normalize as normalize6, relative as relative9, sep as sep11 } from "node:path";
126250
+ import { dirname as dirname25, join as join46, normalize as normalize6, relative as relative9, sep as sep12 } from "node:path";
126190
126251
  import { posix as posix5 } from "node:path";
126191
126252
  var SharedSessionWorkspace = class _SharedSessionWorkspace {
126192
126253
  static {
@@ -126228,7 +126289,7 @@ var SharedSessionWorkspace = class _SharedSessionWorkspace {
126228
126289
  runtimePath(...segments) {
126229
126290
  if (segments.length === 0)
126230
126291
  return this.runtimeRoot;
126231
- return posix5.join(this.runtimeRoot, ...segments.map((segment2) => segment2.split(sep11).join("/")));
126292
+ return posix5.join(this.runtimeRoot, ...segments.map((segment2) => segment2.split(sep12).join("/")));
126232
126293
  }
126233
126294
  async ensure() {
126234
126295
  await Promise.all([
@@ -126402,7 +126463,7 @@ ${ensureTrailingNewline(input2.sectionText)}` : ensureTrailingNewline(input2.sec
126402
126463
  function safeJoin(root, segments) {
126403
126464
  const fullPath = normalize6(join46(root, ...segments));
126404
126465
  const rel = relative9(root, fullPath);
126405
- if (rel === "" || !rel.startsWith("..") && !rel.includes(`..${sep11}`))
126466
+ if (rel === "" || !rel.startsWith("..") && !rel.includes(`..${sep12}`))
126406
126467
  return fullPath;
126407
126468
  throw new Error(`SharedSessionWorkspace path escapes root: ${segments.join("/")}`);
126408
126469
  }
@@ -127590,7 +127651,7 @@ async function readText(path2) {
127590
127651
  __name(readText, "readText");
127591
127652
 
127592
127653
  // ../sdk/dist/store/session/memory.js
127593
- import { realpathSync as realpathSync7 } from "node:fs";
127654
+ import { realpathSync as realpathSync8 } from "node:fs";
127594
127655
  import { resolve as resolve28 } from "node:path";
127595
127656
 
127596
127657
  // ../sdk/dist/store/session/canonical-path.js
@@ -127687,7 +127748,7 @@ var InMemorySessionStore = class {
127687
127748
  if (project.rootPath !== void 0) {
127688
127749
  let rootPath;
127689
127750
  try {
127690
- rootPath = realpathSync7(project.rootPath);
127751
+ rootPath = realpathSync8(project.rootPath);
127691
127752
  } catch (error62) {
127692
127753
  if (error62.code !== "ENOENT")
127693
127754
  throw error62;
@@ -133898,7 +133959,7 @@ var SqliteLearningExperienceStore = class {
133898
133959
 
133899
133960
  // ../sdk/dist/learning/store.js
133900
133961
  import { createHash as createHash40, randomUUID as randomUUID11 } from "node:crypto";
133901
- import { closeSync as closeSync6, existsSync as existsSync8, fsyncSync as fsyncSync2, linkSync, lstatSync as lstatSync5, mkdirSync as mkdirSync11, openSync as openSync6, readFileSync as readFileSync10, unlinkSync as unlinkSync2, writeFileSync as writeFileSync6 } from "node:fs";
133962
+ import { closeSync as closeSync6, existsSync as existsSync8, fsyncSync as fsyncSync2, linkSync, lstatSync as lstatSync6, mkdirSync as mkdirSync11, openSync as openSync6, readFileSync as readFileSync10, unlinkSync as unlinkSync2, writeFileSync as writeFileSync6 } from "node:fs";
133902
133963
  import { createRequire as createRequire4 } from "node:module";
133903
133964
  import { dirname as dirname27, join as join51, resolve as resolve31 } from "node:path";
133904
133965
 
@@ -134363,7 +134424,7 @@ var SqliteLearningStore = class {
134363
134424
  if (error62.code !== "EEXIST")
134364
134425
  throw error62;
134365
134426
  }
134366
- const entry = lstatSync5(target);
134427
+ const entry = lstatSync6(target);
134367
134428
  if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || digest4(readFileSync10(target)) !== artifact.hash)
134368
134429
  throw new Error("Learning artifact content does not match its hash.");
134369
134430
  } finally {
@@ -134398,7 +134459,7 @@ var SqliteLearningStore = class {
134398
134459
  throw new Error("Learning artifact is not retained in this scope.");
134399
134460
  external_exports.string().regex(/^[0-9a-f]{64}$/).parse(artifact.hash);
134400
134461
  const path2 = join51(this.artifactsPath, `${artifact.hash}.json`);
134401
- const entry = lstatSync5(path2);
134462
+ const entry = lstatSync6(path2);
134402
134463
  if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || entry.size > MAX_ARTIFACT_BYTES)
134403
134464
  throw new Error("Learning artifact is not a regular file of the recorded size.");
134404
134465
  const body = readFileSync10(path2);
@@ -134538,7 +134599,7 @@ __name(permissionModeWord, "permissionModeWord");
134538
134599
  import { join as join53 } from "node:path";
134539
134600
 
134540
134601
  // ../sdk/dist/peers/dir.js
134541
- import { chmodSync as chmodSync3, lstatSync as lstatSync6, mkdirSync as mkdirSync12 } from "node:fs";
134602
+ import { chmodSync as chmodSync3, lstatSync as lstatSync7, mkdirSync as mkdirSync12 } from "node:fs";
134542
134603
  import { tmpdir as tmpdir4 } from "node:os";
134543
134604
  import { join as join52 } from "node:path";
134544
134605
  var PeerDirectoryError = class extends Error {
@@ -134567,7 +134628,7 @@ function fitsSocketPath(dir, platform2) {
134567
134628
  __name(fitsSocketPath, "fitsSocketPath");
134568
134629
  function hardenPeerRuntimeDir(path2, uid) {
134569
134630
  mkdirSync12(path2, { recursive: true, mode: PRIVATE_DIR_MODE });
134570
- const created = lstatSync6(path2);
134631
+ const created = lstatSync7(path2);
134571
134632
  if (created.isSymbolicLink()) {
134572
134633
  throw new PeerDirectoryError(`Refusing peer runtime path ${path2}: it is a symbolic link.`);
134573
134634
  }
@@ -134577,7 +134638,7 @@ function hardenPeerRuntimeDir(path2, uid) {
134577
134638
  if (process.platform === "win32")
134578
134639
  return;
134579
134640
  chmodSync3(path2, PRIVATE_DIR_MODE);
134580
- const entry = lstatSync6(path2);
134641
+ const entry = lstatSync7(path2);
134581
134642
  if (uid !== void 0 && entry.uid !== uid) {
134582
134643
  throw new PeerDirectoryError(`Refusing peer runtime path ${path2}: it belongs to uid ${entry.uid}, not ${uid}.`);
134583
134644
  }
@@ -134836,7 +134897,7 @@ __name(derivePeerRef, "derivePeerRef");
134836
134897
 
134837
134898
  // ../sdk/dist/peers/registry.js
134838
134899
  import { randomBytes as randomBytes10 } from "node:crypto";
134839
- import { closeSync as closeSync7, fsyncSync as fsyncSync3, lstatSync as lstatSync7, openSync as openSync7, readFileSync as readFileSync11, readdirSync as readdirSync5, renameSync as renameSync4, unlinkSync as unlinkSync3, writeSync as writeSync4 } from "node:fs";
134900
+ import { closeSync as closeSync7, fsyncSync as fsyncSync3, lstatSync as lstatSync8, openSync as openSync7, readFileSync as readFileSync11, readdirSync as readdirSync5, renameSync as renameSync4, unlinkSync as unlinkSync3, writeSync as writeSync4 } from "node:fs";
134840
134901
  import { basename as basename17, dirname as dirname28, join as join54 } from "node:path";
134841
134902
 
134842
134903
  // ../sdk/dist/peers/client.js
@@ -135051,7 +135112,7 @@ __name(readPeerRecords, "readPeerRecords");
135051
135112
  function removeIfOwned(path2, uid) {
135052
135113
  let entry;
135053
135114
  try {
135054
- entry = lstatSync7(path2);
135115
+ entry = lstatSync8(path2);
135055
135116
  } catch (error62) {
135056
135117
  if (error62.code === "ENOENT")
135057
135118
  return;
@@ -135082,7 +135143,7 @@ function removeStaleSocketIfOwned(address2, uid) {
135082
135143
  return;
135083
135144
  let entry;
135084
135145
  try {
135085
- entry = lstatSync7(parsed.path);
135146
+ entry = lstatSync8(parsed.path);
135086
135147
  } catch {
135087
135148
  return;
135088
135149
  }
@@ -135130,7 +135191,7 @@ __name(listLivePeers, "listLivePeers");
135130
135191
 
135131
135192
  // ../sdk/dist/peers/endpoint.js
135132
135193
  import { timingSafeEqual as timingSafeEqual3 } from "node:crypto";
135133
- import { chmodSync as chmodSync4, lstatSync as lstatSync8, unlinkSync as unlinkSync4 } from "node:fs";
135194
+ import { chmodSync as chmodSync4, lstatSync as lstatSync9, unlinkSync as unlinkSync4 } from "node:fs";
135134
135195
  import { createServer } from "node:net";
135135
135196
  import { basename as basename18 } from "node:path";
135136
135197
  var PeerEndpointError = class extends Error {
@@ -135261,7 +135322,7 @@ __name(createOutstandingCapWarner, "createOutstandingCapWarner");
135261
135322
  async function removeStaleSocket(path2, uid) {
135262
135323
  let entry;
135263
135324
  try {
135264
- entry = lstatSync8(path2);
135325
+ entry = lstatSync9(path2);
135265
135326
  } catch (error62) {
135266
135327
  if (error62.code === "ENOENT")
135267
135328
  return;
@@ -135641,7 +135702,7 @@ __name(teamNameProblem, "teamNameProblem");
135641
135702
 
135642
135703
  // ../sdk/dist/teams/store.js
135643
135704
  import { randomUUID as randomUUID12 } from "node:crypto";
135644
- import { closeSync as closeSync8, existsSync as existsSync9, lstatSync as lstatSync9, mkdirSync as mkdirSync13, openSync as openSync8, readFileSync as readFileSync12, readdirSync as readdirSync6, renameSync as renameSync5, rmSync as rmSync5, rmdirSync, writeSync as writeSync5 } from "node:fs";
135705
+ import { closeSync as closeSync8, existsSync as existsSync9, lstatSync as lstatSync10, mkdirSync as mkdirSync13, openSync as openSync8, readFileSync as readFileSync12, readdirSync as readdirSync6, renameSync as renameSync5, rmSync as rmSync5, rmdirSync, writeSync as writeSync5 } from "node:fs";
135645
135706
  import { join as join55 } from "node:path";
135646
135707
  var TEAM_COLORS = [
135647
135708
  "blue",
@@ -135770,7 +135831,7 @@ var TeamStore = class {
135770
135831
  const dir = this.teamDir(team);
135771
135832
  let entry;
135772
135833
  try {
135773
- entry = lstatSync9(dir);
135834
+ entry = lstatSync10(dir);
135774
135835
  } catch {
135775
135836
  return false;
135776
135837
  }
@@ -135799,7 +135860,7 @@ var TeamStore = class {
135799
135860
  const dir = join55(this.rootDir, name3);
135800
135861
  let entry;
135801
135862
  try {
135802
- entry = lstatSync9(dir);
135863
+ entry = lstatSync10(dir);
135803
135864
  } catch {
135804
135865
  continue;
135805
135866
  }
@@ -140698,7 +140759,7 @@ __name(createNamzuNetwork, "createNamzuNetwork");
140698
140759
 
140699
140760
  // ../sdk/dist/account/registry.js
140700
140761
  import { randomBytes as randomBytes15 } from "node:crypto";
140701
- import { chmodSync as chmodSync5, closeSync as closeSync9, fsyncSync as fsyncSync4, mkdirSync as mkdirSync14, openSync as openSync9, readFileSync as readFileSync13, realpathSync as realpathSync8, renameSync as renameSync6, rmSync as rmSync6, unlinkSync as unlinkSync5, writeSync as writeSync6 } from "node:fs";
140762
+ import { chmodSync as chmodSync5, closeSync as closeSync9, fsyncSync as fsyncSync4, mkdirSync as mkdirSync14, openSync as openSync9, readFileSync as readFileSync13, realpathSync as realpathSync9, renameSync as renameSync6, rmSync as rmSync6, unlinkSync as unlinkSync5, writeSync as writeSync6 } from "node:fs";
140702
140763
  import { basename as basename20, dirname as dirname31, isAbsolute as isAbsolute20, join as join60, relative as relative10, resolve as resolve33 } from "node:path";
140703
140764
 
140704
140765
  // ../sdk/dist/account/lock.js
@@ -140929,12 +140990,12 @@ function createAccountRegistry(options = {}) {
140929
140990
  }
140930
140991
  }
140931
140992
  __name(checkEndpointAndModel, "checkEndpointAndModel");
140932
- function realOrSelf(target) {
140993
+ function realOrSelf2(target) {
140933
140994
  let existing = resolve33(target);
140934
140995
  const rest = [];
140935
140996
  for (; ; ) {
140936
140997
  try {
140937
- return join60(realpathSync8(existing), ...rest.reverse());
140998
+ return join60(realpathSync9(existing), ...rest.reverse());
140938
140999
  } catch {
140939
141000
  const parent = dirname31(existing);
140940
141001
  if (parent === existing)
@@ -140944,14 +141005,14 @@ function createAccountRegistry(options = {}) {
140944
141005
  }
140945
141006
  }
140946
141007
  }
140947
- __name(realOrSelf, "realOrSelf");
141008
+ __name(realOrSelf2, "realOrSelf");
140948
141009
  function insideAccountsRoot(dir) {
140949
- const rel = relative10(realOrSelf(accountsRoot), realOrSelf(dir));
141010
+ const rel = relative10(realOrSelf2(accountsRoot), realOrSelf2(dir));
140950
141011
  return rel !== "" && !rel.startsWith("..") && !isAbsolute20(rel);
140951
141012
  }
140952
141013
  __name(insideAccountsRoot, "insideAccountsRoot");
140953
141014
  function nests(outer, inner) {
140954
- const rel = relative10(realOrSelf(outer), realOrSelf(inner));
141015
+ const rel = relative10(realOrSelf2(outer), realOrSelf2(inner));
140955
141016
  return rel === "" || !rel.startsWith("..") && !isAbsolute20(rel);
140956
141017
  }
140957
141018
  __name(nests, "nests");
@@ -141130,8 +141191,8 @@ __name(resolveBoundAccount, "resolveBoundAccount");
141130
141191
 
141131
141192
  // ../sdk/dist/pals/store.js
141132
141193
  import { randomUUID as randomUUID14 } from "node:crypto";
141133
- import { chmodSync as chmodSync6, closeSync as closeSync10, fsyncSync as fsyncSync5, linkSync as linkSync2, lstatSync as lstatSync10, mkdirSync as mkdirSync15, openSync as openSync10, readFileSync as readFileSync14, readdirSync as readdirSync7, realpathSync as realpathSync9, unlinkSync as unlinkSync6, writeSync as writeSync7 } from "node:fs";
141134
- import { dirname as dirname32, isAbsolute as isAbsolute21, join as join61, relative as relative11, resolve as resolve34, sep as sep12 } from "node:path";
141194
+ import { chmodSync as chmodSync6, closeSync as closeSync10, fsyncSync as fsyncSync5, linkSync as linkSync2, lstatSync as lstatSync11, mkdirSync as mkdirSync15, openSync as openSync10, readFileSync as readFileSync14, readdirSync as readdirSync7, realpathSync as realpathSync10, unlinkSync as unlinkSync6, writeSync as writeSync7 } from "node:fs";
141195
+ import { dirname as dirname32, isAbsolute as isAbsolute21, join as join61, relative as relative11, resolve as resolve34, sep as sep13 } from "node:path";
141135
141196
  var ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u;
141136
141197
  var REVISION_FILE2 = /^[1-9][0-9]*\.json$/u;
141137
141198
  var PalConflictError = class extends Error {
@@ -141154,10 +141215,10 @@ __name(palId, "palId");
141154
141215
  function homePath(home) {
141155
141216
  const path2 = resolve34(home);
141156
141217
  mkdirSync15(path2, { recursive: true, mode: 448 });
141157
- const entry = lstatSync10(path2);
141218
+ const entry = lstatSync11(path2);
141158
141219
  if (!entry.isDirectory() || entry.isSymbolicLink())
141159
141220
  throw new Error("Pal home must be a real directory.");
141160
- const canonical5 = realpathSync9(path2);
141221
+ const canonical5 = realpathSync10(path2);
141161
141222
  if (canonical5 !== path2)
141162
141223
  throw new Error("Pal root may not contain symlink aliases.");
141163
141224
  return canonical5;
@@ -141165,7 +141226,7 @@ function homePath(home) {
141165
141226
  __name(homePath, "homePath");
141166
141227
  function contained(path2, root) {
141167
141228
  const rel = relative11(root, path2);
141168
- return rel === "" || !isAbsolute21(rel) && rel !== ".." && !rel.startsWith(`..${sep12}`);
141229
+ return rel === "" || !isAbsolute21(rel) && rel !== ".." && !rel.startsWith(`..${sep13}`);
141169
141230
  }
141170
141231
  __name(contained, "contained");
141171
141232
  function paths(home, workspaceRoot, id3) {
@@ -141223,15 +141284,15 @@ function readStoredRevision(home, workspaceRoot, id3, revision) {
141223
141284
  const source = join61(paths(home, workspaceRoot, id3).revisions, `${revision}.json`);
141224
141285
  assertDirectory(paths(home, workspaceRoot, id3).palDir);
141225
141286
  assertDirectory(paths(home, workspaceRoot, id3).revisions);
141226
- const file2 = lstatSync10(source);
141287
+ const file2 = lstatSync11(source);
141227
141288
  if (!file2.isFile() || file2.isSymbolicLink())
141228
141289
  throw new Error("Pal revision must be a real file.");
141229
141290
  const raw = JSON.parse(readFileSync14(source, "utf8"));
141230
141291
  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")
141231
141292
  throw new Error(`Invalid Pal definition ${id3} revision ${revision}.`);
141232
141293
  const expected = paths(home, workspaceRoot, id3).workspace;
141233
- const entry = lstatSync10(expected);
141234
- if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync9(expected) !== expected || raw.workspace !== expected || contained(expected, home))
141294
+ const entry = lstatSync11(expected);
141295
+ if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync10(expected) !== expected || raw.workspace !== expected || contained(expected, home))
141235
141296
  throw new Error(`Pal ${id3} workspace identity changed.`);
141236
141297
  return {
141237
141298
  v: 1,
@@ -141400,7 +141461,7 @@ var DiskPalStore = class {
141400
141461
  /** Exact validated host control directory; never an execution-computer claim. */
141401
141462
  atWorkspace(cwd) {
141402
141463
  const lexical = resolve34(cwd);
141403
- const canonical5 = realpathSync9(lexical);
141464
+ const canonical5 = realpathSync10(lexical);
141404
141465
  const lexicalReserved = contained(lexical, this.workspaceRoot);
141405
141466
  const canonicalReserved = contained(canonical5, this.workspaceRoot);
141406
141467
  if (!lexicalReserved && !canonicalReserved)
@@ -141417,8 +141478,8 @@ var DiskPalStore = class {
141417
141478
  }
141418
141479
  };
141419
141480
  function assertDirectory(path2) {
141420
- const entry = lstatSync10(path2);
141421
- if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync9(path2) !== path2)
141481
+ const entry = lstatSync11(path2);
141482
+ if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync10(path2) !== path2)
141422
141483
  throw new Error(`Pal directory identity changed: ${path2}`);
141423
141484
  }
141424
141485
  __name(assertDirectory, "assertDirectory");
@@ -142282,7 +142343,7 @@ __name(createPalReferenceImageTool, "createPalReferenceImageTool");
142282
142343
 
142283
142344
  // ../sdk/dist/pals/communication/store.js
142284
142345
  import { randomUUID as randomUUID16 } from "node:crypto";
142285
- import { chmodSync as chmodSync7, lstatSync as lstatSync11, mkdirSync as mkdirSync16, readdirSync as readdirSync8, realpathSync as realpathSync10 } from "node:fs";
142346
+ import { chmodSync as chmodSync7, lstatSync as lstatSync12, mkdirSync as mkdirSync16, readdirSync as readdirSync8, realpathSync as realpathSync11 } from "node:fs";
142286
142347
  import { join as join62, resolve as resolve35 } from "node:path";
142287
142348
  import { isDeepStrictEqual as isDeepStrictEqual10 } from "node:util";
142288
142349
 
@@ -143105,8 +143166,8 @@ var DiskPalCommunicationStore = class {
143105
143166
  }
143106
143167
  directory(path2) {
143107
143168
  mkdirSync16(path2, { recursive: true, mode: 448 });
143108
- const stat25 = lstatSync11(path2);
143109
- if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync10(path2) !== path2)
143169
+ const stat25 = lstatSync12(path2);
143170
+ if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync11(path2) !== path2)
143110
143171
  throw new Error("Pal communication requires a real directory without aliases.");
143111
143172
  this.secure(path2);
143112
143173
  }
@@ -143123,7 +143184,7 @@ var DiskPalCommunicationStore = class {
143123
143184
  for (const name3 of readdirSync8(revisionsDir)) {
143124
143185
  if (!/^[1-9][0-9]*\.json$/u.test(name3))
143125
143186
  continue;
143126
- const stat25 = lstatSync11(join62(revisionsDir, name3));
143187
+ const stat25 = lstatSync12(join62(revisionsDir, name3));
143127
143188
  if (!stat25.isFile() || stat25.isSymbolicLink())
143128
143189
  throw new Error("Pal communication commit must be a real file.");
143129
143190
  }
@@ -143960,7 +144021,7 @@ async function dispatchPalMessagesOnce(options, recipient, signal) {
143960
144021
  __name(dispatchPalMessagesOnce, "dispatchPalMessagesOnce");
143961
144022
 
143962
144023
  // ../sdk/dist/pals/communication/policy.js
143963
- import { chmodSync as chmodSync8, lstatSync as lstatSync12, mkdirSync as mkdirSync17, readdirSync as readdirSync9, realpathSync as realpathSync11 } from "node:fs";
144024
+ import { chmodSync as chmodSync8, lstatSync as lstatSync13, mkdirSync as mkdirSync17, readdirSync as readdirSync9, realpathSync as realpathSync12 } from "node:fs";
143964
144025
  import { join as join63, resolve as resolve36 } from "node:path";
143965
144026
  var PalMessagePermissionConflictError = class extends Error {
143966
144027
  static {
@@ -144006,8 +144067,8 @@ var DiskPalMessagePolicy = class {
144006
144067
  }
144007
144068
  directory(path2) {
144008
144069
  mkdirSync17(path2, { recursive: true, mode: 448 });
144009
- const entry = lstatSync12(path2);
144010
- if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync11(path2) !== path2)
144070
+ const entry = lstatSync13(path2);
144071
+ if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync12(path2) !== path2)
144011
144072
  throw new Error("Pal communication policy requires real directories without aliases.");
144012
144073
  this.secure(path2);
144013
144074
  }
@@ -144637,7 +144698,7 @@ async function dispatchPalIngressOnce(options, recipient, signal) {
144637
144698
  __name(dispatchPalIngressOnce, "dispatchPalIngressOnce");
144638
144699
 
144639
144700
  // ../sdk/dist/pals/channels/routes.js
144640
- import { chmodSync as chmodSync9, lstatSync as lstatSync13, mkdirSync as mkdirSync18, readdirSync as readdirSync10, realpathSync as realpathSync12 } from "node:fs";
144701
+ import { chmodSync as chmodSync9, lstatSync as lstatSync14, mkdirSync as mkdirSync18, readdirSync as readdirSync10, realpathSync as realpathSync13 } from "node:fs";
144641
144702
  import { join as join64, resolve as resolve37 } from "node:path";
144642
144703
  import { isDeepStrictEqual as isDeepStrictEqual11 } from "node:util";
144643
144704
 
@@ -144755,8 +144816,8 @@ var DiskPalChannelRoutes = class {
144755
144816
  }
144756
144817
  directory(path2) {
144757
144818
  mkdirSync18(path2, { recursive: true, mode: 448 });
144758
- const entry = lstatSync13(path2);
144759
- if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync12(path2) !== path2)
144819
+ const entry = lstatSync14(path2);
144820
+ if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync13(path2) !== path2)
144760
144821
  throw new Error("Channel routes require real directories without aliases.");
144761
144822
  this.secure(path2);
144762
144823
  }
@@ -144769,13 +144830,13 @@ var DiskPalChannelRoutes = class {
144769
144830
  for (const name3 of readdirSync10(revisionsDir)) {
144770
144831
  if (!/^[1-9][0-9]*\.json$/u.test(name3))
144771
144832
  continue;
144772
- const entry = lstatSync13(join64(revisionsDir, name3));
144833
+ const entry = lstatSync14(join64(revisionsDir, name3));
144773
144834
  if (!entry.isFile() || entry.isSymbolicLink())
144774
144835
  throw new Error("Channel route commits must be real files.");
144775
144836
  }
144776
144837
  const legacyPath = join64(directory, "route.json");
144777
144838
  try {
144778
- const legacy = lstatSync13(legacyPath);
144839
+ const legacy = lstatSync14(legacyPath);
144779
144840
  if (!legacy.isFile() || legacy.isSymbolicLink())
144780
144841
  throw new Error("Channel route projections must be real files.");
144781
144842
  } catch (error62) {
@@ -145067,7 +145128,7 @@ var PalChannelRouter = class {
145067
145128
  };
145068
145129
 
145069
145130
  // ../sdk/dist/pals/activity/subscription-store.js
145070
- import { chmodSync as chmodSync10, lstatSync as lstatSync14, mkdirSync as mkdirSync19, readdirSync as readdirSync11, realpathSync as realpathSync13 } from "node:fs";
145131
+ import { chmodSync as chmodSync10, lstatSync as lstatSync15, mkdirSync as mkdirSync19, readdirSync as readdirSync11, realpathSync as realpathSync14 } from "node:fs";
145071
145132
  import { join as join65, resolve as resolve38 } from "node:path";
145072
145133
  import { isDeepStrictEqual as isDeepStrictEqual14 } from "node:util";
145073
145134
 
@@ -145116,8 +145177,8 @@ var DiskPalActivitySubscriptionStore = class {
145116
145177
  }
145117
145178
  directory(path2) {
145118
145179
  mkdirSync19(path2, { recursive: true, mode: 448 });
145119
- const stat25 = lstatSync14(path2);
145120
- if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync13(path2) !== path2)
145180
+ const stat25 = lstatSync15(path2);
145181
+ if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync14(path2) !== path2)
145121
145182
  throw new Error("Pal subscriptions require real directories without aliases.");
145122
145183
  this.secure(path2);
145123
145184
  }
@@ -145131,7 +145192,7 @@ var DiskPalActivitySubscriptionStore = class {
145131
145192
  for (const name3 of readdirSync11(revisionsDir)) {
145132
145193
  if (!/^[1-9][0-9]*\.json$/u.test(name3))
145133
145194
  continue;
145134
- const stat25 = lstatSync14(join65(revisionsDir, name3));
145195
+ const stat25 = lstatSync15(join65(revisionsDir, name3));
145135
145196
  if (!stat25.isFile() || stat25.isSymbolicLink())
145136
145197
  throw new Error("Pal subscription commits must be real files.");
145137
145198
  }
@@ -145154,8 +145215,8 @@ var DiskPalActivitySubscriptionStore = class {
145154
145215
  /** Complete current records for trusted host projection; a bad record rejects the whole list. */
145155
145216
  async list() {
145156
145217
  try {
145157
- const entry = lstatSync14(this.root);
145158
- if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync13(this.root) !== this.root)
145218
+ const entry = lstatSync15(this.root);
145219
+ if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync14(this.root) !== this.root)
145159
145220
  throw new Error("Pal subscriptions require real directories without aliases.");
145160
145221
  } catch (error62) {
145161
145222
  if (error62.code === "ENOENT")
@@ -145228,7 +145289,7 @@ var DiskPalActivitySubscriptionStore = class {
145228
145289
  };
145229
145290
 
145230
145291
  // ../sdk/dist/pals/activity/subscription-policy.js
145231
- import { chmodSync as chmodSync11, lstatSync as lstatSync15, mkdirSync as mkdirSync20, readdirSync as readdirSync12, realpathSync as realpathSync14 } from "node:fs";
145292
+ import { chmodSync as chmodSync11, lstatSync as lstatSync16, mkdirSync as mkdirSync20, readdirSync as readdirSync12, realpathSync as realpathSync15 } from "node:fs";
145232
145293
  import { join as join66, resolve as resolve39 } from "node:path";
145233
145294
  import { isDeepStrictEqual as isDeepStrictEqual15 } from "node:util";
145234
145295
  var PalActivitySubscriptionPermissionConflictError = class extends Error {
@@ -145274,8 +145335,8 @@ var DiskPalActivitySubscriptionPolicy = class {
145274
145335
  }
145275
145336
  directory(path2) {
145276
145337
  mkdirSync20(path2, { recursive: true, mode: 448 });
145277
- const stat25 = lstatSync15(path2);
145278
- if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync14(path2) !== path2)
145338
+ const stat25 = lstatSync16(path2);
145339
+ if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync15(path2) !== path2)
145279
145340
  throw new Error("Pal activity permissions require real directories without aliases.");
145280
145341
  this.secure(path2);
145281
145342
  }
@@ -145289,7 +145350,7 @@ var DiskPalActivitySubscriptionPolicy = class {
145289
145350
  for (const name3 of readdirSync12(revisionsDir)) {
145290
145351
  if (!/^[1-9][0-9]*\.json$/u.test(name3))
145291
145352
  continue;
145292
- const stat25 = lstatSync15(join66(revisionsDir, name3));
145353
+ const stat25 = lstatSync16(join66(revisionsDir, name3));
145293
145354
  if (!stat25.isFile() || stat25.isSymbolicLink())
145294
145355
  throw new Error("Pal permission commits must be real files.");
145295
145356
  }
@@ -145880,7 +145941,7 @@ function admitToolFacts(value) {
145880
145941
  __name(admitToolFacts, "admitToolFacts");
145881
145942
 
145882
145943
  // ../sdk/dist/tools/builtins/glob.js
145883
- import { isAbsolute as isAbsolute23, join as join67, relative as relative13, sep as sep14 } from "node:path";
145944
+ import { isAbsolute as isAbsolute23, join as join67, relative as relative13, sep as sep15 } from "node:path";
145884
145945
 
145885
145946
  // ../sdk/dist/tools/posix-path.js
145886
145947
  function normalizeSegments(path2) {
@@ -145930,7 +145991,7 @@ function resolveWithinPosix(root, candidate) {
145930
145991
  __name(resolveWithinPosix, "resolveWithinPosix");
145931
145992
 
145932
145993
  // ../sdk/dist/tools/builtins/search-support.js
145933
- import { isAbsolute as isAbsolute22, join as joinPath2, posix as posix8, relative as relative12, sep as sep13 } from "node:path";
145994
+ import { isAbsolute as isAbsolute22, join as joinPath2, posix as posix8, relative as relative12, sep as sep14 } from "node:path";
145934
145995
  var SEARCH_BUDGET_MS = 12e3;
145935
145996
  var MAX_FILES_SEARCHED = 5e4;
145936
145997
  function openSearchBudget(parent, budgetMs = SEARCH_BUDGET_MS) {
@@ -145955,9 +146016,9 @@ function hostDisplayPath(workingDirectory, absolute) {
145955
146016
  const rel = relative12(workingDirectory, absolute);
145956
146017
  if (rel === "")
145957
146018
  return ".";
145958
- if (rel === ".." || rel.startsWith(`..${sep13}`) || isAbsolute22(rel))
146019
+ if (rel === ".." || rel.startsWith(`..${sep14}`) || isAbsolute22(rel))
145959
146020
  return absolute;
145960
- return sep13 === "/" ? rel : rel.split(sep13).join("/");
146021
+ return sep14 === "/" ? rel : rel.split(sep14).join("/");
145961
146022
  }
145962
146023
  __name(hostDisplayPath, "hostDisplayPath");
145963
146024
  function quoteControlPath(path2) {
@@ -146060,13 +146121,13 @@ var inputSchema9 = external_exports.object({
146060
146121
  include_ignored: external_exports.boolean().optional().describe("Also return files that .gitignore and .ignore rules exclude, such as build output and dependencies. Default: false.")
146061
146122
  });
146062
146123
  function relativePattern(pattern, root, sandboxed) {
146063
- let result = sandboxed ? pattern : pattern.split(sep14).join("/");
146124
+ let result = sandboxed ? pattern : pattern.split(sep15).join("/");
146064
146125
  if (result.split("/").includes("..")) {
146065
146126
  throw new Error('Glob pattern escapes the search directory through "..". Choose a contained path and a relative pattern.');
146066
146127
  }
146067
146128
  if (sandboxed ? result.startsWith("/") : isAbsolute23(pattern)) {
146068
146129
  const contained2 = sandboxed ? resolveWithinPosix(root, result) : resolveWithin(root, pattern);
146069
- result = sandboxed ? relativePosix(root, contained2) : relative13(root, contained2).split(sep14).join("/");
146130
+ result = sandboxed ? relativePosix(root, contained2) : relative13(root, contained2).split(sep15).join("/");
146070
146131
  }
146071
146132
  while (result.startsWith("./"))
146072
146133
  result = result.slice(2);
@@ -146203,7 +146264,7 @@ ${ignoredHint(ignored)}` : "";
146203
146264
 
146204
146265
  // ../sdk/dist/tools/builtins/code-analysis.js
146205
146266
  import { realpath as realpath14, stat as stat19 } from "node:fs/promises";
146206
- import { isAbsolute as isAbsolute24, relative as relative14, sep as sep15 } from "node:path";
146267
+ import { isAbsolute as isAbsolute24, relative as relative14, sep as sep16 } from "node:path";
146207
146268
  var DEFAULT_LIMIT = 50;
146208
146269
  var MAX_LIMIT = 200;
146209
146270
  var DEFAULT_MAX_CHARS = 2e4;
@@ -146484,9 +146545,9 @@ async function owningRoot(roots, target) {
146484
146545
  __name(owningRoot, "owningRoot");
146485
146546
  function relativeTo(root, path2) {
146486
146547
  const rel = relative14(root, path2);
146487
- if (rel === "" || rel === ".." || rel.startsWith(`..${sep15}`) || isAbsolute24(rel))
146548
+ if (rel === "" || rel === ".." || rel.startsWith(`..${sep16}`) || isAbsolute24(rel))
146488
146549
  return path2;
146489
- return sep15 === "/" ? rel : rel.split(sep15).join("/");
146550
+ return sep16 === "/" ? rel : rel.split(sep16).join("/");
146490
146551
  }
146491
146552
  __name(relativeTo, "relativeTo");
146492
146553
  function shortFunction(fn) {
@@ -146705,7 +146766,7 @@ __name(getCodeNavigationTools, "getCodeNavigationTools");
146705
146766
 
146706
146767
  // ../sdk/dist/tools/builtins/grep.js
146707
146768
  import { stat as stat20 } from "node:fs/promises";
146708
- import { dirname as dirname33, isAbsolute as isAbsolute25, join as join68, relative as relative15, resolve as resolve40, sep as sep16 } from "node:path";
146769
+ import { dirname as dirname33, isAbsolute as isAbsolute25, join as join68, relative as relative15, resolve as resolve40, sep as sep17 } from "node:path";
146709
146770
  async function readWithSignal(read, signal) {
146710
146771
  signal?.throwIfAborted();
146711
146772
  if (!signal)
@@ -146754,7 +146815,7 @@ function createLocalReader(root, signal) {
146754
146815
  const real = await realDirectory(directory);
146755
146816
  rootReal ??= await rootRealPromise;
146756
146817
  const contained2 = real === directory ? filePath : join68(real, filePath.slice(directory.length + 1));
146757
- if (!(contained2.startsWith(rootReal + sep16) || contained2 === rootReal)) {
146818
+ if (!(contained2.startsWith(rootReal + sep17) || contained2 === rootReal)) {
146758
146819
  const rel = relative15(rootReal, contained2);
146759
146820
  if (rel.startsWith("..") || isAbsolute25(rel)) {
146760
146821
  throw new Error("Path escapes the working directory through a link.");
@@ -146780,7 +146841,7 @@ function createLocalReader(root, signal) {
146780
146841
  __name(createLocalReader, "createLocalReader");
146781
146842
  var PLAIN_TAIL = /(^|\/)\.{1,2}(\/|$)|\/\/|\/$/;
146782
146843
  function createWalkedPaths(root, lexicalRoot, workingDirectory) {
146783
- if (sep16 !== "/")
146844
+ if (sep17 !== "/")
146784
146845
  return void 0;
146785
146846
  const prefix = root === "/" ? "/" : `${root}/`;
146786
146847
  const rootRel = relative15(workingDirectory, lexicalRoot);
@@ -146806,12 +146867,12 @@ function createWalkedPaths(root, lexicalRoot, workingDirectory) {
146806
146867
  }
146807
146868
  __name(createWalkedPaths, "createWalkedPaths");
146808
146869
  function relativeInclude(include, root, sandboxed) {
146809
- let pattern = sandboxed ? include : include.split(sep16).join("/");
146870
+ let pattern = sandboxed ? include : include.split(sep17).join("/");
146810
146871
  if (pattern.split("/").includes(".."))
146811
146872
  throw new Error("Include pattern escapes the search directory");
146812
146873
  if (sandboxed ? pattern.startsWith("/") : isAbsolute25(include)) {
146813
146874
  const absolute = sandboxed ? resolveWithinPosix(root, pattern) : resolveWithin(root, include);
146814
- pattern = sandboxed ? relativePosix(root, absolute) : relative15(root, absolute).split(sep16).join("/");
146875
+ pattern = sandboxed ? relativePosix(root, absolute) : relative15(root, absolute).split(sep17).join("/");
146815
146876
  }
146816
146877
  while (pattern.startsWith("./"))
146817
146878
  pattern = pattern.slice(2);
@@ -152269,7 +152330,7 @@ import { randomBytes as randomBytes16 } from "node:crypto";
152269
152330
  import { createReadStream as createReadStream2 } from "node:fs";
152270
152331
  import { realpath as realpath15, stat as stat24 } from "node:fs/promises";
152271
152332
  import { createServer as createServer3 } from "node:http";
152272
- import { basename as basename22, extname as extname4, isAbsolute as isAbsolute26, join as join70, relative as relative17, resolve as resolve43, sep as sep17 } from "node:path";
152333
+ import { basename as basename22, extname as extname4, isAbsolute as isAbsolute26, join as join70, relative as relative17, resolve as resolve43, sep as sep18 } from "node:path";
152273
152334
  var SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*:/;
152274
152335
  var WINDOWS_DRIVE = /^[A-Za-z]:[\\/]/;
152275
152336
  function isWindowsDrivePath(path2) {
@@ -152360,14 +152421,14 @@ var LocalPageRefusal = class extends Error {
152360
152421
  }
152361
152422
  name = "LocalPageRefusal";
152362
152423
  };
152363
- function isInside(root, path2) {
152424
+ function isInside2(root, path2) {
152364
152425
  const rel = relative17(root, path2);
152365
152426
  return rel === "" || !rel.startsWith("..") && !isAbsolute26(rel);
152366
152427
  }
152367
- __name(isInside, "isInside");
152428
+ __name(isInside2, "isInside");
152368
152429
  function segmentsBelow(root, path2) {
152369
152430
  const rel = relative17(root, path2);
152370
- return rel === "" ? [] : rel.split(sep17);
152431
+ return rel === "" ? [] : rel.split(sep18);
152371
152432
  }
152372
152433
  __name(segmentsBelow, "segmentsBelow");
152373
152434
  function localPageRoots(context2) {
@@ -152406,9 +152467,9 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
152406
152467
  } catch {
152407
152468
  }
152408
152469
  }
152409
- const root = realRoots.find((candidate) => isInside(candidate, target));
152470
+ const root = realRoots.find((candidate) => isInside2(candidate, target));
152410
152471
  if (root === void 0) {
152411
- const linked = realRoots.some((candidate) => isInside(candidate, resolve43(lexical)));
152472
+ const linked = realRoots.some((candidate) => isInside2(candidate, resolve43(lexical)));
152412
152473
  throw new LocalPageRefusal(linked ? `${lexical} is a link that leads outside the allowed folders, to ${target}, so it is not opened. ${allowed}` : `${lexical} is outside the folders local pages open from. ${allowed}`);
152413
152474
  }
152414
152475
  let file2 = target;
@@ -152421,7 +152482,7 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
152421
152482
  } catch {
152422
152483
  throw new LocalPageRefusal(`${lexical} is a folder with no index.html; folders are never listed. Name the page file. ${allowed}`);
152423
152484
  }
152424
- if (!isInside(root, file2)) {
152485
+ if (!isInside2(root, file2)) {
152425
152486
  throw new LocalPageRefusal(`${lexical}/index.html leads outside the allowed folders.`);
152426
152487
  }
152427
152488
  }
@@ -152429,7 +152490,7 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
152429
152490
  throw new LocalPageRefusal(`${lexical} is not a file.`);
152430
152491
  const segments = segmentsBelow(root, file2);
152431
152492
  const secret = secretPathReason(segments);
152432
- const lexicalRoot = localPageRoots(context2).map((candidate) => resolve43(candidate)).find((candidate) => isInside(candidate, lexical));
152493
+ const lexicalRoot = localPageRoots(context2).map((candidate) => resolve43(candidate)).find((candidate) => isInside2(candidate, lexical));
152433
152494
  const lexicalSecret = lexicalRoot === void 0 ? void 0 : secretPathReason(segmentsBelow(lexicalRoot, lexical));
152434
152495
  const reason = secret ?? lexicalSecret;
152435
152496
  if (reason !== void 0) {
@@ -152570,12 +152631,12 @@ var LocalPageServers = class {
152570
152631
  let file2 = join70(root, ...segments);
152571
152632
  try {
152572
152633
  file2 = await realpath15(file2);
152573
- if (!isInside(root, file2))
152634
+ if (!isInside2(root, file2))
152574
152635
  return respond(res, 403);
152575
152636
  let info = await stat24(file2);
152576
152637
  if (info.isDirectory()) {
152577
152638
  file2 = await realpath15(join70(file2, "index.html"));
152578
- if (!isInside(root, file2))
152639
+ if (!isInside2(root, file2))
152579
152640
  return respond(res, 403);
152580
152641
  info = await stat24(file2);
152581
152642
  }
@@ -156507,6 +156568,8 @@ export {
156507
156568
  createViewImageTool,
156508
156569
  ViewImageTool,
156509
156570
  ReadFileTool,
156571
+ UnsafeWritePathError,
156572
+ atomicWriteFile2 as atomicWriteFile,
156510
156573
  diffWords,
156511
156574
  diffLines,
156512
156575
  structuredPatch,
@@ -157354,4 +157417,4 @@ export {
157354
157417
  WakeBudget,
157355
157418
  wakeBudgetFromEnv
157356
157419
  };
157357
- //# sourceMappingURL=chunk-5JVKE4LB.js.map
157420
+ //# sourceMappingURL=chunk-IOTYZLY5.js.map