@zyycn/claudex 1.0.3-fork.2a74621 → 1.0.3-fork.4340338

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 (251) hide show
  1. package/README.md +17 -7
  2. package/dist/{chunk-z7ns4g0p.js → chunk-046nym2c.js} +1 -1
  3. package/dist/{chunk-j84fcssx.js → chunk-05ktn3y0.js} +2 -2
  4. package/dist/{chunk-aberf6bd.js → chunk-07b06fm2.js} +20 -19
  5. package/dist/{chunk-azk47w50.js → chunk-09qhqn47.js} +2 -2
  6. package/dist/{chunk-70spdapk.js → chunk-0b431cxv.js} +1 -1
  7. package/dist/{chunk-a9nr12c7.js → chunk-0d79kjhf.js} +22 -21
  8. package/dist/{chunk-2bpfbf16.js → chunk-0eb8e53b.js} +5 -5
  9. package/dist/{chunk-akyzxxs1.js → chunk-0fna806p.js} +1 -1
  10. package/dist/{chunk-6r1112vx.js → chunk-0nv6vvq3.js} +5 -5
  11. package/dist/{chunk-khscb4ge.js → chunk-0p67f16a.js} +1 -1
  12. package/dist/{chunk-x21zmsfa.js → chunk-0tdbtvav.js} +20 -19
  13. package/dist/{chunk-4f9taz3j.js → chunk-0vptmbey.js} +20 -19
  14. package/dist/{chunk-ph936yc1.js → chunk-1nscjbnp.js} +2 -2
  15. package/dist/{chunk-0503mmvy.js → chunk-1p3p70rh.js} +1 -1
  16. package/dist/{chunk-58xxf3tz.js → chunk-1yttf0na.js} +21 -20
  17. package/dist/{chunk-0na45fm9.js → chunk-21dwcgaf.js} +27 -26
  18. package/dist/{chunk-hk90mbpv.js → chunk-251xpg9b.js} +20 -20
  19. package/dist/{chunk-mvrpg273.js → chunk-2ejryfa7.js} +21 -20
  20. package/dist/{chunk-yvdj4t96.js → chunk-2fak0bar.js} +25 -24
  21. package/dist/{chunk-b292a9es.js → chunk-2q11w3a9.js} +23 -22
  22. package/dist/{chunk-2qp0vrvd.js → chunk-2tknyxdm.js} +1 -1
  23. package/dist/{chunk-gzct9dkr.js → chunk-2xqzchqe.js} +7 -7
  24. package/dist/{chunk-kk4h10r3.js → chunk-2yqnwxsz.js} +22 -21
  25. package/dist/{chunk-sgrc7rmx.js → chunk-30jqpgan.js} +34 -33
  26. package/dist/{chunk-pxv7ggmm.js → chunk-314rjs9n.js} +20 -19
  27. package/dist/{chunk-zydy88cv.js → chunk-3fnhv57g.js} +5 -5
  28. package/dist/{chunk-5fpcmgh8.js → chunk-3v45tmh9.js} +2 -2
  29. package/dist/{chunk-4f1wn74p.js → chunk-4502cefc.js} +20 -19
  30. package/dist/{chunk-xxr0mzqt.js → chunk-47d8b4jw.js} +24 -23
  31. package/dist/{chunk-dxfhv5da.js → chunk-4jsb7me1.js} +2 -2
  32. package/dist/{chunk-33mdt86j.js → chunk-4m3n89yw.js} +1 -1
  33. package/dist/{chunk-q6wc9j6e.js → chunk-4q5pbc62.js} +11 -11
  34. package/dist/{chunk-fw5ev6dp.js → chunk-4vgk6znf.js} +21 -20
  35. package/dist/{chunk-sn55zm52.js → chunk-4wv2mzcm.js} +22 -21
  36. package/dist/{chunk-bbxjktbd.js → chunk-554e9g7t.js} +1 -1
  37. package/dist/{chunk-wfprv7va.js → chunk-57ttbzcs.js} +3 -3
  38. package/dist/{chunk-q1mq6fj3.js → chunk-5cn51mmj.js} +20 -19
  39. package/dist/{chunk-7gd593wb.js → chunk-5dwq3cj5.js} +4 -4
  40. package/dist/{chunk-5k5a32tj.js → chunk-5fpvz30x.js} +24 -23
  41. package/dist/{chunk-q55nn3jr.js → chunk-5h4bjr3v.js} +44 -43
  42. package/dist/{chunk-s2341895.js → chunk-5knkhdsc.js} +1 -1
  43. package/dist/{chunk-ae7s1rks.js → chunk-5r4k6yv4.js} +2 -2
  44. package/dist/{chunk-jr58a333.js → chunk-5w9508r8.js} +21 -20
  45. package/dist/{chunk-c9xk7hme.js → chunk-5zjws6ae.js} +22 -21
  46. package/dist/{chunk-sv3cz176.js → chunk-6d8ae7ff.js} +3 -3
  47. package/dist/{chunk-m4kphr9e.js → chunk-6ha9snbc.js} +1 -1
  48. package/dist/{chunk-1ydzf04y.js → chunk-6km15xan.js} +6 -6
  49. package/dist/{chunk-qqfvrtr3.js → chunk-6sfdeaax.js} +21 -20
  50. package/dist/{chunk-hmtttwpt.js → chunk-6vm8swhm.js} +22 -21
  51. package/dist/{chunk-6hy71770.js → chunk-6yjdwjpv.js} +2 -2
  52. package/dist/chunk-6yxbcn6h.js +513 -0
  53. package/dist/{chunk-1m68rrvt.js → chunk-7at6bgez.js} +563 -673
  54. package/dist/{chunk-3zzszjst.js → chunk-7h92q3pj.js} +10 -13
  55. package/dist/{chunk-nypgx8vs.js → chunk-8bx7dbj3.js} +1 -1
  56. package/dist/{chunk-geyx5ybh.js → chunk-8f999007.js} +20 -19
  57. package/dist/{chunk-ada32h8c.js → chunk-8fnvgvwm.js} +1 -1
  58. package/dist/{chunk-8k0y8sk2.js → chunk-8xjsvz15.js} +7 -7
  59. package/dist/{chunk-z2gj7190.js → chunk-99rtrzs7.js} +9 -9
  60. package/dist/{chunk-qypqtrgp.js → chunk-9b85y5d9.js} +2 -2
  61. package/dist/{chunk-e9aevcts.js → chunk-9cy0x9sb.js} +1 -1
  62. package/dist/{chunk-37dydh7h.js → chunk-9gatg7sb.js} +21 -20
  63. package/dist/{chunk-3zjjk0am.js → chunk-9xa4j67q.js} +2 -2
  64. package/dist/{chunk-pe0s50gj.js → chunk-a2664cv0.js} +1 -1
  65. package/dist/chunk-a2ycks29.js +89 -0
  66. package/dist/{chunk-51xw8dbm.js → chunk-a58ys8tr.js} +3 -3
  67. package/dist/{chunk-6n7gewz2.js → chunk-a5bh5eer.js} +3 -3
  68. package/dist/{chunk-kcv00nmk.js → chunk-a65sdtgn.js} +2 -2
  69. package/dist/{chunk-gzaaa3ex.js → chunk-ahdrmyp2.js} +20 -19
  70. package/dist/{chunk-egmp9ajp.js → chunk-aqe9g0c4.js} +21 -20
  71. package/dist/{chunk-qrv8taxy.js → chunk-arc2x00r.js} +4 -4
  72. package/dist/{chunk-xsx5x369.js → chunk-az76mftv.js} +20 -19
  73. package/dist/{chunk-cg606wr4.js → chunk-b3xwmfwj.js} +20 -19
  74. package/dist/{chunk-q82jz4qn.js → chunk-b4v3j8a6.js} +9 -9
  75. package/dist/{chunk-vjf2rt5s.js → chunk-b7z60g72.js} +21 -20
  76. package/dist/{chunk-2ybjg7pc.js → chunk-b9a9xgjg.js} +3 -3
  77. package/dist/{chunk-re1t10ba.js → chunk-b9wbfre2.js} +18 -18
  78. package/dist/{chunk-1ss7dnmq.js → chunk-ba2a62n1.js} +20 -19
  79. package/dist/{chunk-3rd46sc5.js → chunk-bbkmxqyj.js} +20 -19
  80. package/dist/chunk-bbrbbnb1.js +267 -0
  81. package/dist/{chunk-41m5za5y.js → chunk-bs1pcn7z.js} +1 -1
  82. package/dist/{chunk-7vbxp63m.js → chunk-btwgjq22.js} +20 -19
  83. package/dist/{chunk-qfzfjrk3.js → chunk-c2k7mmbp.js} +32 -31
  84. package/dist/{chunk-j2rbx1ej.js → chunk-c2nf17mj.js} +20 -19
  85. package/dist/{chunk-v2fqnqgx.js → chunk-c3e3gv3m.js} +21 -20
  86. package/dist/{chunk-x7vg43fv.js → chunk-c6atjy8j.js} +2 -2
  87. package/dist/{chunk-vrmgtjyy.js → chunk-cc5ameg4.js} +1 -1
  88. package/dist/{chunk-37dbhqqr.js → chunk-ceww3aby.js} +20 -19
  89. package/dist/{chunk-mzfgg9ne.js → chunk-d0phhjqe.js} +20 -19
  90. package/dist/{chunk-hb7k1x8f.js → chunk-d6jb7916.js} +4 -4
  91. package/dist/{chunk-qjg7a3vk.js → chunk-d7e0j4f9.js} +1 -1
  92. package/dist/{chunk-2sndq2nq.js → chunk-dgh8qea3.js} +3 -3
  93. package/dist/{chunk-b11e166f.js → chunk-dmkwwyvp.js} +4 -4
  94. package/dist/{chunk-693w4qr8.js → chunk-dn4tbcd1.js} +21 -20
  95. package/dist/{chunk-5md3w36r.js → chunk-dnwqwfn6.js} +2 -2
  96. package/dist/{chunk-e6q1y5gb.js → chunk-drhrx5cs.js} +22 -21
  97. package/dist/{chunk-5gvng4zv.js → chunk-dygt2qmc.js} +20 -19
  98. package/dist/{chunk-bedw0ft1.js → chunk-e1dnpa98.js} +4 -4
  99. package/dist/{chunk-ne67h2hc.js → chunk-e1jxm2x7.js} +1 -1
  100. package/dist/{chunk-d28x64s9.js → chunk-e1r4nyp0.js} +2 -2
  101. package/dist/{chunk-h4qh9a0e.js → chunk-e39ddyaw.js} +20 -19
  102. package/dist/{chunk-8smr33wf.js → chunk-ebyngvng.js} +1 -1
  103. package/dist/{chunk-nfv508k1.js → chunk-ecw4n1at.js} +20 -19
  104. package/dist/{chunk-cd155fv3.js → chunk-ee26x9fw.js} +21 -20
  105. package/dist/{chunk-a5wwqn08.js → chunk-eej45h8p.js} +23 -22
  106. package/dist/{chunk-36k7h1v1.js → chunk-enyj01ef.js} +3 -3
  107. package/dist/{chunk-sdxgmmma.js → chunk-epwgy3s8.js} +1 -1
  108. package/dist/{chunk-6azerawy.js → chunk-eqmj34gv.js} +21 -20
  109. package/dist/{chunk-dsf70j2y.js → chunk-ew8tq4kk.js} +36 -35
  110. package/dist/{chunk-s2t8vg8q.js → chunk-exv96vm5.js} +1 -1
  111. package/dist/{chunk-n18sq04t.js → chunk-f0p79pnk.js} +74 -72
  112. package/dist/{chunk-z9b8pnt1.js → chunk-f96gp6eb.js} +4 -4
  113. package/dist/{chunk-n0x2db3y.js → chunk-fbdhqpwa.js} +21 -20
  114. package/dist/{chunk-qpa4edje.js → chunk-fcbh2316.js} +1 -1
  115. package/dist/{chunk-761tmgwx.js → chunk-ff4c8v48.js} +26 -25
  116. package/dist/{chunk-4hh97qpv.js → chunk-ffaa605z.js} +2 -2
  117. package/dist/{chunk-kffz0vxg.js → chunk-fqqk9cn2.js} +20 -19
  118. package/dist/{chunk-c1k5g6t4.js → chunk-fqqpn22z.js} +31 -30
  119. package/dist/{chunk-6gzakvec.js → chunk-fwma2vzs.js} +1 -1
  120. package/dist/{chunk-7pqesh1s.js → chunk-fy2y03gq.js} +4 -4
  121. package/dist/{chunk-33pgf56v.js → chunk-g19hq6hn.js} +2 -2
  122. package/dist/{chunk-4v0qvahs.js → chunk-g5724c2a.js} +21 -20
  123. package/dist/{chunk-qrqenkjd.js → chunk-g5z1g5sw.js} +1 -1
  124. package/dist/{chunk-hvm6gcy9.js → chunk-ga39k7gw.js} +5 -5
  125. package/dist/{chunk-dphmfzrv.js → chunk-gbpz14en.js} +13 -13
  126. package/dist/{chunk-8pb038eb.js → chunk-ge6pr4r1.js} +1 -1
  127. package/dist/{chunk-adg4351g.js → chunk-gfjyht9j.js} +1 -1
  128. package/dist/{chunk-4jzv26gg.js → chunk-gkrt3zgd.js} +2 -2
  129. package/dist/{chunk-x2h31hmh.js → chunk-gmwnhz8v.js} +6 -6
  130. package/dist/{chunk-2ge9kmgv.js → chunk-gvdnqkp4.js} +1 -1
  131. package/dist/{chunk-dnqqes3z.js → chunk-gw3sep3m.js} +2 -2
  132. package/dist/{chunk-akp4x1ve.js → chunk-gzqrbqbv.js} +27 -26
  133. package/dist/{chunk-0hw5q246.js → chunk-h7hrsjaq.js} +1 -1
  134. package/dist/{chunk-mbrkqdrq.js → chunk-hd56wb2p.js} +3 -3
  135. package/dist/{chunk-chy5zbax.js → chunk-hdrx5e0t.js} +28 -27
  136. package/dist/{chunk-rkb7mqj8.js → chunk-hehvf0hn.js} +21 -20
  137. package/dist/{chunk-y9pt2qdf.js → chunk-hksw9zdd.js} +2 -2
  138. package/dist/{chunk-rc28tav4.js → chunk-hn2y8jwt.js} +2 -2
  139. package/dist/{chunk-r0v9bxma.js → chunk-hqpqtgzv.js} +2 -2
  140. package/dist/{chunk-79tame2q.js → chunk-j531gpr9.js} +20 -19
  141. package/dist/{chunk-5c2m9q8v.js → chunk-j74312dg.js} +27 -26
  142. package/dist/{chunk-pd6ph5ep.js → chunk-j7fnpv8f.js} +21 -20
  143. package/dist/{chunk-1gj0rhkf.js → chunk-j9j018s8.js} +20 -19
  144. package/dist/{chunk-tdbpneze.js → chunk-j9psx0nj.js} +28 -27
  145. package/dist/{chunk-x2qg3sdd.js → chunk-jdzpgdqx.js} +30 -29
  146. package/dist/{chunk-vn1e1j7w.js → chunk-jt8jmm8x.js} +1 -1
  147. package/dist/{chunk-ydde1jqg.js → chunk-jtayx8fh.js} +6 -6
  148. package/dist/{chunk-0htr6ryz.js → chunk-jv4mmw04.js} +2 -2
  149. package/dist/{chunk-w962tnq8.js → chunk-k76rtawt.js} +2 -2
  150. package/dist/{chunk-jxnvvps7.js → chunk-k8c62j3p.js} +2 -2
  151. package/dist/{chunk-s5dg9njs.js → chunk-kc5zy9gk.js} +1 -1
  152. package/dist/{chunk-e8d2zjs1.js → chunk-kdqt661m.js} +2 -2
  153. package/dist/{chunk-zxvm58cn.js → chunk-kekaqqpb.js} +1 -1
  154. package/dist/{chunk-36zyyac9.js → chunk-kgrfrtj0.js} +579 -599
  155. package/dist/{chunk-66qbb491.js → chunk-kkz26353.js} +24 -23
  156. package/dist/{chunk-wz2ekprb.js → chunk-kte46qxs.js} +1 -1
  157. package/dist/{chunk-297y1tw3.js → chunk-m5pvwnqs.js} +20 -19
  158. package/dist/{chunk-gg3j3nv0.js → chunk-m6pdcnzp.js} +4 -4
  159. package/dist/{chunk-kecf7c6t.js → chunk-m85hftq0.js} +14 -14
  160. package/dist/{chunk-q6na5mcw.js → chunk-mbgpyknh.js} +21 -20
  161. package/dist/{chunk-5gmd05y0.js → chunk-mckj2yzt.js} +22 -21
  162. package/dist/{chunk-8vcz9eks.js → chunk-mf3dhthm.js} +20 -19
  163. package/dist/{chunk-76dy674m.js → chunk-ms03r0kw.js} +4 -4
  164. package/dist/{chunk-f4407gzr.js → chunk-mw8bhzat.js} +21 -20
  165. package/dist/chunk-mxsp5xzr.js +196 -0
  166. package/dist/{chunk-fgebtwax.js → chunk-n379jamq.js} +31 -30
  167. package/dist/{chunk-9f9p2b84.js → chunk-n41pyhcp.js} +20 -19
  168. package/dist/{chunk-n6qhan3n.js → chunk-n5njkavg.js} +35 -34
  169. package/dist/{chunk-1v6e40p8.js → chunk-ndjvbrd2.js} +2 -2
  170. package/dist/{chunk-s2gr7ese.js → chunk-ne35ry0x.js} +20 -19
  171. package/dist/{chunk-whb2mrcf.js → chunk-nf0k17z7.js} +27 -26
  172. package/dist/chunk-nj7s2shm.js +213 -0
  173. package/dist/{chunk-rs9gw711.js → chunk-nmd0adrz.js} +31 -30
  174. package/dist/{chunk-pb04jxp7.js → chunk-nvf4nm97.js} +24 -23
  175. package/dist/{chunk-rrb8682q.js → chunk-nvt5wvga.js} +1 -1
  176. package/dist/{chunk-t133w5tm.js → chunk-pec0gmp4.js} +20 -19
  177. package/dist/{chunk-hj4vr9dm.js → chunk-pfvcypac.js} +20 -19
  178. package/dist/{chunk-yv9c6hfk.js → chunk-pgbj83ph.js} +20 -19
  179. package/dist/{chunk-gz457zg6.js → chunk-pj1rh54t.js} +3 -3
  180. package/dist/{chunk-arnhbg3z.js → chunk-prxaa5tk.js} +3 -3
  181. package/dist/{chunk-55hj5hhv.js → chunk-py6zfrka.js} +1 -1
  182. package/dist/{chunk-jj0m6fr0.js → chunk-py8k5jwe.js} +6 -6
  183. package/dist/{chunk-ncxetb9w.js → chunk-q0b4zymt.js} +23 -22
  184. package/dist/{chunk-fm8gm3cm.js → chunk-qdf91zf4.js} +2 -2
  185. package/dist/{chunk-drzegvt5.js → chunk-qndg7qem.js} +2 -2
  186. package/dist/{chunk-smtr0ngp.js → chunk-qp7xmz8q.js} +2 -2
  187. package/dist/{chunk-c3r27fmp.js → chunk-qyzxj0y4.js} +1 -1
  188. package/dist/{chunk-xtv4fh71.js → chunk-r71g03hx.js} +3 -3
  189. package/dist/{chunk-eynjr6k5.js → chunk-r7601t1s.js} +1 -1
  190. package/dist/{chunk-48gwzq50.js → chunk-r9ktxyhj.js} +20 -19
  191. package/dist/{chunk-bah68pmm.js → chunk-rdnwkmeq.js} +4 -4
  192. package/dist/{chunk-nma79c3w.js → chunk-rdt7hfpz.js} +2 -2
  193. package/dist/{chunk-xzcz58pv.js → chunk-rebcsf94.js} +20 -19
  194. package/dist/{chunk-ya53e6g3.js → chunk-rgpdme4b.js} +6 -6
  195. package/dist/{chunk-4qgbmcm7.js → chunk-rhey5crv.js} +96 -95
  196. package/dist/{chunk-p3g43fdn.js → chunk-rkkzp2jp.js} +1 -1
  197. package/dist/{chunk-qywdhw43.js → chunk-rm9e0a04.js} +23 -22
  198. package/dist/{chunk-6r9v2rce.js → chunk-rqhtcvn1.js} +1 -1
  199. package/dist/{chunk-fzj4am93.js → chunk-rrmj9ap5.js} +14 -14
  200. package/dist/{chunk-s56m7vrp.js → chunk-rxr2tk26.js} +3 -3
  201. package/dist/{chunk-ctkn4y2r.js → chunk-s8xw97sr.js} +22 -21
  202. package/dist/{chunk-yn80rxav.js → chunk-s8zr8svv.js} +5 -5
  203. package/dist/{chunk-3yccyqwm.js → chunk-sbmharap.js} +8 -8
  204. package/dist/{chunk-fkcn5zhs.js → chunk-sgy3sm6e.js} +2 -2
  205. package/dist/{chunk-r9madq2h.js → chunk-sj96xj9j.js} +2 -2
  206. package/dist/{chunk-gqmkgbfr.js → chunk-sjp70bdf.js} +20 -19
  207. package/dist/{chunk-v2xpxnmd.js → chunk-stcev0my.js} +25 -24
  208. package/dist/chunk-t06vnmnm.js +145 -0
  209. package/dist/{chunk-sy4rdq5h.js → chunk-t0kqgh0b.js} +31 -30
  210. package/dist/{chunk-b80rg7hy.js → chunk-t5ay2csr.js} +20 -19
  211. package/dist/{chunk-wq8v0d1k.js → chunk-t5z6swfb.js} +2 -2
  212. package/dist/{chunk-b4v0varz.js → chunk-t7c77bns.js} +21 -20
  213. package/dist/{chunk-19vtvtzg.js → chunk-t863h5wr.js} +5 -5
  214. package/dist/{chunk-302gxdf9.js → chunk-tbx3bqa1.js} +21 -20
  215. package/dist/{chunk-4cse1nz6.js → chunk-tmxdaf4v.js} +1 -1
  216. package/dist/{chunk-zv2r5chy.js → chunk-ts0wf0vk.js} +23 -22
  217. package/dist/{chunk-m44gmqd1.js → chunk-tw444pah.js} +6 -6
  218. package/dist/{chunk-p87jnvhk.js → chunk-tyef5gv5.js} +2 -2
  219. package/dist/{chunk-zq4j9zys.js → chunk-v000hw11.js} +20 -19
  220. package/dist/{chunk-bc035ncb.js → chunk-v24yfbvr.js} +25 -24
  221. package/dist/{chunk-6d8k2crm.js → chunk-v848vvsd.js} +24 -23
  222. package/dist/{chunk-4tyttyn2.js → chunk-vhvk7eah.js} +6 -6
  223. package/dist/{chunk-xqde96jm.js → chunk-vj7528r6.js} +1 -1
  224. package/dist/{chunk-kq0n3myz.js → chunk-vs0b25yj.js} +2 -2
  225. package/dist/{chunk-5z1vph5s.js → chunk-vvy8pxrt.js} +2 -2
  226. package/dist/{chunk-ar08wx1s.js → chunk-vx35k0py.js} +21 -20
  227. package/dist/{chunk-ss4r21gw.js → chunk-w2qvvj9h.js} +1 -1
  228. package/dist/{chunk-wae2sy8c.js → chunk-w4f7das9.js} +3 -3
  229. package/dist/{chunk-agnasrp3.js → chunk-wa8zan0f.js} +7 -7
  230. package/dist/{chunk-ffk6brrm.js → chunk-we8np85d.js} +31 -30
  231. package/dist/{chunk-6em0h8b4.js → chunk-wp9rtawb.js} +20 -19
  232. package/dist/{chunk-6mtk8975.js → chunk-wt46zqt1.js} +4 -4
  233. package/dist/{chunk-2qk1898r.js → chunk-wvfyctxt.js} +1 -1
  234. package/dist/{chunk-s7mpvz9v.js → chunk-ww4mzb85.js} +57 -104
  235. package/dist/{chunk-78vqjj7t.js → chunk-x31qn6d0.js} +22 -21
  236. package/dist/{chunk-5z78246t.js → chunk-x5cbvbae.js} +2 -2
  237. package/dist/{chunk-wt69n71b.js → chunk-x8ex8jf6.js} +2 -2
  238. package/dist/{chunk-e8bd8nfv.js → chunk-xdch6cyv.js} +22 -21
  239. package/dist/{chunk-tm5bn7aw.js → chunk-xhq1q32a.js} +2 -2
  240. package/dist/{chunk-525vnqc3.js → chunk-xm0cv5dg.js} +2 -2
  241. package/dist/{chunk-wh43g70w.js → chunk-xpe7e8a9.js} +2 -2
  242. package/dist/{chunk-78cznbzh.js → chunk-xtsj9aw4.js} +3 -3
  243. package/dist/{chunk-557wwsxe.js → chunk-yp8nr89q.js} +21 -20
  244. package/dist/{chunk-hazazgk5.js → chunk-yr74p3z3.js} +10 -10
  245. package/dist/{chunk-kge53wbt.js → chunk-yyxe9mpn.js} +8 -8
  246. package/dist/{chunk-0xpb84zw.js → chunk-za46vam7.js} +22 -21
  247. package/dist/{chunk-3s498jy8.js → chunk-zrc2t3gc.js} +20 -19
  248. package/dist/{chunk-0rvxx6st.js → chunk-zyp0231g.js} +21 -20
  249. package/dist/cli.js +5 -5
  250. package/package.json +1 -1
  251. package/dist/chunk-yh7amsbv.js +0 -143
@@ -9,15 +9,19 @@ import {
9
9
  sendSessionActivitySignal,
10
10
  startSessionActivity,
11
11
  stopSessionActivity
12
- } from "./chunk-sdxgmmma.js";
12
+ } from "./chunk-epwgy3s8.js";
13
+ import {
14
+ clearTrustedDeviceTokenCache,
15
+ init_trustedDevice
16
+ } from "./chunk-bs1pcn7z.js";
13
17
  import {
14
18
  init_datadog,
15
19
  shutdownDatadog
16
- } from "./chunk-qjg7a3vk.js";
20
+ } from "./chunk-d7e0j4f9.js";
17
21
  import {
18
22
  getTeammateModeFromSnapshot,
19
23
  init_teammateModeSnapshot
20
- } from "./chunk-nypgx8vs.js";
24
+ } from "./chunk-8bx7dbj3.js";
21
25
  import {
22
26
  DANGEROUS_uncachedSystemPromptSection,
23
27
  clearSystemPromptSections,
@@ -25,10 +29,6 @@ import {
25
29
  resolveSystemPromptSections,
26
30
  systemPromptSection
27
31
  } from "./chunk-t0rgmccj.js";
28
- import {
29
- clearTrustedDeviceTokenCache,
30
- init_trustedDevice
31
- } from "./chunk-41m5za5y.js";
32
32
  import {
33
33
  Byline,
34
34
  CHROME_TOOL_SEARCH_INSTRUCTIONS,
@@ -42,7 +42,11 @@ import {
42
42
  init_prompt as init_prompt3,
43
43
  init_useShortcutDisplay,
44
44
  useShortcutDisplay
45
- } from "./chunk-gz457zg6.js";
45
+ } from "./chunk-pj1rh54t.js";
46
+ import {
47
+ init_p_map,
48
+ pMap
49
+ } from "./chunk-2gzv8nrw.js";
46
50
  import {
47
51
  chokidar_default,
48
52
  init_chokidar
@@ -51,7 +55,7 @@ import {
51
55
  getUndercoverInstructions,
52
56
  init_undercover,
53
57
  isUndercover
54
- } from "./chunk-x7vg43fv.js";
58
+ } from "./chunk-c6atjy8j.js";
55
59
  import {
56
60
  calculateCommitAttribution,
57
61
  createEmptyAttributionState,
@@ -59,7 +63,7 @@ import {
59
63
  isInternalModelRepo,
60
64
  isInternalModelRepoCached,
61
65
  sanitizeModelName
62
- } from "./chunk-vn1e1j7w.js";
66
+ } from "./chunk-jt8jmm8x.js";
63
67
  import {
64
68
  init_subprocessEnv,
65
69
  subprocessEnv
@@ -98,11 +102,11 @@ import {
98
102
  unregisterTeamForSessionCleanup,
99
103
  updateTask,
100
104
  writeTeamFileAsync
101
- } from "./chunk-s5dg9njs.js";
105
+ } from "./chunk-kc5zy9gk.js";
102
106
  import {
103
- init_p_map,
104
- pMap
105
- } from "./chunk-2gzv8nrw.js";
107
+ getCompanion,
108
+ init_companion
109
+ } from "./chunk-mxsp5xzr.js";
106
110
  import {
107
111
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
108
112
  init_common,
@@ -117,13 +121,13 @@ import {
117
121
  checkCachedPassesEligibility,
118
122
  getCachedReferrerReward,
119
123
  init_referral
120
- } from "./chunk-dnqqes3z.js";
124
+ } from "./chunk-gw3sep3m.js";
121
125
  import {
122
126
  init_useDoublePress,
123
127
  init_useExitOnCtrlCDWithKeybindings,
124
128
  useDoublePress,
125
129
  useExitOnCtrlCDWithKeybindings
126
- } from "./chunk-ph936yc1.js";
130
+ } from "./chunk-1nscjbnp.js";
127
131
  import {
128
132
  READ_FILE_STATE_CACHE_SIZE,
129
133
  cacheKeys,
@@ -138,7 +142,7 @@ import {
138
142
  init_terminalSetup,
139
143
  markBackslashReturnUsed,
140
144
  maybeMarkProjectOnboardingComplete
141
- } from "./chunk-wt69n71b.js";
145
+ } from "./chunk-x8ex8jf6.js";
142
146
  import {
143
147
  debugBody,
144
148
  exports_sessionIdCompat,
@@ -164,7 +168,7 @@ import {
164
168
  useKeybinding,
165
169
  useKeybindings,
166
170
  useTerminalSize
167
- } from "./chunk-z7ns4g0p.js";
171
+ } from "./chunk-046nym2c.js";
168
172
  import {
169
173
  Ansi,
170
174
  CLEAR_ITERM2_PROGRESS,
@@ -229,7 +233,7 @@ import {
229
233
  wrapAnsi,
230
234
  wrapForMultiplexer,
231
235
  wrapText
232
- } from "./chunk-adg4351g.js";
236
+ } from "./chunk-gfjyht9j.js";
233
237
  import {
234
238
  gt,
235
239
  gte,
@@ -247,7 +251,7 @@ import {
247
251
  getPrompt,
248
252
  init_prompt as init_prompt2,
249
253
  isDeferredTool
250
- } from "./chunk-0hw5q246.js";
254
+ } from "./chunk-h7hrsjaq.js";
251
255
  import {
252
256
  TungstenTool,
253
257
  init_TungstenTool
@@ -257,7 +261,7 @@ import {
257
261
  getBranchFromSession,
258
262
  getOAuthHeaders,
259
263
  init_api
260
- } from "./chunk-8smr33wf.js";
264
+ } from "./chunk-ebyngvng.js";
261
265
  import {
262
266
  init_browser,
263
267
  openBrowser,
@@ -285,7 +289,7 @@ import {
285
289
  startToolExecutionSpan,
286
290
  startToolSpan,
287
291
  unregisterAgent
288
- } from "./chunk-wq8v0d1k.js";
292
+ } from "./chunk-t5z6swfb.js";
289
293
  import {
290
294
  ADVISOR_BETA_HEADER,
291
295
  AFK_MODE_BETA_HEADER,
@@ -664,7 +668,7 @@ import {
664
668
  validateSettingsFileContent,
665
669
  withOAuth401Retry,
666
670
  writeTextContent
667
- } from "./chunk-3zzszjst.js";
671
+ } from "./chunk-7h92q3pj.js";
668
672
  import {
669
673
  ConfigScopeSchema,
670
674
  McpJsonConfigSchema,
@@ -4887,7 +4891,7 @@ var init_add_dir = __esm(() => {
4887
4891
  name: "add-dir",
4888
4892
  description: "Add a new working directory",
4889
4893
  argumentHint: "<path>",
4890
- load: () => import("./chunk-sn55zm52.js")
4894
+ load: () => import("./chunk-4wv2mzcm.js")
4891
4895
  };
4892
4896
  add_dir_default = addDir;
4893
4897
  });
@@ -4913,7 +4917,7 @@ var init_btw = __esm(() => {
4913
4917
  description: "Ask a quick side question without interrupting the main conversation",
4914
4918
  immediate: true,
4915
4919
  argumentHint: "<question>",
4916
- load: () => import("./chunk-e6q1y5gb.js")
4920
+ load: () => import("./chunk-drhrx5cs.js")
4917
4921
  };
4918
4922
  btw_default = btw;
4919
4923
  });
@@ -4940,175 +4944,6 @@ var init_last = __esm(() => {
4940
4944
  last_default = last;
4941
4945
  });
4942
4946
 
4943
- // src/buddy/types.ts
4944
- var RARITIES, c, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, SPECIES, EYES, HATS, STAT_NAMES, RARITY_WEIGHTS;
4945
- var init_types4 = __esm(() => {
4946
- RARITIES = [
4947
- "common",
4948
- "uncommon",
4949
- "rare",
4950
- "epic",
4951
- "legendary"
4952
- ];
4953
- c = String.fromCharCode;
4954
- duck = c(100, 117, 99, 107);
4955
- goose = c(103, 111, 111, 115, 101);
4956
- blob = c(98, 108, 111, 98);
4957
- cat = c(99, 97, 116);
4958
- dragon = c(100, 114, 97, 103, 111, 110);
4959
- octopus = c(111, 99, 116, 111, 112, 117, 115);
4960
- owl = c(111, 119, 108);
4961
- penguin = c(112, 101, 110, 103, 117, 105, 110);
4962
- turtle = c(116, 117, 114, 116, 108, 101);
4963
- snail = c(115, 110, 97, 105, 108);
4964
- ghost = c(103, 104, 111, 115, 116);
4965
- axolotl = c(97, 120, 111, 108, 111, 116, 108);
4966
- capybara = c(99, 97, 112, 121, 98, 97, 114, 97);
4967
- cactus = c(99, 97, 99, 116, 117, 115);
4968
- robot = c(114, 111, 98, 111, 116);
4969
- rabbit = c(114, 97, 98, 98, 105, 116);
4970
- mushroom = c(109, 117, 115, 104, 114, 111, 111, 109);
4971
- chonk = c(99, 104, 111, 110, 107);
4972
- SPECIES = [
4973
- duck,
4974
- goose,
4975
- blob,
4976
- cat,
4977
- dragon,
4978
- octopus,
4979
- owl,
4980
- penguin,
4981
- turtle,
4982
- snail,
4983
- ghost,
4984
- axolotl,
4985
- capybara,
4986
- cactus,
4987
- robot,
4988
- rabbit,
4989
- mushroom,
4990
- chonk
4991
- ];
4992
- EYES = ["\xB7", "\u2726", "\xD7", "\u25C9", "@", "\xB0"];
4993
- HATS = [
4994
- "none",
4995
- "crown",
4996
- "tophat",
4997
- "propeller",
4998
- "halo",
4999
- "wizard",
5000
- "beanie",
5001
- "tinyduck"
5002
- ];
5003
- STAT_NAMES = [
5004
- "DEBUGGING",
5005
- "PATIENCE",
5006
- "CHAOS",
5007
- "WISDOM",
5008
- "SNARK"
5009
- ];
5010
- RARITY_WEIGHTS = {
5011
- common: 60,
5012
- uncommon: 25,
5013
- rare: 10,
5014
- epic: 4,
5015
- legendary: 1
5016
- };
5017
- });
5018
-
5019
- // src/buddy/companion.ts
5020
- function mulberry32(seed) {
5021
- let a = seed >>> 0;
5022
- return function() {
5023
- a |= 0;
5024
- a = a + 1831565813 | 0;
5025
- let t = Math.imul(a ^ a >>> 15, 1 | a);
5026
- t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t;
5027
- return ((t ^ t >>> 14) >>> 0) / 4294967296;
5028
- };
5029
- }
5030
- function hashString(s) {
5031
- if (typeof Bun !== "undefined") {
5032
- return Number(BigInt(Bun.hash(s)) & 0xffffffffn);
5033
- }
5034
- let h = 2166136261;
5035
- for (let i = 0;i < s.length; i++) {
5036
- h ^= s.charCodeAt(i);
5037
- h = Math.imul(h, 16777619);
5038
- }
5039
- return h >>> 0;
5040
- }
5041
- function pick(rng, arr) {
5042
- return arr[Math.floor(rng() * arr.length)];
5043
- }
5044
- function rollRarity(rng) {
5045
- const total = Object.values(RARITY_WEIGHTS).reduce((a, b) => a + b, 0);
5046
- let roll = rng() * total;
5047
- for (const rarity of RARITIES) {
5048
- roll -= RARITY_WEIGHTS[rarity];
5049
- if (roll < 0)
5050
- return rarity;
5051
- }
5052
- return "common";
5053
- }
5054
- function rollStats(rng, rarity) {
5055
- const floor = RARITY_FLOOR[rarity];
5056
- const peak = pick(rng, STAT_NAMES);
5057
- let dump = pick(rng, STAT_NAMES);
5058
- while (dump === peak)
5059
- dump = pick(rng, STAT_NAMES);
5060
- const stats = {};
5061
- for (const name of STAT_NAMES) {
5062
- if (name === peak) {
5063
- stats[name] = Math.min(100, floor + 50 + Math.floor(rng() * 30));
5064
- } else if (name === dump) {
5065
- stats[name] = Math.max(1, floor - 10 + Math.floor(rng() * 15));
5066
- } else {
5067
- stats[name] = floor + Math.floor(rng() * 40);
5068
- }
5069
- }
5070
- return stats;
5071
- }
5072
- function rollFrom(rng) {
5073
- const rarity = rollRarity(rng);
5074
- const bones = {
5075
- rarity,
5076
- species: pick(rng, SPECIES),
5077
- eye: pick(rng, EYES),
5078
- hat: rarity === "common" ? "none" : pick(rng, HATS),
5079
- shiny: rng() < 0.01,
5080
- stats: rollStats(rng, rarity)
5081
- };
5082
- return { bones, inspirationSeed: Math.floor(rng() * 1e9) };
5083
- }
5084
- function rollWithSeed(seed) {
5085
- return rollFrom(mulberry32(hashString(seed)));
5086
- }
5087
- function companionUserId() {
5088
- const config2 = getGlobalConfig();
5089
- return config2.oauthAccount?.accountUuid ?? config2.userID ?? "anon";
5090
- }
5091
- function getCompanion() {
5092
- const stored = getGlobalConfig().companion;
5093
- if (!stored)
5094
- return;
5095
- const seed = stored.seed ?? companionUserId();
5096
- const { bones } = rollWithSeed(seed);
5097
- return { ...stored, ...bones };
5098
- }
5099
- var RARITY_FLOOR;
5100
- var init_companion = __esm(() => {
5101
- init_config2();
5102
- init_types4();
5103
- RARITY_FLOOR = {
5104
- common: 5,
5105
- uncommon: 15,
5106
- rare: 25,
5107
- epic: 35,
5108
- legendary: 50
5109
- };
5110
- });
5111
-
5112
4947
  // src/buddy/prompt.ts
5113
4948
  function companionIntroText(name, species) {
5114
4949
  return `# Companion
@@ -5117,6 +4952,28 @@ A small ${species} named ${name} sits beside the user's input box and occasional
5117
4952
 
5118
4953
  When the user addresses ${name} directly (by name), its bubble will answer. Your job in that moment is to stay out of the way: respond in ONE line or less, or just answer any part of the message meant for you. Don't explain that you're not ${name} \u2014 they know. Don't narrate what ${name} might say \u2014 the bubble handles that.`;
5119
4954
  }
4955
+ function getCompanionIntroAttachment(messages) {
4956
+ if (false)
4957
+ ;
4958
+ const companion = getCompanion();
4959
+ if (!companion || getGlobalConfig().companionMuted)
4960
+ return [];
4961
+ for (const msg of messages ?? []) {
4962
+ if (msg.type !== "attachment")
4963
+ continue;
4964
+ if (msg.attachment.type !== "companion_intro")
4965
+ continue;
4966
+ if (msg.attachment.name === companion.name)
4967
+ return [];
4968
+ }
4969
+ return [
4970
+ {
4971
+ type: "companion_intro",
4972
+ name: companion.name,
4973
+ species: companion.species
4974
+ }
4975
+ ];
4976
+ }
5120
4977
  var init_prompt8 = __esm(() => {
5121
4978
  init_config2();
5122
4979
  init_companion();
@@ -5753,9 +5610,9 @@ var require_Alias = __commonJS((exports) => {
5753
5610
  } else if (identity.isCollection(node)) {
5754
5611
  let count2 = 0;
5755
5612
  for (const item of node.items) {
5756
- const c2 = getAliasCount(doc, item, anchors2);
5757
- if (c2 > count2)
5758
- count2 = c2;
5613
+ const c = getAliasCount(doc, item, anchors2);
5614
+ if (c > count2)
5615
+ count2 = c;
5759
5616
  }
5760
5617
  return count2;
5761
5618
  } else if (identity.isPair(node)) {
@@ -12357,7 +12214,7 @@ function getAttributionHeader(fingerprint) {
12357
12214
  if (!isAttributionHeaderEnabled()) {
12358
12215
  return "";
12359
12216
  }
12360
- const version = `${"1.0.3-fork.2a74621"}.${fingerprint}`;
12217
+ const version = `${"1.0.3-fork.4340338"}.${fingerprint}`;
12361
12218
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
12362
12219
  const cch = "";
12363
12220
  const workload = getWorkload();
@@ -14140,13 +13997,13 @@ var require_code = __commonJS((exports) => {
14140
13997
  }
14141
13998
  get str() {
14142
13999
  var _a;
14143
- return (_a = this._str) !== null && _a !== undefined ? _a : this._str = this._items.reduce((s, c2) => `${s}${c2}`, "");
14000
+ return (_a = this._str) !== null && _a !== undefined ? _a : this._str = this._items.reduce((s, c) => `${s}${c}`, "");
14144
14001
  }
14145
14002
  get names() {
14146
14003
  var _a;
14147
- return (_a = this._names) !== null && _a !== undefined ? _a : this._names = this._items.reduce((names, c2) => {
14148
- if (c2 instanceof Name)
14149
- names[c2.str] = (names[c2.str] || 0) + 1;
14004
+ return (_a = this._names) !== null && _a !== undefined ? _a : this._names = this._items.reduce((names, c) => {
14005
+ if (c instanceof Name)
14006
+ names[c.str] = (names[c.str] || 0) + 1;
14150
14007
  return names;
14151
14008
  }, {});
14152
14009
  }
@@ -14377,12 +14234,12 @@ var require_scope = __commonJS((exports) => {
14377
14234
  if (nameSet.has(name))
14378
14235
  return;
14379
14236
  nameSet.set(name, UsedValueState.Started);
14380
- let c2 = valueCode(name);
14381
- if (c2) {
14237
+ let c = valueCode(name);
14238
+ if (c) {
14382
14239
  const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
14383
- code = (0, code_1._)`${code}${def} ${name} = ${c2};${this.opts._n}`;
14384
- } else if (c2 = getCode === null || getCode === undefined ? undefined : getCode(name)) {
14385
- code = (0, code_1._)`${code}${c2}${this.opts._n}`;
14240
+ code = (0, code_1._)`${code}${def} ${name} = ${c};${this.opts._n}`;
14241
+ } else if (c = getCode === null || getCode === undefined ? undefined : getCode(name)) {
14242
+ code = (0, code_1._)`${code}${c}${this.opts._n}`;
14386
14243
  } else {
14387
14244
  throw new ValueError(name);
14388
14245
  }
@@ -14868,11 +14725,11 @@ var require_codegen = __commonJS((exports) => {
14868
14725
  add(lhs, rhs) {
14869
14726
  return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
14870
14727
  }
14871
- code(c2) {
14872
- if (typeof c2 == "function")
14873
- c2();
14874
- else if (c2 !== code_1.nil)
14875
- this._leafNode(new AnyCode(c2));
14728
+ code(c) {
14729
+ if (typeof c == "function")
14730
+ c();
14731
+ else if (c !== code_1.nil)
14732
+ this._leafNode(new AnyCode(c));
14876
14733
  return this;
14877
14734
  }
14878
14735
  object(...keyValues) {
@@ -15059,24 +14916,24 @@ var require_codegen = __commonJS((exports) => {
15059
14916
  return replaceName(expr);
15060
14917
  if (!canOptimize(expr))
15061
14918
  return expr;
15062
- return new code_1._Code(expr._items.reduce((items, c2) => {
15063
- if (c2 instanceof code_1.Name)
15064
- c2 = replaceName(c2);
15065
- if (c2 instanceof code_1._Code)
15066
- items.push(...c2._items);
14919
+ return new code_1._Code(expr._items.reduce((items, c) => {
14920
+ if (c instanceof code_1.Name)
14921
+ c = replaceName(c);
14922
+ if (c instanceof code_1._Code)
14923
+ items.push(...c._items);
15067
14924
  else
15068
- items.push(c2);
14925
+ items.push(c);
15069
14926
  return items;
15070
14927
  }, []));
15071
14928
  function replaceName(n) {
15072
- const c2 = constants[n.str];
15073
- if (c2 === undefined || names[n.str] !== 1)
14929
+ const c = constants[n.str];
14930
+ if (c === undefined || names[n.str] !== 1)
15074
14931
  return n;
15075
14932
  delete names[n.str];
15076
- return c2;
14933
+ return c;
15077
14934
  }
15078
14935
  function canOptimize(e) {
15079
- return e instanceof code_1._Code && e._items.some((c2) => c2 instanceof code_1.Name && names[c2.str] === 1 && constants[c2.str] !== undefined);
14936
+ return e instanceof code_1._Code && e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== undefined);
15080
14937
  }
15081
14938
  }
15082
14939
  function subtractNames(names, from) {
@@ -21132,13 +20989,13 @@ function getMcpInstructionsDelta(mcpClients, messages, clientSideInstructions) {
21132
20989
  for (const n of msg.attachment.removedNames)
21133
20990
  announced.delete(n);
21134
20991
  }
21135
- const connected = mcpClients.filter((c2) => c2.type === "connected");
21136
- const connectedNames = new Set(connected.map((c2) => c2.name));
20992
+ const connected = mcpClients.filter((c) => c.type === "connected");
20993
+ const connectedNames = new Set(connected.map((c) => c.name));
21137
20994
  const blocks = new Map;
21138
- for (const c2 of connected) {
21139
- if (c2.instructions)
21140
- blocks.set(c2.name, `## ${c2.name}
21141
- ${c2.instructions}`);
20995
+ for (const c of connected) {
20996
+ if (c.instructions)
20997
+ blocks.set(c.name, `## ${c.name}
20998
+ ${c.instructions}`);
21142
20999
  }
21143
21000
  for (const ci of clientSideInstructions) {
21144
21001
  if (!connectedNames.has(ci.serverName))
@@ -21807,13 +21664,13 @@ var T, _, be, m, Re, Te, Oe, C, we, Q, se, ie, ye, j, Pe, F, Se, $e, v = "addres
21807
21664
  break;
21808
21665
  n = n.slice(l);
21809
21666
  let p = o.join(`
21810
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
21667
+ `), c = p.replace(this.rules.other.blockquoteSetextReplace, `
21811
21668
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
21812
21669
  r = r ? `${r}
21813
21670
  ${p}` : p, i = i ? `${i}
21814
- ${c2}` : c2;
21671
+ ${c}` : c;
21815
21672
  let d = this.lexer.state.top;
21816
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s, true), this.lexer.state.top = d, n.length === 0)
21673
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c, s, true), this.lexer.state.top = d, n.length === 0)
21817
21674
  break;
21818
21675
  let h = s.at(-1);
21819
21676
  if (h?.type === "code")
@@ -21843,14 +21700,14 @@ ${c2}` : c2;
21843
21700
  n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
21844
21701
  let s = this.rules.other.listItemRegex(n), a = false;
21845
21702
  for (;e; ) {
21846
- let l = false, p = "", c2 = "";
21703
+ let l = false, p = "", c = "";
21847
21704
  if (!(t = s.exec(e)) || this.rules.block.hr.test(e))
21848
21705
  break;
21849
21706
  p = t[0], e = e.substring(p.length);
21850
21707
  let d = ge(t[2].split(`
21851
21708
  `, 1)[0], t[1].length), h = e.split(`
21852
21709
  `, 1)[0], R = !d.trim(), f = 0;
21853
- if (this.options.pedantic ? (f = 2, c2 = d.trimStart()) : R ? f = t[1].length + 1 : (f = d.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c2 = d.slice(f), f += t[1].length), R && this.rules.other.blankLine.test(h) && (p += h + `
21710
+ if (this.options.pedantic ? (f = 2, c = d.trimStart()) : R ? f = t[1].length + 1 : (f = d.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = d.slice(f), f += t[1].length), R && this.rules.other.blankLine.test(h) && (p += h + `
21854
21711
  `, e = e.substring(h.length + 1), l = true), !l) {
21855
21712
  let S = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), me = this.rules.other.htmlBeginRegex(f), xe = this.rules.other.blockquoteBeginRegex(f);
21856
21713
  for (;e; ) {
@@ -21859,19 +21716,19 @@ ${c2}` : c2;
21859
21716
  if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A = h) : A = h.replace(this.rules.other.tabCharGlobal, " "), ee.test(h) || te.test(h) || me.test(h) || xe.test(h) || S.test(h) || Y.test(h))
21860
21717
  break;
21861
21718
  if (A.search(this.rules.other.nonSpaceChar) >= f || !h.trim())
21862
- c2 += `
21719
+ c += `
21863
21720
  ` + A.slice(f);
21864
21721
  else {
21865
21722
  if (R || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(d) || te.test(d) || Y.test(d))
21866
21723
  break;
21867
- c2 += `
21724
+ c += `
21868
21725
  ` + h;
21869
21726
  }
21870
21727
  R = !h.trim(), p += Z + `
21871
21728
  `, e = e.substring(Z.length + 1), d = A.slice(f);
21872
21729
  }
21873
21730
  }
21874
- i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (a = true)), i.items.push({ type: "list_item", raw: p, task: !!this.options.gfm && this.rules.other.listIsTask.test(c2), loose: false, text: c2, tokens: [] }), i.raw += p;
21731
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (a = true)), i.items.push({ type: "list_item", raw: p, task: !!this.options.gfm && this.rules.other.listIsTask.test(c), loose: false, text: c, tokens: [] }), i.raw += p;
21875
21732
  }
21876
21733
  let o = i.items.at(-1);
21877
21734
  if (o)
@@ -21883,21 +21740,21 @@ ${c2}` : c2;
21883
21740
  if (this.lexer.state.top = false, l.tokens = this.lexer.blockTokens(l.text, []), l.task) {
21884
21741
  if (l.text = l.text.replace(this.rules.other.listReplaceTask, ""), l.tokens[0]?.type === "text" || l.tokens[0]?.type === "paragraph") {
21885
21742
  l.tokens[0].raw = l.tokens[0].raw.replace(this.rules.other.listReplaceTask, ""), l.tokens[0].text = l.tokens[0].text.replace(this.rules.other.listReplaceTask, "");
21886
- for (let c2 = this.lexer.inlineQueue.length - 1;c2 >= 0; c2--)
21887
- if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[c2].src)) {
21888
- this.lexer.inlineQueue[c2].src = this.lexer.inlineQueue[c2].src.replace(this.rules.other.listReplaceTask, "");
21743
+ for (let c = this.lexer.inlineQueue.length - 1;c >= 0; c--)
21744
+ if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[c].src)) {
21745
+ this.lexer.inlineQueue[c].src = this.lexer.inlineQueue[c].src.replace(this.rules.other.listReplaceTask, "");
21889
21746
  break;
21890
21747
  }
21891
21748
  }
21892
21749
  let p = this.rules.other.listTaskCheckbox.exec(l.raw);
21893
21750
  if (p) {
21894
- let c2 = { type: "checkbox", raw: p[0] + " ", checked: p[0] !== "[ ]" };
21895
- l.checked = c2.checked, i.loose ? l.tokens[0] && ["paragraph", "text"].includes(l.tokens[0].type) && "tokens" in l.tokens[0] && l.tokens[0].tokens ? (l.tokens[0].raw = c2.raw + l.tokens[0].raw, l.tokens[0].text = c2.raw + l.tokens[0].text, l.tokens[0].tokens.unshift(c2)) : l.tokens.unshift({ type: "paragraph", raw: c2.raw, text: c2.raw, tokens: [c2] }) : l.tokens.unshift(c2);
21751
+ let c = { type: "checkbox", raw: p[0] + " ", checked: p[0] !== "[ ]" };
21752
+ l.checked = c.checked, i.loose ? l.tokens[0] && ["paragraph", "text"].includes(l.tokens[0].type) && "tokens" in l.tokens[0] && l.tokens[0].tokens ? (l.tokens[0].raw = c.raw + l.tokens[0].raw, l.tokens[0].text = c.raw + l.tokens[0].text, l.tokens[0].tokens.unshift(c)) : l.tokens.unshift({ type: "paragraph", raw: c.raw, text: c.raw, tokens: [c] }) : l.tokens.unshift(c);
21896
21753
  }
21897
21754
  }
21898
21755
  if (!i.loose) {
21899
- let p = l.tokens.filter((d) => d.type === "space"), c2 = p.length > 0 && p.some((d) => this.rules.other.anyLine.test(d.raw));
21900
- i.loose = c2;
21756
+ let p = l.tokens.filter((d) => d.type === "space"), c = p.length > 0 && p.some((d) => this.rules.other.anyLine.test(d.raw));
21757
+ i.loose = c;
21901
21758
  }
21902
21759
  }
21903
21760
  if (i.loose)
@@ -22011,8 +21868,8 @@ ${c2}` : c2;
22011
21868
  if (!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric))
22012
21869
  return;
22013
21870
  if (!(r[1] || r[3] || "") || !n || this.rules.inline.punctuation.exec(n)) {
22014
- let s = [...r[0]].length - 1, a, o, l = s, p = 0, c2 = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
22015
- for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s);(r = c2.exec(t)) != null; ) {
21871
+ let s = [...r[0]].length - 1, a, o, l = s, p = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
21872
+ for (c.lastIndex = 0, t = t.slice(-1 * e.length + s);(r = c.exec(t)) != null; ) {
22016
21873
  if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a)
22017
21874
  continue;
22018
21875
  if (o = [...a].length, r[3] || r[4]) {
@@ -22063,7 +21920,7 @@ ${c2}` : c2;
22063
21920
  if (l -= o, l > 0)
22064
21921
  continue;
22065
21922
  o = Math.min(o, o + l);
22066
- let c2 = [...r[0]][0].length, d = e.slice(0, s + r.index + c2 + o), h = d.slice(s, -s);
21923
+ let c = [...r[0]][0].length, d = e.slice(0, s + r.index + c + o), h = d.slice(s, -s);
22067
21924
  return { type: "del", raw: d, text: h, tokens: this.lexer.inlineTokens(h) };
22068
21925
  }
22069
21926
  }
@@ -22292,9 +22149,9 @@ ${c2}` : c2;
22292
22149
  }
22293
22150
  let l = e;
22294
22151
  if (this.options.extensions?.startInline) {
22295
- let p = 1 / 0, c2 = e.slice(1), d;
22152
+ let p = 1 / 0, c = e.slice(1), d;
22296
22153
  this.options.extensions.startInline.forEach((h) => {
22297
- d = h.call({ lexer: this }, c2), typeof d == "number" && d >= 0 && (p = Math.min(p, d));
22154
+ d = h.call({ lexer: this }, c), typeof d == "number" && d >= 0 && (p = Math.min(p, d));
22298
22155
  }), p < 1 / 0 && p >= 0 && (l = e.substring(0, p + 1));
22299
22156
  }
22300
22157
  if (o = this.tokenizer.inlineText(l)) {
@@ -22691,8 +22548,8 @@ ${e}</tr>
22691
22548
  continue;
22692
22549
  let a = s, o = n.renderer[a], l = i[a];
22693
22550
  i[a] = (...p) => {
22694
- let c2 = o.apply(i, p);
22695
- return c2 === false && (c2 = l.apply(i, p)), c2 || "";
22551
+ let c = o.apply(i, p);
22552
+ return c === false && (c = l.apply(i, p)), c || "";
22696
22553
  };
22697
22554
  }
22698
22555
  r.renderer = i;
@@ -22706,8 +22563,8 @@ ${e}</tr>
22706
22563
  continue;
22707
22564
  let a = s, o = n.tokenizer[a], l = i[a];
22708
22565
  i[a] = (...p) => {
22709
- let c2 = o.apply(i, p);
22710
- return c2 === false && (c2 = l.apply(i, p)), c2;
22566
+ let c = o.apply(i, p);
22567
+ return c === false && (c = l.apply(i, p)), c;
22711
22568
  };
22712
22569
  }
22713
22570
  r.tokenizer = i;
@@ -22726,16 +22583,16 @@ ${e}</tr>
22726
22583
  let d = await o.call(i, p);
22727
22584
  return l.call(i, d);
22728
22585
  })();
22729
- let c2 = o.call(i, p);
22730
- return l.call(i, c2);
22586
+ let c = o.call(i, p);
22587
+ return l.call(i, c);
22731
22588
  } : i[a] = (...p) => {
22732
22589
  if (this.defaults.async)
22733
22590
  return (async () => {
22734
22591
  let d = await o.apply(i, p);
22735
22592
  return d === false && (d = await l.apply(i, p)), d;
22736
22593
  })();
22737
- let c2 = o.apply(i, p);
22738
- return c2 === false && (c2 = l.apply(i, p)), c2;
22594
+ let c = o.apply(i, p);
22595
+ return c === false && (c = l.apply(i, p)), c;
22739
22596
  };
22740
22597
  }
22741
22598
  r.hooks = i;
@@ -22770,17 +22627,17 @@ ${e}</tr>
22770
22627
  return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
22771
22628
  if (s.hooks && (s.hooks.options = s, s.hooks.block = e), s.async)
22772
22629
  return (async () => {
22773
- let o = s.hooks ? await s.hooks.preprocess(n) : n, p = await (s.hooks ? await s.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s), c2 = s.hooks ? await s.hooks.processAllTokens(p) : p;
22774
- s.walkTokens && await Promise.all(this.walkTokens(c2, s.walkTokens));
22775
- let h = await (s.hooks ? await s.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s);
22630
+ let o = s.hooks ? await s.hooks.preprocess(n) : n, p = await (s.hooks ? await s.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s), c = s.hooks ? await s.hooks.processAllTokens(p) : p;
22631
+ s.walkTokens && await Promise.all(this.walkTokens(c, s.walkTokens));
22632
+ let h = await (s.hooks ? await s.hooks.provideParser() : e ? b.parse : b.parseInline)(c, s);
22776
22633
  return s.hooks ? await s.hooks.postprocess(h) : h;
22777
22634
  })().catch(a);
22778
22635
  try {
22779
22636
  s.hooks && (n = s.hooks.preprocess(n));
22780
22637
  let l = (s.hooks ? s.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s);
22781
22638
  s.hooks && (l = s.hooks.processAllTokens(l)), s.walkTokens && this.walkTokens(l, s.walkTokens);
22782
- let c2 = (s.hooks ? s.hooks.provideParser() : e ? b.parse : b.parseInline)(l, s);
22783
- return s.hooks && (c2 = s.hooks.postprocess(c2)), c2;
22639
+ let c = (s.hooks ? s.hooks.provideParser() : e ? b.parse : b.parseInline)(l, s);
22640
+ return s.hooks && (c = s.hooks.postprocess(c)), c;
22784
22641
  } catch (o) {
22785
22642
  return a(o);
22786
22643
  }
@@ -25514,7 +25371,7 @@ var init_zod_compat = __esm(() => {
25514
25371
 
25515
25372
  // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
25516
25373
  var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, isInitializedNotification = (value) => InitializedNotificationSchema.safeParse(value).success, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema2, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
25517
- var init_types5 = __esm(() => {
25374
+ var init_types4 = __esm(() => {
25518
25375
  init_v4();
25519
25376
  SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
25520
25377
  AssertObjectSchema = custom((v2) => v2 !== null && (typeof v2 === "object" || typeof v2 === "function"));
@@ -27476,7 +27333,7 @@ function mergeCapabilities(base, additional) {
27476
27333
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
27477
27334
  var init_protocol = __esm(() => {
27478
27335
  init_zod_compat();
27479
- init_types5();
27336
+ init_types4();
27480
27337
  init_interfaces();
27481
27338
  init_zod_json_schema_compat();
27482
27339
  });
@@ -27875,7 +27732,7 @@ class ExperimentalClientTasks {
27875
27732
  }
27876
27733
  }
27877
27734
  var init_client3 = __esm(() => {
27878
- init_types5();
27735
+ init_types4();
27879
27736
  });
27880
27737
 
27881
27738
  // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
@@ -27959,7 +27816,7 @@ function getSupportedElicitationModes(capabilities) {
27959
27816
  var Client;
27960
27817
  var init_client4 = __esm(() => {
27961
27818
  init_protocol();
27962
- init_types5();
27819
+ init_types4();
27963
27820
  init_ajv_provider();
27964
27821
  init_zod_compat();
27965
27822
  init_client3();
@@ -29529,7 +29386,7 @@ async function registerClient(authorizationServerUrl, { metadata, clientMetadata
29529
29386
  var UnauthorizedError, AUTHORIZATION_CODE_RESPONSE_TYPE = "code", AUTHORIZATION_CODE_CHALLENGE_METHOD = "S256";
29530
29387
  var init_auth3 = __esm(() => {
29531
29388
  init_index_node();
29532
- init_types5();
29389
+ init_types4();
29533
29390
  init_auth2();
29534
29391
  init_auth2();
29535
29392
  init_auth_utils();
@@ -29724,7 +29581,7 @@ var SseError;
29724
29581
  var init_sse = __esm(() => {
29725
29582
  init_dist5();
29726
29583
  init_transport();
29727
- init_types5();
29584
+ init_types4();
29728
29585
  init_auth3();
29729
29586
  SseError = class SseError extends Error {
29730
29587
  constructor(code, message, event) {
@@ -29765,7 +29622,7 @@ function serializeMessage(message) {
29765
29622
  `;
29766
29623
  }
29767
29624
  var init_stdio = __esm(() => {
29768
- init_types5();
29625
+ init_types4();
29769
29626
  });
29770
29627
 
29771
29628
  // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
@@ -30300,7 +30157,7 @@ class StreamableHTTPClientTransport {
30300
30157
  var DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS, StreamableHTTPError;
30301
30158
  var init_streamableHttp = __esm(() => {
30302
30159
  init_transport();
30303
- init_types5();
30160
+ init_types4();
30304
30161
  init_auth3();
30305
30162
  init_stream();
30306
30163
  DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS = {
@@ -31349,10 +31206,10 @@ function toolCallOf(msg) {
31349
31206
  function action(a) {
31350
31207
  return a;
31351
31208
  }
31352
- function isApplicable(a, c2) {
31353
- if (!a.types.includes(c2.msgType))
31209
+ function isApplicable(a, c) {
31210
+ if (!a.types.includes(c.msgType))
31354
31211
  return false;
31355
- return !a.applies || a.applies(c2);
31212
+ return !a.applies || a.applies(c);
31356
31213
  }
31357
31214
  function useSelectedMessageBg() {
31358
31215
  return import_react.default.useContext(MessageActionsSelectedContext) ? "messageActionsBackground" : undefined;
@@ -31370,8 +31227,8 @@ function useMessageActions(cursor, setCursor, navRef, caps) {
31370
31227
  "messageActions:nextUser": () => navRef.current?.navigateNextUser(),
31371
31228
  "messageActions:top": () => navRef.current?.navigateTop(),
31372
31229
  "messageActions:bottom": () => navRef.current?.navigateBottom(),
31373
- "messageActions:escape": () => setCursor((c2) => c2?.expanded ? {
31374
- ...c2,
31230
+ "messageActions:escape": () => setCursor((c) => c?.expanded ? {
31231
+ ...c,
31375
31232
  expanded: false
31376
31233
  } : null),
31377
31234
  "messageActions:ctrlc": () => setCursor(null)
@@ -31630,12 +31487,12 @@ function toolResultText(r) {
31630
31487
  const b2 = r.message.content[0];
31631
31488
  if (b2?.type !== "tool_result")
31632
31489
  return "";
31633
- const c2 = b2.content;
31634
- if (typeof c2 === "string")
31635
- return c2;
31636
- if (!c2)
31490
+ const c = b2.content;
31491
+ if (typeof c === "string")
31492
+ return c;
31493
+ if (!c)
31637
31494
  return "";
31638
- return c2.flatMap((x2) => x2.type === "text" ? [x2.text] : []).join(`
31495
+ return c.flatMap((x2) => x2.type === "text" ? [x2.text] : []).join(`
31639
31496
  `);
31640
31497
  }
31641
31498
  var import_compiler_runtime, import_react, jsx_dev_runtime, NAVIGABLE_TYPES, str = (k2) => (i) => typeof i[k2] === "string" ? i[k2] : undefined, PRIMARY_INPUT, MESSAGE_ACTIONS, MessageActionsSelectedContext, InVirtualListContext;
@@ -31709,24 +31566,24 @@ var init_messageActions = __esm(() => {
31709
31566
  key: "enter",
31710
31567
  label: "edit",
31711
31568
  types: ["user"],
31712
- run: (m2, c2) => void c2.edit(m2)
31569
+ run: (m2, c) => void c.edit(m2)
31713
31570
  }), action({
31714
31571
  key: "c",
31715
31572
  label: "copy",
31716
31573
  types: NAVIGABLE_TYPES,
31717
- run: (m2, c2) => c2.copy(copyTextOf(m2))
31574
+ run: (m2, c) => c.copy(copyTextOf(m2))
31718
31575
  }), action({
31719
31576
  key: "p",
31720
31577
  label: (s) => `copy ${PRIMARY_INPUT[s.toolName].label}`,
31721
31578
  types: ["grouped_tool_use", "assistant"],
31722
31579
  applies: (s) => s.toolName != null && (s.toolName in PRIMARY_INPUT),
31723
- run: (m2, c2) => {
31580
+ run: (m2, c) => {
31724
31581
  const tc = toolCallOf(m2);
31725
31582
  if (!tc)
31726
31583
  return;
31727
31584
  const val = PRIMARY_INPUT[tc.name]?.extract(tc.input);
31728
31585
  if (val)
31729
- c2.copy(val);
31586
+ c.copy(val);
31730
31587
  }
31731
31588
  })];
31732
31589
  MessageActionsSelectedContext = import_react.default.createContext(false);
@@ -32318,7 +32175,7 @@ var init_ListMcpResourcesTool = __esm(() => {
32318
32175
  const { server: targetServer } = input;
32319
32176
  const clientsToProcess = targetServer ? mcpClients.filter((client) => client.name === targetServer) : mcpClients;
32320
32177
  if (targetServer && clientsToProcess.length === 0) {
32321
- throw new Error(`Server "${targetServer}" not found. Available servers: ${mcpClients.map((c2) => c2.name).join(", ")}`);
32178
+ throw new Error(`Server "${targetServer}" not found. Available servers: ${mcpClients.map((c) => c.name).join(", ")}`);
32322
32179
  }
32323
32180
  const results = await Promise.all(clientsToProcess.map(async (client) => {
32324
32181
  if (client.type !== "connected")
@@ -33828,15 +33685,15 @@ function hasMalformedTokens(command, parsed) {
33828
33685
  let doubleCount = 0;
33829
33686
  let singleCount = 0;
33830
33687
  for (let i = 0;i < command.length; i++) {
33831
- const c2 = command[i];
33832
- if (c2 === "\\" && !inSingle) {
33688
+ const c = command[i];
33689
+ if (c === "\\" && !inSingle) {
33833
33690
  i++;
33834
33691
  continue;
33835
33692
  }
33836
- if (c2 === '"' && !inSingle) {
33693
+ if (c === '"' && !inSingle) {
33837
33694
  doubleCount++;
33838
33695
  inDouble = !inDouble;
33839
- } else if (c2 === "'" && !inDouble) {
33696
+ } else if (c === "'" && !inDouble) {
33840
33697
  singleCount++;
33841
33698
  inSingle = !inSingle;
33842
33699
  }
@@ -34477,7 +34334,7 @@ function classifyImageError(error) {
34477
34334
  }
34478
34335
  return ERROR_TYPE_UNKNOWN;
34479
34336
  }
34480
- function hashString2(str2) {
34337
+ function hashString(str2) {
34481
34338
  let hash = 5381;
34482
34339
  for (let i = 0;i < str2.length; i++) {
34483
34340
  hash = (hash << 5) + hash + str2.charCodeAt(i) | 0;
@@ -34637,7 +34494,7 @@ async function maybeResizeAndDownsampleImageBuffer(imageBuffer, originalSize, ex
34637
34494
  logEvent("tengu_image_resize_failed", {
34638
34495
  original_size_bytes: originalSize,
34639
34496
  error_type: errorType,
34640
- error_message_hash: hashString2(errorMsg)
34497
+ error_message_hash: hashString(errorMsg)
34641
34498
  });
34642
34499
  const detected = detectImageFormatFromBuffer(imageBuffer);
34643
34500
  const normalizedExt = detected.slice(6);
@@ -34716,7 +34573,7 @@ async function compressImageBuffer(imageBuffer, maxBytes = IMAGE_TARGET_RAW_SIZE
34716
34573
  original_size_bytes: imageBuffer.length,
34717
34574
  max_bytes: maxBytes,
34718
34575
  error_type: errorType,
34719
- error_message_hash: hashString2(errorMsg)
34576
+ error_message_hash: hashString(errorMsg)
34720
34577
  });
34721
34578
  if (imageBuffer.length <= maxBytes) {
34722
34579
  const detected = detectImageFormatFromBuffer(imageBuffer);
@@ -37401,7 +37258,7 @@ async function persistFileSnapshotIfRemote() {
37401
37258
  uuid: randomUUID3(),
37402
37259
  snapshotFiles
37403
37260
  };
37404
- const { recordTranscript } = await import("./chunk-zq4j9zys.js");
37261
+ const { recordTranscript } = await import("./chunk-v000hw11.js");
37405
37262
  await recordTranscript([message]);
37406
37263
  } catch (error) {
37407
37264
  logError(error);
@@ -38461,7 +38318,7 @@ function getInstallationEnv() {
38461
38318
  return;
38462
38319
  }
38463
38320
  function getClaudeCodeVersion() {
38464
- return "1.0.3-fork.2a74621";
38321
+ return "1.0.3-fork.4340338";
38465
38322
  }
38466
38323
  async function getInstalledVSCodeExtensionVersion(command) {
38467
38324
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -38992,7 +38849,7 @@ function appendCappedMessage(prev, item) {
38992
38849
  return [...prev, item];
38993
38850
  }
38994
38851
  var TEAMMATE_MESSAGES_UI_CAP = 50;
38995
- var init_types6 = () => {};
38852
+ var init_types5 = () => {};
38996
38853
 
38997
38854
  // src/state/selectors.ts
38998
38855
  function getViewedTeammateTask(appState) {
@@ -39024,7 +38881,7 @@ function getActiveAgentForInput(appState) {
39024
38881
  return { type: "leader" };
39025
38882
  }
39026
38883
  var init_selectors = __esm(() => {
39027
- init_types6();
38884
+ init_types5();
39028
38885
  });
39029
38886
 
39030
38887
  // src/services/diagnosticTracking.ts
@@ -39225,14 +39082,14 @@ var init_diagnosticTracking = __esm(() => {
39225
39082
  });
39226
39083
 
39227
39084
  // src/types/textInputTypes.ts
39228
- function isValidImagePaste(c2) {
39229
- return c2.type === "image" && c2.content.length > 0;
39085
+ function isValidImagePaste(c) {
39086
+ return c.type === "image" && c.content.length > 0;
39230
39087
  }
39231
39088
  function getImagePasteIds(pastedContents) {
39232
39089
  if (!pastedContents) {
39233
39090
  return;
39234
39091
  }
39235
- const ids = Object.values(pastedContents).filter(isValidImagePaste).map((c2) => c2.id);
39092
+ const ids = Object.values(pastedContents).filter(isValidImagePaste).map((c) => c.id);
39236
39093
  return ids.length > 0 ? ids : undefined;
39237
39094
  }
39238
39095
  var init_textInputTypes = () => {};
@@ -49588,7 +49445,7 @@ var init_promptCategory = __esm(() => {
49588
49445
  import { createHash as createHash4 } from "crypto";
49589
49446
  import { promises as fs6 } from "fs";
49590
49447
  import { dirname as dirname16, join as join24 } from "path";
49591
- function hashString3(str2) {
49448
+ function hashString2(str2) {
49592
49449
  return createHash4("sha256").update(str2).digest("hex");
49593
49450
  }
49594
49451
  function clearDumpState(agentIdOrSessionId) {
@@ -49637,7 +49494,7 @@ function dumpRequest(body, ts, state, filePath) {
49637
49494
  if (!state.initialized || fingerprint !== state.lastInitFingerprint) {
49638
49495
  const { messages: _2, ...initData } = req;
49639
49496
  const initDataStr = jsonStringify(initData);
49640
- const initDataHash = hashString3(initDataStr);
49497
+ const initDataHash = hashString2(initDataStr);
49641
49498
  state.lastInitFingerprint = fingerprint;
49642
49499
  if (!state.initialized) {
49643
49500
  state.initialized = true;
@@ -49906,7 +49763,7 @@ function getUnconfiguredChannels(plugin) {
49906
49763
  return unconfigured;
49907
49764
  }
49908
49765
  function loadChannelUserConfig(plugin, serverName) {
49909
- const channel = plugin.manifest.channels?.find((c2) => c2.server === serverName);
49766
+ const channel = plugin.manifest.channels?.find((c) => c.server === serverName);
49910
49767
  if (!channel?.userConfig) {
49911
49768
  return;
49912
49769
  }
@@ -50179,14 +50036,14 @@ function commandBelongsToServer(command, serverName) {
50179
50036
  return name.startsWith(`mcp__${normalized}__`) || name.startsWith(`${normalized}:`);
50180
50037
  }
50181
50038
  function filterMcpPromptsByServer(commands, serverName) {
50182
- return commands.filter((c2) => commandBelongsToServer(c2, serverName) && !(c2.type === "prompt" && c2.loadedFrom === "mcp"));
50039
+ return commands.filter((c) => commandBelongsToServer(c, serverName) && !(c.type === "prompt" && c.loadedFrom === "mcp"));
50183
50040
  }
50184
50041
  function excludeToolsByServer(tools, serverName) {
50185
50042
  const prefix = `mcp__${normalizeNameForMCP(serverName)}__`;
50186
50043
  return tools.filter((tool) => !tool.name?.startsWith(prefix));
50187
50044
  }
50188
50045
  function excludeCommandsByServer(commands, serverName) {
50189
- return commands.filter((c2) => !commandBelongsToServer(c2, serverName));
50046
+ return commands.filter((c) => !commandBelongsToServer(c, serverName));
50190
50047
  }
50191
50048
  function excludeResourcesByServer(resources, serverName) {
50192
50049
  const result = { ...resources };
@@ -50208,11 +50065,11 @@ function hashMcpConfig(config2) {
50208
50065
  return createHash5("sha256").update(stable).digest("hex").slice(0, 16);
50209
50066
  }
50210
50067
  function excludeStalePluginClients(mcp, configs) {
50211
- const stale = mcp.clients.filter((c2) => {
50212
- const fresh = configs[c2.name];
50068
+ const stale = mcp.clients.filter((c) => {
50069
+ const fresh = configs[c.name];
50213
50070
  if (!fresh)
50214
- return c2.config.scope === "dynamic";
50215
- return hashMcpConfig(c2.config) !== hashMcpConfig(fresh);
50071
+ return c.config.scope === "dynamic";
50072
+ return hashMcpConfig(c.config) !== hashMcpConfig(fresh);
50216
50073
  });
50217
50074
  if (stale.length === 0) {
50218
50075
  return { ...mcp, stale: [] };
@@ -50223,9 +50080,9 @@ function excludeStalePluginClients(mcp, configs) {
50223
50080
  commands = excludeCommandsByServer(commands, s.name);
50224
50081
  resources = excludeResourcesByServer(resources, s.name);
50225
50082
  }
50226
- const staleNames = new Set(stale.map((c2) => c2.name));
50083
+ const staleNames = new Set(stale.map((c) => c.name));
50227
50084
  return {
50228
- clients: mcp.clients.filter((c2) => !staleNames.has(c2.name)),
50085
+ clients: mcp.clients.filter((c) => !staleNames.has(c.name)),
50229
50086
  tools,
50230
50087
  commands,
50231
50088
  resources,
@@ -50699,8 +50556,8 @@ function filterMcpServersByPolicy(configs) {
50699
50556
  const allowed = {};
50700
50557
  const blocked = [];
50701
50558
  for (const [name, config2] of Object.entries(configs)) {
50702
- const c2 = config2;
50703
- if (c2.type === "sdk" || isMcpServerAllowedByPolicy(name, c2)) {
50559
+ const c = config2;
50560
+ if (c.type === "sdk" || isMcpServerAllowedByPolicy(name, c)) {
50704
50561
  allowed[name] = config2;
50705
50562
  } else {
50706
50563
  blocked.push(name);
@@ -51283,7 +51140,7 @@ function shouldAllowManagedMcpServersOnly() {
51283
51140
  return getSettingsForSource("policySettings")?.allowManagedMcpServersOnly === true;
51284
51141
  }
51285
51142
  function areMcpConfigsAllowedWithEnterpriseMcpConfig(configs) {
51286
- return Object.values(configs).every((c2) => c2.type === "sdk" && c2.name === "claude-vscode");
51143
+ return Object.values(configs).every((c) => c.type === "sdk" && c.name === "claude-vscode");
51287
51144
  }
51288
51145
  function isDefaultDisabledBuiltin(name) {
51289
51146
  return DEFAULT_DISABLED_BUILTIN !== null && name === DEFAULT_DISABLED_BUILTIN;
@@ -51927,7 +51784,7 @@ function computeFingerprint(messageText, version) {
51927
51784
  }
51928
51785
  function computeFingerprintFromMessages(messages) {
51929
51786
  const firstMessageText = extractFirstMessageText(messages);
51930
- return computeFingerprint(firstMessageText, "1.0.3-fork.2a74621");
51787
+ return computeFingerprint(firstMessageText, "1.0.3-fork.4340338");
51931
51788
  }
51932
51789
  var FINGERPRINT_SALT = "59cf53e54c78";
51933
51790
  var init_fingerprint = () => {};
@@ -51969,7 +51826,7 @@ async function sideQuery(opts) {
51969
51826
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
51970
51827
  }
51971
51828
  const messageText = extractFirstUserMessageText(messages);
51972
- const fingerprint = computeFingerprint(messageText, "1.0.3-fork.2a74621");
51829
+ const fingerprint = computeFingerprint(messageText, "1.0.3-fork.4340338");
51973
51830
  const attributionHeader = getAttributionHeader(fingerprint);
51974
51831
  const systemBlocks = [
51975
51832
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -52693,7 +52550,7 @@ async function* runAgent({
52693
52550
  }
52694
52551
  validSkills.push({ skillName, skill });
52695
52552
  }
52696
- const { formatSkillLoadingMetadata } = await import("./chunk-9f9p2b84.js");
52553
+ const { formatSkillLoadingMetadata } = await import("./chunk-n41pyhcp.js");
52697
52554
  const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
52698
52555
  skillName,
52699
52556
  skill,
@@ -53034,7 +52891,7 @@ var init_agentSummary = __esm(() => {
53034
52891
 
53035
52892
  // src/utils/todo/types.ts
53036
52893
  var TodoStatusSchema, TodoItemSchema, TodoListSchema;
53037
- var init_types7 = __esm(() => {
52894
+ var init_types6 = __esm(() => {
53038
52895
  init_v4();
53039
52896
  init_lazySchema();
53040
52897
  TodoStatusSchema = lazySchema(() => exports_external.enum(["pending", "in_progress", "completed"]));
@@ -53240,7 +53097,7 @@ var init_TodoWriteTool = __esm(() => {
53240
53097
  init_Tool();
53241
53098
  init_lazySchema();
53242
53099
  init_tasks();
53243
- init_types7();
53100
+ init_types6();
53244
53101
  init_constants2();
53245
53102
  init_constants8();
53246
53103
  init_prompt18();
@@ -53602,7 +53459,7 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
53602
53459
  return;
53603
53460
  }
53604
53461
  shutdownInProgress = true;
53605
- const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-gzaaa3ex.js");
53462
+ const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-ahdrmyp2.js");
53606
53463
  const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
53607
53464
  failsafeTimer = setTimeout((code) => {
53608
53465
  cleanupTerminalModes();
@@ -54018,7 +53875,7 @@ var init_syncCache = __esm(() => {
54018
53875
 
54019
53876
  // src/services/remoteManagedSettings/types.ts
54020
53877
  var RemoteManagedSettingsResponseSchema;
54021
- var init_types8 = __esm(() => {
53878
+ var init_types7 = __esm(() => {
54022
53879
  init_v4();
54023
53880
  init_lazySchema();
54024
53881
  RemoteManagedSettingsResponseSchema = lazySchema(() => exports_external.object({
@@ -54376,7 +54233,7 @@ var init_remoteManagedSettings = __esm(() => {
54376
54233
  init_securityCheck();
54377
54234
  init_syncCache();
54378
54235
  init_syncCacheState();
54379
- init_types8();
54236
+ init_types7();
54380
54237
  POLLING_INTERVAL_MS = 60 * 60 * 1000;
54381
54238
  });
54382
54239
 
@@ -54386,7 +54243,7 @@ async function performLogout({
54386
54243
  }) {
54387
54244
  const {
54388
54245
  flushTelemetry
54389
- } = await import("./chunk-gzct9dkr.js");
54246
+ } = await import("./chunk-2xqzchqe.js");
54390
54247
  await flushTelemetry();
54391
54248
  await removeApiKey();
54392
54249
  const secureStorage = getSecureStorage();
@@ -54946,9 +54803,9 @@ async function assertMinVersion() {
54946
54803
  }
54947
54804
  try {
54948
54805
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
54949
- if (versionConfig.minVersion && lt("1.0.3-fork.2a74621", versionConfig.minVersion)) {
54806
+ if (versionConfig.minVersion && lt("1.0.3-fork.4340338", versionConfig.minVersion)) {
54950
54807
  console.error(`
54951
- It looks like your version of Claude Code (${"1.0.3-fork.2a74621"}) needs an update.
54808
+ It looks like your version of Claude Code (${"1.0.3-fork.4340338"}) needs an update.
54952
54809
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
54953
54810
 
54954
54811
  To update, please run:
@@ -55164,7 +55021,7 @@ async function installGlobalPackage(specificVersion) {
55164
55021
  logError(new AutoUpdaterError("Another process is currently installing an update"));
55165
55022
  logEvent("tengu_auto_updater_lock_contention", {
55166
55023
  pid: process.pid,
55167
- currentVersion: "1.0.3-fork.2a74621"
55024
+ currentVersion: "1.0.3-fork.4340338"
55168
55025
  });
55169
55026
  return "in_progress";
55170
55027
  }
@@ -55173,7 +55030,7 @@ async function installGlobalPackage(specificVersion) {
55173
55030
  if (!env.isRunningWithBun() && env.isNpmFromWindowsPath()) {
55174
55031
  logError(new Error("Windows NPM detected in WSL environment"));
55175
55032
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
55176
- currentVersion: "1.0.3-fork.2a74621"
55033
+ currentVersion: "1.0.3-fork.4340338"
55177
55034
  });
55178
55035
  console.error(`
55179
55036
  Error: Windows NPM detected in WSL
@@ -55487,7 +55344,7 @@ function ripGrepRaw(args, target, abortSignal, callback, singleThread = false) {
55487
55344
  child.kill();
55488
55345
  } else {
55489
55346
  child.kill("SIGTERM");
55490
- killTimeoutId = setTimeout((c2) => c2.kill("SIGKILL"), 5000, child);
55347
+ killTimeoutId = setTimeout((c) => c.kill("SIGKILL"), 5000, child);
55491
55348
  }
55492
55349
  }, timeout);
55493
55350
  let settled = false;
@@ -56056,7 +55913,7 @@ function detectLinuxGlobPatternWarnings() {
56056
55913
  }
56057
55914
  async function getDoctorDiagnostic() {
56058
55915
  const installationType = await getCurrentInstallationType();
56059
- const version = typeof MACRO !== "undefined" ? "1.0.3-fork.2a74621" : "unknown";
55916
+ const version = typeof MACRO !== "undefined" ? "1.0.3-fork.4340338" : "unknown";
56060
55917
  const installationPath = await getInstallationPath();
56061
55918
  const invokedBinary = getInvokedBinary();
56062
55919
  const multipleInstallations = await detectMultipleInstallations();
@@ -56347,7 +56204,7 @@ async function downloadAndVerifyBinary(binaryUrl, expectedChecksum, binaryPath,
56347
56204
  };
56348
56205
  const resetStallTimer = () => {
56349
56206
  clearStallTimer();
56350
- stallTimer = setTimeout((c2) => c2.abort(), getStallTimeoutMs(), controller);
56207
+ stallTimer = setTimeout((c) => c.abort(), getStallTimeoutMs(), controller);
56351
56208
  };
56352
56209
  try {
56353
56210
  resetStallTimer();
@@ -56993,8 +56850,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
56993
56850
  const maxVersion = await getMaxVersion();
56994
56851
  if (maxVersion && gt(version, maxVersion)) {
56995
56852
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
56996
- if (gte("1.0.3-fork.2a74621", maxVersion)) {
56997
- logForDebugging(`Native installer: current version ${"1.0.3-fork.2a74621"} is already at or above maxVersion ${maxVersion}, skipping update`);
56853
+ if (gte("1.0.3-fork.4340338", maxVersion)) {
56854
+ logForDebugging(`Native installer: current version ${"1.0.3-fork.4340338"} is already at or above maxVersion ${maxVersion}, skipping update`);
56998
56855
  logEvent("tengu_native_update_skipped_max_version", {
56999
56856
  latency_ms: Date.now() - startTime,
57000
56857
  max_version: maxVersion,
@@ -57005,7 +56862,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
57005
56862
  version = maxVersion;
57006
56863
  }
57007
56864
  }
57008
- if (!forceReinstall && version === "1.0.3-fork.2a74621" && await versionIsAvailable(version) && await isPossibleClaudeBinary(executablePath)) {
56865
+ if (!forceReinstall && version === "1.0.3-fork.4340338" && await versionIsAvailable(version) && await isPossibleClaudeBinary(executablePath)) {
57009
56866
  logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
57010
56867
  logEvent("tengu_native_update_complete", {
57011
56868
  latency_ms: Date.now() - startTime,
@@ -61722,7 +61579,7 @@ class HighlightSegmenter {
61722
61579
  }
61723
61580
  }
61724
61581
  function reduceCodes(codes) {
61725
- return reduceAnsiCodes(codes).filter((c2) => c2.code !== c2.endCode);
61582
+ return reduceAnsiCodes(codes).filter((c) => c.code !== c.endCode);
61726
61583
  }
61727
61584
  var init_textHighlighting = __esm(() => {
61728
61585
  init_build();
@@ -62110,29 +61967,29 @@ function hueToRgb(hue) {
62110
61967
  const h = (hue % 360 + 360) % 360;
62111
61968
  const s = 0.7;
62112
61969
  const l = 0.6;
62113
- const c2 = (1 - Math.abs(2 * l - 1)) * s;
62114
- const x2 = c2 * (1 - Math.abs(h / 60 % 2 - 1));
62115
- const m2 = l - c2 / 2;
61970
+ const c = (1 - Math.abs(2 * l - 1)) * s;
61971
+ const x2 = c * (1 - Math.abs(h / 60 % 2 - 1));
61972
+ const m2 = l - c / 2;
62116
61973
  let r = 0;
62117
61974
  let g2 = 0;
62118
61975
  let b2 = 0;
62119
61976
  if (h < 60) {
62120
- r = c2;
61977
+ r = c;
62121
61978
  g2 = x2;
62122
61979
  } else if (h < 120) {
62123
61980
  r = x2;
62124
- g2 = c2;
61981
+ g2 = c;
62125
61982
  } else if (h < 180) {
62126
- g2 = c2;
61983
+ g2 = c;
62127
61984
  b2 = x2;
62128
61985
  } else if (h < 240) {
62129
61986
  g2 = x2;
62130
- b2 = c2;
61987
+ b2 = c;
62131
61988
  } else if (h < 300) {
62132
61989
  r = x2;
62133
- b2 = c2;
61990
+ b2 = c;
62134
61991
  } else {
62135
- r = c2;
61992
+ r = c;
62136
61993
  b2 = x2;
62137
61994
  }
62138
61995
  return {
@@ -63035,8 +62892,8 @@ function SelectInputOption(t0) {
63035
62892
  }
63036
62893
  return t38;
63037
62894
  }
63038
- function _temp3(c2) {
63039
- return c2.type === "image";
62895
+ function _temp3(c) {
62896
+ return c.type === "image";
63040
62897
  }
63041
62898
  var import_compiler_runtime18, import_react16, jsx_dev_runtime22;
63042
62899
  var init_select_input_option = __esm(() => {
@@ -64469,8 +64326,8 @@ function _temp33() {
64469
64326
  flexDirection: "column"
64470
64327
  };
64471
64328
  }
64472
- function _temp23(c2) {
64473
- return c2.type === "image";
64329
+ function _temp23(c) {
64330
+ return c.type === "image";
64474
64331
  }
64475
64332
  function _temp10(c_0) {
64476
64333
  return c_0.type === "image";
@@ -65350,7 +65207,7 @@ var init_TaskListV2 = __esm(() => {
65350
65207
  init_stringWidth();
65351
65208
  init_ink();
65352
65209
  init_AppState();
65353
- init_types6();
65210
+ init_types5();
65354
65211
  init_agentColorManager();
65355
65212
  init_agentSwarmsEnabled();
65356
65213
  init_array();
@@ -66390,7 +66247,7 @@ function isBackgroundTask(task) {
66390
66247
  }
66391
66248
  return true;
66392
66249
  }
66393
- var init_types9 = () => {};
66250
+ var init_types8 = () => {};
66394
66251
 
66395
66252
  // src/constants/turnCompletionVerbs.ts
66396
66253
  var TURN_COMPLETION_VERBS;
@@ -66662,7 +66519,7 @@ var init_InProcessTeammateTask = __esm(() => {
66662
66519
  init_messages2();
66663
66520
  init_spawnInProcess();
66664
66521
  init_framework();
66665
- init_types6();
66522
+ init_types5();
66666
66523
  InProcessTeammateTask = {
66667
66524
  name: "InProcessTeammateTask",
66668
66525
  type: "in_process_teammate",
@@ -67717,8 +67574,8 @@ var init_Spinner2 = __esm(() => {
67717
67574
  init_Spinner();
67718
67575
  init_SpinnerAnimationRow();
67719
67576
  init_useSettings();
67720
- init_types6();
67721
- init_types9();
67577
+ init_types5();
67578
+ init_types8();
67722
67579
  init_InProcessTeammateTask();
67723
67580
  init_effort();
67724
67581
  init_model();
@@ -70238,12 +70095,12 @@ async function computeDiffStatsForFile(originalFile, backupFileName) {
70238
70095
  }
70239
70096
  filesChanged.push(originalFile);
70240
70097
  const changes = diffLines(originalContent ?? "", backupContent ?? "");
70241
- changes.forEach((c2) => {
70242
- if (c2.added) {
70243
- insertions += c2.count || 0;
70098
+ changes.forEach((c) => {
70099
+ if (c.added) {
70100
+ insertions += c.count || 0;
70244
70101
  }
70245
- if (c2.removed) {
70246
- deletions += c2.count || 0;
70102
+ if (c.removed) {
70103
+ deletions += c.count || 0;
70247
70104
  }
70248
70105
  });
70249
70106
  } catch (error) {
@@ -74600,7 +74457,7 @@ var init_extra_usage = __esm(() => {
74600
74457
  name: "extra-usage",
74601
74458
  description: "Configure extra usage to keep working when limits are hit",
74602
74459
  isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
74603
- load: () => import("./chunk-akp4x1ve.js")
74460
+ load: () => import("./chunk-gzqrbqbv.js")
74604
74461
  };
74605
74462
  extraUsageNonInteractive = {
74606
74463
  type: "local",
@@ -74611,7 +74468,7 @@ var init_extra_usage = __esm(() => {
74611
74468
  get isHidden() {
74612
74469
  return !getIsNonInteractiveSession();
74613
74470
  },
74614
- load: () => import("./chunk-zydy88cv.js")
74471
+ load: () => import("./chunk-3fnhv57g.js")
74615
74472
  };
74616
74473
  });
74617
74474
 
@@ -81681,7 +81538,7 @@ function CollapsedReadSearchContent({
81681
81538
  "cherry-picked": "cherry-picked"
81682
81539
  };
81683
81540
  for (const kind of ["committed", "amended", "cherry-picked"]) {
81684
- const shas = message.commits.filter((c2) => c2.kind === kind).map((c_0) => c_0.sha);
81541
+ const shas = message.commits.filter((c) => c.kind === kind).map((c_0) => c_0.sha);
81685
81542
  if (shas.length) {
81686
81543
  pushPart(kind, byKind[kind], /* @__PURE__ */ jsx_dev_runtime75.jsxDEV(ThemedText, {
81687
81544
  bold: true,
@@ -83407,7 +83264,7 @@ var init_SystemTextMessage = __esm(() => {
83407
83264
  init_ThemedText();
83408
83265
  init_CtrlOToExpand();
83409
83266
  init_AppState();
83410
- init_types9();
83267
+ init_types8();
83411
83268
  init_pillLabel();
83412
83269
  init_messageActions();
83413
83270
  import_compiler_runtime69 = __toESM(require_compiler_runtime(), 1);
@@ -84647,7 +84504,7 @@ function renderToolUseMessage3({
84647
84504
  if (!skill) {
84648
84505
  return null;
84649
84506
  }
84650
- const command = commands?.find((c2) => c2.name === skill);
84507
+ const command = commands?.find((c) => c.name === skill);
84651
84508
  const displayName = command?.loadedFrom === "commands_DEPRECATED" ? `/${skill}` : skill;
84652
84509
  return displayName;
84653
84510
  }
@@ -84827,7 +84684,7 @@ async function executeForkedSkill(command, commandName, args, context, canUseToo
84827
84684
  const normalizedNew = normalizeMessages([message]);
84828
84685
  for (const m2 of normalizedNew) {
84829
84686
  const contentArray = m2.message?.content;
84830
- const hasToolContent = Array.isArray(contentArray) && contentArray.some((c2) => c2.type === "tool_use" || c2.type === "tool_result");
84687
+ const hasToolContent = Array.isArray(contentArray) && contentArray.some((c) => c.type === "tool_use" || c.type === "tool_result");
84831
84688
  if (hasToolContent) {
84832
84689
  onProgress({
84833
84690
  toolUseID: `skill_${parentMessage.message.id}`,
@@ -85081,7 +84938,7 @@ var init_SkillTool = __esm(() => {
85081
84938
  if (command?.type === "prompt" && command.context === "fork") {
85082
84939
  return executeForkedSkill(command, commandName, args, context, canUseTool, parentMessage, onProgress);
85083
84940
  }
85084
- const { processPromptSlashCommand } = await import("./chunk-9f9p2b84.js");
84941
+ const { processPromptSlashCommand } = await import("./chunk-n41pyhcp.js");
85085
84942
  const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context);
85086
84943
  if (!processedCommand.shouldQuery) {
85087
84944
  throw new Error("Command processing failed");
@@ -90426,7 +90283,7 @@ var init_semanticBoolean = __esm(() => {
90426
90283
 
90427
90284
  // src/tools/FileEditTool/types.ts
90428
90285
  var inputSchema5, hunkSchema, gitDiffSchema, outputSchema5;
90429
- var init_types10 = __esm(() => {
90286
+ var init_types9 = __esm(() => {
90430
90287
  init_v4();
90431
90288
  init_lazySchema();
90432
90289
  init_semanticBoolean();
@@ -90694,7 +90551,7 @@ function detectColorMode(theme) {
90694
90551
  return ct === "truecolor" || ct === "24bit" ? "truecolor" : "color256";
90695
90552
  }
90696
90553
  function ansi256FromRgb(r, g2, b2) {
90697
- const q2 = (c2) => c2 < 48 ? 0 : c2 < 115 ? 1 : c2 < 155 ? 2 : c2 < 195 ? 3 : c2 < 235 ? 4 : 5;
90554
+ const q2 = (c) => c < 48 ? 0 : c < 115 ? 1 : c < 155 ? 2 : c < 195 ? 3 : c < 235 ? 4 : 5;
90698
90555
  const qr = q2(r);
90699
90556
  const qg = q2(g2);
90700
90557
  const qb = q2(b2);
@@ -90714,22 +90571,22 @@ function ansi256FromRgb(r, g2, b2) {
90714
90571
  const dGrey = (r - greyRgb) ** 2 + (g2 - greyRgb) ** 2 + (b2 - greyRgb) ** 2;
90715
90572
  return dGrey < dCube ? greyIdx : cubeIdx;
90716
90573
  }
90717
- function colorToEscape(c2, fg, mode) {
90718
- if (c2.a === 0) {
90719
- const idx = c2.r;
90574
+ function colorToEscape(c, fg, mode) {
90575
+ if (c.a === 0) {
90576
+ const idx = c.r;
90720
90577
  if (idx < 8)
90721
90578
  return `\x1B[${(fg ? 30 : 40) + idx}m`;
90722
90579
  if (idx < 16)
90723
90580
  return `\x1B[${(fg ? 90 : 100) + (idx - 8)}m`;
90724
90581
  return `\x1B[${fg ? 38 : 48};5;${idx}m`;
90725
90582
  }
90726
- if (c2.a === 1)
90583
+ if (c.a === 1)
90727
90584
  return fg ? "\x1B[39m" : "\x1B[49m";
90728
90585
  const codeType = fg ? 38 : 48;
90729
90586
  if (mode === "truecolor") {
90730
- return `\x1B[${codeType};2;${c2.r};${c2.g};${c2.b}m`;
90587
+ return `\x1B[${codeType};2;${c.r};${c.g};${c.b}m`;
90731
90588
  }
90732
- return `\x1B[${codeType};5;${ansi256FromRgb(c2.r, c2.g, c2.b)}m`;
90589
+ return `\x1B[${codeType};5;${ansi256FromRgb(c.r, c.g, c.b)}m`;
90733
90590
  }
90734
90591
  function asTerminalEscaped(blocks, mode, skipBackground, dim) {
90735
90592
  let out = dim ? RESET + DIM : RESET;
@@ -93088,7 +92945,7 @@ var init_FileEditTool = __esm(() => {
93088
92945
  init_constants6();
93089
92946
  init_constants5();
93090
92947
  init_prompt19();
93091
- init_types10();
92948
+ init_types9();
93092
92949
  init_UI3();
93093
92950
  init_utils();
93094
92951
  MAX_EDIT_FILE_SIZE = 1024 * 1024 * 1024;
@@ -93942,7 +93799,7 @@ var init_FileWriteTool = __esm(() => {
93942
93799
  init_filesystem();
93943
93800
  init_shellRuleMatching();
93944
93801
  init_constants5();
93945
- init_types10();
93802
+ init_types9();
93946
93803
  init_prompt6();
93947
93804
  init_UI4();
93948
93805
  inputSchema6 = lazySchema(() => exports_external.strictObject({
@@ -96992,7 +96849,7 @@ async function readNotebook(notebookPath, cellId) {
96992
96849
  const notebook = jsonParse(content);
96993
96850
  const language = notebook.metadata.language_info?.name ?? "python";
96994
96851
  if (cellId) {
96995
- const cell = notebook.cells.find((c2) => c2.id === cellId);
96852
+ const cell = notebook.cells.find((c) => c.id === cellId);
96996
96853
  if (!cell) {
96997
96854
  throw new Error(`Cell with ID "${cellId}" not found in notebook`);
96998
96855
  }
@@ -98110,14 +97967,14 @@ function collectCandidatesByMessage(messages) {
98110
97967
  return groups;
98111
97968
  }
98112
97969
  function partitionByPriorDecision(candidates, state) {
98113
- return candidates.reduce((acc, c2) => {
98114
- const replacement = state.replacements.get(c2.toolUseId);
97970
+ return candidates.reduce((acc, c) => {
97971
+ const replacement = state.replacements.get(c.toolUseId);
98115
97972
  if (replacement !== undefined) {
98116
- acc.mustReapply.push({ ...c2, replacement });
98117
- } else if (state.seenIds.has(c2.toolUseId)) {
98118
- acc.frozen.push(c2);
97973
+ acc.mustReapply.push({ ...c, replacement });
97974
+ } else if (state.seenIds.has(c.toolUseId)) {
97975
+ acc.frozen.push(c);
98119
97976
  } else {
98120
- acc.fresh.push(c2);
97977
+ acc.fresh.push(c);
98121
97978
  }
98122
97979
  return acc;
98123
97980
  }, { mustReapply: [], frozen: [], fresh: [] });
@@ -98125,12 +97982,12 @@ function partitionByPriorDecision(candidates, state) {
98125
97982
  function selectFreshToReplace(fresh, frozenSize, limit) {
98126
97983
  const sorted = [...fresh].sort((a, b2) => b2.size - a.size);
98127
97984
  const selected = [];
98128
- let remaining = frozenSize + fresh.reduce((sum, c2) => sum + c2.size, 0);
98129
- for (const c2 of sorted) {
97985
+ let remaining = frozenSize + fresh.reduce((sum, c) => sum + c.size, 0);
97986
+ for (const c of sorted) {
98130
97987
  if (remaining <= limit)
98131
97988
  break;
98132
- selected.push(c2);
98133
- remaining -= c2.size;
97989
+ selected.push(c);
97990
+ remaining -= c.size;
98134
97991
  }
98135
97992
  return selected;
98136
97993
  }
@@ -98177,20 +98034,20 @@ async function enforceToolResultBudget(messages, state, skipToolNames = new Set)
98177
98034
  let messagesOverBudget = 0;
98178
98035
  for (const candidates of candidatesByMessage) {
98179
98036
  const { mustReapply, frozen, fresh } = partitionByPriorDecision(candidates, state);
98180
- mustReapply.forEach((c2) => replacementMap.set(c2.toolUseId, c2.replacement));
98037
+ mustReapply.forEach((c) => replacementMap.set(c.toolUseId, c.replacement));
98181
98038
  reappliedCount += mustReapply.length;
98182
98039
  if (fresh.length === 0) {
98183
- candidates.forEach((c2) => state.seenIds.add(c2.toolUseId));
98040
+ candidates.forEach((c) => state.seenIds.add(c.toolUseId));
98184
98041
  continue;
98185
98042
  }
98186
- const skipped = fresh.filter((c2) => shouldSkip(c2.toolUseId));
98187
- skipped.forEach((c2) => state.seenIds.add(c2.toolUseId));
98188
- const eligible = fresh.filter((c2) => !shouldSkip(c2.toolUseId));
98189
- const frozenSize = frozen.reduce((sum, c2) => sum + c2.size, 0);
98190
- const freshSize = eligible.reduce((sum, c2) => sum + c2.size, 0);
98043
+ const skipped = fresh.filter((c) => shouldSkip(c.toolUseId));
98044
+ skipped.forEach((c) => state.seenIds.add(c.toolUseId));
98045
+ const eligible = fresh.filter((c) => !shouldSkip(c.toolUseId));
98046
+ const frozenSize = frozen.reduce((sum, c) => sum + c.size, 0);
98047
+ const freshSize = eligible.reduce((sum, c) => sum + c.size, 0);
98191
98048
  const selected = frozenSize + freshSize > limit ? selectFreshToReplace(eligible, frozenSize, limit) : [];
98192
- const selectedIds = new Set(selected.map((c2) => c2.toolUseId));
98193
- candidates.filter((c2) => !selectedIds.has(c2.toolUseId)).forEach((c2) => state.seenIds.add(c2.toolUseId));
98049
+ const selectedIds = new Set(selected.map((c) => c.toolUseId));
98050
+ candidates.filter((c) => !selectedIds.has(c.toolUseId)).forEach((c) => state.seenIds.add(c.toolUseId));
98194
98051
  if (selected.length === 0)
98195
98052
  continue;
98196
98053
  messagesOverBudget++;
@@ -98199,7 +98056,7 @@ async function enforceToolResultBudget(messages, state, skipToolNames = new Set)
98199
98056
  if (replacementMap.size === 0 && toPersist.length === 0) {
98200
98057
  return { messages, newlyReplaced: [] };
98201
98058
  }
98202
- const freshReplacements = await Promise.all(toPersist.map(async (c2) => [c2, await buildReplacement(c2)]));
98059
+ const freshReplacements = await Promise.all(toPersist.map(async (c) => [c, await buildReplacement(c)]));
98203
98060
  const newlyReplaced = [];
98204
98061
  let replacedSize = 0;
98205
98062
  for (const [candidate, replacement] of freshReplacements) {
@@ -98249,7 +98106,7 @@ async function applyToolResultBudget(messages, state, writeToTranscript, skipToo
98249
98106
  }
98250
98107
  function reconstructContentReplacementState(messages, records, inheritedReplacements) {
98251
98108
  const state = createContentReplacementState();
98252
- const candidateIds = new Set(collectCandidatesByMessage(messages).flat().map((c2) => c2.toolUseId));
98109
+ const candidateIds = new Set(collectCandidatesByMessage(messages).flat().map((c) => c.toolUseId));
98253
98110
  for (const id of candidateIds) {
98254
98111
  state.seenIds.add(id);
98255
98112
  }
@@ -98983,7 +98840,7 @@ async function listCandidates(projectDir, doStat, projectPath) {
98983
98840
  return null;
98984
98841
  }
98985
98842
  }));
98986
- return results.filter((c2) => c2 !== null);
98843
+ return results.filter((c) => c !== null);
98987
98844
  }
98988
98845
  var init_listSessionsImpl = __esm(() => {
98989
98846
  init_getWorktreePathsPortable();
@@ -99049,7 +98906,7 @@ async function rollbackConsolidationLock(priorMtime) {
99049
98906
  async function listSessionsTouchedSince(sinceMs) {
99050
98907
  const dir = getProjectDir(getOriginalCwd());
99051
98908
  const candidates = await listCandidates(dir, true);
99052
- return candidates.filter((c2) => c2.mtime > sinceMs).map((c2) => c2.sessionId);
98909
+ return candidates.filter((c) => c.mtime > sinceMs).map((c) => c.sessionId);
99053
98910
  }
99054
98911
  var LOCK_FILE = ".consolidate-lock", HOLDER_STALE_MS;
99055
98912
  var init_consolidationLock = __esm(() => {
@@ -100010,9 +99867,9 @@ function processProgressMessages(messages, tools, isAgentRunning) {
100010
99867
  const toolUseByID = new Map;
100011
99868
  for (const msg of agentMessages) {
100012
99869
  if (msg.data.message.type === "assistant") {
100013
- for (const c2 of msg.data.message.message.content) {
100014
- if (c2.type === "tool_use") {
100015
- toolUseByID.set(c2.id, c2);
99870
+ for (const c of msg.data.message.message.content) {
99871
+ if (c.type === "tool_use") {
99872
+ toolUseByID.set(c.id, c);
100016
99873
  }
100017
99874
  }
100018
99875
  }
@@ -100793,9 +100650,9 @@ function extractLastToolInfo(progressMessages, tools) {
100793
100650
  continue;
100794
100651
  }
100795
100652
  if (pm.data.message.type === "assistant") {
100796
- for (const c2 of pm.data.message.message.content) {
100797
- if (c2.type === "tool_use") {
100798
- toolUseByID.set(c2.id, c2);
100653
+ for (const c of pm.data.message.message.content) {
100654
+ if (c.type === "tool_use") {
100655
+ toolUseByID.set(c.id, c);
100799
100656
  }
100800
100657
  }
100801
100658
  }
@@ -100828,10 +100685,10 @@ function extractLastToolInfo(progressMessages, tools) {
100828
100685
  return false;
100829
100686
  }
100830
100687
  const message = msg.data.message;
100831
- return message.type === "user" && message.message.content.some((c2) => c2.type === "tool_result");
100688
+ return message.type === "user" && message.message.content.some((c) => c.type === "tool_result");
100832
100689
  });
100833
100690
  if (lastToolResult?.data.message.type === "user") {
100834
- const toolResultBlock = lastToolResult.data.message.message.content.find((c2) => c2.type === "tool_result");
100691
+ const toolResultBlock = lastToolResult.data.message.message.content.find((c) => c.type === "tool_result");
100835
100692
  if (toolResultBlock?.type === "tool_result") {
100836
100693
  const toolUseBlock = toolUseByID.get(toolResultBlock.tool_use_id);
100837
100694
  if (toolUseBlock) {
@@ -102028,7 +101885,7 @@ function handlePlanApprovalResponse(taskId, _response, setAppState) {
102028
101885
  setAwaitingPlanApproval(taskId, setAppState, false);
102029
101886
  }
102030
101887
  var init_inProcessTeammateHelpers = __esm(() => {
102031
- init_types6();
101888
+ init_types5();
102032
101889
  init_framework();
102033
101890
  init_teammateMailbox();
102034
101891
  });
@@ -104184,7 +104041,7 @@ var init_UI15 = __esm(() => {
104184
104041
  // src/tools/ReadMcpResourceTool/ReadMcpResourceTool.ts
104185
104042
  var inputSchema20, outputSchema17, ReadMcpResourceTool;
104186
104043
  var init_ReadMcpResourceTool = __esm(() => {
104187
- init_types5();
104044
+ init_types4();
104188
104045
  init_v4();
104189
104046
  init_client5();
104190
104047
  init_Tool();
@@ -104236,7 +104093,7 @@ var init_ReadMcpResourceTool = __esm(() => {
104236
104093
  const { server: serverName, uri } = input;
104237
104094
  const client = mcpClients.find((client2) => client2.name === serverName);
104238
104095
  if (!client) {
104239
- throw new Error(`Server "${serverName}" not found. Available servers: ${mcpClients.map((c2) => c2.name).join(", ")}`);
104096
+ throw new Error(`Server "${serverName}" not found. Available servers: ${mcpClients.map((c) => c.name).join(", ")}`);
104240
104097
  }
104241
104098
  if (client.type !== "connected") {
104242
104099
  throw new Error(`Server "${serverName}" is not connected`);
@@ -104249,27 +104106,27 @@ var init_ReadMcpResourceTool = __esm(() => {
104249
104106
  method: "resources/read",
104250
104107
  params: { uri }
104251
104108
  }, ReadResourceResultSchema);
104252
- const contents = await Promise.all(result.contents.map(async (c2, i) => {
104253
- if ("text" in c2) {
104254
- return { uri: c2.uri, mimeType: c2.mimeType, text: c2.text };
104109
+ const contents = await Promise.all(result.contents.map(async (c, i) => {
104110
+ if ("text" in c) {
104111
+ return { uri: c.uri, mimeType: c.mimeType, text: c.text };
104255
104112
  }
104256
- if (!("blob" in c2) || typeof c2.blob !== "string") {
104257
- return { uri: c2.uri, mimeType: c2.mimeType };
104113
+ if (!("blob" in c) || typeof c.blob !== "string") {
104114
+ return { uri: c.uri, mimeType: c.mimeType };
104258
104115
  }
104259
104116
  const persistId = `mcp-resource-${Date.now()}-${i}-${Math.random().toString(36).slice(2, 8)}`;
104260
- const persisted = await persistBinaryContent(Buffer.from(c2.blob, "base64"), c2.mimeType, persistId);
104117
+ const persisted = await persistBinaryContent(Buffer.from(c.blob, "base64"), c.mimeType, persistId);
104261
104118
  if ("error" in persisted) {
104262
104119
  return {
104263
- uri: c2.uri,
104264
- mimeType: c2.mimeType,
104120
+ uri: c.uri,
104121
+ mimeType: c.mimeType,
104265
104122
  text: `Binary content could not be saved to disk: ${persisted.error}`
104266
104123
  };
104267
104124
  }
104268
104125
  return {
104269
- uri: c2.uri,
104270
- mimeType: c2.mimeType,
104126
+ uri: c.uri,
104127
+ mimeType: c.mimeType,
104271
104128
  blobSavedTo: persisted.filepath,
104272
- text: getBinaryBlobSavedMessage(persisted.filepath, c2.mimeType, persisted.size, `[Resource from ${serverName} at ${c2.uri}] `)
104129
+ text: getBinaryBlobSavedMessage(persisted.filepath, c.mimeType, persisted.size, `[Resource from ${serverName} at ${c.uri}] `)
104273
104130
  };
104274
104131
  }));
104275
104132
  return {
@@ -104479,7 +104336,7 @@ var init_ToolSearchTool = __esm(() => {
104479
104336
  maybeInvalidateCache(deferredTools);
104480
104337
  function getPendingServerNames() {
104481
104338
  const appState = getAppState();
104482
- const pending = appState.mcp.clients.filter((c2) => c2.type === "pending");
104339
+ const pending = appState.mcp.clients.filter((c) => c.type === "pending");
104483
104340
  return pending.length > 0 ? pending.map((s) => s.name) : undefined;
104484
104341
  }
104485
104342
  function logSearchOutcome(matches2, queryType) {
@@ -108229,32 +108086,32 @@ function maskBracesInQuotedContexts(cmd) {
108229
108086
  let inDouble = false;
108230
108087
  let i = 0;
108231
108088
  while (i < cmd.length) {
108232
- const c2 = cmd[i];
108089
+ const c = cmd[i];
108233
108090
  if (inSingle) {
108234
- if (c2 === "'")
108091
+ if (c === "'")
108235
108092
  inSingle = false;
108236
- out.push(c2 === "{" ? " " : c2);
108093
+ out.push(c === "{" ? " " : c);
108237
108094
  i++;
108238
108095
  } else if (inDouble) {
108239
- if (c2 === "\\" && (cmd[i + 1] === '"' || cmd[i + 1] === "\\")) {
108240
- out.push(c2, cmd[i + 1]);
108096
+ if (c === "\\" && (cmd[i + 1] === '"' || cmd[i + 1] === "\\")) {
108097
+ out.push(c, cmd[i + 1]);
108241
108098
  i += 2;
108242
108099
  } else {
108243
- if (c2 === '"')
108100
+ if (c === '"')
108244
108101
  inDouble = false;
108245
- out.push(c2 === "{" ? " " : c2);
108102
+ out.push(c === "{" ? " " : c);
108246
108103
  i++;
108247
108104
  }
108248
108105
  } else {
108249
- if (c2 === "\\" && i + 1 < cmd.length) {
108250
- out.push(c2, cmd[i + 1]);
108106
+ if (c === "\\" && i + 1 < cmd.length) {
108107
+ out.push(c, cmd[i + 1]);
108251
108108
  i += 2;
108252
108109
  } else {
108253
- if (c2 === "'")
108110
+ if (c === "'")
108254
108111
  inSingle = true;
108255
- else if (c2 === '"')
108112
+ else if (c === '"')
108256
108113
  inDouble = true;
108257
- out.push(c2);
108114
+ out.push(c);
108258
108115
  i++;
108259
108116
  }
108260
108117
  }
@@ -108337,8 +108194,8 @@ function collectCommands(node, commands, varScope) {
108337
108194
  const isPipeline = node.type === "pipeline";
108338
108195
  let needsSnapshot = false;
108339
108196
  if (!isPipeline) {
108340
- for (const c2 of node.children) {
108341
- if (c2 && (c2.type === "||" || c2.type === "&")) {
108197
+ for (const c of node.children) {
108198
+ if (c && (c.type === "||" || c.type === "&")) {
108342
108199
  needsSnapshot = true;
108343
108200
  break;
108344
108201
  }
@@ -108467,12 +108324,12 @@ function collectCommands(node, commands, varScope) {
108467
108324
  }
108468
108325
  varScope.set(loopVar, VAR_PLACEHOLDER);
108469
108326
  const bodyScope = new Map(varScope);
108470
- for (const c2 of doGroup.children) {
108471
- if (!c2)
108327
+ for (const c of doGroup.children) {
108328
+ if (!c)
108472
108329
  continue;
108473
- if (c2.type === "do" || c2.type === "done" || c2.type === ";")
108330
+ if (c.type === "do" || c.type === "done" || c.type === ";")
108474
108331
  continue;
108475
- const err = collectCommands(c2, commands, bodyScope);
108332
+ const err = collectCommands(c, commands, bodyScope);
108476
108333
  if (err)
108477
108334
  return err;
108478
108335
  }
@@ -108492,12 +108349,12 @@ function collectCommands(node, commands, varScope) {
108492
108349
  }
108493
108350
  if (child.type === "do_group") {
108494
108351
  const bodyScope = new Map(varScope);
108495
- for (const c2 of child.children) {
108496
- if (!c2)
108352
+ for (const c of child.children) {
108353
+ if (!c)
108497
108354
  continue;
108498
- if (c2.type === "do" || c2.type === "done" || c2.type === ";")
108355
+ if (c.type === "do" || c.type === "done" || c.type === ";")
108499
108356
  continue;
108500
- const err2 = collectCommands(c2, commands, bodyScope);
108357
+ const err2 = collectCommands(c, commands, bodyScope);
108501
108358
  if (err2)
108502
108359
  return err2;
108503
108360
  }
@@ -108505,13 +108362,13 @@ function collectCommands(node, commands, varScope) {
108505
108362
  }
108506
108363
  if (child.type === "elif_clause" || child.type === "else_clause") {
108507
108364
  const branchScope = new Map(varScope);
108508
- for (const c2 of child.children) {
108509
- if (!c2)
108365
+ for (const c of child.children) {
108366
+ if (!c)
108510
108367
  continue;
108511
- if (c2.type === "elif" || c2.type === "else" || c2.type === "then" || c2.type === ";") {
108368
+ if (c.type === "elif" || c.type === "else" || c.type === "then" || c.type === ";") {
108512
108369
  continue;
108513
108370
  }
108514
- const err2 = collectCommands(c2, commands, branchScope);
108371
+ const err2 = collectCommands(c, commands, branchScope);
108515
108372
  if (err2)
108516
108373
  return err2;
108517
108374
  }
@@ -108524,9 +108381,9 @@ function collectCommands(node, commands, varScope) {
108524
108381
  return err;
108525
108382
  if (!seenThen) {
108526
108383
  for (let i = before;i < commands.length; i++) {
108527
- const c2 = commands[i];
108528
- if (c2?.argv[0] === "read") {
108529
- for (const a of c2.argv.slice(1)) {
108384
+ const c = commands[i];
108385
+ if (c?.argv[0] === "read") {
108386
+ for (const a of c.argv.slice(1)) {
108530
108387
  if (!a.startsWith("-") && /^[A-Za-z_][A-Za-z0-9_]*$/.test(a)) {
108531
108388
  const existing = varScope.get(a);
108532
108389
  if (existing !== undefined && !containsAnyPlaceholder(existing)) {
@@ -108609,10 +108466,10 @@ function walkTestExpr(node, argv, innerCommands, varScope) {
108609
108466
  case "binary_expression":
108610
108467
  case "negated_expression":
108611
108468
  case "parenthesized_expression": {
108612
- for (const c2 of node.children) {
108613
- if (!c2)
108469
+ for (const c of node.children) {
108470
+ if (!c)
108614
108471
  continue;
108615
- const err = walkTestExpr(c2, argv, innerCommands, varScope);
108472
+ const err = walkTestExpr(c, argv, innerCommands, varScope);
108616
108473
  if (err)
108617
108474
  return err;
108618
108475
  }
@@ -109039,7 +108896,7 @@ function extractSafeCatHeredoc(subNode) {
109039
108896
  if (!child)
109040
108897
  continue;
109041
108898
  if (child.type === "command") {
109042
- const cmdChildren = child.children.filter((c2) => c2);
108899
+ const cmdChildren = child.children.filter((c) => c);
109043
108900
  if (cmdChildren.length !== 1)
109044
108901
  return null;
109045
108902
  const nameNode = cmdChildren[0];
@@ -109151,13 +109008,13 @@ function walkVariableAssignment(node, innerCommands, varScope) {
109151
109008
  function resolveSimpleExpansion(node, varScope, insideString) {
109152
109009
  let varName = null;
109153
109010
  let isSpecial = false;
109154
- for (const c2 of node.children) {
109155
- if (c2?.type === "variable_name") {
109156
- varName = c2.text;
109011
+ for (const c of node.children) {
109012
+ if (c?.type === "variable_name") {
109013
+ varName = c.text;
109157
109014
  break;
109158
109015
  }
109159
- if (c2?.type === "special_variable_name") {
109160
- varName = c2.text;
109016
+ if (c?.type === "special_variable_name") {
109017
+ varName = c.text;
109161
109018
  isSpecial = true;
109162
109019
  break;
109163
109020
  }
@@ -109967,8 +109824,8 @@ function extractRedirectionNodes(rootNode) {
109967
109824
  visitNodes(rootNode, (node) => {
109968
109825
  if (node.type === "file_redirect") {
109969
109826
  const children = node.children;
109970
- const op = children.find((c2) => c2.type === ">" || c2.type === ">>");
109971
- const target = children.find((c2) => c2.type === "word");
109827
+ const op = children.find((c) => c.type === ">" || c.type === ">>");
109828
+ const target = children.find((c) => c.type === "word");
109972
109829
  if (op && target) {
109973
109830
  redirections.push({
109974
109831
  startIndex: node.startIndex,
@@ -110708,17 +110565,17 @@ function validateGitCommit(context) {
110708
110565
  let inSQ = false;
110709
110566
  let inDQ = false;
110710
110567
  for (let i = 0;i < remainder.length; i++) {
110711
- const c2 = remainder[i];
110712
- if (c2 === "'" && !inDQ) {
110568
+ const c = remainder[i];
110569
+ if (c === "'" && !inDQ) {
110713
110570
  inSQ = !inSQ;
110714
110571
  continue;
110715
110572
  }
110716
- if (c2 === '"' && !inSQ) {
110573
+ if (c === '"' && !inSQ) {
110717
110574
  inDQ = !inDQ;
110718
110575
  continue;
110719
110576
  }
110720
110577
  if (!inSQ && !inDQ)
110721
- unquoted += c2;
110578
+ unquoted += c;
110722
110579
  }
110723
110580
  if (/[<>]/.test(unquoted)) {
110724
110581
  return {
@@ -110894,24 +110751,24 @@ function validateCarriageReturn(context) {
110894
110751
  let inDoubleQuote = false;
110895
110752
  let escaped = false;
110896
110753
  for (let i = 0;i < originalCommand.length; i++) {
110897
- const c2 = originalCommand[i];
110754
+ const c = originalCommand[i];
110898
110755
  if (escaped) {
110899
110756
  escaped = false;
110900
110757
  continue;
110901
110758
  }
110902
- if (c2 === "\\" && !inSingleQuote) {
110759
+ if (c === "\\" && !inSingleQuote) {
110903
110760
  escaped = true;
110904
110761
  continue;
110905
110762
  }
110906
- if (c2 === "'" && !inDoubleQuote) {
110763
+ if (c === "'" && !inDoubleQuote) {
110907
110764
  inSingleQuote = !inSingleQuote;
110908
110765
  continue;
110909
110766
  }
110910
- if (c2 === '"' && !inSingleQuote) {
110767
+ if (c === '"' && !inSingleQuote) {
110911
110768
  inDoubleQuote = !inDoubleQuote;
110912
110769
  continue;
110913
110770
  }
110914
- if (c2 === "\r" && !inDoubleQuote) {
110771
+ if (c === "\r" && !inDoubleQuote) {
110915
110772
  logEvent("tengu_bash_security_check_triggered", {
110916
110773
  checkId: BASH_SECURITY_CHECK_IDS.NEWLINES,
110917
110774
  subId: 2
@@ -113665,8 +113522,8 @@ async function bashToolHasPermission(input, context, getCommandSubcommandPrefixF
113665
113522
  suggestions: []
113666
113523
  };
113667
113524
  }
113668
- astSubcommands = astResult.commands.map((c2) => c2.text);
113669
- astRedirects = astResult.commands.flatMap((c2) => c2.redirects);
113525
+ astSubcommands = astResult.commands.map((c) => c.text);
113526
+ astRedirects = astResult.commands.flatMap((c) => c.redirects);
113670
113527
  astCommands = astResult.commands;
113671
113528
  }
113672
113529
  if (astResult.kind === "parse-unavailable") {
@@ -113889,7 +113746,7 @@ async function bashToolHasPermission(input, context, getCommandSubcommandPrefixF
113889
113746
  const onDivergence = () => {
113890
113747
  divergenceCount++;
113891
113748
  };
113892
- const results = await Promise.all(subcommands.map((c2) => bashCommandIsSafeAsync(c2, onDivergence)));
113749
+ const results = await Promise.all(subcommands.map((c) => bashCommandIsSafeAsync(c, onDivergence)));
113893
113750
  hasPossibleCommandInjection = results.some((r) => r.behavior !== "passthrough");
113894
113751
  if (divergenceCount > 0) {
113895
113752
  logEvent("tengu_tree_sitter_security_divergence", {
@@ -115046,7 +114903,7 @@ var init_inProcessRunner = __esm(() => {
115046
114903
  init_compact();
115047
114904
  init_microCompact();
115048
114905
  init_InProcessTeammateTask();
115049
- init_types6();
114906
+ init_types5();
115050
114907
  init_LocalAgentTask();
115051
114908
  init_runAgent();
115052
114909
  init_bashPermissions();
@@ -115664,8 +115521,8 @@ var init_PaneBackendExecutor = __esm(() => {
115664
115521
  async function ensureBackendsRegistered() {
115665
115522
  if (backendsRegistered)
115666
115523
  return;
115667
- await import("./chunk-b80rg7hy.js");
115668
- await import("./chunk-gqmkgbfr.js");
115524
+ await import("./chunk-t5ay2csr.js");
115525
+ await import("./chunk-sjp70bdf.js");
115669
115526
  backendsRegistered = true;
115670
115527
  }
115671
115528
  function registerTmuxBackend(backendClass) {
@@ -118314,7 +118171,7 @@ function trackGitOperations(command, exitCode, stdout) {
118314
118171
  if (stdout) {
118315
118172
  const prInfo = findPrInStdout(stdout);
118316
118173
  if (prInfo) {
118317
- import("./chunk-zq4j9zys.js").then(({ linkSessionToPR }) => {
118174
+ import("./chunk-v000hw11.js").then(({ linkSessionToPR }) => {
118318
118175
  import("./chunk-44fpr6jq.js").then(({ getSessionId: getSessionId2 }) => {
118319
118176
  const sessionId = getSessionId2();
118320
118177
  if (sessionId) {
@@ -118547,9 +118404,9 @@ function transformCommandAst(raw) {
118547
118404
  const rawChildren = ensureArray(ce2.children);
118548
118405
  if (rawChildren.length > 0) {
118549
118406
  hasChildren = true;
118550
- children.push(rawChildren.map((c2) => ({
118551
- type: mapElementType(c2.type),
118552
- text: c2.text
118407
+ children.push(rawChildren.map((c) => ({
118408
+ type: mapElementType(c.type),
118409
+ text: c.text
118553
118410
  })));
118554
118411
  } else {
118555
118412
  children.push(undefined);
@@ -119329,27 +119186,27 @@ function resolveCwdReentry(normalized) {
119329
119186
  function normalizeGitPathArg(arg) {
119330
119187
  let s = arg;
119331
119188
  if (s.length > 0 && (PS_TOKENIZER_DASH_CHARS.has(s[0]) || s[0] === "/")) {
119332
- const c2 = s.indexOf(":", 1);
119333
- if (c2 > 0)
119334
- s = s.slice(c2 + 1);
119189
+ const c = s.indexOf(":", 1);
119190
+ if (c > 0)
119191
+ s = s.slice(c + 1);
119335
119192
  }
119336
119193
  s = s.replace(/^['"]|['"]$/g, "");
119337
119194
  s = s.replace(/`/g, "");
119338
119195
  s = s.replace(/^(?:[A-Za-z0-9_.]+\\){0,3}FileSystem::/i, "");
119339
119196
  s = s.replace(/^[A-Za-z]:(?![/\\])/, "");
119340
119197
  s = s.replace(/\\/g, "/");
119341
- s = s.split("/").map((c2) => {
119342
- if (c2 === "")
119343
- return c2;
119198
+ s = s.split("/").map((c) => {
119199
+ if (c === "")
119200
+ return c;
119344
119201
  let prev;
119345
119202
  do {
119346
- prev = c2;
119347
- c2 = c2.replace(/ +$/, "");
119348
- if (c2 === "." || c2 === "..")
119349
- return c2;
119350
- c2 = c2.replace(/\.+$/, "");
119351
- } while (c2 !== prev);
119352
- return c2 || ".";
119203
+ prev = c;
119204
+ c = c.replace(/ +$/, "");
119205
+ if (c === "." || c === "..")
119206
+ return c;
119207
+ c = c.replace(/\.+$/, "");
119208
+ } while (c !== prev);
119209
+ return c || ".";
119353
119210
  }).join("/");
119354
119211
  s = posix4.normalize(s);
119355
119212
  if (s.startsWith("./"))
@@ -119453,7 +119310,7 @@ function argLeaksValue(_cmd, element) {
119453
119310
  if (argTypes[i] === "Parameter") {
119454
119311
  const paramChildren = children?.[i];
119455
119312
  if (paramChildren) {
119456
- if (paramChildren.some((c2) => c2.type !== "StringConstant")) {
119313
+ if (paramChildren.some((c) => c.type !== "StringConstant")) {
119457
119314
  return true;
119458
119315
  }
119459
119316
  } else {
@@ -119637,7 +119494,7 @@ function isAllowlistedCommand(cmd, originalCommand) {
119637
119494
  if (t === "Parameter") {
119638
119495
  const paramChildren = cmd.children?.[i - 1];
119639
119496
  if (paramChildren) {
119640
- if (paramChildren.some((c2) => c2.type !== "StringConstant")) {
119497
+ if (paramChildren.some((c) => c.type !== "StringConstant")) {
119641
119498
  return false;
119642
119499
  }
119643
119500
  } else {
@@ -122272,7 +122129,7 @@ function checkDownloadCradles(parsed) {
122272
122129
  }
122273
122130
  }
122274
122131
  const all = getAllCommands2(parsed);
122275
- if (all.some((c2) => isDownloader(c2.name)) && all.some((c2) => isIex(c2.name))) {
122132
+ if (all.some((c) => isDownloader(c.name)) && all.some((c) => isIex(c.name))) {
122276
122133
  return {
122277
122134
  behavior: "ask",
122278
122135
  message: "Command downloads and executes remote code"
@@ -123306,10 +123163,10 @@ async function powershellToolHasPermission(input, context) {
123306
123163
  return true;
123307
123164
  }
123308
123165
  if (statement !== null) {
123309
- for (const c2 of statement.commands) {
123310
- if (c2.elementType === "CommandAst")
123166
+ for (const c of statement.commands) {
123167
+ if (c.elementType === "CommandAst")
123311
123168
  continue;
123312
- if (isGitInternalPathPS(c2.text))
123169
+ if (isGitInternalPathPS(c.text))
123313
123170
  return true;
123314
123171
  }
123315
123172
  }
@@ -126108,7 +125965,7 @@ var init_AgentTool = __esm(() => {
126108
125965
  }
126109
125966
  const requiredMcpServers = selectedAgent.requiredMcpServers;
126110
125967
  if (requiredMcpServers?.length) {
126111
- const hasPendingRequiredServers = appState.mcp.clients.some((c2) => c2.type === "pending" && requiredMcpServers.some((pattern) => c2.name.toLowerCase().includes(pattern.toLowerCase())));
125968
+ const hasPendingRequiredServers = appState.mcp.clients.some((c) => c.type === "pending" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
126112
125969
  let currentAppState = appState;
126113
125970
  if (hasPendingRequiredServers) {
126114
125971
  const MAX_WAIT_MS = 30000;
@@ -126117,10 +125974,10 @@ var init_AgentTool = __esm(() => {
126117
125974
  while (Date.now() < deadline) {
126118
125975
  await sleep(POLL_INTERVAL_MS2);
126119
125976
  currentAppState = toolUseContext.getAppState();
126120
- const hasFailedRequiredServer = currentAppState.mcp.clients.some((c2) => c2.type === "failed" && requiredMcpServers.some((pattern) => c2.name.toLowerCase().includes(pattern.toLowerCase())));
125977
+ const hasFailedRequiredServer = currentAppState.mcp.clients.some((c) => c.type === "failed" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
126121
125978
  if (hasFailedRequiredServer)
126122
125979
  break;
126123
- const stillPending = currentAppState.mcp.clients.some((c2) => c2.type === "pending" && requiredMcpServers.some((pattern) => c2.name.toLowerCase().includes(pattern.toLowerCase())));
125980
+ const stillPending = currentAppState.mcp.clients.some((c) => c.type === "pending" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
126124
125981
  if (!stillPending)
126125
125982
  break;
126126
125983
  }
@@ -127227,7 +127084,7 @@ function isCollapsibleToolUse(msg, tools) {
127227
127084
  function isCollapsibleToolResult(msg, collapsibleToolUseIds) {
127228
127085
  if (msg.type === "user") {
127229
127086
  const contentItems = getContentItems(msg.message?.content);
127230
- const toolResults = contentItems.filter((c2) => c2.type === "tool_result");
127087
+ const toolResults = contentItems.filter((c) => c.type === "tool_result");
127231
127088
  return toolResults.length > 0 && toolResults.every((r) => collapsibleToolUseIds.has(r.tool_use_id));
127232
127089
  }
127233
127090
  return false;
@@ -127303,10 +127160,10 @@ function scanBashResultForGitOps(msg, group) {
127303
127160
  return;
127304
127161
  const combined = (out.stdout ?? "") + `
127305
127162
  ` + (out.stderr ?? "");
127306
- for (const c2 of getContentItems(msg.message?.content)) {
127307
- if (c2.type !== "tool_result")
127163
+ for (const c of getContentItems(msg.message?.content)) {
127164
+ if (c.type !== "tool_result")
127308
127165
  continue;
127309
- const toolResult = c2;
127166
+ const toolResult = c;
127310
127167
  const command = group.bashCommands?.get(toolResult.tool_use_id);
127311
127168
  if (!command)
127312
127169
  continue;
@@ -128838,7 +128695,9 @@ async function getAttachments(input, toolUseContext, ideSelection, queuedCommand
128838
128695
  }))),
128839
128696
  maybe("agent_listing_delta", () => Promise.resolve(getAgentListingDeltaAttachment(toolUseContext, messages))),
128840
128697
  maybe("mcp_instructions_delta", () => Promise.resolve(getMcpInstructionsDeltaAttachment(toolUseContext.options.mcpClients, toolUseContext.options.tools, toolUseContext.options.mainLoopModel, messages))),
128841
- ...[],
128698
+ ...[
128699
+ maybe("companion_intro", () => Promise.resolve(getCompanionIntroAttachment(messages)))
128700
+ ],
128842
128701
  maybe("changed_files", () => getChangedFiles(context)),
128843
128702
  maybe("nested_memory", () => getNestedMemoryAttachments(context)),
128844
128703
  maybe("dynamic_skill", () => getDynamicSkillAttachments(context)),
@@ -129366,7 +129225,7 @@ async function processMcpResourceAttachments(input, toolUseContext) {
129366
129225
  logEvent("tengu_at_mention_mcp_resource_error", {});
129367
129226
  return null;
129368
129227
  }
129369
- const client = mcpClients.find((c2) => c2.name === serverName);
129228
+ const client = mcpClients.find((c) => c.name === serverName);
129370
129229
  if (!client || client.type !== "connected") {
129371
129230
  logEvent("tengu_at_mention_mcp_resource_error", {});
129372
129231
  return null;
@@ -132071,7 +131930,7 @@ async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContex
132071
131930
  if (error instanceof McpAuthError) {
132072
131931
  toolUseContext.setAppState((prevState) => {
132073
131932
  const serverName = error.serverName;
132074
- const existingClientIndex = prevState.mcp.clients.findIndex((c2) => c2.name === serverName);
131933
+ const existingClientIndex = prevState.mcp.clients.findIndex((c) => c.name === serverName);
132075
131934
  if (existingClientIndex === -1) {
132076
131935
  return prevState;
132077
131936
  }
@@ -133681,7 +133540,7 @@ async function* queryLoop(params, consumedCommandUuids) {
133681
133540
  maxOutputTokensOverride,
133682
133541
  fetchOverride: dumpPromptsFetch,
133683
133542
  mcpTools: appState.mcp.tools,
133684
- hasPendingMcpServers: appState.mcp.clients.some((c2) => c2.type === "pending"),
133543
+ hasPendingMcpServers: appState.mcp.clients.some((c) => c.type === "pending"),
133685
133544
  queryTracking,
133686
133545
  effortValue: appState.effortValue,
133687
133546
  advisorModel: appState.advisorModel,
@@ -134041,7 +133900,7 @@ async function* queryLoop(params, consumedCommandUuids) {
134041
133900
  const toolUseIds = toolUseBlocks.map((block) => block.id);
134042
133901
  const toolInfoForSummary = toolUseBlocks.map((block) => {
134043
133902
  const toolResult = toolResults.find((result) => result.type === "user" && Array.isArray(result.message.content) && result.message.content.some((content) => content.type === "tool_result" && content.tool_use_id === block.id));
134044
- const resultContent = toolResult?.type === "user" && Array.isArray(toolResult.message.content) ? toolResult.message.content.find((c2) => c2.type === "tool_result" && c2.tool_use_id === block.id) : undefined;
133903
+ const resultContent = toolResult?.type === "user" && Array.isArray(toolResult.message.content) ? toolResult.message.content.find((c) => c.type === "tool_result" && c.tool_use_id === block.id) : undefined;
134045
133904
  return {
134046
133905
  name: block.name,
134047
133906
  input: block.input,
@@ -134282,7 +134141,7 @@ function getAnthropicEnvMetadata() {
134282
134141
  function getBuildAgeMinutes() {
134283
134142
  if (false)
134284
134143
  ;
134285
- const buildTime = new Date("2026-04-02T14:44:42.642Z").getTime();
134144
+ const buildTime = new Date("2026-04-02T15:44:46.402Z").getTime();
134286
134145
  if (isNaN(buildTime))
134287
134146
  return;
134288
134147
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -134631,7 +134490,7 @@ function logAPISuccessAndDuration({
134631
134490
  const content = m2.message.content;
134632
134491
  if (!Array.isArray(content))
134633
134492
  return [];
134634
- return content.filter((c2) => typeof c2 !== "string" && c2.type === "text").map((c2) => c2.text);
134493
+ return content.filter((c) => typeof c !== "string" && c.type === "text").map((c) => c.text);
134635
134494
  }).join(`
134636
134495
  `) || undefined;
134637
134496
  if (process.env.USER_TYPE === "ant") {
@@ -134639,7 +134498,7 @@ function logAPISuccessAndDuration({
134639
134498
  const content = m2.message.content;
134640
134499
  if (!Array.isArray(content))
134641
134500
  return [];
134642
- return content.filter((c2) => typeof c2 !== "string" && c2.type === "thinking").map((c2) => c2.thinking);
134501
+ return content.filter((c) => typeof c !== "string" && c.type === "thinking").map((c) => c.thinking);
134643
134502
  }).join(`
134644
134503
  `) || undefined;
134645
134504
  }
@@ -134647,7 +134506,7 @@ function logAPISuccessAndDuration({
134647
134506
  const content = m2.message.content;
134648
134507
  if (!Array.isArray(content))
134649
134508
  return false;
134650
- return content.some((c2) => typeof c2 !== "string" && c2.type === "tool_use");
134509
+ return content.some((c) => typeof c !== "string" && c.type === "tool_use");
134651
134510
  });
134652
134511
  }
134653
134512
  endLLMRequestSpan(llmSpan, {
@@ -138362,7 +138221,7 @@ var init_sessionFileAccessHooks = __esm(() => {
138362
138221
  init_state();
138363
138222
  init_analytics();
138364
138223
  init_constants5();
138365
- init_types10();
138224
+ init_types9();
138366
138225
  init_FileReadTool();
138367
138226
  init_prompt5();
138368
138227
  init_FileWriteTool();
@@ -139436,7 +139295,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
139436
139295
  if (parsed.kind !== "simple") {
139437
139296
  return () => true;
139438
139297
  }
139439
- const subcommands = parsed.commands.map((c2) => c2.argv.join(" "));
139298
+ const subcommands = parsed.commands.map((c) => c.argv.join(" "));
139440
139299
  return (pattern) => {
139441
139300
  const prefix = permissionRuleExtractPrefix2(pattern);
139442
139301
  return subcommands.some((cmd) => {
@@ -141491,7 +141350,7 @@ var init_contextAnalysis = __esm(() => {
141491
141350
 
141492
141351
  // src/utils/memory/types.ts
141493
141352
  var MEMORY_TYPE_VALUES;
141494
- var init_types11 = __esm(() => {
141353
+ var init_types10 = __esm(() => {
141495
141354
  MEMORY_TYPE_VALUES = [
141496
141355
  "User",
141497
141356
  "Project",
@@ -142755,7 +142614,7 @@ var init_compact = __esm(() => {
142755
142614
  init_forkedAgent();
142756
142615
  init_hooks3();
142757
142616
  init_log();
142758
- init_types11();
142617
+ init_types10();
142759
142618
  init_messages2();
142760
142619
  init_path();
142761
142620
  init_plans();
@@ -143575,8 +143434,8 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
143575
143434
  systemToolDetails: []
143576
143435
  };
143577
143436
  }
143578
- const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-x21zmsfa.js");
143579
- const { isDeferredTool: isDeferredTool2 } = await import("./chunk-j84fcssx.js");
143437
+ const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-0tdbtvav.js");
143438
+ const { isDeferredTool: isDeferredTool2 } = await import("./chunk-05ktn3y0.js");
143580
143439
  const isDeferred = await isToolSearchEnabled2(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
143581
143440
  const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool2(t));
143582
143441
  const deferredBuiltinTools = builtInTools.filter((t) => isDeferredTool2(t));
@@ -143710,8 +143569,8 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
143710
143569
  }))));
143711
143570
  const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
143712
143571
  const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
143713
- const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-x21zmsfa.js");
143714
- const { isDeferredTool: isDeferredTool2 } = await import("./chunk-j84fcssx.js");
143572
+ const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-0tdbtvav.js");
143573
+ const { isDeferredTool: isDeferredTool2 } = await import("./chunk-05ktn3y0.js");
143715
143574
  const isDeferred = await isToolSearchEnabled2(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
143716
143575
  const loadedMcpToolNames = new Set;
143717
143576
  if (isDeferred && messages) {
@@ -143970,7 +143829,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
143970
143829
  color: "purple_FOR_SUBAGENTS_ONLY"
143971
143830
  });
143972
143831
  }
143973
- const actualUsage = cats.reduce((sum, cat2) => sum + (cat2.isDeferred ? 0 : cat2.tokens), 0);
143832
+ const actualUsage = cats.reduce((sum, cat) => sum + (cat.isDeferred ? 0 : cat.tokens), 0);
143974
143833
  let reservedTokens = 0;
143975
143834
  let skipReservedBuffer = false;
143976
143835
  if (false) {}
@@ -144004,11 +143863,11 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
144004
143863
  const GRID_WIDTH = contextWindow >= 1e6 ? isNarrowScreen ? 5 : 20 : isNarrowScreen ? 5 : 10;
144005
143864
  const GRID_HEIGHT = contextWindow >= 1e6 ? 10 : isNarrowScreen ? 5 : 10;
144006
143865
  const TOTAL_SQUARES = GRID_WIDTH * GRID_HEIGHT;
144007
- const nonDeferredCats = cats.filter((cat2) => !cat2.isDeferred);
144008
- const categorySquares = nonDeferredCats.map((cat2) => ({
144009
- ...cat2,
144010
- squares: cat2.name === "Free space" ? Math.round(cat2.tokens / contextWindow * TOTAL_SQUARES) : Math.max(1, Math.round(cat2.tokens / contextWindow * TOTAL_SQUARES)),
144011
- percentageOfTotal: Math.round(cat2.tokens / contextWindow * 100)
143866
+ const nonDeferredCats = cats.filter((cat) => !cat.isDeferred);
143867
+ const categorySquares = nonDeferredCats.map((cat) => ({
143868
+ ...cat,
143869
+ squares: cat.name === "Free space" ? Math.round(cat.tokens / contextWindow * TOTAL_SQUARES) : Math.max(1, Math.round(cat.tokens / contextWindow * TOTAL_SQUARES)),
143870
+ percentageOfTotal: Math.round(cat.tokens / contextWindow * 100)
144012
143871
  }));
144013
143872
  function createCategorySquares(category) {
144014
143873
  const squares = [];
@@ -144032,10 +143891,10 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
144032
143891
  return squares;
144033
143892
  }
144034
143893
  const gridSquares = [];
144035
- const reservedCategory = categorySquares.find((cat2) => cat2.name === RESERVED_CATEGORY_NAME || cat2.name === MANUAL_COMPACT_BUFFER_NAME);
144036
- const nonReservedCategories = categorySquares.filter((cat2) => cat2.name !== RESERVED_CATEGORY_NAME && cat2.name !== MANUAL_COMPACT_BUFFER_NAME && cat2.name !== "Free space");
144037
- for (const cat2 of nonReservedCategories) {
144038
- const squares = createCategorySquares(cat2);
143894
+ const reservedCategory = categorySquares.find((cat) => cat.name === RESERVED_CATEGORY_NAME || cat.name === MANUAL_COMPACT_BUFFER_NAME);
143895
+ const nonReservedCategories = categorySquares.filter((cat) => cat.name !== RESERVED_CATEGORY_NAME && cat.name !== MANUAL_COMPACT_BUFFER_NAME && cat.name !== "Free space");
143896
+ for (const cat of nonReservedCategories) {
143897
+ const squares = createCategorySquares(cat);
144039
143898
  for (const square of squares) {
144040
143899
  if (gridSquares.length < TOTAL_SQUARES) {
144041
143900
  gridSquares.push(square);
@@ -144043,7 +143902,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
144043
143902
  }
144044
143903
  }
144045
143904
  const reservedSquareCount = reservedCategory ? reservedCategory.squares : 0;
144046
- const freeSpaceCat = cats.find((c2) => c2.name === "Free space");
143905
+ const freeSpaceCat = cats.find((c) => c.name === "Free space");
144047
143906
  const freeSpaceTarget = TOTAL_SQUARES - reservedSquareCount;
144048
143907
  while (gridSquares.length < freeSpaceTarget) {
144049
143908
  gridSquares.push({
@@ -144736,7 +144595,7 @@ function stripToolSearchFieldsFromMessages(messages) {
144736
144595
  if (block.type === "tool_result") {
144737
144596
  const toolResult = block;
144738
144597
  if (Array.isArray(toolResult.content)) {
144739
- const filteredContent = toolResult.content.filter((c2) => !isToolReferenceBlock(c2));
144598
+ const filteredContent = toolResult.content.filter((c) => !isToolReferenceBlock(c));
144740
144599
  if (filteredContent.length === 0) {
144741
144600
  return {
144742
144601
  ...toolResult,
@@ -145923,23 +145782,23 @@ var require_parser2 = __commonJS((exports, module) => {
145923
145782
  lastPos = i + 1;
145924
145783
  }
145925
145784
  for (;i < cssLength; i++) {
145926
- var c2 = css[i];
145927
- if (c2 === "/" && css[i + 1] === "*") {
145785
+ var c = css[i];
145786
+ if (c === "/" && css[i + 1] === "*") {
145928
145787
  var j2 = css.indexOf("*/", i + 2);
145929
145788
  if (j2 === -1)
145930
145789
  break;
145931
145790
  i = j2 + 1;
145932
145791
  lastPos = i + 1;
145933
145792
  isParenthesisOpen = false;
145934
- } else if (c2 === "(") {
145793
+ } else if (c === "(") {
145935
145794
  isParenthesisOpen = true;
145936
- } else if (c2 === ")") {
145795
+ } else if (c === ")") {
145937
145796
  isParenthesisOpen = false;
145938
- } else if (c2 === ";") {
145797
+ } else if (c === ";") {
145939
145798
  if (isParenthesisOpen) {} else {
145940
145799
  addNewAttr();
145941
145800
  }
145942
- } else if (c2 === `
145801
+ } else if (c === `
145943
145802
  `) {
145944
145803
  addNewAttr();
145945
145804
  }
@@ -146330,11 +146189,11 @@ var require_default2 = __commonJS((exports) => {
146330
146189
  function stripBlankChar(html) {
146331
146190
  var chars = html.split("");
146332
146191
  chars = chars.filter(function(char) {
146333
- var c2 = char.charCodeAt(0);
146334
- if (c2 === 127)
146192
+ var c = char.charCodeAt(0);
146193
+ if (c === 127)
146335
146194
  return false;
146336
- if (c2 <= 31) {
146337
- if (c2 === 10 || c2 === 13)
146195
+ if (c <= 31) {
146196
+ if (c === 10 || c === 13)
146338
146197
  return true;
146339
146198
  return false;
146340
146199
  }
@@ -146398,21 +146257,21 @@ var require_parser3 = __commonJS((exports) => {
146398
146257
  var currentHtml = "";
146399
146258
  chariterator:
146400
146259
  for (currentPos = 0;currentPos < len; currentPos++) {
146401
- var c2 = html.charAt(currentPos);
146260
+ var c = html.charAt(currentPos);
146402
146261
  if (tagStart === false) {
146403
- if (c2 === "<") {
146262
+ if (c === "<") {
146404
146263
  tagStart = currentPos;
146405
146264
  continue;
146406
146265
  }
146407
146266
  } else {
146408
146267
  if (quoteStart === false) {
146409
- if (c2 === "<") {
146268
+ if (c === "<") {
146410
146269
  rethtml += escapeHtml(html.slice(lastPos, currentPos));
146411
146270
  tagStart = currentPos;
146412
146271
  lastPos = currentPos;
146413
146272
  continue;
146414
146273
  }
146415
- if (c2 === ">" || currentPos === len - 1) {
146274
+ if (c === ">" || currentPos === len - 1) {
146416
146275
  rethtml += escapeHtml(html.slice(lastPos, tagStart));
146417
146276
  currentHtml = html.slice(tagStart, currentPos + 1);
146418
146277
  currentTagName = getTagName(currentHtml);
@@ -146421,19 +146280,19 @@ var require_parser3 = __commonJS((exports) => {
146421
146280
  tagStart = false;
146422
146281
  continue;
146423
146282
  }
146424
- if (c2 === '"' || c2 === "'") {
146283
+ if (c === '"' || c === "'") {
146425
146284
  var i = 1;
146426
146285
  var ic = html.charAt(currentPos - i);
146427
146286
  while (ic.trim() === "" || ic === "=") {
146428
146287
  if (ic === "=") {
146429
- quoteStart = c2;
146288
+ quoteStart = c;
146430
146289
  continue chariterator;
146431
146290
  }
146432
146291
  ic = html.charAt(currentPos - ++i);
146433
146292
  }
146434
146293
  }
146435
146294
  } else {
146436
- if (c2 === quoteStart) {
146295
+ if (c === quoteStart) {
146437
146296
  quoteStart = false;
146438
146297
  continue;
146439
146298
  }
@@ -146462,9 +146321,9 @@ var require_parser3 = __commonJS((exports) => {
146462
146321
  retAttrs.push(ret);
146463
146322
  }
146464
146323
  for (var i = 0;i < len; i++) {
146465
- var c2 = html.charAt(i);
146324
+ var c = html.charAt(i);
146466
146325
  var v2, j2;
146467
- if (tmpName === false && c2 === "=") {
146326
+ if (tmpName === false && c === "=") {
146468
146327
  tmpName = html.slice(lastPos, i);
146469
146328
  lastPos = i + 1;
146470
146329
  lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
@@ -146472,7 +146331,7 @@ var require_parser3 = __commonJS((exports) => {
146472
146331
  }
146473
146332
  if (tmpName !== false) {
146474
146333
  if (i === lastMarkPos) {
146475
- j2 = html.indexOf(c2, i + 1);
146334
+ j2 = html.indexOf(c, i + 1);
146476
146335
  if (j2 === -1) {
146477
146336
  break;
146478
146337
  } else {
@@ -146485,7 +146344,7 @@ var require_parser3 = __commonJS((exports) => {
146485
146344
  }
146486
146345
  }
146487
146346
  }
146488
- if (/\s|\n|\t/.test(c2)) {
146347
+ if (/\s|\n|\t/.test(c)) {
146489
146348
  html = html.replace(/\s|\n|\t/g, " ");
146490
146349
  if (tmpName === false) {
146491
146350
  j2 = findNextEqual(html, i);
@@ -146525,30 +146384,30 @@ var require_parser3 = __commonJS((exports) => {
146525
146384
  }
146526
146385
  function findNextEqual(str2, i) {
146527
146386
  for (;i < str2.length; i++) {
146528
- var c2 = str2[i];
146529
- if (c2 === " ")
146387
+ var c = str2[i];
146388
+ if (c === " ")
146530
146389
  continue;
146531
- if (c2 === "=")
146390
+ if (c === "=")
146532
146391
  return i;
146533
146392
  return -1;
146534
146393
  }
146535
146394
  }
146536
146395
  function findNextQuotationMark(str2, i) {
146537
146396
  for (;i < str2.length; i++) {
146538
- var c2 = str2[i];
146539
- if (c2 === " ")
146397
+ var c = str2[i];
146398
+ if (c === " ")
146540
146399
  continue;
146541
- if (c2 === "'" || c2 === '"')
146400
+ if (c === "'" || c === '"')
146542
146401
  return i;
146543
146402
  return -1;
146544
146403
  }
146545
146404
  }
146546
146405
  function findBeforeEqual(str2, i) {
146547
146406
  for (;i > 0; i--) {
146548
- var c2 = str2[i];
146549
- if (c2 === " ")
146407
+ var c = str2[i];
146408
+ if (c === " ")
146550
146409
  continue;
146551
- if (c2 === "=")
146410
+ if (c === "=")
146552
146411
  return i;
146553
146412
  return -1;
146554
146413
  }
@@ -148621,22 +148480,22 @@ async function readClientSecret() {
148621
148480
  process.stdin.setRawMode?.(true);
148622
148481
  let secret = "";
148623
148482
  const onData = (ch) => {
148624
- const c2 = ch.toString();
148625
- if (c2 === `
148626
- ` || c2 === "\r") {
148483
+ const c = ch.toString();
148484
+ if (c === `
148485
+ ` || c === "\r") {
148627
148486
  process.stdin.setRawMode?.(false);
148628
148487
  process.stdin.removeListener("data", onData);
148629
148488
  process.stderr.write(`
148630
148489
  `);
148631
148490
  resolve23(secret);
148632
- } else if (c2 === "\x03") {
148491
+ } else if (c === "\x03") {
148633
148492
  process.stdin.setRawMode?.(false);
148634
148493
  process.stdin.removeListener("data", onData);
148635
148494
  reject2(new Error("Cancelled"));
148636
- } else if (c2 === "\x7F" || c2 === "\b") {
148495
+ } else if (c === "\x7F" || c === "\b") {
148637
148496
  secret = secret.slice(0, -1);
148638
148497
  } else {
148639
- secret += c2;
148498
+ secret += c;
148640
148499
  }
148641
148500
  };
148642
148501
  process.stdin.on("data", onData);
@@ -148795,13 +148654,13 @@ function createMcpAuthTool(serverName, config2) {
148795
148654
  ...prev,
148796
148655
  mcp: {
148797
148656
  ...prev.mcp,
148798
- clients: prev.mcp.clients.map((c2) => c2.name === serverName ? result.client : c2),
148657
+ clients: prev.mcp.clients.map((c) => c.name === serverName ? result.client : c),
148799
148658
  tools: [
148800
148659
  ...reject_default(prev.mcp.tools, (t) => t.name?.startsWith(prefix)),
148801
148660
  ...result.tools
148802
148661
  ],
148803
148662
  commands: [
148804
- ...reject_default(prev.mcp.commands, (c2) => c2.name?.startsWith(prefix)),
148663
+ ...reject_default(prev.mcp.commands, (c) => c.name?.startsWith(prefix)),
148805
148664
  ...result.commands
148806
148665
  ],
148807
148666
  resources: result.resources ? { ...prev.mcp.resources, [serverName]: result.resources } : prev.mcp.resources
@@ -149012,7 +148871,7 @@ class WebSocketTransport {
149012
148871
  }
149013
148872
  var WS_CONNECTING = 0, WS_OPEN = 1;
149014
148873
  var init_mcpWebSocketTransport = __esm(() => {
149015
- init_types5();
148874
+ init_types4();
149016
148875
  init_diagLogs();
149017
148876
  init_errors();
149018
148877
  init_slowOperations();
@@ -149213,7 +149072,7 @@ async function runElicitationResultHooks(serverName, result, signal, mode, elici
149213
149072
  }
149214
149073
  }
149215
149074
  var init_elicitationHandler = __esm(() => {
149216
- init_types5();
149075
+ init_types4();
149217
149076
  init_hooks3();
149218
149077
  init_log();
149219
149078
  init_slowOperations();
@@ -150184,7 +150043,7 @@ function wrapFetchWithTimeout(baseFetch) {
150184
150043
  headers.set("accept", MCP_STREAMABLE_HTTP_ACCEPT);
150185
150044
  }
150186
150045
  const controller = new AbortController;
150187
- const timer = setTimeout((c2) => c2.abort(new DOMException("The operation timed out.", "TimeoutError")), MCP_REQUEST_TIMEOUT_MS, controller);
150046
+ const timer = setTimeout((c) => c.abort(new DOMException("The operation timed out.", "TimeoutError")), MCP_REQUEST_TIMEOUT_MS, controller);
150188
150047
  timer.unref?.();
150189
150048
  const parentSignal = init?.signal;
150190
150049
  const abort = () => controller.abort(parentSignal?.reason);
@@ -150333,11 +150192,11 @@ async function getMcpToolsCommandsAndResources(onConnectionAttempt, mcpConfigs)
150333
150192
  }
150334
150193
  }
150335
150194
  const totalServers = configEntries.length;
150336
- const stdioCount = count(configEntries, ([_2, c2]) => c2.type === "stdio");
150337
- const sseCount = count(configEntries, ([_2, c2]) => c2.type === "sse");
150338
- const httpCount = count(configEntries, ([_2, c2]) => c2.type === "http");
150339
- const sseIdeCount = count(configEntries, ([_2, c2]) => c2.type === "sse-ide");
150340
- const wsIdeCount = count(configEntries, ([_2, c2]) => c2.type === "ws-ide");
150195
+ const stdioCount = count(configEntries, ([_2, c]) => c.type === "stdio");
150196
+ const sseCount = count(configEntries, ([_2, c]) => c.type === "sse");
150197
+ const httpCount = count(configEntries, ([_2, c]) => c.type === "http");
150198
+ const sseIdeCount = count(configEntries, ([_2, c]) => c.type === "sse-ide");
150199
+ const wsIdeCount = count(configEntries, ([_2, c]) => c.type === "ws-ide");
150341
150200
  const localServers = configEntries.filter(([_2, config2]) => isLocalMcpServer(config2));
150342
150201
  const remoteServers = configEntries.filter(([_2, config2]) => !isLocalMcpServer(config2));
150343
150202
  const serverStats = {
@@ -150913,7 +150772,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
150913
150772
  const client = new Client({
150914
150773
  name: "claude-code",
150915
150774
  title: "Claude Code",
150916
- version: "1.0.3-fork.2a74621",
150775
+ version: "1.0.3-fork.4340338",
150917
150776
  description: "Anthropic's agentic coding tool",
150918
150777
  websiteUrl: PRODUCT_URL
150919
150778
  }, {
@@ -150968,7 +150827,7 @@ var init_client5 = __esm(() => {
150968
150827
  init_stdio2();
150969
150828
  init_streamableHttp();
150970
150829
  init_transport();
150971
- init_types5();
150830
+ init_types4();
150972
150831
  init_mapValues();
150973
150832
  init_memoize();
150974
150833
  init_zipObject();
@@ -151232,7 +151091,7 @@ var init_client5 = __esm(() => {
151232
151091
  transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
151233
151092
  logMCPDebug(name, `claude.ai proxy transport created successfully`);
151234
151093
  } else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
151235
- const { createChromeContext } = await import("./chunk-ctkn4y2r.js");
151094
+ const { createChromeContext } = await import("./chunk-s8xw97sr.js");
151236
151095
  const { createClaudeForChromeMcpServer } = await import("./chunk-bm1qb16p.js");
151237
151096
  const { createLinkedTransportPair } = await import("./chunk-1h2famwb.js");
151238
151097
  const context = createChromeContext(serverRef.env);
@@ -151275,7 +151134,7 @@ var init_client5 = __esm(() => {
151275
151134
  const client = new Client({
151276
151135
  name: "claude-code",
151277
151136
  title: "Claude Code",
151278
- version: "1.0.3-fork.2a74621",
151137
+ version: "1.0.3-fork.4340338",
151279
151138
  description: "Anthropic's agentic coding tool",
151280
151139
  websiteUrl: PRODUCT_URL
151281
151140
  }, {
@@ -152783,7 +152642,6 @@ function getExtraBodyParams(betaHeaders) {
152783
152642
  logForDebugging(`Error parsing CLAUDE_CODE_EXTRA_BODY: ${errorMessage(error)}`, { level: "error" });
152784
152643
  }
152785
152644
  }
152786
- if (false) {}
152787
152645
  if (betaHeaders && betaHeaders.length > 0) {
152788
152646
  if (result.anthropic_beta && Array.isArray(result.anthropic_beta)) {
152789
152647
  const existingHeaders = result.anthropic_beta;
@@ -157850,10 +157708,10 @@ function stripUnavailableToolReferencesFromUserMessage(message, availableToolNam
157850
157708
  if (!Array.isArray(content)) {
157851
157709
  return message;
157852
157710
  }
157853
- const hasUnavailableReference = content.some((block) => block.type === "tool_result" && Array.isArray(block.content) && block.content.some((c2) => {
157854
- if (!isToolReferenceBlock(c2))
157711
+ const hasUnavailableReference = content.some((block) => block.type === "tool_result" && Array.isArray(block.content) && block.content.some((c) => {
157712
+ if (!isToolReferenceBlock(c))
157855
157713
  return false;
157856
- const toolName = c2.tool_name;
157714
+ const toolName = c.tool_name;
157857
157715
  return toolName && !availableToolNames.has(normalizeLegacyToolName(toolName));
157858
157716
  }));
157859
157717
  if (!hasUnavailableReference) {
@@ -157867,10 +157725,10 @@ function stripUnavailableToolReferencesFromUserMessage(message, availableToolNam
157867
157725
  if (block.type !== "tool_result" || !Array.isArray(block.content)) {
157868
157726
  return block;
157869
157727
  }
157870
- const filteredContent = block.content.filter((c2) => {
157871
- if (!isToolReferenceBlock(c2))
157728
+ const filteredContent = block.content.filter((c) => {
157729
+ if (!isToolReferenceBlock(c))
157872
157730
  return true;
157873
- const rawToolName = c2.tool_name;
157731
+ const rawToolName = c.tool_name;
157874
157732
  if (!rawToolName)
157875
157733
  return true;
157876
157734
  const toolName = normalizeLegacyToolName(rawToolName);
@@ -157916,7 +157774,7 @@ function stripToolReferenceBlocksFromUserMessage(message) {
157916
157774
  if (block.type !== "tool_result" || !Array.isArray(block.content)) {
157917
157775
  return block;
157918
157776
  }
157919
- const filteredContent = block.content.filter((c2) => !isToolReferenceBlock(c2));
157777
+ const filteredContent = block.content.filter((c) => !isToolReferenceBlock(c));
157920
157778
  if (filteredContent.length === 0) {
157921
157779
  return {
157922
157780
  ...block,
@@ -158035,10 +157893,10 @@ function sanitizeErrorToolResultContent(messages) {
158035
157893
  const trContent = b2.content;
158036
157894
  if (!Array.isArray(trContent))
158037
157895
  return b2;
158038
- if (trContent.every((c2) => c2.type === "text"))
157896
+ if (trContent.every((c) => c.type === "text"))
158039
157897
  return b2;
158040
157898
  changed = true;
158041
- const texts = trContent.filter((c2) => c2.type === "text").map((c2) => c2.text);
157899
+ const texts = trContent.filter((c) => c.type === "text").map((c) => c.text);
158042
157900
  const textOnly = texts.length > 0 ? [{ type: "text", text: texts.join(`
158043
157901
 
158044
157902
  `) }] : [];
@@ -158268,7 +158126,7 @@ function normalizeMessagesForAPI(messages, tools = []) {
158268
158126
  const attachmentMessage = checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_chair_sermon") ? rawAttachmentMessage.map(ensureSystemReminderWrap) : rawAttachmentMessage;
158269
158127
  const lastMessage = last_default(result);
158270
158128
  if (lastMessage?.type === "user") {
158271
- result[result.length - 1] = attachmentMessage.reduce((p, c2) => mergeUserMessagesAndToolResults(p, c2), lastMessage);
158129
+ result[result.length - 1] = attachmentMessage.reduce((p, c) => mergeUserMessagesAndToolResults(p, c), lastMessage);
158272
158130
  return;
158273
158131
  }
158274
158132
  result.push(...attachmentMessage);
@@ -160156,9 +160014,9 @@ function ensureToolResultPairing(messages) {
160156
160014
  continue;
160157
160015
  }
160158
160016
  const serverResultIds = new Set;
160159
- for (const c2 of msg.message.content) {
160160
- if (typeof c2 !== "string" && "tool_use_id" in c2 && typeof c2.tool_use_id === "string") {
160161
- serverResultIds.add(c2.tool_use_id);
160017
+ for (const c of msg.message.content) {
160018
+ if (typeof c !== "string" && "tool_use_id" in c && typeof c.tool_use_id === "string") {
160019
+ serverResultIds.add(c.tool_use_id);
160162
160020
  }
160163
160021
  }
160164
160022
  const seenToolUseIds = new Set;
@@ -160891,7 +160749,7 @@ var init_withRetry = __esm(() => {
160891
160749
 
160892
160750
  // src/services/policyLimits/types.ts
160893
160751
  var PolicyLimitsResponseSchema;
160894
- var init_types12 = __esm(() => {
160752
+ var init_types11 = __esm(() => {
160895
160753
  init_v4();
160896
160754
  init_lazySchema();
160897
160755
  PolicyLimitsResponseSchema = lazySchema(() => exports_external.object({
@@ -161286,7 +161144,7 @@ var init_policyLimits = __esm(() => {
161286
161144
  init_slowOperations();
161287
161145
  init_userAgent();
161288
161146
  init_withRetry();
161289
- init_types12();
161147
+ init_types11();
161290
161148
  POLLING_INTERVAL_MS2 = 60 * 60 * 1000;
161291
161149
  ESSENTIAL_TRAFFIC_DENY_ON_MISS = new Set(["allow_product_feedback"]);
161292
161150
  });
@@ -161304,7 +161162,7 @@ var init_feedback = __esm(() => {
161304
161162
  description: `Submit feedback about Claude Code`,
161305
161163
  argumentHint: "[report]",
161306
161164
  isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
161307
- load: () => import("./chunk-jr58a333.js")
161165
+ load: () => import("./chunk-5w9508r8.js")
161308
161166
  };
161309
161167
  feedback_default = feedback;
161310
161168
  });
@@ -161318,7 +161176,7 @@ var init_clear = __esm(() => {
161318
161176
  description: "Clear conversation history and free up context",
161319
161177
  aliases: ["reset", "new"],
161320
161178
  supportsNonInteractive: false,
161321
- load: () => import("./chunk-6d8k2crm.js")
161179
+ load: () => import("./chunk-v848vvsd.js")
161322
161180
  };
161323
161181
  clear_default = clear;
161324
161182
  });
@@ -161332,7 +161190,7 @@ var init_color2 = __esm(() => {
161332
161190
  description: "Set the prompt bar color for this session",
161333
161191
  immediate: true,
161334
161192
  argumentHint: "<color|default>",
161335
- load: () => import("./chunk-48gwzq50.js")
161193
+ load: () => import("./chunk-r9ktxyhj.js")
161336
161194
  };
161337
161195
  color_default = color2;
161338
161196
  });
@@ -161432,7 +161290,7 @@ var init_copy = __esm(() => {
161432
161290
  type: "local-jsx",
161433
161291
  name: "copy",
161434
161292
  description: "Copy Claude's last response to clipboard (or /copy N for the Nth-latest)",
161435
- load: () => import("./chunk-xsx5x369.js")
161293
+ load: () => import("./chunk-az76mftv.js")
161436
161294
  };
161437
161295
  copy_default = copy;
161438
161296
  });
@@ -161459,7 +161317,7 @@ var init_desktop = __esm(() => {
161459
161317
  get isHidden() {
161460
161318
  return !isSupportedPlatform2();
161461
161319
  },
161462
- load: () => import("./chunk-0xpb84zw.js")
161320
+ load: () => import("./chunk-za46vam7.js")
161463
161321
  };
161464
161322
  desktop_default = desktop;
161465
161323
  });
@@ -161622,7 +161480,7 @@ var init_compact2 = __esm(() => {
161622
161480
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
161623
161481
  supportsNonInteractive: true,
161624
161482
  argumentHint: "<optional custom summarization instructions>",
161625
- load: () => import("./chunk-yv9c6hfk.js")
161483
+ load: () => import("./chunk-pgbj83ph.js")
161626
161484
  };
161627
161485
  compact_default = compact;
161628
161486
  });
@@ -161635,7 +161493,7 @@ var init_config7 = __esm(() => {
161635
161493
  type: "local-jsx",
161636
161494
  name: "config",
161637
161495
  description: "Open config panel",
161638
- load: () => import("./chunk-c1k5g6t4.js")
161496
+ load: () => import("./chunk-fqqpn22z.js")
161639
161497
  };
161640
161498
  config_default = config2;
161641
161499
  });
@@ -161649,7 +161507,7 @@ var init_context3 = __esm(() => {
161649
161507
  description: "Visualize current context usage as a colored grid",
161650
161508
  isEnabled: () => !getIsNonInteractiveSession(),
161651
161509
  type: "local-jsx",
161652
- load: () => import("./chunk-5gmd05y0.js")
161510
+ load: () => import("./chunk-mckj2yzt.js")
161653
161511
  };
161654
161512
  contextNonInteractive = {
161655
161513
  type: "local",
@@ -161662,7 +161520,7 @@ var init_context3 = __esm(() => {
161662
161520
  isEnabled() {
161663
161521
  return getIsNonInteractiveSession();
161664
161522
  },
161665
- load: () => import("./chunk-mvrpg273.js")
161523
+ load: () => import("./chunk-2ejryfa7.js")
161666
161524
  };
161667
161525
  });
161668
161526
 
@@ -161681,7 +161539,7 @@ var init_cost = __esm(() => {
161681
161539
  return isClaudeAISubscriber();
161682
161540
  },
161683
161541
  supportsNonInteractive: true,
161684
- load: () => import("./chunk-q1mq6fj3.js")
161542
+ load: () => import("./chunk-5cn51mmj.js")
161685
161543
  };
161686
161544
  cost_default = cost;
161687
161545
  });
@@ -161693,7 +161551,7 @@ var init_diff2 = __esm(() => {
161693
161551
  type: "local-jsx",
161694
161552
  name: "diff",
161695
161553
  description: "View uncommitted changes and per-turn diffs",
161696
- load: () => import("./chunk-2ge9kmgv.js")
161554
+ load: () => import("./chunk-gvdnqkp4.js")
161697
161555
  };
161698
161556
  });
161699
161557
 
@@ -161712,7 +161570,7 @@ var init_doctor = __esm(() => {
161712
161570
  description: "Diagnose and verify your Claude Code installation and settings",
161713
161571
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
161714
161572
  type: "local-jsx",
161715
- load: () => import("./chunk-5c2m9q8v.js")
161573
+ load: () => import("./chunk-j74312dg.js")
161716
161574
  };
161717
161575
  doctor_default = doctor;
161718
161576
  });
@@ -161724,7 +161582,7 @@ var init_memory = __esm(() => {
161724
161582
  type: "local-jsx",
161725
161583
  name: "memory",
161726
161584
  description: "Edit Claude memory files",
161727
- load: () => import("./chunk-vjf2rt5s.js")
161585
+ load: () => import("./chunk-b7z60g72.js")
161728
161586
  };
161729
161587
  memory_default = memory;
161730
161588
  });
@@ -161736,7 +161594,7 @@ var init_help = __esm(() => {
161736
161594
  type: "local-jsx",
161737
161595
  name: "help",
161738
161596
  description: "Show help and available commands",
161739
- load: () => import("./chunk-5k5a32tj.js")
161597
+ load: () => import("./chunk-5fpvz30x.js")
161740
161598
  };
161741
161599
  help_default = help;
161742
161600
  });
@@ -161749,7 +161607,7 @@ var init_ide2 = __esm(() => {
161749
161607
  name: "ide",
161750
161608
  description: "Manage IDE integrations and show status",
161751
161609
  argumentHint: "[open]",
161752
- load: () => import("./chunk-3s498jy8.js")
161610
+ load: () => import("./chunk-zrc2t3gc.js")
161753
161611
  };
161754
161612
  ide_default = ide;
161755
161613
  });
@@ -162074,7 +161932,7 @@ var init_keybindings = __esm(() => {
162074
161932
  isEnabled: () => isKeybindingCustomizationEnabled(),
162075
161933
  supportsNonInteractive: false,
162076
161934
  type: "local",
162077
- load: () => import("./chunk-pd6ph5ep.js")
161935
+ load: () => import("./chunk-j7fnpv8f.js")
162078
161936
  };
162079
161937
  keybindings_default = keybindings;
162080
161938
  });
@@ -162085,7 +161943,7 @@ var login_default = () => ({
162085
161943
  name: "login",
162086
161944
  description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
162087
161945
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
162088
- load: () => import("./chunk-b292a9es.js")
161946
+ load: () => import("./chunk-2q11w3a9.js")
162089
161947
  });
162090
161948
  var init_login = __esm(() => {
162091
161949
  init_auth();
@@ -162101,7 +161959,7 @@ var init_logout2 = __esm(() => {
162101
161959
  name: "logout",
162102
161960
  description: "Sign out from your Anthropic account",
162103
161961
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
162104
- load: () => import("./chunk-xzcz58pv.js")
161962
+ load: () => import("./chunk-rebcsf94.js")
162105
161963
  };
162106
161964
  });
162107
161965
 
@@ -162115,7 +161973,7 @@ var init_install_github_app = __esm(() => {
162115
161973
  description: "Set up Claude GitHub Actions for a repository",
162116
161974
  availability: ["claude-ai", "console"],
162117
161975
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
162118
- load: () => import("./chunk-h4qh9a0e.js")
161976
+ load: () => import("./chunk-e39ddyaw.js")
162119
161977
  };
162120
161978
  install_github_app_default = installGitHubApp;
162121
161979
  });
@@ -162129,7 +161987,7 @@ var init_install_slack_app = __esm(() => {
162129
161987
  description: "Install the Claude Slack app",
162130
161988
  availability: ["claude-ai"],
162131
161989
  supportsNonInteractive: false,
162132
- load: () => import("./chunk-2qp0vrvd.js")
161990
+ load: () => import("./chunk-2tknyxdm.js")
162133
161991
  };
162134
161992
  install_slack_app_default = installSlackApp;
162135
161993
  });
@@ -162149,7 +162007,7 @@ var init_mcp = __esm(() => {
162149
162007
  description: "Manage MCP servers",
162150
162008
  immediate: true,
162151
162009
  argumentHint: "[enable|disable [server-name]]",
162152
- load: () => import("./chunk-fgebtwax.js")
162010
+ load: () => import("./chunk-n379jamq.js")
162153
162011
  };
162154
162012
  mcp_default = mcp;
162155
162013
  });
@@ -162162,7 +162020,7 @@ var init_mobile = __esm(() => {
162162
162020
  name: "mobile",
162163
162021
  aliases: ["ios", "android"],
162164
162022
  description: "Show QR code to download the Claude mobile app",
162165
- load: () => import("./chunk-sv3cz176.js")
162023
+ load: () => import("./chunk-6d8ae7ff.js")
162166
162024
  };
162167
162025
  mobile_default = mobile;
162168
162026
  });
@@ -162278,7 +162136,7 @@ var init_release_notes = __esm(() => {
162278
162136
  name: "release-notes",
162279
162137
  type: "local",
162280
162138
  supportsNonInteractive: true,
162281
- load: () => import("./chunk-ae7s1rks.js")
162139
+ load: () => import("./chunk-5r4k6yv4.js")
162282
162140
  };
162283
162141
  release_notes_default = releaseNotes;
162284
162142
  });
@@ -162292,7 +162150,7 @@ var init_rename = __esm(() => {
162292
162150
  description: "Rename the current conversation",
162293
162151
  immediate: true,
162294
162152
  argumentHint: "[name]",
162295
- load: () => import("./chunk-pb04jxp7.js")
162153
+ load: () => import("./chunk-nvf4nm97.js")
162296
162154
  };
162297
162155
  rename_default = rename7;
162298
162156
  });
@@ -162306,7 +162164,7 @@ var init_resume = __esm(() => {
162306
162164
  description: "Resume a previous conversation",
162307
162165
  aliases: ["continue"],
162308
162166
  argumentHint: "[conversation id or search term]",
162309
- load: () => import("./chunk-qfzfjrk3.js")
162167
+ load: () => import("./chunk-c2k7mmbp.js")
162310
162168
  };
162311
162169
  resume_default = resume;
162312
162170
  });
@@ -162362,7 +162220,7 @@ var init_review = __esm(() => {
162362
162220
  name: "ultrareview",
162363
162221
  description: `~10\u201320 min \xB7 Finds and verifies bugs in your branch. Runs in Claude Code on the web. See ${CCR_TERMS_URL}`,
162364
162222
  isEnabled: () => isUltrareviewEnabled(),
162365
- load: () => import("./chunk-557wwsxe.js")
162223
+ load: () => import("./chunk-yp8nr89q.js")
162366
162224
  };
162367
162225
  review_default = review;
162368
162226
  });
@@ -162380,7 +162238,7 @@ var init_session = __esm(() => {
162380
162238
  get isHidden() {
162381
162239
  return !getIsRemoteMode();
162382
162240
  },
162383
- load: () => import("./chunk-t133w5tm.js")
162241
+ load: () => import("./chunk-pec0gmp4.js")
162384
162242
  };
162385
162243
  session_default = session;
162386
162244
  });
@@ -162398,7 +162256,7 @@ var init_skills = __esm(() => {
162398
162256
  type: "local-jsx",
162399
162257
  name: "skills",
162400
162258
  description: "List available skills",
162401
- load: () => import("./chunk-8vcz9eks.js")
162259
+ load: () => import("./chunk-mf3dhthm.js")
162402
162260
  };
162403
162261
  skills_default = skills;
162404
162262
  });
@@ -162411,7 +162269,7 @@ var init_status2 = __esm(() => {
162411
162269
  name: "status",
162412
162270
  description: "Show Claude Code status including version, model, account, API connectivity, and tool statuses",
162413
162271
  immediate: true,
162414
- load: () => import("./chunk-sy4rdq5h.js")
162272
+ load: () => import("./chunk-t0kqgh0b.js")
162415
162273
  };
162416
162274
  status_default = status;
162417
162275
  });
@@ -162424,7 +162282,7 @@ var init_tasks3 = __esm(() => {
162424
162282
  name: "tasks",
162425
162283
  aliases: ["bashes"],
162426
162284
  description: "List and manage background tasks",
162427
- load: () => import("./chunk-c9xk7hme.js")
162285
+ load: () => import("./chunk-5zjws6ae.js")
162428
162286
  };
162429
162287
  tasks_default = tasks;
162430
162288
  });
@@ -162688,7 +162546,7 @@ var init_terminalSetup2 = __esm(() => {
162688
162546
  name: "terminal-setup",
162689
162547
  description: env.terminal === "Apple_Terminal" ? "Enable Option+Enter key binding for newlines and visual bell" : "Install Shift+Enter key binding for newlines",
162690
162548
  isHidden: env.terminal !== null && env.terminal in NATIVE_CSIU_TERMINALS,
162691
- load: () => import("./chunk-s56m7vrp.js")
162549
+ load: () => import("./chunk-rxr2tk26.js")
162692
162550
  };
162693
162551
  terminalSetup_default = terminalSetup;
162694
162552
  });
@@ -162701,7 +162559,7 @@ var init_usage = __esm(() => {
162701
162559
  name: "usage",
162702
162560
  description: "Show plan usage limits",
162703
162561
  availability: ["claude-ai"],
162704
- load: () => import("./chunk-rs9gw711.js")
162562
+ load: () => import("./chunk-nmd0adrz.js")
162705
162563
  };
162706
162564
  });
162707
162565
 
@@ -162712,7 +162570,7 @@ var init_theme2 = __esm(() => {
162712
162570
  type: "local-jsx",
162713
162571
  name: "theme",
162714
162572
  description: "Change the theme",
162715
- load: () => import("./chunk-302gxdf9.js")
162573
+ load: () => import("./chunk-tbx3bqa1.js")
162716
162574
  };
162717
162575
  theme_default = theme;
162718
162576
  });
@@ -162725,7 +162583,7 @@ var init_vim = __esm(() => {
162725
162583
  description: "Toggle between Vim and Normal editing modes",
162726
162584
  supportsNonInteractive: false,
162727
162585
  type: "local",
162728
- load: () => import("./chunk-70spdapk.js")
162586
+ load: () => import("./chunk-0b431cxv.js")
162729
162587
  };
162730
162588
  vim_default = command5;
162731
162589
  });
@@ -162739,7 +162597,7 @@ var init_thinkback = __esm(() => {
162739
162597
  name: "think-back",
162740
162598
  description: "Your 2025 Claude Code Year in Review",
162741
162599
  isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
162742
- load: () => import("./chunk-zv2r5chy.js")
162600
+ load: () => import("./chunk-ts0wf0vk.js")
162743
162601
  };
162744
162602
  thinkback_default = thinkback;
162745
162603
  });
@@ -162755,7 +162613,7 @@ var init_thinkback_play = __esm(() => {
162755
162613
  isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
162756
162614
  isHidden: true,
162757
162615
  supportsNonInteractive: false,
162758
- load: () => import("./chunk-ncxetb9w.js")
162616
+ load: () => import("./chunk-q0b4zymt.js")
162759
162617
  };
162760
162618
  thinkback_play_default = thinkbackPlay;
162761
162619
  });
@@ -162768,7 +162626,7 @@ var init_permissions3 = __esm(() => {
162768
162626
  name: "permissions",
162769
162627
  aliases: ["allowed-tools"],
162770
162628
  description: "Manage allow & deny tool permission rules",
162771
- load: () => import("./chunk-whb2mrcf.js")
162629
+ load: () => import("./chunk-nf0k17z7.js")
162772
162630
  };
162773
162631
  permissions_default = permissions;
162774
162632
  });
@@ -162781,7 +162639,7 @@ var init_plan = __esm(() => {
162781
162639
  name: "plan",
162782
162640
  description: "Enable plan mode or view the current session plan",
162783
162641
  argumentHint: "[open|<description>]",
162784
- load: () => import("./chunk-a9nr12c7.js")
162642
+ load: () => import("./chunk-0d79kjhf.js")
162785
162643
  };
162786
162644
  plan_default = plan;
162787
162645
  });
@@ -162814,7 +162672,7 @@ var init_fast = __esm(() => {
162814
162672
  get immediate() {
162815
162673
  return shouldInferenceConfigCommandBeImmediate();
162816
162674
  },
162817
- load: () => import("./chunk-4v0qvahs.js")
162675
+ load: () => import("./chunk-g5724c2a.js")
162818
162676
  };
162819
162677
  fast_default = fast;
162820
162678
  });
@@ -162837,8 +162695,20 @@ var init_passes = __esm(() => {
162837
162695
  const { eligible, hasCache } = checkCachedPassesEligibility();
162838
162696
  return !eligible || !hasCache;
162839
162697
  },
162840
- load: () => import("./chunk-4tyttyn2.js")
162698
+ load: () => import("./chunk-vhvk7eah.js")
162699
+ };
162700
+ });
162701
+
162702
+ // src/commands/permission/index.ts
162703
+ var permission, permission_default;
162704
+ var init_permission = __esm(() => {
162705
+ permission = {
162706
+ type: "local-jsx",
162707
+ name: "permission",
162708
+ description: "Switch between Default and Full Access permission modes",
162709
+ load: () => import("./chunk-nj7s2shm.js")
162841
162710
  };
162711
+ permission_default = permission;
162842
162712
  });
162843
162713
 
162844
162714
  // src/commands/privacy-settings/index.ts
@@ -162852,7 +162722,7 @@ var init_privacy_settings = __esm(() => {
162852
162722
  isEnabled: () => {
162853
162723
  return isConsumerSubscriber();
162854
162724
  },
162855
- load: () => import("./chunk-v2fqnqgx.js")
162725
+ load: () => import("./chunk-c3e3gv3m.js")
162856
162726
  };
162857
162727
  privacy_settings_default = privacySettings;
162858
162728
  });
@@ -162865,7 +162735,7 @@ var init_hooks = __esm(() => {
162865
162735
  name: "hooks",
162866
162736
  description: "View hook configurations for tool events",
162867
162737
  immediate: true,
162868
- load: () => import("./chunk-37dbhqqr.js")
162738
+ load: () => import("./chunk-ceww3aby.js")
162869
162739
  };
162870
162740
  hooks_default = hooks;
162871
162741
  });
@@ -162893,7 +162763,7 @@ var init_branch = __esm(() => {
162893
162763
  aliases: ["fork"],
162894
162764
  description: "Create a branch of the current conversation at this point",
162895
162765
  argumentHint: "[name]",
162896
- load: () => import("./chunk-mzfgg9ne.js")
162766
+ load: () => import("./chunk-d0phhjqe.js")
162897
162767
  };
162898
162768
  branch_default = branch;
162899
162769
  });
@@ -162905,7 +162775,7 @@ var init_agents = __esm(() => {
162905
162775
  type: "local-jsx",
162906
162776
  name: "agents",
162907
162777
  description: "Manage agent configurations",
162908
- load: () => import("./chunk-761tmgwx.js")
162778
+ load: () => import("./chunk-ff4c8v48.js")
162909
162779
  };
162910
162780
  agents_default = agents;
162911
162781
  });
@@ -162919,7 +162789,7 @@ var init_plugin2 = __esm(() => {
162919
162789
  aliases: ["plugins", "marketplace"],
162920
162790
  description: "Manage Claude Code plugins",
162921
162791
  immediate: true,
162922
- load: () => import("./chunk-x2qg3sdd.js")
162792
+ load: () => import("./chunk-jdzpgdqx.js")
162923
162793
  };
162924
162794
  plugin_default = plugin;
162925
162795
  });
@@ -162932,7 +162802,7 @@ var init_reload_plugins = __esm(() => {
162932
162802
  name: "reload-plugins",
162933
162803
  description: "Activate pending plugin changes in the current session",
162934
162804
  supportsNonInteractive: false,
162935
- load: () => import("./chunk-hmtttwpt.js")
162805
+ load: () => import("./chunk-6vm8swhm.js")
162936
162806
  };
162937
162807
  reload_plugins_default = reloadPlugins;
162938
162808
  });
@@ -162961,7 +162831,7 @@ var init_heapdump = __esm(() => {
162961
162831
  description: "Dump the JS heap to ~/Desktop",
162962
162832
  isHidden: true,
162963
162833
  supportsNonInteractive: true,
162964
- load: () => import("./chunk-525vnqc3.js")
162834
+ load: () => import("./chunk-xm0cv5dg.js")
162965
162835
  };
162966
162836
  heapdump_default = heapDump;
162967
162837
  });
@@ -162974,7 +162844,7 @@ var init_mock_limits = __esm(() => {
162974
162844
 
162975
162845
  // src/bridge/types.ts
162976
162846
  var DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_INSTRUCTION = "Remote Control is only available with claude.ai subscriptions. Please use `/login` to sign in with your claude.ai account.", BRIDGE_LOGIN_ERROR, REMOTE_CONTROL_DISCONNECTED_MSG = "Remote Control disconnected.";
162977
- var init_types13 = __esm(() => {
162847
+ var init_types12 = __esm(() => {
162978
162848
  DEFAULT_SESSION_TIMEOUT_MS = 24 * 60 * 60 * 1000;
162979
162849
  BRIDGE_LOGIN_ERROR = `Error: You must be logged in to use Remote Control.
162980
162850
 
@@ -163222,7 +163092,7 @@ var BETA_HEADER = "environments-2025-11-01", SAFE_ID_PATTERN, BridgeFatalError;
163222
163092
  var init_bridgeApi = __esm(() => {
163223
163093
  init_axios();
163224
163094
  init_debugUtils();
163225
- init_types13();
163095
+ init_types12();
163226
163096
  SAFE_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
163227
163097
  BridgeFatalError = class BridgeFatalError extends Error {
163228
163098
  status;
@@ -163456,7 +163326,7 @@ var init_bridge_kick = __esm(() => {
163456
163326
  var call3 = async () => {
163457
163327
  return {
163458
163328
  type: "text",
163459
- value: `${"1.0.3-fork.2a74621"} (built ${"2026-04-02T14:44:42.642Z"})`
163329
+ value: `${"1.0.3-fork.4340338"} (built ${"2026-04-02T15:44:46.402Z"})`
163460
163330
  };
163461
163331
  }, version, version_default;
163462
163332
  var init_version = __esm(() => {
@@ -163532,7 +163402,7 @@ var init_sandbox_toggle = __esm(() => {
163532
163402
  },
163533
163403
  immediate: true,
163534
163404
  type: "local-jsx",
163535
- load: () => import("./chunk-78vqjj7t.js")
163405
+ load: () => import("./chunk-x31qn6d0.js")
163536
163406
  };
163537
163407
  sandbox_toggle_default = command6;
163538
163408
  });
@@ -163547,7 +163417,7 @@ var init_chrome = __esm(() => {
163547
163417
  availability: ["claude-ai"],
163548
163418
  isEnabled: () => !getIsNonInteractiveSession(),
163549
163419
  type: "local-jsx",
163550
- load: () => import("./chunk-58xxf3tz.js")
163420
+ load: () => import("./chunk-1yttf0na.js")
163551
163421
  };
163552
163422
  chrome_default = command7;
163553
163423
  });
@@ -163734,7 +163604,7 @@ async function writeSkillFiles(dir, files2) {
163734
163604
  }
163735
163605
  await Promise.all([...byParent].map(async ([parent, entries]) => {
163736
163606
  await mkdir21(parent, { recursive: true, mode: 448 });
163737
- await Promise.all(entries.map(([p, c2]) => safeWriteFile(p, c2)));
163607
+ await Promise.all(entries.map(([p, c]) => safeWriteFile(p, c)));
163738
163608
  }));
163739
163609
  }
163740
163610
  async function safeWriteFile(p, content) {
@@ -163788,7 +163658,7 @@ var init_exit = __esm(() => {
163788
163658
  aliases: ["quit"],
163789
163659
  description: "Exit the REPL",
163790
163660
  immediate: true,
163791
- load: () => import("./chunk-f4407gzr.js")
163661
+ load: () => import("./chunk-mw8bhzat.js")
163792
163662
  };
163793
163663
  exit_default = exit;
163794
163664
  });
@@ -163801,7 +163671,7 @@ var init_export = __esm(() => {
163801
163671
  name: "export",
163802
163672
  description: "Export the current conversation to a file or clipboard",
163803
163673
  argumentHint: "[filename]",
163804
- load: () => import("./chunk-ffk6brrm.js")
163674
+ load: () => import("./chunk-we8np85d.js")
163805
163675
  };
163806
163676
  export_default = exportCommand;
163807
163677
  });
@@ -163821,7 +163691,7 @@ var init_model2 = __esm(() => {
163821
163691
  get immediate() {
163822
163692
  return shouldInferenceConfigCommandBeImmediate();
163823
163693
  },
163824
- load: () => import("./chunk-fw5ev6dp.js")
163694
+ load: () => import("./chunk-4vgk6znf.js")
163825
163695
  };
163826
163696
  });
163827
163697
 
@@ -163834,7 +163704,7 @@ var init_tag = __esm(() => {
163834
163704
  description: "Toggle a searchable tag on the current session",
163835
163705
  isEnabled: () => process.env.USER_TYPE === "ant",
163836
163706
  argumentHint: "<tag-name>",
163837
- load: () => import("./chunk-geyx5ybh.js")
163707
+ load: () => import("./chunk-8f999007.js")
163838
163708
  };
163839
163709
  tag_default = tag;
163840
163710
  });
@@ -163865,7 +163735,7 @@ var init_remote_env = __esm(() => {
163865
163735
  get isHidden() {
163866
163736
  return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
163867
163737
  },
163868
- load: () => import("./chunk-37dydh7h.js")
163738
+ load: () => import("./chunk-9gatg7sb.js")
163869
163739
  };
163870
163740
  });
163871
163741
 
@@ -163880,7 +163750,7 @@ var init_upgrade = __esm(() => {
163880
163750
  description: "Upgrade to Max for higher rate limits and more Opus",
163881
163751
  availability: ["claude-ai"],
163882
163752
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
163883
- load: () => import("./chunk-xxr0mzqt.js")
163753
+ load: () => import("./chunk-47d8b4jw.js")
163884
163754
  };
163885
163755
  upgrade_default = upgrade;
163886
163756
  });
@@ -163900,7 +163770,7 @@ var init_rate_limit_options = __esm(() => {
163900
163770
  return true;
163901
163771
  },
163902
163772
  isHidden: true,
163903
- load: () => import("./chunk-tdbpneze.js")
163773
+ load: () => import("./chunk-j9psx0nj.js")
163904
163774
  };
163905
163775
  rate_limit_options_default = rateLimitOptions;
163906
163776
  });
@@ -163942,7 +163812,7 @@ var init_effort2 = __esm(() => {
163942
163812
  get immediate() {
163943
163813
  return shouldInferenceConfigCommandBeImmediate();
163944
163814
  },
163945
- load: () => import("./chunk-693w4qr8.js")
163815
+ load: () => import("./chunk-dn4tbcd1.js")
163946
163816
  };
163947
163817
  });
163948
163818
 
@@ -163953,7 +163823,7 @@ var init_stats = __esm(() => {
163953
163823
  type: "local-jsx",
163954
163824
  name: "stats",
163955
163825
  description: "Show your Claude Code usage statistics and activity",
163956
- load: () => import("./chunk-kk4h10r3.js")
163826
+ load: () => import("./chunk-2yqnwxsz.js")
163957
163827
  };
163958
163828
  stats_default = stats;
163959
163829
  });
@@ -163989,6 +163859,23 @@ var init_agents_platform = __esm(() => {
163989
163859
  agents_platform_default = { name: "agents-platform", type: "local", isEnabled: () => false };
163990
163860
  });
163991
163861
 
163862
+ // src/commands/buddy/index.ts
163863
+ var exports_buddy = {};
163864
+ __export(exports_buddy, {
163865
+ default: () => buddy_default
163866
+ });
163867
+ var buddy, buddy_default;
163868
+ var init_buddy = __esm(() => {
163869
+ buddy = {
163870
+ type: "local",
163871
+ name: "buddy",
163872
+ description: "View and manage your companion buddy",
163873
+ supportsNonInteractive: false,
163874
+ load: () => import("./chunk-bbrbbnb1.js")
163875
+ };
163876
+ buddy_default = buddy;
163877
+ });
163878
+
163992
163879
  // src/commands.ts
163993
163880
  async function getSkills(cwd) {
163994
163881
  try {
@@ -164052,13 +163939,13 @@ async function getCommands(cwd) {
164052
163939
  if (dynamicSkills2.length === 0) {
164053
163940
  return baseCommands;
164054
163941
  }
164055
- const baseCommandNames = new Set(baseCommands.map((c2) => c2.name));
163942
+ const baseCommandNames = new Set(baseCommands.map((c) => c.name));
164056
163943
  const uniqueDynamicSkills = dynamicSkills2.filter((s) => !baseCommandNames.has(s.name) && meetsAvailabilityRequirement(s) && isCommandEnabled(s));
164057
163944
  if (uniqueDynamicSkills.length === 0) {
164058
163945
  return baseCommands;
164059
163946
  }
164060
- const builtInNames = new Set(COMMANDS().map((c2) => c2.name));
164061
- const insertIndex = baseCommands.findIndex((c2) => builtInNames.has(c2.name));
163947
+ const builtInNames = new Set(COMMANDS().map((c) => c.name));
163948
+ const insertIndex = baseCommands.findIndex((c) => builtInNames.has(c.name));
164062
163949
  if (insertIndex === -1) {
164063
163950
  return [...baseCommands, ...uniqueDynamicSkills];
164064
163951
  }
@@ -164132,7 +164019,7 @@ function formatDescriptionWithSource(cmd) {
164132
164019
  }
164133
164020
  return `${cmd.description} (${getSettingSourceName(cmd.source)})`;
164134
164021
  }
164135
- var agentsPlatform, proactive = null, briefCommand = null, assistantCommand = null, bridge = null, remoteControlServerCommand = null, voiceCommand = null, forceSnip = null, workflowsCmd = null, webCmd = null, clearSkillIndexCache = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null, buddy = null, usageReport, INTERNAL_ONLY_COMMANDS, COMMANDS, builtInCommandNames, getWorkflowCommands = null, loadAllCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS;
164022
+ var agentsPlatform, proactive = null, briefCommand = null, assistantCommand = null, bridge = null, remoteControlServerCommand = null, voiceCommand = null, forceSnip = null, workflowsCmd = null, webCmd = null, clearSkillIndexCache = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null, buddy2, usageReport, INTERNAL_ONLY_COMMANDS, COMMANDS, builtInCommandNames, getWorkflowCommands = null, loadAllCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS;
164136
164023
  var init_commands2 = __esm(() => {
164137
164024
  init_add_dir();
164138
164025
  init_autofix_pr();
@@ -164191,6 +164078,7 @@ var init_commands2 = __esm(() => {
164191
164078
  init_plan();
164192
164079
  init_fast();
164193
164080
  init_passes();
164081
+ init_permission();
164194
164082
  init_privacy_settings();
164195
164083
  init_hooks();
164196
164084
  init_files2();
@@ -164240,6 +164128,7 @@ var init_commands2 = __esm(() => {
164240
164128
  init_command();
164241
164129
  init_command();
164242
164130
  agentsPlatform = process.env.USER_TYPE === "ant" ? (init_agents_platform(), __toCommonJS(exports_agents_platform)).default : null;
164131
+ buddy2 = (init_buddy(), __toCommonJS(exports_buddy)).default;
164243
164132
  usageReport = {
164244
164133
  type: "prompt",
164245
164134
  name: "insights",
@@ -164248,7 +164137,7 @@ var init_commands2 = __esm(() => {
164248
164137
  progressMessage: "analyzing your sessions",
164249
164138
  source: "builtin",
164250
164139
  async getPromptForCommand(args, context2) {
164251
- const real = (await import("./chunk-6azerawy.js")).default;
164140
+ const real = (await import("./chunk-eqmj34gv.js")).default;
164252
164141
  if (real.type !== "prompt")
164253
164142
  throw new Error("unreachable");
164254
164143
  return real.getPromptForCommand(args, context2);
@@ -164348,7 +164237,7 @@ var init_commands2 = __esm(() => {
164348
164237
  vim_default,
164349
164238
  ...webCmd ? [webCmd] : [],
164350
164239
  ...forkCmd ? [forkCmd] : [],
164351
- ...buddy ? [buddy] : [],
164240
+ ...buddy2 ? [buddy2] : [],
164352
164241
  ...proactive ? [proactive] : [],
164353
164242
  ...briefCommand ? [briefCommand] : [],
164354
164243
  ...assistantCommand ? [assistantCommand] : [],
@@ -164357,6 +164246,7 @@ var init_commands2 = __esm(() => {
164357
164246
  ...voiceCommand ? [voiceCommand] : [],
164358
164247
  thinkback_default,
164359
164248
  thinkback_play_default,
164249
+ permission_default,
164360
164250
  permissions_default,
164361
164251
  plan_default,
164362
164252
  privacy_settings_default,
@@ -164432,7 +164322,7 @@ var init_commands2 = __esm(() => {
164432
164322
  summary_default,
164433
164323
  release_notes_default,
164434
164324
  files_default
164435
- ].filter((c2) => c2 !== null));
164325
+ ].filter((c) => c !== null));
164436
164326
  });
164437
164327
 
164438
164328
  // src/utils/getWorktreePaths.ts
@@ -165952,7 +165842,7 @@ async function trackSessionBranchingAnalytics(logs) {
165952
165842
  if (maxCount <= 1) {
165953
165843
  return;
165954
165844
  }
165955
- const branchCounts = Array.from(sessionIdCounts.values()).filter((c2) => c2 > 1);
165845
+ const branchCounts = Array.from(sessionIdCounts.values()).filter((c) => c > 1);
165956
165846
  const sessionsWithBranches = branchCounts.length;
165957
165847
  const totalBranches = branchCounts.reduce((sum, count3) => sum + count3, 0);
165958
165848
  logEvent("tengu_session_forked_branches_fetched", {
@@ -167429,7 +167319,7 @@ var init_sessionStorage = __esm(() => {
167429
167319
  init_settings2();
167430
167320
  init_slowOperations();
167431
167321
  init_uuid();
167432
- VERSION = typeof MACRO !== "undefined" ? "1.0.3-fork.2a74621" : "unknown";
167322
+ VERSION = typeof MACRO !== "undefined" ? "1.0.3-fork.4340338" : "unknown";
167433
167323
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
167434
167324
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
167435
167325
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -168636,7 +168526,7 @@ var init_filesystem = __esm(() => {
168636
168526
  });
168637
168527
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
168638
168528
  const nonce = randomBytes14(16).toString("hex");
168639
- return join72(getClaudeTempDir(), "bundled-skills", "1.0.3-fork.2a74621", nonce);
168529
+ return join72(getClaudeTempDir(), "bundled-skills", "1.0.3-fork.4340338", nonce);
168640
168530
  });
168641
168531
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
168642
168532
  });
@@ -169917,7 +169807,7 @@ var init_ssrfGuard = () => {};
169917
169807
 
169918
169808
  // src/utils/hooks/execHttpHook.ts
169919
169809
  async function getSandboxProxyConfig() {
169920
- const { SandboxManager: SandboxManager3 } = await import("./chunk-7vbxp63m.js");
169810
+ const { SandboxManager: SandboxManager3 } = await import("./chunk-btwgjq22.js");
169921
169811
  if (!SandboxManager3.isSandboxingEnabled()) {
169922
169812
  return;
169923
169813
  }
@@ -173646,4 +173536,4 @@ var init_sandbox_adapter = __esm(() => {
173646
173536
  };
173647
173537
  });
173648
173538
 
173649
- export { LATEST_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, ErrorCode, EmptyResultSchema, InitializeRequestSchema, InitializedNotificationSchema, CreateTaskResultSchema, ResourceListChangedNotificationSchema, PromptListChangedNotificationSchema, ListToolsRequestSchema, CallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ListRootsResultSchema, McpError, init_types5 as init_types, ReadBuffer, serializeMessage, init_stdio, readCustomApiStorage, writeCustomApiStorage, addSavedModelForProvider, init_customApiStorage, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types4 as init_types1, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common2 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, getSSLErrorHint, formatAPIError, init_errorUtils, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, exports_prompt, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt10, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth1, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types6 as init_types2, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types9 as init_types3, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types7 as init_types4, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt11, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, REMOTE_CONTROL_DISCONNECTED_MSG, init_types13 as init_types5, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts as init_prompts1, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
173539
+ export { LATEST_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, ErrorCode, EmptyResultSchema, InitializeRequestSchema, InitializedNotificationSchema, CreateTaskResultSchema, ResourceListChangedNotificationSchema, PromptListChangedNotificationSchema, ListToolsRequestSchema, CallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ListRootsResultSchema, McpError, init_types4 as init_types, ReadBuffer, serializeMessage, init_stdio, readCustomApiStorage, writeCustomApiStorage, addSavedModelForProvider, init_customApiStorage, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common2 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, getSSLErrorHint, formatAPIError, init_errorUtils, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, exports_prompt, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt10, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth1, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types5 as init_types1, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types8 as init_types2, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types6 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt11, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, REMOTE_CONTROL_DISCONNECTED_MSG, init_types12 as init_types4, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts as init_prompts1, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };